@xyo-network/archivist-model 3.6.0-rc.1 → 3.6.0-rc.11

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.
@@ -5,38 +5,122 @@ export declare const isArchivistInstance: import("@xylabs/object").TypeCheck<Arc
5
5
  addToResolvers?: boolean;
6
6
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
7
7
  allowNameResolution?: boolean;
8
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
9
- parents?: import("./Config.ts").ArchivistParents;
10
- requireAllParents?: boolean;
11
- schema: "network.xyo.archivist.config";
12
- storage?: import("./Config.ts").ArchivistStorage;
13
- storeParentReads?: boolean;
14
- }, "schema"> & {
15
- schema: "network.xyo.archivist.config";
16
- }, "schema"> & {
17
- schema: string;
18
- };
8
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
9
+ schema: import("@xyo-network/payload-model").Schema;
10
+ parents?: {
11
+ commit?: Lowercase<string>[] | undefined;
12
+ read?: Lowercase<string>[] | undefined;
13
+ write?: Lowercase<string>[] | undefined;
14
+ } | undefined;
15
+ requireAllParents?: boolean | undefined;
16
+ storage?: {
17
+ indexes?: {
18
+ key: {
19
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
20
+ };
21
+ multiEntry?: boolean | undefined;
22
+ name?: string | undefined;
23
+ unique?: boolean | undefined;
24
+ }[] | undefined;
25
+ } | undefined;
26
+ storeParentReads?: boolean | undefined;
27
+ readonly archiving?: {
28
+ readonly archivists?: string[] | undefined;
29
+ readonly queries?: string[] | undefined;
30
+ } | undefined;
31
+ readonly allowedQueries?: string[] | undefined;
32
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
33
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
34
+ readonly labels?: {
35
+ [x: string]: string | undefined;
36
+ } | undefined;
37
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
38
+ readonly paging?: {
39
+ [x: string]: {
40
+ size?: number | undefined;
41
+ };
42
+ } | undefined;
43
+ readonly retry?: {
44
+ backoff?: number | undefined;
45
+ interval?: number | undefined;
46
+ retries?: number | undefined;
47
+ } | undefined;
48
+ readonly security?: {
49
+ readonly allowAnonymous?: boolean | undefined;
50
+ readonly allowed?: {
51
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
52
+ } | undefined;
53
+ readonly disallowed?: {
54
+ [x: string]: Lowercase<string>[];
55
+ } | undefined;
56
+ } | undefined;
57
+ readonly sign?: boolean | undefined;
58
+ readonly storeQueries?: boolean | undefined;
59
+ readonly timestamp?: boolean | undefined;
60
+ }>;
19
61
  ephemeralQueryAccountEnabled?: boolean;
