(def: QueryDef, label: string)
| 3550 | } |
| 3551 | |
| 3552 | const isSnapshotOf = (def: QueryDef, label: string) => (u: unknown): u is SnapshotImpl => |
| 3553 | u instanceof SnapshotImpl && u[SnapshotTypeId].def.name === def.name && |
| 3554 | u[SnapshotTypeId].label === label |
| 3555 | |
| 3556 | const snapshotIssue = (def: QueryDef, message: string) => |
| 3557 | new SchemaIssue.InvalidValue({ |