@xyo-network/sentinel-model 2.92.10 → 2.93.0-rc.1

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.
@@ -69,7 +69,7 @@ export declare const asSentinelModule: {
69
69
  schema: string;
70
70
  };
71
71
  ephemeralQueryAccountEnabled?: boolean | undefined;
72
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
72
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
73
73
  <TType_1 extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
74
74
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
75
75
  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 & {
@@ -92,7 +92,29 @@ export declare const asSentinelModule: {
92
92
  schema: string;
93
93
  };
94
94
  ephemeralQueryAccountEnabled?: boolean | undefined;
95
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
95
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelModule<import("@xylabs/object").BaseParamsFields & {
96
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
97
+ 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 & {
98
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
99
+ schema: "network.xyo.sentinel.config";
100
+ synchronous?: boolean | undefined;
101
+ tasks: import("./Task").Task[];
102
+ throwErrors?: boolean | undefined;
103
+ }, "schema"> & {
104
+ schema: "network.xyo.sentinel.config";
105
+ }, "schema"> & {
106
+ schema: string;
107
+ };
108
+ ephemeralQueryAccountEnabled?: boolean | undefined;
109
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
110
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
111
+ 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 & {
112
+ schema: "network.xyo.module.config";
113
+ }, "schema"> & {
114
+ schema: string;
115
+ };
116
+ ephemeralQueryAccountEnabled?: boolean | undefined;
117
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
96
118
  };
97
119
  export declare const asSentinelInstance: {
98
120
  <TType extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
@@ -117,7 +139,7 @@ export declare const asSentinelInstance: {
117
139
  schema: string;
118
140
  };
119
141
  ephemeralQueryAccountEnabled?: boolean | undefined;
120
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
142
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
121
143
  <TType_1 extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
122
144
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
123
145
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
@@ -140,7 +162,29 @@ export declare const asSentinelInstance: {
140
162
  schema: string;
141
163
  };
142
164
  ephemeralQueryAccountEnabled?: boolean | undefined;
143
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
165
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
166
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
167
+ 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 & {
168
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
169
+ schema: "network.xyo.sentinel.config";
170
+ synchronous?: boolean | undefined;
171
+ tasks: import("./Task").Task[];
172
+ throwErrors?: boolean | undefined;
173
+ }, "schema"> & {
174
+ schema: "network.xyo.sentinel.config";
175
+ }, "schema"> & {
176
+ schema: string;
177
+ };
178
+ ephemeralQueryAccountEnabled?: boolean | undefined;
179
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
180
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
181
+ 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 & {
182
+ schema: "network.xyo.module.config";
183
+ }, "schema"> & {
184
+ schema: string;
185
+ };
186
+ ephemeralQueryAccountEnabled?: boolean | undefined;
187
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
144
188
  };
145
189
  export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule<import("@xylabs/object").BaseParamsFields & {
146
190
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
@@ -1 +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"}
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"}
@@ -69,7 +69,7 @@ export declare const asSentinelModule: {
69
69
  schema: string;
70
70
  };
71
71
  ephemeralQueryAccountEnabled?: boolean | undefined;
72
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
72
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
73
73
  <TType_1 extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
74
74
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
75
75
  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 & {
@@ -92,7 +92,29 @@ export declare const asSentinelModule: {
92
92
  schema: string;
93
93
  };
94
94
  ephemeralQueryAccountEnabled?: boolean | undefined;
95
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
95
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelModule<import("@xylabs/object").BaseParamsFields & {
96
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
97
+ 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 & {
98
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
99
+ schema: "network.xyo.sentinel.config";
100
+ synchronous?: boolean | undefined;
101
+ tasks: import("./Task").Task[];
102
+ throwErrors?: boolean | undefined;
103
+ }, "schema"> & {
104
+ schema: "network.xyo.sentinel.config";
105
+ }, "schema"> & {
106
+ schema: string;
107
+ };
108
+ ephemeralQueryAccountEnabled?: boolean | undefined;
109
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
110
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
111
+ 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 & {
112
+ schema: "network.xyo.module.config";
113
+ }, "schema"> & {
114
+ schema: string;
115
+ };
116
+ ephemeralQueryAccountEnabled?: boolean | undefined;
117
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
96
118
  };
97
119
  export declare const asSentinelInstance: {
98
120
  <TType extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
@@ -117,7 +139,7 @@ export declare const asSentinelInstance: {
117
139
  schema: string;
118
140
  };
119
141
  ephemeralQueryAccountEnabled?: boolean | undefined;
120
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
142
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
121
143
  <TType_1 extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
122
144
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
123
145
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
@@ -140,7 +162,29 @@ export declare const asSentinelInstance: {
140
162
  schema: string;
141
163
  };
142
164
  ephemeralQueryAccountEnabled?: boolean | undefined;
143
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
165
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
166
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
167
+ 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 & {
168
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
169
+ schema: "network.xyo.sentinel.config";
170
+ synchronous?: boolean | undefined;
171
+ tasks: import("./Task").Task[];
172
+ throwErrors?: boolean | undefined;
173
+ }, "schema"> & {
174
+ schema: "network.xyo.sentinel.config";
175
+ }, "schema"> & {
176
+ schema: string;
177
+ };
178
+ ephemeralQueryAccountEnabled?: boolean | undefined;
179
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
180
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
181
+ 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 & {
182
+ schema: "network.xyo.module.config";
183
+ }, "schema"> & {
184
+ schema: string;
185
+ };
186
+ ephemeralQueryAccountEnabled?: boolean | undefined;
187
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
144
188
  };
145
189
  export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule<import("@xylabs/object").BaseParamsFields & {
146
190
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
@@ -1 +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"}
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"}
@@ -69,7 +69,7 @@ export declare const asSentinelModule: {
69
69
  schema: string;
70
70
  };
71
71
  ephemeralQueryAccountEnabled?: boolean | undefined;
72
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
72
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
73
73
  <TType_1 extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
74
74
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
75
75
  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 & {
@@ -92,7 +92,29 @@ export declare const asSentinelModule: {
92
92
  schema: string;
93
93
  };
94
94
  ephemeralQueryAccountEnabled?: boolean | undefined;
95
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
95
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelModule<import("@xylabs/object").BaseParamsFields & {
96
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
97
+ 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 & {
98
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
99
+ schema: "network.xyo.sentinel.config";
100
+ synchronous?: boolean | undefined;
101
+ tasks: import("./Task").Task[];
102
+ throwErrors?: boolean | undefined;
103
+ }, "schema"> & {
104
+ schema: "network.xyo.sentinel.config";
105
+ }, "schema"> & {
106
+ schema: string;
107
+ };
108
+ ephemeralQueryAccountEnabled?: boolean | undefined;
109
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
110
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
111
+ 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 & {
112
+ schema: "network.xyo.module.config";
113
+ }, "schema"> & {
114
+ schema: string;
115
+ };
116
+ ephemeralQueryAccountEnabled?: boolean | undefined;
117
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
96
118
  };
97
119
  export declare const asSentinelInstance: {
98
120
  <TType extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
@@ -117,7 +139,7 @@ export declare const asSentinelInstance: {
117
139
  schema: string;
118
140
  };
119
141
  ephemeralQueryAccountEnabled?: boolean | undefined;
120
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
142
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
121
143
  <TType_1 extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
122
144
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
123
145
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
@@ -140,7 +162,29 @@ export declare const asSentinelInstance: {
140
162
  schema: string;
141
163
  };
142
164
  ephemeralQueryAccountEnabled?: boolean | undefined;
143
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
165
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
166
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
167
+ 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 & {
168
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
169
+ schema: "network.xyo.sentinel.config";
170
+ synchronous?: boolean | undefined;
171
+ tasks: import("./Task").Task[];
172
+ throwErrors?: boolean | undefined;
173
+ }, "schema"> & {
174
+ schema: "network.xyo.sentinel.config";
175
+ }, "schema"> & {
176
+ schema: string;
177
+ };
178
+ ephemeralQueryAccountEnabled?: boolean | undefined;
179
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
180
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
181
+ 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 & {
182
+ schema: "network.xyo.module.config";
183
+ }, "schema"> & {
184
+ schema: string;
185
+ };
186
+ ephemeralQueryAccountEnabled?: boolean | undefined;
187
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
144
188
  };
145
189
  export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule<import("@xylabs/object").BaseParamsFields & {
146
190
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
@@ -1 +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"}
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"}
@@ -69,7 +69,7 @@ export declare const asSentinelModule: {
69
69
  schema: string;
70
70
  };
71
71
  ephemeralQueryAccountEnabled?: boolean | undefined;
72
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
72
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
73
73
  <TType_1 extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
74
74
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
75
75
  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 & {
@@ -92,7 +92,29 @@ export declare const asSentinelModule: {
92
92
  schema: string;
93
93
  };
94
94
  ephemeralQueryAccountEnabled?: boolean | undefined;
95
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
95
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelModule<import("@xylabs/object").BaseParamsFields & {
96
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
97
+ 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 & {
98
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
99
+ schema: "network.xyo.sentinel.config";
100
+ synchronous?: boolean | undefined;
101
+ tasks: import("./Task").Task[];
102
+ throwErrors?: boolean | undefined;
103
+ }, "schema"> & {
104
+ schema: "network.xyo.sentinel.config";
105
+ }, "schema"> & {
106
+ schema: string;
107
+ };
108
+ ephemeralQueryAccountEnabled?: boolean | undefined;
109
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
110
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
111
+ 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 & {
112
+ schema: "network.xyo.module.config";
113
+ }, "schema"> & {
114
+ schema: string;
115
+ };
116
+ ephemeralQueryAccountEnabled?: boolean | undefined;
117
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
96
118
  };
97
119
  export declare const asSentinelInstance: {
98
120
  <TType extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
@@ -117,7 +139,7 @@ export declare const asSentinelInstance: {
117
139
  schema: string;
118
140
  };
119
141
  ephemeralQueryAccountEnabled?: boolean | undefined;
120
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
142
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
121
143
  <TType_1 extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
122
144
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
123
145
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
@@ -140,7 +162,29 @@ export declare const asSentinelInstance: {
140
162
  schema: string;
141
163
  };
142
164
  ephemeralQueryAccountEnabled?: boolean | undefined;
143
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
165
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
166
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
167
+ 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 & {
168
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
169
+ schema: "network.xyo.sentinel.config";
170
+ synchronous?: boolean | undefined;
171
+ tasks: import("./Task").Task[];
172
+ throwErrors?: boolean | undefined;
173
+ }, "schema"> & {
174
+ schema: "network.xyo.sentinel.config";
175
+ }, "schema"> & {
176
+ schema: string;
177
+ };
178
+ ephemeralQueryAccountEnabled?: boolean | undefined;
179
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
180
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
181
+ 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 & {
182
+ schema: "network.xyo.module.config";
183
+ }, "schema"> & {
184
+ schema: string;
185
+ };
186
+ ephemeralQueryAccountEnabled?: boolean | undefined;
187
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
144
188
  };
145
189
  export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule<import("@xylabs/object").BaseParamsFields & {
146
190
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
@@ -1 +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"}
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"}
@@ -69,7 +69,7 @@ export declare const asSentinelModule: {
69
69
  schema: string;
70
70
  };
71
71
  ephemeralQueryAccountEnabled?: boolean | undefined;
72
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
72
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
73
73
  <TType_1 extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
74
74
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
75
75
  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 & {
@@ -92,7 +92,29 @@ export declare const asSentinelModule: {
92
92
  schema: string;
93
93
  };
94
94
  ephemeralQueryAccountEnabled?: boolean | undefined;
95
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
95
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelModule<import("@xylabs/object").BaseParamsFields & {
96
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
97
+ 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 & {
98
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
99
+ schema: "network.xyo.sentinel.config";
100
+ synchronous?: boolean | undefined;
101
+ tasks: import("./Task").Task[];
102
+ throwErrors?: boolean | undefined;
103
+ }, "schema"> & {
104
+ schema: "network.xyo.sentinel.config";
105
+ }, "schema"> & {
106
+ schema: string;
107
+ };
108
+ ephemeralQueryAccountEnabled?: boolean | undefined;
109
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
110
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
111
+ 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 & {
112
+ schema: "network.xyo.module.config";
113
+ }, "schema"> & {
114
+ schema: string;
115
+ };
116
+ ephemeralQueryAccountEnabled?: boolean | undefined;
117
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
96
118
  };
97
119
  export declare const asSentinelInstance: {
98
120
  <TType extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
@@ -117,7 +139,7 @@ export declare const asSentinelInstance: {
117
139
  schema: string;
118
140
  };
119
141
  ephemeralQueryAccountEnabled?: boolean | undefined;
120
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
142
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
121
143
  <TType_1 extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
122
144
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
123
145
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
@@ -140,7 +162,29 @@ export declare const asSentinelInstance: {
140
162
  schema: string;
141
163
  };
142
164
  ephemeralQueryAccountEnabled?: boolean | undefined;
143
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
165
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
166
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
167
+ 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 & {
168
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
169
+ schema: "network.xyo.sentinel.config";
170
+ synchronous?: boolean | undefined;
171
+ tasks: import("./Task").Task[];
172
+ throwErrors?: boolean | undefined;
173
+ }, "schema"> & {
174
+ schema: "network.xyo.sentinel.config";
175
+ }, "schema"> & {
176
+ schema: string;
177
+ };
178
+ ephemeralQueryAccountEnabled?: boolean | undefined;
179
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
180
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
181
+ 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 & {
182
+ schema: "network.xyo.module.config";
183
+ }, "schema"> & {
184
+ schema: string;
185
+ };
186
+ ephemeralQueryAccountEnabled?: boolean | undefined;
187
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
144
188
  };
145
189
  export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule<import("@xylabs/object").BaseParamsFields & {
146
190
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
@@ -1 +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"}
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"}
@@ -69,7 +69,7 @@ export declare const asSentinelModule: {
69
69
  schema: string;
70
70
  };
71
71
  ephemeralQueryAccountEnabled?: boolean | undefined;
72
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
72
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
73
73
  <TType_1 extends SentinelModule<import("@xylabs/object").BaseParamsFields & {
74
74
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
75
75
  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 & {
@@ -92,7 +92,29 @@ export declare const asSentinelModule: {
92
92
  schema: string;
93
93
  };
94
94
  ephemeralQueryAccountEnabled?: boolean | undefined;
95
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
95
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelModule<import("@xylabs/object").BaseParamsFields & {
96
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
97
+ 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 & {
98
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
99
+ schema: "network.xyo.sentinel.config";
100
+ synchronous?: boolean | undefined;
101
+ tasks: import("./Task").Task[];
102
+ throwErrors?: boolean | undefined;
103
+ }, "schema"> & {
104
+ schema: "network.xyo.sentinel.config";
105
+ }, "schema"> & {
106
+ schema: string;
107
+ };
108
+ ephemeralQueryAccountEnabled?: boolean | undefined;
109
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
110
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
111
+ 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 & {
112
+ schema: "network.xyo.module.config";
113
+ }, "schema"> & {
114
+ schema: string;
115
+ };
116
+ ephemeralQueryAccountEnabled?: boolean | undefined;
117
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
96
118
  };
97
119
  export declare const asSentinelInstance: {
98
120
  <TType extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
@@ -117,7 +139,7 @@ export declare const asSentinelInstance: {
117
139
  schema: string;
118
140
  };
119
141
  ephemeralQueryAccountEnabled?: boolean | undefined;
120
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
142
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
121
143
  <TType_1 extends SentinelInstance<import("@xylabs/object").BaseParamsFields & {
122
144
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
123
145
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
@@ -140,7 +162,29 @@ export declare const asSentinelInstance: {
140
162
  schema: string;
141
163
  };
142
164
  ephemeralQueryAccountEnabled?: boolean | undefined;
143
- }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
165
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
166
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
167
+ 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 & {
168
+ automations?: import("./Automation").SentinelAutomationPayload[] | undefined;
169
+ schema: "network.xyo.sentinel.config";
170
+ synchronous?: boolean | undefined;
171
+ tasks: import("./Task").Task[];
172
+ throwErrors?: boolean | undefined;
173
+ }, "schema"> & {
174
+ schema: "network.xyo.sentinel.config";
175
+ }, "schema"> & {
176
+ schema: string;
177
+ };
178
+ ephemeralQueryAccountEnabled?: boolean | undefined;
179
+ }, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
180
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
181
+ 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 & {
182
+ schema: "network.xyo.module.config";
183
+ }, "schema"> & {
184
+ schema: string;
185
+ };
186
+ ephemeralQueryAccountEnabled?: boolean | undefined;
187
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
144
188
  };
145
189
  export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule<import("@xylabs/object").BaseParamsFields & {
146
190
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
@@ -1 +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"}
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"}
package/package.json CHANGED
@@ -10,22 +10,22 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/hex": "^3.0.15",
14
- "@xylabs/object": "^3.0.15",
15
- "@xylabs/promise": "^3.0.15",
16
- "@xyo-network/archivist-model": "~2.92.10",
17
- "@xyo-network/boundwitness-model": "~2.92.10",
18
- "@xyo-network/diviner-model": "~2.92.10",
19
- "@xyo-network/module-events": "~2.92.10",
20
- "@xyo-network/module-model": "~2.92.10",
21
- "@xyo-network/payload-model": "~2.92.10",
22
- "@xyo-network/witness-model": "~2.92.10"
13
+ "@xylabs/hex": "^3.0.24",
14
+ "@xylabs/object": "^3.0.24",
15
+ "@xylabs/promise": "^3.0.24",
16
+ "@xyo-network/archivist-model": "~2.93.0-rc.1",
17
+ "@xyo-network/boundwitness-model": "~2.93.0-rc.1",
18
+ "@xyo-network/diviner-model": "~2.93.0-rc.1",
19
+ "@xyo-network/module-events": "~2.93.0-rc.1",
20
+ "@xyo-network/module-model": "~2.93.0-rc.1",
21
+ "@xyo-network/payload-model": "~2.93.0-rc.1",
22
+ "@xyo-network/witness-model": "~2.93.0-rc.1"
23
23
  },
24
24
  "description": "Primary SDK for using XYO Protocol 2.0",
25
25
  "devDependencies": {
26
26
  "@xylabs/ts-scripts-yarn3": "^3.5.2",
27
27
  "@xylabs/tsconfig": "^3.5.2",
28
- "typescript": "^5.4.2"
28
+ "typescript": "^5.4.3"
29
29
  },
30
30
  "types": "dist/node/index.d.ts",
31
31
  "exports": {
@@ -65,6 +65,7 @@
65
65
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
66
66
  },
67
67
  "sideEffects": false,
68
- "version": "2.92.10",
69
- "type": "module"
68
+ "version": "2.93.0-rc.1",
69
+ "type": "module",
70
+ "stableVersion": "2.92.11"
70
71
  }