20
62
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
21
- }, import("./EventData.ts").ArchivistModuleEventData, {
22
- schema: string;
23
- } & import("@xyo-network/payload-model").PayloadFields>>;
63
+ }, import("./EventData.ts").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
64
+ schema: import("@xyo-network/payload-model").Schema;
65
+ }>>>;
24
66
  export declare const isArchivistModule: import("@xyo-network/module-model").ModuleTypeCheck<ArchivistModule<import("@xylabs/object").BaseParamsFields & {
25
67
  account?: import("@xyo-network/account-model").AccountInstance | "random";
26
68
  addToResolvers?: boolean;
27
69
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
28
70
  allowNameResolution?: boolean;
29
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
30
- parents?: import("./Config.ts").ArchivistParents;
31
- requireAllParents?: boolean;
32
- schema: "network.xyo.archivist.config";
33
- storage?: import("./Config.ts").ArchivistStorage;
34
- storeParentReads?: boolean;
35
- }, "schema"> & {
36
- schema: "network.xyo.archivist.config";
37
- }, "schema"> & {
38
- schema: string;
39
- };
71
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
72
+ schema: import("@xyo-network/payload-model").Schema;
73
+ parents?: {
74
+ commit?: Lowercase<string>[] | undefined;
75
+ read?: Lowercase<string>[] | undefined;
76
+ write?: Lowercase<string>[] | undefined;
77
+ } | undefined;
78
+ requireAllParents?: boolean | undefined;
79
+ storage?: {
80
+ indexes?: {
81
+ key: {
82
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
83
+ };
84
+ multiEntry?: boolean | undefined;
85
+ name?: string | undefined;
86
+ unique?: boolean | undefined;
87
+ }[] | undefined;
88
+ } | undefined;
89
+ storeParentReads?: boolean | undefined;
90
+ readonly archiving?: {
91
+ readonly archivists?: string[] | undefined;
92
+ readonly queries?: string[] | undefined;
93
+ } | undefined;
94
+ readonly allowedQueries?: string[] | undefined;
95
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
96
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
97
+ readonly labels?: {
98
+ [x: string]: string | undefined;
99
+ } | undefined;
100
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
101
+ readonly paging?: {
102
+ [x: string]: {
103
+ size?: number | undefined;
104
+ };
105
+ } | undefined;
106
+ readonly retry?: {
107
+ backoff?: number | undefined;
108
+ interval?: number | undefined;
109
+ retries?: number | undefined;
110
+ } | undefined;
111
+ readonly security?: {
112
+ readonly allowAnonymous?: boolean | undefined;
113
+ readonly allowed?: {
114
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
115
+ } | undefined;
116
+ readonly disallowed?: {
117
+ [x: string]: Lowercase<string>[];
118
+ } | undefined;
119
+ } | undefined;
120
+ readonly sign?: boolean | undefined;
121
+ readonly storeQueries?: boolean | undefined;
122
+ readonly timestamp?: boolean | undefined;
123
+ }>;
40
124
  ephemeralQueryAccountEnabled?: boolean;
41
125
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
42
126
  }, import("./EventData.ts").ArchivistModuleEventData>>;
@@ -46,17 +130,59 @@ export declare const asArchivistModule: {
46
130
  addToResolvers?: boolean;
47
131
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
48
132
  allowNameResolution?: boolean;
49
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
50
- parents?: import("./Config.ts").ArchivistParents;
51
- requireAllParents?: boolean;
52
- schema: "network.xyo.archivist.config";
53
- storage?: import("./Config.ts").ArchivistStorage;
54
- storeParentReads?: boolean;
55
- }, "schema"> & {
56
- schema: "network.xyo.archivist.config";
57
- }, "schema"> & {
58
- schema: string;
59
- };
133
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
134
+ schema: import("@xyo-network/payload-model").Schema;
135
+ parents?: {
136
+ commit?: Lowercase<string>[] | undefined;
137
+ read?: Lowercase<string>[] | undefined;
138
+ write?: Lowercase<string>[] | undefined;
139
+ } | undefined;
140
+ requireAllParents?: boolean | undefined;
141
+ storage?: {
142
+ indexes?: {
143
+ key: {
144
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
145
+ };
146
+ multiEntry?: boolean | undefined;
147
+ name?: string | undefined;
148
+ unique?: boolean | undefined;
149
+ }[] | undefined;
150
+ } | undefined;
151
+ storeParentReads?: boolean | undefined;
152
+ readonly archiving?: {
153
+ readonly archivists?: string[] | undefined;
154
+ readonly queries?: string[] | undefined;
155
+ } | undefined;
156
+ readonly allowedQueries?: string[] | undefined;
157
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
158
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
159
+ readonly labels?: {
160
+ [x: string]: string | undefined;
161
+ } | undefined;
162
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
163
+ readonly paging?: {
164
+ [x: string]: {
165
+ size?: number | undefined;
166
+ };
167
+ } | undefined;
168
+ readonly retry?: {
169
+ backoff?: number | undefined;
170
+ interval?: number | undefined;
171
+ retries?: number | undefined;
172
+ } | undefined;
173
+ readonly security?: {
174
+ readonly allowAnonymous?: boolean | undefined;
175
+ readonly allowed?: {
176
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
177
+ } | undefined;
178
+ readonly disallowed?: {
179
+ [x: string]: Lowercase<string>[];
180
+ } | undefined;
181
+ } | undefined;
182
+ readonly sign?: boolean | undefined;
183
+ readonly storeQueries?: boolean | undefined;
184
+ readonly timestamp?: boolean | undefined;
185
+ }>;
60
186
  ephemeralQueryAccountEnabled?: boolean;
