@xyo-network/diviner-indexing-memory 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.
- package/dist/browser/Diviner.d.cts +179 -4
- package/dist/browser/Diviner.d.cts.map +1 -1
- package/dist/browser/Diviner.d.mts +179 -4
- package/dist/browser/Diviner.d.mts.map +1 -1
- package/dist/browser/Diviner.d.ts +179 -4
- package/dist/browser/Diviner.d.ts.map +1 -1
- package/dist/node/Diviner.d.cts +179 -4
- package/dist/node/Diviner.d.cts.map +1 -1
- package/dist/node/Diviner.d.mts +179 -4
- package/dist/node/Diviner.d.mts.map +1 -1
- package/dist/node/Diviner.d.ts +179 -4
- package/dist/node/Diviner.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -33,25 +33,200 @@ export declare class IndexingDiviner<TParams extends IndexingDivinerParams = Ind
|
|
|
33
33
|
* @param store The store to retrieve the archivist for
|
|
34
34
|
* @returns The archivist for the specified store
|
|
35
35
|
*/
|
|
36
|
-
protected getArchivistForStore(store: ConfigStore): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule
|
|
36
|
+
protected getArchivistForStore(store: ConfigStore): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule<import("@xyo-network/object").BaseParamsFields & {
|
|
37
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
38
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
39
|
+
readonly archivist?: string | undefined;
|
|
40
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
41
|
+
readonly name?: string | undefined;
|
|
42
|
+
readonly paging?: Record<string, {
|
|
43
|
+
size?: number | undefined;
|
|
44
|
+
}> | undefined;
|
|
45
|
+
schema: "network.xyo.archivist.config";
|
|
46
|
+
readonly security?: {
|
|
47
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
48
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
49
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
50
|
+
} | undefined;
|
|
51
|
+
readonly sign?: boolean | undefined;
|
|
52
|
+
readonly storeQueries?: boolean | undefined;
|
|
53
|
+
readonly timestamp?: boolean | undefined;
|
|
54
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
55
|
+
readonly archivist?: string | undefined;
|
|
56
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
57
|
+
readonly name?: string | undefined;
|
|
58
|
+
readonly paging?: Record<string, {
|
|
59
|
+
size?: number | undefined;
|
|
60
|
+
}> | undefined;
|
|
61
|
+
schema: "network.xyo.archivist.config";
|
|
62
|
+
readonly security?: {
|
|
63
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
64
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
65
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
readonly sign?: boolean | undefined;
|
|
68
|
+
readonly storeQueries?: boolean | undefined;
|
|
69
|
+
readonly timestamp?: boolean | undefined;
|
|
70
|
+
} & {
|
|
71
|
+
parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
|
|
72
|
+
requireAllParents?: boolean | undefined;
|
|
73
|
+
schema: "network.xyo.archivist.config";
|
|
74
|
+
storeParentReads?: boolean | undefined;
|
|
75
|
+
}, "schema"> & {
|
|
76
|
+
schema: string;
|
|
77
|
+
};
|
|
78
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
79
|
+
}, import("@xyo-network/archivist-model").ArchivistModuleEventData>>>;
|
|
37
80
|
/**
|
|
38
81
|
* Retrieves the BoundWitness Diviner for the specified store
|
|
39
82
|
* @param store The store to retrieve the BoundWitness Diviner for
|
|
40
83
|
* @returns The BoundWitness Diviner for the specified store
|
|
41
84
|
*/
|
|
42
|
-
protected getBoundWitnessDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule
|
|
85
|
+
protected getBoundWitnessDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
|
|
86
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
87
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
88
|
+
readonly archivist?: string | undefined;
|
|
89
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
90
|
+
readonly name?: string | undefined;
|
|
91
|
+
readonly paging?: Record<string, {
|
|
92
|
+
size?: number | undefined;
|
|
93
|
+
}> | undefined;
|
|
94
|
+
schema: "network.xyo.diviner.config";
|
|
95
|
+
readonly security?: {
|
|
96
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
97
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
98
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
readonly sign?: boolean | undefined;
|
|
101
|
+
readonly storeQueries?: boolean | undefined;
|
|
102
|
+
readonly timestamp?: boolean | undefined;
|
|
103
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
104
|
+
readonly archivist?: string | undefined;
|
|
105
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
106
|
+
readonly name?: string | undefined;
|
|
107
|
+
readonly paging?: Record<string, {
|
|
108
|
+
size?: number | undefined;
|
|
109
|
+
}> | undefined;
|
|
110
|
+
schema: "network.xyo.diviner.config";
|
|
111
|
+
readonly security?: {
|
|
112
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
113
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
114
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
readonly sign?: boolean | undefined;
|
|
117
|
+
readonly storeQueries?: boolean | undefined;
|
|
118
|
+
readonly timestamp?: boolean | undefined;
|
|
119
|
+
} & {
|
|
120
|
+
schema: "network.xyo.diviner.config";
|
|
121
|
+
}, "schema"> & {
|
|
122
|
+
schema: string;
|
|
123
|
+
};
|
|
124
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
schema: string;
|
|
127
|
+
} & object, {
|
|
128
|
+
schema: string;
|
|
129
|
+
} & object>>>;
|
|
43
130
|
/**
|
|
44
131
|
* Gets the Diviner for the supplied Indexing Diviner stage
|
|
45
132
|
* @param transform The Indexing Diviner stage
|
|
46
133
|
* @returns The diviner corresponding to the Indexing Diviner stage
|
|
47
134
|
*/
|
|
48
|
-
protected getIndexingDivinerStage(transform: IndexingDivinerStage): Promise<import("@xyo-network/diviner-model").DivinerInstance
|
|
135
|
+
protected getIndexingDivinerStage(transform: IndexingDivinerStage): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
136
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
137
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
138
|
+
readonly archivist?: string | undefined;
|
|
139
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
140
|
+
readonly name?: string | undefined;
|
|
141
|
+
readonly paging?: Record<string, {
|
|
142
|
+
size?: number | undefined;
|
|
143
|
+
}> | undefined;
|
|
144
|
+
schema: "network.xyo.diviner.config";
|
|
145
|
+
readonly security?: {
|
|
146
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
147
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
148
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
readonly sign?: boolean | undefined;
|
|
151
|
+
readonly storeQueries?: boolean | undefined;
|
|
152
|
+
readonly timestamp?: boolean | undefined;
|
|
153
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
154
|
+
readonly archivist?: string | undefined;
|
|
155
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
156
|
+
readonly name?: string | undefined;
|
|
157
|
+
readonly paging?: Record<string, {
|
|
158
|
+
size?: number | undefined;
|
|
159
|
+
}> | undefined;
|
|
160
|
+
schema: "network.xyo.diviner.config";
|
|
161
|
+
readonly security?: {
|
|
162
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
163
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
164
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
readonly sign?: boolean | undefined;
|
|
167
|
+
readonly storeQueries?: boolean | undefined;
|
|
168
|
+
readonly timestamp?: boolean | undefined;
|
|
169
|
+
} & {
|
|
170
|
+
schema: "network.xyo.diviner.config";
|
|
171
|
+
}, "schema"> & {
|
|
172
|
+
schema: string;
|
|
173
|
+
};
|
|
174
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
schema: string;
|
|
177
|
+
} & object, {
|
|
178
|
+
schema: string;
|
|
179
|
+
} & object>>;
|
|
49
180
|
/**
|
|
50
181
|
* Retrieves the Payload Diviner for the specified store
|
|
51
182
|
* @param store The store to retrieve the Payload Diviner for
|
|
52
183
|
* @returns The Payload Diviner for the specified store
|
|
53
184
|
*/
|
|
54
|
-
protected getPayloadDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule
|
|
185
|
+
protected getPayloadDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
|
|
186
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
187
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
188
|
+
readonly archivist?: string | undefined;
|
|
189
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
190
|
+
readonly name?: string | undefined;
|
|
191
|
+
readonly paging?: Record<string, {
|
|
192
|
+
size?: number | undefined;
|
|
193
|
+
}> | undefined;
|
|
194
|
+
schema: "network.xyo.diviner.config";
|
|
195
|
+
readonly security?: {
|
|
196
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
197
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
198
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
readonly sign?: boolean | undefined;
|
|
201
|
+
readonly storeQueries?: boolean | undefined;
|
|
202
|
+
readonly timestamp?: boolean | undefined;
|
|
203
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
204
|
+
readonly archivist?: string | undefined;
|
|
205
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
206
|
+
readonly name?: string | undefined;
|
|
207
|
+
readonly paging?: Record<string, {
|
|
208
|
+
size?: number | undefined;
|
|
209
|
+
}> | undefined;
|
|
210
|
+
schema: "network.xyo.diviner.config";
|
|
211
|
+
readonly security?: {
|
|
212
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
213
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
214
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
readonly sign?: boolean | undefined;
|
|
217
|
+
readonly storeQueries?: boolean | undefined;
|
|
218
|
+
readonly timestamp?: boolean | undefined;
|
|
219
|
+
} & {
|
|
220
|
+
schema: "network.xyo.diviner.config";
|
|
221
|
+
}, "schema"> & {
|
|
222
|
+
schema: string;
|
|
223
|
+
};
|
|
224
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
225
|
+
}, {
|
|
226
|
+
schema: string;
|
|
227
|
+
} & object, {
|
|
228
|
+
schema: string;
|
|
229
|
+
} & object>>>;
|
|
55
230
|
/**
|
|
56
231
|
* Retrieves the last state of the Diviner process. Used to recover state after
|
|
57
232
|
* 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,EACL,qBAAqB,EAErB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAA0C,aAAa,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAC1H,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EAAkC,WAAW,EAAqB,MAAM,2BAA2B,CAAA;AAE1G,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,YAAY,CAAA;AAExD,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,qBAAqB,EAAE,cAAc,CAAC,CAAA;AAI9E,qBACa,eAAe,CAC1B,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,CACxI,SAAQ,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IA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AyC9D,YAAY,IAAI,OAAO,CAAC,OAAO,CAAC;cAMhC,WAAW,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC;IAQrF;;;OAGG;IACH,OAAO,CAAC,IAAI;CAcb"}
|
|
@@ -33,25 +33,200 @@ export declare class IndexingDiviner<TParams extends IndexingDivinerParams = Ind
|
|
|
33
33
|
* @param store The store to retrieve the archivist for
|
|
34
34
|
* @returns The archivist for the specified store
|
|
35
35
|
*/
|
|
36
|
-
protected getArchivistForStore(store: ConfigStore): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule
|
|
36
|
+
protected getArchivistForStore(store: ConfigStore): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule<import("@xyo-network/object").BaseParamsFields & {
|
|
37
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
38
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
39
|
+
readonly archivist?: string | undefined;
|
|
40
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
41
|
+
readonly name?: string | undefined;
|
|
42
|
+
readonly paging?: Record<string, {
|
|
43
|
+
size?: number | undefined;
|
|
44
|
+
}> | undefined;
|
|
45
|
+
schema: "network.xyo.archivist.config";
|
|
46
|
+
readonly security?: {
|
|
47
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
48
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
49
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
50
|
+
} | undefined;
|
|
51
|
+
readonly sign?: boolean | undefined;
|
|
52
|
+
readonly storeQueries?: boolean | undefined;
|
|
53
|
+
readonly timestamp?: boolean | undefined;
|
|
54
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
55
|
+
readonly archivist?: string | undefined;
|
|
56
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
57
|
+
readonly name?: string | undefined;
|
|
58
|
+
readonly paging?: Record<string, {
|
|
59
|
+
size?: number | undefined;
|
|
60
|
+
}> | undefined;
|
|
61
|
+
schema: "network.xyo.archivist.config";
|
|
62
|
+
readonly security?: {
|
|
63
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
64
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
65
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
readonly sign?: boolean | undefined;
|
|
68
|
+
readonly storeQueries?: boolean | undefined;
|
|
69
|
+
readonly timestamp?: boolean | undefined;
|
|
70
|
+
} & {
|
|
71
|
+
parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
|
|
72
|
+
requireAllParents?: boolean | undefined;
|
|
73
|
+
schema: "network.xyo.archivist.config";
|
|
74
|
+
storeParentReads?: boolean | undefined;
|
|
75
|
+
}, "schema"> & {
|
|
76
|
+
schema: string;
|
|
77
|
+
};
|
|
78
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
79
|
+
}, import("@xyo-network/archivist-model").ArchivistModuleEventData>>>;
|
|
37
80
|
/**
|
|
38
81
|
* Retrieves the BoundWitness Diviner for the specified store
|
|
39
82
|
* @param store The store to retrieve the BoundWitness Diviner for
|
|
40
83
|
* @returns The BoundWitness Diviner for the specified store
|
|
41
84
|
*/
|
|
42
|
-
protected getBoundWitnessDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule
|
|
85
|
+
protected getBoundWitnessDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
|
|
86
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
87
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
88
|
+
readonly archivist?: string | undefined;
|
|
89
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
90
|
+
readonly name?: string | undefined;
|
|
91
|
+
readonly paging?: Record<string, {
|
|
92
|
+
size?: number | undefined;
|
|
93
|
+
}> | undefined;
|
|
94
|
+
schema: "network.xyo.diviner.config";
|
|
95
|
+
readonly security?: {
|
|
96
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
97
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
98
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
readonly sign?: boolean | undefined;
|
|
101
|
+
readonly storeQueries?: boolean | undefined;
|
|
102
|
+
readonly timestamp?: boolean | undefined;
|
|
103
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
104
|
+
readonly archivist?: string | undefined;
|
|
105
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
106
|
+
readonly name?: string | undefined;
|
|
107
|
+
readonly paging?: Record<string, {
|
|
108
|
+
size?: number | undefined;
|
|
109
|
+
}> | undefined;
|
|
110
|
+
schema: "network.xyo.diviner.config";
|
|
111
|
+
readonly security?: {
|
|
112
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
113
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
114
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
readonly sign?: boolean | undefined;
|
|
117
|
+
readonly storeQueries?: boolean | undefined;
|
|
118
|
+
readonly timestamp?: boolean | undefined;
|
|
119
|
+
} & {
|
|
120
|
+
schema: "network.xyo.diviner.config";
|
|
121
|
+
}, "schema"> & {
|
|
122
|
+
schema: string;
|
|
123
|
+
};
|
|
124
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
schema: string;
|
|
127
|
+
} & object, {
|
|
128
|
+
schema: string;
|
|
129
|
+
} & object>>>;
|
|
43
130
|
/**
|
|
44
131
|
* Gets the Diviner for the supplied Indexing Diviner stage
|
|
45
132
|
* @param transform The Indexing Diviner stage
|
|
46
133
|
* @returns The diviner corresponding to the Indexing Diviner stage
|
|
47
134
|
*/
|
|
48
|
-
protected getIndexingDivinerStage(transform: IndexingDivinerStage): Promise<import("@xyo-network/diviner-model").DivinerInstance
|
|
135
|
+
protected getIndexingDivinerStage(transform: IndexingDivinerStage): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
136
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
137
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
138
|
+
readonly archivist?: string | undefined;
|
|
139
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
140
|
+
readonly name?: string | undefined;
|
|
141
|
+
readonly paging?: Record<string, {
|
|
142
|
+
size?: number | undefined;
|
|
143
|
+
}> | undefined;
|
|
144
|
+
schema: "network.xyo.diviner.config";
|
|
145
|
+
readonly security?: {
|
|
146
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
147
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
148
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
readonly sign?: boolean | undefined;
|
|
151
|
+
readonly storeQueries?: boolean | undefined;
|
|
152
|
+
readonly timestamp?: boolean | undefined;
|
|
153
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
154
|
+
readonly archivist?: string | undefined;
|
|
155
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
156
|
+
readonly name?: string | undefined;
|
|
157
|
+
readonly paging?: Record<string, {
|
|
158
|
+
size?: number | undefined;
|
|
159
|
+
}> | undefined;
|
|
160
|
+
schema: "network.xyo.diviner.config";
|
|
161
|
+
readonly security?: {
|
|
162
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
163
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
164
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
readonly sign?: boolean | undefined;
|
|
167
|
+
readonly storeQueries?: boolean | undefined;
|
|
168
|
+
readonly timestamp?: boolean | undefined;
|
|
169
|
+
} & {
|
|
170
|
+
schema: "network.xyo.diviner.config";
|
|
171
|
+
}, "schema"> & {
|
|
172
|
+
schema: string;
|
|
173
|
+
};
|
|
174
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
schema: string;
|
|
177
|
+
} & object, {
|
|
178
|
+
schema: string;
|
|
179
|
+
} & object>>;
|
|
49
180
|
/**
|
|
50
181
|
* Retrieves the Payload Diviner for the specified store
|
|
51
182
|
* @param store The store to retrieve the Payload Diviner for
|
|
52
183
|
* @returns The Payload Diviner for the specified store
|
|
53
184
|
*/
|
|
54
|
-
protected getPayloadDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule
|
|
185
|
+
protected getPayloadDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
|
|
186
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
187
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
188
|
+
readonly archivist?: string | undefined;
|
|
189
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
190
|
+
readonly name?: string | undefined;
|
|
191
|
+
readonly paging?: Record<string, {
|
|
192
|
+
size?: number | undefined;
|
|
193
|
+
}> | undefined;
|
|
194
|
+
schema: "network.xyo.diviner.config";
|
|
195
|
+
readonly security?: {
|
|
196
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
197
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
198
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
readonly sign?: boolean | undefined;
|
|
201
|
+
readonly storeQueries?: boolean | undefined;
|
|
202
|
+
readonly timestamp?: boolean | undefined;
|
|
203
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
204
|
+
readonly archivist?: string | undefined;
|
|
205
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
206
|
+
readonly name?: string | undefined;
|
|
207
|
+
readonly paging?: Record<string, {
|
|
208
|
+
size?: number | undefined;
|
|
209
|
+
}> | undefined;
|
|
210
|
+
schema: "network.xyo.diviner.config";
|
|
211
|
+
readonly security?: {
|
|
212
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
213
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
214
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
readonly sign?: boolean | undefined;
|
|
217
|
+
readonly storeQueries?: boolean | undefined;
|
|
218
|
+
readonly timestamp?: boolean | undefined;
|
|
219
|
+
} & {
|
|
220
|
+
schema: "network.xyo.diviner.config";
|
|
221
|
+
}, "schema"> & {
|
|
222
|
+
schema: string;
|
|
223
|
+
};
|
|
224
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
225
|
+
}, {
|
|
226
|
+
schema: string;
|
|
227
|
+
} & object, {
|
|
228
|
+
schema: string;
|
|
229
|
+
} & object>>>;
|
|
55
230
|
/**
|
|
56
231
|
* Retrieves the last state of the Diviner process. Used to recover state after
|
|
57
232
|
* preemptions, reboots, etc.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names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AQ;IACnD,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAqD;IAErG,OAAO,CAAC,UAAU,CAAC,CAAmC;IACtD,OAAO,CAAC,OAAO,CAAC,CAAkC;IAElD,IAAI,mBAAmB,WAEtB;IAED,IAAI,aAAa,WAEhB;IAED;;;OAGG;IACH,SAAS,CAAC,gBAAgB,QAAa,QAAQ,IAAI,CAAC,CAmBnD;IAED;;;;;;OAMG;cACa,WAAW,CAAC,SAAS,EAAE,WAAW,CAAC,oBAAoB,CAAC;cAS/C,aAAa,CAAC,QAAQ,GAAE,GAAG,EAAO,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAsB7E;;;;OAIG;cACa,oBAAoB,CAAC,KAAK,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMvD;;;;OAIG;cACa,8BAA8B,CAAC,KAAK,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMjE;;;;OAIG;cACa,uBAAuB,CAAC,SAAS,EAAE,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASvE;;;;OAIG;cACa,yBAAyB,CAAC,KAAK,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM5D;;;OAGG;cACa,aAAa,IAAI,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;cAyC9D,YAAY,IAAI,OAAO,CAAC,OAAO,CAAC;cAMhC,WAAW,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC;IAQrF;;;OAGG;IACH,OAAO,CAAC,IAAI;CAcb"}
|
|
@@ -33,25 +33,200 @@ export declare class IndexingDiviner<TParams extends IndexingDivinerParams = Ind
|
|
|
33
33
|
* @param store The store to retrieve the archivist for
|
|
34
34
|
* @returns The archivist for the specified store
|
|
35
35
|
*/
|
|
36
|
-
protected getArchivistForStore(store: ConfigStore): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule
|
|
36
|
+
protected getArchivistForStore(store: ConfigStore): Promise<ArchivistWrapper<import("@xyo-network/archivist-model").ArchivistModule<import("@xyo-network/object").BaseParamsFields & {
|
|
37
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
38
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
39
|
+
readonly archivist?: string | undefined;
|
|
40
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
41
|
+
readonly name?: string | undefined;
|
|
42
|
+
readonly paging?: Record<string, {
|
|
43
|
+
size?: number | undefined;
|
|
44
|
+
}> | undefined;
|
|
45
|
+
schema: "network.xyo.archivist.config";
|
|
46
|
+
readonly security?: {
|
|
47
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
48
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
49
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
50
|
+
} | undefined;
|
|
51
|
+
readonly sign?: boolean | undefined;
|
|
52
|
+
readonly storeQueries?: boolean | undefined;
|
|
53
|
+
readonly timestamp?: boolean | undefined;
|
|
54
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
55
|
+
readonly archivist?: string | undefined;
|
|
56
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
57
|
+
readonly name?: string | undefined;
|
|
58
|
+
readonly paging?: Record<string, {
|
|
59
|
+
size?: number | undefined;
|
|
60
|
+
}> | undefined;
|
|
61
|
+
schema: "network.xyo.archivist.config";
|
|
62
|
+
readonly security?: {
|
|
63
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
64
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
65
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
readonly sign?: boolean | undefined;
|
|
68
|
+
readonly storeQueries?: boolean | undefined;
|
|
69
|
+
readonly timestamp?: boolean | undefined;
|
|
70
|
+
} & {
|
|
71
|
+
parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
|
|
72
|
+
requireAllParents?: boolean | undefined;
|
|
73
|
+
schema: "network.xyo.archivist.config";
|
|
74
|
+
storeParentReads?: boolean | undefined;
|
|
75
|
+
}, "schema"> & {
|
|
76
|
+
schema: string;
|
|
77
|
+
};
|
|
78
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
79
|
+
}, import("@xyo-network/archivist-model").ArchivistModuleEventData>>>;
|
|
37
80
|
/**
|
|
38
81
|
* Retrieves the BoundWitness Diviner for the specified store
|
|
39
82
|
* @param store The store to retrieve the BoundWitness Diviner for
|
|
40
83
|
* @returns The BoundWitness Diviner for the specified store
|
|
41
84
|
*/
|
|
42
|
-
protected getBoundWitnessDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule
|
|
85
|
+
protected getBoundWitnessDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
|
|
86
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
87
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
88
|
+
readonly archivist?: string | undefined;
|
|
89
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
90
|
+
readonly name?: string | undefined;
|
|
91
|
+
readonly paging?: Record<string, {
|
|
92
|
+
size?: number | undefined;
|
|
93
|
+
}> | undefined;
|
|
94
|
+
schema: "network.xyo.diviner.config";
|
|
95
|
+
readonly security?: {
|
|
96
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
97
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
98
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
readonly sign?: boolean | undefined;
|
|
101
|
+
readonly storeQueries?: boolean | undefined;
|
|
102
|
+
readonly timestamp?: boolean | undefined;
|
|
103
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
104
|
+
readonly archivist?: string | undefined;
|
|
105
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
106
|
+
readonly name?: string | undefined;
|
|
107
|
+
readonly paging?: Record<string, {
|
|
108
|
+
size?: number | undefined;
|
|
109
|
+
}> | undefined;
|
|
110
|
+
schema: "network.xyo.diviner.config";
|
|
111
|
+
readonly security?: {
|
|
112
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
113
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
114
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
readonly sign?: boolean | undefined;
|
|
117
|
+
readonly storeQueries?: boolean | undefined;
|
|
118
|
+
readonly timestamp?: boolean | undefined;
|
|
119
|
+
} & {
|
|
120
|
+
schema: "network.xyo.diviner.config";
|
|
121
|
+
}, "schema"> & {
|
|
122
|
+
schema: string;
|
|
123
|
+
};
|
|
124
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
schema: string;
|
|
127
|
+
} & object, {
|
|
128
|
+
schema: string;
|
|
129
|
+
} & object>>>;
|
|
43
130
|
/**
|
|
44
131
|
* Gets the Diviner for the supplied Indexing Diviner stage
|
|
45
132
|
* @param transform The Indexing Diviner stage
|
|
46
133
|
* @returns The diviner corresponding to the Indexing Diviner stage
|
|
47
134
|
*/
|
|
48
|
-
protected getIndexingDivinerStage(transform: IndexingDivinerStage): Promise<import("@xyo-network/diviner-model").DivinerInstance
|
|
135
|
+
protected getIndexingDivinerStage(transform: IndexingDivinerStage): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
136
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
137
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
138
|
+
readonly archivist?: string | undefined;
|
|
139
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
140
|
+
readonly name?: string | undefined;
|
|
141
|
+
readonly paging?: Record<string, {
|
|
142
|
+
size?: number | undefined;
|
|
143
|
+
}> | undefined;
|
|
144
|
+
schema: "network.xyo.diviner.config";
|
|
145
|
+
readonly security?: {
|
|
146
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
147
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
148
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
readonly sign?: boolean | undefined;
|
|
151
|
+
readonly storeQueries?: boolean | undefined;
|
|
152
|
+
readonly timestamp?: boolean | undefined;
|
|
153
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
154
|
+
readonly archivist?: string | undefined;
|
|
155
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
156
|
+
readonly name?: string | undefined;
|
|
157
|
+
readonly paging?: Record<string, {
|
|
158
|
+
size?: number | undefined;
|
|
159
|
+
}> | undefined;
|
|
160
|
+
schema: "network.xyo.diviner.config";
|
|
161
|
+
readonly security?: {
|
|
162
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
163
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
164
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
readonly sign?: boolean | undefined;
|
|
167
|
+
readonly storeQueries?: boolean | undefined;
|
|
168
|
+
readonly timestamp?: boolean | undefined;
|
|
169
|
+
} & {
|
|
170
|
+
schema: "network.xyo.diviner.config";
|
|
171
|
+
}, "schema"> & {
|
|
172
|
+
schema: string;
|
|
173
|
+
};
|
|
174
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
schema: string;
|
|
177
|
+
} & object, {
|
|
178
|
+
schema: string;
|
|
179
|
+
} & object>>;
|
|
49
180
|
/**
|
|
50
181
|
* Retrieves the Payload Diviner for the specified store
|
|
51
182
|
* @param store The store to retrieve the Payload Diviner for
|
|
52
183
|
* @returns The Payload Diviner for the specified store
|
|
53
184
|
*/
|
|
54
|
-
protected getPayloadDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule
|
|
185
|
+
protected getPayloadDivinerForStore(store: ConfigStore): Promise<DivinerWrapper<DivinerModule<import("@xyo-network/object").BaseParamsFields & {
|
|
186
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
187
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
188
|
+
readonly archivist?: string | undefined;
|
|
189
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
190
|
+
readonly name?: string | undefined;
|
|
191
|
+
readonly paging?: Record<string, {
|
|
192
|
+
size?: number | undefined;
|
|
193
|
+
}> | undefined;
|
|
194
|
+
schema: "network.xyo.diviner.config";
|
|
195
|
+
readonly security?: {
|
|
196
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
197
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
198
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
readonly sign?: boolean | undefined;
|
|
201
|
+
readonly storeQueries?: boolean | undefined;
|
|
202
|
+
readonly timestamp?: boolean | undefined;
|
|
203
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
204
|
+
readonly archivist?: string | undefined;
|
|
205
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
206
|
+
readonly name?: string | undefined;
|
|
207
|
+
readonly paging?: Record<string, {
|
|
208
|
+
size?: number | undefined;
|
|
209
|
+
}> | undefined;
|
|
210
|
+
schema: "network.xyo.diviner.config";
|
|
211
|
+
readonly security?: {
|
|
212
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
213
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
214
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
readonly sign?: boolean | undefined;
|
|
217
|
+
readonly storeQueries?: boolean | undefined;
|
|
218
|
+
readonly timestamp?: boolean | undefined;
|
|
219
|
+
} & {
|
|
220
|
+
schema: "network.xyo.diviner.config";
|
|
221
|
+
}, "schema"> & {
|
|
222
|
+
schema: string;
|
|
223
|
+
};
|
|
224
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
225
|
+
}, {
|
|
226
|
+
schema: string;
|
|
227
|
+
} & object, {
|
|
228
|
+
schema: string;
|
|
229
|
+
} & object>>>;
|
|
55
230
|
/**
|
|
56
231
|
* Retrieves the last state of the Diviner process. Used to recover state after
|
|
57
232
|
* 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,EACL,qBAAqB,EAErB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAA0C,aAAa,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAC1H,OAAO,EAAE,cAAc,EAAE,M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