@xyo-network/diviner-stateful 2.87.0 → 2.87.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.
@@ -27,19 +27,150 @@ export declare abstract class StatefulDiviner<TParams extends StatefulDivinerPar
27
27
  * @param store The store to retrieve the archivist for
28
28
  * @returns The archivist for the specified store
29
29
  */
30
- protected getArchivistForStateStore(): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule>>;
30
+ protected getArchivistForStateStore(): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule<import("@xyo-network/object").BaseParamsFields & {
31
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
32
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
33
+ readonly archivist?: string | undefined;
34
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
35
+ readonly name?: string | undefined;
36
+ readonly paging?: Record<string, {
37
+ size?: number | undefined;
38
+ }> | undefined;
39
+ schema: "network.xyo.archivist.config";
40
+ readonly security?: {
41
+ readonly allowAnonymous?: boolean | undefined;
42
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
43
+ readonly disallowed?: Record<string, string[]> | undefined;
44
+ } | undefined;
45
+ readonly sign?: boolean | undefined;
46
+ readonly storeQueries?: boolean | undefined;
47
+ readonly timestamp?: boolean | undefined;
48
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
49
+ readonly archivist?: string | undefined;
50
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
51
+ readonly name?: string | undefined;
52
+ readonly paging?: Record<string, {
53
+ size?: number | undefined;
54
+ }> | undefined;
55
+ schema: "network.xyo.archivist.config";
56
+ readonly security?: {
57
+ readonly allowAnonymous?: boolean | undefined;
58
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
59
+ readonly disallowed?: Record<string, string[]> | undefined;
60
+ } | undefined;
61
+ readonly sign?: boolean | undefined;
62
+ readonly storeQueries?: boolean | undefined;
63
+ readonly timestamp?: boolean | undefined;
64
+ } & {
65
+ parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
66
+ requireAllParents?: boolean | undefined;
67
+ schema: "network.xyo.archivist.config";
68
+ storeParentReads?: boolean | undefined;
69
+ }, "schema"> & {
70
+ schema: string;
71
+ };
72
+ ephemeralQueryAccountEnabled?: boolean | undefined;
73
+ }, import("@xyo-network/archivist-model").ArchivistModuleEventData>>>;
31
74
  /**
32
75
  * Retrieves the BoundWitness Diviner for the specified store
33
76
  * @param store The store to retrieve the BoundWitness Diviner for
34
77
  * @returns The BoundWitness Diviner for the specified store
35
78
  */
36
- protected getBoundWitnessDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule>>;
79
+ protected getBoundWitnessDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
80
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
81
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
82
+ readonly archivist?: string | undefined;
83
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
84
+ readonly name?: string | undefined;
85
+ readonly paging?: Record<string, {
86
+ size?: number | undefined;
87
+ }> | undefined;
88
+ schema: "network.xyo.diviner.config";
89
+ readonly security?: {
90
+ readonly allowAnonymous?: boolean | undefined;
91
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
92
+ readonly disallowed?: Record<string, string[]> | undefined;
93
+ } | undefined;
94
+ readonly sign?: boolean | undefined;
95
+ readonly storeQueries?: boolean | undefined;
96
+ readonly timestamp?: boolean | undefined;
97
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
98
+ readonly archivist?: string | undefined;
99
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
100
+ readonly name?: string | undefined;
101
+ readonly paging?: Record<string, {
102
+ size?: number | undefined;
103
+ }> | undefined;
104
+ schema: "network.xyo.diviner.config";
105
+ readonly security?: {
106
+ readonly allowAnonymous?: boolean | undefined;
107
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
108
+ readonly disallowed?: Record<string, string[]> | undefined;
109
+ } | undefined;
110
+ readonly sign?: boolean | undefined;
111
+ readonly storeQueries?: boolean | undefined;
112
+ readonly timestamp?: boolean | undefined;
113
+ } & {
114
+ schema: "network.xyo.diviner.config";
115
+ }, "schema"> & {
116
+ schema: string;
117
+ };
118
+ ephemeralQueryAccountEnabled?: boolean | undefined;
119
+ }, {
120
+ schema: string;
121
+ } & object, {
122
+ schema: string;
123
+ } & object>>>;
37
124
  /**
38
125
  * Retrieves the Payload Diviner for the specified store
39
126
  * @param store The store to retrieve the Payload Diviner for
40
127
  * @returns The Payload Diviner for the specified store
41
128
  */