61
187
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
62
188
  }, import("./EventData.ts").ArchivistModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
@@ -65,17 +191,59 @@ export declare const asArchivistModule: {
65
191
  addToResolvers?: boolean;
66
192
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
67
193
  allowNameResolution?: boolean;
68
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
69
- parents?: import("./Config.ts").ArchivistParents;
70
- requireAllParents?: boolean;
71
- schema: "network.xyo.archivist.config";
72
- storage?: import("./Config.ts").ArchivistStorage;
73
- storeParentReads?: boolean;
74
- }, "schema"> & {
75
- schema: "network.xyo.archivist.config";
76
- }, "schema"> & {
77
- schema: string;
78
- };
194
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
195
+ schema: import("@xyo-network/payload-model").Schema;
196
+ parents?: {
197
+ commit?: Lowercase<string>[] | undefined;
198
+ read?: Lowercase<string>[] | undefined;
199
+ write?: Lowercase<string>[] | undefined;
200
+ } | undefined;
201
+ requireAllParents?: boolean | undefined;
202
+ storage?: {
203
+ indexes?: {
204
+ key: {
205
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
206
+ };
207
+ multiEntry?: boolean | undefined;
208
+ name?: string | undefined;
209
+ unique?: boolean | undefined;
210
+ }[] | undefined;
211
+ } | undefined;
212
+ storeParentReads?: boolean | undefined;
213
+ readonly archiving?: {
214
+ readonly archivists?: string[] | undefined;
215
+ readonly queries?: string[] | undefined;
216
+ } | undefined;
217
+ readonly allowedQueries?: string[] | undefined;
218
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
219
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
220
+ readonly labels?: {
221
+ [x: string]: string | undefined;
222
+ } | undefined;
223
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
224
+ readonly paging?: {
225
+ [x: string]: {
226
+ size?: number | undefined;
227
+ };
228
+ } | undefined;
229
+ readonly retry?: {
230
+ backoff?: number | undefined;
231
+ interval?: number | undefined;
232
+ retries?: number | undefined;
233
+ } | undefined;
234
+ readonly security?: {
235
+ readonly allowAnonymous?: boolean | undefined;
236
+ readonly allowed?: {
237
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
238
+ } | undefined;
239
+ readonly disallowed?: {
240
+ [x: string]: Lowercase<string>[];
241
+ } | undefined;
242
+ } | undefined;
243
+ readonly sign?: boolean | undefined;
244
+ readonly storeQueries?: boolean | undefined;
245
+ readonly timestamp?: boolean | undefined;
246
+ }>;
79
247
  ephemeralQueryAccountEnabled?: boolean;
