@xyo-network/diviner-stateful 3.3.0 → 3.3.2

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.
@@ -1,7 +1,16 @@
1
1
  import type { DivinerConfig } from '@xyo-network/diviner-model';
2
2
  import type { ModuleIdentifier } from '@xyo-network/module-model';
3
+ /**
4
+ * The schema for a Stateful Diviner config
5
+ */
3
6
  export declare const StatefulDivinerConfigSchema: "network.xyo.diviner.stateful.config";
7
+ /**
8
+ * The schema for a Stateful Diviner config
9
+ */
4
10
  export type StatefulDivinerConfigSchema = typeof StatefulDivinerConfigSchema;
11
+ /**
12
+ * The config for a Stateful Diviner
13
+ */
5
14
  export type StatefulDivinerConfig = DivinerConfig<{
6
15
  schema: StatefulDivinerConfigSchema;
7
16
  stateStore: {
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAOjE,eAAO,MAAM,2BAA2B,uCAA6C,CAAA;AAIrF,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAK5E,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC;IAChD,MAAM,EAAE,2BAA2B,CAAA;IACnC,UAAU,EAAE;QACV,SAAS,EAAE,gBAAgB,CAAA;QAC3B,mBAAmB,EAAE,gBAAgB,CAAA;QACrC,cAAc,EAAE,gBAAgB,CAAA;KACjC,CAAA;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAIjE;;GAEG;AACH,eAAO,MAAM,2BAA2B,uCAA6C,CAAA;AACrF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC;IAChD,MAAM,EAAE,2BAA2B,CAAA;IACnC,UAAU,EAAE;QACV,SAAS,EAAE,gBAAgB,CAAA;QAC3B,mBAAmB,EAAE,gBAAgB,CAAA;QACrC,cAAc,EAAE,gBAAgB,CAAA;KACjC,CAAA;CACF,CAAC,CAAA"}
@@ -5,11 +5,29 @@ import { DivinerWrapper } from '@xyo-network/diviner-wrapper';
5
5
  import type { ModuleState, StateDictionary } from '@xyo-network/module-model';
6
6
  import type { Payload, Schema, WithMeta } from '@xyo-network/payload-model';
7
7
  import type { StatefulDivinerParams } from './Params.ts';
8
+ /**
9
+ * A Diviner that maintains state
10
+ */
8
11
  export declare abstract class StatefulDiviner<TParams extends StatefulDivinerParams = StatefulDivinerParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut>, TState extends StateDictionary = StateDictionary> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {
9
12
  static readonly configSchemas: Schema[];
10
13
  static readonly defaultConfigSchema: Schema;
14
+ /**
15
+ * The last state
16
+ */
11
17
  protected _lastState?: WithMeta<ModuleState<TState>>;
18
+ /**
19
+ * Commit the internal state of the Diviner process. This is similar
20
+ * to a transaction completion in a database and should only be called
21
+ * when results have been successfully persisted to the appropriate
22
+ * external stores.
23
+ * @param nextState The state to commit
24
+ */
12
25
  protected commitState(nextState: WithMeta<ModuleState<TState>>): Promise<void>;
26
+ /**
27
+ * Retrieves the archivist for the specified store
28
+ * @param store The store to retrieve the archivist for
29
+ * @returns The archivist for the specified store
30
+ */
13
31
  protected getArchivistForStateStore(): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule<import("@xylabs/object").BaseParamsFields & {
14
32
  account?: import("@xyo-network/account-model").AccountInstance | "random";
15
33
  addToResolvers?: boolean;
@@ -29,6 +47,11 @@ export declare abstract class StatefulDiviner<TParams extends StatefulDivinerPar
29
47
  ephemeralQueryAccountEnabled?: boolean;
30
48
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
31
49
  }, import("@xyo-network/archivist-model").ArchivistModuleEventData>>>;
50
+ /**
51
+ * Retrieves the BoundWitness Diviner for the specified store
52
+ * @param store The store to retrieve the BoundWitness Diviner for
53
+ * @returns The BoundWitness Diviner for the specified store
54
+ */
32
55
  protected getBoundWitnessDivinerForStateStore(): Promise<DivinerWrapper<import("@xyo-network/diviner-model").DivinerModule<import("@xylabs/object").BaseParamsFields & {
33
56
  account?: import("@xyo-network/account-model").AccountInstance | "random";
34
57
  addToResolvers?: boolean;
@@ -48,6 +71,11 @@ export declare abstract class StatefulDiviner<TParams extends StatefulDivinerPar
48
71
  } & import("@xyo-network/payload-model").PayloadFields, {
49
72
  schema: string;
50
73
  } & import("@xyo-network/payload-model").PayloadFields>>;
74
+ /**
75
+ * Retrieves the Payload Diviner for the specified store
76
+ * @param store The store to retrieve the Payload Diviner for
77
+ * @returns The Payload Diviner for the specified store
78
+ */
51
79
  protected getPayloadDivinerForStateStore(): Promise<DivinerWrapper<import("@xyo-network/diviner-model").DivinerModule<import("@xylabs/object").BaseParamsFields & {
52
80
  account?: import("@xyo-network/account-model").AccountInstance | "random";
53
81
  addToResolvers?: boolean;
@@ -67,6 +95,10 @@ export declare abstract class StatefulDiviner<TParams extends StatefulDivinerPar
67
95
  } & import("@xyo-network/payload-model").PayloadFields, {
68
96
  schema: string;
69
97
  } & import("@xyo-network/payload-model").PayloadFields>>;
98
+ /**
99
+ * Retrieves the last state of the Diviner process. Used to recover state after
100
+ * preemptions, reboots, etc.
101
+ */
70
102
  protected retrieveState(): Promise<WithMeta<ModuleState<TState>> |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AC;IACvD,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAwD;IACxG,gBAAyB,mBAAmB,EAAE,MAAM,CAA8B;IAElF;;OAEG;IACH,SAAS,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAA;IAEpD;;;;;;OAMG;cACa,WAAW,CAAC,SAAS,EAAE,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IASpE;;;;OAIG;cACa,yBAAyB;;;;;;;;;;;;;;;;;;;IAMzC;;;;OAIG;cACa,mCAAmC;;;;;;;;;;;;;;;;;;;IAMnD;;;;OAIG;cACa,8BAA8B;;;;;;;;;;;;;;;;;;;IAM9C;;;OAGG;cACa,aAAa,IAAI,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CAwCpF"}
@@ -3,6 +3,11 @@ import type { WithMeta } from '@xyo-network/payload-model';
3
3
  import type { StatefulDivinerConfig } from './Config.ts';
4
4
  export type StatefulModuleParams = ModuleParams<AnyConfigSchema<StatefulDivinerConfig>>;
5
5
  export type AnyModule<TParams extends StatefulModuleParams = StatefulModuleParams> = new (...args: any[]) => ModuleInstance<TParams>;
6
+ /**
7
+ * @ignore Inherit from StatefulDiviner instead
8
+ * @param ModuleBase
9
+ * @returns
10
+ */
6
11
  export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = import("@xylabs/object").BaseParamsFields & {
7
12
  account?: import("@xyo-network/account-model").AccountInstance | "random";
8
13
  addToResolvers?: boolean;
@@ -26,7 +31,19 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
26
31
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
27
32
  }, TModule extends AnyModule<TParams> = AnyModule<TParams>, TState extends StateDictionary = StateDictionary>(ModuleBase: TModule) => (abstract new (...args: any[]) => {
28
33
  _lastState?: WithMeta<ModuleState<TState>>;
34
+ /**
35
+ * Commit the internal state of the Diviner process. This is similar
36
+ * to a transaction completion in a database and should only be called
37
+ * when results have been successfully persisted to the appropriate
38
+ * external stores.
39
+ * @param nextState The state to commit
40
+ */
29
41
  commitState(nextState: WithMeta<ModuleState<TState>>): Promise<void>;
42
+ /**
43
+ * Retrieves the archivist for the specified store
44
+ * @param store The store to retrieve the archivist for
45
+ * @returns The archivist for the specified store
46
+ */
30
47
  getArchivistForStore(): Promise<import("@xyo-network/archivist-model").ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
31
48
  account?: import("@xyo-network/account-model").AccountInstance | "random";
32
49
  addToResolvers?: boolean;
@@ -48,6 +65,11 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
48
65
  }, import("@xyo-network/archivist-model").ArchivistModuleEventData, {
49
66
  schema: string;
50
67
  } & import("@xyo-network/payload-model").PayloadFields>>;
68
+ /**
69
+ * Retrieves the BoundWitness Diviner for the specified store
70
+ * @param store The store to retrieve the BoundWitness Diviner for
71
+ * @returns The BoundWitness Diviner for the specified store
72
+ */
51
73
  getBoundWitnessDivinerForStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
52
74
  account?: import("@xyo-network/account-model").AccountInstance | "random";
53
75
  addToResolvers?: boolean;
@@ -83,6 +105,11 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
83
105
  } & import("@xyo-network/payload-model").PayloadFields, {
84
106
  schema: string;
85
107
  } & import("@xyo-network/payload-model").PayloadFields>>>;
108
+ /**
109
+ * Retrieves the Payload Diviner for the specified store
110
+ * @param store The store to retrieve the Payload Diviner for
111
+ * @returns The Payload Diviner for the specified store
112
+ */
86
113
  getPayloadDivinerForStateStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
87
114
  account?: import("@xyo-network/account-model").AccountInstance | "random";
88
115
  addToResolvers?: boolean;
@@ -118,6 +145,10 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
118
145
  } & import("@xyo-network/payload-model").PayloadFields, {
119
146
  schema: string;
120
147
  } & import("@xyo-network/payload-model").PayloadFields>>>;
148
+ /**
149
+ * Retrieves the last state of the Diviner process. Used to recover state after
150
+ * preemptions, reboots, etc.
151
+ */
121
152
  retrieveState(): Promise<WithMeta<ModuleState<TState>> | undefined>;
122
153
  readonly pipeline?: import("@xyo-network/module-model").ModulePipeLine;
123
154
  readonly status: import("@xyo-network/module-model").ModuleStatus;
@@ -1 +1 @@
1
- {"version":3,"file":"DivinerMixin.d.ts","sourceRoot":"","sources":["../../src/DivinerMixin.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,YAAY,EACZ,WAAW,EACX,eAAe,EAChB,MAAM,2BAA2B,CAAA;AAMlC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAExD,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC,CAAA;AAGvF,MAAM,MAAM,SAAS,CAAC,OAAO,SAAS,oBAAoB,GAAG,oBAAoB,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,cAAc,CAAC,OAAO,CAAC,CAAA;AASpI,eAAO,MAAM,mBAAmB,GAC9B,OAAO,SAAS,oBAAoB;;;;;;;;;;;;;;;;;;;;;GACpC,OAAO,SAAS,SAAS,CAAC,OAAO,CAAC,uBAClC,MAAM,SAAS,eAAe,gCAElB,OAAO,6BAd8E,GAAG,EAAE;iBAiBvF,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;2BASb,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;;yBAmGilC,4BAA4B;;mCAAmG,4BAA4B;;uBAAmF,4BAA4B,wBAAwB,4BAA4B,8BAA8B,2BAA2B,iCAAiC,2BAA2B,8BAA8B,4BAA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AC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;;;;;;;;;;sRAvFhC,CAAC,6DAElC,CAAC;4RAGiB,CAAC,6DAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBApBf,CAAC,yBACtC,CAAC;2FAMI,CAAC,yBACV,CAAC;;;;;;;;;;;;YAwIA,CAAA"}
@@ -1,5 +1,8 @@
1
1
  import type { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import type { AnyConfigSchema } from '@xyo-network/module-model';
3
3
  import type { StatefulDivinerConfig } from './Config.ts';
4
+ /**
5
+ * The parameters for a Stateful Diviner
6
+ */
4
7
  export type StatefulDivinerParams = DivinerParams<AnyConfigSchema<StatefulDivinerConfig>>;
5
8
  //# sourceMappingURL=Params.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAKxD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAExD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-stateful",
3
- "version": "3.3.0",
3
+ "version": "3.3.2",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,30 +29,30 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/assert": "^4.2.2",
33
- "@xylabs/hex": "^4.2.2",
34
- "@xyo-network/archivist-model": "^3.3.0",
35
- "@xyo-network/archivist-wrapper": "^3.3.0",
36
- "@xyo-network/boundwitness-builder": "^3.3.0",
37
- "@xyo-network/boundwitness-model": "^3.3.0",
38
- "@xyo-network/diviner-abstract": "^3.3.0",
39
- "@xyo-network/diviner-boundwitness-model": "^3.3.0",
40
- "@xyo-network/diviner-model": "^3.3.0",
41
- "@xyo-network/diviner-wrapper": "^3.3.0",
42
- "@xyo-network/module-model": "^3.3.0",
43
- "@xyo-network/payload-builder": "^3.3.0",
44
- "@xyo-network/payload-model": "^3.3.0"
32
+ "@xylabs/assert": "^4.3.2",
33
+ "@xylabs/hex": "^4.3.2",
34
+ "@xyo-network/archivist-model": "^3.3.2",
35
+ "@xyo-network/archivist-wrapper": "^3.3.2",
36
+ "@xyo-network/boundwitness-builder": "^3.3.2",
37
+ "@xyo-network/boundwitness-model": "^3.3.2",
38
+ "@xyo-network/diviner-abstract": "^3.3.2",
39
+ "@xyo-network/diviner-boundwitness-model": "^3.3.2",
40
+ "@xyo-network/diviner-model": "^3.3.2",
41
+ "@xyo-network/diviner-wrapper": "^3.3.2",
42
+ "@xyo-network/module-model": "^3.3.2",
43
+ "@xyo-network/payload-builder": "^3.3.2",
44
+ "@xyo-network/payload-model": "^3.3.2"
45
45
  },
46
46
  "devDependencies": {
47
- "@xylabs/ts-scripts-yarn3": "^4.2.1",
48
- "@xylabs/tsconfig": "^4.2.1",
49
- "@xyo-network/account": "^3.3.0",
50
- "@xyo-network/archivist-memory": "^3.3.0",
51
- "@xyo-network/diviner-boundwitness-memory": "^3.3.0",
52
- "@xyo-network/diviner-payload-memory": "^3.3.0",
53
- "@xyo-network/manifest": "^3.3.0",
54
- "@xyo-network/module-factory-locator": "^3.3.0",
55
- "@xyo-network/node-memory": "^3.3.0",
47
+ "@xylabs/ts-scripts-yarn3": "^4.2.3",
48
+ "@xylabs/tsconfig": "^4.2.3",
49
+ "@xyo-network/account": "^3.3.2",
50
+ "@xyo-network/archivist-memory": "^3.3.2",
51
+ "@xyo-network/diviner-boundwitness-memory": "^3.3.2",
52
+ "@xyo-network/diviner-payload-memory": "^3.3.2",
53
+ "@xyo-network/manifest": "^3.3.2",
54
+ "@xyo-network/module-factory-locator": "^3.3.2",
55
+ "@xyo-network/node-memory": "^3.3.2",
56
56
  "typescript": "^5.6.3"
57
57
  },
58
58
  "publishConfig": {