@powerhousedao/shared 6.0.0-dev.190 → 6.0.0-dev.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{actions-9awJNUSB.d.ts → actions-OP2hCkXB.d.ts} +324 -31
- package/dist/actions-OP2hCkXB.d.ts.map +1 -0
- package/dist/clis/index.d.mts +23 -12
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +26 -3
- package/dist/clis/index.mjs.map +1 -1
- package/dist/document-drive/index.d.ts +2 -2
- package/dist/document-model/index.d.ts +3 -3
- package/dist/document-model/index.js +31 -1
- package/dist/document-model/index.js.map +1 -1
- package/dist/index-CNskeAB6.d.ts +315 -0
- package/dist/index-CNskeAB6.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/processors/index.d.ts +1 -1
- package/dist/registry/index.d.ts +1 -1
- package/dist/registry/index.js.map +1 -1
- package/dist/{types-Dd4sfL9W.d.ts → types-DyUYj_J_.d.ts} +2 -2
- package/dist/{types-Dd4sfL9W.d.ts.map → types-DyUYj_J_.d.ts.map} +1 -1
- package/package.json +1 -1
- package/dist/actions-9awJNUSB.d.ts.map +0 -1
- package/dist/index-DnI3C7JW.d.ts +0 -568
- package/dist/index-DnI3C7JW.d.ts.map +0 -1
package/dist/index-DnI3C7JW.d.ts
DELETED
|
@@ -1,568 +0,0 @@
|
|
|
1
|
-
import { $o as SetOperationScopeInput, Ai as MoveOperationInput, Ao as SetModuleDescriptionInput, As as ValidationError, Ba as Reducer, Bn as AddOperationExampleInput, Br as DocumentModelOperationExampleOperations, Cr as DocumentFile, Da as OperationSpecification, Di as MinimalBackupData, Dr as DocumentModelGlobalState, Ei as Maybe, Eo as SetModelIdInput, Es as UpdateStateExampleInput, Fn as AddModuleInput, Fr as DocumentModelModuleOperations, Gn as AddStateExampleInput, Go as SetOperationErrorTemplateInput, Hr as DocumentModelPHState, Ja as ReorderModuleOperationsInput, Jn as Author, Ka as ReorderChangeLogItemsInput, Lo as SetOperationDescriptionInput, Mo as SetModuleNameInput, Mr as DocumentModelLocalState, Nn as AddChangeLogItemInput, Oi as ModuleSpecification, On as ActionSignatureContext, Oo as SetModelNameInput, Pa as PruneActionInput, Po as SetNameActionInput, Qa as ReorderOperationErrorsInput, Rn as AddOperationErrorInput, Rr as DocumentModelOperationErrorOperations, So as SetModelDescriptionInput, Ss as UpdateChangeLogItemInput, Ta as OperationErrorSpecification, Tr as DocumentModelDocument, Uo as SetOperationErrorNameInput, Va as ReducerOptions, Vn as AddOperationInput, Vo as SetOperationErrorDescriptionInput, Vr as DocumentModelOperationOperations, Wr as DocumentModelStateOperations, Xa as ReorderModulesInput, Yn as CodeExample, Yo as SetOperationReducerInput, Yr as DocumentSpecification, Zo as SetOperationSchemaInput, an as OperationContext, bo as SetInitialStateInput, co as SchemaLoadStateAction, do as SchemaRedoAction, ds as SigningParameters, eo as ReorderOperationExamplesInput, fi as InputMaybe, fo as SchemaSetNameAction, gi as LoadFromInput, go as SetAuthorNameInput, gr as DeleteOperationErrorInput, hs as StateReducer, in as Operation, kr as DocumentModelHeaderOperations, mo as ScopeState, ms as State, no as ReorderStateExamplesInput, oo as SaveToFileHandle, os as SignalDispatch, pn as PHBaseState, po as SchemaUndoAction, pr as DeleteModuleInput, ps as SkipHeaderOperations, qo as SetOperationNameInput, qr as DocumentModelVersioningOperations, rn as DocumentOperations, ro as ReplayDocumentOptions, rs as SetStateSchemaInput, sr as DeleteChangeLogItemInput, t as Action, ti as FileInput, ts as SetOperationTemplateInput, ui as ISigner, uo as SchemaPruneAction, vi as LoadStateActionInput, vo as SetAuthorWebsiteInput, vr as DeleteOperationExampleInput, vt as PHDocument, wo as SetModelExtensionInput, ws as UpdateOperationExampleInput, xr as DeleteStateExampleInput, yi as LoadStateActionStateInput, yr as DeleteOperationInput, ys as UndoActionInput, yt as PHDocumentHeader, za as RedoActionInput, zo as SetOperationErrorCodeInput } from "./actions-9awJNUSB.js";
|
|
2
|
-
import { ZodIssue, z } from "zod";
|
|
3
|
-
import JSZip from "jszip";
|
|
4
|
-
|
|
5
|
-
//#region document-model/constants.d.ts
|
|
6
|
-
declare const documentModelFileExtension: "phdm";
|
|
7
|
-
declare const documentModelInitialLocalState: DocumentModelLocalState;
|
|
8
|
-
declare const documentModelInitialGlobalState: DocumentModelGlobalState;
|
|
9
|
-
declare const documentModelGlobalState: DocumentModelGlobalState;
|
|
10
|
-
declare const HASH_ALGORITHM_SHA1 = "sha1";
|
|
11
|
-
declare const HASH_ALGORITHM_SHA256 = "sha256";
|
|
12
|
-
declare const HASH_ALGORITHM_SHA512 = "sha512";
|
|
13
|
-
declare const HASH_ENCODING_BASE64 = "base64";
|
|
14
|
-
declare const HASH_ENCODING_HEX = "hex";
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region document-model/crypto.d.ts
|
|
17
|
-
declare const hashBrowser: (data: string | Uint8Array | ArrayBufferView | DataView, algorithm?: string, encoding?: string, _params?: Record<string, unknown>) => string;
|
|
18
|
-
declare function getUnixTimestamp(date: Date | string): string;
|
|
19
|
-
declare function buildOperationSignatureParams({
|
|
20
|
-
documentId,
|
|
21
|
-
signer,
|
|
22
|
-
action,
|
|
23
|
-
previousStateHash
|
|
24
|
-
}: ActionSignatureContext): [string, string, string, string];
|
|
25
|
-
declare function buildOperationSignatureMessage(params: [string, string, string, string]): Uint8Array;
|
|
26
|
-
declare function ab2hex(ab: ArrayBuffer | ArrayBufferView): string;
|
|
27
|
-
declare function hex2ab(hex: string): Uint8Array<ArrayBuffer>;
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region document-model/document-schema.d.ts
|
|
30
|
-
declare const BaseDocumentHeaderSchema: z.ZodObject<{
|
|
31
|
-
id: z.ZodString;
|
|
32
|
-
name: z.ZodString;
|
|
33
|
-
createdAtUtcIso: z.ZodString;
|
|
34
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
35
|
-
documentType: z.ZodString;
|
|
36
|
-
}, z.core.$strip>;
|
|
37
|
-
declare const BaseDocumentStateSchema: z.ZodObject<{
|
|
38
|
-
global: z.ZodUnknown;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
/** Schema for validating the header object of a DocumentModel document */
|
|
41
|
-
declare const DocumentModelHeaderSchema: z.ZodObject<{
|
|
42
|
-
id: z.ZodString;
|
|
43
|
-
name: z.ZodString;
|
|
44
|
-
createdAtUtcIso: z.ZodString;
|
|
45
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
46
|
-
documentType: z.ZodLiteral<"powerhouse/document-model">;
|
|
47
|
-
}, z.core.$strip>;
|
|
48
|
-
/** Schema for validating the state object of a DocumentModel document */
|
|
49
|
-
declare const DocumentModelPHStateSchema: z.ZodObject<{
|
|
50
|
-
global: z.ZodObject<Required<{
|
|
51
|
-
author: z.ZodType<Author, Author, z.core.$ZodTypeInternals<Author, Author>>;
|
|
52
|
-
description: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
53
|
-
extension: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
54
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
55
|
-
name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
56
|
-
specifications: z.ZodType<DocumentSpecification[], DocumentSpecification[], z.core.$ZodTypeInternals<DocumentSpecification[], DocumentSpecification[]>>;
|
|
57
|
-
}>, z.core.$strip>;
|
|
58
|
-
}, z.core.$strip>;
|
|
59
|
-
declare const DocumentModelSchema: z.ZodObject<{
|
|
60
|
-
header: z.ZodObject<{
|
|
61
|
-
id: z.ZodString;
|
|
62
|
-
name: z.ZodString;
|
|
63
|
-
createdAtUtcIso: z.ZodString;
|
|
64
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
65
|
-
documentType: z.ZodLiteral<"powerhouse/document-model">;
|
|
66
|
-
}, z.core.$strip>;
|
|
67
|
-
state: z.ZodObject<{
|
|
68
|
-
global: z.ZodObject<Required<{
|
|
69
|
-
author: z.ZodType<Author, Author, z.core.$ZodTypeInternals<Author, Author>>;
|
|
70
|
-
description: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
71
|
-
extension: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
72
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
73
|
-
name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
74
|
-
specifications: z.ZodType<DocumentSpecification[], DocumentSpecification[], z.core.$ZodTypeInternals<DocumentSpecification[], DocumentSpecification[]>>;
|
|
75
|
-
}>, z.core.$strip>;
|
|
76
|
-
}, z.core.$strip>;
|
|
77
|
-
initialState: z.ZodObject<{
|
|
78
|
-
global: z.ZodObject<Required<{
|
|
79
|
-
author: z.ZodType<Author, Author, z.core.$ZodTypeInternals<Author, Author>>;
|
|
80
|
-
description: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
81
|
-
extension: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
82
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
83
|
-
name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
84
|
-
specifications: z.ZodType<DocumentSpecification[], DocumentSpecification[], z.core.$ZodTypeInternals<DocumentSpecification[], DocumentSpecification[]>>;
|
|
85
|
-
}>, z.core.$strip>;
|
|
86
|
-
}, z.core.$strip>;
|
|
87
|
-
}, z.core.$strip>;
|
|
88
|
-
/** Simple helper function to check if a state object is a DocumentModel document state object */
|
|
89
|
-
declare function isDocumentModelState(state: unknown): state is DocumentModelPHState;
|
|
90
|
-
/** Simple helper function to assert that a document state object is a DocumentModel document state object */
|
|
91
|
-
declare function assertIsDocumentModelState(state: unknown): asserts state is DocumentModelPHState;
|
|
92
|
-
/** Simple helper function to check if a document is a DocumentModel document */
|
|
93
|
-
declare function isDocumentModelDocument(document: unknown): document is DocumentModelDocument;
|
|
94
|
-
/** Simple helper function to assert that a document is a DocumentModel document */
|
|
95
|
-
declare function assertIsDocumentModelDocument(document: unknown): asserts document is DocumentModelDocument;
|
|
96
|
-
//#endregion
|
|
97
|
-
//#region document-model/document-type.d.ts
|
|
98
|
-
declare const documentModelDocumentType = "powerhouse/document-model";
|
|
99
|
-
//#endregion
|
|
100
|
-
//#region document-model/errors.d.ts
|
|
101
|
-
declare const FileSystemError: Error;
|
|
102
|
-
declare class InvalidActionInputError extends Error {
|
|
103
|
-
data: unknown;
|
|
104
|
-
constructor(data: unknown);
|
|
105
|
-
}
|
|
106
|
-
declare class InvalidActionInputZodError extends InvalidActionInputError {
|
|
107
|
-
issues: ZodIssue[];
|
|
108
|
-
constructor(issues: ZodIssue[]);
|
|
109
|
-
}
|
|
110
|
-
declare class HashMismatchError extends Error {
|
|
111
|
-
protected _scope: string;
|
|
112
|
-
protected _document: PHDocument;
|
|
113
|
-
protected _operation: Operation;
|
|
114
|
-
constructor(scope: string, document: PHDocument, operation: Operation);
|
|
115
|
-
get document(): PHDocument;
|
|
116
|
-
get scope(): string;
|
|
117
|
-
get operation(): Operation;
|
|
118
|
-
}
|
|
119
|
-
//#endregion
|
|
120
|
-
//#region document-model/files.d.ts
|
|
121
|
-
declare function createZip(document: PHDocument): JSZip;
|
|
122
|
-
/**
|
|
123
|
-
* Creates a minimal ZIP backup from strand data.
|
|
124
|
-
* Used when the full document is not available (e.g., in onOperations handler).
|
|
125
|
-
* Creates a ZIP with minimal header and empty operations.
|
|
126
|
-
*/
|
|
127
|
-
declare function createMinimalZip(data: MinimalBackupData): JSZip;
|
|
128
|
-
declare function baseSaveToFileHandle(document: PHDocument, input: FileSystemFileHandle): Promise<void>;
|
|
129
|
-
declare function baseLoadFromInput<TState extends PHBaseState>(input: FileInput, reducer: Reducer<TState>, options?: ReplayDocumentOptions): Promise<PHDocument<TState>>;
|
|
130
|
-
declare const documentModelLoadFromInput: LoadFromInput<DocumentModelPHState>;
|
|
131
|
-
declare const documentModelSaveToFileHandle: SaveToFileHandle;
|
|
132
|
-
declare function writeFileBrowser(path: string, name: string, stream: Uint8Array): Promise<string>;
|
|
133
|
-
declare function readFileBrowser(path: string): void;
|
|
134
|
-
declare function fetchFileBrowser(url: string): Promise<{
|
|
135
|
-
data: Buffer;
|
|
136
|
-
mimeType?: string;
|
|
137
|
-
}>;
|
|
138
|
-
declare const getFileBrowser: (file: string) => Promise<void>;
|
|
139
|
-
//#endregion
|
|
140
|
-
//#region document-model/header.d.ts
|
|
141
|
-
/**
|
|
142
|
-
* Creates a verification-only signer from a public key.
|
|
143
|
-
* This signer can only verify signatures, not sign data.
|
|
144
|
-
*
|
|
145
|
-
* @param pubKey - The public key to use for verification.
|
|
146
|
-
* @returns An ISigner that can only verify signatures.
|
|
147
|
-
*/
|
|
148
|
-
declare function createVerificationSigner(pubKey: JsonWebKey): Promise<ISigner>;
|
|
149
|
-
/**
|
|
150
|
-
* Signs a header. Generally, this is not called directly, but rather through
|
|
151
|
-
* {@link createSignedHeader}.
|
|
152
|
-
*
|
|
153
|
-
* @param parameters - The parameters used to sign the header.
|
|
154
|
-
* @param signer - The signer of the document.
|
|
155
|
-
*
|
|
156
|
-
* @returns The signature of the header.
|
|
157
|
-
*/
|
|
158
|
-
declare const sign: (parameters: SigningParameters, signer: ISigner) => Promise<string>;
|
|
159
|
-
/**
|
|
160
|
-
* Verifies a header signature. Generally, this is not called directly, but
|
|
161
|
-
* rather through {@link validateHeader}.
|
|
162
|
-
*
|
|
163
|
-
* @param parameters - The parameters used to sign the header.
|
|
164
|
-
* @param signature - The signature to verify.
|
|
165
|
-
* @param signer - The signer of the document.
|
|
166
|
-
*/
|
|
167
|
-
declare const verify: (parameters: SigningParameters, signature: string, signer: ISigner) => Promise<void>;
|
|
168
|
-
/**
|
|
169
|
-
* Validates a header signature.
|
|
170
|
-
*/
|
|
171
|
-
declare const validateHeader: (header: PHDocumentHeader) => Promise<void>;
|
|
172
|
-
/**
|
|
173
|
-
* Creates a header that has yet to be signed. This header is not valid, but
|
|
174
|
-
* can be input into {@link createSignedHeader} to create a signed header.
|
|
175
|
-
*
|
|
176
|
-
* @returns An unsigned header for a document.
|
|
177
|
-
*/
|
|
178
|
-
declare const createPresignedHeader: (id?: string, documentType?: string) => PHDocumentHeader;
|
|
179
|
-
/**
|
|
180
|
-
* Creates a new, signed header for a document. This will replace the id of the
|
|
181
|
-
* document.
|
|
182
|
-
*
|
|
183
|
-
* @param unsignedHeader - The unsigned header to created the signed header from.
|
|
184
|
-
* @param signer - The signer of the document.
|
|
185
|
-
*
|
|
186
|
-
* @returns A new signed header for a document. Some fields are mutable and
|
|
187
|
-
* some are not. See the PHDocumentHeader type for more information.
|
|
188
|
-
*/
|
|
189
|
-
declare const createSignedHeader: (unsignedHeader: PHDocumentHeader, documentType: string, signer: ISigner) => Promise<PHDocumentHeader>;
|
|
190
|
-
/**
|
|
191
|
-
* Creates a signed header for a document. The document header requires a signer
|
|
192
|
-
* as the document id is a cryptographic signature.
|
|
193
|
-
*
|
|
194
|
-
* @param documentType - The type of the document.
|
|
195
|
-
* @param signer - The signer of the document.
|
|
196
|
-
*
|
|
197
|
-
* @returns The signed header for a document. Some fields are mutable and
|
|
198
|
-
* some are not. See the PHDocumentHeader type for more information.
|
|
199
|
-
*/
|
|
200
|
-
declare const createSignedHeaderForSigner: (documentType: string, signer: ISigner) => Promise<PHDocumentHeader>;
|
|
201
|
-
//#endregion
|
|
202
|
-
//#region document-model/reducer.d.ts
|
|
203
|
-
declare function replayOperations<TState extends PHBaseState = PHBaseState>(initialState: TState, clearedOperations: DocumentOperations, stateReducer: StateReducer<TState>, header: PHDocumentHeader, dispatch?: SignalDispatch, documentReducer?: typeof baseReducer, skipHeaderOperations?: SkipHeaderOperations, options?: ReplayDocumentOptions): PHDocument<TState>;
|
|
204
|
-
/**
|
|
205
|
-
* Updates the document state based on the provided action.
|
|
206
|
-
*
|
|
207
|
-
* @param state The current state of the document.
|
|
208
|
-
* @param action The action being applied to the document.
|
|
209
|
-
* @param skip The number of operations to skip before applying the action.
|
|
210
|
-
* @param reuseLastOperationIndex Whether to reuse the last operation index (used when a an UNDO operation is performed after an existing one).
|
|
211
|
-
* @param context The operation context for deterministic ID generation.
|
|
212
|
-
* @returns The updated document state.
|
|
213
|
-
*/
|
|
214
|
-
declare function updateDocument<TDocument extends PHDocument>(document: TDocument, action: Action, reuseLastOperationIndex: boolean, skip: number, context: OperationContext, operation?: Operation, skipIndexValidation?: boolean): TDocument;
|
|
215
|
-
/**
|
|
216
|
-
* Processes an UNDO or REDO action.
|
|
217
|
-
*
|
|
218
|
-
* @param document The current state of the document.
|
|
219
|
-
* @param action The action being applied to the document.
|
|
220
|
-
* @param skip The number of operations to skip before applying the action.
|
|
221
|
-
* @returns The updated document, calculated skip value and transformed action (if applied).
|
|
222
|
-
*/
|
|
223
|
-
declare function processUndoRedo<TState extends PHBaseState = PHBaseState>(document: PHDocument<TState>, action: Action, skip: number, protocolVersion?: number): {
|
|
224
|
-
document: PHDocument<TState>;
|
|
225
|
-
action: Action;
|
|
226
|
-
skip: number;
|
|
227
|
-
reuseLastOperationIndex: boolean;
|
|
228
|
-
};
|
|
229
|
-
/**
|
|
230
|
-
* Base document reducer that wraps a custom document reducer and handles
|
|
231
|
-
* document-level actions such as undo, redo, prune, and set name.
|
|
232
|
-
*
|
|
233
|
-
* @template TGlobalState - The type of the state of the custom reducer.
|
|
234
|
-
* @template TAction - The type of the actions of the custom reducer.
|
|
235
|
-
* @param state - The current state of the document.
|
|
236
|
-
* @param action - The action object to apply to the state.
|
|
237
|
-
* @param customReducer - The custom reducer that implements the application logic
|
|
238
|
-
* specific to the document's state.
|
|
239
|
-
* @returns The new state of the document.
|
|
240
|
-
*/
|
|
241
|
-
declare function baseReducer<TState extends PHBaseState = PHBaseState>(document: PHDocument<TState>, action: Action, customReducer: StateReducer<TState>, dispatch?: SignalDispatch, options?: ReducerOptions): PHDocument<TState>;
|
|
242
|
-
/**
|
|
243
|
-
* Helper function to create a document model reducer.
|
|
244
|
-
*
|
|
245
|
-
* @remarks
|
|
246
|
-
* This function creates a new reducer that wraps the provided `reducer` with
|
|
247
|
-
* `documentReducer`, adding support for document actions:
|
|
248
|
-
* - `SET_NAME`
|
|
249
|
-
* - `UNDO`
|
|
250
|
-
* - `REDO`
|
|
251
|
-
* - `PRUNE`
|
|
252
|
-
*
|
|
253
|
-
* It also updates the document-related attributes on every operation.
|
|
254
|
-
*
|
|
255
|
-
* @param reducer - The custom reducer to wrap.
|
|
256
|
-
* @param documentReducer - The document reducer to use.
|
|
257
|
-
*
|
|
258
|
-
* @returns The new reducer.
|
|
259
|
-
*/
|
|
260
|
-
declare function createReducer<TState extends PHBaseState = PHBaseState>(stateReducer: StateReducer<TState>, documentReducer?: typeof baseReducer): Reducer<TState>;
|
|
261
|
-
declare function pruneOperation<TState extends PHBaseState = PHBaseState>(document: PHDocument<TState>, input: PruneActionInput, wrappedReducer: StateReducer<TState>): PHDocument<TState>;
|
|
262
|
-
//#endregion
|
|
263
|
-
//#region document-model/reducers.d.ts
|
|
264
|
-
declare const documentModelHeaderReducer: DocumentModelHeaderOperations;
|
|
265
|
-
declare const documentModelModuleReducer: DocumentModelModuleOperations;
|
|
266
|
-
declare const documentModelOperationErrorReducer: DocumentModelOperationErrorOperations;
|
|
267
|
-
declare const documentModelOperationExampleReducer: DocumentModelOperationExampleOperations;
|
|
268
|
-
declare const documentModelOperationReducer: DocumentModelOperationOperations;
|
|
269
|
-
declare const documentModelStateSchemaReducer: DocumentModelStateOperations;
|
|
270
|
-
declare const documentModelVersioningReducer: DocumentModelVersioningOperations;
|
|
271
|
-
declare const documentModelStateReducer: StateReducer<DocumentModelPHState>;
|
|
272
|
-
declare const documentModelReducer: Reducer<DocumentModelPHState>;
|
|
273
|
-
//#endregion
|
|
274
|
-
//#region document-model/schemas.d.ts
|
|
275
|
-
type definedNonNullAny = {};
|
|
276
|
-
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
277
|
-
declare const definedNonNullAnySchema: z.ZodAny & z.ZodType<definedNonNullAny, any, z.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
278
|
-
declare const Load_StateSchema: z.ZodEnum<{
|
|
279
|
-
LOAD_STATE: "LOAD_STATE";
|
|
280
|
-
}>;
|
|
281
|
-
declare const PruneSchema: z.ZodEnum<{
|
|
282
|
-
PRUNE: "PRUNE";
|
|
283
|
-
}>;
|
|
284
|
-
declare const RedoSchema: z.ZodEnum<{
|
|
285
|
-
REDO: "REDO";
|
|
286
|
-
}>;
|
|
287
|
-
declare const Set_NameSchema: z.ZodEnum<{
|
|
288
|
-
SET_NAME: "SET_NAME";
|
|
289
|
-
}>;
|
|
290
|
-
declare const UndoSchema: z.ZodEnum<{
|
|
291
|
-
UNDO: "UNDO";
|
|
292
|
-
}>;
|
|
293
|
-
declare function OperationScopeSchema(): z.ZodString;
|
|
294
|
-
declare function DocumentActionSchema(): z.ZodUnion<readonly [z.ZodObject<Required<{
|
|
295
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
296
|
-
timestampUtcMs: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
297
|
-
input: z.ZodType<LoadStateActionInput, LoadStateActionInput, z.core.$ZodTypeInternals<LoadStateActionInput, LoadStateActionInput>>;
|
|
298
|
-
type: z.ZodType<"LOAD_STATE", "LOAD_STATE", z.core.$ZodTypeInternals<"LOAD_STATE", "LOAD_STATE">>;
|
|
299
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
300
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
301
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
302
|
-
timestampUtcMs: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
303
|
-
input: z.ZodType<PruneActionInput, PruneActionInput, z.core.$ZodTypeInternals<PruneActionInput, PruneActionInput>>;
|
|
304
|
-
type: z.ZodType<"PRUNE", "PRUNE", z.core.$ZodTypeInternals<"PRUNE", "PRUNE">>;
|
|
305
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
306
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
307
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
308
|
-
timestampUtcMs: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
309
|
-
input: z.ZodType<RedoActionInput, RedoActionInput, z.core.$ZodTypeInternals<RedoActionInput, RedoActionInput>>;
|
|
310
|
-
type: z.ZodType<"REDO", "REDO", z.core.$ZodTypeInternals<"REDO", "REDO">>;
|
|
311
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
312
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
313
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
314
|
-
timestampUtcMs: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
315
|
-
input: z.ZodType<SetNameActionInput, SetNameActionInput, z.core.$ZodTypeInternals<SetNameActionInput, SetNameActionInput>>;
|
|
316
|
-
type: z.ZodType<"SET_NAME", "SET_NAME", z.core.$ZodTypeInternals<"SET_NAME", "SET_NAME">>;
|
|
317
|
-
scope: z.ZodType<"global", "global", z.core.$ZodTypeInternals<"global", "global">>;
|
|
318
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
319
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
320
|
-
timestampUtcMs: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
321
|
-
input: z.ZodType<UndoActionInput, UndoActionInput, z.core.$ZodTypeInternals<UndoActionInput, UndoActionInput>>;
|
|
322
|
-
type: z.ZodType<"UNDO", "UNDO", z.core.$ZodTypeInternals<"UNDO", "UNDO">>;
|
|
323
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
324
|
-
}>, z.core.$strip>]>;
|
|
325
|
-
declare function DocumentFileSchema(): z.ZodObject<Properties<DocumentFile>>;
|
|
326
|
-
declare function LoadStateActionSchema(): z.ZodObject<Properties<SchemaLoadStateAction>>;
|
|
327
|
-
declare function LoadStateActionInputSchema(): z.ZodObject<Properties<LoadStateActionInput>>;
|
|
328
|
-
declare function LoadStateActionStateInputSchema(): z.ZodObject<Properties<LoadStateActionStateInput>>;
|
|
329
|
-
declare function PruneActionSchema(): z.ZodObject<Properties<SchemaPruneAction>>;
|
|
330
|
-
declare function PruneActionInputSchema(): z.ZodObject<Properties<PruneActionInput>>;
|
|
331
|
-
declare function RedoActionInputSchema(): z.ZodObject<{
|
|
332
|
-
count: z.ZodNumber;
|
|
333
|
-
}, z.core.$strip>;
|
|
334
|
-
declare function RedoActionSchema(): z.ZodObject<Properties<SchemaRedoAction>>;
|
|
335
|
-
declare function SetNameActionInputSchema(): z.ZodObject<{
|
|
336
|
-
name: z.ZodString;
|
|
337
|
-
}, z.core.$strip>;
|
|
338
|
-
declare function SetNameActionSchema(): z.ZodObject<Properties<SchemaSetNameAction>>;
|
|
339
|
-
declare function UndoActionInputSchema(): z.ZodObject<{
|
|
340
|
-
count: z.ZodNumber;
|
|
341
|
-
}, z.core.$strip>;
|
|
342
|
-
declare function UndoActionSchema(): z.ZodObject<Properties<SchemaUndoAction>>;
|
|
343
|
-
type Properties<T> = Required<{ [K in keyof T]: z.ZodType<T[K], T[K]> }>;
|
|
344
|
-
declare function AddChangeLogItemInputSchema(): z.ZodObject<Properties<AddChangeLogItemInput>>;
|
|
345
|
-
declare function AddModuleInputSchema(): z.ZodObject<Properties<AddModuleInput>>;
|
|
346
|
-
declare function AddOperationErrorInputSchema(): z.ZodObject<Properties<AddOperationErrorInput>>;
|
|
347
|
-
declare function AddOperationExampleInputSchema(): z.ZodObject<Properties<AddOperationExampleInput>>;
|
|
348
|
-
declare function AddOperationInputSchema(): z.ZodObject<Properties<AddOperationInput>>;
|
|
349
|
-
declare function AddStateExampleInputSchema(): z.ZodObject<Properties<AddStateExampleInput>>;
|
|
350
|
-
declare function AuthorSchema(): z.ZodObject<Properties<Author>>;
|
|
351
|
-
declare function CodeExampleSchema(): z.ZodObject<Properties<CodeExample>>;
|
|
352
|
-
declare function DeleteChangeLogItemInputSchema(): z.ZodObject<Properties<DeleteChangeLogItemInput>>;
|
|
353
|
-
declare function DeleteModuleInputSchema(): z.ZodObject<Properties<DeleteModuleInput>>;
|
|
354
|
-
declare function DeleteOperationErrorInputSchema(): z.ZodObject<Properties<DeleteOperationErrorInput>>;
|
|
355
|
-
declare function DeleteOperationExampleInputSchema(): z.ZodObject<Properties<DeleteOperationExampleInput>>;
|
|
356
|
-
declare function DeleteOperationInputSchema(): z.ZodObject<Properties<DeleteOperationInput>>;
|
|
357
|
-
declare function DeleteStateExampleInputSchema(): z.ZodObject<Properties<DeleteStateExampleInput>>;
|
|
358
|
-
declare function DocumentModelInputSchema(): z.ZodUnion<readonly [z.ZodObject<Required<{
|
|
359
|
-
__typename?: z.ZodType<"AddChangeLogItemInput" | undefined, "AddChangeLogItemInput" | undefined, z.core.$ZodTypeInternals<"AddChangeLogItemInput" | undefined, "AddChangeLogItemInput" | undefined>> | undefined;
|
|
360
|
-
content: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
361
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
362
|
-
insertBefore: z.ZodType<Maybe<string>, Maybe<string>, z.core.$ZodTypeInternals<Maybe<string>, Maybe<string>>>;
|
|
363
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
364
|
-
description?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
365
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
366
|
-
name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
367
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
368
|
-
errorCode?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
369
|
-
errorDescription?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
370
|
-
errorName?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
371
|
-
errorTemplate?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
372
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
373
|
-
operationId: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
374
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
375
|
-
example: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
376
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
377
|
-
operationId: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
378
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
379
|
-
description?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
380
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
381
|
-
moduleId: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
382
|
-
name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
383
|
-
reducer?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
384
|
-
schema?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
385
|
-
template?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
386
|
-
scope?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
387
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
388
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
389
|
-
example: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
390
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
391
|
-
insertBefore?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
392
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
393
|
-
__typename?: z.ZodType<"DeleteChangeLogItemInput" | undefined, "DeleteChangeLogItemInput" | undefined, z.core.$ZodTypeInternals<"DeleteChangeLogItemInput" | undefined, "DeleteChangeLogItemInput" | undefined>> | undefined;
|
|
394
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
395
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
396
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
397
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
398
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
399
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
400
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
401
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
402
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
403
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
404
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
405
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
406
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
407
|
-
newModuleId: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
408
|
-
operationId: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
409
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
410
|
-
__typename?: z.ZodType<"ReorderChangeLogItemsInput" | undefined, "ReorderChangeLogItemsInput" | undefined, z.core.$ZodTypeInternals<"ReorderChangeLogItemsInput" | undefined, "ReorderChangeLogItemsInput" | undefined>> | undefined;
|
|
411
|
-
order: z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>;
|
|
412
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
413
|
-
moduleId: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
414
|
-
order: z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>;
|
|
415
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
416
|
-
order: z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>;
|
|
417
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
418
|
-
operationId: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
419
|
-
order: z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>;
|
|
420
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
421
|
-
operationId: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
422
|
-
order: z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>;
|
|
423
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
424
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
425
|
-
order: z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>;
|
|
426
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
427
|
-
authorName: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
428
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
429
|
-
authorWebsite: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
430
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
431
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
432
|
-
initialValue: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
433
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
434
|
-
description: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
435
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
436
|
-
extension: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
437
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
438
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
439
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
440
|
-
name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
441
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
442
|
-
description?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
443
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
444
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
445
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
446
|
-
name?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
447
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
448
|
-
description?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
449
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
450
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
451
|
-
errorCode?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
452
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
453
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
454
|
-
errorDescription?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
455
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
456
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
457
|
-
errorName?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
458
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
459
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
460
|
-
errorTemplate?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
461
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
462
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
463
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
464
|
-
name?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
465
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
466
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
467
|
-
reducer?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
468
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
469
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
470
|
-
schema?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
471
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
472
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
473
|
-
template?: z.ZodType<InputMaybe<string>, InputMaybe<string>, z.core.$ZodTypeInternals<InputMaybe<string>, InputMaybe<string>>> | undefined;
|
|
474
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
475
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
476
|
-
schema: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
477
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
478
|
-
__typename?: z.ZodType<"UpdateChangeLogItemInput" | undefined, "UpdateChangeLogItemInput" | undefined, z.core.$ZodTypeInternals<"UpdateChangeLogItemInput" | undefined, "UpdateChangeLogItemInput" | undefined>> | undefined;
|
|
479
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
480
|
-
newContent: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
481
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
482
|
-
example: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
483
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
484
|
-
}>, z.core.$strip>, z.ZodObject<Required<{
|
|
485
|
-
scope: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
486
|
-
id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
487
|
-
newExample: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
488
|
-
}>, z.core.$strip>]>;
|
|
489
|
-
declare function DocumentModelGlobalStateSchema(): z.ZodObject<Properties<DocumentModelGlobalState>>;
|
|
490
|
-
declare function DocumentSpecificationSchema(): z.ZodObject<Properties<DocumentSpecification>>;
|
|
491
|
-
declare function ModuleSchema(): z.ZodObject<Properties<ModuleSpecification>>;
|
|
492
|
-
declare function MoveOperationInputSchema(): z.ZodObject<Properties<MoveOperationInput>>;
|
|
493
|
-
declare function OperationSpecificationSchema(): z.ZodObject<Properties<OperationSpecification>>;
|
|
494
|
-
declare function OperationErrorSchema(): z.ZodObject<Properties<OperationErrorSpecification>>;
|
|
495
|
-
declare function ReorderChangeLogItemsInputSchema(): z.ZodObject<Properties<ReorderChangeLogItemsInput>>;
|
|
496
|
-
declare function ReorderModuleOperationsInputSchema(): z.ZodObject<Properties<ReorderModuleOperationsInput>>;
|
|
497
|
-
declare function ReorderModulesInputSchema(): z.ZodObject<Properties<ReorderModulesInput>>;
|
|
498
|
-
declare function ReorderOperationErrorsInputSchema(): z.ZodObject<Properties<ReorderOperationErrorsInput>>;
|
|
499
|
-
declare function ReorderOperationExamplesInputSchema(): z.ZodObject<Properties<ReorderOperationExamplesInput>>;
|
|
500
|
-
declare function ReorderStateExamplesInputSchema(): z.ZodObject<Properties<ReorderStateExamplesInput>>;
|
|
501
|
-
declare function SetAuthorNameInputSchema(): z.ZodObject<Properties<SetAuthorNameInput>>;
|
|
502
|
-
declare function SetAuthorWebsiteInputSchema(): z.ZodObject<Properties<SetAuthorWebsiteInput>>;
|
|
503
|
-
declare function SetInitialStateInputSchema(): z.ZodObject<Properties<SetInitialStateInput>>;
|
|
504
|
-
declare function SetModelDescriptionInputSchema(): z.ZodObject<Properties<SetModelDescriptionInput>>;
|
|
505
|
-
declare function SetModelExtensionInputSchema(): z.ZodObject<Properties<SetModelExtensionInput>>;
|
|
506
|
-
declare function SetModelIdInputSchema(): z.ZodObject<Properties<SetModelIdInput>>;
|
|
507
|
-
declare function SetModelNameInputSchema(): z.ZodObject<Properties<SetModelNameInput>>;
|
|
508
|
-
declare function SetModuleDescriptionInputSchema(): z.ZodObject<Properties<SetModuleDescriptionInput>>;
|
|
509
|
-
declare function SetModuleNameInputSchema(): z.ZodObject<Properties<SetModuleNameInput>>;
|
|
510
|
-
declare function SetOperationDescriptionInputSchema(): z.ZodObject<Properties<SetOperationDescriptionInput>>;
|
|
511
|
-
declare function SetOperationErrorCodeInputSchema(): z.ZodObject<Properties<SetOperationErrorCodeInput>>;
|
|
512
|
-
declare function SetOperationErrorDescriptionInputSchema(): z.ZodObject<Properties<SetOperationErrorDescriptionInput>>;
|
|
513
|
-
declare function SetOperationErrorNameInputSchema(): z.ZodObject<Properties<SetOperationErrorNameInput>>;
|
|
514
|
-
declare function SetOperationErrorTemplateInputSchema(): z.ZodObject<Properties<SetOperationErrorTemplateInput>>;
|
|
515
|
-
declare function SetOperationNameInputSchema(): z.ZodObject<Properties<SetOperationNameInput>>;
|
|
516
|
-
declare function SetOperationScopeInputSchema(): z.ZodObject<Properties<SetOperationScopeInput>>;
|
|
517
|
-
declare function SetOperationReducerInputSchema(): z.ZodObject<Properties<SetOperationReducerInput>>;
|
|
518
|
-
declare function SetOperationSchemaInputSchema(): z.ZodObject<Properties<SetOperationSchemaInput>>;
|
|
519
|
-
declare function SetOperationTemplateInputSchema(): z.ZodObject<Properties<SetOperationTemplateInput>>;
|
|
520
|
-
declare function SetStateSchemaInputSchema(): z.ZodObject<Properties<SetStateSchemaInput>>;
|
|
521
|
-
declare function StateSchema(): z.ZodObject<Properties<State>>;
|
|
522
|
-
declare function ScopeStateSchema(): z.ZodObject<Properties<ScopeState>>;
|
|
523
|
-
declare function UpdateChangeLogItemInputSchema(): z.ZodObject<Properties<UpdateChangeLogItemInput>>;
|
|
524
|
-
declare function UpdateOperationExampleInputSchema(): z.ZodObject<Properties<UpdateOperationExampleInput>>;
|
|
525
|
-
declare function UpdateStateExampleInputSchema(): z.ZodObject<Properties<UpdateStateExampleInput>>;
|
|
526
|
-
//#endregion
|
|
527
|
-
//#region document-model/utils.d.ts
|
|
528
|
-
declare function generateMock<TSchema extends z.ZodType>(schema: TSchema): z.infer<TSchema>;
|
|
529
|
-
declare function generateId(method?: "UUIDv4"): string;
|
|
530
|
-
/**
|
|
531
|
-
* Derives a deterministic operation ID from stable properties.
|
|
532
|
-
*/
|
|
533
|
-
declare function deriveOperationId(documentId: string, scope: string, branch: string, actionId: string): string;
|
|
534
|
-
//#endregion
|
|
535
|
-
//#region document-model/validation.d.ts
|
|
536
|
-
/**
|
|
537
|
-
* Reserved operation names from base reducer (core/actions.ts).
|
|
538
|
-
* These names cannot be used for custom operations.
|
|
539
|
-
*/
|
|
540
|
-
declare const RESERVED_OPERATION_NAMES: readonly ["UNDO", "REDO", "PRUNE", "LOAD_STATE", "SET_NAME", "NOOP"];
|
|
541
|
-
type ReservedOperationName = (typeof RESERVED_OPERATION_NAMES)[number];
|
|
542
|
-
/**
|
|
543
|
-
* Check if name conflicts with base reducer actions (case-insensitive).
|
|
544
|
-
*/
|
|
545
|
-
declare function isReservedOperationName(name: string): boolean;
|
|
546
|
-
/**
|
|
547
|
-
* Get all operation names from all modules in the latest specification.
|
|
548
|
-
* Returns names in uppercase for case-insensitive comparison.
|
|
549
|
-
*/
|
|
550
|
-
declare function getAllOperationNames(state: DocumentModelGlobalState, excludeOperationId?: string): string[];
|
|
551
|
-
/**
|
|
552
|
-
* Validate operation name is not reserved or duplicate. Throws on failure.
|
|
553
|
-
*
|
|
554
|
-
* @param name - The operation name to validate
|
|
555
|
-
* @param state - The document model global state
|
|
556
|
-
* @param excludeOperationId - Optional operation ID to exclude (for rename validation)
|
|
557
|
-
* @throws Error if the name is reserved or a duplicate
|
|
558
|
-
*/
|
|
559
|
-
declare function validateOperationName(name: string, state: DocumentModelGlobalState, excludeOperationId?: string): void;
|
|
560
|
-
declare function validateInitialState(initialState: string, allowEmptyState?: boolean): ValidationError[];
|
|
561
|
-
declare function validateStateSchemaName(schema: string, documentName: string, scope?: string, allowEmptySchema?: boolean): ValidationError[];
|
|
562
|
-
declare function validateModules(modules: ModuleSpecification[]): ValidationError[];
|
|
563
|
-
declare function validateModule(mod: ModuleSpecification): ValidationError[];
|
|
564
|
-
declare function validateModuleOperation(operation: OperationSpecification): ValidationError[];
|
|
565
|
-
declare function validateOperations(operations: DocumentOperations): ValidationError[];
|
|
566
|
-
//#endregion
|
|
567
|
-
export { ReorderOperationExamplesInputSchema as $, sign as $t, DocumentFileSchema as A, hashBrowser as An, UpdateOperationExampleInputSchema as At, OperationErrorSchema as B, documentModelInitialLocalState as Bn, documentModelStateReducer as Bt, DeleteChangeLogItemInputSchema as C, assertIsDocumentModelState as Cn, SetStateSchemaInputSchema as Ct, DeleteOperationInputSchema as D, buildOperationSignatureMessage as Dn, UndoActionSchema as Dt, DeleteOperationExampleInputSchema as E, ab2hex as En, UndoActionInputSchema as Et, LoadStateActionSchema as F, HASH_ENCODING_BASE64 as Fn, documentModelModuleReducer as Ft, PruneSchema as G, processUndoRedo as Gt, OperationSpecificationSchema as H, documentModelVersioningReducer as Ht, LoadStateActionStateInputSchema as I, HASH_ENCODING_HEX as In, documentModelOperationErrorReducer as It, RedoSchema as J, updateDocument as Jt, RedoActionInputSchema as K, pruneOperation as Kt, Load_StateSchema as L, documentModelFileExtension as Ln, documentModelOperationExampleReducer as Lt, DocumentModelInputSchema as M, HASH_ALGORITHM_SHA1 as Mn, definedNonNullAnySchema as Mt, DocumentSpecificationSchema as N, HASH_ALGORITHM_SHA256 as Nn, isDefinedNonNullAny as Nt, DeleteStateExampleInputSchema as O, buildOperationSignatureParams as On, UndoSchema as Ot, LoadStateActionInputSchema as P, HASH_ALGORITHM_SHA512 as Pn, documentModelHeaderReducer as Pt, ReorderOperationErrorsInputSchema as Q, createVerificationSigner as Qt, ModuleSchema as R, documentModelGlobalState as Rn, documentModelOperationReducer as Rt, CodeExampleSchema as S, assertIsDocumentModelDocument as Sn, SetOperationTemplateInputSchema as St, DeleteOperationErrorInputSchema as T, isDocumentModelState as Tn, StateSchema as Tt, PruneActionInputSchema as U, baseReducer as Ut, OperationScopeSchema as V, documentModelStateSchemaReducer as Vt, PruneActionSchema as W, createReducer as Wt, ReorderModuleOperationsInputSchema as X, createSignedHeader as Xt, ReorderChangeLogItemsInputSchema as Y, createPresignedHeader as Yt, ReorderModulesInputSchema as Z, createSignedHeaderForSigner as Zt, AddOperationErrorInputSchema as _, BaseDocumentHeaderSchema as _n, SetOperationErrorTemplateInputSchema as _t, validateInitialState as a, createZip as an, SetModelDescriptionInputSchema as at, AddStateExampleInputSchema as b, DocumentModelPHStateSchema as bn, SetOperationSchemaInputSchema as bt, validateModules as c, fetchFileBrowser as cn, SetModelNameInputSchema as ct, validateStateSchemaName as d, writeFileBrowser as dn, SetNameActionInputSchema as dt, validateHeader as en, ReorderStateExamplesInputSchema as et, deriveOperationId as f, FileSystemError as fn, SetNameActionSchema as ft, AddModuleInputSchema as g, documentModelDocumentType as gn, SetOperationErrorNameInputSchema as gt, AddChangeLogItemInputSchema as h, InvalidActionInputZodError as hn, SetOperationErrorDescriptionInputSchema as ht, isReservedOperationName as i, createMinimalZip as in, SetInitialStateInputSchema as it, DocumentModelGlobalStateSchema as j, hex2ab as jn, UpdateStateExampleInputSchema as jt, DocumentActionSchema as k, getUnixTimestamp as kn, UpdateChangeLogItemInputSchema as kt, validateOperationName as l, getFileBrowser as ln, SetModuleDescriptionInputSchema as lt, generateMock as m, InvalidActionInputError as mn, SetOperationErrorCodeInputSchema as mt, ReservedOperationName as n, baseLoadFromInput as nn, SetAuthorNameInputSchema as nt, validateModule as o, documentModelLoadFromInput as on, SetModelExtensionInputSchema as ot, generateId as p, HashMismatchError as pn, SetOperationDescriptionInputSchema as pt, RedoActionSchema as q, replayOperations as qt, getAllOperationNames as r, baseSaveToFileHandle as rn, SetAuthorWebsiteInputSchema as rt, validateModuleOperation as s, documentModelSaveToFileHandle as sn, SetModelIdInputSchema as st, RESERVED_OPERATION_NAMES as t, verify as tn, ScopeStateSchema as tt, validateOperations as u, readFileBrowser as un, SetModuleNameInputSchema as ut, AddOperationExampleInputSchema as v, BaseDocumentStateSchema as vn, SetOperationNameInputSchema as vt, DeleteModuleInputSchema as w, isDocumentModelDocument as wn, Set_NameSchema as wt, AuthorSchema as x, DocumentModelSchema as xn, SetOperationScopeInputSchema as xt, AddOperationInputSchema as y, DocumentModelHeaderSchema as yn, SetOperationReducerInputSchema as yt, MoveOperationInputSchema as z, documentModelInitialGlobalState as zn, documentModelReducer as zt };
|
|
568
|
-
//# sourceMappingURL=index-DnI3C7JW.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-DnI3C7JW.d.ts","names":[],"sources":["../document-model/constants.ts","../document-model/crypto.ts","../document-model/document-schema.ts","../document-model/document-type.ts","../document-model/errors.ts","../document-model/files.ts","../document-model/header.ts","../document-model/reducer.ts","../document-model/reducers.ts","../document-model/schemas.ts","../document-model/utils.ts","../document-model/validation.ts"],"mappings":";;;;;cAKa,0BAAA;AAAA,cAEA,8BAAA,EAAgC,uBAAA;AAAA,cAChC,+BAAA,EAAiC,wBAAA;AAAA,cA6BjC,wBAAA,EAA0B,wBAAA;AAAA,cAylB1B,mBAAA;AAAA,cACA,qBAAA;AAAA,cACA,qBAAA;AAAA,cAGA,oBAAA;AAAA,cACA,iBAAA;;;cChoBA,WAAA,GACX,IAAA,WAAe,UAAA,GAAa,eAAA,GAAkB,QAAA,EAC9C,SAAA,WACA,QAAA,WACA,OAAA,GAAU,MAAA;AAAA,iBAqDI,gBAAA,CAAiB,IAAA,EAAM,IAAA;AAAA,iBAIvB,6BAAA,CAAA;EACd,UAAA;EACA,MAAA;EACA,MAAA;EACA;AAAA,GACC,sBAAA;AAAA,iBAca,8BAAA,CACd,MAAA,qCACC,UAAA;AAAA,iBAMa,MAAA,CAAO,EAAA,EAAI,WAAA,GAAc,eAAA;AAAA,iBAOzB,MAAA,CAAO,GAAA,WAAW,UAAA,CAAA,WA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