File size: 453 Bytes
89a2873 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | export * as FileDiff from "./file-diff"
import { Schema } from "effect"
import { optional } from "./schema"
export const Info = Schema.Struct({
file: optional(Schema.String),
patch: optional(Schema.String),
additions: Schema.Finite,
deletions: Schema.Finite,
status: optional(Schema.Literals(["added", "deleted", "modified"])),
}).annotate({ identifier: "SnapshotFileDiff" })
export interface Info extends Schema.Schema.Type<typeof Info> {}
|