42
- protected getPayloadDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule>>;
129
+ protected getPayloadDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
130
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
131
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
132
+ readonly archivist?: string | undefined;
133
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
134
+ readonly name?: string | undefined;
135
+ readonly paging?: Record<string, {
136
+ size?: number | undefined;
137
+ }> | undefined;
138
+ schema: "network.xyo.diviner.config";
139
+ readonly security?: {
140
+ readonly allowAnonymous?: boolean | undefined;
141
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
142
+ readonly disallowed?: Record<string, string[]> | undefined;
143
+ } | undefined;
144
+ readonly sign?: boolean | undefined;
145
+ readonly storeQueries?: boolean | undefined;
146
+ readonly timestamp?: boolean | undefined;
147
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
148
+ readonly archivist?: string | undefined;
149
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
150
+ readonly name?: string | undefined;
151
+ readonly paging?: Record<string, {
152
+ size?: number | undefined;
153
+ }> | undefined;
154
+ schema: "network.xyo.diviner.config";
155
+ readonly security?: {
156
+ readonly allowAnonymous?: boolean | undefined;
157
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
158
+ readonly disallowed?: Record<string, string[]> | undefined;
159
+ } | undefined;
160
+ readonly sign?: boolean | undefined;
161
+ readonly storeQueries?: boolean | undefined;
162
+ readonly timestamp?: boolean | undefined;
163
+ } & {
164
+ schema: "network.xyo.diviner.config";
165
+ }, "schema"> & {
166
+ schema: string;
167
+ };
168
+ ephemeralQueryAccountEnabled?: boolean | undefined;
169
+ }, {
170
+ schema: string;
171
+ } & object, {
172
+ schema: string;
173
+ } & object>>>;
43
174
  /**
44
175
  * Retrieves the last state of the Diviner process. Used to recover state after
45
176
  * preemptions, reboots, etc.
@@ -1 +1 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAGjE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,EAAuB,aAAa,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACvG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EAAiB,WAAW,EAAqB,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE1G,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,8BAAsB,eAAe,CACnC,OAAO,SAAS,qBAAqB,GAAG,qBAAqB,EAC7D,GAAG,SAAS,OA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,GAAG,qBAAqB,EAC7D,GAAG,SAAS,OAAO,GAAG,OAAO,EAC7B,IAAI,SAAS,OAAO,GAAG,OAAO,EAC9B,UAAU,SAAS,sBAAsB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,sBAAsB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EACxI,MAAM,SAAS,eAAe,GAAG,eAAe,CAChD,SAAQ,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,CAAC;IACvD,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAqD;IAErG;;OAEG;IACH,SAAS,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAE1C;;;;;;OAMG;cACa,WAAW,CAAC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC;IAS1D;;;;OAIG;cACa,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMzC;;;;OAIG;cACa,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMnD;;;;OAIG;cACa,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM9C;;;OAGG;cACa,aAAa,IAAI,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAwC1E"}
@@ -27,19 +27,150 @@ export declare abstract class StatefulDiviner<TParams extends StatefulDivinerPar
27
27
  * @param store The store to retrieve the archivist for
28
28
  * @returns The archivist for the specified store
29
29
  */
