Regenerate types

This commit is contained in:
Andras Schmelczer 2026-09-19 17:08:27 +01:00
commit dbe8e5c4ce
9 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DocumentVersionWithoutContent } from "./DocumentVersionWithoutContent";
import type { Manifest } from "./Manifest";
import type { FileManifest } from "./FileManifest";
export type EventRecord = { eventId: number, requestId: string, } & ({ "type": "content", document: DocumentVersionWithoutContent, } | { "type": "manifest", manifest: Manifest, });
export type EventRecord = { eventId: number, requestId: string, } & ({ "type": "content", document: DocumentVersionWithoutContent, } | { "type": "fileManifest", fileManifest: FileManifest, });

View file

@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type PushManifest = { requestId: string, parentManifestId: number, entries: Record<string, string>, };
export type FileManifest = { fileManifestId: number, entries: Record<string, string>, };

View file

@ -0,0 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { FileManifest } from "./FileManifest";
export type FileManifestUpdateResponse = { "type": "Accepted", fileManifestId: number, } | { "type": "StaleBase" } & FileManifest;

View file

@ -1,4 +0,0 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Manifest } from "./Manifest";
export type ManifestUpdateResponse = { "type": "Accepted" } & Manifest | { "type": "StaleBase" } & Manifest;

View file

@ -0,0 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type PushFileManifest = { requestId: string, parentFileManifestId: number, entries: Record<string, string>, };

View file

@ -0,0 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PushContent } from "./PushContent";
export type PutFileContent = { requestId: string, parentVersionId: number | null, content: PushContent, };

View file

@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DocumentVersionWithoutContent } from "./DocumentVersionWithoutContent";
import type { Manifest } from "./Manifest";
import type { FileManifest } from "./FileManifest";
export type VaultEvent = { "type": "content", document: DocumentVersionWithoutContent, } | { "type": "manifest", manifest: Manifest, };
export type VaultEvent = { "type": "content", document: DocumentVersionWithoutContent, } | { "type": "fileManifest", fileManifest: FileManifest, };

View file

@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DocumentVersionWithoutContent } from "./DocumentVersionWithoutContent";
import type { Manifest } from "./Manifest";
import type { FileManifest } from "./FileManifest";
export type VaultSnapshot = { headEventId: number, manifest: Manifest, documents: Array<DocumentVersionWithoutContent>, };
export type VaultSnapshot = { headEventId: number, fileManifest: FileManifest, documents: Array<DocumentVersionWithoutContent>, };