package domain

import "time"

// Snapshot file status values.
const (
	SnapshotFileStatusPending = "pending"
)

// SnapshotFile records a file change emitted for a snapshot.
type SnapshotFile struct {
	RepoID     string    `bson:"repo_id" json:"repo_id"`
	SnapshotID string    `bson:"snapshot_id" json:"snapshot_id"`
	CommitSHA  string    `bson:"commit_sha" json:"commit_sha"`
	FilePath   string    `bson:"file_path" json:"file_path"`
	Language   string    `bson:"language" json:"language"`
	FileKind   string    `bson:"file_kind" json:"file_kind"`
	ChangeType string    `bson:"change_type" json:"change_type"`
	Status     string    `bson:"status" json:"status"`
	CreatedAt  time.Time `bson:"created_at" json:"created_at"`
}
