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