@xyo-network/sentinel-model 2.99.2 → 2.99.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/browser/typeChecks.d.cts +4 -4
- package/dist/browser/typeChecks.d.mts +4 -4
- package/dist/browser/typeChecks.d.ts +4 -4
- package/dist/neutral/Automation.d.cts +51 -0
- package/dist/neutral/Automation.d.cts.map +1 -0
- package/dist/neutral/Automation.d.mts +51 -0
- package/dist/neutral/Automation.d.mts.map +1 -0
- package/dist/neutral/Automation.d.ts +51 -0
- package/dist/neutral/Automation.d.ts.map +1 -0
- package/dist/neutral/Config.d.cts +15 -0
- package/dist/neutral/Config.d.cts.map +1 -0
- package/dist/neutral/Config.d.mts +15 -0
- package/dist/neutral/Config.d.mts.map +1 -0
- package/dist/neutral/Config.d.ts +15 -0
- package/dist/neutral/Config.d.ts.map +1 -0
- package/dist/neutral/EventData.d.cts +5 -0
- package/dist/neutral/EventData.d.cts.map +1 -0
- package/dist/neutral/EventData.d.mts +5 -0
- package/dist/neutral/EventData.d.mts.map +1 -0
- package/dist/neutral/EventData.d.ts +5 -0
- package/dist/neutral/EventData.d.ts.map +1 -0
- package/dist/neutral/EventsModels/JobEnd.d.cts +12 -0
- package/dist/neutral/EventsModels/JobEnd.d.cts.map +1 -0
- package/dist/neutral/EventsModels/JobEnd.d.mts +12 -0
- package/dist/neutral/EventsModels/JobEnd.d.mts.map +1 -0
- package/dist/neutral/EventsModels/JobEnd.d.ts +12 -0
- package/dist/neutral/EventsModels/JobEnd.d.ts.map +1 -0
- package/dist/neutral/EventsModels/JobStart.d.cts +10 -0
- package/dist/neutral/EventsModels/JobStart.d.cts.map +1 -0
- package/dist/neutral/EventsModels/JobStart.d.mts +10 -0
- package/dist/neutral/EventsModels/JobStart.d.mts.map +1 -0
- package/dist/neutral/EventsModels/JobStart.d.ts +10 -0
- package/dist/neutral/EventsModels/JobStart.d.ts.map +1 -0
- package/dist/neutral/EventsModels/ReportEnd.d.cts +13 -0
- package/dist/neutral/EventsModels/ReportEnd.d.cts.map +1 -0
- package/dist/neutral/EventsModels/ReportEnd.d.mts +13 -0
- package/dist/neutral/EventsModels/ReportEnd.d.mts.map +1 -0
- package/dist/neutral/EventsModels/ReportEnd.d.ts +13 -0
- package/dist/neutral/EventsModels/ReportEnd.d.ts.map +1 -0
- package/dist/neutral/EventsModels/ReportStart.d.cts +10 -0
- package/dist/neutral/EventsModels/ReportStart.d.cts.map +1 -0
- package/dist/neutral/EventsModels/ReportStart.d.mts +10 -0
- package/dist/neutral/EventsModels/ReportStart.d.mts.map +1 -0
- package/dist/neutral/EventsModels/ReportStart.d.ts +10 -0
- package/dist/neutral/EventsModels/ReportStart.d.ts.map +1 -0
- package/dist/neutral/EventsModels/TaskEnd.d.cts +14 -0
- package/dist/neutral/EventsModels/TaskEnd.d.cts.map +1 -0
- package/dist/neutral/EventsModels/TaskEnd.d.mts +14 -0
- package/dist/neutral/EventsModels/TaskEnd.d.mts.map +1 -0
- package/dist/neutral/EventsModels/TaskEnd.d.ts +14 -0
- package/dist/neutral/EventsModels/TaskEnd.d.ts.map +1 -0
- package/dist/neutral/EventsModels/TaskStart.d.cts +13 -0
- package/dist/neutral/EventsModels/TaskStart.d.cts.map +1 -0
- package/dist/neutral/EventsModels/TaskStart.d.mts +13 -0
- package/dist/neutral/EventsModels/TaskStart.d.mts.map +1 -0
- package/dist/neutral/EventsModels/TaskStart.d.ts +13 -0
- package/dist/neutral/EventsModels/TaskStart.d.ts.map +1 -0
- package/dist/neutral/EventsModels/index.d.cts +7 -0
- package/dist/neutral/EventsModels/index.d.cts.map +1 -0
- package/dist/neutral/EventsModels/index.d.mts +7 -0
- package/dist/neutral/EventsModels/index.d.mts.map +1 -0
- package/dist/neutral/EventsModels/index.d.ts +7 -0
- package/dist/neutral/EventsModels/index.d.ts.map +1 -0
- package/dist/neutral/Instance.d.cts +10 -0
- package/dist/neutral/Instance.d.cts.map +1 -0
- package/dist/neutral/Instance.d.mts +10 -0
- package/dist/neutral/Instance.d.mts.map +1 -0
- package/dist/neutral/Instance.d.ts +10 -0
- package/dist/neutral/Instance.d.ts.map +1 -0
- package/dist/neutral/Job.d.cts +5 -0
- package/dist/neutral/Job.d.cts.map +1 -0
- package/dist/neutral/Job.d.mts +5 -0
- package/dist/neutral/Job.d.mts.map +1 -0
- package/dist/neutral/Job.d.ts +5 -0
- package/dist/neutral/Job.d.ts.map +1 -0
- package/dist/neutral/Module.d.cts +8 -0
- package/dist/neutral/Module.d.cts.map +1 -0
- package/dist/neutral/Module.d.mts +8 -0
- package/dist/neutral/Module.d.mts.map +1 -0
- package/dist/neutral/Module.d.ts +8 -0
- package/dist/neutral/Module.d.ts.map +1 -0
- package/dist/neutral/Params.d.cts +5 -0
- package/dist/neutral/Params.d.cts.map +1 -0
- package/dist/neutral/Params.d.mts +5 -0
- package/dist/neutral/Params.d.mts.map +1 -0
- package/dist/neutral/Params.d.ts +5 -0
- package/dist/neutral/Params.d.ts.map +1 -0
- package/dist/neutral/Queries/Report.d.cts +7 -0
- package/dist/neutral/Queries/Report.d.cts.map +1 -0
- package/dist/neutral/Queries/Report.d.mts +7 -0
- package/dist/neutral/Queries/Report.d.mts.map +1 -0
- package/dist/neutral/Queries/Report.d.ts +7 -0
- package/dist/neutral/Queries/Report.d.ts.map +1 -0
- package/dist/neutral/Queries/index.d.cts +6 -0
- package/dist/neutral/Queries/index.d.cts.map +1 -0
- package/dist/neutral/Queries/index.d.mts +6 -0
- package/dist/neutral/Queries/index.d.mts.map +1 -0
- package/dist/neutral/Queries/index.d.ts +6 -0
- package/dist/neutral/Queries/index.d.ts.map +1 -0
- package/dist/neutral/ResolvedTask.d.cts +14 -0
- package/dist/neutral/ResolvedTask.d.cts.map +1 -0
- package/dist/neutral/ResolvedTask.d.mts +14 -0
- package/dist/neutral/ResolvedTask.d.mts.map +1 -0
- package/dist/neutral/ResolvedTask.d.ts +14 -0
- package/dist/neutral/ResolvedTask.d.ts.map +1 -0
- package/dist/neutral/Sentinel.d.cts +9 -0
- package/dist/neutral/Sentinel.d.cts.map +1 -0
- package/dist/neutral/Sentinel.d.mts +9 -0
- package/dist/neutral/Sentinel.d.mts.map +1 -0
- package/dist/neutral/Sentinel.d.ts +9 -0
- package/dist/neutral/Sentinel.d.ts.map +1 -0
- package/dist/neutral/Task.d.cts +15 -0
- package/dist/neutral/Task.d.cts.map +1 -0
- package/dist/neutral/Task.d.mts +15 -0
- package/dist/neutral/Task.d.mts.map +1 -0
- package/dist/neutral/Task.d.ts +15 -0
- package/dist/neutral/Task.d.ts.map +1 -0
- package/dist/neutral/index.cjs +66 -0
- package/dist/neutral/index.cjs.map +1 -0
- package/dist/neutral/index.d.cts +14 -0
- package/dist/neutral/index.d.cts.map +1 -0
- package/dist/neutral/index.d.mts +14 -0
- package/dist/neutral/index.d.mts.map +1 -0
- package/dist/neutral/index.d.ts +14 -0
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/index.js +43 -0
- package/dist/neutral/index.js.map +1 -0
- package/dist/neutral/typeChecks.d.cts +295 -0
- package/dist/neutral/typeChecks.d.cts.map +1 -0
- package/dist/neutral/typeChecks.d.mts +295 -0
- package/dist/neutral/typeChecks.d.mts.map +1 -0
- package/dist/neutral/typeChecks.d.ts +295 -0
- package/dist/neutral/typeChecks.d.ts.map +1 -0
- package/dist/node/typeChecks.d.cts +4 -4
- package/dist/node/typeChecks.d.mts +4 -4
- package/dist/node/typeChecks.d.ts +4 -4
- package/package.json +14 -14
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { SentinelInstance } from './Instance';
|
|
2
|
+
import { SentinelModule } from './Module';
|
|
3
|
+
export declare const isSentinelInstance: import("@xylabs/object").TypeCheck<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
4
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
5
|
+
addToResolvers?: boolean | undefined;
|
|
6
|
+
allowNameResolution?: boolean | undefined;
|
|
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
8
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
9
|
+
schema: "network.xyo.sentinel.config";
|
|
10
|
+
synchronous?: boolean | undefined;
|
|
11
|
+
tasks: import("./Task").Task[];
|
|
12
|
+
throwErrors?: boolean | undefined;
|
|
13
|
+
}, "schema"> & {
|
|
14
|
+
schema: "network.xyo.sentinel.config";
|
|
15
|
+
}, "schema"> & {
|
|
16
|
+
schema: string;
|
|
17
|
+
};
|
|
18
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
19
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
20
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
21
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
22
|
+
addToResolvers?: boolean | undefined;
|
|
23
|
+
allowNameResolution?: boolean | undefined;
|
|
24
|
+
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 & {
|
|
25
|
+
schema: "network.xyo.module.config";
|
|
26
|
+
}, "schema"> & {
|
|
27
|
+
schema: string;
|
|
28
|
+
};
|
|
29
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
30
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
31
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
32
|
+
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
33
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
34
|
+
addToResolvers?: boolean | undefined;
|
|
35
|
+
allowNameResolution?: boolean | undefined;
|
|
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
37
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
38
|
+
schema: "network.xyo.sentinel.config";
|
|
39
|
+
synchronous?: boolean | undefined;
|
|
40
|
+
tasks: import("./Task").Task[];
|
|
41
|
+
throwErrors?: boolean | undefined;
|
|
42
|
+
}, "schema"> & {
|
|
43
|
+
schema: "network.xyo.sentinel.config";
|
|
44
|
+
}, "schema"> & {
|
|
45
|
+
schema: string;
|
|
46
|
+
};
|
|
47
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
48
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
49
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
50
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
51
|
+
addToResolvers?: boolean | undefined;
|
|
52
|
+
allowNameResolution?: boolean | undefined;
|
|
53
|
+
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 & {
|
|
54
|
+
schema: "network.xyo.module.config";
|
|
55
|
+
}, "schema"> & {
|
|
56
|
+
schema: string;
|
|
57
|
+
};
|
|
58
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
59
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
60
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
61
|
+
export declare const asSentinelModule: {
|
|
62
|
+
<TType extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
63
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
64
|
+
addToResolvers?: boolean | undefined;
|
|
65
|
+
allowNameResolution?: boolean | undefined;
|
|
66
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
67
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
68
|
+
schema: "network.xyo.sentinel.config";
|
|
69
|
+
synchronous?: boolean | undefined;
|
|
70
|
+
tasks: import("./Task").Task[];
|
|
71
|
+
throwErrors?: boolean | undefined;
|
|
72
|
+
}, "schema"> & {
|
|
73
|
+
schema: "network.xyo.sentinel.config";
|
|
74
|
+
}, "schema"> & {
|
|
75
|
+
schema: string;
|
|
76
|
+
};
|
|
77
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
78
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
79
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
80
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
81
|
+
addToResolvers?: boolean | undefined;
|
|
82
|
+
allowNameResolution?: boolean | undefined;
|
|
83
|
+
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 & {
|
|
84
|
+
schema: "network.xyo.module.config";
|
|
85
|
+
}, "schema"> & {
|
|
86
|
+
schema: string;
|
|
87
|
+
};
|
|
88
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
89
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
90
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
91
|
+
<TType_1 extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
92
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
93
|
+
addToResolvers?: boolean | undefined;
|
|
94
|
+
allowNameResolution?: boolean | undefined;
|
|
95
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
96
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
97
|
+
schema: "network.xyo.sentinel.config";
|
|
98
|
+
synchronous?: boolean | undefined;
|
|
99
|
+
tasks: import("./Task").Task[];
|
|
100
|
+
throwErrors?: boolean | undefined;
|
|
101
|
+
}, "schema"> & {
|
|
102
|
+
schema: "network.xyo.sentinel.config";
|
|
103
|
+
}, "schema"> & {
|
|
104
|
+
schema: string;
|
|
105
|
+
};
|
|
106
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
107
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
108
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
109
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
110
|
+
addToResolvers?: boolean | undefined;
|
|
111
|
+
allowNameResolution?: boolean | undefined;
|
|
112
|
+
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 & {
|
|
113
|
+
schema: "network.xyo.module.config";
|
|
114
|
+
}, "schema"> & {
|
|
115
|
+
schema: string;
|
|
116
|
+
};
|
|
117
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
118
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
119
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
120
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
121
|
+
addToResolvers?: boolean | undefined;
|
|
122
|
+
allowNameResolution?: boolean | undefined;
|
|
123
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
124
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
125
|
+
schema: "network.xyo.sentinel.config";
|
|
126
|
+
synchronous?: boolean | undefined;
|
|
127
|
+
tasks: import("./Task").Task[];
|
|
128
|
+
throwErrors?: boolean | undefined;
|
|
129
|
+
}, "schema"> & {
|
|
130
|
+
schema: "network.xyo.sentinel.config";
|
|
131
|
+
}, "schema"> & {
|
|
132
|
+
schema: string;
|
|
133
|
+
};
|
|
134
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
135
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
136
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
137
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
138
|
+
addToResolvers?: boolean | undefined;
|
|
139
|
+
allowNameResolution?: boolean | undefined;
|
|
140
|
+
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 & {
|
|
141
|
+
schema: "network.xyo.module.config";
|
|
142
|
+
}, "schema"> & {
|
|
143
|
+
schema: string;
|
|
144
|
+
};
|
|
145
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
146
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
147
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
148
|
+
};
|
|
149
|
+
export declare const asSentinelInstance: {
|
|
150
|
+
<TType extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
151
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
152
|
+
addToResolvers?: boolean | undefined;
|
|
153
|
+
allowNameResolution?: boolean | undefined;
|
|
154
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
155
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
156
|
+
schema: "network.xyo.sentinel.config";
|
|
157
|
+
synchronous?: boolean | undefined;
|
|
158
|
+
tasks: import("./Task").Task[];
|
|
159
|
+
throwErrors?: boolean | undefined;
|
|
160
|
+
}, "schema"> & {
|
|
161
|
+
schema: "network.xyo.sentinel.config";
|
|
162
|
+
}, "schema"> & {
|
|
163
|
+
schema: string;
|
|
164
|
+
};
|
|
165
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
166
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
167
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
168
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
169
|
+
addToResolvers?: boolean | undefined;
|
|
170
|
+
allowNameResolution?: boolean | undefined;
|
|
171
|
+
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 & {
|
|
172
|
+
schema: "network.xyo.module.config";
|
|
173
|
+
}, "schema"> & {
|
|
174
|
+
schema: string;
|
|
175
|
+
};
|
|
176
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
177
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
178
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
179
|
+
<TType_1 extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
180
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
181
|
+
addToResolvers?: boolean | undefined;
|
|
182
|
+
allowNameResolution?: boolean | undefined;
|
|
183
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
184
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
185
|
+
schema: "network.xyo.sentinel.config";
|
|
186
|
+
synchronous?: boolean | undefined;
|
|
187
|
+
tasks: import("./Task").Task[];
|
|
188
|
+
throwErrors?: boolean | undefined;
|
|
189
|
+
}, "schema"> & {
|
|
190
|
+
schema: "network.xyo.sentinel.config";
|
|
191
|
+
}, "schema"> & {
|
|
192
|
+
schema: string;
|
|
193
|
+
};
|
|
194
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
195
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
196
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
197
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
198
|
+
addToResolvers?: boolean | undefined;
|
|
199
|
+
allowNameResolution?: boolean | undefined;
|
|
200
|
+
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 & {
|
|
201
|
+
schema: "network.xyo.module.config";
|
|
202
|
+
}, "schema"> & {
|
|
203
|
+
schema: string;
|
|
204
|
+
};
|
|
205
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
206
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
207
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
208
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
209
|
+
addToResolvers?: boolean | undefined;
|
|
210
|
+
allowNameResolution?: boolean | undefined;
|
|
211
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
212
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
213
|
+
schema: "network.xyo.sentinel.config";
|
|
214
|
+
synchronous?: boolean | undefined;
|
|
215
|
+
tasks: import("./Task").Task[];
|
|
216
|
+
throwErrors?: boolean | undefined;
|
|
217
|
+
}, "schema"> & {
|
|
218
|
+
schema: "network.xyo.sentinel.config";
|
|
219
|
+
}, "schema"> & {
|
|
220
|
+
schema: string;
|
|
221
|
+
};
|
|
222
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
223
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
224
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
225
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
226
|
+
addToResolvers?: boolean | undefined;
|
|
227
|
+
allowNameResolution?: boolean | undefined;
|
|
228
|
+
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 & {
|
|
229
|
+
schema: "network.xyo.module.config";
|
|
230
|
+
}, "schema"> & {
|
|
231
|
+
schema: string;
|
|
232
|
+
};
|
|
233
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
234
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
235
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
236
|
+
};
|
|
237
|
+
export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
238
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
239
|
+
addToResolvers?: boolean | undefined;
|
|
240
|
+
allowNameResolution?: boolean | undefined;
|
|
241
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
242
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
243
|
+
schema: "network.xyo.sentinel.config";
|
|
244
|
+
synchronous?: boolean | undefined;
|
|
245
|
+
tasks: import("./Task").Task[];
|
|
246
|
+
throwErrors?: boolean | undefined;
|
|
247
|
+
}, "schema"> & {
|
|
248
|
+
schema: "network.xyo.sentinel.config";
|
|
249
|
+
}, "schema"> & {
|
|
250
|
+
schema: string;
|
|
251
|
+
};
|
|
252
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
253
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
254
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
255
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
256
|
+
addToResolvers?: boolean | undefined;
|
|
257
|
+
allowNameResolution?: boolean | undefined;
|
|
258
|
+
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 & {
|
|
259
|
+
schema: "network.xyo.module.config";
|
|
260
|
+
}, "schema"> & {
|
|
261
|
+
schema: string;
|
|
262
|
+
};
|
|
263
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
264
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
265
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>) => R) => R | undefined;
|
|
266
|
+
export declare const withSentinelInstance: <R>(module: any, closure: (module: SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
267
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
268
|
+
addToResolvers?: boolean | undefined;
|
|
269
|
+
allowNameResolution?: boolean | undefined;
|
|
270
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
271
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
272
|
+
schema: "network.xyo.sentinel.config";
|
|
273
|
+
synchronous?: boolean | undefined;
|
|
274
|
+
tasks: import("./Task").Task[];
|
|
275
|
+
throwErrors?: boolean | undefined;
|
|
276
|
+
}, "schema"> & {
|
|
277
|
+
schema: "network.xyo.sentinel.config";
|
|
278
|
+
}, "schema"> & {
|
|
279
|
+
schema: string;
|
|
280
|
+
};
|
|
281
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
282
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
283
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
284
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
285
|
+
addToResolvers?: boolean | undefined;
|
|
286
|
+
allowNameResolution?: boolean | undefined;
|
|
287
|
+
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 & {
|
|
288
|
+
schema: "network.xyo.module.config";
|
|
289
|
+
}, "schema"> & {
|
|
290
|
+
schema: string;
|
|
291
|
+
};
|
|
292
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
293
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
294
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>) => R) => R | undefined;
|
|
295
|
+
//# sourceMappingURL=typeChecks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2C,CAAA;AACxE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6C,CAAA;AAC5E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAyC,CAAA"}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { SentinelInstance } from './Instance';
|
|
2
|
+
import { SentinelModule } from './Module';
|
|
3
|
+
export declare const isSentinelInstance: import("@xylabs/object").TypeCheck<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
4
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
5
|
+
addToResolvers?: boolean | undefined;
|
|
6
|
+
allowNameResolution?: boolean | undefined;
|
|
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
8
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
9
|
+
schema: "network.xyo.sentinel.config";
|
|
10
|
+
synchronous?: boolean | undefined;
|
|
11
|
+
tasks: import("./Task").Task[];
|
|
12
|
+
throwErrors?: boolean | undefined;
|
|
13
|
+
}, "schema"> & {
|
|
14
|
+
schema: "network.xyo.sentinel.config";
|
|
15
|
+
}, "schema"> & {
|
|
16
|
+
schema: string;
|
|
17
|
+
};
|
|
18
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
19
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
20
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
21
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
22
|
+
addToResolvers?: boolean | undefined;
|
|
23
|
+
allowNameResolution?: boolean | undefined;
|
|
24
|
+
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 & {
|
|
25
|
+
schema: "network.xyo.module.config";
|
|
26
|
+
}, "schema"> & {
|
|
27
|
+
schema: string;
|
|
28
|
+
};
|
|
29
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
30
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
31
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
32
|
+
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
33
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
34
|
+
addToResolvers?: boolean | undefined;
|
|
35
|
+
allowNameResolution?: boolean | undefined;
|
|
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
37
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
38
|
+
schema: "network.xyo.sentinel.config";
|
|
39
|
+
synchronous?: boolean | undefined;
|
|
40
|
+
tasks: import("./Task").Task[];
|
|
41
|
+
throwErrors?: boolean | undefined;
|
|
42
|
+
}, "schema"> & {
|
|
43
|
+
schema: "network.xyo.sentinel.config";
|
|
44
|
+
}, "schema"> & {
|
|
45
|
+
schema: string;
|
|
46
|
+
};
|
|
47
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
48
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
49
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
50
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
51
|
+
addToResolvers?: boolean | undefined;
|
|
52
|
+
allowNameResolution?: boolean | undefined;
|
|
53
|
+
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 & {
|
|
54
|
+
schema: "network.xyo.module.config";
|
|
55
|
+
}, "schema"> & {
|
|
56
|
+
schema: string;
|
|
57
|
+
};
|
|
58
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
59
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
60
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>;
|
|
61
|
+
export declare const asSentinelModule: {
|
|
62
|
+
<TType extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
63
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
64
|
+
addToResolvers?: boolean | undefined;
|
|
65
|
+
allowNameResolution?: boolean | undefined;
|
|
66
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
67
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
68
|
+
schema: "network.xyo.sentinel.config";
|
|
69
|
+
synchronous?: boolean | undefined;
|
|
70
|
+
tasks: import("./Task").Task[];
|
|
71
|
+
throwErrors?: boolean | undefined;
|
|
72
|
+
}, "schema"> & {
|
|
73
|
+
schema: "network.xyo.sentinel.config";
|
|
74
|
+
}, "schema"> & {
|
|
75
|
+
schema: string;
|
|
76
|
+
};
|
|
77
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
78
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
79
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
80
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
81
|
+
addToResolvers?: boolean | undefined;
|
|
82
|
+
allowNameResolution?: boolean | undefined;
|
|
83
|
+
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 & {
|
|
84
|
+
schema: "network.xyo.module.config";
|
|
85
|
+
}, "schema"> & {
|
|
86
|
+
schema: string;
|
|
87
|
+
};
|
|
88
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
89
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
90
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
91
|
+
<TType_1 extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
92
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
93
|
+
addToResolvers?: boolean | undefined;
|
|
94
|
+
allowNameResolution?: boolean | undefined;
|
|
95
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
96
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
97
|
+
schema: "network.xyo.sentinel.config";
|
|
98
|
+
synchronous?: boolean | undefined;
|
|
99
|
+
tasks: import("./Task").Task[];
|
|
100
|
+
throwErrors?: boolean | undefined;
|
|
101
|
+
}, "schema"> & {
|
|
102
|
+
schema: "network.xyo.sentinel.config";
|
|
103
|
+
}, "schema"> & {
|
|
104
|
+
schema: string;
|
|
105
|
+
};
|
|
106
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
107
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
108
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
109
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
110
|
+
addToResolvers?: boolean | undefined;
|
|
111
|
+
allowNameResolution?: boolean | undefined;
|
|
112
|
+
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 & {
|
|
113
|
+
schema: "network.xyo.module.config";
|
|
114
|
+
}, "schema"> & {
|
|
115
|
+
schema: string;
|
|
116
|
+
};
|
|
117
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
118
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
119
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
120
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
121
|
+
addToResolvers?: boolean | undefined;
|
|
122
|
+
allowNameResolution?: boolean | undefined;
|
|
123
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
124
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
125
|
+
schema: "network.xyo.sentinel.config";
|
|
126
|
+
synchronous?: boolean | undefined;
|
|
127
|
+
tasks: import("./Task").Task[];
|
|
128
|
+
throwErrors?: boolean | undefined;
|
|
129
|
+
}, "schema"> & {
|
|
130
|
+
schema: "network.xyo.sentinel.config";
|
|
131
|
+
}, "schema"> & {
|
|
132
|
+
schema: string;
|
|
133
|
+
};
|
|
134
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
135
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
136
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
137
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
138
|
+
addToResolvers?: boolean | undefined;
|
|
139
|
+
allowNameResolution?: boolean | undefined;
|
|
140
|
+
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 & {
|
|
141
|
+
schema: "network.xyo.module.config";
|
|
142
|
+
}, "schema"> & {
|
|
143
|
+
schema: string;
|
|
144
|
+
};
|
|
145
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
146
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
147
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
148
|
+
};
|
|
149
|
+
export declare const asSentinelInstance: {
|
|
150
|
+
<TType extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
151
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
152
|
+
addToResolvers?: boolean | undefined;
|
|
153
|
+
allowNameResolution?: boolean | undefined;
|
|
154
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
155
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
156
|
+
schema: "network.xyo.sentinel.config";
|
|
157
|
+
synchronous?: boolean | undefined;
|
|
158
|
+
tasks: import("./Task").Task[];
|
|
159
|
+
throwErrors?: boolean | undefined;
|
|
160
|
+
}, "schema"> & {
|
|
161
|
+
schema: "network.xyo.sentinel.config";
|
|
162
|
+
}, "schema"> & {
|
|
163
|
+
schema: string;
|
|
164
|
+
};
|
|
165
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
166
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
167
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
168
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
169
|
+
addToResolvers?: boolean | undefined;
|
|
170
|
+
allowNameResolution?: boolean | undefined;
|
|
171
|
+
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 & {
|
|
172
|
+
schema: "network.xyo.module.config";
|
|
173
|
+
}, "schema"> & {
|
|
174
|
+
schema: string;
|
|
175
|
+
};
|
|
176
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
177
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
178
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
179
|
+
<TType_1 extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
180
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
181
|
+
addToResolvers?: boolean | undefined;
|
|
182
|
+
allowNameResolution?: boolean | undefined;
|
|
183
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
184
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
185
|
+
schema: "network.xyo.sentinel.config";
|
|
186
|
+
synchronous?: boolean | undefined;
|
|
187
|
+
tasks: import("./Task").Task[];
|
|
188
|
+
throwErrors?: boolean | undefined;
|
|
189
|
+
}, "schema"> & {
|
|
190
|
+
schema: "network.xyo.sentinel.config";
|
|
191
|
+
}, "schema"> & {
|
|
192
|
+
schema: string;
|
|
193
|
+
};
|
|
194
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
195
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
196
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
197
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
198
|
+
addToResolvers?: boolean | undefined;
|
|
199
|
+
allowNameResolution?: boolean | undefined;
|
|
200
|
+
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 & {
|
|
201
|
+
schema: "network.xyo.module.config";
|
|
202
|
+
}, "schema"> & {
|
|
203
|
+
schema: string;
|
|
204
|
+
};
|
|
205
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
206
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
207
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
208
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
209
|
+
addToResolvers?: boolean | undefined;
|
|
210
|
+
allowNameResolution?: boolean | undefined;
|
|
211
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
212
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
213
|
+
schema: "network.xyo.sentinel.config";
|
|
214
|
+
synchronous?: boolean | undefined;
|
|
215
|
+
tasks: import("./Task").Task[];
|
|
216
|
+
throwErrors?: boolean | undefined;
|
|
217
|
+
}, "schema"> & {
|
|
218
|
+
schema: "network.xyo.sentinel.config";
|
|
219
|
+
}, "schema"> & {
|
|
220
|
+
schema: string;
|
|
221
|
+
};
|
|
222
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
223
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
224
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
225
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
226
|
+
addToResolvers?: boolean | undefined;
|
|
227
|
+
allowNameResolution?: boolean | undefined;
|
|
228
|
+
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 & {
|
|
229
|
+
schema: "network.xyo.module.config";
|
|
230
|
+
}, "schema"> & {
|
|
231
|
+
schema: string;
|
|
232
|
+
};
|
|
233
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
234
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
235
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
236
|
+
};
|
|
237
|
+
export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule<import("@xylabs/object").BaseParamsFields & {
|
|
238
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
239
|
+
addToResolvers?: boolean | undefined;
|
|
240
|
+
allowNameResolution?: boolean | undefined;
|
|
241
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
242
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
243
|
+
schema: "network.xyo.sentinel.config";
|
|
244
|
+
synchronous?: boolean | undefined;
|
|
245
|
+
tasks: import("./Task").Task[];
|
|
246
|
+
throwErrors?: boolean | undefined;
|
|
247
|
+
}, "schema"> & {
|
|
248
|
+
schema: "network.xyo.sentinel.config";
|
|
249
|
+
}, "schema"> & {
|
|
250
|
+
schema: string;
|
|
251
|
+
};
|
|
252
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
253
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
254
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
255
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
256
|
+
addToResolvers?: boolean | undefined;
|
|
257
|
+
allowNameResolution?: boolean | undefined;
|
|
258
|
+
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 & {
|
|
259
|
+
schema: "network.xyo.module.config";
|
|
260
|
+
}, "schema"> & {
|
|
261
|
+
schema: string;
|
|
262
|
+
};
|
|
263
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
264
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
265
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>) => R) => R | undefined;
|
|
266
|
+
export declare const withSentinelInstance: <R>(module: any, closure: (module: SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
267
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
268
|
+
addToResolvers?: boolean | undefined;
|
|
269
|
+
allowNameResolution?: boolean | undefined;
|
|
270
|
+
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
271
|
+
automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
|
|
272
|
+
schema: "network.xyo.sentinel.config";
|
|
273
|
+
synchronous?: boolean | undefined;
|
|
274
|
+
tasks: import("./Task").Task[];
|
|
275
|
+
throwErrors?: boolean | undefined;
|
|
276
|
+
}, "schema"> & {
|
|
277
|
+
schema: "network.xyo.sentinel.config";
|
|
278
|
+
}, "schema"> & {
|
|
279
|
+
schema: string;
|
|
280
|
+
};
|
|
281
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
282
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
283
|
+
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
284
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
285
|
+
addToResolvers?: boolean | undefined;
|
|
286
|
+
allowNameResolution?: boolean | undefined;
|
|
287
|
+
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 & {
|
|
288
|
+
schema: "network.xyo.module.config";
|
|
289
|
+
}, "schema"> & {
|
|
290
|
+
schema: string;
|
|
291
|
+
};
|
|
292
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
293
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
294
|
+
}, import("@xyo-network/module-model").ModuleEventData<object>>>>) => R) => R | undefined;
|
|
295
|
+
//# sourceMappingURL=typeChecks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2C,CAAA;AACxE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6C,CAAA;AAC5E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAyC,CAAA"}
|