@xyo-network/react-standard-node 4.4.5 → 4.4.6
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/index.d.ts +42 -875
- package/package.json +26 -26
package/dist/browser/index.d.ts
CHANGED
|
@@ -10,15 +10,14 @@ import * as _xyo_network_sentinel_memory from '@xyo-network/sentinel-memory';
|
|
|
10
10
|
import { MemorySentinel } from '@xyo-network/sentinel-memory';
|
|
11
11
|
import * as _xyo_network_sentinel_model from '@xyo-network/sentinel-model';
|
|
12
12
|
import { SentinelConfig } from '@xyo-network/sentinel-model';
|
|
13
|
-
import * as _xyo_network_node_model from '@xyo-network/node-model';
|
|
14
|
-
import * as _xylabs_logger from '@xylabs/logger';
|
|
15
13
|
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
16
14
|
import { AttachableModuleInstance } from '@xyo-network/module-model';
|
|
17
|
-
import * as
|
|
15
|
+
import * as _xyo_network_node_model from '@xyo-network/node-model';
|
|
18
16
|
import * as _xylabs_object from '@xylabs/object';
|
|
19
17
|
import { AccountInstance } from '@xyo-network/account-model';
|
|
20
18
|
import { PayloadSetPluginResolver } from '@xyo-network/payloadset-plugin';
|
|
21
19
|
import { AttachableWitnessInstance } from '@xyo-network/witness-model';
|
|
20
|
+
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
22
21
|
import * as _xyo_network_archivist_model from '@xyo-network/archivist-model';
|
|
23
22
|
import { StorageArchivist, StorageArchivistConfig } from '@xyo-network/archivist-storage';
|
|
24
23
|
|
|
@@ -56,44 +55,11 @@ declare class MemoryNodeBuilder {
|
|
|
56
55
|
addToResolvers?: boolean;
|
|
57
56
|
additionalSigners?: AccountInstance[];
|
|
58
57
|
allowNameResolution?: boolean;
|
|
59
|
-
config:
|
|
60
|
-
schema: _xyo_network_payload_model.Schema;
|
|
61
|
-
readonly archiving?: {
|
|
62
|
-
readonly archivists?: string[] | undefined;
|
|
63
|
-
readonly queries?: string[] | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
readonly allowedQueries?: string[] | undefined;
|
|
66
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
67
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
68
|
-
readonly labels?: {
|
|
69
|
-
[x: string]: string | undefined;
|
|
70
|
-
} | undefined;
|
|
71
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
72
|
-
readonly paging?: {
|
|
73
|
-
[x: string]: {
|
|
74
|
-
size?: number | undefined;
|
|
75
|
-
};
|
|
76
|
-
} | undefined;
|
|
77
|
-
readonly retry?: {
|
|
78
|
-
backoff?: number | undefined;
|
|
79
|
-
interval?: number | undefined;
|
|
80
|
-
retries?: number | undefined;
|
|
81
|
-
} | undefined;
|
|
82
|
-
readonly security?: {
|
|
83
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
84
|
-
readonly allowed?: {
|
|
85
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
86
|
-
} | undefined;
|
|
87
|
-
readonly disallowed?: {
|
|
88
|
-
[x: string]: Lowercase<string>[];
|
|
89
|
-
} | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
readonly sign?: boolean | undefined;
|
|
92
|
-
readonly storeQueries?: boolean | undefined;
|
|
93
|
-
readonly timestamp?: boolean | undefined;
|
|
94
|
-
}>;
|
|
58
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_node_model.NodeConfig>;
|
|
95
59
|
ephemeralQueryAccountEnabled?: boolean;
|
|
96
60
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
61
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
62
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
97
63
|
}, _xyo_network_node_model.NodeModuleEventData>;
|
|
98
64
|
static create({ name, node }: MemoryNodeBuilderConfig, account?: AccountInstance): Promise<MemoryNodeBuilder>;
|
|
99
65
|
addArchivist(account: AccountInstance, moduleName?: string, namespace?: string): Promise<void>;
|
|
@@ -105,244 +71,31 @@ declare class MemoryNodeBuilder {
|
|
|
105
71
|
addToResolvers?: boolean;
|
|
106
72
|
additionalSigners?: AccountInstance[];
|
|
107
73
|
allowNameResolution?: boolean;
|
|
108
|
-
config:
|
|
109
|
-
schema: _xyo_network_payload_model.Schema;
|
|
110
|
-
readonly archiving?: {
|
|
111
|
-
readonly archivists?: string[] | undefined;
|
|
112
|
-
readonly queries?: string[] | undefined;
|
|
113
|
-
} | undefined;
|
|
114
|
-
readonly allowedQueries?: string[] | undefined;
|
|
115
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
116
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
117
|
-
readonly labels?: {
|
|
118
|
-
[x: string]: string | undefined;
|
|
119
|
-
} | undefined;
|
|
120
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
121
|
-
readonly paging?: {
|
|
122
|
-
[x: string]: {
|
|
123
|
-
size?: number | undefined;
|
|
124
|
-
};
|
|
125
|
-
} | undefined;
|
|
126
|
-
readonly retry?: {
|
|
127
|
-
backoff?: number | undefined;
|
|
128
|
-
interval?: number | undefined;
|
|
129
|
-
retries?: number | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
readonly security?: {
|
|
132
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
133
|
-
readonly allowed?: {
|
|
134
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
135
|
-
} | undefined;
|
|
136
|
-
readonly disallowed?: {
|
|
137
|
-
[x: string]: Lowercase<string>[];
|
|
138
|
-
} | undefined;
|
|
139
|
-
} | undefined;
|
|
140
|
-
readonly sign?: boolean | undefined;
|
|
141
|
-
readonly storeQueries?: boolean | undefined;
|
|
142
|
-
readonly timestamp?: boolean | undefined;
|
|
143
|
-
automations?: ({
|
|
144
|
-
schema: "network.xyo.automation.interval";
|
|
145
|
-
type: "interval";
|
|
146
|
-
end?: number | undefined;
|
|
147
|
-
frequency?: number | undefined;
|
|
148
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
149
|
-
remaining?: number | undefined;
|
|
150
|
-
start: number;
|
|
151
|
-
} | {
|
|
152
|
-
schema: "network.xyo.automation.event";
|
|
153
|
-
type: "interval";
|
|
154
|
-
end?: number | undefined;
|
|
155
|
-
frequency?: number | undefined;
|
|
156
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
157
|
-
remaining?: number | undefined;
|
|
158
|
-
start: number;
|
|
159
|
-
} | {
|
|
160
|
-
schema: "network.xyo.automation";
|
|
161
|
-
type: "interval";
|
|
162
|
-
end?: number | undefined;
|
|
163
|
-
frequency?: number | undefined;
|
|
164
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
165
|
-
remaining?: number | undefined;
|
|
166
|
-
start: number;
|
|
167
|
-
} | {
|
|
168
|
-
schema: "network.xyo.automation.interval";
|
|
169
|
-
type: "event";
|
|
170
|
-
} | {
|
|
171
|
-
schema: "network.xyo.automation.event";
|
|
172
|
-
type: "event";
|
|
173
|
-
} | {
|
|
174
|
-
schema: "network.xyo.automation";
|
|
175
|
-
type: "event";
|
|
176
|
-
})[] | undefined;
|
|
177
|
-
synchronous?: boolean | undefined;
|
|
178
|
-
tasks: ({
|
|
179
|
-
endPoint?: "observe" | undefined;
|
|
180
|
-
input?: string | boolean | string[] | undefined;
|
|
181
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
182
|
-
required?: boolean | undefined;
|
|
183
|
-
} | {
|
|
184
|
-
endPoint?: "divine" | undefined;
|
|
185
|
-
input?: string | boolean | string[] | undefined;
|
|
186
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
187
|
-
required?: boolean | undefined;
|
|
188
|
-
} | {
|
|
189
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
190
|
-
input?: string | boolean | string[] | undefined;
|
|
191
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
192
|
-
required?: boolean | undefined;
|
|
193
|
-
} | {
|
|
194
|
-
endPoint?: string | undefined;
|
|
195
|
-
input?: string | boolean | string[] | undefined;
|
|
196
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
197
|
-
required?: boolean | undefined;
|
|
198
|
-
})[];
|
|
199
|
-
throwErrors?: boolean | undefined;
|
|
200
|
-
}>;
|
|
74
|
+
config: _xyo_network_module_model.AnyConfigSchema<SentinelConfig>;
|
|
201
75
|
ephemeralQueryAccountEnabled?: boolean;
|
|
202
76
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
77
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
78
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
203
79
|
}, _xyo_network_sentinel_model.SentinelModuleEventData<_xyo_network_sentinel_model.SentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
204
80
|
account?: AccountInstance | "random";
|
|
205
81
|
addToResolvers?: boolean;
|
|
206
82
|
additionalSigners?: AccountInstance[];
|
|
207
83
|
allowNameResolution?: boolean;
|
|
208
|
-
config:
|
|
209
|
-
schema: _xyo_network_payload_model.Schema;
|
|
210
|
-
readonly archiving?: {
|
|
211
|
-
readonly archivists?: string[] | undefined;
|
|
212
|
-
readonly queries?: string[] | undefined;
|
|
213
|
-
} | undefined;
|
|
214
|
-
readonly allowedQueries?: string[] | undefined;
|
|
215
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
216
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
217
|
-
readonly labels?: {
|
|
218
|
-
[x: string]: string | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
221
|
-
readonly paging?: {
|
|
222
|
-
[x: string]: {
|
|
223
|
-
size?: number | undefined;
|
|
224
|
-
};
|
|
225
|
-
} | undefined;
|
|
226
|
-
readonly retry?: {
|
|
227
|
-
backoff?: number | undefined;
|
|
228
|
-
interval?: number | undefined;
|
|
229
|
-
retries?: number | undefined;
|
|
230
|
-
} | undefined;
|
|
231
|
-
readonly security?: {
|
|
232
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
233
|
-
readonly allowed?: {
|
|
234
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
235
|
-
} | undefined;
|
|
236
|
-
readonly disallowed?: {
|
|
237
|
-
[x: string]: Lowercase<string>[];
|
|
238
|
-
} | undefined;
|
|
239
|
-
} | undefined;
|
|
240
|
-
readonly sign?: boolean | undefined;
|
|
241
|
-
readonly storeQueries?: boolean | undefined;
|
|
242
|
-
readonly timestamp?: boolean | undefined;
|
|
243
|
-
automations?: ({
|
|
244
|
-
schema: "network.xyo.automation.interval";
|
|
245
|
-
type: "interval";
|
|
246
|
-
end?: number | undefined;
|
|
247
|
-
frequency?: number | undefined;
|
|
248
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
249
|
-
remaining?: number | undefined;
|
|
250
|
-
start: number;
|
|
251
|
-
} | {
|
|
252
|
-
schema: "network.xyo.automation.event";
|
|
253
|
-
type: "interval";
|
|
254
|
-
end?: number | undefined;
|
|
255
|
-
frequency?: number | undefined;
|
|
256
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
257
|
-
remaining?: number | undefined;
|
|
258
|
-
start: number;
|
|
259
|
-
} | {
|
|
260
|
-
schema: "network.xyo.automation";
|
|
261
|
-
type: "interval";
|
|
262
|
-
end?: number | undefined;
|
|
263
|
-
frequency?: number | undefined;
|
|
264
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
265
|
-
remaining?: number | undefined;
|
|
266
|
-
start: number;
|
|
267
|
-
} | {
|
|
268
|
-
schema: "network.xyo.automation.interval";
|
|
269
|
-
type: "event";
|
|
270
|
-
} | {
|
|
271
|
-
schema: "network.xyo.automation.event";
|
|
272
|
-
type: "event";
|
|
273
|
-
} | {
|
|
274
|
-
schema: "network.xyo.automation";
|
|
275
|
-
type: "event";
|
|
276
|
-
})[] | undefined;
|
|
277
|
-
synchronous?: boolean | undefined;
|
|
278
|
-
tasks: ({
|
|
279
|
-
endPoint?: "observe" | undefined;
|
|
280
|
-
input?: string | boolean | string[] | undefined;
|
|
281
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
282
|
-
required?: boolean | undefined;
|
|
283
|
-
} | {
|
|
284
|
-
endPoint?: "divine" | undefined;
|
|
285
|
-
input?: string | boolean | string[] | undefined;
|
|
286
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
287
|
-
required?: boolean | undefined;
|
|
288
|
-
} | {
|
|
289
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
290
|
-
input?: string | boolean | string[] | undefined;
|
|
291
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
292
|
-
required?: boolean | undefined;
|
|
293
|
-
} | {
|
|
294
|
-
endPoint?: string | undefined;
|
|
295
|
-
input?: string | boolean | string[] | undefined;
|
|
296
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
297
|
-
required?: boolean | undefined;
|
|
298
|
-
})[];
|
|
299
|
-
throwErrors?: boolean | undefined;
|
|
300
|
-
}>;
|
|
84
|
+
config: _xyo_network_module_model.AnyConfigSchema<SentinelConfig>;
|
|
301
85
|
ephemeralQueryAccountEnabled?: boolean;
|
|
302
86
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
87
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
88
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
303
89
|
}, _xyo_network_sentinel_model.SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
304
90
|
account?: AccountInstance | "random";
|
|
305
91
|
addToResolvers?: boolean;
|
|
306
92
|
additionalSigners?: AccountInstance[];
|
|
307
93
|
allowNameResolution?: boolean;
|
|
308
|
-
config:
|
|
309
|
-
schema: _xyo_network_payload_model.Schema;
|
|
310
|
-
readonly archiving?: {
|
|
311
|
-
readonly archivists?: string[] | undefined;
|
|
312
|
-
readonly queries?: string[] | undefined;
|
|
313
|
-
} | undefined;
|
|
314
|
-
readonly allowedQueries?: string[] | undefined;
|
|
315
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
316
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
317
|
-
readonly labels?: {
|
|
318
|
-
[x: string]: string | undefined;
|
|
319
|
-
} | undefined;
|
|
320
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
321
|
-
readonly paging?: {
|
|
322
|
-
[x: string]: {
|
|
323
|
-
size?: number | undefined;
|
|
324
|
-
};
|
|
325
|
-
} | undefined;
|
|
326
|
-
readonly retry?: {
|
|
327
|
-
backoff?: number | undefined;
|
|
328
|
-
interval?: number | undefined;
|
|
329
|
-
retries?: number | undefined;
|
|
330
|
-
} | undefined;
|
|
331
|
-
readonly security?: {
|
|
332
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
333
|
-
readonly allowed?: {
|
|
334
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
335
|
-
} | undefined;
|
|
336
|
-
readonly disallowed?: {
|
|
337
|
-
[x: string]: Lowercase<string>[];
|
|
338
|
-
} | undefined;
|
|
339
|
-
} | undefined;
|
|
340
|
-
readonly sign?: boolean | undefined;
|
|
341
|
-
readonly storeQueries?: boolean | undefined;
|
|
342
|
-
readonly timestamp?: boolean | undefined;
|
|
343
|
-
}>;
|
|
94
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
|
|
344
95
|
ephemeralQueryAccountEnabled?: boolean;
|
|
345
96
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
97
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
98
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
346
99
|
}, _xyo_network_module_model.ModuleEventData<object>>>>>>>;
|
|
347
100
|
addWitnesses(pluginSetResolver: PayloadSetPluginResolver, witnesses?: (() => Promise<AttachableWitnessInstance>)[]): Promise<void>;
|
|
348
101
|
attach(mod: AttachableModuleInstance, external?: boolean, safeAttach?: boolean): Promise<void>;
|
|
@@ -359,244 +112,31 @@ declare class SentinelBuilder {
|
|
|
359
112
|
addToResolvers?: boolean;
|
|
360
113
|
additionalSigners?: AccountInstance[];
|
|
361
114
|
allowNameResolution?: boolean;
|
|
362
|
-
config:
|
|
363
|
-
schema: _xyo_network_payload_model.Schema;
|
|
364
|
-
readonly archiving?: {
|
|
365
|
-
readonly archivists?: string[] | undefined;
|
|
366
|
-
readonly queries?: string[] | undefined;
|
|
367
|
-
} | undefined;
|
|
368
|
-
readonly allowedQueries?: string[] | undefined;
|
|
369
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
370
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
371
|
-
readonly labels?: {
|
|
372
|
-
[x: string]: string | undefined;
|
|
373
|
-
} | undefined;
|
|
374
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
375
|
-
readonly paging?: {
|
|
376
|
-
[x: string]: {
|
|
377
|
-
size?: number | undefined;
|
|
378
|
-
};
|
|
379
|
-
} | undefined;
|
|
380
|
-
readonly retry?: {
|
|
381
|
-
backoff?: number | undefined;
|
|
382
|
-
interval?: number | undefined;
|
|
383
|
-
retries?: number | undefined;
|
|
384
|
-
} | undefined;
|
|
385
|
-
readonly security?: {
|
|
386
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
387
|
-
readonly allowed?: {
|
|
388
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
389
|
-
} | undefined;
|
|
390
|
-
readonly disallowed?: {
|
|
391
|
-
[x: string]: Lowercase<string>[];
|
|
392
|
-
} | undefined;
|
|
393
|
-
} | undefined;
|
|
394
|
-
readonly sign?: boolean | undefined;
|
|
395
|
-
readonly storeQueries?: boolean | undefined;
|
|
396
|
-
readonly timestamp?: boolean | undefined;
|
|
397
|
-
automations?: ({
|
|
398
|
-
schema: "network.xyo.automation.interval";
|
|
399
|
-
type: "interval";
|
|
400
|
-
end?: number | undefined;
|
|
401
|
-
frequency?: number | undefined;
|
|
402
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
403
|
-
remaining?: number | undefined;
|
|
404
|
-
start: number;
|
|
405
|
-
} | {
|
|
406
|
-
schema: "network.xyo.automation.event";
|
|
407
|
-
type: "interval";
|
|
408
|
-
end?: number | undefined;
|
|
409
|
-
frequency?: number | undefined;
|
|
410
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
411
|
-
remaining?: number | undefined;
|
|
412
|
-
start: number;
|
|
413
|
-
} | {
|
|
414
|
-
schema: "network.xyo.automation";
|
|
415
|
-
type: "interval";
|
|
416
|
-
end?: number | undefined;
|
|
417
|
-
frequency?: number | undefined;
|
|
418
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
419
|
-
remaining?: number | undefined;
|
|
420
|
-
start: number;
|
|
421
|
-
} | {
|
|
422
|
-
schema: "network.xyo.automation.interval";
|
|
423
|
-
type: "event";
|
|
424
|
-
} | {
|
|
425
|
-
schema: "network.xyo.automation.event";
|
|
426
|
-
type: "event";
|
|
427
|
-
} | {
|
|
428
|
-
schema: "network.xyo.automation";
|
|
429
|
-
type: "event";
|
|
430
|
-
})[] | undefined;
|
|
431
|
-
synchronous?: boolean | undefined;
|
|
432
|
-
tasks: ({
|
|
433
|
-
endPoint?: "observe" | undefined;
|
|
434
|
-
input?: string | boolean | string[] | undefined;
|
|
435
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
436
|
-
required?: boolean | undefined;
|
|
437
|
-
} | {
|
|
438
|
-
endPoint?: "divine" | undefined;
|
|
439
|
-
input?: string | boolean | string[] | undefined;
|
|
440
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
441
|
-
required?: boolean | undefined;
|
|
442
|
-
} | {
|
|
443
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
444
|
-
input?: string | boolean | string[] | undefined;
|
|
445
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
446
|
-
required?: boolean | undefined;
|
|
447
|
-
} | {
|
|
448
|
-
endPoint?: string | undefined;
|
|
449
|
-
input?: string | boolean | string[] | undefined;
|
|
450
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
451
|
-
required?: boolean | undefined;
|
|
452
|
-
})[];
|
|
453
|
-
throwErrors?: boolean | undefined;
|
|
454
|
-
}>;
|
|
115
|
+
config: _xyo_network_module_model.AnyConfigSchema<SentinelConfig>;
|
|
455
116
|
ephemeralQueryAccountEnabled?: boolean;
|
|
456
117
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
118
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
119
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
457
120
|
}, _xyo_network_sentinel_model.SentinelModuleEventData<_xyo_network_sentinel_model.SentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
458
121
|
account?: AccountInstance | "random";
|
|
459
122
|
addToResolvers?: boolean;
|
|
460
123
|
additionalSigners?: AccountInstance[];
|
|
461
124
|
allowNameResolution?: boolean;
|
|
462
|
-
config:
|
|
463
|
-
schema: _xyo_network_payload_model.Schema;
|
|
464
|
-
readonly archiving?: {
|
|
465
|
-
readonly archivists?: string[] | undefined;
|
|
466
|
-
readonly queries?: string[] | undefined;
|
|
467
|
-
} | undefined;
|
|
468
|
-
readonly allowedQueries?: string[] | undefined;
|
|
469
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
470
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
471
|
-
readonly labels?: {
|
|
472
|
-
[x: string]: string | undefined;
|
|
473
|
-
} | undefined;
|
|
474
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
475
|
-
readonly paging?: {
|
|
476
|
-
[x: string]: {
|
|
477
|
-
size?: number | undefined;
|
|
478
|
-
};
|
|
479
|
-
} | undefined;
|
|
480
|
-
readonly retry?: {
|
|
481
|
-
backoff?: number | undefined;
|
|
482
|
-
interval?: number | undefined;
|
|
483
|
-
retries?: number | undefined;
|
|
484
|
-
} | undefined;
|
|
485
|
-
readonly security?: {
|
|
486
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
487
|
-
readonly allowed?: {
|
|
488
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
489
|
-
} | undefined;
|
|
490
|
-
readonly disallowed?: {
|
|
491
|
-
[x: string]: Lowercase<string>[];
|
|
492
|
-
} | undefined;
|
|
493
|
-
} | undefined;
|
|
494
|
-
readonly sign?: boolean | undefined;
|
|
495
|
-
readonly storeQueries?: boolean | undefined;
|
|
496
|
-
readonly timestamp?: boolean | undefined;
|
|
497
|
-
automations?: ({
|
|
498
|
-
schema: "network.xyo.automation.interval";
|
|
499
|
-
type: "interval";
|
|
500
|
-
end?: number | undefined;
|
|
501
|
-
frequency?: number | undefined;
|
|
502
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
503
|
-
remaining?: number | undefined;
|
|
504
|
-
start: number;
|
|
505
|
-
} | {
|
|
506
|
-
schema: "network.xyo.automation.event";
|
|
507
|
-
type: "interval";
|
|
508
|
-
end?: number | undefined;
|
|
509
|
-
frequency?: number | undefined;
|
|
510
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
511
|
-
remaining?: number | undefined;
|
|
512
|
-
start: number;
|
|
513
|
-
} | {
|
|
514
|
-
schema: "network.xyo.automation";
|
|
515
|
-
type: "interval";
|
|
516
|
-
end?: number | undefined;
|
|
517
|
-
frequency?: number | undefined;
|
|
518
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
519
|
-
remaining?: number | undefined;
|
|
520
|
-
start: number;
|
|
521
|
-
} | {
|
|
522
|
-
schema: "network.xyo.automation.interval";
|
|
523
|
-
type: "event";
|
|
524
|
-
} | {
|
|
525
|
-
schema: "network.xyo.automation.event";
|
|
526
|
-
type: "event";
|
|
527
|
-
} | {
|
|
528
|
-
schema: "network.xyo.automation";
|
|
529
|
-
type: "event";
|
|
530
|
-
})[] | undefined;
|
|
531
|
-
synchronous?: boolean | undefined;
|
|
532
|
-
tasks: ({
|
|
533
|
-
endPoint?: "observe" | undefined;
|
|
534
|
-
input?: string | boolean | string[] | undefined;
|
|
535
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
536
|
-
required?: boolean | undefined;
|
|
537
|
-
} | {
|
|
538
|
-
endPoint?: "divine" | undefined;
|
|
539
|
-
input?: string | boolean | string[] | undefined;
|
|
540
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
541
|
-
required?: boolean | undefined;
|
|
542
|
-
} | {
|
|
543
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
544
|
-
input?: string | boolean | string[] | undefined;
|
|
545
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
546
|
-
required?: boolean | undefined;
|
|
547
|
-
} | {
|
|
548
|
-
endPoint?: string | undefined;
|
|
549
|
-
input?: string | boolean | string[] | undefined;
|
|
550
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
551
|
-
required?: boolean | undefined;
|
|
552
|
-
})[];
|
|
553
|
-
throwErrors?: boolean | undefined;
|
|
554
|
-
}>;
|
|
125
|
+
config: _xyo_network_module_model.AnyConfigSchema<SentinelConfig>;
|
|
555
126
|
ephemeralQueryAccountEnabled?: boolean;
|
|
556
127
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
128
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
129
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
557
130
|
}, _xyo_network_sentinel_model.SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
558
131
|
account?: AccountInstance | "random";
|
|
559
132
|
addToResolvers?: boolean;
|
|
560
133
|
additionalSigners?: AccountInstance[];
|
|
561
134
|
allowNameResolution?: boolean;
|
|
562
|
-
config:
|
|
563
|
-
schema: _xyo_network_payload_model.Schema;
|
|
564
|
-
readonly archiving?: {
|
|
565
|
-
readonly archivists?: string[] | undefined;
|
|
566
|
-
readonly queries?: string[] | undefined;
|
|
567
|
-
} | undefined;
|
|
568
|
-
readonly allowedQueries?: string[] | undefined;
|
|
569
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
570
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
571
|
-
readonly labels?: {
|
|
572
|
-
[x: string]: string | undefined;
|
|
573
|
-
} | undefined;
|
|
574
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
575
|
-
readonly paging?: {
|
|
576
|
-
[x: string]: {
|
|
577
|
-
size?: number | undefined;
|
|
578
|
-
};
|
|
579
|
-
} | undefined;
|
|
580
|
-
readonly retry?: {
|
|
581
|
-
backoff?: number | undefined;
|
|
582
|
-
interval?: number | undefined;
|
|
583
|
-
retries?: number | undefined;
|
|
584
|
-
} | undefined;
|
|
585
|
-
readonly security?: {
|
|
586
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
587
|
-
readonly allowed?: {
|
|
588
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
589
|
-
} | undefined;
|
|
590
|
-
readonly disallowed?: {
|
|
591
|
-
[x: string]: Lowercase<string>[];
|
|
592
|
-
} | undefined;
|
|
593
|
-
} | undefined;
|
|
594
|
-
readonly sign?: boolean | undefined;
|
|
595
|
-
readonly storeQueries?: boolean | undefined;
|
|
596
|
-
readonly timestamp?: boolean | undefined;
|
|
597
|
-
}>;
|
|
135
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
|
|
598
136
|
ephemeralQueryAccountEnabled?: boolean;
|
|
599
137
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
138
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
139
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
600
140
|
}, _xyo_network_module_model.ModuleEventData<object>>>>>>;
|
|
601
141
|
static create(config: SentinelConfig, account: AccountInstance): Promise<SentinelBuilder>;
|
|
602
142
|
buildSentinel(): Promise<MemorySentinel<_xylabs_object.BaseParamsFields & {
|
|
@@ -604,244 +144,31 @@ declare class SentinelBuilder {
|
|
|
604
144
|
addToResolvers?: boolean;
|
|
605
145
|
additionalSigners?: AccountInstance[];
|
|
606
146
|
allowNameResolution?: boolean;
|
|
607
|
-
config:
|
|
608
|
-
schema: _xyo_network_payload_model.Schema;
|
|
609
|
-
readonly archiving?: {
|
|
610
|
-
readonly archivists?: string[] | undefined;
|
|
611
|
-
readonly queries?: string[] | undefined;
|
|
612
|
-
} | undefined;
|
|
613
|
-
readonly allowedQueries?: string[] | undefined;
|
|
614
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
615
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
616
|
-
readonly labels?: {
|
|
617
|
-
[x: string]: string | undefined;
|
|
618
|
-
} | undefined;
|
|
619
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
620
|
-
readonly paging?: {
|
|
621
|
-
[x: string]: {
|
|
622
|
-
size?: number | undefined;
|
|
623
|
-
};
|
|
624
|
-
} | undefined;
|
|
625
|
-
readonly retry?: {
|
|
626
|
-
backoff?: number | undefined;
|
|
627
|
-
interval?: number | undefined;
|
|
628
|
-
retries?: number | undefined;
|
|
629
|
-
} | undefined;
|
|
630
|
-
readonly security?: {
|
|
631
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
632
|
-
readonly allowed?: {
|
|
633
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
634
|
-
} | undefined;
|
|
635
|
-
readonly disallowed?: {
|
|
636
|
-
[x: string]: Lowercase<string>[];
|
|
637
|
-
} | undefined;
|
|
638
|
-
} | undefined;
|
|
639
|
-
readonly sign?: boolean | undefined;
|
|
640
|
-
readonly storeQueries?: boolean | undefined;
|
|
641
|
-
readonly timestamp?: boolean | undefined;
|
|
642
|
-
automations?: ({
|
|
643
|
-
schema: "network.xyo.automation.interval";
|
|
644
|
-
type: "interval";
|
|
645
|
-
end?: number | undefined;
|
|
646
|
-
frequency?: number | undefined;
|
|
647
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
648
|
-
remaining?: number | undefined;
|
|
649
|
-
start: number;
|
|
650
|
-
} | {
|
|
651
|
-
schema: "network.xyo.automation.event";
|
|
652
|
-
type: "interval";
|
|
653
|
-
end?: number | undefined;
|
|
654
|
-
frequency?: number | undefined;
|
|
655
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
656
|
-
remaining?: number | undefined;
|
|
657
|
-
start: number;
|
|
658
|
-
} | {
|
|
659
|
-
schema: "network.xyo.automation";
|
|
660
|
-
type: "interval";
|
|
661
|
-
end?: number | undefined;
|
|
662
|
-
frequency?: number | undefined;
|
|
663
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
664
|
-
remaining?: number | undefined;
|
|
665
|
-
start: number;
|
|
666
|
-
} | {
|
|
667
|
-
schema: "network.xyo.automation.interval";
|
|
668
|
-
type: "event";
|
|
669
|
-
} | {
|
|
670
|
-
schema: "network.xyo.automation.event";
|
|
671
|
-
type: "event";
|
|
672
|
-
} | {
|
|
673
|
-
schema: "network.xyo.automation";
|
|
674
|
-
type: "event";
|
|
675
|
-
})[] | undefined;
|
|
676
|
-
synchronous?: boolean | undefined;
|
|
677
|
-
tasks: ({
|
|
678
|
-
endPoint?: "observe" | undefined;
|
|
679
|
-
input?: string | boolean | string[] | undefined;
|
|
680
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
681
|
-
required?: boolean | undefined;
|
|
682
|
-
} | {
|
|
683
|
-
endPoint?: "divine" | undefined;
|
|
684
|
-
input?: string | boolean | string[] | undefined;
|
|
685
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
686
|
-
required?: boolean | undefined;
|
|
687
|
-
} | {
|
|
688
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
689
|
-
input?: string | boolean | string[] | undefined;
|
|
690
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
691
|
-
required?: boolean | undefined;
|
|
692
|
-
} | {
|
|
693
|
-
endPoint?: string | undefined;
|
|
694
|
-
input?: string | boolean | string[] | undefined;
|
|
695
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
696
|
-
required?: boolean | undefined;
|
|
697
|
-
})[];
|
|
698
|
-
throwErrors?: boolean | undefined;
|
|
699
|
-
}>;
|
|
147
|
+
config: _xyo_network_module_model.AnyConfigSchema<SentinelConfig>;
|
|
700
148
|
ephemeralQueryAccountEnabled?: boolean;
|
|
701
149
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
150
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
151
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
702
152
|
}, _xyo_network_sentinel_model.SentinelModuleEventData<_xyo_network_sentinel_model.SentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
703
153
|
account?: AccountInstance | "random";
|
|
704
154
|
addToResolvers?: boolean;
|
|
705
155
|
additionalSigners?: AccountInstance[];
|
|
706
156
|
allowNameResolution?: boolean;
|
|
707
|
-
config:
|
|
708
|
-
schema: _xyo_network_payload_model.Schema;
|
|
709
|
-
readonly archiving?: {
|
|
710
|
-
readonly archivists?: string[] | undefined;
|
|
711
|
-
readonly queries?: string[] | undefined;
|
|
712
|
-
} | undefined;
|
|
713
|
-
readonly allowedQueries?: string[] | undefined;
|
|
714
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
715
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
716
|
-
readonly labels?: {
|
|
717
|
-
[x: string]: string | undefined;
|
|
718
|
-
} | undefined;
|
|
719
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
720
|
-
readonly paging?: {
|
|
721
|
-
[x: string]: {
|
|
722
|
-
size?: number | undefined;
|
|
723
|
-
};
|
|
724
|
-
} | undefined;
|
|
725
|
-
readonly retry?: {
|
|
726
|
-
backoff?: number | undefined;
|
|
727
|
-
interval?: number | undefined;
|
|
728
|
-
retries?: number | undefined;
|
|
729
|
-
} | undefined;
|
|
730
|
-
readonly security?: {
|
|
731
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
732
|
-
readonly allowed?: {
|
|
733
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
734
|
-
} | undefined;
|
|
735
|
-
readonly disallowed?: {
|
|
736
|
-
[x: string]: Lowercase<string>[];
|
|
737
|
-
} | undefined;
|
|
738
|
-
} | undefined;
|
|
739
|
-
readonly sign?: boolean | undefined;
|
|
740
|
-
readonly storeQueries?: boolean | undefined;
|
|
741
|
-
readonly timestamp?: boolean | undefined;
|
|
742
|
-
automations?: ({
|
|
743
|
-
schema: "network.xyo.automation.interval";
|
|
744
|
-
type: "interval";
|
|
745
|
-
end?: number | undefined;
|
|
746
|
-
frequency?: number | undefined;
|
|
747
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
748
|
-
remaining?: number | undefined;
|
|
749
|
-
start: number;
|
|
750
|
-
} | {
|
|
751
|
-
schema: "network.xyo.automation.event";
|
|
752
|
-
type: "interval";
|
|
753
|
-
end?: number | undefined;
|
|
754
|
-
frequency?: number | undefined;
|
|
755
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
756
|
-
remaining?: number | undefined;
|
|
757
|
-
start: number;
|
|
758
|
-
} | {
|
|
759
|
-
schema: "network.xyo.automation";
|
|
760
|
-
type: "interval";
|
|
761
|
-
end?: number | undefined;
|
|
762
|
-
frequency?: number | undefined;
|
|
763
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
764
|
-
remaining?: number | undefined;
|
|
765
|
-
start: number;
|
|
766
|
-
} | {
|
|
767
|
-
schema: "network.xyo.automation.interval";
|
|
768
|
-
type: "event";
|
|
769
|
-
} | {
|
|
770
|
-
schema: "network.xyo.automation.event";
|
|
771
|
-
type: "event";
|
|
772
|
-
} | {
|
|
773
|
-
schema: "network.xyo.automation";
|
|
774
|
-
type: "event";
|
|
775
|
-
})[] | undefined;
|
|
776
|
-
synchronous?: boolean | undefined;
|
|
777
|
-
tasks: ({
|
|
778
|
-
endPoint?: "observe" | undefined;
|
|
779
|
-
input?: string | boolean | string[] | undefined;
|
|
780
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
781
|
-
required?: boolean | undefined;
|
|
782
|
-
} | {
|
|
783
|
-
endPoint?: "divine" | undefined;
|
|
784
|
-
input?: string | boolean | string[] | undefined;
|
|
785
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
786
|
-
required?: boolean | undefined;
|
|
787
|
-
} | {
|
|
788
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
789
|
-
input?: string | boolean | string[] | undefined;
|
|
790
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
791
|
-
required?: boolean | undefined;
|
|
792
|
-
} | {
|
|
793
|
-
endPoint?: string | undefined;
|
|
794
|
-
input?: string | boolean | string[] | undefined;
|
|
795
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
796
|
-
required?: boolean | undefined;
|
|
797
|
-
})[];
|
|
798
|
-
throwErrors?: boolean | undefined;
|
|
799
|
-
}>;
|
|
157
|
+
config: _xyo_network_module_model.AnyConfigSchema<SentinelConfig>;
|
|
800
158
|
ephemeralQueryAccountEnabled?: boolean;
|
|
801
159
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
160
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
161
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
802
162
|
}, _xyo_network_sentinel_model.SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
803
163
|
account?: AccountInstance | "random";
|
|
804
164
|
addToResolvers?: boolean;
|
|
805
165
|
additionalSigners?: AccountInstance[];
|
|
806
166
|
allowNameResolution?: boolean;
|
|
807
|
-
config:
|
|
808
|
-
schema: _xyo_network_payload_model.Schema;
|
|
809
|
-
readonly archiving?: {
|
|
810
|
-
readonly archivists?: string[] | undefined;
|
|
811
|
-
readonly queries?: string[] | undefined;
|
|
812
|
-
} | undefined;
|
|
813
|
-
readonly allowedQueries?: string[] | undefined;
|
|
814
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
815
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
816
|
-
readonly labels?: {
|
|
817
|
-
[x: string]: string | undefined;
|
|
818
|
-
} | undefined;
|
|
819
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
820
|
-
readonly paging?: {
|
|
821
|
-
[x: string]: {
|
|
822
|
-
size?: number | undefined;
|
|
823
|
-
};
|
|
824
|
-
} | undefined;
|
|
825
|
-
readonly retry?: {
|
|
826
|
-
backoff?: number | undefined;
|
|
827
|
-
interval?: number | undefined;
|
|
828
|
-
retries?: number | undefined;
|
|
829
|
-
} | undefined;
|
|
830
|
-
readonly security?: {
|
|
831
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
832
|
-
readonly allowed?: {
|
|
833
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
834
|
-
} | undefined;
|
|
835
|
-
readonly disallowed?: {
|
|
836
|
-
[x: string]: Lowercase<string>[];
|
|
837
|
-
} | undefined;
|
|
838
|
-
} | undefined;
|
|
839
|
-
readonly sign?: boolean | undefined;
|
|
840
|
-
readonly storeQueries?: boolean | undefined;
|
|
841
|
-
readonly timestamp?: boolean | undefined;
|
|
842
|
-
}>;
|
|
167
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
|
|
843
168
|
ephemeralQueryAccountEnabled?: boolean;
|
|
844
169
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
170
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
171
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
845
172
|
}, _xyo_network_module_model.ModuleEventData<object>>>>>>>;
|
|
846
173
|
private buildParams;
|
|
847
174
|
}
|
|
@@ -862,65 +189,11 @@ declare class StorageArchivistBuilder {
|
|
|
862
189
|
addToResolvers?: boolean;
|
|
863
190
|
additionalSigners?: AccountInstance[];
|
|
864
191
|
allowNameResolution?: boolean;
|
|
865
|
-
config:
|
|
866
|
-
schema: _xyo_network_payload_model.Schema;
|
|
867
|
-
readonly archiving?: {
|
|
868
|
-
readonly archivists?: string[] | undefined;
|
|
869
|
-
readonly queries?: string[] | undefined;
|
|
870
|
-
} | undefined;
|
|
871
|
-
readonly allowedQueries?: string[] | undefined;
|
|
872
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
873
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
874
|
-
readonly labels?: {
|
|
875
|
-
[x: string]: string | undefined;
|
|
876
|
-
} | undefined;
|
|
877
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
878
|
-
readonly paging?: {
|
|
879
|
-
[x: string]: {
|
|
880
|
-
size?: number | undefined;
|
|
881
|
-
};
|
|
882
|
-
} | undefined;
|
|
883
|
-
readonly retry?: {
|
|
884
|
-
backoff?: number | undefined;
|
|
885
|
-
interval?: number | undefined;
|
|
886
|
-
retries?: number | undefined;
|
|
887
|
-
} | undefined;
|
|
888
|
-
readonly security?: {
|
|
889
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
890
|
-
readonly allowed?: {
|
|
891
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
892
|
-
} | undefined;
|
|
893
|
-
readonly disallowed?: {
|
|
894
|
-
[x: string]: Lowercase<string>[];
|
|
895
|
-
} | undefined;
|
|
896
|
-
} | undefined;
|
|
897
|
-
readonly sign?: boolean | undefined;
|
|
898
|
-
readonly storeQueries?: boolean | undefined;
|
|
899
|
-
readonly timestamp?: boolean | undefined;
|
|
900
|
-
type?: "local" | "session" | "page" | undefined;
|
|
901
|
-
parents?: {
|
|
902
|
-
commit?: string[] | undefined;
|
|
903
|
-
read?: string[] | undefined;
|
|
904
|
-
write?: string[] | undefined;
|
|
905
|
-
} | undefined;
|
|
906
|
-
requireAllParents?: boolean | undefined;
|
|
907
|
-
storage?: {
|
|
908
|
-
indexes?: {
|
|
909
|
-
key: {
|
|
910
|
-
[x: string]: _xyo_network_archivist_model.IndexDirection;
|
|
911
|
-
};
|
|
912
|
-
multiEntry?: boolean | undefined;
|
|
913
|
-
name?: string | undefined;
|
|
914
|
-
unique?: boolean | undefined;
|
|
915
|
-
}[] | undefined;
|
|
916
|
-
} | undefined;
|
|
917
|
-
storeParentReads?: boolean | undefined;
|
|
918
|
-
maxEntries?: number | undefined;
|
|
919
|
-
maxEntrySize?: number | undefined;
|
|
920
|
-
namespace?: string | undefined;
|
|
921
|
-
}>;
|
|
192
|
+
config: _xyo_network_module_model.AnyConfigSchema<StorageArchivistConfig>;
|
|
922
193
|
ephemeralQueryAccountEnabled?: boolean;
|
|
923
194
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
195
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
196
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
924
197
|
} & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData>;
|
|
925
198
|
static create(config: ArchivistBuilderConfig, account: AccountInstance, node: MemoryNode): Promise<StorageArchivistBuilder>;
|
|
926
199
|
buildArchivist(): Promise<StorageArchivist<_xylabs_object.BaseParamsFields & {
|
|
@@ -928,65 +201,11 @@ declare class StorageArchivistBuilder {
|
|
|
928
201
|
addToResolvers?: boolean;
|
|
929
202
|
additionalSigners?: AccountInstance[];
|
|
930
203
|
allowNameResolution?: boolean;
|
|
931
|
-
config:
|
|
932
|
-
schema: _xyo_network_payload_model.Schema;
|
|
933
|
-
readonly archiving?: {
|
|
934
|
-
readonly archivists?: string[] | undefined;
|
|
935
|
-
readonly queries?: string[] | undefined;
|
|
936
|
-
} | undefined;
|
|
937
|
-
readonly allowedQueries?: string[] | undefined;
|
|
938
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
939
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
940
|
-
readonly labels?: {
|
|
941
|
-
[x: string]: string | undefined;
|
|
942
|
-
} | undefined;
|
|
943
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
944
|
-
readonly paging?: {
|
|
945
|
-
[x: string]: {
|
|
946
|
-
size?: number | undefined;
|
|
947
|
-
};
|
|
948
|
-
} | undefined;
|
|
949
|
-
readonly retry?: {
|
|
950
|
-
backoff?: number | undefined;
|
|
951
|
-
interval?: number | undefined;
|
|
952
|
-
retries?: number | undefined;
|
|
953
|
-
} | undefined;
|
|
954
|
-
readonly security?: {
|
|
955
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
956
|
-
readonly allowed?: {
|
|
957
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
958
|
-
} | undefined;
|
|
959
|
-
readonly disallowed?: {
|
|
960
|
-
[x: string]: Lowercase<string>[];
|
|
961
|
-
} | undefined;
|
|
962
|
-
} | undefined;
|
|
963
|
-
readonly sign?: boolean | undefined;
|
|
964
|
-
readonly storeQueries?: boolean | undefined;
|
|
965
|
-
readonly timestamp?: boolean | undefined;
|
|
966
|
-
type?: "local" | "session" | "page" | undefined;
|
|
967
|
-
parents?: {
|
|
968
|
-
commit?: string[] | undefined;
|
|
969
|
-
read?: string[] | undefined;
|
|
970
|
-
write?: string[] | undefined;
|
|
971
|
-
} | undefined;
|
|
972
|
-
requireAllParents?: boolean | undefined;
|
|
973
|
-
storage?: {
|
|
974
|
-
indexes?: {
|
|
975
|
-
key: {
|
|
976
|
-
[x: string]: _xyo_network_archivist_model.IndexDirection;
|
|
977
|
-
};
|
|
978
|
-
multiEntry?: boolean | undefined;
|
|
979
|
-
name?: string | undefined;
|
|
980
|
-
unique?: boolean | undefined;
|
|
981
|
-
}[] | undefined;
|
|
982
|
-
} | undefined;
|
|
983
|
-
storeParentReads?: boolean | undefined;
|
|
984
|
-
maxEntries?: number | undefined;
|
|
985
|
-
maxEntrySize?: number | undefined;
|
|
986
|
-
namespace?: string | undefined;
|
|
987
|
-
}>;
|
|
204
|
+
config: _xyo_network_module_model.AnyConfigSchema<StorageArchivistConfig>;
|
|
988
205
|
ephemeralQueryAccountEnabled?: boolean;
|
|
989
206
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
207
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
208
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
990
209
|
} & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData>>;
|
|
991
210
|
buildConfig(): StorageArchivistConfig;
|
|
992
211
|
findParentArchivist(): Promise<_xyo_network_archivist_model.ArchivistInstance<_xylabs_object.BaseParamsFields & {
|
|
@@ -994,64 +213,12 @@ declare class StorageArchivistBuilder {
|
|
|
994
213
|
addToResolvers?: boolean;
|
|
995
214
|
additionalSigners?: AccountInstance[];
|
|
996
215
|
allowNameResolution?: boolean;
|
|
997
|
-
config:
|
|
998
|
-
schema: _xyo_network_payload_model.Schema;
|
|
999
|
-
parents?: {
|
|
1000
|
-
commit?: string[] | undefined;
|
|
1001
|
-
read?: string[] | undefined;
|
|
1002
|
-
write?: string[] | undefined;
|
|
1003
|
-
} | undefined;
|
|
1004
|
-
requireAllParents?: boolean | undefined;
|
|
1005
|
-
storage?: {
|
|
1006
|
-
indexes?: {
|
|
1007
|
-
key: {
|
|
1008
|
-
[x: string]: _xyo_network_archivist_model.IndexDirection;
|
|
1009
|
-
};
|
|
1010
|
-
multiEntry?: boolean | undefined;
|
|
1011
|
-
name?: string | undefined;
|
|
1012
|
-
unique?: boolean | undefined;
|
|
1013
|
-
}[] | undefined;
|
|
1014
|
-
} | undefined;
|
|
1015
|
-
storeParentReads?: boolean | undefined;
|
|
1016
|
-
readonly archiving?: {
|
|
1017
|
-
readonly archivists?: string[] | undefined;
|
|
1018
|
-
readonly queries?: string[] | undefined;
|
|
1019
|
-
} | undefined;
|
|
1020
|
-
readonly allowedQueries?: string[] | undefined;
|
|
1021
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1022
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1023
|
-
readonly labels?: {
|
|
1024
|
-
[x: string]: string | undefined;
|
|
1025
|
-
} | undefined;
|
|
1026
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1027
|
-
readonly paging?: {
|
|
1028
|
-
[x: string]: {
|
|
1029
|
-
size?: number | undefined;
|
|
1030
|
-
};
|
|
1031
|
-
} | undefined;
|
|
1032
|
-
readonly retry?: {
|
|
1033
|
-
backoff?: number | undefined;
|
|
1034
|
-
interval?: number | undefined;
|
|
1035
|
-
retries?: number | undefined;
|
|
1036
|
-
} | undefined;
|
|
1037
|
-
readonly security?: {
|
|
1038
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
1039
|
-
readonly allowed?: {
|
|
1040
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1041
|
-
} | undefined;
|
|
1042
|
-
readonly disallowed?: {
|
|
1043
|
-
[x: string]: Lowercase<string>[];
|
|
1044
|
-
} | undefined;
|
|
1045
|
-
} | undefined;
|
|
1046
|
-
readonly sign?: boolean | undefined;
|
|
1047
|
-
readonly storeQueries?: boolean | undefined;
|
|
1048
|
-
readonly timestamp?: boolean | undefined;
|
|
1049
|
-
}>;
|
|
216
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig>;
|
|
1050
217
|
ephemeralQueryAccountEnabled?: boolean;
|
|
1051
218
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
}
|
|
219
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
220
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
221
|
+
} & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData, _xyo_network_payload_model.Payload> | undefined>;
|
|
1055
222
|
}
|
|
1056
223
|
|
|
1057
224
|
declare const BuildStandardNodes: (wallet: WalletInstance, onNodeBuilt?: (node: MemoryNode) => void) => Promise<MemoryNode[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-standard-node",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.6",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -49,35 +49,35 @@
|
|
|
49
49
|
"@xylabs/react-hooks": "^5.3.23",
|
|
50
50
|
"@xylabs/react-promise": "^5.3.23",
|
|
51
51
|
"@xylabs/react-shared": "^5.3.23",
|
|
52
|
-
"@xyo-network/account-model": "^3.9.
|
|
53
|
-
"@xyo-network/archivist-memory": "^3.9.
|
|
54
|
-
"@xyo-network/archivist-model": "^3.9.
|
|
55
|
-
"@xyo-network/archivist-storage": "^3.9.
|
|
56
|
-
"@xyo-network/bridge-http": "^3.9.
|
|
57
|
-
"@xyo-network/module-model": "^3.9.
|
|
58
|
-
"@xyo-network/node-memory": "^3.9.
|
|
59
|
-
"@xyo-network/node-model": "^3.9.
|
|
60
|
-
"@xyo-network/payloadset-plugin": "^3.9.
|
|
61
|
-
"@xyo-network/react-network": "^4.4.
|
|
62
|
-
"@xyo-network/react-node": "^4.4.
|
|
63
|
-
"@xyo-network/react-shared": "^4.4.
|
|
64
|
-
"@xyo-network/react-wallet": "^4.4.
|
|
65
|
-
"@xyo-network/sentinel-memory": "^3.9.
|
|
66
|
-
"@xyo-network/sentinel-model": "^3.9.
|
|
67
|
-
"@xyo-network/wallet-model": "^3.9.
|
|
68
|
-
"@xyo-network/witness-model": "^3.9.
|
|
52
|
+
"@xyo-network/account-model": "^3.9.17",
|
|
53
|
+
"@xyo-network/archivist-memory": "^3.9.17",
|
|
54
|
+
"@xyo-network/archivist-model": "^3.9.17",
|
|
55
|
+
"@xyo-network/archivist-storage": "^3.9.17",
|
|
56
|
+
"@xyo-network/bridge-http": "^3.9.17",
|
|
57
|
+
"@xyo-network/module-model": "^3.9.17",
|
|
58
|
+
"@xyo-network/node-memory": "^3.9.17",
|
|
59
|
+
"@xyo-network/node-model": "^3.9.17",
|
|
60
|
+
"@xyo-network/payloadset-plugin": "^3.9.17",
|
|
61
|
+
"@xyo-network/react-network": "^4.4.6",
|
|
62
|
+
"@xyo-network/react-node": "^4.4.6",
|
|
63
|
+
"@xyo-network/react-shared": "^4.4.6",
|
|
64
|
+
"@xyo-network/react-wallet": "^4.4.6",
|
|
65
|
+
"@xyo-network/sentinel-memory": "^3.9.17",
|
|
66
|
+
"@xyo-network/sentinel-model": "^3.9.17",
|
|
67
|
+
"@xyo-network/wallet-model": "^3.9.17",
|
|
68
|
+
"@xyo-network/witness-model": "^3.9.17"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@mui/icons-material": "^6.4.
|
|
72
|
-
"@mui/material": "^6.4.
|
|
73
|
-
"@mui/styles": "^6.4.
|
|
74
|
-
"@storybook/react": "^8.
|
|
75
|
-
"@xylabs/ts-scripts-yarn3": "^5.0.
|
|
76
|
-
"@xylabs/tsconfig-react": "^5.0.
|
|
71
|
+
"@mui/icons-material": "^6.4.5",
|
|
72
|
+
"@mui/material": "^6.4.5",
|
|
73
|
+
"@mui/styles": "^6.4.5",
|
|
74
|
+
"@storybook/react": "^8.6.0",
|
|
75
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.25",
|
|
76
|
+
"@xylabs/tsconfig-react": "^5.0.25",
|
|
77
77
|
"react": "^18.3.1",
|
|
78
78
|
"react-dom": "^18.3.1",
|
|
79
|
-
"react-router-dom": "^7.
|
|
80
|
-
"storybook": "^8.
|
|
79
|
+
"react-router-dom": "^7.2.0",
|
|
80
|
+
"storybook": "^8.6.0",
|
|
81
81
|
"typescript": "^5.7.3"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|