@xyo-network/archivist-model 3.6.0-rc.1 → 3.6.0-rc.10
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/neutral/IndexDescription.d.ts +1 -3
- package/dist/neutral/IndexDescription.d.ts.map +1 -1
- package/dist/neutral/NextOptions.d.ts +3 -3
- package/dist/neutral/NextOptions.d.ts.map +1 -1
- package/dist/neutral/QueryFunctions.d.ts +2 -2
- package/dist/neutral/QueryFunctions.d.ts.map +1 -1
- package/dist/neutral/StorageMeta.d.ts +18 -0
- package/dist/neutral/StorageMeta.d.ts.map +1 -0
- package/dist/neutral/attachable/asAttachableInstance.d.ts +168 -42
- package/dist/neutral/attachable/asAttachableInstance.d.ts.map +1 -1
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/typeChecks.d.ts +545 -125
- package/dist/neutral/typeChecks.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/IndexDescription.ts +1 -5
- package/src/NextOptions.ts +3 -3
- package/src/QueryFunctions.ts +3 -3
- package/src/StorageMeta.ts +37 -0
|
@@ -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("@
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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:
|
|
23
|
-
}
|
|
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("@
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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("@
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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("@
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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("@
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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("@
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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:
|
|
122
|
-
}
|
|
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("@
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
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:
|
|
143
|
-
}
|
|
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("@
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
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:
|
|
163
|
-
}
|
|
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("@
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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("@
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
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:
|
|
204
|
-
}
|
|
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
|