@xyo-network/sentinel-model 2.109.1 → 2.110.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.
- package/dist/browser/Config.d.cts +2 -2
- package/dist/browser/Config.d.cts.map +1 -1
- package/dist/browser/Config.d.mts +2 -2
- package/dist/browser/Config.d.mts.map +1 -1
- package/dist/browser/Config.d.ts +2 -2
- package/dist/browser/Config.d.ts.map +1 -1
- package/dist/browser/EventData.d.cts +1 -1
- package/dist/browser/EventData.d.cts.map +1 -1
- package/dist/browser/EventData.d.mts +1 -1
- package/dist/browser/EventData.d.mts.map +1 -1
- package/dist/browser/EventData.d.ts +1 -1
- package/dist/browser/EventData.d.ts.map +1 -1
- package/dist/browser/EventsModels/index.d.cts +6 -6
- package/dist/browser/EventsModels/index.d.cts.map +1 -1
- package/dist/browser/EventsModels/index.d.mts +6 -6
- package/dist/browser/EventsModels/index.d.mts.map +1 -1
- package/dist/browser/EventsModels/index.d.ts +6 -6
- package/dist/browser/EventsModels/index.d.ts.map +1 -1
- package/dist/browser/Instance.d.cts +4 -4
- package/dist/browser/Instance.d.cts.map +1 -1
- package/dist/browser/Instance.d.mts +4 -4
- package/dist/browser/Instance.d.mts.map +1 -1
- package/dist/browser/Instance.d.ts +4 -4
- package/dist/browser/Instance.d.ts.map +1 -1
- package/dist/browser/Job.d.cts +1 -1
- package/dist/browser/Job.d.cts.map +1 -1
- package/dist/browser/Job.d.mts +1 -1
- package/dist/browser/Job.d.mts.map +1 -1
- package/dist/browser/Job.d.ts +1 -1
- package/dist/browser/Job.d.ts.map +1 -1
- package/dist/browser/Module.d.cts +2 -2
- package/dist/browser/Module.d.cts.map +1 -1
- package/dist/browser/Module.d.mts +2 -2
- package/dist/browser/Module.d.mts.map +1 -1
- package/dist/browser/Module.d.ts +2 -2
- package/dist/browser/Module.d.ts.map +1 -1
- package/dist/browser/Params.d.cts +1 -1
- package/dist/browser/Params.d.cts.map +1 -1
- package/dist/browser/Params.d.mts +1 -1
- package/dist/browser/Params.d.mts.map +1 -1
- package/dist/browser/Params.d.ts +1 -1
- package/dist/browser/Params.d.ts.map +1 -1
- package/dist/browser/Queries/index.d.cts +2 -2
- package/dist/browser/Queries/index.d.cts.map +1 -1
- package/dist/browser/Queries/index.d.mts +2 -2
- package/dist/browser/Queries/index.d.mts.map +1 -1
- package/dist/browser/Queries/index.d.ts +2 -2
- package/dist/browser/Queries/index.d.ts.map +1 -1
- package/dist/browser/ResolvedTask.d.cts +1 -1
- package/dist/browser/ResolvedTask.d.cts.map +1 -1
- package/dist/browser/ResolvedTask.d.mts +1 -1
- package/dist/browser/ResolvedTask.d.mts.map +1 -1
- package/dist/browser/ResolvedTask.d.ts +1 -1
- package/dist/browser/ResolvedTask.d.ts.map +1 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +13 -13
- package/dist/browser/index.d.cts.map +1 -1
- package/dist/browser/index.d.mts +13 -13
- package/dist/browser/index.d.mts.map +1 -1
- package/dist/browser/index.d.ts +13 -13
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/typeChecks.d.cts +32 -32
- package/dist/browser/typeChecks.d.cts.map +1 -1
- package/dist/browser/typeChecks.d.mts +32 -32
- package/dist/browser/typeChecks.d.mts.map +1 -1
- package/dist/browser/typeChecks.d.ts +32 -32
- package/dist/browser/typeChecks.d.ts.map +1 -1
- package/dist/neutral/Config.d.cts +2 -2
- package/dist/neutral/Config.d.cts.map +1 -1
- package/dist/neutral/Config.d.mts +2 -2
- package/dist/neutral/Config.d.mts.map +1 -1
- package/dist/neutral/Config.d.ts +2 -2
- package/dist/neutral/Config.d.ts.map +1 -1
- package/dist/neutral/EventData.d.cts +1 -1
- package/dist/neutral/EventData.d.cts.map +1 -1
- package/dist/neutral/EventData.d.mts +1 -1
- package/dist/neutral/EventData.d.mts.map +1 -1
- package/dist/neutral/EventData.d.ts +1 -1
- package/dist/neutral/EventData.d.ts.map +1 -1
- package/dist/neutral/EventsModels/index.d.cts +6 -6
- package/dist/neutral/EventsModels/index.d.cts.map +1 -1
- package/dist/neutral/EventsModels/index.d.mts +6 -6
- package/dist/neutral/EventsModels/index.d.mts.map +1 -1
- package/dist/neutral/EventsModels/index.d.ts +6 -6
- package/dist/neutral/EventsModels/index.d.ts.map +1 -1
- package/dist/neutral/Instance.d.cts +4 -4
- package/dist/neutral/Instance.d.cts.map +1 -1
- package/dist/neutral/Instance.d.mts +4 -4
- package/dist/neutral/Instance.d.mts.map +1 -1
- package/dist/neutral/Instance.d.ts +4 -4
- package/dist/neutral/Instance.d.ts.map +1 -1
- package/dist/neutral/Job.d.cts +1 -1
- package/dist/neutral/Job.d.cts.map +1 -1
- package/dist/neutral/Job.d.mts +1 -1
- package/dist/neutral/Job.d.mts.map +1 -1
- package/dist/neutral/Job.d.ts +1 -1
- package/dist/neutral/Job.d.ts.map +1 -1
- package/dist/neutral/Module.d.cts +2 -2
- package/dist/neutral/Module.d.cts.map +1 -1
- package/dist/neutral/Module.d.mts +2 -2
- package/dist/neutral/Module.d.mts.map +1 -1
- package/dist/neutral/Module.d.ts +2 -2
- package/dist/neutral/Module.d.ts.map +1 -1
- package/dist/neutral/Params.d.cts +1 -1
- package/dist/neutral/Params.d.cts.map +1 -1
- package/dist/neutral/Params.d.mts +1 -1
- package/dist/neutral/Params.d.mts.map +1 -1
- package/dist/neutral/Params.d.ts +1 -1
- package/dist/neutral/Params.d.ts.map +1 -1
- package/dist/neutral/Queries/index.d.cts +2 -2
- package/dist/neutral/Queries/index.d.cts.map +1 -1
- package/dist/neutral/Queries/index.d.mts +2 -2
- package/dist/neutral/Queries/index.d.mts.map +1 -1
- package/dist/neutral/Queries/index.d.ts +2 -2
- package/dist/neutral/Queries/index.d.ts.map +1 -1
- package/dist/neutral/ResolvedTask.d.cts +1 -1
- package/dist/neutral/ResolvedTask.d.cts.map +1 -1
- package/dist/neutral/ResolvedTask.d.mts +1 -1
- package/dist/neutral/ResolvedTask.d.mts.map +1 -1
- package/dist/neutral/ResolvedTask.d.ts +1 -1
- package/dist/neutral/ResolvedTask.d.ts.map +1 -1
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +13 -13
- package/dist/neutral/index.d.cts.map +1 -1
- package/dist/neutral/index.d.mts +13 -13
- package/dist/neutral/index.d.mts.map +1 -1
- package/dist/neutral/index.d.ts +13 -13
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.js.map +1 -1
- package/dist/neutral/typeChecks.d.cts +32 -32
- package/dist/neutral/typeChecks.d.cts.map +1 -1
- package/dist/neutral/typeChecks.d.mts +32 -32
- package/dist/neutral/typeChecks.d.mts.map +1 -1
- package/dist/neutral/typeChecks.d.ts +32 -32
- package/dist/neutral/typeChecks.d.ts.map +1 -1
- package/dist/node/Config.d.cts +2 -2
- package/dist/node/Config.d.cts.map +1 -1
- package/dist/node/Config.d.mts +2 -2
- package/dist/node/Config.d.mts.map +1 -1
- package/dist/node/Config.d.ts +2 -2
- package/dist/node/Config.d.ts.map +1 -1
- package/dist/node/EventData.d.cts +1 -1
- package/dist/node/EventData.d.cts.map +1 -1
- package/dist/node/EventData.d.mts +1 -1
- package/dist/node/EventData.d.mts.map +1 -1
- package/dist/node/EventData.d.ts +1 -1
- package/dist/node/EventData.d.ts.map +1 -1
- package/dist/node/EventsModels/index.d.cts +6 -6
- package/dist/node/EventsModels/index.d.cts.map +1 -1
- package/dist/node/EventsModels/index.d.mts +6 -6
- package/dist/node/EventsModels/index.d.mts.map +1 -1
- package/dist/node/EventsModels/index.d.ts +6 -6
- package/dist/node/EventsModels/index.d.ts.map +1 -1
- package/dist/node/Instance.d.cts +4 -4
- package/dist/node/Instance.d.cts.map +1 -1
- package/dist/node/Instance.d.mts +4 -4
- package/dist/node/Instance.d.mts.map +1 -1
- package/dist/node/Instance.d.ts +4 -4
- package/dist/node/Instance.d.ts.map +1 -1
- package/dist/node/Job.d.cts +1 -1
- package/dist/node/Job.d.cts.map +1 -1
- package/dist/node/Job.d.mts +1 -1
- package/dist/node/Job.d.mts.map +1 -1
- package/dist/node/Job.d.ts +1 -1
- package/dist/node/Job.d.ts.map +1 -1
- package/dist/node/Module.d.cts +2 -2
- package/dist/node/Module.d.cts.map +1 -1
- package/dist/node/Module.d.mts +2 -2
- package/dist/node/Module.d.mts.map +1 -1
- package/dist/node/Module.d.ts +2 -2
- package/dist/node/Module.d.ts.map +1 -1
- package/dist/node/Params.d.cts +1 -1
- package/dist/node/Params.d.cts.map +1 -1
- package/dist/node/Params.d.mts +1 -1
- package/dist/node/Params.d.mts.map +1 -1
- package/dist/node/Params.d.ts +1 -1
- package/dist/node/Params.d.ts.map +1 -1
- package/dist/node/Queries/index.d.cts +2 -2
- package/dist/node/Queries/index.d.cts.map +1 -1
- package/dist/node/Queries/index.d.mts +2 -2
- package/dist/node/Queries/index.d.mts.map +1 -1
- package/dist/node/Queries/index.d.ts +2 -2
- package/dist/node/Queries/index.d.ts.map +1 -1
- package/dist/node/ResolvedTask.d.cts +1 -1
- package/dist/node/ResolvedTask.d.cts.map +1 -1
- package/dist/node/ResolvedTask.d.mts +1 -1
- package/dist/node/ResolvedTask.d.mts.map +1 -1
- package/dist/node/ResolvedTask.d.ts +1 -1
- package/dist/node/ResolvedTask.d.ts.map +1 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +13 -13
- package/dist/node/index.d.cts.map +1 -1
- package/dist/node/index.d.mts +13 -13
- package/dist/node/index.d.mts.map +1 -1
- package/dist/node/index.d.ts +13 -13
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/node/typeChecks.d.cts +32 -32
- package/dist/node/typeChecks.d.cts.map +1 -1
- package/dist/node/typeChecks.d.mts +32 -32
- package/dist/node/typeChecks.d.mts.map +1 -1
- package/dist/node/typeChecks.d.ts +32 -32
- package/dist/node/typeChecks.d.ts.map +1 -1
- package/package.json +12 -12
- package/src/Config.ts +2 -2
- package/src/EventData.ts +8 -1
- package/src/EventsModels/index.ts +6 -6
- package/src/Instance.ts +4 -4
- package/src/Job.ts +1 -1
- package/src/Module.ts +2 -2
- package/src/Params.ts +1 -1
- package/src/Queries/index.ts +2 -2
- package/src/ResolvedTask.ts +1 -1
- package/src/index.ts +13 -13
- package/src/typeChecks.ts +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,MAAM,cAAc,CACxB,OAAO,SAAS,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,EACjF,iBAAiB,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IACjD,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAA"}
|
package/dist/neutral/Params.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmptyObject } from '@xylabs/object';
|
|
2
2
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
3
|
-
import { SentinelConfig } from './Config';
|
|
3
|
+
import { SentinelConfig } from './Config.js';
|
|
4
4
|
export type SentinelParams<TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>, TAdditionalParams extends EmptyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,MAAM,cAAc,CACxB,OAAO,SAAS,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,EACjF,iBAAiB,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IACjD,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './Report';
|
|
1
|
+
export * from './Report.js';
|
|
2
2
|
import { ModuleQueries } from '@xyo-network/module-model';
|
|
3
|
-
import { SentinelReportQuery } from './Report';
|
|
3
|
+
import { SentinelReportQuery } from './Report.js';
|
|
4
4
|
export type SentinelQueries = SentinelReportQuery;
|
|
5
5
|
export type SentinelModuleQueries = ModuleQueries | SentinelQueries;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAA;AACjD,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG,eAAe,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './Report';
|
|
1
|
+
export * from './Report.js';
|
|
2
2
|
import { ModuleQueries } from '@xyo-network/module-model';
|
|
3
|
-
import { SentinelReportQuery } from './Report';
|
|
3
|
+
import { SentinelReportQuery } from './Report.js';
|
|
4
4
|
export type SentinelQueries = SentinelReportQuery;
|
|
5
5
|
export type SentinelModuleQueries = ModuleQueries | SentinelQueries;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAA;AACjD,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG,eAAe,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './Report';
|
|
1
|
+
export * from './Report.js';
|
|
2
2
|
import { ModuleQueries } from '@xyo-network/module-model';
|
|
3
|
-
import { SentinelReportQuery } from './Report';
|
|
3
|
+
import { SentinelReportQuery } from './Report.js';
|
|
4
4
|
export type SentinelQueries = SentinelReportQuery;
|
|
5
5
|
export type SentinelModuleQueries = ModuleQueries | SentinelQueries;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAA;AACjD,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG,eAAe,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
|
2
2
|
import { DivinerInstance } from '@xyo-network/diviner-model';
|
|
3
3
|
import { ModuleInstance } from '@xyo-network/module-model';
|
|
4
4
|
import { WitnessInstance } from '@xyo-network/witness-model';
|
|
5
|
-
import { ArchivistTask, DivinerTask, ModuleTask, WitnessTask } from './Task';
|
|
5
|
+
import { ArchivistTask, DivinerTask, ModuleTask, WitnessTask } from './Task.js';
|
|
6
6
|
export type ResolvedModuleTask<TTask extends ModuleTask = ModuleTask, TInstance extends ModuleInstance = ModuleInstance> = Omit<TTask, 'mod'> & {
|
|
7
7
|
mod: TInstance;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResolvedTask.d.ts","sourceRoot":"","sources":["../../src/ResolvedTask.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ResolvedTask.d.ts","sourceRoot":"","sources":["../../src/ResolvedTask.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE/E,MAAM,MAAM,kBAAkB,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU,EAAE,SAAS,SAAS,cAAc,GAAG,cAAc,IAAI,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG;IAE9I,GAAG,EAAE,SAAS,CAAA;CACf,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAA;AACxF,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAA;AAClF,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAA;AAElF,MAAM,MAAM,YAAY,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,kBAAkB,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
|
2
2
|
import { DivinerInstance } from '@xyo-network/diviner-model';
|
|
3
3
|
import { ModuleInstance } from '@xyo-network/module-model';
|
|
4
4
|
import { WitnessInstance } from '@xyo-network/witness-model';
|
|
5
|
-
import { ArchivistTask, DivinerTask, ModuleTask, WitnessTask } from './Task';
|
|
5
|
+
import { ArchivistTask, DivinerTask, ModuleTask, WitnessTask } from './Task.js';
|
|
6
6
|
export type ResolvedModuleTask<TTask extends ModuleTask = ModuleTask, TInstance extends ModuleInstance = ModuleInstance> = Omit<TTask, 'mod'> & {
|
|
7
7
|
mod: TInstance;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResolvedTask.d.ts","sourceRoot":"","sources":["../../src/ResolvedTask.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ResolvedTask.d.ts","sourceRoot":"","sources":["../../src/ResolvedTask.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE/E,MAAM,MAAM,kBAAkB,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU,EAAE,SAAS,SAAS,cAAc,GAAG,cAAc,IAAI,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG;IAE9I,GAAG,EAAE,SAAS,CAAA;CACf,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAA;AACxF,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAA;AAClF,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAA;AAElF,MAAM,MAAM,YAAY,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,kBAAkB,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
|
2
2
|
import { DivinerInstance } from '@xyo-network/diviner-model';
|
|
3
3
|
import { ModuleInstance } from '@xyo-network/module-model';
|
|
4
4
|
import { WitnessInstance } from '@xyo-network/witness-model';
|
|
5
|
-
import { ArchivistTask, DivinerTask, ModuleTask, WitnessTask } from './Task';
|
|
5
|
+
import { ArchivistTask, DivinerTask, ModuleTask, WitnessTask } from './Task.js';
|
|
6
6
|
export type ResolvedModuleTask<TTask extends ModuleTask = ModuleTask, TInstance extends ModuleInstance = ModuleInstance> = Omit<TTask, 'mod'> & {
|
|
7
7
|
mod: TInstance;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResolvedTask.d.ts","sourceRoot":"","sources":["../../src/ResolvedTask.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ResolvedTask.d.ts","sourceRoot":"","sources":["../../src/ResolvedTask.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE/E,MAAM,MAAM,kBAAkB,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU,EAAE,SAAS,SAAS,cAAc,GAAG,cAAc,IAAI,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG;IAE9I,GAAG,EAAE,SAAS,CAAA;CACf,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAA;AACxF,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAA;AAClF,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,WAAW,EAAE,eAAe,CAAC,CAAA;AAElF,MAAM,MAAM,YAAY,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,kBAAkB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Automation.ts","../../src/Config.ts","../../src/Queries/Report.ts","../../src/typeChecks.ts"],"sourcesContent":["export * from './Automation'\nexport * from './Config'\nexport * from './EventData'\nexport * from './EventsModels'\nexport * from './Instance'\nexport * from './Job'\nexport * from './Module'\nexport * from './Params'\nexport * from './Queries'\nexport * from './ResolvedTask'\nexport * from './Sentinel'\nexport * from './Task'\nexport * from './typeChecks'\n","import { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport type SentinelAutomationSchema = 'network.xyo.automation'\nexport const SentinelAutomationSchema: SentinelAutomationSchema = 'network.xyo.automation'\n\nexport type SentinelIntervalAutomationSchema = 'network.xyo.automation.interval'\nexport const SentinelIntervalAutomationSchema: SentinelIntervalAutomationSchema = 'network.xyo.automation.interval'\n\nexport type SentinelEventAutomationSchema = 'network.xyo.automation.event'\nexport const SentinelEventAutomationSchema: SentinelEventAutomationSchema = 'network.xyo.automation.event'\n\nexport type SentinelBaseAutomationPayload<T extends Payload> = Payload<\n {\n type?: 'interval' | 'event'\n } & T\n>\n\n/** Settings for an Interval Automation */\nexport type SentinelIntervalAutomationPayload = SentinelBaseAutomationPayload<{\n /** Epoch after which any reoccurrence stops */\n end?: number\n\n /** Time between triggers [non-repeating if undefined] */\n frequency?: number\n\n /** Units for frequency field [hour if undefined] */\n frequencyUnits?: 'second' | 'minute' | 'hour' | 'day'\n\n /** Remaining triggers [infinite if undefined] */\n remaining?: number\n\n schema: SentinelIntervalAutomationSchema\n\n /** Epoch of the next trigger */\n start: number\n\n /** The type of automation */\n type: 'interval'\n}>\n\nexport const isSentinelIntervalAutomation = isPayloadOfSchemaType<SentinelIntervalAutomationPayload>(SentinelIntervalAutomationSchema)\n\n/** Settings for an Event Automation */\nexport type SentinelEventAutomationPayload = SentinelBaseAutomationPayload<{\n schema: SentinelEventAutomationSchema\n type: 'event'\n}>\n\n/** Settings for an Automation */\nexport type SentinelAutomationPayload = Payload<\n SentinelIntervalAutomationPayload | SentinelEventAutomationPayload,\n SentinelAutomationSchema | SentinelIntervalAutomationSchema | SentinelEventAutomationSchema\n>\n","import { WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SentinelAutomationPayload } from './Automation'\nimport { Task } from './Task'\n\nexport const SentinelConfigSchema = 'network.xyo.sentinel.config' as const\nexport type SentinelConfigSchema = typeof SentinelConfigSchema\n\nexport type SentinelConfig<TConfig extends Payload | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n automations?: SentinelAutomationPayload[]\n schema: TConfig extends Payload ? TConfig['schema'] : SentinelConfigSchema\n synchronous?: boolean\n tasks: Task[]\n throwErrors?: boolean\n },\n TConfig\n >,\n TSchema\n>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type SentinelReportQuerySchema = 'network.xyo.query.sentinel.report'\nexport const SentinelReportQuerySchema: SentinelReportQuerySchema = 'network.xyo.query.sentinel.report'\n\nexport type SentinelReportQuery = Query<{\n schema: SentinelReportQuerySchema\n}>\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { SentinelInstance } from './Instance'\nimport { SentinelModule } from './Module'\nimport { SentinelReportQuerySchema } from './Queries'\n\nexport const isSentinelInstance = new IsInstanceFactory<SentinelInstance>().create({ report: 'function' }, [isModuleInstance])\nexport const isSentinelModule = new IsModuleFactory<SentinelModule>().create([SentinelReportQuerySchema])\n\nexport const asSentinelModule = AsObjectFactory.create(isSentinelModule)\nexport const asSentinelInstance = AsObjectFactory.create(isSentinelInstance)\nexport const withSentinelModule = WithFactory.create(isSentinelModule)\nexport const withSentinelInstance = WithFactory.create(isSentinelInstance)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;ACAA,2BAA+C;AAGxC,IAAMA,2BAAqD;AAG3D,IAAMC,mCAAqE;AAG3E,IAAMC,gCAA+D;AA+BrE,IAAMC,mCAA+BC,4CAAyDH,gCAAAA;;;ACjC9F,IAAMI,uBAAuB;;;ACJ7B,IAAMC,4BAAuD;;;ACHpE,oBAAgC;AAChC,0BAAkF;AAM3E,IAAMC,qBAAqB,IAAIC,sCAAAA,EAAsCC,OAAO;EAAEC,QAAQ;AAAW,GAAG;EAACC;CAAiB;AACtH,IAAMC,mBAAmB,IAAIC,oCAAAA,EAAkCJ,OAAO;EAACK;CAA0B;AAEjG,IAAMC,mBAAmBC,8BAAgBP,OAAOG,gBAAAA;AAChD,IAAMK,qBAAqBD,8BAAgBP,OAAOF,kBAAAA;AAClD,IAAMW,qBAAqBC,gCAAYV,OAAOG,gBAAAA;AAC9C,IAAMQ,uBAAuBD,gCAAYV,OAAOF,kBAAAA;","names":["SentinelAutomationSchema","SentinelIntervalAutomationSchema","SentinelEventAutomationSchema","isSentinelIntervalAutomation","isPayloadOfSchemaType","SentinelConfigSchema","SentinelReportQuerySchema","isSentinelInstance","IsInstanceFactory","create","report","isModuleInstance","isSentinelModule","IsModuleFactory","SentinelReportQuerySchema","asSentinelModule","AsObjectFactory","asSentinelInstance","withSentinelModule","WithFactory","withSentinelInstance"]}
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Automation.ts","../../src/Config.ts","../../src/Queries/Report.ts","../../src/typeChecks.ts"],"sourcesContent":["export * from './Automation.js'\nexport * from './Config.js'\nexport * from './EventData.js'\nexport * from './EventsModels/index.js'\nexport * from './Instance.js'\nexport * from './Job.js'\nexport * from './Module.js'\nexport * from './Params.js'\nexport * from './Queries/index.js'\nexport * from './ResolvedTask.js'\nexport * from './Sentinel.js'\nexport * from './Task.js'\nexport * from './typeChecks.js'\n","import { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport type SentinelAutomationSchema = 'network.xyo.automation'\nexport const SentinelAutomationSchema: SentinelAutomationSchema = 'network.xyo.automation'\n\nexport type SentinelIntervalAutomationSchema = 'network.xyo.automation.interval'\nexport const SentinelIntervalAutomationSchema: SentinelIntervalAutomationSchema = 'network.xyo.automation.interval'\n\nexport type SentinelEventAutomationSchema = 'network.xyo.automation.event'\nexport const SentinelEventAutomationSchema: SentinelEventAutomationSchema = 'network.xyo.automation.event'\n\nexport type SentinelBaseAutomationPayload<T extends Payload> = Payload<\n {\n type?: 'interval' | 'event'\n } & T\n>\n\n/** Settings for an Interval Automation */\nexport type SentinelIntervalAutomationPayload = SentinelBaseAutomationPayload<{\n /** Epoch after which any reoccurrence stops */\n end?: number\n\n /** Time between triggers [non-repeating if undefined] */\n frequency?: number\n\n /** Units for frequency field [hour if undefined] */\n frequencyUnits?: 'second' | 'minute' | 'hour' | 'day'\n\n /** Remaining triggers [infinite if undefined] */\n remaining?: number\n\n schema: SentinelIntervalAutomationSchema\n\n /** Epoch of the next trigger */\n start: number\n\n /** The type of automation */\n type: 'interval'\n}>\n\nexport const isSentinelIntervalAutomation = isPayloadOfSchemaType<SentinelIntervalAutomationPayload>(SentinelIntervalAutomationSchema)\n\n/** Settings for an Event Automation */\nexport type SentinelEventAutomationPayload = SentinelBaseAutomationPayload<{\n schema: SentinelEventAutomationSchema\n type: 'event'\n}>\n\n/** Settings for an Automation */\nexport type SentinelAutomationPayload = Payload<\n SentinelIntervalAutomationPayload | SentinelEventAutomationPayload,\n SentinelAutomationSchema | SentinelIntervalAutomationSchema | SentinelEventAutomationSchema\n>\n","import { WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SentinelAutomationPayload } from './Automation.js'\nimport { Task } from './Task.js'\n\nexport const SentinelConfigSchema = 'network.xyo.sentinel.config' as const\nexport type SentinelConfigSchema = typeof SentinelConfigSchema\n\nexport type SentinelConfig<TConfig extends Payload | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n automations?: SentinelAutomationPayload[]\n schema: TConfig extends Payload ? TConfig['schema'] : SentinelConfigSchema\n synchronous?: boolean\n tasks: Task[]\n throwErrors?: boolean\n },\n TConfig\n >,\n TSchema\n>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type SentinelReportQuerySchema = 'network.xyo.query.sentinel.report'\nexport const SentinelReportQuerySchema: SentinelReportQuerySchema = 'network.xyo.query.sentinel.report'\n\nexport type SentinelReportQuery = Query<{\n schema: SentinelReportQuerySchema\n}>\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { SentinelInstance } from './Instance.js'\nimport { SentinelModule } from './Module.js'\nimport { SentinelReportQuerySchema } from './Queries/index.js'\n\nexport const isSentinelInstance = new IsInstanceFactory<SentinelInstance>().create({ report: 'function' }, [isModuleInstance])\nexport const isSentinelModule = new IsModuleFactory<SentinelModule>().create([SentinelReportQuerySchema])\n\nexport const asSentinelModule = AsObjectFactory.create(isSentinelModule)\nexport const asSentinelInstance = AsObjectFactory.create(isSentinelInstance)\nexport const withSentinelModule = WithFactory.create(isSentinelModule)\nexport const withSentinelInstance = WithFactory.create(isSentinelInstance)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;ACAA,2BAA+C;AAGxC,IAAMA,2BAAqD;AAG3D,IAAMC,mCAAqE;AAG3E,IAAMC,gCAA+D;AA+BrE,IAAMC,mCAA+BC,4CAAyDH,gCAAAA;;;ACjC9F,IAAMI,uBAAuB;;;ACJ7B,IAAMC,4BAAuD;;;ACHpE,oBAAgC;AAChC,0BAAkF;AAM3E,IAAMC,qBAAqB,IAAIC,sCAAAA,EAAsCC,OAAO;EAAEC,QAAQ;AAAW,GAAG;EAACC;CAAiB;AACtH,IAAMC,mBAAmB,IAAIC,oCAAAA,EAAkCJ,OAAO;EAACK;CAA0B;AAEjG,IAAMC,mBAAmBC,8BAAgBP,OAAOG,gBAAAA;AAChD,IAAMK,qBAAqBD,8BAAgBP,OAAOF,kBAAAA;AAClD,IAAMW,qBAAqBC,gCAAYV,OAAOG,gBAAAA;AAC9C,IAAMQ,uBAAuBD,gCAAYV,OAAOF,kBAAAA;","names":["SentinelAutomationSchema","SentinelIntervalAutomationSchema","SentinelEventAutomationSchema","isSentinelIntervalAutomation","isPayloadOfSchemaType","SentinelConfigSchema","SentinelReportQuerySchema","isSentinelInstance","IsInstanceFactory","create","report","isModuleInstance","isSentinelModule","IsModuleFactory","SentinelReportQuerySchema","asSentinelModule","AsObjectFactory","asSentinelInstance","withSentinelModule","WithFactory","withSentinelInstance"]}
|
package/dist/neutral/index.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from './Automation';
|
|
2
|
-
export * from './Config';
|
|
3
|
-
export * from './EventData';
|
|
4
|
-
export * from './EventsModels';
|
|
5
|
-
export * from './Instance';
|
|
6
|
-
export * from './Job';
|
|
7
|
-
export * from './Module';
|
|
8
|
-
export * from './Params';
|
|
9
|
-
export * from './Queries';
|
|
10
|
-
export * from './ResolvedTask';
|
|
11
|
-
export * from './Sentinel';
|
|
12
|
-
export * from './Task';
|
|
13
|
-
export * from './typeChecks';
|
|
1
|
+
export * from './Automation.js';
|
|
2
|
+
export * from './Config.js';
|
|
3
|
+
export * from './EventData.js';
|
|
4
|
+
export * from './EventsModels/index.js';
|
|
5
|
+
export * from './Instance.js';
|
|
6
|
+
export * from './Job.js';
|
|
7
|
+
export * from './Module.js';
|
|
8
|
+
export * from './Params.js';
|
|
9
|
+
export * from './Queries/index.js';
|
|
10
|
+
export * from './ResolvedTask.js';
|
|
11
|
+
export * from './Sentinel.js';
|
|
12
|
+
export * from './Task.js';
|
|
13
|
+
export * from './typeChecks.js';
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA"}
|
package/dist/neutral/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from './Automation';
|
|
2
|
-
export * from './Config';
|
|
3
|
-
export * from './EventData';
|
|
4
|
-
export * from './EventsModels';
|
|
5
|
-
export * from './Instance';
|
|
6
|
-
export * from './Job';
|
|
7
|
-
export * from './Module';
|
|
8
|
-
export * from './Params';
|
|
9
|
-
export * from './Queries';
|
|
10
|
-
export * from './ResolvedTask';
|
|
11
|
-
export * from './Sentinel';
|
|
12
|
-
export * from './Task';
|
|
13
|
-
export * from './typeChecks';
|
|
1
|
+
export * from './Automation.js';
|
|
2
|
+
export * from './Config.js';
|
|
3
|
+
export * from './EventData.js';
|
|
4
|
+
export * from './EventsModels/index.js';
|
|
5
|
+
export * from './Instance.js';
|
|
6
|
+
export * from './Job.js';
|
|
7
|
+
export * from './Module.js';
|
|
8
|
+
export * from './Params.js';
|
|
9
|
+
export * from './Queries/index.js';
|
|
10
|
+
export * from './ResolvedTask.js';
|
|
11
|
+
export * from './Sentinel.js';
|
|
12
|
+
export * from './Task.js';
|
|
13
|
+
export * from './typeChecks.js';
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from './Automation';
|
|
2
|
-
export * from './Config';
|
|
3
|
-
export * from './EventData';
|
|
4
|
-
export * from './EventsModels';
|
|
5
|
-
export * from './Instance';
|
|
6
|
-
export * from './Job';
|
|
7
|
-
export * from './Module';
|
|
8
|
-
export * from './Params';
|
|
9
|
-
export * from './Queries';
|
|
10
|
-
export * from './ResolvedTask';
|
|
11
|
-
export * from './Sentinel';
|
|
12
|
-
export * from './Task';
|
|
13
|
-
export * from './typeChecks';
|
|
1
|
+
export * from './Automation.js';
|
|
2
|
+
export * from './Config.js';
|
|
3
|
+
export * from './EventData.js';
|
|
4
|
+
export * from './EventsModels/index.js';
|
|
5
|
+
export * from './Instance.js';
|
|
6
|
+
export * from './Job.js';
|
|
7
|
+
export * from './Module.js';
|
|
8
|
+
export * from './Params.js';
|
|
9
|
+
export * from './Queries/index.js';
|
|
10
|
+
export * from './ResolvedTask.js';
|
|
11
|
+
export * from './Sentinel.js';
|
|
12
|
+
export * from './Task.js';
|
|
13
|
+
export * from './typeChecks.js';
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Automation.ts","../../src/Config.ts","../../src/Queries/Report.ts","../../src/typeChecks.ts"],"sourcesContent":["import { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport type SentinelAutomationSchema = 'network.xyo.automation'\nexport const SentinelAutomationSchema: SentinelAutomationSchema = 'network.xyo.automation'\n\nexport type SentinelIntervalAutomationSchema = 'network.xyo.automation.interval'\nexport const SentinelIntervalAutomationSchema: SentinelIntervalAutomationSchema = 'network.xyo.automation.interval'\n\nexport type SentinelEventAutomationSchema = 'network.xyo.automation.event'\nexport const SentinelEventAutomationSchema: SentinelEventAutomationSchema = 'network.xyo.automation.event'\n\nexport type SentinelBaseAutomationPayload<T extends Payload> = Payload<\n {\n type?: 'interval' | 'event'\n } & T\n>\n\n/** Settings for an Interval Automation */\nexport type SentinelIntervalAutomationPayload = SentinelBaseAutomationPayload<{\n /** Epoch after which any reoccurrence stops */\n end?: number\n\n /** Time between triggers [non-repeating if undefined] */\n frequency?: number\n\n /** Units for frequency field [hour if undefined] */\n frequencyUnits?: 'second' | 'minute' | 'hour' | 'day'\n\n /** Remaining triggers [infinite if undefined] */\n remaining?: number\n\n schema: SentinelIntervalAutomationSchema\n\n /** Epoch of the next trigger */\n start: number\n\n /** The type of automation */\n type: 'interval'\n}>\n\nexport const isSentinelIntervalAutomation = isPayloadOfSchemaType<SentinelIntervalAutomationPayload>(SentinelIntervalAutomationSchema)\n\n/** Settings for an Event Automation */\nexport type SentinelEventAutomationPayload = SentinelBaseAutomationPayload<{\n schema: SentinelEventAutomationSchema\n type: 'event'\n}>\n\n/** Settings for an Automation */\nexport type SentinelAutomationPayload = Payload<\n SentinelIntervalAutomationPayload | SentinelEventAutomationPayload,\n SentinelAutomationSchema | SentinelIntervalAutomationSchema | SentinelEventAutomationSchema\n>\n","import { WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SentinelAutomationPayload } from './Automation'\nimport { Task } from './Task'\n\nexport const SentinelConfigSchema = 'network.xyo.sentinel.config' as const\nexport type SentinelConfigSchema = typeof SentinelConfigSchema\n\nexport type SentinelConfig<TConfig extends Payload | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n automations?: SentinelAutomationPayload[]\n schema: TConfig extends Payload ? TConfig['schema'] : SentinelConfigSchema\n synchronous?: boolean\n tasks: Task[]\n throwErrors?: boolean\n },\n TConfig\n >,\n TSchema\n>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type SentinelReportQuerySchema = 'network.xyo.query.sentinel.report'\nexport const SentinelReportQuerySchema: SentinelReportQuerySchema = 'network.xyo.query.sentinel.report'\n\nexport type SentinelReportQuery = Query<{\n schema: SentinelReportQuerySchema\n}>\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { SentinelInstance } from './Instance'\nimport { SentinelModule } from './Module'\nimport { SentinelReportQuerySchema } from './Queries'\n\nexport const isSentinelInstance = new IsInstanceFactory<SentinelInstance>().create({ report: 'function' }, [isModuleInstance])\nexport const isSentinelModule = new IsModuleFactory<SentinelModule>().create([SentinelReportQuerySchema])\n\nexport const asSentinelModule = AsObjectFactory.create(isSentinelModule)\nexport const asSentinelInstance = AsObjectFactory.create(isSentinelInstance)\nexport const withSentinelModule = WithFactory.create(isSentinelModule)\nexport const withSentinelInstance = WithFactory.create(isSentinelInstance)\n"],"mappings":";AAAA,SAASA,6BAAsC;AAGxC,IAAMC,2BAAqD;AAG3D,IAAMC,mCAAqE;AAG3E,IAAMC,gCAA+D;AA+BrE,IAAMC,+BAA+BJ,sBAAyDE,gCAAAA;;;ACjC9F,IAAMG,uBAAuB;;;ACJ7B,IAAMC,4BAAuD;;;ACHpE,SAASC,uBAAuB;AAChC,SAASC,mBAAmBC,iBAAiBC,kBAAkBC,mBAAmB;AAM3E,IAAMC,qBAAqB,IAAIC,kBAAAA,EAAsCC,OAAO;EAAEC,QAAQ;AAAW,GAAG;EAACC;CAAiB;AACtH,IAAMC,mBAAmB,IAAIC,gBAAAA,EAAkCJ,OAAO;EAACK;CAA0B;AAEjG,IAAMC,mBAAmBC,gBAAgBP,OAAOG,gBAAAA;AAChD,IAAMK,qBAAqBD,gBAAgBP,OAAOF,kBAAAA;AAClD,IAAMW,qBAAqBC,YAAYV,OAAOG,gBAAAA;AAC9C,IAAMQ,uBAAuBD,YAAYV,OAAOF,kBAAAA;","names":["isPayloadOfSchemaType","SentinelAutomationSchema","SentinelIntervalAutomationSchema","SentinelEventAutomationSchema","isSentinelIntervalAutomation","SentinelConfigSchema","SentinelReportQuerySchema","AsObjectFactory","IsInstanceFactory","IsModuleFactory","isModuleInstance","WithFactory","isSentinelInstance","IsInstanceFactory","create","report","isModuleInstance","isSentinelModule","IsModuleFactory","SentinelReportQuerySchema","asSentinelModule","AsObjectFactory","asSentinelInstance","withSentinelModule","WithFactory","withSentinelInstance"]}
|
|
1
|
+
{"version":3,"sources":["../../src/Automation.ts","../../src/Config.ts","../../src/Queries/Report.ts","../../src/typeChecks.ts"],"sourcesContent":["import { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport type SentinelAutomationSchema = 'network.xyo.automation'\nexport const SentinelAutomationSchema: SentinelAutomationSchema = 'network.xyo.automation'\n\nexport type SentinelIntervalAutomationSchema = 'network.xyo.automation.interval'\nexport const SentinelIntervalAutomationSchema: SentinelIntervalAutomationSchema = 'network.xyo.automation.interval'\n\nexport type SentinelEventAutomationSchema = 'network.xyo.automation.event'\nexport const SentinelEventAutomationSchema: SentinelEventAutomationSchema = 'network.xyo.automation.event'\n\nexport type SentinelBaseAutomationPayload<T extends Payload> = Payload<\n {\n type?: 'interval' | 'event'\n } & T\n>\n\n/** Settings for an Interval Automation */\nexport type SentinelIntervalAutomationPayload = SentinelBaseAutomationPayload<{\n /** Epoch after which any reoccurrence stops */\n end?: number\n\n /** Time between triggers [non-repeating if undefined] */\n frequency?: number\n\n /** Units for frequency field [hour if undefined] */\n frequencyUnits?: 'second' | 'minute' | 'hour' | 'day'\n\n /** Remaining triggers [infinite if undefined] */\n remaining?: number\n\n schema: SentinelIntervalAutomationSchema\n\n /** Epoch of the next trigger */\n start: number\n\n /** The type of automation */\n type: 'interval'\n}>\n\nexport const isSentinelIntervalAutomation = isPayloadOfSchemaType<SentinelIntervalAutomationPayload>(SentinelIntervalAutomationSchema)\n\n/** Settings for an Event Automation */\nexport type SentinelEventAutomationPayload = SentinelBaseAutomationPayload<{\n schema: SentinelEventAutomationSchema\n type: 'event'\n}>\n\n/** Settings for an Automation */\nexport type SentinelAutomationPayload = Payload<\n SentinelIntervalAutomationPayload | SentinelEventAutomationPayload,\n SentinelAutomationSchema | SentinelIntervalAutomationSchema | SentinelEventAutomationSchema\n>\n","import { WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SentinelAutomationPayload } from './Automation.js'\nimport { Task } from './Task.js'\n\nexport const SentinelConfigSchema = 'network.xyo.sentinel.config' as const\nexport type SentinelConfigSchema = typeof SentinelConfigSchema\n\nexport type SentinelConfig<TConfig extends Payload | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n automations?: SentinelAutomationPayload[]\n schema: TConfig extends Payload ? TConfig['schema'] : SentinelConfigSchema\n synchronous?: boolean\n tasks: Task[]\n throwErrors?: boolean\n },\n TConfig\n >,\n TSchema\n>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type SentinelReportQuerySchema = 'network.xyo.query.sentinel.report'\nexport const SentinelReportQuerySchema: SentinelReportQuerySchema = 'network.xyo.query.sentinel.report'\n\nexport type SentinelReportQuery = Query<{\n schema: SentinelReportQuerySchema\n}>\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { SentinelInstance } from './Instance.js'\nimport { SentinelModule } from './Module.js'\nimport { SentinelReportQuerySchema } from './Queries/index.js'\n\nexport const isSentinelInstance = new IsInstanceFactory<SentinelInstance>().create({ report: 'function' }, [isModuleInstance])\nexport const isSentinelModule = new IsModuleFactory<SentinelModule>().create([SentinelReportQuerySchema])\n\nexport const asSentinelModule = AsObjectFactory.create(isSentinelModule)\nexport const asSentinelInstance = AsObjectFactory.create(isSentinelInstance)\nexport const withSentinelModule = WithFactory.create(isSentinelModule)\nexport const withSentinelInstance = WithFactory.create(isSentinelInstance)\n"],"mappings":";AAAA,SAASA,6BAAsC;AAGxC,IAAMC,2BAAqD;AAG3D,IAAMC,mCAAqE;AAG3E,IAAMC,gCAA+D;AA+BrE,IAAMC,+BAA+BJ,sBAAyDE,gCAAAA;;;ACjC9F,IAAMG,uBAAuB;;;ACJ7B,IAAMC,4BAAuD;;;ACHpE,SAASC,uBAAuB;AAChC,SAASC,mBAAmBC,iBAAiBC,kBAAkBC,mBAAmB;AAM3E,IAAMC,qBAAqB,IAAIC,kBAAAA,EAAsCC,OAAO;EAAEC,QAAQ;AAAW,GAAG;EAACC;CAAiB;AACtH,IAAMC,mBAAmB,IAAIC,gBAAAA,EAAkCJ,OAAO;EAACK;CAA0B;AAEjG,IAAMC,mBAAmBC,gBAAgBP,OAAOG,gBAAAA;AAChD,IAAMK,qBAAqBD,gBAAgBP,OAAOF,kBAAAA;AAClD,IAAMW,qBAAqBC,YAAYV,OAAOG,gBAAAA;AAC9C,IAAMQ,uBAAuBD,YAAYV,OAAOF,kBAAAA;","names":["isPayloadOfSchemaType","SentinelAutomationSchema","SentinelIntervalAutomationSchema","SentinelEventAutomationSchema","isSentinelIntervalAutomation","SentinelConfigSchema","SentinelReportQuerySchema","AsObjectFactory","IsInstanceFactory","IsModuleFactory","isModuleInstance","WithFactory","isSentinelInstance","IsInstanceFactory","create","report","isModuleInstance","isSentinelModule","IsModuleFactory","SentinelReportQuerySchema","asSentinelModule","AsObjectFactory","asSentinelInstance","withSentinelModule","WithFactory","withSentinelInstance"]}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { SentinelInstance } from './Instance';
|
|
2
|
-
import { SentinelModule } from './Module';
|
|
1
|
+
import { SentinelInstance } from './Instance.js';
|
|
2
|
+
import { SentinelModule } from './Module.js';
|
|
3
3
|
export declare const isSentinelInstance: import("@xylabs/object").TypeCheck<SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
4
4
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
5
5
|
addToResolvers?: boolean;
|
|
6
6
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
7
7
|
allowNameResolution?: boolean;
|
|
8
8
|
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
9
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
9
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
10
10
|
schema: "network.xyo.sentinel.config";
|
|
11
11
|
synchronous?: boolean;
|
|
12
|
-
tasks: import("./Task").Task[];
|
|
12
|
+
tasks: import("./Task.js").Task[];
|
|
13
13
|
throwErrors?: boolean;
|
|
14
14
|
}, "schema"> & {
|
|
15
15
|
schema: "network.xyo.sentinel.config";
|
|
@@ -18,7 +18,7 @@ export declare const isSentinelInstance: import("@xylabs/object").TypeCheck<Sent
|
|
|
18
18
|
};
|
|
19
19
|
ephemeralQueryAccountEnabled?: boolean;
|
|
20
20
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
21
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
21
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
22
22
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
23
23
|
addToResolvers?: boolean;
|
|
24
24
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -37,10 +37,10 @@ export declare const isSentinelModule: import("@xyo-network/module-model").Modul
|
|
|
37
37
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
38
38
|
allowNameResolution?: boolean;
|
|
39
39
|
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
40
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
40
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
41
41
|
schema: "network.xyo.sentinel.config";
|
|
42
42
|
synchronous?: boolean;
|
|
43
|
-
tasks: import("./Task").Task[];
|
|
43
|
+
tasks: import("./Task.js").Task[];
|
|
44
44
|
throwErrors?: boolean;
|
|
45
45
|
}, "schema"> & {
|
|
46
46
|
schema: "network.xyo.sentinel.config";
|
|
@@ -49,7 +49,7 @@ export declare const isSentinelModule: import("@xyo-network/module-model").Modul
|
|
|
49
49
|
};
|
|
50
50
|
ephemeralQueryAccountEnabled?: boolean;
|
|
51
51
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
52
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
52
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
53
53
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
54
54
|
addToResolvers?: boolean;
|
|
55
55
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -69,10 +69,10 @@ export declare const asSentinelModule: {
|
|
|
69
69
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
70
70
|
allowNameResolution?: boolean;
|
|
71
71
|
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 & {
|
|
72
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
72
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
73
73
|
schema: "network.xyo.sentinel.config";
|
|
74
74
|
synchronous?: boolean;
|
|
75
|
-
tasks: import("./Task").Task[];
|
|
75
|
+
tasks: import("./Task.js").Task[];
|
|
76
76
|
throwErrors?: boolean;
|
|
77
77
|
}, "schema"> & {
|
|
78
78
|
schema: "network.xyo.sentinel.config";
|
|
@@ -81,7 +81,7 @@ export declare const asSentinelModule: {
|
|
|
81
81
|
};
|
|
82
82
|
ephemeralQueryAccountEnabled?: boolean;
|
|
83
83
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
84
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
84
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
85
85
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
86
86
|
addToResolvers?: boolean;
|
|
87
87
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -100,10 +100,10 @@ export declare const asSentinelModule: {
|
|
|
100
100
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
101
101
|
allowNameResolution?: boolean;
|
|
102
102
|
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 & {
|
|
103
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
103
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
104
104
|
schema: "network.xyo.sentinel.config";
|
|
105
105
|
synchronous?: boolean;
|
|
106
|
-
tasks: import("./Task").Task[];
|
|
106
|
+
tasks: import("./Task.js").Task[];
|
|
107
107
|
throwErrors?: boolean;
|
|
108
108
|
}, "schema"> & {
|
|
109
109
|
schema: "network.xyo.sentinel.config";
|
|
@@ -112,7 +112,7 @@ export declare const asSentinelModule: {
|
|
|
112
112
|
};
|
|
113
113
|
ephemeralQueryAccountEnabled?: boolean;
|
|
114
114
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
115
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
115
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
116
116
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
117
117
|
addToResolvers?: boolean;
|
|
118
118
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -130,10 +130,10 @@ export declare const asSentinelModule: {
|
|
|
130
130
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
131
131
|
allowNameResolution?: boolean;
|
|
132
132
|
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 & {
|
|
133
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
133
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
134
134
|
schema: "network.xyo.sentinel.config";
|
|
135
135
|
synchronous?: boolean;
|
|
136
|
-
tasks: import("./Task").Task[];
|
|
136
|
+
tasks: import("./Task.js").Task[];
|
|
137
137
|
throwErrors?: boolean;
|
|
138
138
|
}, "schema"> & {
|
|
139
139
|
schema: "network.xyo.sentinel.config";
|
|
@@ -142,7 +142,7 @@ export declare const asSentinelModule: {
|
|
|
142
142
|
};
|
|
143
143
|
ephemeralQueryAccountEnabled?: boolean;
|
|
144
144
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
145
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
145
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
146
146
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
147
147
|
addToResolvers?: boolean;
|
|
148
148
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -163,10 +163,10 @@ export declare const asSentinelInstance: {
|
|
|
163
163
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
164
164
|
allowNameResolution?: boolean;
|
|
165
165
|
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 & {
|
|
166
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
166
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
167
167
|
schema: "network.xyo.sentinel.config";
|
|
168
168
|
synchronous?: boolean;
|
|
169
|
-
tasks: import("./Task").Task[];
|
|
169
|
+
tasks: import("./Task.js").Task[];
|
|
170
170
|
throwErrors?: boolean;
|
|
171
171
|
}, "schema"> & {
|
|
172
172
|
schema: "network.xyo.sentinel.config";
|
|
@@ -175,7 +175,7 @@ export declare const asSentinelInstance: {
|
|
|
175
175
|
};
|
|
176
176
|
ephemeralQueryAccountEnabled?: boolean;
|
|
177
177
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
178
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
178
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
179
179
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
180
180
|
addToResolvers?: boolean;
|
|
181
181
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -194,10 +194,10 @@ export declare const asSentinelInstance: {
|
|
|
194
194
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
195
195
|
allowNameResolution?: boolean;
|
|
196
196
|
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 & {
|
|
197
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
197
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
198
198
|
schema: "network.xyo.sentinel.config";
|
|
199
199
|
synchronous?: boolean;
|
|
200
|
-
tasks: import("./Task").Task[];
|
|
200
|
+
tasks: import("./Task.js").Task[];
|
|
201
201
|
throwErrors?: boolean;
|
|
202
202
|
}, "schema"> & {
|
|
203
203
|
schema: "network.xyo.sentinel.config";
|
|
@@ -206,7 +206,7 @@ export declare const asSentinelInstance: {
|
|
|
206
206
|
};
|
|
207
207
|
ephemeralQueryAccountEnabled?: boolean;
|
|
208
208
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
209
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
209
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
210
210
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
211
211
|
addToResolvers?: boolean;
|
|
212
212
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -224,10 +224,10 @@ export declare const asSentinelInstance: {
|
|
|
224
224
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
225
225
|
allowNameResolution?: boolean;
|
|
226
226
|
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 & {
|
|
227
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
227
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
228
228
|
schema: "network.xyo.sentinel.config";
|
|
229
229
|
synchronous?: boolean;
|
|
230
|
-
tasks: import("./Task").Task[];
|
|
230
|
+
tasks: import("./Task.js").Task[];
|
|
231
231
|
throwErrors?: boolean;
|
|
232
232
|
}, "schema"> & {
|
|
233
233
|
schema: "network.xyo.sentinel.config";
|
|
@@ -236,7 +236,7 @@ export declare const asSentinelInstance: {
|
|
|
236
236
|
};
|
|
237
237
|
ephemeralQueryAccountEnabled?: boolean;
|
|
238
238
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
239
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
239
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
240
240
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
241
241
|
addToResolvers?: boolean;
|
|
242
242
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -256,10 +256,10 @@ export declare const withSentinelModule: <R>(mod: any, closure: (mod: SentinelMo
|
|
|
256
256
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
257
257
|
allowNameResolution?: boolean;
|
|
258
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 & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
259
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
259
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
260
260
|
schema: "network.xyo.sentinel.config";
|
|
261
261
|
synchronous?: boolean;
|
|
262
|
-
tasks: import("./Task").Task[];
|
|
262
|
+
tasks: import("./Task.js").Task[];
|
|
263
263
|
throwErrors?: boolean;
|
|
264
264
|
}, "schema"> & {
|
|
265
265
|
schema: "network.xyo.sentinel.config";
|
|
@@ -268,7 +268,7 @@ export declare const withSentinelModule: <R>(mod: any, closure: (mod: SentinelMo
|
|
|
268
268
|
};
|
|
269
269
|
ephemeralQueryAccountEnabled?: boolean;
|
|
270
270
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
271
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
271
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
272
272
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
273
273
|
addToResolvers?: boolean;
|
|
274
274
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -287,10 +287,10 @@ export declare const withSentinelInstance: <R>(mod: any, closure: (mod: Sentinel
|
|
|
287
287
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
288
288
|
allowNameResolution?: boolean;
|
|
289
289
|
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 & {
|
|
290
|
-
automations?: import("./Automation").SentinelAutomationPayload[];
|
|
290
|
+
automations?: import("./Automation.js").SentinelAutomationPayload[];
|
|
291
291
|
schema: "network.xyo.sentinel.config";
|
|
292
292
|
synchronous?: boolean;
|
|
293
|
-
tasks: import("./Task").Task[];
|
|
293
|
+
tasks: import("./Task.js").Task[];
|
|
294
294
|
throwErrors?: boolean;
|
|
295
295
|
}, "schema"> & {
|
|
296
296
|
schema: "network.xyo.sentinel.config";
|
|
@@ -299,7 +299,7 @@ export declare const withSentinelInstance: <R>(mod: any, closure: (mod: Sentinel
|
|
|
299
299
|
};
|
|
300
300
|
ephemeralQueryAccountEnabled?: boolean;
|
|
301
301
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
302
|
-
}, import("./EventData").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
302
|
+
}, import("./EventData.js").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
303
303
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
304
304
|
addToResolvers?: boolean;
|
|
305
305
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAG5C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qFANG,iBAC5B,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qFAEe,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wFAC/B,gBAAoB;CAEN,CAAA;AACxE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qFAPC,iBAC5B,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qFAEe,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wFAC/B,gBAAoB;CAGF,CAAA;AAC5E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAyC,CAAA"}
|