@xyo-network/node-model 3.5.2 → 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.
@@ -4,13 +4,42 @@ export declare const asAttachableNodeInstance: {
4
4
  addToResolvers?: boolean;
5
5
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
6
6
  allowNameResolution?: boolean;
7
- 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 & {
8
- archivist?: string;
9
- } & {
10
- schema: "network.xyo.node.config";
11
- }, "schema"> & {
12
- schema: string;
13
- };
7
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
8
+ schema: import("@xyo-network/payload-model").Schema;
9
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
10
+ readonly archiving?: {
11
+ readonly archivists?: string[] | undefined;
12
+ readonly queries?: string[] | undefined;
13
+ } | undefined;
14
+ readonly allowedQueries?: string[] | undefined;
15
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
16
+ readonly labels?: {
17
+ [x: string]: string | undefined;
18
+ } | undefined;
19
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
20
+ readonly paging?: {
21
+ [x: string]: {
22
+ size?: number | undefined;
23
+ };
24
+ } | undefined;
25
+ readonly retry?: {
26
+ backoff?: number | undefined;
27
+ interval?: number | undefined;
28
+ retries?: number | undefined;
29
+ } | undefined;
30
+ readonly security?: {
31
+ readonly allowAnonymous?: boolean | undefined;
32
+ readonly allowed?: {
33
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
34
+ } | undefined;
35
+ readonly disallowed?: {
36
+ [x: string]: Lowercase<string>[];
37
+ } | undefined;
38
+ } | undefined;
39
+ readonly sign?: boolean | undefined;
40
+ readonly storeQueries?: boolean | undefined;
41
+ readonly timestamp?: boolean | undefined;
42
+ }>;
14
43
  ephemeralQueryAccountEnabled?: boolean;
15
44
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
16
45
  }, import("../Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
@@ -19,13 +48,42 @@ export declare const asAttachableNodeInstance: {
19
48
  addToResolvers?: boolean;
20
49
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
21
50
  allowNameResolution?: boolean;
22
- 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 & {
23
- archivist?: string;
24
- } & {
25
- schema: "network.xyo.node.config";
26
- }, "schema"> & {
27
- schema: string;
28
- };
51
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
52
+ schema: import("@xyo-network/payload-model").Schema;
53
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
54
+ readonly archiving?: {
55
+ readonly archivists?: string[] | undefined;
56
+ readonly queries?: string[] | undefined;
57
+ } | undefined;
58
+ readonly allowedQueries?: string[] | undefined;
59
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
60
+ readonly labels?: {
61
+ [x: string]: string | undefined;
62
+ } | undefined;
63
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
64
+ readonly paging?: {
65
+ [x: string]: {
66
+ size?: number | undefined;
67
+ };
68
+ } | undefined;
69
+ readonly retry?: {
70
+ backoff?: number | undefined;
71
+ interval?: number | undefined;
72
+ retries?: number | undefined;
73
+ } | undefined;
74
+ readonly security?: {
75
+ readonly allowAnonymous?: boolean | undefined;
76
+ readonly allowed?: {
77
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
78
+ } | undefined;
79
+ readonly disallowed?: {
80
+ [x: string]: Lowercase<string>[];
81
+ } | undefined;
82
+ } | undefined;
83
+ readonly sign?: boolean | undefined;
84
+ readonly storeQueries?: boolean | undefined;
85
+ readonly timestamp?: boolean | undefined;
86
+ }>;
29
87
  ephemeralQueryAccountEnabled?: boolean;
30
88
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
31
89
  }, import("../Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
@@ -33,13 +91,42 @@ export declare const asAttachableNodeInstance: {
33
91
  addToResolvers?: boolean;
34
92
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
35
93
  allowNameResolution?: boolean;
36
- 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 & {
37
- archivist?: string;
38
- } & {
39
- schema: "network.xyo.node.config";
40
- }, "schema"> & {
41
- schema: string;
42
- };
94
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
95
+ schema: import("@xyo-network/payload-model").Schema;
96
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
97
+ readonly archiving?: {
98
+ readonly archivists?: string[] | undefined;
99
+ readonly queries?: string[] | undefined;
100
+ } | undefined;
101
+ readonly allowedQueries?: string[] | undefined;
102
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
103
+ readonly labels?: {
104
+ [x: string]: string | undefined;
105
+ } | undefined;
106
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
107
+ readonly paging?: {
108
+ [x: string]: {
109
+ size?: number | undefined;
110
+ };
111
+ } | undefined;
112
+ readonly retry?: {
113
+ backoff?: number | undefined;
114
+ interval?: number | undefined;
115
+ retries?: number | undefined;
116
+ } | undefined;
117
+ readonly security?: {
118
+ readonly allowAnonymous?: boolean | undefined;
119
+ readonly allowed?: {
120
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
121
+ } | undefined;
122
+ readonly disallowed?: {
123
+ [x: string]: Lowercase<string>[];
124
+ } | undefined;
125
+ } | undefined;
126
+ readonly sign?: boolean | undefined;
127
+ readonly storeQueries?: boolean | undefined;
128
+ readonly timestamp?: boolean | undefined;
129
+ }>;
43
130
  ephemeralQueryAccountEnabled?: boolean;
44
131
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
45
132
  }, import("../Node.ts").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
