@powerhousedao/design-system 1.29.3 → 1.29.5

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.
@@ -2,163 +2,7 @@ import { Operation } from "document-model";
2
2
  import { SignatureArray } from "./types";
3
3
  export declare const mockSignature: SignatureArray;
4
4
  export declare const mockOperation: Operation;
5
- export declare const mockOperations: ({
6
- index: number;
7
- type: "LOAD_STATE";
8
- input: import("node_modules/document-model/src/document/schema/types").LoadStateActionInput;
9
- scope: import("document-model").OperationScope;
10
- attachments?: import("document-model").AttachmentInput[] | undefined;
11
- context?: import("document-model").ActionContext;
12
- timestamp: string;
13
- hash: string;
14
- skip: number;
15
- error?: string;
16
- resultingState?: string;
17
- id?: string;
18
- } | {
19
- index: number;
20
- type: "PRUNE";
21
- input: import("node_modules/document-model/src/document/schema/types").PruneActionInput;
22
- scope: import("document-model").OperationScope;
23
- attachments?: import("document-model").AttachmentInput[] | undefined;
24
- context?: import("document-model").ActionContext;
25
- timestamp: string;
26
- hash: string;
27
- skip: number;
28
- error?: string;
29
- resultingState?: string;
30
- id?: string;
31
- } | {
32
- index: number;
33
- type: "REDO";
34
- input: number;
35
- scope: import("document-model").OperationScope;
36
- attachments?: import("document-model").AttachmentInput[] | undefined;
37
- context?: import("document-model").ActionContext;
38
- timestamp: string;
39
- hash: string;
40
- skip: number;
41
- error?: string;
42
- resultingState?: string;
43
- id?: string;
44
- } | {
45
- index: number;
46
- type: "SET_NAME";
47
- input: string;
48
- scope: import("document-model").OperationScope;
49
- attachments?: import("document-model").AttachmentInput[] | undefined;
50
- context?: import("document-model").ActionContext;
51
- timestamp: string;
52
- hash: string;
53
- skip: number;
54
- error?: string;
55
- resultingState?: string;
56
- id?: string;
57
- } | {
58
- index: number;
59
- type: "UNDO";
60
- input: number;
61
- scope: import("document-model").OperationScope;
62
- attachments?: import("document-model").AttachmentInput[] | undefined;
63
- context?: import("document-model").ActionContext;
64
- timestamp: string;
65
- hash: string;
66
- skip: number;
67
- error?: string;
68
- resultingState?: string;
69
- id?: string;
70
- } | {
71
- index: number;
72
- type: "NOOP";
73
- input: unknown;
74
- scope: import("document-model").OperationScope;
75
- attachments?: import("document-model").AttachmentInput[] | undefined;
76
- context?: import("document-model").ActionContext;
77
- timestamp: string;
78
- hash: string;
79
- skip: number;
80
- error?: string;
81
- resultingState?: string;
82
- id?: string;
83
- } | {
84
- index: number;
85
- type: "SET_MODEL_NAME";
86
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetModelNameInput;
87
- scope: import("document-model").OperationScope;
88
- attachments?: import("document-model").AttachmentInput[] | undefined;
89
- context?: import("document-model").ActionContext;
90
- timestamp: string;
91
- hash: string;
92
- skip: number;
93
- error?: string;
94
- resultingState?: string;
95
- id?: string;
96
- } | {
97
- index: number;
98
- type: "SET_MODEL_ID";
99
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetModelIdInput;
100
- scope: import("document-model").OperationScope;
101
- attachments?: import("document-model").AttachmentInput[] | undefined;
102
- context?: import("document-model").ActionContext;
103
- timestamp: string;
104
- hash: string;
105
- skip: number;
106
- error?: string;
107
- resultingState?: string;
108
- id?: string;
109
- } | {
110
- index: number;
111
- type: "SET_MODEL_EXTENSION";
112
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetModelExtensionInput;
113
- scope: import("document-model").OperationScope;
114
- attachments?: import("document-model").AttachmentInput[] | undefined;
115
- context?: import("document-model").ActionContext;
116
- timestamp: string;
117
- hash: string;
118
- skip: number;
119
- error?: string;
120
- resultingState?: string;
121
- id?: string;
122
- } | {
123
- index: number;
124
- type: "SET_MODEL_DESCRIPTION";
125
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetModelDescriptionInput;
126
- scope: import("document-model").OperationScope;
127
- attachments?: import("document-model").AttachmentInput[] | undefined;
128
- context?: import("document-model").ActionContext;
129
- timestamp: string;
130
- hash: string;
131
- skip: number;
132
- error?: string;
133
- resultingState?: string;
134
- id?: string;
135
- } | {
136
- index: number;
137
- type: "SET_AUTHOR_NAME";
138
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetAuthorNameInput;
139
- scope: import("document-model").OperationScope;
140
- attachments?: import("document-model").AttachmentInput[] | undefined;
141
- context?: import("document-model").ActionContext;
142
- timestamp: string;
143
- hash: string;
144
- skip: number;
145
- error?: string;
146
- resultingState?: string;
147
- id?: string;
148
- } | {
149
- index: number;
150
- type: "SET_AUTHOR_WEBSITE";
151
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetAuthorWebsiteInput;
152
- scope: import("document-model").OperationScope;
153
- attachments?: import("document-model").AttachmentInput[] | undefined;
154
- context?: import("document-model").ActionContext;
155
- timestamp: string;
156
- hash: string;
157
- skip: number;
158
- error?: string;
159
- resultingState?: string;
160
- id?: string;
161
- } | {
5
+ export declare const mockOperations: {
162
6
  index: number;
163
7
  type: string;
164
8
  input: unknown;
@@ -171,164 +15,8 @@ export declare const mockOperations: ({
171
15
  error?: string;
172
16
  resultingState?: string;
173
17
  id?: string;
174
- })[];
175
- export declare const globalOperations: ({
176
- index: number;
177
- type: "LOAD_STATE";
178
- input: import("node_modules/document-model/src/document/schema/types").LoadStateActionInput;
179
- scope: import("document-model").OperationScope;
180
- attachments?: import("document-model").AttachmentInput[] | undefined;
181
- context?: import("document-model").ActionContext;
182
- timestamp: string;
183
- hash: string;
184
- skip: number;
185
- error?: string;
186
- resultingState?: string;
187
- id?: string;
188
- } | {
189
- index: number;
190
- type: "PRUNE";
191
- input: import("node_modules/document-model/src/document/schema/types").PruneActionInput;
192
- scope: import("document-model").OperationScope;
193
- attachments?: import("document-model").AttachmentInput[] | undefined;
194
- context?: import("document-model").ActionContext;
195
- timestamp: string;
196
- hash: string;
197
- skip: number;
198
- error?: string;
199
- resultingState?: string;
200
- id?: string;
201
- } | {
202
- index: number;
203
- type: "REDO";
204
- input: number;
205
- scope: import("document-model").OperationScope;
206
- attachments?: import("document-model").AttachmentInput[] | undefined;
207
- context?: import("document-model").ActionContext;
208
- timestamp: string;
209
- hash: string;
210
- skip: number;
211
- error?: string;
212
- resultingState?: string;
213
- id?: string;
214
- } | {
215
- index: number;
216
- type: "SET_NAME";
217
- input: string;
218
- scope: import("document-model").OperationScope;
219
- attachments?: import("document-model").AttachmentInput[] | undefined;
220
- context?: import("document-model").ActionContext;
221
- timestamp: string;
222
- hash: string;
223
- skip: number;
224
- error?: string;
225
- resultingState?: string;
226
- id?: string;
227
- } | {
228
- index: number;
229
- type: "UNDO";
230
- input: number;
231
- scope: import("document-model").OperationScope;
232
- attachments?: import("document-model").AttachmentInput[] | undefined;
233
- context?: import("document-model").ActionContext;
234
- timestamp: string;
235
- hash: string;
236
- skip: number;
237
- error?: string;
238
- resultingState?: string;
239
- id?: string;
240
- } | {
241
- index: number;
242
- type: "NOOP";
243
- input: unknown;
244
- scope: import("document-model").OperationScope;
245
- attachments?: import("document-model").AttachmentInput[] | undefined;
246
- context?: import("document-model").ActionContext;
247
- timestamp: string;
248
- hash: string;
249
- skip: number;
250
- error?: string;
251
- resultingState?: string;
252
- id?: string;
253
- } | {
254
- index: number;
255
- type: "SET_MODEL_NAME";
256
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetModelNameInput;
257
- scope: import("document-model").OperationScope;
258
- attachments?: import("document-model").AttachmentInput[] | undefined;
259
- context?: import("document-model").ActionContext;
260
- timestamp: string;
261
- hash: string;
262
- skip: number;
263
- error?: string;
264
- resultingState?: string;
265
- id?: string;
266
- } | {
267
- index: number;
268
- type: "SET_MODEL_ID";
269
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetModelIdInput;
270
- scope: import("document-model").OperationScope;
271
- attachments?: import("document-model").AttachmentInput[] | undefined;
272
- context?: import("document-model").ActionContext;
273
- timestamp: string;
274
- hash: string;
275
- skip: number;
276
- error?: string;
277
- resultingState?: string;
278
- id?: string;
279
- } | {
280
- index: number;
281
- type: "SET_MODEL_EXTENSION";
282
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetModelExtensionInput;
283
- scope: import("document-model").OperationScope;
284
- attachments?: import("document-model").AttachmentInput[] | undefined;
285
- context?: import("document-model").ActionContext;
286
- timestamp: string;
287
- hash: string;
288
- skip: number;
289
- error?: string;
290
- resultingState?: string;
291
- id?: string;
292
- } | {
293
- index: number;
294
- type: "SET_MODEL_DESCRIPTION";
295
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetModelDescriptionInput;
296
- scope: import("document-model").OperationScope;
297
- attachments?: import("document-model").AttachmentInput[] | undefined;
298
- context?: import("document-model").ActionContext;
299
- timestamp: string;
300
- hash: string;
301
- skip: number;
302
- error?: string;
303
- resultingState?: string;
304
- id?: string;
305
- } | {
306
- index: number;
307
- type: "SET_AUTHOR_NAME";
308
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetAuthorNameInput;
309
- scope: import("document-model").OperationScope;
310
- attachments?: import("document-model").AttachmentInput[] | undefined;
311
- context?: import("document-model").ActionContext;
312
- timestamp: string;
313
- hash: string;
314
- skip: number;
315
- error?: string;
316
- resultingState?: string;
317
- id?: string;
318
- } | {
319
- index: number;
320
- type: "SET_AUTHOR_WEBSITE";
321
- input: import("node_modules/document-model/src/document-model/gen/schema/types").SetAuthorWebsiteInput;
322
- scope: import("document-model").OperationScope;
323
- attachments?: import("document-model").AttachmentInput[] | undefined;
324
- context?: import("document-model").ActionContext;
325
- timestamp: string;
326
- hash: string;
327
- skip: number;
328
- error?: string;
329
- resultingState?: string;
330
- id?: string;
331
- } | {
18
+ }[];
19
+ export declare const globalOperations: {
332
20
  index: number;
333
21
  type: string;
334
22
  input: unknown;
@@ -341,6 +29,6 @@ export declare const globalOperations: ({
341
29
  error?: string;
342
30
  resultingState?: string;
343
31
  id?: string;
344
- })[];
32
+ }[];
345
33
  export declare const localOperations: Operation[];
346
34
  //# sourceMappingURL=mocks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mocks.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/revision-history/mocks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,aAAa,EAAE,cAK3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,SAuB3B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6CxB,CAAC;AAEJ,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAiB,CAAC;AAC/C,eAAO,MAAM,eAAe,EAAE,SAAS,EAGpC,CAAC"}
1
+ {"version":3,"file":"mocks.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/revision-history/mocks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,aAAa,EAAE,cAK3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,SAuB3B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;GA6CxB,CAAC;AAEJ,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;GAAiB,CAAC;AAC/C,eAAO,MAAM,eAAe,EAAE,SAAS,EAGpC,CAAC"}