@xyo-network/sentinel-wrapper 3.9.2 → 3.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.d.ts +7 -262
- package/package.json +17 -17
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import * as _xyo_network_sentinel_model from '@xyo-network/sentinel-model';
|
|
2
|
-
import { SentinelModule, SentinelInstance } from '@xyo-network/sentinel-model';
|
|
3
1
|
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
4
2
|
import { ModuleQueryResult } from '@xyo-network/module-model';
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
3
|
+
import * as _xyo_network_sentinel_model from '@xyo-network/sentinel-model';
|
|
4
|
+
import { SentinelModule, SentinelInstance } from '@xyo-network/sentinel-model';
|
|
7
5
|
import * as _xylabs_object from '@xylabs/object';
|
|
8
6
|
import { AccountInstance } from '@xyo-network/account-model';
|
|
9
7
|
import { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
10
8
|
import { ModuleWrapper } from '@xyo-network/module-wrapper';
|
|
9
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
11
10
|
import { WitnessInstance } from '@xyo-network/witness-model';
|
|
12
11
|
|
|
13
12
|
declare class SentinelWrapper<TModule extends SentinelModule = SentinelModule> extends ModuleWrapper<TModule> implements SentinelInstance<TModule['params']> {
|
|
@@ -16,99 +15,7 @@ declare class SentinelWrapper<TModule extends SentinelModule = SentinelModule> e
|
|
|
16
15
|
addToResolvers?: boolean;
|
|
17
16
|
additionalSigners?: AccountInstance[];
|
|
18
17
|
allowNameResolution?: boolean;
|
|
19
|
-
config:
|
|
20
|
-
schema: _xyo_network_payload_model.Schema;
|
|
21
|
-
readonly archiving?: {
|
|
22
|
-
readonly archivists?: string[] | undefined;
|
|
23
|
-
readonly queries?: string[] | undefined;
|
|
24
|
-
} | undefined;
|
|
25
|
-
readonly allowedQueries?: string[] | undefined;
|
|
26
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
27
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
28
|
-
readonly labels?: {
|
|
29
|
-
[x: string]: string | undefined;
|
|
30
|
-
} | undefined;
|
|
31
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
32
|
-
readonly paging?: {
|
|
33
|
-
[x: string]: {
|
|
34
|
-
size?: number | undefined;
|
|
35
|
-
};
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly retry?: {
|
|
38
|
-
backoff?: number | undefined;
|
|
39
|
-
interval?: number | undefined;
|
|
40
|
-
retries?: number | undefined;
|
|
41
|
-
} | undefined;
|
|
42
|
-
readonly security?: {
|
|
43
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
44
|
-
readonly allowed?: {
|
|
45
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
46
|
-
} | undefined;
|
|
47
|
-
readonly disallowed?: {
|
|
48
|
-
[x: string]: Lowercase<string>[];
|
|
49
|
-
} | undefined;
|
|
50
|
-
} | undefined;
|
|
51
|
-
readonly sign?: boolean | undefined;
|
|
52
|
-
readonly storeQueries?: boolean | undefined;
|
|
53
|
-
readonly timestamp?: boolean | undefined;
|
|
54
|
-
automations?: ({
|
|
55
|
-
schema: "network.xyo.automation";
|
|
56
|
-
type: "interval";
|
|
57
|
-
end?: number | undefined;
|
|
58
|
-
frequency?: number | undefined;
|
|
59
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
60
|
-
remaining?: number | undefined;
|
|
61
|
-
start: number;
|
|
62
|
-
} | {
|
|
63
|
-
schema: "network.xyo.automation.interval";
|
|
64
|
-
type: "interval";
|
|
65
|
-
end?: number | undefined;
|
|
66
|
-
frequency?: number | undefined;
|
|
67
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
68
|
-
remaining?: number | undefined;
|
|
69
|
-
start: number;
|
|
70
|
-
} | {
|
|
71
|
-
schema: "network.xyo.automation.event";
|
|
72
|
-
type: "interval";
|
|
73
|
-
end?: number | undefined;
|
|
74
|
-
frequency?: number | undefined;
|
|
75
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
76
|
-
remaining?: number | undefined;
|
|
77
|
-
start: number;
|
|
78
|
-
} | {
|
|
79
|
-
schema: "network.xyo.automation";
|
|
80
|
-
type: "event";
|
|
81
|
-
} | {
|
|
82
|
-
schema: "network.xyo.automation.interval";
|
|
83
|
-
type: "event";
|
|
84
|
-
} | {
|
|
85
|
-
schema: "network.xyo.automation.event";
|
|
86
|
-
type: "event";
|
|
87
|
-
})[] | undefined;
|
|
88
|
-
synchronous?: boolean | undefined;
|
|
89
|
-
tasks: ({
|
|
90
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
91
|
-
input?: string | boolean | string[] | undefined;
|
|
92
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
93
|
-
required?: boolean | undefined;
|
|
94
|
-
} | {
|
|
95
|
-
endPoint?: "divine" | undefined;
|
|
96
|
-
input?: string | boolean | string[] | undefined;
|
|
97
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
98
|
-
required?: boolean | undefined;
|
|
99
|
-
} | {
|
|
100
|
-
endPoint?: "observe" | undefined;
|
|
101
|
-
input?: string | boolean | string[] | undefined;
|
|
102
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
103
|
-
required?: boolean | undefined;
|
|
104
|
-
} | {
|
|
105
|
-
endPoint?: string | undefined;
|
|
106
|
-
input?: string | boolean | string[] | undefined;
|
|
107
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
108
|
-
required?: boolean | undefined;
|
|
109
|
-
})[];
|
|
110
|
-
throwErrors?: boolean | undefined;
|
|
111
|
-
}>;
|
|
18
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_sentinel_model.SentinelConfig>;
|
|
112
19
|
ephemeralQueryAccountEnabled?: boolean;
|
|
113
20
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
114
21
|
}, _xyo_network_sentinel_model.SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
@@ -116,42 +23,7 @@ declare class SentinelWrapper<TModule extends SentinelModule = SentinelModule> e
|
|
|
116
23
|
addToResolvers?: boolean;
|
|
117
24
|
additionalSigners?: AccountInstance[];
|
|
118
25
|
allowNameResolution?: boolean;
|
|
119
|
-
config:
|
|
120
|
-
schema: _xyo_network_payload_model.Schema;
|
|
121
|
-
readonly archiving?: {
|
|
122
|
-
readonly archivists?: string[] | undefined;
|
|
123
|
-
readonly queries?: string[] | undefined;
|
|
124
|
-
} | undefined;
|
|
125
|
-
readonly allowedQueries?: string[] | undefined;
|
|
126
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
127
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
128
|
-
readonly labels?: {
|
|
129
|
-
[x: string]: string | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
132
|
-
readonly paging?: {
|
|
133
|
-
[x: string]: {
|
|
134
|
-
size?: number | undefined;
|
|
135
|
-
};
|
|
136
|
-
} | undefined;
|
|
137
|
-
readonly retry?: {
|
|
138
|
-
backoff?: number | undefined;
|
|
139
|
-
interval?: number | undefined;
|
|
140
|
-
retries?: number | undefined;
|
|
141
|
-
} | undefined;
|
|
142
|
-
readonly security?: {
|
|
143
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
144
|
-
readonly allowed?: {
|
|
145
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
146
|
-
} | undefined;
|
|
147
|
-
readonly disallowed?: {
|
|
148
|
-
[x: string]: Lowercase<string>[];
|
|
149
|
-
} | undefined;
|
|
150
|
-
} | undefined;
|
|
151
|
-
readonly sign?: boolean | undefined;
|
|
152
|
-
readonly storeQueries?: boolean | undefined;
|
|
153
|
-
readonly timestamp?: boolean | undefined;
|
|
154
|
-
}>;
|
|
26
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
|
|
155
27
|
ephemeralQueryAccountEnabled?: boolean;
|
|
156
28
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
157
29
|
}, _xyo_network_module_model.ModuleEventData<object>>>>>;
|
|
@@ -160,99 +32,7 @@ declare class SentinelWrapper<TModule extends SentinelModule = SentinelModule> e
|
|
|
160
32
|
addToResolvers?: boolean;
|
|
161
33
|
additionalSigners?: AccountInstance[];
|
|
162
34
|
allowNameResolution?: boolean;
|
|
163
|
-
config:
|
|
164
|
-
schema: _xyo_network_payload_model.Schema;
|
|
165
|
-
readonly archiving?: {
|
|
166
|
-
readonly archivists?: string[] | undefined;
|
|
167
|
-
readonly queries?: string[] | undefined;
|
|
168
|
-
} | undefined;
|
|
169
|
-
readonly allowedQueries?: string[] | undefined;
|
|
170
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
171
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
172
|
-
readonly labels?: {
|
|
173
|
-
[x: string]: string | undefined;
|
|
174
|
-
} | undefined;
|
|
175
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
176
|
-
readonly paging?: {
|
|
177
|
-
[x: string]: {
|
|
178
|
-
size?: number | undefined;
|
|
179
|
-
};
|
|
180
|
-
} | undefined;
|
|
181
|
-
readonly retry?: {
|
|
182
|
-
backoff?: number | undefined;
|
|
183
|
-
interval?: number | undefined;
|
|
184
|
-
retries?: number | undefined;
|
|
185
|
-
} | undefined;
|
|
186
|
-
readonly security?: {
|
|
187
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
188
|
-
readonly allowed?: {
|
|
189
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
190
|
-
} | undefined;
|
|
191
|
-
readonly disallowed?: {
|
|
192
|
-
[x: string]: Lowercase<string>[];
|
|
193
|
-
} | undefined;
|
|
194
|
-
} | undefined;
|
|
195
|
-
readonly sign?: boolean | undefined;
|
|
196
|
-
readonly storeQueries?: boolean | undefined;
|
|
197
|
-
readonly timestamp?: boolean | undefined;
|
|
198
|
-
automations?: ({
|
|
199
|
-
schema: "network.xyo.automation";
|
|
200
|
-
type: "interval";
|
|
201
|
-
end?: number | undefined;
|
|
202
|
-
frequency?: number | undefined;
|
|
203
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
204
|
-
remaining?: number | undefined;
|
|
205
|
-
start: number;
|
|
206
|
-
} | {
|
|
207
|
-
schema: "network.xyo.automation.interval";
|
|
208
|
-
type: "interval";
|
|
209
|
-
end?: number | undefined;
|
|
210
|
-
frequency?: number | undefined;
|
|
211
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
212
|
-
remaining?: number | undefined;
|
|
213
|
-
start: number;
|
|
214
|
-
} | {
|
|
215
|
-
schema: "network.xyo.automation.event";
|
|
216
|
-
type: "interval";
|
|
217
|
-
end?: number | undefined;
|
|
218
|
-
frequency?: number | undefined;
|
|
219
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
220
|
-
remaining?: number | undefined;
|
|
221
|
-
start: number;
|
|
222
|
-
} | {
|
|
223
|
-
schema: "network.xyo.automation";
|
|
224
|
-
type: "event";
|
|
225
|
-
} | {
|
|
226
|
-
schema: "network.xyo.automation.interval";
|
|
227
|
-
type: "event";
|
|
228
|
-
} | {
|
|
229
|
-
schema: "network.xyo.automation.event";
|
|
230
|
-
type: "event";
|
|
231
|
-
})[] | undefined;
|
|
232
|
-
synchronous?: boolean | undefined;
|
|
233
|
-
tasks: ({
|
|
234
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
235
|
-
input?: string | boolean | string[] | undefined;
|
|
236
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
237
|
-
required?: boolean | undefined;
|
|
238
|
-
} | {
|
|
239
|
-
endPoint?: "divine" | undefined;
|
|
240
|
-
input?: string | boolean | string[] | undefined;
|
|
241
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
242
|
-
required?: boolean | undefined;
|
|
243
|
-
} | {
|
|
244
|
-
endPoint?: "observe" | undefined;
|
|
245
|
-
input?: string | boolean | string[] | undefined;
|
|
246
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
247
|
-
required?: boolean | undefined;
|
|
248
|
-
} | {
|
|
249
|
-
endPoint?: string | undefined;
|
|
250
|
-
input?: string | boolean | string[] | undefined;
|
|
251
|
-
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
252
|
-
required?: boolean | undefined;
|
|
253
|
-
})[];
|
|
254
|
-
throwErrors?: boolean | undefined;
|
|
255
|
-
}>;
|
|
35
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_sentinel_model.SentinelConfig>;
|
|
256
36
|
ephemeralQueryAccountEnabled?: boolean;
|
|
257
37
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
258
38
|
}, _xyo_network_sentinel_model.SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
@@ -260,42 +40,7 @@ declare class SentinelWrapper<TModule extends SentinelModule = SentinelModule> e
|
|
|
260
40
|
addToResolvers?: boolean;
|
|
261
41
|
additionalSigners?: AccountInstance[];
|
|
262
42
|
allowNameResolution?: boolean;
|
|
263
|
-
config:
|
|
264
|
-
schema: _xyo_network_payload_model.Schema;
|
|
265
|
-
readonly archiving?: {
|
|
266
|
-
readonly archivists?: string[] | undefined;
|
|
267
|
-
readonly queries?: string[] | undefined;
|
|
268
|
-
} | undefined;
|
|
269
|
-
readonly allowedQueries?: string[] | undefined;
|
|
270
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
271
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
272
|
-
readonly labels?: {
|
|
273
|
-
[x: string]: string | undefined;
|
|
274
|
-
} | undefined;
|
|
275
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
276
|
-
readonly paging?: {
|
|
277
|
-
[x: string]: {
|
|
278
|
-
size?: number | undefined;
|
|
279
|
-
};
|
|
280
|
-
} | undefined;
|
|
281
|
-
readonly retry?: {
|
|
282
|
-
backoff?: number | undefined;
|
|
283
|
-
interval?: number | undefined;
|
|
284
|
-
retries?: number | undefined;
|
|
285
|
-
} | undefined;
|
|
286
|
-
readonly security?: {
|
|
287
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
288
|
-
readonly allowed?: {
|
|
289
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
290
|
-
} | undefined;
|
|
291
|
-
readonly disallowed?: {
|
|
292
|
-
[x: string]: Lowercase<string>[];
|
|
293
|
-
} | undefined;
|
|
294
|
-
} | undefined;
|
|
295
|
-
readonly sign?: boolean | undefined;
|
|
296
|
-
readonly storeQueries?: boolean | undefined;
|
|
297
|
-
readonly timestamp?: boolean | undefined;
|
|
298
|
-
}>;
|
|
43
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
|
|
299
44
|
ephemeralQueryAccountEnabled?: boolean;
|
|
300
45
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
301
46
|
}, _xyo_network_module_model.ModuleEventData<object>>>>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/sentinel-wrapper",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.3",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,28 +29,28 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xyo-network/account-model": "^3.9.
|
|
33
|
-
"@xyo-network/archivist-model": "^3.9.
|
|
34
|
-
"@xyo-network/module-model": "^3.9.
|
|
35
|
-
"@xyo-network/module-wrapper": "^3.9.
|
|
36
|
-
"@xyo-network/payload-model": "^3.9.
|
|
37
|
-
"@xyo-network/sentinel-model": "^3.9.
|
|
38
|
-
"@xyo-network/witness-model": "^3.9.
|
|
32
|
+
"@xyo-network/account-model": "^3.9.3",
|
|
33
|
+
"@xyo-network/archivist-model": "^3.9.3",
|
|
34
|
+
"@xyo-network/module-model": "^3.9.3",
|
|
35
|
+
"@xyo-network/module-wrapper": "^3.9.3",
|
|
36
|
+
"@xyo-network/payload-model": "^3.9.3",
|
|
37
|
+
"@xyo-network/sentinel-model": "^3.9.3",
|
|
38
|
+
"@xyo-network/witness-model": "^3.9.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@xylabs/delay": "^4.5.1",
|
|
42
42
|
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|
|
43
43
|
"@xylabs/tsconfig": "^5.0.24",
|
|
44
44
|
"@xylabs/vitest-extended": "^4.5.1",
|
|
45
|
-
"@xyo-network/abstract-witness": "^3.9.
|
|
46
|
-
"@xyo-network/account": "^3.9.
|
|
47
|
-
"@xyo-network/archivist-memory": "^3.9.
|
|
48
|
-
"@xyo-network/boundwitness-model": "^3.9.
|
|
49
|
-
"@xyo-network/module-model": "^3.9.
|
|
50
|
-
"@xyo-network/node-memory": "^3.9.
|
|
51
|
-
"@xyo-network/payload-builder": "^3.9.
|
|
52
|
-
"@xyo-network/sentinel-memory": "^3.9.
|
|
53
|
-
"@xyo-network/witness-adhoc": "^3.9.
|
|
45
|
+
"@xyo-network/abstract-witness": "^3.9.3",
|
|
46
|
+
"@xyo-network/account": "^3.9.3",
|
|
47
|
+
"@xyo-network/archivist-memory": "^3.9.3",
|
|
48
|
+
"@xyo-network/boundwitness-model": "^3.9.3",
|
|
49
|
+
"@xyo-network/module-model": "^3.9.3",
|
|
50
|
+
"@xyo-network/node-memory": "^3.9.3",
|
|
51
|
+
"@xyo-network/payload-builder": "^3.9.3",
|
|
52
|
+
"@xyo-network/sentinel-memory": "^3.9.3",
|
|
53
|
+
"@xyo-network/witness-adhoc": "^3.9.3",
|
|
54
54
|
"typescript": "^5.7.3",
|
|
55
55
|
"vitest": "^3.0.5"
|
|
56
56
|
},
|