@@ -1 +1 @@
1
- {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;gEACK,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;gEAA+E,iBAAiB;;;;;;;;;;;;;;mEAAgG,gBAAoB;CAD5O,CAAA"}
1
+ {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEACI,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAAgG,gBAAoB;CAD3O,CAAA"}
@@ -5,13 +5,42 @@ export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInst
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 & {
9
- archivist?: string;
10
- } & {
11
- schema: "network.xyo.node.config";
12
- }, "schema"> & {
13
- schema: string;
14
- };
8
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
9
+ schema: import("@xyo-network/payload-model").Schema;
10
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
11
+ readonly archiving?: {
12
+ readonly archivists?: string[] | undefined;
13
+ readonly queries?: string[] | undefined;
14
+ } | undefined;
15
+ readonly allowedQueries?: string[] | undefined;
16
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
17
+ readonly labels?: {
18
+ [x: string]: string | undefined;
19
+ } | undefined;
20
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
21
+ readonly paging?: {
22
+ [x: string]: {
23
+ size?: number | undefined;
24
+ };
25
+ } | undefined;
26
+ readonly retry?: {
27
+ backoff?: number | undefined;
28
+ interval?: number | undefined;
29
+ retries?: number | undefined;
30
+ } | undefined;
31
+ readonly security?: {
32
+ readonly allowAnonymous?: boolean | undefined;
33
+ readonly allowed?: {
34
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
35
+ } | undefined;
36
+ readonly disallowed?: {
37
+ [x: string]: Lowercase<string>[];
38
+ } | undefined;
39
+ } | undefined;
40
+ readonly sign?: boolean | undefined;
41
+ readonly storeQueries?: boolean | undefined;
42
+ readonly timestamp?: boolean | undefined;
43
+ }>;
15
44
  ephemeralQueryAccountEnabled?: boolean;
16
45
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
17
46
  }, import("./Node.ts").NodeModuleEventData>>;
@@ -20,13 +49,42 @@ export declare const isNodeModule: import("@xyo-network/module-model").ModuleTyp
20
49
  addToResolvers?: boolean;
21
50
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
22
51
  allowNameResolution?: boolean;
23
- 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 & {
24
- archivist?: string;
25
- } & {
26
- schema: "network.xyo.node.config";
27
- }, "schema"> & {
28
- schema: string;
29
- };
52
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
53
+ schema: import("@xyo-network/payload-model").Schema;
54
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
55
+ readonly archiving?: {
56
+ readonly archivists?: string[] | undefined;
57
+ readonly queries?: string[] | undefined;
58
+ } | undefined;
59
+ readonly allowedQueries?: string[] | undefined;
60
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
61
+ readonly labels?: {
62
+ [x: string]: string | undefined;
63
+ } | undefined;
64
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
65
+ readonly paging?: {
66
+ [x: string]: {
67
+ size?: number | undefined;
68
+ };
69
+ } | undefined;
70
+ readonly retry?: {
71
+ backoff?: number | undefined;
72
+ interval?: number | undefined;
73
+ retries?: number | undefined;
74
+ } | undefined;
75
+ readonly security?: {
76
+ readonly allowAnonymous?: boolean | undefined;
77
+ readonly allowed?: {
78
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
79
+ } | undefined;
80
+ readonly disallowed?: {
81
+ [x: string]: Lowercase<string>[];
82
+ } | undefined;
83
+ } | undefined;
84
+ readonly sign?: boolean | undefined;
85
+ readonly storeQueries?: boolean | undefined;
86
+ readonly timestamp?: boolean | undefined;
87
+ }>;
30
88
  ephemeralQueryAccountEnabled?: boolean;