30
- protected getArchivistForStateStore(): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule>>;
30
+ protected getArchivistForStateStore(): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule<import("@xyo-network/object").BaseParamsFields & {
31
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
32
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
33
+ readonly archivist?: string | undefined;
34
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
35
+ readonly name?: string | undefined;
36
+ readonly paging?: Record<string, {
37
+ size?: number | undefined;
38
+ }> | undefined;
39
+ schema: "network.xyo.archivist.config";
40
+ readonly security?: {
41
+ readonly allowAnonymous?: boolean | undefined;
42
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
43
+ readonly disallowed?: Record<string, string[]> | undefined;
44
+ } | undefined;
45
+ readonly sign?: boolean | undefined;
46
+ readonly storeQueries?: boolean | undefined;
47
+ readonly timestamp?: boolean | undefined;
48
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
49
+ readonly archivist?: string | undefined;
50
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
51
+ readonly name?: string | undefined;
52
+ readonly paging?: Record<string, {
53
+ size?: number | undefined;
54
+ }> | undefined;
55
+ schema: "network.xyo.archivist.config";
56
+ readonly security?: {
57
+ readonly allowAnonymous?: boolean | undefined;
58
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
59
+ readonly disallowed?: Record<string, string[]> | undefined;
60
+ } | undefined;
61
+ readonly sign?: boolean | undefined;
62
+ readonly storeQueries?: boolean | undefined;
63
+ readonly timestamp?: boolean | undefined;
64
+ } & {
65
+ parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
66
+ requireAllParents?: boolean | undefined;
67
+ schema: "network.xyo.archivist.config";
68
+ storeParentReads?: boolean | undefined;
69
+ }, "schema"> & {
70
+ schema: string;
71
+ };
72
+ ephemeralQueryAccountEnabled?: boolean | undefined;
73
+ }, import("@xyo-network/archivist-model").ArchivistModuleEventData>>>;
31
74
  /**
32
75
  * Retrieves the BoundWitness Diviner for the specified store
33
76
  * @param store The store to retrieve the BoundWitness Diviner for
34
77
  * @returns The BoundWitness Diviner for the specified store
35
78
  */
36
- protected getBoundWitnessDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule>>;
79
+ protected getBoundWitnessDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
80
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
81
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
82
+ readonly archivist?: string | undefined;
83
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
84
+ readonly name?: string | undefined;
85
+ readonly paging?: Record<string, {
86
+ size?: number | undefined;
87
+ }> | undefined;
88
+ schema: "network.xyo.diviner.config";
89
+ readonly security?: {
90
+ readonly allowAnonymous?: boolean | undefined;
91
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
92
+ readonly disallowed?: Record<string, string[]> | undefined;
93
+ } | undefined;
94
+ readonly sign?: boolean | undefined;
95
+ readonly storeQueries?: boolean | undefined;
96
+ readonly timestamp?: boolean | undefined;
97
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
98
+ readonly archivist?: string | undefined;
99
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
100
+ readonly name?: string | undefined;
101
+ readonly paging?: Record<string, {
102
+ size?: number | undefined;
103
+ }> | undefined;
104
+ schema: "network.xyo.diviner.config";
105
+ readonly security?: {
106
+ readonly allowAnonymous?: boolean | undefined;
107
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
108
+ readonly disallowed?: Record<string, string[]> | undefined;
109
+ } | undefined;
110
+ readonly sign?: boolean | undefined;
111
+ readonly storeQueries?: boolean | undefined;
112
+ readonly timestamp?: boolean | undefined;
113
+ } & {
114
+ schema: "network.xyo.diviner.config";
115
+ }, "schema"> & {
116
+ schema: string;
117
+ };
118
+ ephemeralQueryAccountEnabled?: boolean | undefined;
119
+ }, {
120
+ schema: string;
121
+ } & object, {
122
+ schema: string;
123
+ } & object>>>;
37
124
  /**
38
125
  * Retrieves the Payload Diviner for the specified store
39
126
  * @param store The store to retrieve the Payload Diviner for
40
127
  * @returns The Payload Diviner for the specified store
41
128
  */