80
248
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
81
249
  }, import("./EventData.ts").ArchivistModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<ArchivistModule<import("@xylabs/object").BaseParamsFields & {
@@ -83,17 +251,59 @@ export declare const asArchivistModule: {
83
251
  addToResolvers?: boolean;
84
252
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
85
253
  allowNameResolution?: boolean;
86
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
87
- parents?: import("./Config.ts").ArchivistParents;
88
- requireAllParents?: boolean;
89
- schema: "network.xyo.archivist.config";
90
- storage?: import("./Config.ts").ArchivistStorage;
91
- storeParentReads?: boolean;
92
- }, "schema"> & {
93
- schema: "network.xyo.archivist.config";
94
- }, "schema"> & {
95
- schema: string;
96
- };
254
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
255
+ schema: import("@xyo-network/payload-model").Schema;
256
+ parents?: {
257
+ commit?: Lowercase<string>[] | undefined;
258
+ read?: Lowercase<string>[] | undefined;
259
+ write?: Lowercase<string>[] | undefined;
260
+ } | undefined;
261
+ requireAllParents?: boolean | undefined;
262
+ storage?: {
263
+ indexes?: {
264
+ key: {
265
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
266
+ };
267
+ multiEntry?: boolean | undefined;
268
+ name?: string | undefined;
269
+ unique?: boolean | undefined;
270
+ }[] | undefined;
271
+ } | undefined;
272
+ storeParentReads?: boolean | undefined;
273
+ readonly archiving?: {
274
+ readonly archivists?: string[] | undefined;
275
+ readonly queries?: string[] | undefined;
276
+ } | undefined;
277
+ readonly allowedQueries?: string[] | undefined;
278
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
279
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
280
+ readonly labels?: {
281
+ [x: string]: string | undefined;
282
+ } | undefined;
283
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
284
+ readonly paging?: {
285
+ [x: string]: {
286
+ size?: number | undefined;
287
+ };
288
+ } | undefined;
289
+ readonly retry?: {
290
+ backoff?: number | undefined;
291
+ interval?: number | undefined;
292
+ retries?: number | undefined;
293
+ } | undefined;
294
+ readonly security?: {
295
+ readonly allowAnonymous?: boolean | undefined;
296
+ readonly allowed?: {
297
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
298
+ } | undefined;
299
+ readonly disallowed?: {
300
+ [x: string]: Lowercase<string>[];
301
+ } | undefined;
302
+ } | undefined;
303
+ readonly sign?: boolean | undefined;
304
+ readonly storeQueries?: boolean | undefined;
305
+ readonly timestamp?: boolean | undefined;
306
+ }>;
97
307
  ephemeralQueryAccountEnabled?: boolean;
98
308
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
99
309
  }, import("./EventData.ts").ArchivistModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
@@ -104,80 +314,248 @@ export declare const asArchivistInstance: {
104
314
  addToResolvers?: boolean;
105
315
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
106
316
  allowNameResolution?: boolean;
107
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
108
- parents?: import("./Config.ts").ArchivistParents;
109
- requireAllParents?: boolean;
110
- schema: "network.xyo.archivist.config";
111
- storage?: import("./Config.ts").ArchivistStorage;
112
- storeParentReads?: boolean;
113
- }, "schema"> & {
114
- schema: "network.xyo.archivist.config";
115
- }, "schema"> & {
116
- schema: string;
117
- };
317
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
318
+ schema: import("@xyo-network/payload-model").Schema;
319
+ parents?: {
320
+ commit?: Lowercase<string>[] | undefined;
321
+ read?: Lowercase<string>[] | undefined;
322
+ write?: Lowercase<string>[] | undefined;
323
+ } | undefined;
324
+ requireAllParents?: boolean | undefined;
325
+ storage?: {
326
+ indexes?: {
327
+ key: {
328
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
329
+ };
330
+ multiEntry?: boolean | undefined;
331
+ name?: string | undefined;
332
+ unique?: boolean | undefined;
333
+ }[] | undefined;
334
+ } | undefined;
335
+ storeParentReads?: boolean | undefined;
336
+ readonly archiving?: {
337
+ readonly archivists?: string[] | undefined;
338
+ readonly queries?: string[] | undefined;
339
+ } | undefined;
340
+ readonly allowedQueries?: string[] | undefined;
341
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
342
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
343
+ readonly labels?: {
344
+ [x: string]: string | undefined;
345
+ } | undefined;
346
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
347
+ readonly paging?: {
348
+ [x: string]: {
349
+ size?: number | undefined;
350
+ };
351
+ } | undefined;
352
+ readonly retry?: {
353
+ backoff?: number | undefined;
354
+ interval?: number | undefined;
355
+ retries?: number | undefined;
356
+ } | undefined;
357
+ readonly security?: {
358
+ readonly allowAnonymous?: boolean | undefined;
359
+ readonly allowed?: {
360
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
361
+ } | undefined;
362
+ readonly disallowed?: {
363
+ [x: string]: Lowercase<string>[];
364
+ } | undefined;
365
+ } | undefined;
366
+ readonly sign?: boolean | undefined;
367
+ readonly storeQueries?: boolean | undefined;
368
+ readonly timestamp?: boolean | undefined;
369
+ }>;
118
370
  ephemeralQueryAccountEnabled?: boolean;