31
89
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
32
90
  }, import("./Node.ts").NodeModuleEventData>>;
@@ -36,13 +94,42 @@ export declare const asNodeModule: {
36
94
  addToResolvers?: boolean;
37
95
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
38
96
  allowNameResolution?: boolean;
39
- 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 & {
40
- archivist?: string;
41
- } & {
42
- schema: "network.xyo.node.config";
43
- }, "schema"> & {
44
- schema: string;
45
- };
97
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
98
+ schema: import("@xyo-network/payload-model").Schema;
99
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
100
+ readonly archiving?: {
101
+ readonly archivists?: string[] | undefined;
102
+ readonly queries?: string[] | undefined;
103
+ } | undefined;
104
+ readonly allowedQueries?: string[] | undefined;
105
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
106
+ readonly labels?: {
107
+ [x: string]: string | undefined;
108
+ } | undefined;
109
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
110
+ readonly paging?: {
111
+ [x: string]: {
112
+ size?: number | undefined;
113
+ };
114
+ } | undefined;
115
+ readonly retry?: {
116
+ backoff?: number | undefined;
117
+ interval?: number | undefined;
118
+ retries?: number | undefined;
119
+ } | undefined;
120
+ readonly security?: {
121
+ readonly allowAnonymous?: boolean | undefined;
122
+ readonly allowed?: {
123
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
124
+ } | undefined;
125
+ readonly disallowed?: {
126
+ [x: string]: Lowercase<string>[];
127
+ } | undefined;
128
+ } | undefined;
129
+ readonly sign?: boolean | undefined;
130
+ readonly storeQueries?: boolean | undefined;
131
+ readonly timestamp?: boolean | undefined;
132
+ }>;
46
133
  ephemeralQueryAccountEnabled?: boolean;
47
134
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
48
135
  }, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
@@ -51,13 +138,42 @@ export declare const asNodeModule: {
51
138
  addToResolvers?: boolean;
52
139
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
53
140
  allowNameResolution?: boolean;
54
- 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 & {
55
- archivist?: string;
56
- } & {
57
- schema: "network.xyo.node.config";
58
- }, "schema"> & {
59
- schema: string;
60
- };
141
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
142
+ schema: import("@xyo-network/payload-model").Schema;
143
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
144
+ readonly archiving?: {
145
+ readonly archivists?: string[] | undefined;
146
+ readonly queries?: string[] | undefined;
147
+ } | undefined;
148
+ readonly allowedQueries?: string[] | undefined;
149
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
150
+ readonly labels?: {
151
+ [x: string]: string | undefined;
152
+ } | undefined;
153
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
154
+ readonly paging?: {
155
+ [x: string]: {
156
+ size?: number | undefined;
157
+ };
158
+ } | undefined;
159
+ readonly retry?: {
160
+ backoff?: number | undefined;
161
+ interval?: number | undefined;
162
+ retries?: number | undefined;
163
+ } | undefined;
164
+ readonly security?: {
165
+ readonly allowAnonymous?: boolean | undefined;
166
+ readonly allowed?: {
167
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
168
+ } | undefined;
169
+ readonly disallowed?: {
170
+ [x: string]: Lowercase<string>[];
171
+ } | undefined;
172
+ } | undefined;
173
+ readonly sign?: boolean | undefined;
174
+ readonly storeQueries?: boolean | undefined;
175
+ readonly timestamp?: boolean | undefined;
176
+ }>;
61
177
  ephemeralQueryAccountEnabled?: boolean;