42
- protected getPayloadDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule>>;
129
+ protected getPayloadDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
130
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
131
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
132
+ readonly archivist?: string | undefined;
133
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
134
+ readonly name?: string | undefined;
135
+ readonly paging?: Record<string, {
136
+ size?: number | undefined;
137
+ }> | undefined;
138
+ schema: "network.xyo.diviner.config";
139
+ readonly security?: {
140
+ readonly allowAnonymous?: boolean | undefined;
141
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
142
+ readonly disallowed?: Record<string, string[]> | undefined;
143
+ } | undefined;
144
+ readonly sign?: boolean | undefined;
145
+ readonly storeQueries?: boolean | undefined;
146
+ readonly timestamp?: boolean | undefined;
147
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
148
+ readonly archivist?: string | undefined;
149
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
150
+ readonly name?: string | undefined;
151
+ readonly paging?: Record<string, {
152
+ size?: number | undefined;
153
+ }> | undefined;
154
+ schema: "network.xyo.diviner.config";
155
+ readonly security?: {
156
+ readonly allowAnonymous?: boolean | undefined;
157
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
158
+ readonly disallowed?: Record<string, string[]> | undefined;
159
+ } | undefined;
160
+ readonly sign?: boolean | undefined;
161
+ readonly storeQueries?: boolean | undefined;
162
+ readonly timestamp?: boolean | undefined;
163
+ } & {
164
+ schema: "network.xyo.diviner.config";
165
+ }, "schema"> & {
166
+ schema: string;
167
+ };
168
+ ephemeralQueryAccountEnabled?: boolean | undefined;
169
+ }, {
170
+ schema: string;
171
+ } & object, {
172
+ schema: string;
173
+ } & object>>>;
43
174
  /**
44
175
  * Retrieves the last state of the Diviner process. Used to recover state after
45
176
  * preemptions, reboots, etc.
@@ -1 +1 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAGjE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,EAAuB,aAAa,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACvG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EAAiB,WAAW,EAAqB,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE1G,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAIhD;;GAEG;AACH,8BAAsB,eAAe,CACnC,OAAO,SAAS,qBAAqB,GAAG,qBAAqB,EAC7D,GAAG,SAAS,OAAO,GAAG,OAAO,EAC7B,IAAI,SAAS,OAAO,GAAG,OAAO,EAC9B,UAAU,SAAS,sBAAsB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,sBAAsB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EACxI,MAAM,SAAS,eAAe,GAAG,eAAe,CAChD,SAAQ,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,CAAC;IACvD,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAqD;IAErG;;OAEG;IACH,SAAS,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAA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AC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAE1C;;;;;;OAMG;cACa,WAAW,CAAC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC;IAS1D;;;;OAIG;cACa,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMzC;;;;OAIG;cACa,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMnD;;;;OAIG;cACa,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM9C;;;OAGG;cACa,aAAa,IAAI,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAwC1E"}
@@ -27,19 +27,150 @@ export declare abstract class StatefulDiviner<TParams extends StatefulDivinerPar
27
27
  * @param store The store to retrieve the archivist for
28
28
  * @returns The archivist for the specified store
29
29
  */
30
- protected getArchivistForStateStore(): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule>>;
30
+ protected getArchivistForStateStore(): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule<import("@xyo-network/object").BaseParamsFields & {
31
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
32
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
33
+ readonly archivist?: string | undefined;
34
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
35
+ readonly name?: string | undefined;
36
+ readonly paging?: Record<string, {
37
+ size?: number | undefined;
38
+ }> | undefined;
39
+ schema: "network.xyo.archivist.config";
40
+ readonly security?: {
41
+ readonly allowAnonymous?: boolean | undefined;
42
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
43
+ readonly disallowed?: Record<string, string[]> | undefined;
44
+ } | undefined;
45
+ readonly sign?: boolean | undefined;
46
+ readonly storeQueries?: boolean | undefined;
47
+ readonly timestamp?: boolean | undefined;
48
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
49
+ readonly archivist?: string | undefined;
50
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
51
+ readonly name?: string | undefined;
52
+ readonly paging?: Record<string, {
53
+ size?: number | undefined;
54
+ }> | undefined;
55
+ schema: "network.xyo.archivist.config";
56
+ readonly security?: {
57
+ readonly allowAnonymous?: boolean | undefined;
58
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
59
+ readonly disallowed?: Record<string, string[]> | undefined;
60
+ } | undefined;
61
+ readonly sign?: boolean | undefined;
62
+ readonly storeQueries?: boolean | undefined;
63
+ readonly timestamp?: boolean | undefined;
64
+ } & {
65
+ parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
66
+ requireAllParents?: boolean | undefined;
67
+ schema: "network.xyo.archivist.config";
68
+ storeParentReads?: boolean | undefined;
69
+ }, "schema"> & {
70
+ schema: string;
71
+ };
72
+ ephemeralQueryAccountEnabled?: boolean | undefined;
73
+ }, import("@xyo-network/archivist-model").ArchivistModuleEventData>>>;
31
74
  /**
32
75
  * Retrieves the BoundWitness Diviner for the specified store
33
76
  * @param store The store to retrieve the BoundWitness Diviner for
34
77
  * @returns The BoundWitness Diviner for the specified store
35
78
  */