119
371
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
120
- }, import("./EventData.ts").ArchivistModuleEventData, {
121
- schema: string;
122
- } & import("@xyo-network/payload-model").PayloadFields>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
372
+ }, import("./EventData.ts").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
373
+ schema: import("@xyo-network/payload-model").Schema;
374
+ }>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
123
375
  <TType extends ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
124
376
  account?: import("@xyo-network/account-model").AccountInstance | "random";
125
377
  addToResolvers?: boolean;
126
378
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
127
379
  allowNameResolution?: boolean;
128
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
129
- parents?: import("./Config.ts").ArchivistParents;
130
- requireAllParents?: boolean;
131
- schema: "network.xyo.archivist.config";
132
- storage?: import("./Config.ts").ArchivistStorage;
133
- storeParentReads?: boolean;
134
- }, "schema"> & {
135
- schema: "network.xyo.archivist.config";
136
- }, "schema"> & {
137
- schema: string;
138
- };
380
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
381
+ schema: import("@xyo-network/payload-model").Schema;
382
+ parents?: {
383
+ commit?: Lowercase<string>[] | undefined;
384
+ read?: Lowercase<string>[] | undefined;
385
+ write?: Lowercase<string>[] | undefined;
386
+ } | undefined;
387
+ requireAllParents?: boolean | undefined;
388
+ storage?: {
389
+ indexes?: {
390
+ key: {
391
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
392
+ };
393
+ multiEntry?: boolean | undefined;
394
+ name?: string | undefined;
395
+ unique?: boolean | undefined;
396
+ }[] | undefined;
397
+ } | undefined;
398
+ storeParentReads?: boolean | undefined;
399
+ readonly archiving?: {
400
+ readonly archivists?: string[] | undefined;
401
+ readonly queries?: string[] | undefined;
402
+ } | undefined;
403
+ readonly allowedQueries?: string[] | undefined;
404
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
405
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
406
+ readonly labels?: {
407
+ [x: string]: string | undefined;
408
+ } | undefined;
409
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
410
+ readonly paging?: {
411
+ [x: string]: {
412
+ size?: number | undefined;
413
+ };
414
+ } | undefined;
415
+ readonly retry?: {
416
+ backoff?: number | undefined;
417
+ interval?: number | undefined;
418
+ retries?: number | undefined;
419
+ } | undefined;
420
+ readonly security?: {
421
+ readonly allowAnonymous?: boolean | undefined;
422
+ readonly allowed?: {
423
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
424
+ } | undefined;
425
+ readonly disallowed?: {
426
+ [x: string]: Lowercase<string>[];
427
+ } | undefined;
428
+ } | undefined;
429
+ readonly sign?: boolean | undefined;
430
+ readonly storeQueries?: boolean | undefined;
431
+ readonly timestamp?: boolean | undefined;
432
+ }>;
139
433
  ephemeralQueryAccountEnabled?: boolean;
140
434
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
141
- }, import("./EventData.ts").ArchivistModuleEventData, {
142
- schema: string;
143
- } & import("@xyo-network/payload-model").PayloadFields>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
435
+ }, import("./EventData.ts").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
436
+ schema: import("@xyo-network/payload-model").Schema;
437
+ }>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
144
438
  account?: import("@xyo-network/account-model").AccountInstance | "random";
145
439
  addToResolvers?: boolean;
146
440
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
147
441
  allowNameResolution?: boolean;