62
178
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
63
179
  }, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<NodeModule<import("@xylabs/object").BaseParamsFields & {
@@ -65,13 +181,42 @@ export declare const asNodeModule: {
65
181
  addToResolvers?: boolean;
66
182
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
67
183
  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 & {
69
- archivist?: string;
70
- } & {
71
- schema: "network.xyo.node.config";
72
- }, "schema"> & {
73
- schema: string;
74
- };
184
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
185
+ schema: import("@xyo-network/payload-model").Schema;
186
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
187
+ readonly archiving?: {
188
+ readonly archivists?: string[] | undefined;
189
+ readonly queries?: string[] | undefined;
190
+ } | undefined;
191
+ readonly allowedQueries?: string[] | undefined;
192
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
193
+ readonly labels?: {
194
+ [x: string]: string | undefined;
195
+ } | undefined;
196
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
197
+ readonly paging?: {
198
+ [x: string]: {
199
+ size?: number | undefined;
200
+ };
201
+ } | undefined;
202
+ readonly retry?: {
203
+ backoff?: number | undefined;
204
+ interval?: number | undefined;
205
+ retries?: number | undefined;
206
+ } | undefined;
207
+ readonly security?: {
208
+ readonly allowAnonymous?: boolean | undefined;
209
+ readonly allowed?: {
210
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
211
+ } | undefined;
212
+ readonly disallowed?: {
213
+ [x: string]: Lowercase<string>[];
214
+ } | undefined;
215
+ } | undefined;
216
+ readonly sign?: boolean | undefined;
217
+ readonly storeQueries?: boolean | undefined;
218
+ readonly timestamp?: boolean | undefined;
219
+ }>;
75
220
  ephemeralQueryAccountEnabled?: boolean;
76
221
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
77
222
  }, import("./Node.ts").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
@@ -82,13 +227,42 @@ export declare const asNodeInstance: {
82
227
  addToResolvers?: boolean;
83
228
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
84
229
  allowNameResolution?: boolean;
85
- 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 & {
86
- archivist?: string;
87
- } & {
88
- schema: "network.xyo.node.config";
89
- }, "schema"> & {
90
- schema: string;
91
- };
230
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
231
+ schema: import("@xyo-network/payload-model").Schema;
232
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
233
+ readonly archiving?: {
234
+ readonly archivists?: string[] | undefined;
235
+ readonly queries?: string[] | undefined;
236
+ } | undefined;
237
+ readonly allowedQueries?: string[] | undefined;
238
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
239
+ readonly labels?: {
240
+ [x: string]: string | undefined;
241
+ } | undefined;
242
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
243
+ readonly paging?: {
244
+ [x: string]: {
245
+ size?: number | undefined;
246
+ };
247
+ } | undefined;
248
+ readonly retry?: {
249
+ backoff?: number | undefined;
250
+ interval?: number | undefined;
251
+ retries?: number | undefined;
252
+ } | undefined;
253
+ readonly security?: {
254
+ readonly allowAnonymous?: boolean | undefined;
255
+ readonly allowed?: {
256
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
257
+ } | undefined;
258
+ readonly disallowed?: {
259
+ [x: string]: Lowercase<string>[];
260
+ } | undefined;
261
+ } | undefined;
262
+ readonly sign?: boolean | undefined;
263
+ readonly storeQueries?: boolean | undefined;
264
+ readonly timestamp?: boolean | undefined;
265
+ }>;
92
266
  ephemeralQueryAccountEnabled?: boolean;
93
267
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
94
268
  }, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
