document-model 1.0.53 → 1.0.55
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/browser/cjs/document-model.js +1 -1
- package/dist/browser/cjs/document.js +1 -1
- package/dist/browser/cjs/index.js +1 -1
- package/dist/browser/cjs/internal/{index-Cb6Xq42D.js → index-C_OFq7P5.js} +1 -1
- package/dist/browser/cjs/internal/{index-BAk-LH-1.js → index-Dwhv4k_6.js} +1 -1
- package/dist/browser/cjs/internal/{object-D1n8rS0m.js → object-CeLE3akL.js} +1 -1
- package/dist/browser/es/document-model.js +2 -2
- package/dist/browser/es/document.js +2 -2
- package/dist/browser/es/index.js +3 -3
- package/dist/browser/es/internal/{index-DeOZH3b_.js → index-DvHnaqeu.js} +1 -1
- package/dist/browser/es/internal/{index-DwxnEmzI.js → index-Xcvn-MUq.js} +1 -1
- package/dist/browser/es/internal/{object-DsqsdDFj.js → object-BDWVt0Zy.js} +4 -4
- package/dist/node/cjs/document-model.js +1 -1
- package/dist/node/cjs/document.js +1 -1
- package/dist/node/cjs/index.js +1 -1
- package/dist/node/cjs/internal/{index-CpjKrifV.js → index-Bi9yeV3W.js} +1 -1
- package/dist/node/cjs/internal/{index-DzXcygIJ.js → index-GZsLKtHl.js} +1 -1
- package/dist/node/cjs/internal/object-CnhDksx1.js +20 -0
- package/dist/node/es/document-model.js +2 -2
- package/dist/node/es/document.js +2 -2
- package/dist/node/es/index.js +3 -3
- package/dist/node/es/internal/{index-V-nmqbyU.js → index-B6iEYnbQ.js} +1 -1
- package/dist/node/es/internal/{index-CUitPgxf.js → index-Chx4C-Xl.js} +1 -1
- package/dist/node/es/internal/{object-C0WcyLCx.js → object-CnV5hY_A.js} +4 -4
- package/dist/src/document/actions/creators.d.ts +47 -0
- package/dist/src/document/actions/index.d.ts +14 -0
- package/dist/src/document/actions/types.d.ts +15 -0
- package/dist/src/document/index.d.ts +6 -0
- package/dist/src/document/object.d.ts +1175 -0
- package/dist/src/document/reducer.d.ts +32 -0
- package/dist/src/document/schema/index.d.ts +2 -0
- package/dist/src/document/schema/types.d.ts +176 -0
- package/dist/src/document/schema/zod.d.ts +113 -0
- package/dist/src/document/signal.d.ts +29 -0
- package/dist/src/document/types.d.ts +249 -0
- package/dist/src/document/utils/base.d.ts +85 -0
- package/dist/src/document/utils/file.d.ts +48 -0
- package/dist/src/document/utils/index.d.ts +4 -0
- package/dist/src/document/utils/node.d.ts +9 -0
- package/dist/src/document/utils/validation.d.ts +2 -0
- package/dist/src/document-model/custom/reducers/header.d.ts +2 -0
- package/dist/src/document-model/custom/reducers/module.d.ts +2 -0
- package/dist/src/document-model/custom/reducers/operation-error.d.ts +2 -0
- package/dist/src/document-model/custom/reducers/operation-example.d.ts +2 -0
- package/dist/src/document-model/custom/reducers/operation.d.ts +2 -0
- package/dist/src/document-model/custom/reducers/state.d.ts +2 -0
- package/dist/src/document-model/custom/reducers/versioning.d.ts +7 -0
- package/dist/src/document-model/custom/utils.d.ts +7 -0
- package/dist/src/document-model/gen/actions.d.ts +15 -0
- package/dist/src/document-model/gen/creators.d.ts +7 -0
- package/dist/src/document-model/gen/document-model.d.ts +2 -0
- package/dist/src/document-model/gen/header/actions.d.ts +9 -0
- package/dist/src/document-model/gen/header/creators.d.ts +8 -0
- package/dist/src/document-model/gen/header/object.d.ts +12 -0
- package/dist/src/document-model/gen/header/operations.d.ts +10 -0
- package/dist/src/document-model/gen/index.d.ts +5 -0
- package/dist/src/document-model/gen/module/actions.d.ts +8 -0
- package/dist/src/document-model/gen/module/creators.d.ts +7 -0
- package/dist/src/document-model/gen/module/object.d.ts +11 -0
- package/dist/src/document-model/gen/module/operations.d.ts +9 -0
- package/dist/src/document-model/gen/object.d.ts +28 -0
- package/dist/src/document-model/gen/operation/actions.d.ts +13 -0
- package/dist/src/document-model/gen/operation/creators.d.ts +12 -0
- package/dist/src/document-model/gen/operation/object.d.ts +16 -0
- package/dist/src/document-model/gen/operation/operations.d.ts +14 -0
- package/dist/src/document-model/gen/operation-error/actions.d.ts +10 -0
- package/dist/src/document-model/gen/operation-error/creators.d.ts +9 -0
- package/dist/src/document-model/gen/operation-error/object.d.ts +13 -0
- package/dist/src/document-model/gen/operation-error/operations.d.ts +11 -0
- package/dist/src/document-model/gen/operation-example/actions.d.ts +7 -0
- package/dist/src/document-model/gen/operation-example/creators.d.ts +6 -0
- package/dist/src/document-model/gen/operation-example/object.d.ts +10 -0
- package/dist/src/document-model/gen/operation-example/operations.d.ts +8 -0
- package/dist/src/document-model/gen/reducer.d.ts +5 -0
- package/dist/src/document-model/gen/schema/index.d.ts +2 -0
- package/dist/src/document-model/gen/schema/types.d.ts +453 -0
- package/dist/src/document-model/gen/schema/zod.d.ts +453 -0
- package/dist/src/document-model/gen/state/actions.d.ts +9 -0
- package/dist/src/document-model/gen/state/creators.d.ts +8 -0
- package/dist/src/document-model/gen/state/object.d.ts +12 -0
- package/dist/src/document-model/gen/state/operations.d.ts +10 -0
- package/dist/src/document-model/gen/types.d.ts +8 -0
- package/dist/src/document-model/gen/utils.d.ts +6 -0
- package/dist/src/document-model/gen/versioning/actions.d.ts +8 -0
- package/dist/src/document-model/gen/versioning/creators.d.ts +7 -0
- package/dist/src/document-model/gen/versioning/object.d.ts +11 -0
- package/dist/src/document-model/gen/versioning/operations.d.ts +9 -0
- package/dist/src/document-model/index.d.ts +80 -0
- package/dist/src/index.d.ts +25 -0
- package/dist/vite.config.d.ts +2 -0
- package/dist/vitest.config.d.ts +2 -0
- package/package.json +1 -1
- package/dist/node/cjs/internal/object-Cx_c54j_.js +0 -20
|
@@ -0,0 +1,453 @@
|
|
|
1
|
+
import { OperationScope } from '../../../document';
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type InputMaybe<T> = T | null | undefined;
|
|
4
|
+
export type Exact<T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}> = {
|
|
7
|
+
[K in keyof T]: T[K];
|
|
8
|
+
};
|
|
9
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
|
+
};
|
|
12
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
|
+
};
|
|
15
|
+
export type MakeEmpty<T extends {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}, K extends keyof T> = {
|
|
18
|
+
[_ in K]?: never;
|
|
19
|
+
};
|
|
20
|
+
export type Incremental<T> = T | {
|
|
21
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
22
|
+
};
|
|
23
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
24
|
+
export type Scalars = {
|
|
25
|
+
ID: {
|
|
26
|
+
input: string;
|
|
27
|
+
output: string;
|
|
28
|
+
};
|
|
29
|
+
String: {
|
|
30
|
+
input: string;
|
|
31
|
+
output: string;
|
|
32
|
+
};
|
|
33
|
+
Boolean: {
|
|
34
|
+
input: boolean;
|
|
35
|
+
output: boolean;
|
|
36
|
+
};
|
|
37
|
+
Int: {
|
|
38
|
+
input: number;
|
|
39
|
+
output: number;
|
|
40
|
+
};
|
|
41
|
+
Float: {
|
|
42
|
+
input: number;
|
|
43
|
+
output: number;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export type AddChangeLogItemInput = {
|
|
47
|
+
__typename?: 'AddChangeLogItemInput';
|
|
48
|
+
content: Scalars['String']['output'];
|
|
49
|
+
id: Scalars['ID']['output'];
|
|
50
|
+
insertBefore: Maybe<Scalars['ID']['output']>;
|
|
51
|
+
};
|
|
52
|
+
export type AddModuleInput = {
|
|
53
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
54
|
+
id: Scalars['ID']['input'];
|
|
55
|
+
name: Scalars['String']['input'];
|
|
56
|
+
};
|
|
57
|
+
export type AddOperationErrorInput = {
|
|
58
|
+
errorCode?: InputMaybe<Scalars['String']['input']>;
|
|
59
|
+
errorDescription?: InputMaybe<Scalars['String']['input']>;
|
|
60
|
+
errorName?: InputMaybe<Scalars['String']['input']>;
|
|
61
|
+
errorTemplate?: InputMaybe<Scalars['String']['input']>;
|
|
62
|
+
id: Scalars['ID']['input'];
|
|
63
|
+
operationId: Scalars['ID']['input'];
|
|
64
|
+
};
|
|
65
|
+
export type AddOperationExampleInput = {
|
|
66
|
+
example: Scalars['String']['input'];
|
|
67
|
+
id: Scalars['ID']['input'];
|
|
68
|
+
operationId: Scalars['ID']['input'];
|
|
69
|
+
};
|
|
70
|
+
export type AddOperationInput = {
|
|
71
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
72
|
+
id: Scalars['ID']['input'];
|
|
73
|
+
moduleId: Scalars['ID']['input'];
|
|
74
|
+
name: Scalars['String']['input'];
|
|
75
|
+
reducer?: InputMaybe<Scalars['String']['input']>;
|
|
76
|
+
schema?: InputMaybe<Scalars['String']['input']>;
|
|
77
|
+
template?: InputMaybe<Scalars['String']['input']>;
|
|
78
|
+
scope?: InputMaybe<OperationScope>;
|
|
79
|
+
};
|
|
80
|
+
export type AddStateExampleInput = {
|
|
81
|
+
scope: Scalars['String']['input'];
|
|
82
|
+
example: Scalars['String']['input'];
|
|
83
|
+
id: Scalars['ID']['input'];
|
|
84
|
+
insertBefore?: InputMaybe<Scalars['ID']['input']>;
|
|
85
|
+
};
|
|
86
|
+
export type Author = {
|
|
87
|
+
__typename?: 'Author';
|
|
88
|
+
name: Scalars['String']['output'];
|
|
89
|
+
website: Maybe<Scalars['String']['output']>;
|
|
90
|
+
};
|
|
91
|
+
export type CodeExample = {
|
|
92
|
+
__typename?: 'CodeExample';
|
|
93
|
+
id: Scalars['ID']['output'];
|
|
94
|
+
value: Scalars['String']['output'];
|
|
95
|
+
};
|
|
96
|
+
export type DeleteChangeLogItemInput = {
|
|
97
|
+
__typename?: 'DeleteChangeLogItemInput';
|
|
98
|
+
id: Scalars['ID']['output'];
|
|
99
|
+
};
|
|
100
|
+
export type DeleteModuleInput = {
|
|
101
|
+
id: Scalars['ID']['input'];
|
|
102
|
+
};
|
|
103
|
+
export type DeleteOperationErrorInput = {
|
|
104
|
+
id: Scalars['ID']['input'];
|
|
105
|
+
};
|
|
106
|
+
export type DeleteOperationExampleInput = {
|
|
107
|
+
id: Scalars['ID']['input'];
|
|
108
|
+
};
|
|
109
|
+
export type DeleteOperationInput = {
|
|
110
|
+
id: Scalars['ID']['input'];
|
|
111
|
+
};
|
|
112
|
+
export type DeleteStateExampleInput = {
|
|
113
|
+
scope: Scalars['String']['input'];
|
|
114
|
+
id: Scalars['ID']['input'];
|
|
115
|
+
};
|
|
116
|
+
export type DocumentModelInput = AddChangeLogItemInput | AddModuleInput | AddOperationErrorInput | AddOperationExampleInput | AddOperationInput | AddStateExampleInput | DeleteChangeLogItemInput | DeleteModuleInput | DeleteOperationErrorInput | DeleteOperationExampleInput | DeleteOperationInput | DeleteStateExampleInput | MoveOperationInput | ReorderChangeLogItemsInput | ReorderModuleOperationsInput | ReorderModulesInput | ReorderOperationErrorsInput | ReorderOperationExamplesInput | ReorderStateExamplesInput | SetAuthorNameInput | SetAuthorWebsiteInput | SetInitialStateInput | SetModelDescriptionInput | SetModelExtensionInput | SetModelIdInput | SetModelNameInput | SetModuleDescriptionInput | SetModuleNameInput | SetOperationDescriptionInput | SetOperationErrorCodeInput | SetOperationErrorDescriptionInput | SetOperationErrorNameInput | SetOperationErrorTemplateInput | SetOperationNameInput | SetOperationReducerInput | SetOperationSchemaInput | SetOperationTemplateInput | SetStateSchemaInput | UpdateChangeLogItemInput | UpdateOperationExampleInput | UpdateStateExampleInput;
|
|
117
|
+
export type DocumentModelState = {
|
|
118
|
+
__typename?: 'DocumentModelState';
|
|
119
|
+
author: Author;
|
|
120
|
+
description: Scalars['String']['output'];
|
|
121
|
+
extension: Scalars['String']['output'];
|
|
122
|
+
id: Scalars['String']['output'];
|
|
123
|
+
name: Scalars['String']['output'];
|
|
124
|
+
specifications: Array<DocumentSpecification>;
|
|
125
|
+
};
|
|
126
|
+
export type ScopeState = {
|
|
127
|
+
global: State;
|
|
128
|
+
local: State;
|
|
129
|
+
};
|
|
130
|
+
export type DocumentModelLocalState = {};
|
|
131
|
+
export type DocumentSpecification = {
|
|
132
|
+
__typename?: 'DocumentSpecification';
|
|
133
|
+
changeLog: Array<Scalars['String']['output']>;
|
|
134
|
+
modules: Array<Module>;
|
|
135
|
+
state: ScopeState;
|
|
136
|
+
version: Scalars['Int']['output'];
|
|
137
|
+
};
|
|
138
|
+
export type Module = {
|
|
139
|
+
__typename?: 'Module';
|
|
140
|
+
description: Maybe<Scalars['String']['output']>;
|
|
141
|
+
id: Scalars['ID']['output'];
|
|
142
|
+
name: Scalars['String']['output'];
|
|
143
|
+
operations: Array<Operation>;
|
|
144
|
+
};
|
|
145
|
+
export type MoveOperationInput = {
|
|
146
|
+
newModuleId: Scalars['ID']['input'];
|
|
147
|
+
operationId: Scalars['ID']['input'];
|
|
148
|
+
};
|
|
149
|
+
export type Mutation = {
|
|
150
|
+
__typename?: 'Mutation';
|
|
151
|
+
addChangeLogItemInput: DocumentModelState;
|
|
152
|
+
addModule: DocumentModelState;
|
|
153
|
+
addOperation: DocumentModelState;
|
|
154
|
+
addOperationError: DocumentModelState;
|
|
155
|
+
addOperationExample: DocumentModelState;
|
|
156
|
+
addStateExample: DocumentModelState;
|
|
157
|
+
deleteChangeLogItemInput: DocumentModelState;
|
|
158
|
+
deleteModule: DocumentModelState;
|
|
159
|
+
deleteOperation: DocumentModelState;
|
|
160
|
+
deleteOperationError: DocumentModelState;
|
|
161
|
+
deleteOperationExample: DocumentModelState;
|
|
162
|
+
deleteStateExample: DocumentModelState;
|
|
163
|
+
moveOperation: DocumentModelState;
|
|
164
|
+
releaseNewVersion: DocumentModelState;
|
|
165
|
+
reorderChangeLogItemsInput: DocumentModelState;
|
|
166
|
+
reorderModuleOperations: DocumentModelState;
|
|
167
|
+
reorderModules: DocumentModelState;
|
|
168
|
+
reorderOperationErrors: DocumentModelState;
|
|
169
|
+
reorderOperationExamples: DocumentModelState;
|
|
170
|
+
reorderStateExamples: DocumentModelState;
|
|
171
|
+
setAuthorName: DocumentModelState;
|
|
172
|
+
setAuthorWebsite: DocumentModelState;
|
|
173
|
+
setInitialState: DocumentModelState;
|
|
174
|
+
setModelDescription: DocumentModelState;
|
|
175
|
+
setModelExtension: DocumentModelState;
|
|
176
|
+
setModelId: DocumentModelState;
|
|
177
|
+
setModelName: DocumentModelState;
|
|
178
|
+
setModuleDescription: DocumentModelState;
|
|
179
|
+
setModuleName: DocumentModelState;
|
|
180
|
+
setOperationDescription: DocumentModelState;
|
|
181
|
+
setOperationErrorCode: DocumentModelState;
|
|
182
|
+
setOperationErrorDescription: DocumentModelState;
|
|
183
|
+
setOperationErrorName: DocumentModelState;
|
|
184
|
+
setOperationErrorTemplate: DocumentModelState;
|
|
185
|
+
setOperationName: DocumentModelState;
|
|
186
|
+
setOperationReducer: DocumentModelState;
|
|
187
|
+
setOperationSchema: DocumentModelState;
|
|
188
|
+
setOperationTemplate: DocumentModelState;
|
|
189
|
+
setStateSchema: DocumentModelState;
|
|
190
|
+
updateChangeLogItemInput: DocumentModelState;
|
|
191
|
+
updateOperationExample: DocumentModelState;
|
|
192
|
+
updateStateExample: DocumentModelState;
|
|
193
|
+
};
|
|
194
|
+
export type MutationAddChangeLogItemInputArgs = {
|
|
195
|
+
input?: InputMaybe<AddChangeLogItemInput>;
|
|
196
|
+
};
|
|
197
|
+
export type MutationAddModuleArgs = {
|
|
198
|
+
input: AddModuleInput;
|
|
199
|
+
};
|
|
200
|
+
export type MutationAddOperationArgs = {
|
|
201
|
+
input: AddOperationInput;
|
|
202
|
+
};
|
|
203
|
+
export type MutationAddOperationErrorArgs = {
|
|
204
|
+
input: AddOperationErrorInput;
|
|
205
|
+
};
|
|
206
|
+
export type MutationAddOperationExampleArgs = {
|
|
207
|
+
input: AddOperationExampleInput;
|
|
208
|
+
};
|
|
209
|
+
export type MutationAddStateExampleArgs = {
|
|
210
|
+
input: AddStateExampleInput;
|
|
211
|
+
};
|
|
212
|
+
export type MutationDeleteChangeLogItemInputArgs = {
|
|
213
|
+
input?: InputMaybe<DeleteChangeLogItemInput>;
|
|
214
|
+
};
|
|
215
|
+
export type MutationDeleteModuleArgs = {
|
|
216
|
+
input: DeleteModuleInput;
|
|
217
|
+
};
|
|
218
|
+
export type MutationDeleteOperationArgs = {
|
|
219
|
+
input: DeleteOperationInput;
|
|
220
|
+
};
|
|
221
|
+
export type MutationDeleteOperationErrorArgs = {
|
|
222
|
+
input: DeleteOperationErrorInput;
|
|
223
|
+
};
|
|
224
|
+
export type MutationDeleteOperationExampleArgs = {
|
|
225
|
+
input: DeleteOperationExampleInput;
|
|
226
|
+
};
|
|
227
|
+
export type MutationDeleteStateExampleArgs = {
|
|
228
|
+
input: DeleteStateExampleInput;
|
|
229
|
+
};
|
|
230
|
+
export type MutationMoveOperationArgs = {
|
|
231
|
+
input: MoveOperationInput;
|
|
232
|
+
};
|
|
233
|
+
export type MutationReorderChangeLogItemsInputArgs = {
|
|
234
|
+
input?: InputMaybe<ReorderChangeLogItemsInput>;
|
|
235
|
+
};
|
|
236
|
+
export type MutationReorderModuleOperationsArgs = {
|
|
237
|
+
input: ReorderModuleOperationsInput;
|
|
238
|
+
};
|
|
239
|
+
export type MutationReorderModulesArgs = {
|
|
240
|
+
input: ReorderModulesInput;
|
|
241
|
+
};
|
|
242
|
+
export type MutationReorderOperationErrorsArgs = {
|
|
243
|
+
input: ReorderOperationErrorsInput;
|
|
244
|
+
};
|
|
245
|
+
export type MutationReorderOperationExamplesArgs = {
|
|
246
|
+
input: ReorderOperationExamplesInput;
|
|
247
|
+
};
|
|
248
|
+
export type MutationReorderStateExamplesArgs = {
|
|
249
|
+
input: ReorderStateExamplesInput;
|
|
250
|
+
};
|
|
251
|
+
export type MutationSetAuthorNameArgs = {
|
|
252
|
+
input: SetAuthorNameInput;
|
|
253
|
+
};
|
|
254
|
+
export type MutationSetAuthorWebsiteArgs = {
|
|
255
|
+
input: SetAuthorWebsiteInput;
|
|
256
|
+
};
|
|
257
|
+
export type MutationSetInitialStateArgs = {
|
|
258
|
+
input: SetInitialStateInput;
|
|
259
|
+
};
|
|
260
|
+
export type MutationSetModelDescriptionArgs = {
|
|
261
|
+
input: SetModelDescriptionInput;
|
|
262
|
+
};
|
|
263
|
+
export type MutationSetModelExtensionArgs = {
|
|
264
|
+
input: SetModelExtensionInput;
|
|
265
|
+
};
|
|
266
|
+
export type MutationSetModelIdArgs = {
|
|
267
|
+
input: SetModelIdInput;
|
|
268
|
+
};
|
|
269
|
+
export type MutationSetModelNameArgs = {
|
|
270
|
+
input: SetModelNameInput;
|
|
271
|
+
};
|
|
272
|
+
export type MutationSetModuleDescriptionArgs = {
|
|
273
|
+
input: SetModuleDescriptionInput;
|
|
274
|
+
};
|
|
275
|
+
export type MutationSetModuleNameArgs = {
|
|
276
|
+
input: SetModuleNameInput;
|
|
277
|
+
};
|
|
278
|
+
export type MutationSetOperationDescriptionArgs = {
|
|
279
|
+
input: SetOperationDescriptionInput;
|
|
280
|
+
};
|
|
281
|
+
export type MutationSetOperationErrorCodeArgs = {
|
|
282
|
+
input: SetOperationErrorCodeInput;
|
|
283
|
+
};
|
|
284
|
+
export type MutationSetOperationErrorDescriptionArgs = {
|
|
285
|
+
input: SetOperationErrorDescriptionInput;
|
|
286
|
+
};
|
|
287
|
+
export type MutationSetOperationErrorNameArgs = {
|
|
288
|
+
input: SetOperationErrorNameInput;
|
|
289
|
+
};
|
|
290
|
+
export type MutationSetOperationErrorTemplateArgs = {
|
|
291
|
+
input: SetOperationErrorTemplateInput;
|
|
292
|
+
};
|
|
293
|
+
export type MutationSetOperationNameArgs = {
|
|
294
|
+
input: SetOperationNameInput;
|
|
295
|
+
};
|
|
296
|
+
export type MutationSetOperationReducerArgs = {
|
|
297
|
+
input: SetOperationReducerInput;
|
|
298
|
+
};
|
|
299
|
+
export type MutationSetOperationSchemaArgs = {
|
|
300
|
+
input: SetOperationSchemaInput;
|
|
301
|
+
};
|
|
302
|
+
export type MutationSetOperationTemplateArgs = {
|
|
303
|
+
input: SetOperationTemplateInput;
|
|
304
|
+
};
|
|
305
|
+
export type MutationSetStateSchemaArgs = {
|
|
306
|
+
input: SetStateSchemaInput;
|
|
307
|
+
};
|
|
308
|
+
export type MutationUpdateChangeLogItemInputArgs = {
|
|
309
|
+
input?: InputMaybe<UpdateChangeLogItemInput>;
|
|
310
|
+
};
|
|
311
|
+
export type MutationUpdateOperationExampleArgs = {
|
|
312
|
+
input: UpdateOperationExampleInput;
|
|
313
|
+
};
|
|
314
|
+
export type MutationUpdateStateExampleArgs = {
|
|
315
|
+
input: UpdateStateExampleInput;
|
|
316
|
+
};
|
|
317
|
+
export type Operation = {
|
|
318
|
+
__typename?: 'Operation';
|
|
319
|
+
description: Maybe<Scalars['String']['output']>;
|
|
320
|
+
errors: Array<OperationError>;
|
|
321
|
+
examples: Array<CodeExample>;
|
|
322
|
+
id: Scalars['ID']['output'];
|
|
323
|
+
name: Maybe<Scalars['String']['output']>;
|
|
324
|
+
reducer: Maybe<Scalars['String']['output']>;
|
|
325
|
+
schema: Maybe<Scalars['String']['output']>;
|
|
326
|
+
template: Maybe<Scalars['String']['output']>;
|
|
327
|
+
scope: OperationScope;
|
|
328
|
+
};
|
|
329
|
+
export type OperationError = {
|
|
330
|
+
__typename?: 'OperationError';
|
|
331
|
+
code: Maybe<Scalars['String']['output']>;
|
|
332
|
+
description: Maybe<Scalars['String']['output']>;
|
|
333
|
+
id: Scalars['ID']['output'];
|
|
334
|
+
name: Maybe<Scalars['String']['output']>;
|
|
335
|
+
template: Maybe<Scalars['String']['output']>;
|
|
336
|
+
};
|
|
337
|
+
export type ReorderChangeLogItemsInput = {
|
|
338
|
+
__typename?: 'ReorderChangeLogItemsInput';
|
|
339
|
+
order: Array<Scalars['ID']['output']>;
|
|
340
|
+
};
|
|
341
|
+
export type ReorderModuleOperationsInput = {
|
|
342
|
+
moduleId: Scalars['ID']['input'];
|
|
343
|
+
order: Array<Scalars['ID']['input']>;
|
|
344
|
+
};
|
|
345
|
+
export type ReorderModulesInput = {
|
|
346
|
+
order: Array<Scalars['ID']['input']>;
|
|
347
|
+
};
|
|
348
|
+
export type ReorderOperationErrorsInput = {
|
|
349
|
+
operationId: Scalars['ID']['input'];
|
|
350
|
+
order: Array<Scalars['ID']['input']>;
|
|
351
|
+
};
|
|
352
|
+
export type ReorderOperationExamplesInput = {
|
|
353
|
+
operationId: Scalars['ID']['input'];
|
|
354
|
+
order: Array<Scalars['ID']['input']>;
|
|
355
|
+
};
|
|
356
|
+
export type ReorderStateExamplesInput = {
|
|
357
|
+
scope: Scalars['String']['input'];
|
|
358
|
+
order: Array<Scalars['ID']['input']>;
|
|
359
|
+
};
|
|
360
|
+
export type SetAuthorNameInput = {
|
|
361
|
+
authorName: Scalars['String']['input'];
|
|
362
|
+
};
|
|
363
|
+
export type SetAuthorWebsiteInput = {
|
|
364
|
+
authorWebsite: Scalars['String']['input'];
|
|
365
|
+
};
|
|
366
|
+
export type SetInitialStateInput = {
|
|
367
|
+
scope: Scalars['String']['input'];
|
|
368
|
+
initialValue: Scalars['String']['input'];
|
|
369
|
+
};
|
|
370
|
+
export type SetModelDescriptionInput = {
|
|
371
|
+
description: Scalars['String']['input'];
|
|
372
|
+
};
|
|
373
|
+
export type SetModelExtensionInput = {
|
|
374
|
+
extension: Scalars['String']['input'];
|
|
375
|
+
};
|
|
376
|
+
export type SetModelIdInput = {
|
|
377
|
+
id: Scalars['String']['input'];
|
|
378
|
+
};
|
|
379
|
+
export type SetModelNameInput = {
|
|
380
|
+
name: Scalars['String']['input'];
|
|
381
|
+
};
|
|
382
|
+
export type SetModuleDescriptionInput = {
|
|
383
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
384
|
+
id: Scalars['ID']['input'];
|
|
385
|
+
};
|
|
386
|
+
export type SetModuleNameInput = {
|
|
387
|
+
id: Scalars['ID']['input'];
|
|
388
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
389
|
+
};
|
|
390
|
+
export type SetOperationDescriptionInput = {
|
|
391
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
392
|
+
id: Scalars['ID']['input'];
|
|
393
|
+
};
|
|
394
|
+
export type SetOperationErrorCodeInput = {
|
|
395
|
+
errorCode?: InputMaybe<Scalars['String']['input']>;
|
|
396
|
+
id: Scalars['ID']['input'];
|
|
397
|
+
};
|
|
398
|
+
export type SetOperationErrorDescriptionInput = {
|
|
399
|
+
errorDescription?: InputMaybe<Scalars['String']['input']>;
|
|
400
|
+
id: Scalars['ID']['input'];
|
|
401
|
+
};
|
|
402
|
+
export type SetOperationErrorNameInput = {
|
|
403
|
+
errorName?: InputMaybe<Scalars['String']['input']>;
|
|
404
|
+
id: Scalars['ID']['input'];
|
|
405
|
+
};
|
|
406
|
+
export type SetOperationErrorTemplateInput = {
|
|
407
|
+
errorTemplate?: InputMaybe<Scalars['String']['input']>;
|
|
408
|
+
id: Scalars['ID']['input'];
|
|
409
|
+
};
|
|
410
|
+
export type SetOperationNameInput = {
|
|
411
|
+
id: Scalars['ID']['input'];
|
|
412
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
413
|
+
};
|
|
414
|
+
export type SetOperationScopeInput = {
|
|
415
|
+
id: Scalars['ID']['input'];
|
|
416
|
+
scope: InputMaybe<OperationScope>;
|
|
417
|
+
};
|
|
418
|
+
export type SetOperationReducerInput = {
|
|
419
|
+
id: Scalars['ID']['input'];
|
|
420
|
+
reducer?: InputMaybe<Scalars['String']['input']>;
|
|
421
|
+
};
|
|
422
|
+
export type SetOperationSchemaInput = {
|
|
423
|
+
id: Scalars['ID']['input'];
|
|
424
|
+
schema?: InputMaybe<Scalars['String']['input']>;
|
|
425
|
+
};
|
|
426
|
+
export type SetOperationTemplateInput = {
|
|
427
|
+
id: Scalars['ID']['input'];
|
|
428
|
+
template?: InputMaybe<Scalars['String']['input']>;
|
|
429
|
+
};
|
|
430
|
+
export type SetStateSchemaInput = {
|
|
431
|
+
scope: Scalars['String']['input'];
|
|
432
|
+
schema: Scalars['String']['input'];
|
|
433
|
+
};
|
|
434
|
+
export type State = {
|
|
435
|
+
__typename?: 'State';
|
|
436
|
+
examples: Array<CodeExample>;
|
|
437
|
+
initialValue: Scalars['String']['output'];
|
|
438
|
+
schema: Scalars['String']['output'];
|
|
439
|
+
};
|
|
440
|
+
export type UpdateChangeLogItemInput = {
|
|
441
|
+
__typename?: 'UpdateChangeLogItemInput';
|
|
442
|
+
id: Scalars['ID']['output'];
|
|
443
|
+
newContent: Scalars['String']['output'];
|
|
444
|
+
};
|
|
445
|
+
export type UpdateOperationExampleInput = {
|
|
446
|
+
example: Scalars['String']['input'];
|
|
447
|
+
id: Scalars['ID']['input'];
|
|
448
|
+
};
|
|
449
|
+
export type UpdateStateExampleInput = {
|
|
450
|
+
scope: Scalars['String']['input'];
|
|
451
|
+
id: Scalars['ID']['input'];
|
|
452
|
+
newExample: Scalars['String']['input'];
|
|
453
|
+
};
|