@xyo-network/archivist-model 2.92.1 → 2.92.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/typeChecks.d.cts +24 -280
- package/dist/browser/typeChecks.d.cts.map +1 -1
- package/dist/browser/typeChecks.d.mts +24 -280
- package/dist/browser/typeChecks.d.mts.map +1 -1
- package/dist/browser/typeChecks.d.ts +24 -280
- package/dist/browser/typeChecks.d.ts.map +1 -1
- package/dist/node/typeChecks.d.cts +24 -280
- package/dist/node/typeChecks.d.cts.map +1 -1
- package/dist/node/typeChecks.d.mts +24 -280
- package/dist/node/typeChecks.d.mts.map +1 -1
- package/dist/node/typeChecks.d.ts +24 -280
- package/dist/node/typeChecks.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -2,45 +2,13 @@ import { ArchivistModule } from './Archivist';
|
|
|
2
2
|
import { ArchivistInstance } from './ArchivistInstance';
|
|
3
3
|
export declare const isArchivistInstance: import("@xylabs/object").TypeCheck<ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
|
|
4
4
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
5
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
6
|
-
readonly archivist?: string | undefined;
|
|
7
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
8
|
-
readonly name?: string | undefined;
|
|
9
|
-
readonly paging?: Record<string, {
|
|
10
|
-
size?: number | undefined;
|
|
11
|
-
}> | undefined;
|
|
12
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
13
|
-
schema: "network.xyo.archivist.config";
|
|
14
|
-
readonly security?: {
|
|
15
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
16
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
17
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
18
|
-
} | undefined;
|
|
19
|
-
readonly sign?: boolean | undefined;
|
|
20
|
-
readonly storeQueries?: boolean | undefined;
|
|
21
|
-
readonly timestamp?: boolean | undefined;
|
|
22
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
23
|
-
readonly archivist?: string | undefined;
|
|
24
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
25
|
-
readonly name?: string | undefined;
|
|
26
|
-
readonly paging?: Record<string, {
|
|
27
|
-
size?: number | undefined;
|
|
28
|
-
}> | undefined;
|
|
29
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
30
|
-
schema: "network.xyo.archivist.config";
|
|
31
|
-
readonly security?: {
|
|
32
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
34
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
35
|
-
} | undefined;
|
|
36
|
-
readonly sign?: boolean | undefined;
|
|
37
|
-
readonly storeQueries?: boolean | undefined;
|
|
38
|
-
readonly timestamp?: boolean | undefined;
|
|
39
|
-
} & {
|
|
5
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
40
6
|
parents?: import("./Config").ArchivistParents | undefined;
|
|
41
7
|
requireAllParents?: boolean | undefined;
|
|
42
8
|
schema: "network.xyo.archivist.config";
|
|
43
9
|
storeParentReads?: boolean | undefined;
|
|
10
|
+
}, "schema"> & {
|
|
11
|
+
schema: "network.xyo.archivist.config";
|
|
44
12
|
}, "schema"> & {
|
|
45
13
|
schema: string;
|
|
46
14
|
};
|
|
@@ -50,45 +18,13 @@ export declare const isArchivistInstance: import("@xylabs/object").TypeCheck<Arc
|
|
|
50
18
|
} & object>>;
|
|
51
19
|
export declare const isArchivistModule: import("@xyo-network/module-model").ModuleTypeCheck<ArchivistModule<import("@xylabs/object").BaseParamsFields & {
|
|
52
20
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
53
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
54
|
-
readonly archivist?: string | undefined;
|
|
55
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
56
|
-
readonly name?: string | undefined;
|
|
57
|
-
readonly paging?: Record<string, {
|
|
58
|
-
size?: number | undefined;
|
|
59
|
-
}> | undefined;
|
|
60
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
61
|
-
schema: "network.xyo.archivist.config";
|
|
62
|
-
readonly security?: {
|
|
63
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
64
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
65
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
66
|
-
} | undefined;
|
|
67
|
-
readonly sign?: boolean | undefined;
|
|
68
|
-
readonly storeQueries?: boolean | undefined;
|
|
69
|
-
readonly timestamp?: boolean | undefined;
|
|
70
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
71
|
-
readonly archivist?: string | undefined;
|
|
72
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
73
|
-
readonly name?: string | undefined;
|
|
74
|
-
readonly paging?: Record<string, {
|
|
75
|
-
size?: number | undefined;
|
|
76
|
-
}> | undefined;
|
|
77
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
78
|
-
schema: "network.xyo.archivist.config";
|
|
79
|
-
readonly security?: {
|
|
80
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
81
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
82
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
83
|
-
} | undefined;
|
|
84
|
-
readonly sign?: boolean | undefined;
|
|
85
|
-
readonly storeQueries?: boolean | undefined;
|
|
86
|
-
readonly timestamp?: boolean | undefined;
|
|
87
|
-
} & {
|
|
21
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
88
22
|
parents?: import("./Config").ArchivistParents | undefined;
|
|
89
23
|
requireAllParents?: boolean | undefined;
|
|
90
24
|
schema: "network.xyo.archivist.config";
|
|
91
25
|
storeParentReads?: boolean | undefined;
|
|
26
|
+
}, "schema"> & {
|
|
27
|
+
schema: "network.xyo.archivist.config";
|
|
92
28
|
}, "schema"> & {
|
|
93
29
|
schema: string;
|
|
94
30
|
};
|
|
@@ -97,45 +33,13 @@ export declare const isArchivistModule: import("@xyo-network/module-model").Modu
|
|
|
97
33
|
export declare const asArchivistModule: {
|
|
98
34
|
<TType extends ArchivistModule<import("@xylabs/object").BaseParamsFields & {
|
|
99
35
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
100
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
101
|
-
readonly archivist?: string | undefined;
|
|
102
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
103
|
-
readonly name?: string | undefined;
|
|
104
|
-
readonly paging?: Record<string, {
|
|
105
|
-
size?: number | undefined;
|
|
106
|
-
}> | undefined;
|
|
107
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
108
|
-
schema: "network.xyo.archivist.config";
|
|
109
|
-
readonly security?: {
|
|
110
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
111
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
112
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
113
|
-
} | undefined;
|
|
114
|
-
readonly sign?: boolean | undefined;
|
|
115
|
-
readonly storeQueries?: boolean | undefined;
|
|
116
|
-
readonly timestamp?: boolean | undefined;
|
|
117
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
118
|
-
readonly archivist?: string | undefined;
|
|
119
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
120
|
-
readonly name?: string | undefined;
|
|
121
|
-
readonly paging?: Record<string, {
|
|
122
|
-
size?: number | undefined;
|
|
123
|
-
}> | undefined;
|
|
124
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
125
|
-
schema: "network.xyo.archivist.config";
|
|
126
|
-
readonly security?: {
|
|
127
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
128
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
129
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
readonly sign?: boolean | undefined;
|
|
132
|
-
readonly storeQueries?: boolean | undefined;
|
|
133
|
-
readonly timestamp?: boolean | undefined;
|
|
134
|
-
} & {
|
|
36
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
135
37
|
parents?: import("./Config").ArchivistParents | undefined;
|
|
136
38
|
requireAllParents?: boolean | undefined;
|
|
137
39
|
schema: "network.xyo.archivist.config";
|
|
138
40
|
storeParentReads?: boolean | undefined;
|
|
41
|
+
}, "schema"> & {
|
|
42
|
+
schema: "network.xyo.archivist.config";
|
|
139
43
|
}, "schema"> & {
|
|
140
44
|
schema: string;
|
|
141
45
|
};
|
|
@@ -143,45 +47,13 @@ export declare const asArchivistModule: {
|
|
|
143
47
|
}, import("./Archivist").ArchivistModuleEventData>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
144
48
|
<TType_1 extends ArchivistModule<import("@xylabs/object").BaseParamsFields & {
|
|
145
49
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
146
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
147
|
-
readonly archivist?: string | undefined;
|
|
148
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
149
|
-
readonly name?: string | undefined;
|
|
150
|
-
readonly paging?: Record<string, {
|
|
151
|
-
size?: number | undefined;
|
|
152
|
-
}> | undefined;
|
|
153
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
154
|
-
schema: "network.xyo.archivist.config";
|
|
155
|
-
readonly security?: {
|
|
156
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
157
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
158
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
159
|
-
} | undefined;
|
|
160
|
-
readonly sign?: boolean | undefined;
|
|
161
|
-
readonly storeQueries?: boolean | undefined;
|
|
162
|
-
readonly timestamp?: boolean | undefined;
|
|
163
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
164
|
-
readonly archivist?: string | undefined;
|
|
165
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
166
|
-
readonly name?: string | undefined;
|
|
167
|
-
readonly paging?: Record<string, {
|
|
168
|
-
size?: number | undefined;
|
|
169
|
-
}> | undefined;
|
|
170
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
171
|
-
schema: "network.xyo.archivist.config";
|
|
172
|
-
readonly security?: {
|
|
173
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
174
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
175
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
176
|
-
} | undefined;
|
|
177
|
-
readonly sign?: boolean | undefined;
|
|
178
|
-
readonly storeQueries?: boolean | undefined;
|
|
179
|
-
readonly timestamp?: boolean | undefined;
|
|
180
|
-
} & {
|
|
50
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
181
51
|
parents?: import("./Config").ArchivistParents | undefined;
|
|
182
52
|
requireAllParents?: boolean | undefined;
|
|
183
53
|
schema: "network.xyo.archivist.config";
|
|
184
54
|
storeParentReads?: boolean | undefined;
|
|
55
|
+
}, "schema"> & {
|
|
56
|
+
schema: "network.xyo.archivist.config";
|
|
185
57
|
}, "schema"> & {
|
|
186
58
|
schema: string;
|
|
187
59
|
};
|
|
@@ -191,45 +63,13 @@ export declare const asArchivistModule: {
|
|
|
191
63
|
export declare const asArchivistInstance: {
|
|
192
64
|
<TType extends ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
|
|
193
65
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
194
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
195
|
-
readonly archivist?: string | undefined;
|
|
196
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
197
|
-
readonly name?: string | undefined;
|
|
198
|
-
readonly paging?: Record<string, {
|
|
199
|
-
size?: number | undefined;
|
|
200
|
-
}> | undefined;
|
|
201
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
202
|
-
schema: "network.xyo.archivist.config";
|
|
203
|
-
readonly security?: {
|
|
204
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
205
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
206
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
207
|
-
} | undefined;
|
|
208
|
-
readonly sign?: boolean | undefined;
|
|
209
|
-
readonly storeQueries?: boolean | undefined;
|
|
210
|
-
readonly timestamp?: boolean | undefined;
|
|
211
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
212
|
-
readonly archivist?: string | undefined;
|
|
213
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
214
|
-
readonly name?: string | undefined;
|
|
215
|
-
readonly paging?: Record<string, {
|
|
216
|
-
size?: number | undefined;
|
|
217
|
-
}> | undefined;
|
|
218
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
219
|
-
schema: "network.xyo.archivist.config";
|
|
220
|
-
readonly security?: {
|
|
221
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
222
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
223
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
224
|
-
} | undefined;
|
|
225
|
-
readonly sign?: boolean | undefined;
|
|
226
|
-
readonly storeQueries?: boolean | undefined;
|
|
227
|
-
readonly timestamp?: boolean | undefined;
|
|
228
|
-
} & {
|
|
66
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
229
67
|
parents?: import("./Config").ArchivistParents | undefined;
|
|
230
68
|
requireAllParents?: boolean | undefined;
|
|
231
69
|
schema: "network.xyo.archivist.config";
|
|
232
70
|
storeParentReads?: boolean | undefined;
|
|
71
|
+
}, "schema"> & {
|
|
72
|
+
schema: "network.xyo.archivist.config";
|
|
233
73
|
}, "schema"> & {
|
|
234
74
|
schema: string;
|
|
235
75
|
};
|
|
@@ -239,45 +79,13 @@ export declare const asArchivistInstance: {
|
|
|
239
79
|
} & object>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
240
80
|
<TType_1 extends ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
|
|
241
81
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
242
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
243
|
-
readonly archivist?: string | undefined;
|
|
244
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
245
|
-
readonly name?: string | undefined;
|
|
246
|
-
readonly paging?: Record<string, {
|
|
247
|
-
size?: number | undefined;
|
|
248
|
-
}> | undefined;
|
|
249
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
250
|
-
schema: "network.xyo.archivist.config";
|
|
251
|
-
readonly security?: {
|
|
252
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
253
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
254
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
255
|
-
} | undefined;
|
|
256
|
-
readonly sign?: boolean | undefined;
|
|
257
|
-
readonly storeQueries?: boolean | undefined;
|
|
258
|
-
readonly timestamp?: boolean | undefined;
|
|
259
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
260
|
-
readonly archivist?: string | undefined;
|
|
261
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
262
|
-
readonly name?: string | undefined;
|
|
263
|
-
readonly paging?: Record<string, {
|
|
264
|
-
size?: number | undefined;
|
|
265
|
-
}> | undefined;
|
|
266
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
267
|
-
schema: "network.xyo.archivist.config";
|
|
268
|
-
readonly security?: {
|
|
269
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
270
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
271
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
272
|
-
} | undefined;
|
|
273
|
-
readonly sign?: boolean | undefined;
|
|
274
|
-
readonly storeQueries?: boolean | undefined;
|
|
275
|
-
readonly timestamp?: boolean | undefined;
|
|
276
|
-
} & {
|
|
82
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
277
83
|
parents?: import("./Config").ArchivistParents | undefined;
|
|
278
84
|
requireAllParents?: boolean | undefined;
|
|
279
85
|
schema: "network.xyo.archivist.config";
|
|
280
86
|
storeParentReads?: boolean | undefined;
|
|
87
|
+
}, "schema"> & {
|
|
88
|
+
schema: "network.xyo.archivist.config";
|
|
281
89
|
}, "schema"> & {
|
|
282
90
|
schema: string;
|
|
283
91
|
};
|
|
@@ -288,45 +96,13 @@ export declare const asArchivistInstance: {
|
|
|
288
96
|
};
|
|
289
97
|
export declare const withArchivistModule: <R>(module: any, closure: (module: ArchivistModule<import("@xylabs/object").BaseParamsFields & {
|
|
290
98
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
291
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
292
|
-
readonly archivist?: string | undefined;
|
|
293
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
294
|
-
readonly name?: string | undefined;
|
|
295
|
-
readonly paging?: Record<string, {
|
|
296
|
-
size?: number | undefined;
|
|
297
|
-
}> | undefined;
|
|
298
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
299
|
-
schema: "network.xyo.archivist.config";
|
|
300
|
-
readonly security?: {
|
|
301
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
302
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
303
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
304
|
-
} | undefined;
|
|
305
|
-
readonly sign?: boolean | undefined;
|
|
306
|
-
readonly storeQueries?: boolean | undefined;
|
|
307
|
-
readonly timestamp?: boolean | undefined;
|
|
308
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
309
|
-
readonly archivist?: string | undefined;
|
|
310
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
311
|
-
readonly name?: string | undefined;
|
|
312
|
-
readonly paging?: Record<string, {
|
|
313
|
-
size?: number | undefined;
|
|
314
|
-
}> | undefined;
|
|
315
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
316
|
-
schema: "network.xyo.archivist.config";
|
|
317
|
-
readonly security?: {
|
|
318
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
319
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
320
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
321
|
-
} | undefined;
|
|
322
|
-
readonly sign?: boolean | undefined;
|
|
323
|
-
readonly storeQueries?: boolean | undefined;
|
|
324
|
-
readonly timestamp?: boolean | undefined;
|
|
325
|
-
} & {
|
|
99
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
326
100
|
parents?: import("./Config").ArchivistParents | undefined;
|
|
327
101
|
requireAllParents?: boolean | undefined;
|
|
328
102
|
schema: "network.xyo.archivist.config";
|
|
329
103
|
storeParentReads?: boolean | undefined;
|
|
104
|
+
}, "schema"> & {
|
|
105
|
+
schema: "network.xyo.archivist.config";
|
|
330
106
|
}, "schema"> & {
|
|
331
107
|
schema: string;
|
|
332
108
|
};
|
|
@@ -334,45 +110,13 @@ export declare const withArchivistModule: <R>(module: any, closure: (module: Arc
|
|
|
334
110
|
}, import("./Archivist").ArchivistModuleEventData>) => R) => R | undefined;
|
|
335
111
|
export declare const withArchivistInstance: <R>(module: any, closure: (module: ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
|
|
336
112
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
337
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
338
|
-
readonly archivist?: string | undefined;
|
|
339
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
340
|
-
readonly name?: string | undefined;
|
|
341
|
-
readonly paging?: Record<string, {
|
|
342
|
-
size?: number | undefined;
|
|
343
|
-
}> | undefined;
|
|
344
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
345
|
-
schema: "network.xyo.archivist.config";
|
|
346
|
-
readonly security?: {
|
|
347
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
348
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
349
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
350
|
-
} | undefined;
|
|
351
|
-
readonly sign?: boolean | undefined;
|
|
352
|
-
readonly storeQueries?: boolean | undefined;
|
|
353
|
-
readonly timestamp?: boolean | undefined;
|
|
354
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
355
|
-
readonly archivist?: string | undefined;
|
|
356
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
357
|
-
readonly name?: string | undefined;
|
|
358
|
-
readonly paging?: Record<string, {
|
|
359
|
-
size?: number | undefined;
|
|
360
|
-
}> | undefined;
|
|
361
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
362
|
-
schema: "network.xyo.archivist.config";
|
|
363
|
-
readonly security?: {
|
|
364
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
365
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
366
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
367
|
-
} | undefined;
|
|
368
|
-
readonly sign?: boolean | undefined;
|
|
369
|
-
readonly storeQueries?: boolean | undefined;
|
|
370
|
-
readonly timestamp?: boolean | undefined;
|
|
371
|
-
} & {
|
|
113
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
372
114
|
parents?: import("./Config").ArchivistParents | undefined;
|
|
373
115
|
requireAllParents?: boolean | undefined;
|
|
374
116
|
schema: "network.xyo.archivist.config";
|
|
375
117
|
storeParentReads?: boolean | undefined;
|
|
118
|
+
}, "schema"> & {
|
|
119
|
+
schema: "network.xyo.archivist.config";
|
|
376
120
|
}, "schema"> & {
|
|
377
121
|
schema: string;
|
|
378
122
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAGvD,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAGvD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;YAA6F,CAAA;AAC7H,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;mDAA2E,CAAA;AAEzG,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AAC1E,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8C,CAAA;AAC9E,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;0EAAwC,CAAA;AACxE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;mCAA0C,CAAA"}
|