@@ -97,13 +271,42 @@ export declare const asNodeInstance: {
97
271
  addToResolvers?: boolean;
98
272
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
99
273
  allowNameResolution?: boolean;
100
- 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 & {
101
- archivist?: string;
102
- } & {
103
- schema: "network.xyo.node.config";
104
- }, "schema"> & {
105
- schema: string;
106
- };
274
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
275
+ schema: import("@xyo-network/payload-model").Schema;
276
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
277
+ readonly archiving?: {
278
+ readonly archivists?: string[] | undefined;
279
+ readonly queries?: string[] | undefined;
280
+ } | undefined;
281
+ readonly allowedQueries?: string[] | undefined;
282
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
283
+ readonly labels?: {
284
+ [x: string]: string | undefined;
285
+ } | undefined;
286
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
287
+ readonly paging?: {
288
+ [x: string]: {
289
+ size?: number | undefined;
290
+ };
291
+ } | undefined;
292
+ readonly retry?: {
293
+ backoff?: number | undefined;
294
+ interval?: number | undefined;
295
+ retries?: number | undefined;
296
+ } | undefined;
297
+ readonly security?: {
298
+ readonly allowAnonymous?: boolean | undefined;
299
+ readonly allowed?: {
300
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
301
+ } | undefined;
302
+ readonly disallowed?: {
303
+ [x: string]: Lowercase<string>[];
304
+ } | undefined;
305
+ } | undefined;
306
+ readonly sign?: boolean | undefined;
307
+ readonly storeQueries?: boolean | undefined;
308
+ readonly timestamp?: boolean | undefined;
309
+ }>;
107
310
  ephemeralQueryAccountEnabled?: boolean;
108
311
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
109
312
  }, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<NodeInstance<import("@xylabs/object").BaseParamsFields & {
@@ -111,13 +314,42 @@ export declare const asNodeInstance: {
111
314
  addToResolvers?: boolean;
112
315
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
113
316
  allowNameResolution?: boolean;
114
- 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 & {
115
- archivist?: string;
116
- } & {
117
- schema: "network.xyo.node.config";
118
- }, "schema"> & {
119
- schema: string;
120
- };
317
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
318
+ schema: import("@xyo-network/payload-model").Schema;
319
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
320
+ readonly archiving?: {
321
+ readonly archivists?: string[] | undefined;
322
+ readonly queries?: string[] | undefined;
323
+ } | undefined;
324
+ readonly allowedQueries?: string[] | undefined;
325
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
326
+ readonly labels?: {
327
+ [x: string]: string | undefined;
328
+ } | undefined;
329
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
330
+ readonly paging?: {
331
+ [x: string]: {
332
+ size?: number | undefined;
333
+ };
334
+ } | undefined;
335
+ readonly retry?: {
336
+ backoff?: number | undefined;
337
+ interval?: number | undefined;
338
+ retries?: number | undefined;
339
+ } | undefined;
340
+ readonly security?: {
341
+ readonly allowAnonymous?: boolean | undefined;
342
+ readonly allowed?: {
343
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
344
+ } | undefined;
345
+ readonly disallowed?: {
346
+ [x: string]: Lowercase<string>[];
347
+ } | undefined;
348
+ } | undefined;
349
+ readonly sign?: boolean | undefined;
350
+ readonly storeQueries?: boolean | undefined;
351
+ readonly timestamp?: boolean | undefined;
352
+ }>;
121
353
  ephemeralQueryAccountEnabled?: boolean;
122
354
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
123
355
  }, import("./Node.ts").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
@@ -127,13 +359,42 @@ export declare const withNodeModule: <R>(mod: any, closure: (mod: NodeModule<imp
127
359
  addToResolvers?: boolean;
128
360
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
129
361
  allowNameResolution?: boolean;
130
- 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 & {
131
- archivist?: string;
132
- } & {
133
- schema: "network.xyo.node.config";
134
- }, "schema"> & {
135
- schema: string;
136
- };
362
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
363
+ schema: import("@xyo-network/payload-model").Schema;
364
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
365
+ readonly archiving?: {
366
+ readonly archivists?: string[] | undefined;
367
+ readonly queries?: string[] | undefined;
368
+ } | undefined;
369
+ readonly allowedQueries?: string[] | undefined;
370
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
371
+ readonly labels?: {
372
+ [x: string]: string | undefined;
373
+ } | undefined;
374
+ readonly name?: import("@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
+ }>;
137
398
  ephemeralQueryAccountEnabled?: boolean;
138
399
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
139
400
  }, import("./Node.ts").NodeModuleEventData>) => R) => R | undefined;