148
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
149
- parents?: import("./Config.ts").ArchivistParents;
150
- requireAllParents?: boolean;
151
- schema: "network.xyo.archivist.config";
152
- storage?: import("./Config.ts").ArchivistStorage;
153
- storeParentReads?: boolean;
154
- }, "schema"> & {
155
- schema: "network.xyo.archivist.config";
156
- }, "schema"> & {
157
- schema: string;
158
- };
442
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
443
+ schema: import("@xyo-network/payload-model").Schema;
444
+ parents?: {
445
+ commit?: Lowercase<string>[] | undefined;
446
+ read?: Lowercase<string>[] | undefined;
447
+ write?: Lowercase<string>[] | undefined;
448
+ } | undefined;
449
+ requireAllParents?: boolean | undefined;
450
+ storage?: {
451
+ indexes?: {
452
+ key: {
453
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
454
+ };
455
+ multiEntry?: boolean | undefined;
456
+ name?: string | undefined;
457
+ unique?: boolean | undefined;
458
+ }[] | undefined;
459
+ } | undefined;
460
+ storeParentReads?: boolean | undefined;
461
+ readonly archiving?: {
462
+ readonly archivists?: string[] | undefined;
463
+ readonly queries?: string[] | undefined;
464
+ } | undefined;
465
+ readonly allowedQueries?: string[] | undefined;
466
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
467
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
468
+ readonly labels?: {
469
+ [x: string]: string | undefined;
470
+ } | undefined;
471
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
472
+ readonly paging?: {
473
+ [x: string]: {
474
+ size?: number | undefined;
475
+ };
476
+ } | undefined;
477
+ readonly retry?: {
478
+ backoff?: number | undefined;
479
+ interval?: number | undefined;
480
+ retries?: number | undefined;
481
+ } | undefined;
482
+ readonly security?: {
483
+ readonly allowAnonymous?: boolean | undefined;
484
+ readonly allowed?: {
485
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
486
+ } | undefined;
487
+ readonly disallowed?: {
488
+ [x: string]: Lowercase<string>[];
489
+ } | undefined;
490
+ } | undefined;
491
+ readonly sign?: boolean | undefined;
492
+ readonly storeQueries?: boolean | undefined;
493
+ readonly timestamp?: boolean | undefined;
494
+ }>;
159
495
  ephemeralQueryAccountEnabled?: boolean;
160
496
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
161
- }, import("./EventData.ts").ArchivistModuleEventData, {
162
- schema: string;
163
- } & import("@xyo-network/payload-model").PayloadFields>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
497
+ }, import("./EventData.ts").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
498
+ schema: import("@xyo-network/payload-model").Schema;
499
+ }>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
164
500
  };
165
501
  export declare const withArchivistModule: <R>(mod: any, closure: (mod: ArchivistModule<import("@xylabs/object").BaseParamsFields & {
166
502
  account?: import("@xyo-network/account-model").AccountInstance | "random";
167
503
  addToResolvers?: boolean;
168
504
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
169
505
  allowNameResolution?: boolean;
170
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
171
- parents?: import("./Config.ts").ArchivistParents;
172
- requireAllParents?: boolean;
173
- schema: "network.xyo.archivist.config";
174
- storage?: import("./Config.ts").ArchivistStorage;
175
- storeParentReads?: boolean;
176
- }, "schema"> & {
177
- schema: "network.xyo.archivist.config";
178
- }, "schema"> & {
179
- schema: string;
180
- };
506
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
507
+ schema: import("@xyo-network/payload-model").Schema;
508
+ parents?: {
509
+ commit?: Lowercase<string>[] | undefined;
510
+ read?: Lowercase<string>[] | undefined;
511
+ write?: Lowercase<string>[] | undefined;
512
+ } | undefined;
513
+ requireAllParents?: boolean | undefined;
514
+ storage?: {
515
+ indexes?: {
516
+ key: {
517
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
518
+ };
519
+ multiEntry?: boolean | undefined;
520
+ name?: string | undefined;
521
+ unique?: boolean | undefined;
522
+ }[] | undefined;
523
+ } | undefined;
524
+ storeParentReads?: boolean | undefined;
525
+ readonly archiving?: {
526
+ readonly archivists?: string[] | undefined;
527
+ readonly queries?: string[] | undefined;
528
+ } | undefined;
529
+ readonly allowedQueries?: string[] | undefined;
530
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
531
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
532
+ readonly labels?: {
533
+ [x: string]: string | undefined;
534
+ } | undefined;
535
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
536
+ readonly paging?: {
537
+ [x: string]: {
538
+ size?: number | undefined;
539
+ };
540
+ } | undefined;
541
+ readonly retry?: {
542
+ backoff?: number | undefined;
543
+ interval?: number | undefined;
544
+ retries?: number | undefined;
545
+ } | undefined;
546
+ readonly security?: {
547
+ readonly allowAnonymous?: boolean | undefined;
548
+ readonly allowed?: {
549
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
550
+ } | undefined;
551
+ readonly disallowed?: {
552
+ [x: string]: Lowercase<string>[];
553
+ } | undefined;
554
+ } | undefined;
555
+ readonly sign?: boolean | undefined;
556
+ readonly storeQueries?: boolean | undefined;
557
+ readonly timestamp?: boolean | undefined;
558
+ }>;
181
559
  ephemeralQueryAccountEnabled?: boolean;
182
560
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
183
561
  }, import("./EventData.ts").ArchivistModuleEventData>) => R) => R | undefined;
