@xyo-network/diviner-stateful 3.6.0-rc.5 → 3.6.0-rc.7
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/neutral/Diviner.d.ts +138 -35
- package/dist/neutral/Diviner.d.ts.map +1 -1
- package/dist/neutral/DivinerMixin.d.ts +941 -161
- package/dist/neutral/DivinerMixin.d.ts.map +1 -1
- package/dist/neutral/index.mjs +4 -2
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +23 -22
- package/src/Diviner.ts +2 -1
- package/src/DivinerMixin.ts +2 -1
|
@@ -33,17 +33,60 @@ export declare abstract class StatefulDiviner<TParams extends StatefulDivinerPar
|
|
|
33
33
|
addToResolvers?: boolean;
|
|
34
34
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
35
35
|
allowNameResolution?: boolean;
|
|
36
|
-
config: import("@xyo-network/payload-model").
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
36
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
37
|
+
schema: Schema;
|
|
38
|
+
readonly archiving?: {
|
|
39
|
+
readonly archivists?: string[] | undefined;
|
|
40
|
+
readonly queries?: string[] | undefined;
|
|
41
|
+
} | undefined;
|
|
42
|
+
readonly allowedQueries?: string[] | undefined;
|
|
43
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
44
|
+
readonly certify?: boolean | undefined;
|
|
45
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
46
|
+
readonly labels?: {
|
|
47
|
+
[x: string]: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
50
|
+
readonly paging?: {
|
|
51
|
+
[x: string]: {
|
|
52
|
+
size?: number | undefined;
|
|
53
|
+
};
|
|
54
|
+
} | undefined;
|
|
55
|
+
readonly retry?: {
|
|
56
|
+
backoff?: number | undefined;
|
|
57
|
+
interval?: number | undefined;
|
|
58
|
+
retries?: number | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
readonly security?: {
|
|
61
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
62
|
+
readonly allowed?: {
|
|
63
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
64
|
+
} | undefined;
|
|
65
|
+
readonly disallowed?: {
|
|
66
|
+
[x: string]: Lowercase<string>[];
|
|
67
|
+
} | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
readonly sign?: boolean | undefined;
|
|
70
|
+
readonly storeQueries?: boolean | undefined;
|
|
71
|
+
readonly timestamp?: boolean | undefined;
|
|
72
|
+
parents?: {
|
|
73
|
+
commit?: Lowercase<string>[] | undefined;
|
|
74
|
+
read?: Lowercase<string>[] | undefined;
|
|
75
|
+
write?: Lowercase<string>[] | undefined;
|
|
76
|
+
} | undefined;
|
|
77
|
+
requireAllParents?: boolean | undefined;
|
|
78
|
+
storage?: {
|
|
79
|
+
indexes?: {
|
|
80
|
+
key: {
|
|
81
|
+
[x: string]: import("@xyo-network/archivist-model").IndexDirection;
|
|
82
|
+
};
|
|
83
|
+
multiEntry?: boolean | undefined;
|
|
84
|
+
name?: string | undefined;
|
|
85
|
+
unique?: boolean | undefined;
|
|
86
|
+
}[] | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
storeParentReads?: boolean | undefined;
|
|
89
|
+
}>;
|
|
47
90
|
ephemeralQueryAccountEnabled?: boolean;
|
|
48
91
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
49
92
|
}, import("@xyo-network/archivist-model").ArchivistModuleEventData>>>;
|
|
@@ -57,20 +100,50 @@ export declare abstract class StatefulDiviner<TParams extends StatefulDivinerPar
|
|
|
57
100
|
addToResolvers?: boolean;
|
|
58
101
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
59
102
|
allowNameResolution?: boolean;
|
|
60
|
-
config: import("@xyo-network/payload-model").
|
|
61
|
-
schema:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
103
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
104
|
+
schema: Schema;
|
|
105
|
+
readonly archiving?: {
|
|
106
|
+
readonly archivists?: string[] | undefined;
|
|
107
|
+
readonly queries?: string[] | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
readonly allowedQueries?: string[] | undefined;
|
|
110
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
111
|
+
readonly certify?: boolean | undefined;
|
|
112
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
113
|
+
readonly labels?: {
|
|
114
|
+
[x: string]: string | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
117
|
+
readonly paging?: {
|
|
118
|
+
[x: string]: {
|
|
119
|
+
size?: number | undefined;
|
|
120
|
+
};
|
|
121
|
+
} | undefined;
|
|
122
|
+
readonly retry?: {
|
|
123
|
+
backoff?: number | undefined;
|
|
124
|
+
interval?: number | undefined;
|
|
125
|
+
retries?: number | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
readonly security?: {
|
|
128
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
129
|
+
readonly allowed?: {
|
|
130
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
131
|
+
} | undefined;
|
|
132
|
+
readonly disallowed?: {
|
|
133
|
+
[x: string]: Lowercase<string>[];
|
|
134
|
+
} | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
readonly sign?: boolean | undefined;
|
|
137
|
+
readonly storeQueries?: boolean | undefined;
|
|
138
|
+
readonly timestamp?: boolean | undefined;
|
|
139
|
+
}>;
|
|
67
140
|
ephemeralQueryAccountEnabled?: boolean;
|
|
68
141
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
69
|
-
}, DivinerModuleEventData>, {
|
|
70
|
-
schema:
|
|
71
|
-
}
|
|
72
|
-
schema:
|
|
73
|
-
}
|
|
142
|
+
}, DivinerModuleEventData>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
143
|
+
schema: Schema;
|
|
144
|
+
}>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
145
|
+
schema: Schema;
|
|
146
|
+
}>>>;
|
|
74
147
|
/**
|
|
75
148
|
* Retrieves the Payload Diviner for the specified store
|
|
76
149
|
* @param store The store to retrieve the Payload Diviner for
|
|
@@ -81,20 +154,50 @@ export declare abstract class StatefulDiviner<TParams extends StatefulDivinerPar
|
|
|
81
154
|
addToResolvers?: boolean;
|
|
82
155
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
83
156
|
allowNameResolution?: boolean;
|
|
84
|
-
config: import("@xyo-network/payload-model").
|
|
85
|
-
schema:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
157
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
158
|
+
schema: Schema;
|
|
159
|
+
readonly archiving?: {
|
|
160
|
+
readonly archivists?: string[] | undefined;
|
|
161
|
+
readonly queries?: string[] | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
readonly allowedQueries?: string[] | undefined;
|
|
164
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
165
|
+
readonly certify?: boolean | undefined;
|
|
166
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
167
|
+
readonly labels?: {
|
|
168
|
+
[x: string]: string | undefined;
|
|
169
|
+
} | undefined;
|
|
170
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
171
|
+
readonly paging?: {
|
|
172
|
+
[x: string]: {
|
|
173
|
+
size?: number | undefined;
|
|
174
|
+
};
|
|
175
|
+
} | undefined;
|
|
176
|
+
readonly retry?: {
|
|
177
|
+
backoff?: number | undefined;
|
|
178
|
+
interval?: number | undefined;
|
|
179
|
+
retries?: number | undefined;
|
|
180
|
+
} | undefined;
|
|
181
|
+
readonly security?: {
|
|
182
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
183
|
+
readonly allowed?: {
|
|
184
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
185
|
+
} | undefined;
|
|
186
|
+
readonly disallowed?: {
|
|
187
|
+
[x: string]: Lowercase<string>[];
|
|
188
|
+
} | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
readonly sign?: boolean | undefined;
|
|
191
|
+
readonly storeQueries?: boolean | undefined;
|
|
192
|
+
readonly timestamp?: boolean | undefined;
|
|
193
|
+
}>;
|
|
91
194
|
ephemeralQueryAccountEnabled?: boolean;
|
|
92
195
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
93
|
-
}, DivinerModuleEventData>, {
|
|
94
|
-
schema:
|
|
95
|
-
}
|
|
96
|
-
schema:
|
|
97
|
-
}
|
|
196
|
+
}, DivinerModuleEventData>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
197
|
+
schema: Schema;
|
|
198
|
+
}>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
199
|
+
schema: Schema;
|
|
200
|
+
}>>>;
|
|
98
201
|
/**
|
|
99
202
|
* Retrieves the last state of the Diviner process. Used to recover state after
|
|
100
203
|
* preemptions, reboots, etc.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"m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