@@ -142,13 +403,42 @@ export declare const withNodeInstance: <R>(mod: any, closure: (mod: NodeInstance
142
403
  addToResolvers?: boolean;
143
404
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
144
405
  allowNameResolution?: boolean;
145
- 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 & {
146
- archivist?: string;
147
- } & {
148
- schema: "network.xyo.node.config";
149
- }, "schema"> & {
150
- schema: string;
151
- };
406
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
407
+ schema: import("@xyo-network/payload-model").Schema;
408
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
409
+ readonly archiving?: {
410
+ readonly archivists?: string[] | undefined;
411
+ readonly queries?: string[] | undefined;
412
+ } | undefined;
413
+ readonly allowedQueries?: string[] | undefined;
414
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
415
+ readonly labels?: {
416
+ [x: string]: string | undefined;
417
+ } | undefined;
418
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
419
+ readonly paging?: {
420
+ [x: string]: {
421
+ size?: number | undefined;
422
+ };
423
+ } | undefined;
424
+ readonly retry?: {
425
+ backoff?: number | undefined;
426
+ interval?: number | undefined;
427
+ retries?: number | undefined;
428
+ } | undefined;
429
+ readonly security?: {
430
+ readonly allowAnonymous?: boolean | undefined;
431
+ readonly allowed?: {
432
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
433
+ } | undefined;
434
+ readonly disallowed?: {
435
+ [x: string]: Lowercase<string>[];
436
+ } | undefined;
437
+ } | undefined;
438
+ readonly sign?: boolean | undefined;
439
+ readonly storeQueries?: boolean | undefined;
440
+ readonly timestamp?: boolean | undefined;
441
+ }>;
152
442
  ephemeralQueryAccountEnabled?: boolean;
153
443
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
154
444
  }, import("./Node.ts").NodeModuleEventData>) => R) => R | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAK3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;4CAS1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;;;;4CAAkD,CAAA;AAE3E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;+DApBa,iBAC3B,iCAAiC,gBAE1C;;;;;;;;;;;;;;;+DAEgB,iBAAiB;;;;;;;;;;;;;;kEAIZ,gBACL;CAU8C,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;+DArBW,iBAC3B,iCAAiC,gBAE1C;;;;;;;;;;;;;;;+DAEgB,iBAAiB;;;;;;;;;;;;;;kEAIZ,gBACL;CAWkD,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;mEAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;mEAAqC,CAAA"}
1
+ {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAK3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAS1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAkD,CAAA;AAE3E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DApBY,iBAC3B,iCAAiC,gBAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEgB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAIZ,gBACL;CAU+C,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DArBU,iBAC3B,iCAAiC,gBAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEgB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAIZ,gBACL;CAWmD,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAAqC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/node-model",
3
- "version": "3.5.2",
3
+ "version": "3.6.0-rc.10",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,20 +29,21 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/hex": "^4.4.9",
33
- "@xylabs/object": "^4.4.9",
34
- "@xylabs/typeof": "^4.4.9",
35
- "@xyo-network/account-model": "^3.5.2",
36
- "@xyo-network/module-events": "^3.5.2",
37
- "@xyo-network/module-model": "^3.5.2",
38
- "@xyo-network/payload-model": "^3.5.2"
32
+ "@xylabs/hex": "^4.4.21",
33
+ "@xylabs/object": "^4.4.21",
34
+ "@xylabs/typeof": "^4.4.21",
35
+ "@xyo-network/account-model": "^3.6.0-rc.10",
36
+ "@xyo-network/module-events": "^3.6.0-rc.10",
37
+ "@xyo-network/module-model": "^3.6.0-rc.10",
38
+ "@xyo-network/payload-model": "^3.6.0-rc.10"
39
39
  },
40
40
  "devDependencies": {
41
- "@xylabs/ts-scripts-yarn3": "^4.2.4",
42
- "@xylabs/tsconfig": "^4.2.4",
41
+ "@xylabs/ts-scripts-yarn3": "^4.2.6",
42
+ "@xylabs/tsconfig": "^4.2.6",
43
43
  "typescript": "^5.7.2"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
47
- }
47
+ },
48
+ "stableVersion": "3.5.2"
48
49
  }