@@ -186,20 +564,62 @@ export declare const withArchivistInstance: <R>(mod: any, closure: (mod: Archivi
186
564
  addToResolvers?: boolean;
187
565
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
188
566
  allowNameResolution?: boolean;
189
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
190
- parents?: import("./Config.ts").ArchivistParents;
191
- requireAllParents?: boolean;
192
- schema: "network.xyo.archivist.config";
193
- storage?: import("./Config.ts").ArchivistStorage;
194
- storeParentReads?: boolean;
195
- }, "schema"> & {
196
- schema: "network.xyo.archivist.config";
197
- }, "schema"> & {
198
- schema: string;
199
- };
567
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
568
+ schema: import("@xyo-network/payload-model").Schema;
569
+ parents?: {
570
+ commit?: Lowercase<string>[] | undefined;
571
+ read?: Lowercase<string>[] | undefined;
572
+ write?: Lowercase<string>[] | undefined;
573
+ } | undefined;
574
+ requireAllParents?: boolean | undefined;
575
+ storage?: {
576
+ indexes?: {
577
+ key: {
578
+ [x: string]: import("./IndexDescription.ts").IndexDirection;
579
+ };
580
+ multiEntry?: boolean | undefined;
581
+ name?: string | undefined;
582
+ unique?: boolean | undefined;
583
+ }[] | undefined;
584
+ } | undefined;
585
+ storeParentReads?: boolean | undefined;
586
+ readonly archiving?: {
587
+ readonly archivists?: string[] | undefined;
588
+ readonly queries?: string[] | undefined;
589
+ } | undefined;
590
+ readonly allowedQueries?: string[] | undefined;
591
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
592
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
593
+ readonly labels?: {
594
+ [x: string]: string | undefined;
595
+ } | undefined;
596
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
597
+ readonly paging?: {
598
+ [x: string]: {
599
+ size?: number | undefined;
600
+ };
601
+ } | undefined;
602
+ readonly retry?: {
603
+ backoff?: number | undefined;
604
+ interval?: number | undefined;
605
+ retries?: number | undefined;
606
+ } | undefined;
607
+ readonly security?: {
608
+ readonly allowAnonymous?: boolean | undefined;
609
+ readonly allowed?: {
610
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
611
+ } | undefined;
612
+ readonly disallowed?: {
613
+ [x: string]: Lowercase<string>[];
614
+ } | undefined;
615
+ } | undefined;
616
+ readonly sign?: boolean | undefined;
617
+ readonly storeQueries?: boolean | undefined;
618
+ readonly timestamp?: boolean | undefined;
619
+ }>;
200
620
  ephemeralQueryAccountEnabled?: boolean;
201
621
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
202
- }, import("./EventData.ts").ArchivistModuleEventData, {
203
- schema: string;
204
- } & import("@xyo-network/payload-model").PayloadFields>) => R) => R | undefined;
622
+ }, import("./EventData.ts").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
623
+ schema: import("@xyo-network/payload-model").Schema;
624
+ }>>) => R) => R | undefined;
205
625
  //# sourceMappingURL=typeChecks.d.ts.map