Regenerate types
This commit is contained in:
parent
cc5ad0f27c
commit
dbe8e5c4ce
9 changed files with 15 additions and 15 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
// 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 { 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, });
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
// 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>, };
|
||||||
|
|
@ -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;
|
||||||
|
|
@ -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;
|
|
||||||
|
|
@ -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>, };
|
||||||
|
|
@ -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, };
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
// 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 { 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, };
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
// 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 { 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>, };
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue