@xyo-network/sentinel-model 3.18.10 → 4.0.0
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/types/Params.d.ts +2 -2
- package/dist/types/Params.d.ts.map +1 -1
- package/dist/types/attachable/asAttachableInstance.d.ts +1 -19
- package/dist/types/attachable/asAttachableInstance.d.ts.map +1 -1
- package/dist/types/typeChecks.d.ts +6 -114
- package/dist/types/typeChecks.d.ts.map +1 -1
- package/package.json +15 -15
- package/src/Params.ts +4 -4
package/dist/types/Params.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EmptyObject } from '@xylabs/object';
|
|
2
1
|
import type { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
3
2
|
import type { SentinelConfig } from './Config.ts';
|
|
4
|
-
export
|
|
3
|
+
export interface SentinelParams<TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>> extends ModuleParams<TConfig> {
|
|
4
|
+
}
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,WAAW,cAAc,CAC7B,OAAO,SAAS,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,CACjF,SAAQ,YAAY,CAAC,OAAO,CAAC;CAE9B"}
|
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
export declare const asAttachableSentinelInstance: import("@xylabs/object").AsTypeFunction<import("./AttachableInstance.ts").AttachableSentinelInstance<import("@
|
|
2
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
3
|
-
addToResolvers?: boolean;
|
|
4
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
5
|
-
allowNameResolution?: boolean;
|
|
6
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("../Config.ts").SentinelConfig>;
|
|
7
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
8
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
9
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
10
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("../EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/base").BaseParamsFields & {
|
|
11
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
12
|
-
addToResolvers?: boolean;
|
|
13
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
14
|
-
allowNameResolution?: boolean;
|
|
15
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>;
|
|
16
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
17
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
18
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
19
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
1
|
+
export declare const asAttachableSentinelInstance: import("@xylabs/object").AsTypeFunction<import("./AttachableInstance.ts").AttachableSentinelInstance<import("../Params.ts").SentinelParams<import("@xyo-network/module-model").AnyConfigSchema<import("../Config.ts").SentinelConfig>>, import("../EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xyo-network/module-model").ModuleParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>>, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
20
2
|
//# sourceMappingURL=asAttachableInstance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,4BAA4B,+hBAAuD,CAAA"}
|
|
@@ -1,117 +1,9 @@
|
|
|
1
1
|
import type { SentinelInstance } from './Instance.ts';
|
|
2
2
|
import type { SentinelModule } from './Module.ts';
|
|
3
|
-
export declare const isSentinelInstance: import("@xylabs/object").TypeCheck<SentinelInstance<import("@
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
10
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
11
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
12
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/base").BaseParamsFields & {
|
|
13
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
14
|
-
addToResolvers?: boolean;
|
|
15
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
16
|
-
allowNameResolution?: boolean;
|
|
17
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>;
|
|
18
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
19
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
20
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
21
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
22
|
-
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule<import("@xylabs/base").BaseParamsFields & {
|
|
23
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
24
|
-
addToResolvers?: boolean;
|
|
25
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
26
|
-
allowNameResolution?: boolean;
|
|
27
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>;
|
|
28
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
29
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
30
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
31
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/base").BaseParamsFields & {
|
|
32
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
33
|
-
addToResolvers?: boolean;
|
|
34
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
35
|
-
allowNameResolution?: boolean;
|
|
36
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>;
|
|
37
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
38
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
39
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
40
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
41
|
-
export declare const asSentinelModule: import("@xylabs/object").AsTypeFunction<SentinelModule<import("@xylabs/base").BaseParamsFields & {
|
|
42
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
43
|
-
addToResolvers?: boolean;
|
|
44
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
45
|
-
allowNameResolution?: boolean;
|
|
46
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>;
|
|
47
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
48
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
49
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
50
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/base").BaseParamsFields & {
|
|
51
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
52
|
-
addToResolvers?: boolean;
|
|
53
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
54
|
-
allowNameResolution?: boolean;
|
|
55
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>;
|
|
56
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
57
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
58
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
59
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
60
|
-
export declare const asSentinelInstance: import("@xylabs/object").AsTypeFunction<SentinelInstance<import("@xylabs/base").BaseParamsFields & {
|
|
61
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
62
|
-
addToResolvers?: boolean;
|
|
63
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
64
|
-
allowNameResolution?: boolean;
|
|
65
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>;
|
|
66
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
67
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
68
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
69
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/base").BaseParamsFields & {
|
|
70
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
71
|
-
addToResolvers?: boolean;
|
|
72
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
73
|
-
allowNameResolution?: boolean;
|
|
74
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>;
|
|
75
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
76
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
77
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
78
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
79
|
-
export declare const withSentinelModule: <R>(mod: any, closure: (mod: SentinelModule<import("@xylabs/base").BaseParamsFields & {
|
|
80
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
81
|
-
addToResolvers?: boolean;
|
|
82
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
83
|
-
allowNameResolution?: boolean;
|
|
84
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>;
|
|
85
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
86
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
87
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
88
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/base").BaseParamsFields & {
|
|
89
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
90
|
-
addToResolvers?: boolean;
|
|
91
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
92
|
-
allowNameResolution?: boolean;
|
|
93
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>;
|
|
94
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
95
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
96
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
97
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/module-model").ModuleEventData<object>>>>) => R) => R | undefined;
|
|
98
|
-
export declare const withSentinelInstance: <R>(mod: any, closure: (mod: SentinelInstance<import("@xylabs/base").BaseParamsFields & {
|
|
99
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
100
|
-
addToResolvers?: boolean;
|
|
101
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
102
|
-
allowNameResolution?: boolean;
|
|
103
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>;
|
|
104
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
105
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
106
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
107
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/base").BaseParamsFields & {
|
|
108
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
109
|
-
addToResolvers?: boolean;
|
|
110
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
111
|
-
allowNameResolution?: boolean;
|
|
112
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>;
|
|
113
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
114
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
115
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
116
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/module-model").ModuleEventData<object>>>>) => R) => R | undefined;
|
|
3
|
+
export declare const isSentinelInstance: import("@xylabs/object").TypeCheck<SentinelInstance<import("./Params.ts").SentinelParams<import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>>, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xyo-network/module-model").ModuleParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>>, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
4
|
+
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule<import("./Params.ts").SentinelParams<import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>>, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xyo-network/module-model").ModuleParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>>, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
5
|
+
export declare const asSentinelModule: import("@xylabs/object").AsTypeFunction<SentinelModule<import("./Params.ts").SentinelParams<import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>>, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xyo-network/module-model").ModuleParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>>, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
6
|
+
export declare const asSentinelInstance: import("@xylabs/object").AsTypeFunction<SentinelInstance<import("./Params.ts").SentinelParams<import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>>, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xyo-network/module-model").ModuleParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>>, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
7
|
+
export declare const withSentinelModule: <R>(mod: any, closure: (mod: SentinelModule<import("./Params.ts").SentinelParams<import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>>, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xyo-network/module-model").ModuleParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>>, import("@xyo-network/module-model").ModuleEventData<object>>>>) => R) => R | undefined;
|
|
8
|
+
export declare const withSentinelInstance: <R>(mod: any, closure: (mod: SentinelInstance<import("./Params.ts").SentinelParams<import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").SentinelConfig>>, import("./EventData.ts").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xyo-network/module-model").ModuleParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/module-model").ModuleConfig>>, import("@xyo-network/module-model").ModuleEventData<object>>>>) => R) => R | undefined;
|
|
117
9
|
//# sourceMappingURL=typeChecks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAGjD,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAGjD,eAAO,MAAM,kBAAkB,2eAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB,0fAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB,8eAA2C,CAAA;AACxE,eAAO,MAAM,kBAAkB,gfAA6C,CAAA;AAC5E,eAAO,MAAM,kBAAkB,0fAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB,4fAAyC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/sentinel-model",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,22 +29,22 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/types/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/events": "^4.
|
|
33
|
-
"@xylabs/hex": "^4.
|
|
34
|
-
"@xylabs/object": "^4.
|
|
35
|
-
"@xylabs/promise": "^4.
|
|
36
|
-
"@xylabs/typeof": "^4.
|
|
37
|
-
"@xyo-network/account-model": "^
|
|
38
|
-
"@xyo-network/archivist-model": "^
|
|
39
|
-
"@xyo-network/boundwitness-model": "^
|
|
40
|
-
"@xyo-network/diviner-model": "^
|
|
41
|
-
"@xyo-network/module-model": "^
|
|
42
|
-
"@xyo-network/payload-model": "^
|
|
43
|
-
"@xyo-network/witness-model": "^
|
|
32
|
+
"@xylabs/events": "^4.12.30",
|
|
33
|
+
"@xylabs/hex": "^4.12.30",
|
|
34
|
+
"@xylabs/object": "^4.12.30",
|
|
35
|
+
"@xylabs/promise": "^4.12.30",
|
|
36
|
+
"@xylabs/typeof": "^4.12.30",
|
|
37
|
+
"@xyo-network/account-model": "^4.0.0",
|
|
38
|
+
"@xyo-network/archivist-model": "^4.0.0",
|
|
39
|
+
"@xyo-network/boundwitness-model": "^4.0.0",
|
|
40
|
+
"@xyo-network/diviner-model": "^4.0.0",
|
|
41
|
+
"@xyo-network/module-model": "^4.0.0",
|
|
42
|
+
"@xyo-network/payload-model": "^4.0.0",
|
|
43
|
+
"@xyo-network/witness-model": "^4.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@xylabs/ts-scripts-yarn3": "^6.5.
|
|
47
|
-
"@xylabs/tsconfig": "^6.5.
|
|
46
|
+
"@xylabs/ts-scripts-yarn3": "^6.5.12",
|
|
47
|
+
"@xylabs/tsconfig": "^6.5.12",
|
|
48
48
|
"typescript": "^5.8.3"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
package/src/Params.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { EmptyObject } from '@xylabs/object'
|
|
2
1
|
import type { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model'
|
|
3
2
|
|
|
4
3
|
import type { SentinelConfig } from './Config.ts'
|
|
5
4
|
|
|
6
|
-
export
|
|
5
|
+
export interface SentinelParams<
|
|
7
6
|
TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>,
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
> extends ModuleParams<TConfig> {
|
|
8
|
+
|
|
9
|
+
}
|