@xyo-network/archivist-model 4.1.1 → 4.1.3
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/index.d.ts +19 -282
- package/package.json +14 -14
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,282 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
interface ArchivistNextOptions extends NextOptions<Hash> {
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
interface ArchivistDriver<TId, TIn, TOut extends TIn> {
|
|
24
|
-
all(): Promisable<TOut[]>;
|
|
25
|
-
clear(): Promisable<void>;
|
|
26
|
-
count(): number;
|
|
27
|
-
delete(hashes: TId[]): Promise<TOut[]>;
|
|
28
|
-
get(hashes: TId[]): Promisable<TOut[]>;
|
|
29
|
-
insert(payloads: TIn[]): TOut[];
|
|
30
|
-
next(options?: NextOptions): Promisable<TOut[]>;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
interface AllArchivistFunctions<TReadResponse, TSnapshotResponse> {
|
|
34
|
-
/** @deprecated use next or snapshot instead */
|
|
35
|
-
all(): PromisableArray<TReadResponse>;
|
|
36
|
-
snapshot(): PromisableArray<TSnapshotResponse>;
|
|
37
|
-
}
|
|
38
|
-
interface ReadArchivistFunctions<TReadResponse, TId = string> {
|
|
39
|
-
get(ids: TId[]): PromisableArray<TReadResponse>;
|
|
40
|
-
next(options?: NextOptions<TId>): PromisableArray<TReadResponse>;
|
|
41
|
-
}
|
|
42
|
-
interface WriteArchivistFunctions<TReadResponse, TWriteResponse = TReadResponse, TWrite = TReadResponse, TId = string> {
|
|
43
|
-
clear(): Promisable<void>;
|
|
44
|
-
delete(ids: TId[]): PromisableArray<TReadResponse>;
|
|
45
|
-
insert(item: TWrite[]): PromisableArray<TWriteResponse>;
|
|
46
|
-
}
|
|
47
|
-
interface StashArchivistFunctions<TWriteResponse> {
|
|
48
|
-
commit(): PromisableArray<TWriteResponse>;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
declare const ArchivistSnapshotPayloadSchema: "network.xyo.archivist.snapshot";
|
|
52
|
-
type ArchivistSnapshotPayloadSchema = typeof ArchivistSnapshotPayloadSchema;
|
|
53
|
-
type ArchivistSnapshotPayload<TPayload extends Payload = Payload, TId extends string | number | symbol = Hash> = Payload<PayloadHashMap<TPayload, TId>, ArchivistSnapshotPayloadSchema>;
|
|
54
|
-
|
|
55
|
-
declare const ArchivistStatsPayloadSchema: "network.xyo.archivist.stats";
|
|
56
|
-
type ArchivistStatsPayloadSchema = typeof ArchivistStatsPayloadSchema;
|
|
57
|
-
type ArchivistStatsPayload = Payload<{
|
|
58
|
-
payloadCount: number;
|
|
59
|
-
}, ArchivistStatsPayloadSchema>;
|
|
60
|
-
|
|
61
|
-
type ClearedEventArgs<T extends Module = Module> = ModuleEventArgs<T>;
|
|
62
|
-
interface ClearedEventData<T extends Module = Module> extends EventData {
|
|
63
|
-
cleared: ClearedEventArgs<T>;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
type DeletedEventArgs<T extends Module = Module> = ModuleEventArgs<T, {
|
|
67
|
-
hashes: Hash[];
|
|
68
|
-
payloads: Payload[];
|
|
69
|
-
}>;
|
|
70
|
-
interface DeletedEventData<T extends Module = Module> extends EventData {
|
|
71
|
-
deleted: DeletedEventArgs<T>;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
type InsertedEventArgs<T extends Module = Module> = ModuleEventArgs<T, {
|
|
75
|
-
inPayloads: Payload[];
|
|
76
|
-
outPayloads: WithStorageMeta<Payload>[];
|
|
77
|
-
payloads: WithStorageMeta<Payload>[];
|
|
78
|
-
}>;
|
|
79
|
-
interface InsertedEventData<T extends Module = Module> extends EventData {
|
|
80
|
-
inserted: InsertedEventArgs<T>;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
interface ArchivistModuleEventData extends InsertedEventData, DeletedEventData, ClearedEventData, ModuleEventData {
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
interface AllArchivist<TReadResponse extends Payload = Payload, TId extends string = Hash> extends AllArchivistFunctions<WithStorageMeta<TReadResponse>, PayloadHashMap<WithStorageMeta<TReadResponse>, TId>> {
|
|
87
|
-
}
|
|
88
|
-
interface ReadArchivist<TReadResponse extends Payload = Payload, TId extends string = Hash> extends ReadArchivistFunctions<WithStorageMeta<TReadResponse>, TId> {
|
|
89
|
-
}
|
|
90
|
-
interface WriteArchivist<TReadResponse extends Payload = Payload, TWriteResponse extends Payload = TReadResponse, TWrite extends Payload = TReadResponse, TId extends string = Hash> extends WriteArchivistFunctions<WithStorageMeta<TReadResponse>, WithStorageMeta<TWriteResponse>, TWrite, TId> {
|
|
91
|
-
}
|
|
92
|
-
interface ReadWriteArchivist<TReadResponse extends Payload = Payload, TWriteResponse extends Payload = TReadResponse, TWrite extends Payload = TReadResponse, TId extends string = Hash> extends WriteArchivist<TReadResponse, TWriteResponse, TWrite, TId>, ReadArchivist<TReadResponse, TId> {
|
|
93
|
-
}
|
|
94
|
-
interface StashArchivist<TWriteResponse extends Payload = Payload> extends StashArchivistFunctions<WithStorageMeta<TWriteResponse>> {
|
|
95
|
-
}
|
|
96
|
-
interface FullArchivist<TReadResponse extends Payload = Payload, TWriteResponse extends Payload = TReadResponse, TWrite extends Payload = TReadResponse, TId extends string = Hash> extends ReadWriteArchivist<TReadResponse, TWriteResponse, TWrite, TId>, StashArchivist<TWriteResponse> {
|
|
97
|
-
}
|
|
98
|
-
interface Archivist<TReadResponse extends Payload = Payload, TWriteResponse extends Payload = Payload, TWrite extends Payload = TReadResponse & Payload, TId extends string = Hash> extends ReadArchivist<WithStorageMeta<TReadResponse>, TId>, AllArchivist<WithStorageMeta<TReadResponse>, TId>, WriteArchivist<WithStorageMeta<TReadResponse>, WithStorageMeta<TWriteResponse>, TWrite, TId>, StashArchivistFunctions<TWriteResponse> {
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
interface ArchivistModule<TReadResponse extends Payload = Payload, TWriteResponse extends Payload = Payload, TWrite extends Payload = TReadResponse & Payload, TId extends string = Hash> extends Archivist<TReadResponse, TWriteResponse, TWrite, TId>, ModuleQueryFunctions {
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* The index direction (1 for ascending, -1 for descending)
|
|
106
|
-
*/
|
|
107
|
-
type IndexDirection = -1 | 1;
|
|
108
|
-
/**
|
|
109
|
-
* Description of index(es) to be created on a store
|
|
110
|
-
*/
|
|
111
|
-
type IndexDescription = {
|
|
112
|
-
/**
|
|
113
|
-
* The key(s) to index
|
|
114
|
-
*/
|
|
115
|
-
key: Record<string, IndexDirection>;
|
|
116
|
-
/**
|
|
117
|
-
* Is the indexed value an array
|
|
118
|
-
*/
|
|
119
|
-
multiEntry?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* The name of the index
|
|
122
|
-
*/
|
|
123
|
-
name?: string;
|
|
124
|
-
/**
|
|
125
|
-
* If true, the index must enforce uniqueness on the key
|
|
126
|
-
*/
|
|
127
|
-
unique?: boolean;
|
|
128
|
-
};
|
|
129
|
-
declare const IndexSeparator = "-";
|
|
130
|
-
/**
|
|
131
|
-
* Given an index description, this will build the index
|
|
132
|
-
* name in standard form
|
|
133
|
-
* @param index The index description
|
|
134
|
-
* @returns The index name in standard form
|
|
135
|
-
*/
|
|
136
|
-
declare const buildStandardIndexName: (index: IndexDescription) => string;
|
|
137
|
-
|
|
138
|
-
interface ArchivistParents {
|
|
139
|
-
commit?: ModuleIdentifier[];
|
|
140
|
-
read?: ModuleIdentifier[];
|
|
141
|
-
write?: ModuleIdentifier[];
|
|
142
|
-
}
|
|
143
|
-
interface ArchivistStorage {
|
|
144
|
-
/** The indexes to create on the object store */
|
|
145
|
-
indexes?: IndexDescription[];
|
|
146
|
-
}
|
|
147
|
-
interface ArchivistGetCache {
|
|
148
|
-
enabled?: boolean;
|
|
149
|
-
maxEntries?: number;
|
|
150
|
-
}
|
|
151
|
-
declare const ArchivistConfigSchema: "network.xyo.archivist.config";
|
|
152
|
-
type ArchivistConfigSchema = typeof ArchivistConfigSchema;
|
|
153
|
-
type ArchivistConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = ModuleConfig<WithAdditional<{
|
|
154
|
-
getCache?: ArchivistGetCache;
|
|
155
|
-
/** @field address of one or more parent archivists to read from */
|
|
156
|
-
parents?: ArchivistParents;
|
|
157
|
-
/** @field fail if some parents can not be resolved (true if unspecified) */
|
|
158
|
-
requireAllParents?: boolean;
|
|
159
|
-
schema: TConfig extends Payload ? TConfig['schema'] : ArchivistConfigSchema;
|
|
160
|
-
/** @field storage configuration */
|
|
161
|
-
storage?: ArchivistStorage;
|
|
162
|
-
/** @field should child store all reads from parents? */
|
|
163
|
-
storeParentReads?: boolean;
|
|
164
|
-
}, TConfig>, TSchema>;
|
|
165
|
-
|
|
166
|
-
interface ArchivistModuleInstance<TParams extends ModuleParams<AnyConfigSchema<ArchivistConfig>> = ModuleParams<AnyConfigSchema<ArchivistConfig>>, TEventData extends ArchivistModuleEventData = ArchivistModuleEventData> extends Module<TParams, TEventData> {
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
interface ArchivistParentInstances {
|
|
170
|
-
commit?: ArchivistInstance[];
|
|
171
|
-
read?: ArchivistInstance[];
|
|
172
|
-
write?: ArchivistInstance[];
|
|
173
|
-
}
|
|
174
|
-
interface ArchivistParamFields {
|
|
175
|
-
parents?: ArchivistParentInstances;
|
|
176
|
-
}
|
|
177
|
-
interface ArchivistParams<TConfig extends AnyConfigSchema<ArchivistConfig> = AnyConfigSchema<ArchivistConfig>> extends ModuleParams<TConfig>, ArchivistParamFields {
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
interface ArchivistRawQueryFunctions {
|
|
181
|
-
allQuery(account?: AccountInstance): Promisable<ModuleQueryResult>;
|
|
182
|
-
clearQuery(account?: AccountInstance): Promisable<ModuleQueryResult>;
|
|
183
|
-
commitQuery(account?: AccountInstance): Promisable<ModuleQueryResult>;
|
|
184
|
-
deleteQuery(hashes: Hash[], account?: AccountInstance): Promisable<ModuleQueryResult>;
|
|
185
|
-
getQuery(hashes: Hash[], account?: AccountInstance): Promisable<ModuleQueryResult>;
|
|
186
|
-
insertQuery(payloads: Payload[], account?: AccountInstance): Promisable<ModuleQueryResult>;
|
|
187
|
-
nextQuery(options?: ArchivistNextOptions, account?: AccountInstance): Promisable<ModuleQueryResult>;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
interface ArchivistInstance<TParams extends ArchivistParams = ArchivistParams, TEventData extends ArchivistModuleEventData = ArchivistModuleEventData, TPayload extends Payload = Payload> extends ArchivistModuleInstance<TParams, TEventData>, ArchivistModule<TPayload, TPayload>, ModuleInstance<TParams, TEventData>, ArchivistRawQueryFunctions, EventEmitter<TEventData> {
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
interface AttachableArchivistInstance<TParams extends ArchivistParams = ArchivistParams, TEventData extends ArchivistModuleEventData = ArchivistModuleEventData, TPayload extends Payload = Payload> extends ArchivistModuleInstance<TParams, TEventData>, AttachableModuleInstance<TParams, TEventData>, ArchivistInstance<TParams, TEventData, TPayload> {
|
|
194
|
-
}
|
|
195
|
-
type AttachableArchivistInstanceTypeCheck<T extends AttachableArchivistInstance = AttachableArchivistInstance> = TypeCheck<T>;
|
|
196
|
-
declare class IsAttachableArchivistInstanceFactory<T extends AttachableArchivistInstance = AttachableArchivistInstance> extends IsObjectFactory<T> {
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
declare const asAttachableArchivistInstance: _xylabs_object.AsTypeFunction<AttachableArchivistInstance<ArchivistParams<_xyo_network_module_model.AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, _xyo_network_payload_model.Payload>>;
|
|
200
|
-
|
|
201
|
-
declare const requiredAttachableArchivistInstanceFunctions: ObjectTypeShape;
|
|
202
|
-
declare const isAttachableArchivistInstance: TypeCheck<AttachableArchivistInstance>;
|
|
203
|
-
|
|
204
|
-
interface ArchivistLabels extends Labels {
|
|
205
|
-
'network.xyo.archivist.persistence.scope': 'memory' | 'thread' | 'process' | 'device' | 'network';
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
type IdentityFunction<T> = (value: unknown) => value is T;
|
|
209
|
-
|
|
210
|
-
declare const tryGetTypedBoundWitness: <T extends BoundWitness>(archivist: ReadArchivist, hash: Hash, identity: IdentityFunction<WithStorageMeta<T>>) => Promise<WithStorageMeta<T> | undefined>;
|
|
211
|
-
declare const getTypedBoundWitness: <T extends BoundWitness>(archivist: ReadArchivist, hash: Hash, identity: IdentityFunction<WithStorageMeta<T>>) => Promise<WithStorageMeta<T>>;
|
|
212
|
-
declare const getBoundWitness: (archivist: ReadArchivist, hash: Hash) => Promise<WithStorageMeta<BoundWitness>>;
|
|
213
|
-
|
|
214
|
-
type HydratedBoundWitness<T extends BoundWitness = BoundWitness, P extends Payload = Payload> = [T, P[]];
|
|
215
|
-
type HydratedBoundWitnessWithStorageMeta<T extends BoundWitness = BoundWitness, P extends Payload = Payload> = [WithStorageMeta<T>, WithStorageMeta<P>[]];
|
|
216
|
-
type SignedHydratedBoundWitness<T extends SignedBoundWitness = SignedBoundWitness, P extends Payload = Payload> = [T, P[]];
|
|
217
|
-
type SignedHydratedBoundWitnessWithStorageMeta<T extends SignedBoundWitness = SignedBoundWitness, P extends Payload = Payload> = [WithStorageMeta<T>, WithStorageMeta<P>[]];
|
|
218
|
-
|
|
219
|
-
declare const tryHydrateTypedBoundWitness: <T extends BoundWitness>(archivist: ReadArchivist, hashOrBw: Hash | WithStorageMeta<T>, identity: IdentityFunction<WithStorageMeta<T>>) => Promise<HydratedBoundWitness<T> | undefined>;
|
|
220
|
-
declare const hydrateTypedBoundWitness: <T extends BoundWitness>(archivist: ReadArchivist, hashOrBw: Hash | WithStorageMeta<T>, identity: IdentityFunction<WithStorageMeta<T>>) => Promise<HydratedBoundWitness<T>>;
|
|
221
|
-
declare const hydrateBoundWitness: (archivist: ReadArchivist, hashOrBw: Hash | WithStorageMeta<BoundWitness>) => Promise<HydratedBoundWitness<BoundWitness>>;
|
|
222
|
-
|
|
223
|
-
declare const ArchivistAllQuerySchema: "network.xyo.query.archivist.all";
|
|
224
|
-
type ArchivistAllQuerySchema = typeof ArchivistAllQuerySchema;
|
|
225
|
-
type ArchivistAllQuery = Query<{
|
|
226
|
-
schema: ArchivistAllQuerySchema;
|
|
227
|
-
}>;
|
|
228
|
-
|
|
229
|
-
declare const ArchivistClearQuerySchema: "network.xyo.query.archivist.clear";
|
|
230
|
-
type ArchivistClearQuerySchema = typeof ArchivistClearQuerySchema;
|
|
231
|
-
type ArchivistClearQuery = Query<{
|
|
232
|
-
schema: ArchivistClearQuerySchema;
|
|
233
|
-
}>;
|
|
234
|
-
|
|
235
|
-
declare const ArchivistCommitQuerySchema: "network.xyo.query.archivist.commit";
|
|
236
|
-
type ArchivistCommitQuerySchema = typeof ArchivistCommitQuerySchema;
|
|
237
|
-
type ArchivistCommitQuery = Query<{
|
|
238
|
-
schema: ArchivistCommitQuerySchema;
|
|
239
|
-
}>;
|
|
240
|
-
|
|
241
|
-
declare const ArchivistDeleteQuerySchema: "network.xyo.query.archivist.delete";
|
|
242
|
-
type ArchivistDeleteQuerySchema = typeof ArchivistDeleteQuerySchema;
|
|
243
|
-
type ArchivistDeleteQuery = Query<{
|
|
244
|
-
hashes: Hash[];
|
|
245
|
-
schema: ArchivistDeleteQuerySchema;
|
|
246
|
-
}>;
|
|
247
|
-
|
|
248
|
-
declare const ArchivistGetQuerySchema: "network.xyo.query.archivist.get";
|
|
249
|
-
type ArchivistGetQuerySchema = typeof ArchivistGetQuerySchema;
|
|
250
|
-
type ArchivistGetQuery = Query<{
|
|
251
|
-
hashes: Hash[];
|
|
252
|
-
schema: ArchivistGetQuerySchema;
|
|
253
|
-
}>;
|
|
254
|
-
|
|
255
|
-
declare const ArchivistInsertQuerySchema: "network.xyo.query.archivist.insert";
|
|
256
|
-
type ArchivistInsertQuerySchema = typeof ArchivistInsertQuerySchema;
|
|
257
|
-
type ArchivistInsertQuery = Query<{
|
|
258
|
-
schema: ArchivistInsertQuerySchema;
|
|
259
|
-
}>;
|
|
260
|
-
|
|
261
|
-
declare const ArchivistNextQuerySchema: "network.xyo.query.archivist.next";
|
|
262
|
-
type ArchivistNextQuerySchema = typeof ArchivistNextQuerySchema;
|
|
263
|
-
type ArchivistNextQuery = Query<ArchivistNextOptions, ArchivistNextQuerySchema>;
|
|
264
|
-
|
|
265
|
-
declare const ArchivistSnapshotQuerySchema: "network.xyo.query.archivist.snapshot";
|
|
266
|
-
type ArchivistSnapshotQuerySchema = typeof ArchivistSnapshotQuerySchema;
|
|
267
|
-
type ArchivistSnapshotQuery = Query<{
|
|
268
|
-
schema: ArchivistSnapshotQuerySchema;
|
|
269
|
-
}>;
|
|
270
|
-
|
|
271
|
-
type ArchivistQueries = ArchivistAllQuery | ArchivistClearQuery | ArchivistCommitQuery | ArchivistDeleteQuery | ArchivistGetQuery | ArchivistInsertQuery | ArchivistNextQuery | ArchivistSnapshotQuery;
|
|
272
|
-
type ArchivistModuleQueries = ModuleQueries | ArchivistQueries;
|
|
273
|
-
|
|
274
|
-
declare const isArchivistInstance: TypeCheck<ArchivistInstance>;
|
|
275
|
-
declare const isArchivistModule: TypeCheck<ArchivistModuleInstance>;
|
|
276
|
-
declare const asArchivistModule: _xylabs_object.AsTypeFunction<ArchivistModuleInstance<_xyo_network_module_model.ModuleParams<_xyo_network_module_model.AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData>>;
|
|
277
|
-
declare const asArchivistInstance: _xylabs_object.AsTypeFunction<ArchivistInstance<ArchivistParams<_xyo_network_module_model.AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, _xyo_network_payload_model.Payload>>;
|
|
278
|
-
declare const withArchivistModule: <R>(mod: any, closure: (mod: ArchivistModuleInstance<_xyo_network_module_model.ModuleParams<_xyo_network_module_model.AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData>) => R) => R | undefined;
|
|
279
|
-
declare const withArchivistInstance: <R>(mod: any, closure: (mod: ArchivistInstance<ArchivistParams<_xyo_network_module_model.AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, _xyo_network_payload_model.Payload>) => R) => R | undefined;
|
|
280
|
-
|
|
281
|
-
export { ArchivistAllQuerySchema, ArchivistClearQuerySchema, ArchivistCommitQuerySchema, ArchivistConfigSchema, ArchivistDeleteQuerySchema, ArchivistGetQuerySchema, ArchivistInsertQuerySchema, ArchivistNextQuerySchema, ArchivistSnapshotPayloadSchema, ArchivistSnapshotQuerySchema, ArchivistStatsPayloadSchema, IndexSeparator, IsAttachableArchivistInstanceFactory, asArchivistInstance, asArchivistModule, asAttachableArchivistInstance, buildStandardIndexName, getBoundWitness, getTypedBoundWitness, hydrateBoundWitness, hydrateTypedBoundWitness, isArchivistInstance, isArchivistModule, isAttachableArchivistInstance, requiredAttachableArchivistInstanceFunctions, tryGetTypedBoundWitness, tryHydrateTypedBoundWitness, withArchivistInstance, withArchivistModule };
|
|
282
|
-
export type { AllArchivist, AllArchivistFunctions, Archivist, ArchivistAllQuery, ArchivistClearQuery, ArchivistCommitQuery, ArchivistConfig, ArchivistDeleteQuery, ArchivistDriver, ArchivistGetCache, ArchivistGetQuery, ArchivistInsertQuery, ArchivistInstance, ArchivistLabels, ArchivistModuleEventData, ArchivistModuleInstance, ArchivistModuleQueries, ArchivistNextOptions, ArchivistNextQuery, ArchivistParamFields, ArchivistParams, ArchivistParentInstances, ArchivistParents, ArchivistQueries, ArchivistRawQueryFunctions, ArchivistSnapshotPayload, ArchivistSnapshotQuery, ArchivistStatsPayload, ArchivistStorage, AttachableArchivistInstance, AttachableArchivistInstanceTypeCheck, FullArchivist, HydratedBoundWitness, HydratedBoundWitnessWithStorageMeta, IdentityFunction, IndexDescription, IndexDirection, NextOptions, ReadArchivist, ReadArchivistFunctions, ReadWriteArchivist, SignedHydratedBoundWitness, SignedHydratedBoundWitnessWithStorageMeta, StashArchivist, StashArchivistFunctions, WriteArchivist, WriteArchivistFunctions };
|
|
1
|
+
export * from './ArchivistDriver.ts';
|
|
2
|
+
export * from './ArchivistFunctions.ts';
|
|
3
|
+
export * from './ArchivistSnapshot.ts';
|
|
4
|
+
export * from './ArchivistStats.ts';
|
|
5
|
+
export * from './attachable/index.ts';
|
|
6
|
+
export * from './Config.ts';
|
|
7
|
+
export * from './EventData.ts';
|
|
8
|
+
export * from './IndexDescription.ts';
|
|
9
|
+
export * from './Instance.ts';
|
|
10
|
+
export * from './Labels.ts';
|
|
11
|
+
export * from './lib/index.ts';
|
|
12
|
+
export * from './ModuleInstance.ts';
|
|
13
|
+
export * from './NextOptions.ts';
|
|
14
|
+
export * from './Params.ts';
|
|
15
|
+
export * from './PayloadArchivist.ts';
|
|
16
|
+
export * from './Queries/index.ts';
|
|
17
|
+
export * from './RawQueryFunctions.ts';
|
|
18
|
+
export * from './typeChecks.ts';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/archivist-model",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/assert": "^4.13.
|
|
33
|
-
"@xylabs/events": "^4.13.
|
|
34
|
-
"@xylabs/exists": "^4.13.
|
|
35
|
-
"@xylabs/hex": "^4.13.
|
|
36
|
-
"@xylabs/object": "^4.13.
|
|
37
|
-
"@xylabs/promise": "^4.13.
|
|
38
|
-
"@xylabs/typeof": "^4.13.
|
|
39
|
-
"@xyo-network/account-model": "^4.1.
|
|
40
|
-
"@xyo-network/boundwitness-model": "^4.1.
|
|
41
|
-
"@xyo-network/module-model": "^4.1.
|
|
42
|
-
"@xyo-network/payload-model": "^4.1.
|
|
32
|
+
"@xylabs/assert": "^4.13.16",
|
|
33
|
+
"@xylabs/events": "^4.13.16",
|
|
34
|
+
"@xylabs/exists": "^4.13.16",
|
|
35
|
+
"@xylabs/hex": "^4.13.16",
|
|
36
|
+
"@xylabs/object": "^4.13.16",
|
|
37
|
+
"@xylabs/promise": "^4.13.16",
|
|
38
|
+
"@xylabs/typeof": "^4.13.16",
|
|
39
|
+
"@xyo-network/account-model": "^4.1.3",
|
|
40
|
+
"@xyo-network/boundwitness-model": "^4.1.3",
|
|
41
|
+
"@xyo-network/module-model": "^4.1.3",
|
|
42
|
+
"@xyo-network/payload-model": "^4.1.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.
|
|
46
|
-
"@xylabs/tsconfig": "^7.0.0-rc.
|
|
45
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
|
|
46
|
+
"@xylabs/tsconfig": "^7.0.0-rc.27",
|
|
47
47
|
"typescript": "^5.8.3"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|