36
- protected getBoundWitnessDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule>>;
79
+ protected getBoundWitnessDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
80
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
81
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
82
+ readonly archivist?: string | undefined;
83
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
84
+ readonly name?: string | undefined;
85
+ readonly paging?: Record<string, {
86
+ size?: number | undefined;
87
+ }> | undefined;
88
+ schema: "network.xyo.diviner.config";
89
+ readonly security?: {
90
+ readonly allowAnonymous?: boolean | undefined;
91
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
92
+ readonly disallowed?: Record<string, string[]> | undefined;
93
+ } | undefined;
94
+ readonly sign?: boolean | undefined;
95
+ readonly storeQueries?: boolean | undefined;
96
+ readonly timestamp?: boolean | undefined;
97
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
98
+ readonly archivist?: string | undefined;
99
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
100
+ readonly name?: string | undefined;
101
+ readonly paging?: Record<string, {
102
+ size?: number | undefined;
103
+ }> | undefined;
104
+ schema: "network.xyo.diviner.config";
105
+ readonly security?: {
106
+ readonly allowAnonymous?: boolean | undefined;
107
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
108
+ readonly disallowed?: Record<string, string[]> | undefined;
109
+ } | undefined;
110
+ readonly sign?: boolean | undefined;
111
+ readonly storeQueries?: boolean | undefined;
112
+ readonly timestamp?: boolean | undefined;
113
+ } & {
114
+ schema: "network.xyo.diviner.config";
115
+ }, "schema"> & {
116
+ schema: string;
117
+ };
118
+ ephemeralQueryAccountEnabled?: boolean | undefined;
119
+ }, {
120
+ schema: string;
121
+ } & object, {
122
+ schema: string;
123
+ } & object>>>;
37
124
  /**
38
125
  * Retrieves the Payload Diviner for the specified store
39
126
  * @param store The store to retrieve the Payload Diviner for
40
127
  * @returns The Payload Diviner for the specified store
41
128
  */
42
- protected getPayloadDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule>>;
129
+ protected getPayloadDivinerForStateStore(): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
130
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
131
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
132
+ readonly archivist?: string | undefined;
133
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
134
+ readonly name?: string | undefined;
135
+ readonly paging?: Record<string, {
136
+ size?: number | undefined;
137
+ }> | undefined;
138
+ schema: "network.xyo.diviner.config";
139
+ readonly security?: {
140
+ readonly allowAnonymous?: boolean | undefined;
141
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
142
+ readonly disallowed?: Record<string, string[]> | undefined;
143
+ } | undefined;
144
+ readonly sign?: boolean | undefined;
145
+ readonly storeQueries?: boolean | undefined;
146
+ readonly timestamp?: boolean | undefined;
147
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
148
+ readonly archivist?: string | undefined;
149
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
150
+ readonly name?: string | undefined;
151
+ readonly paging?: Record<string, {
152
+ size?: number | undefined;
153
+ }> | undefined;
154
+ schema: "network.xyo.diviner.config";
155
+ readonly security?: {
156
+ readonly allowAnonymous?: boolean | undefined;
157
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
158
+ readonly disallowed?: Record<string, string[]> | undefined;
159
+ } | undefined;
160
+ readonly sign?: boolean | undefined;
161
+ readonly storeQueries?: boolean | undefined;
162
+ readonly timestamp?: boolean | undefined;
163
+ } & {
164
+ schema: "network.xyo.diviner.config";
165
+ }, "schema"> & {
166
+ schema: string;
167
+ };
168
+ ephemeralQueryAccountEnabled?: boolean | undefined;
169
+ }, {
170
+ schema: string;
171
+ } & object, {
172
+ schema: string;
173
+ } & object>>>;
43
174
  /**
44
175
  * Retrieves the last state of the Diviner process. Used to recover state after
45
176
  * preemptions, reboots, etc.
@@ -1 +1 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAGjE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,EAAuB,aAAa,EAAE,sBAAsB,EAA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