@xyo-network/archivist-model 3.6.0-rc.1 → 3.6.0-rc.10
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/IndexDescription.d.ts +1 -3
- package/dist/neutral/IndexDescription.d.ts.map +1 -1
- package/dist/neutral/NextOptions.d.ts +3 -3
- package/dist/neutral/NextOptions.d.ts.map +1 -1
- package/dist/neutral/QueryFunctions.d.ts +2 -2
- package/dist/neutral/QueryFunctions.d.ts.map +1 -1
- package/dist/neutral/StorageMeta.d.ts +18 -0
- package/dist/neutral/StorageMeta.d.ts.map +1 -0
- package/dist/neutral/attachable/asAttachableInstance.d.ts +168 -42
- package/dist/neutral/attachable/asAttachableInstance.d.ts.map +1 -1
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/typeChecks.d.ts +545 -125
- package/dist/neutral/typeChecks.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/IndexDescription.ts +1 -5
- package/src/NextOptions.ts +3 -3
- package/src/QueryFunctions.ts +3 -3
- package/src/StorageMeta.ts +37 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndexDescription.d.ts","sourceRoot":"","sources":["../../src/IndexDescription.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,GAAG,CAAC,CAAA;AAEnC;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,GAAG,
|
|
1
|
+
{"version":3,"file":"IndexDescription.d.ts","sourceRoot":"","sources":["../../src/IndexDescription.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,GAAG,CAAC,CAAA;AAEnC;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,cAAc,MAAM,CAAA;AAEjC;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,UAAW,gBAAgB,WAK7D,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
export interface NextOptions<TId =
|
|
1
|
+
import type { Hash, Hex } from '@xylabs/hex';
|
|
2
|
+
export interface NextOptions<TId = Hex> {
|
|
3
|
+
cursor?: TId;
|
|
3
4
|
limit?: number;
|
|
4
|
-
offset?: TId;
|
|
5
5
|
order?: 'asc' | 'desc';
|
|
6
6
|
}
|
|
7
7
|
export interface ArchivistNextOptions extends NextOptions<Hash> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NextOptions.d.ts","sourceRoot":"","sources":["../../src/NextOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"NextOptions.d.ts","sourceRoot":"","sources":["../../src/NextOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,WAAW,WAAW,CAAC,GAAG,GAAG,GAAG;IACpC,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,oBAAqB,SAAQ,WAAW,CAAC,IAAI,CAAC;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Hash } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable, PromisableArray } from '@xylabs/promise';
|
|
3
3
|
import type { ModuleQueryFunctions } from '@xyo-network/module-model';
|
|
4
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
4
|
+
import type { Payload, WithStorageMeta } from '@xyo-network/payload-model';
|
|
5
5
|
import type { NextOptions } from './NextOptions.ts';
|
|
6
6
|
export interface ReadArchivist<TReadResponse, TId = string> {
|
|
7
7
|
all(): PromisableArray<TReadResponse>;
|
|
@@ -16,7 +16,7 @@ export interface WriteArchivist<TReadResponse, TWriteResponse = TReadResponse, T
|
|
|
16
16
|
export interface StashArchivist<TWriteResponse> {
|
|
17
17
|
commit(): PromisableArray<TWriteResponse>;
|
|
18
18
|
}
|
|
19
|
-
export interface Archivist<TReadResponse extends Payload = Payload, TWriteResponse extends Payload = Payload, TWrite extends Payload = TReadResponse & Payload, TId = Hash> extends ReadArchivist<TReadResponse
|
|
19
|
+
export interface Archivist<TReadResponse extends Payload = Payload, TWriteResponse extends Payload = Payload, TWrite extends Payload = TReadResponse & Payload, TId = Hash> extends ReadArchivist<WithStorageMeta<TReadResponse>, TId>, WriteArchivist<WithStorageMeta<TReadResponse>, WithStorageMeta<TWriteResponse>, TWrite, TId>, StashArchivist<TWriteResponse> {
|
|
20
20
|
}
|
|
21
21
|
export interface ArchivistQueryFunctions<TReadResponse extends Payload = Payload, TWriteResponse extends Payload = Payload, TWrite extends Payload = TReadResponse & Payload, TId = Hash> extends Archivist<TReadResponse, TWriteResponse, TWrite, TId>, ModuleQueryFunctions {
|
|
22
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryFunctions.d.ts","sourceRoot":"","sources":["../../src/QueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAClE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"QueryFunctions.d.ts","sourceRoot":"","sources":["../../src/QueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAClE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,MAAM,WAAW,aAAa,CAAC,aAAa,EAAE,GAAG,GAAG,MAAM;IACxD,GAAG,IAAI,eAAe,CAAC,aAAa,CAAC,CAAA;IACrC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,eAAe,CAAC,aAAa,CAAC,CAAA;IAC/C,IAAI,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,aAAa,CAAC,CAAA;CACjE;AAED,MAAM,WAAW,cAAc,CAAC,aAAa,EAAE,cAAc,GAAG,aAAa,EAAE,MAAM,GAAG,aAAa,EAAE,GAAG,GAAG,MAAM;IACjH,KAAK,IAAI,UAAU,CAAC,IAAI,CAAC,CAAA;IACzB,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,eAAe,CAAC,GAAG,CAAC,CAAA;IACxC,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,eAAe,CAAC,cAAc,CAAC,CAAA;CACxD;AAED,MAAM,WAAW,cAAc,CAAC,cAAc;IAC5C,MAAM,IAAI,eAAe,CAAC,cAAc,CAAC,CAAA;CAC1C;AAED,MAAM,WAAW,SAAS,CACxB,aAAa,SAAS,OAAO,GAAG,OAAO,EACvC,cAAc,SAAS,OAAO,GAAG,OAAO,EACxC,MAAM,SAAS,OAAO,GAAG,aAAa,GAAG,OAAO,EAChD,GAAG,GAAG,IAAI,CACV,SAAQ,aAAa,CAAC,eAAe,CAAC,aAAa,CAAC,EAAE,GAAG,CAAC,EAC1D,cAAc,CAAC,eAAe,CAAC,aAAa,CAAC,EAAE,eAAe,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAC5F,cAAc,CAAC,cAAc,CAAC;CAAG;AAEnC,MAAM,WAAW,uBAAuB,CACtC,aAAa,SAAS,OAAO,GAAG,OAAO,EACvC,cAAc,SAAS,OAAO,GAAG,OAAO,EACxC,MAAM,SAAS,OAAO,GAAG,aAAa,GAAG,OAAO,EAChD,GAAG,GAAG,IAAI,CACV,SAAQ,SAAS,CAAC,aAAa,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,CAAC,EAC7D,oBAAoB;CAAG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Hash, Hex } from '@xylabs/hex';
|
|
2
|
+
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
export interface StorageMeta {
|
|
4
|
+
_dataHash: Hash;
|
|
5
|
+
_hash: Hash;
|
|
6
|
+
_sequence: Hex;
|
|
7
|
+
}
|
|
8
|
+
export type WithPartialStorageMeta<T extends Payload = Payload> = Partial<WithStorageMeta<T>>;
|
|
9
|
+
export type WithStorageMeta<T extends Payload = Payload> = T & StorageMeta;
|
|
10
|
+
export declare const SequenceConstants: {
|
|
11
|
+
epochBytes: number;
|
|
12
|
+
nonceBytes: number;
|
|
13
|
+
addressBytes: number;
|
|
14
|
+
maxEpoch: number;
|
|
15
|
+
localSequenceBytes: number;
|
|
16
|
+
qualifiedSequenceBytes: number;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=StorageMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorageMeta.d.ts","sourceRoot":"","sources":["../../src/StorageMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,IAAI,CAAA;IACf,KAAK,EAAE,IAAI,CAAA;IAEX,SAAS,EAAE,GAAG,CAAA;CACf;AAED,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAA;AAE7F,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,IAAI,CAAC,GAAG,WAAW,CAAA;AAc1E,eAAO,MAAM,iBAAiB;;;;;;;CAG7B,CAAA"}
|
|
@@ -4,62 +4,188 @@ export declare const asAttachableArchivistInstance: {
|
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("@
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
8
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
9
|
+
parents?: {
|
|
10
|
+
commit?: Lowercase<string>[] | undefined;
|
|
11
|
+
read?: Lowercase<string>[] | undefined;
|
|
12
|
+
write?: Lowercase<string>[] | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
requireAllParents?: boolean | undefined;
|
|
15
|
+
storage?: {
|
|
16
|
+
indexes?: {
|
|
17
|
+
key: {
|
|
18
|
+
[x: string]: import("../IndexDescription.ts").IndexDirection;
|
|
19
|
+
};
|
|
20
|
+
multiEntry?: boolean | undefined;
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
unique?: boolean | undefined;
|
|
23
|
+
}[] | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
storeParentReads?: boolean | undefined;
|
|
26
|
+
readonly archiving?: {
|
|
27
|
+
readonly archivists?: string[] | undefined;
|
|
28
|
+
readonly queries?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
readonly allowedQueries?: string[] | undefined;
|
|
31
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
32
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
33
|
+
readonly labels?: {
|
|
34
|
+
[x: string]: string | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
37
|
+
readonly paging?: {
|
|
38
|
+
[x: string]: {
|
|
39
|
+
size?: number | undefined;
|
|
40
|
+
};
|
|
41
|
+
} | undefined;
|
|
42
|
+
readonly retry?: {
|
|
43
|
+
backoff?: number | undefined;
|
|
44
|
+
interval?: number | undefined;
|
|
45
|
+
retries?: number | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
readonly security?: {
|
|
48
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
49
|
+
readonly allowed?: {
|
|
50
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
51
|
+
} | undefined;
|
|
52
|
+
readonly disallowed?: {
|
|
53
|
+
[x: string]: Lowercase<string>[];
|
|
54
|
+
} | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly sign?: boolean | undefined;
|
|
57
|
+
readonly storeQueries?: boolean | undefined;
|
|
58
|
+
readonly timestamp?: boolean | undefined;
|
|
59
|
+
}>;
|
|
18
60
|
ephemeralQueryAccountEnabled?: boolean;
|
|
19
61
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
20
|
-
}, import("../EventData.ts").ArchivistModuleEventData, {
|
|
21
|
-
schema:
|
|
22
|
-
}
|
|
62
|
+
}, import("../EventData.ts").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
63
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
64
|
+
}>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
23
65
|
<TType extends import("./AttachableInstance.ts").AttachableArchivistInstance<import("@xylabs/object").BaseParamsFields & {
|
|
24
66
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
25
67
|
addToResolvers?: boolean;
|
|
26
68
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
27
69
|
allowNameResolution?: boolean;
|
|
28
|
-
config: import("@
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
70
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
71
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
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("../IndexDescription.ts").IndexDirection;
|
|
82
|
+
};
|
|
83
|
+
multiEntry?: boolean | undefined;
|
|
84
|
+
name?: string | undefined;
|
|
85
|
+
unique?: boolean | undefined;
|
|
86
|
+
}[] | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
storeParentReads?: boolean | undefined;
|
|
89
|
+
readonly archiving?: {
|
|
90
|
+
readonly archivists?: string[] | undefined;
|
|
91
|
+
readonly queries?: string[] | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
readonly allowedQueries?: string[] | undefined;
|
|
94
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
95
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
96
|
+
readonly labels?: {
|
|
97
|
+
[x: string]: string | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
100
|
+
readonly paging?: {
|
|
101
|
+
[x: string]: {
|
|
102
|
+
size?: number | undefined;
|
|
103
|
+
};
|
|
104
|
+
} | undefined;
|
|
105
|
+
readonly retry?: {
|
|
106
|
+
backoff?: number | undefined;
|
|
107
|
+
interval?: number | undefined;
|
|
108
|
+
retries?: number | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
readonly security?: {
|
|
111
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
112
|
+
readonly allowed?: {
|
|
113
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
114
|
+
} | undefined;
|
|
115
|
+
readonly disallowed?: {
|
|
116
|
+
[x: string]: Lowercase<string>[];
|
|
117
|
+
} | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
readonly sign?: boolean | undefined;
|
|
120
|
+
readonly storeQueries?: boolean | undefined;
|
|
121
|
+
readonly timestamp?: boolean | undefined;
|
|
122
|
+
}>;
|
|
39
123
|
ephemeralQueryAccountEnabled?: boolean;
|
|
40
124
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
41
|
-
}, import("../EventData.ts").ArchivistModuleEventData, {
|
|
42
|
-
schema:
|
|
43
|
-
}
|
|
125
|
+
}, import("../EventData.ts").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
126
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
127
|
+
}>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance.ts").AttachableArchivistInstance<import("@xylabs/object").BaseParamsFields & {
|
|
44
128
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
45
129
|
addToResolvers?: boolean;
|
|
46
130
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
47
131
|
allowNameResolution?: boolean;
|
|
48
|
-
config: import("@
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
132
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
133
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
134
|
+
parents?: {
|
|
135
|
+
commit?: Lowercase<string>[] | undefined;
|
|
136
|
+
read?: Lowercase<string>[] | undefined;
|
|
137
|
+
write?: Lowercase<string>[] | undefined;
|
|
138
|
+
} | undefined;
|
|
139
|
+
requireAllParents?: boolean | undefined;
|
|
140
|
+
storage?: {
|
|
141
|
+
indexes?: {
|
|
142
|
+
key: {
|
|
143
|
+
[x: string]: import("../IndexDescription.ts").IndexDirection;
|
|
144
|
+
};
|
|
145
|
+
multiEntry?: boolean | undefined;
|
|
146
|
+
name?: string | undefined;
|
|
147
|
+
unique?: boolean | undefined;
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
storeParentReads?: boolean | undefined;
|
|
151
|
+
readonly archiving?: {
|
|
152
|
+
readonly archivists?: string[] | undefined;
|
|
153
|
+
readonly queries?: string[] | undefined;
|
|
154
|
+
} | undefined;
|
|
155
|
+
readonly allowedQueries?: string[] | undefined;
|
|
156
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
157
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
158
|
+
readonly labels?: {
|
|
159
|
+
[x: string]: string | undefined;
|
|
160
|
+
} | undefined;
|
|
161
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
162
|
+
readonly paging?: {
|
|
163
|
+
[x: string]: {
|
|
164
|
+
size?: number | undefined;
|
|
165
|
+
};
|
|
166
|
+
} | undefined;
|
|
167
|
+
readonly retry?: {
|
|
168
|
+
backoff?: number | undefined;
|
|
169
|
+
interval?: number | undefined;
|
|
170
|
+
retries?: number | undefined;
|
|
171
|
+
} | undefined;
|
|
172
|
+
readonly security?: {
|
|
173
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
174
|
+
readonly allowed?: {
|
|
175
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
176
|
+
} | undefined;
|
|
177
|
+
readonly disallowed?: {
|
|
178
|
+
[x: string]: Lowercase<string>[];
|
|
179
|
+
} | undefined;
|
|
180
|
+
} | undefined;
|
|
181
|
+
readonly sign?: boolean | undefined;
|
|
182
|
+
readonly storeQueries?: boolean | undefined;
|
|
183
|
+
readonly timestamp?: boolean | undefined;
|
|
184
|
+
}>;
|
|
59
185
|
ephemeralQueryAccountEnabled?: boolean;
|
|
60
186
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
61
|
-
}, import("../EventData.ts").ArchivistModuleEventData, {
|
|
62
|
-
schema:
|
|
63
|
-
}
|
|
187
|
+
}, import("../EventData.ts").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
188
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
189
|
+
}>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
64
190
|
};
|
|
65
191
|
//# sourceMappingURL=asAttachableInstance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAChB,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAgG,gBAAoB;CADlN,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/attachable/asAttachableInstance.ts","../../src/attachable/isAttachableInstance.ts","../../src/typeChecks.ts","../../src/Queries/All.ts","../../src/Queries/Clear.ts","../../src/Queries/Commit.ts","../../src/Queries/Delete.ts","../../src/Queries/Get.ts","../../src/Queries/Insert.ts","../../src/Queries/Next.ts","../../src/attachable/AttachableInstance.ts","../../src/Config.ts","../../src/IndexDescription.ts"],"sourcesContent":["import { AsObjectFactory } from '@xylabs/object'\n\nimport { isAttachableArchivistInstance } from './isAttachableInstance.ts'\n\nexport const asAttachableArchivistInstance = AsObjectFactory.create(isAttachableArchivistInstance)\n","import type { TypeCheck } from '@xylabs/object'\nimport { IsObjectFactory } from '@xylabs/object'\nimport type { ObjectTypeShape } from '@xylabs/typeof'\nimport { isAttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { isArchivistInstance } from '../typeChecks.ts'\nimport type { AttachableArchivistInstance } from './AttachableInstance.ts'\n\nexport const requiredAttachableArchivistInstanceFunctions: ObjectTypeShape = {}\n\n// we do not use IsInstanceFactory here to prevent a cycle\nconst factory = new IsObjectFactory<AttachableArchivistInstance>()\n\nexport const isAttachableArchivistInstance: TypeCheck<AttachableArchivistInstance> = factory.create(requiredAttachableArchivistInstanceFunctions, [\n isArchivistInstance,\n isAttachableModuleInstance,\n])\n","import { AsObjectFactory } from '@xylabs/object'\nimport {\n IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory,\n} from '@xyo-network/module-model'\n\nimport type { ArchivistInstance } from './Instance.ts'\nimport type { ArchivistModule } from './Module.ts'\nimport { ArchivistGetQuerySchema } from './Queries/index.ts'\n\nexport const isArchivistInstance = new IsInstanceFactory<ArchivistInstance>().create({ get: 'function' }, [isModuleInstance])\nexport const isArchivistModule = new IsModuleFactory<ArchivistModule>().create([ArchivistGetQuerySchema])\n\nexport const asArchivistModule = AsObjectFactory.create(isArchivistModule)\nexport const asArchivistInstance = AsObjectFactory.create(isArchivistInstance)\nexport const withArchivistModule = WithFactory.create(isArchivistModule)\nexport const withArchivistInstance = WithFactory.create(isArchivistInstance)\n","import type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistAllQuerySchema = 'network.xyo.query.archivist.all'\nexport const ArchivistAllQuerySchema: ArchivistAllQuerySchema = 'network.xyo.query.archivist.all'\n\nexport type ArchivistAllQuery = Query<{\n schema: ArchivistAllQuerySchema\n}>\n","import type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistClearQuerySchema = 'network.xyo.query.archivist.clear'\nexport const ArchivistClearQuerySchema: ArchivistClearQuerySchema = 'network.xyo.query.archivist.clear'\n\nexport type ArchivistClearQuery = Query<{\n schema: ArchivistClearQuerySchema\n}>\n","import type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistCommitQuerySchema = 'network.xyo.query.archivist.commit'\nexport const ArchivistCommitQuerySchema: ArchivistCommitQuerySchema = 'network.xyo.query.archivist.commit'\n\nexport type ArchivistCommitQuery = Query<{\n schema: ArchivistCommitQuerySchema\n}>\n","import type { Hash } from '@xylabs/hex'\nimport type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistDeleteQuerySchema = 'network.xyo.query.archivist.delete'\nexport const ArchivistDeleteQuerySchema: ArchivistDeleteQuerySchema = 'network.xyo.query.archivist.delete'\n\nexport type ArchivistDeleteQuery = Query<{\n hashes: Hash[]\n schema: ArchivistDeleteQuerySchema\n}>\n","import type { Hash } from '@xylabs/hex'\nimport type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistGetQuerySchema = 'network.xyo.query.archivist.get'\nexport const ArchivistGetQuerySchema: ArchivistGetQuerySchema = 'network.xyo.query.archivist.get'\n\nexport type ArchivistGetQuery = Query<{\n hashes: Hash[]\n schema: ArchivistGetQuerySchema\n}>\n","import type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistInsertQuerySchema = 'network.xyo.query.archivist.insert'\nexport const ArchivistInsertQuerySchema: ArchivistInsertQuerySchema = 'network.xyo.query.archivist.insert'\n\nexport type ArchivistInsertQuery = Query<{\n schema: ArchivistInsertQuerySchema\n}>\n","import type { Query } from '@xyo-network/payload-model'\n\nimport type { ArchivistNextOptions } from '../NextOptions.ts'\n\nexport type ArchivistNextQuerySchema = 'network.xyo.query.archivist.next'\nexport const ArchivistNextQuerySchema: ArchivistNextQuerySchema = 'network.xyo.query.archivist.next'\n\nexport type ArchivistNextQuery = Query<ArchivistNextOptions, ArchivistNextQuerySchema>\n","import type { TypeCheck } from '@xylabs/object'\nimport { IsObjectFactory } from '@xylabs/object'\nimport type { AttachableModuleInstance } from '@xyo-network/module-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport type { ArchivistModuleEventData } from '../EventData.ts'\nimport type { ArchivistInstance } from '../Instance.ts'\nimport type { ArchivistModule } from '../Module.ts'\nimport type { ArchivistParams } from '../Params.ts'\n\nexport interface AttachableArchivistInstance<\n TParams extends ArchivistParams = ArchivistParams,\n TEventData extends ArchivistModuleEventData = ArchivistModuleEventData,\n TPayload extends Payload = Payload,\n> extends ArchivistModule<TParams, TEventData>,\n AttachableModuleInstance<TParams, TEventData>,\n ArchivistInstance<TParams, TEventData, TPayload> {}\n\nexport type AttachableArchivistInstanceTypeCheck<T extends AttachableArchivistInstance = AttachableArchivistInstance> = TypeCheck<T>\n\nexport class IsAttachableArchivistInstanceFactory<T extends AttachableArchivistInstance = AttachableArchivistInstance> extends IsObjectFactory<T> {}\n","import type { Address } from '@xylabs/hex'\nimport type { EmptyObject, WithAdditional } from '@xylabs/object'\nimport type { ModuleConfig } from '@xyo-network/module-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport type { IndexDescription } from './IndexDescription.ts'\n\nexport interface ArchivistParents {\n commit?: Address[]\n read?: Address[]\n write?: Address[]\n}\n\nexport interface ArchivistStorage {\n /** The indexes to create on the object store */\n indexes?: IndexDescription[]\n}\n\nexport const ArchivistConfigSchema = 'network.xyo.archivist.config' as const\nexport type ArchivistConfigSchema = typeof ArchivistConfigSchema\n\nexport type ArchivistConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n /** @field address of one or more parent archivists to read from */\n parents?: ArchivistParents\n /** @field fail if some parents can not be resolved (true if unspecified) */\n requireAllParents?: boolean\n schema: TConfig extends Payload ? TConfig['schema'] : ArchivistConfigSchema\n /** @field storage configuration */\n storage?: ArchivistStorage\n /** @field should child store all reads from parents? */\n storeParentReads?: boolean\n },\n TConfig\n >,\n TSchema\n>\n","/**\n * The index direction (1 for ascending, -1 for descending)\n */\nexport type IndexDirection = -1 | 1\n\n/**\n * Description of index(es) to be created on a store\n */\nexport type IndexDescription = {\n /**\n * The key(s) to index\n */\n key:\n | {\n [key: string]: IndexDirection\n }\n | Map<string, IndexDirection>\n /**\n * Is the indexed value an array\n */\n multiEntry?: boolean\n /**\n * The name of the index\n */\n name?: string\n /**\n * If true, the index must enforce uniqueness on the key\n */\n unique?: boolean\n}\n\nexport const IndexSeparator = '-'\n\n/**\n * Given an index description, this will build the index\n * name in standard form\n * @param index The index description\n * @returns The index name in standard form\n */\nexport const buildStandardIndexName = (index: IndexDescription) => {\n const { key, unique } = index\n const prefix = unique ? 'UX' : 'IX'\n const indexKeys = Object.keys(key)\n return `${prefix}_${indexKeys.join(IndexSeparator)}`\n}\n"],"mappings":";;;;AAAA,SAASA,mBAAAA,wBAAuB;;;ACChC,SAASC,uBAAuB;AAEhC,SAASC,kCAAkC;;;ACH3C,SAASC,uBAAuB;AAChC,SACEC,mBAAmBC,iBAAiBC,kBAAkBC,mBACjD;;;ACAA,IAAMC,0BAAmD;;;ACAzD,IAAMC,4BAAuD;;;ACA7D,IAAMC,6BAAyD;;;ACC/D,IAAMC,6BAAyD;;;ACA/D,IAAMC,0BAAmD;;;ACDzD,IAAMC,6BAAyD;;;ACE/D,IAAMC,2BAAqD;;;API3D,IAAMC,sBAAsB,IAAIC,kBAAAA,EAAuCC,OAAO;EAAEC,KAAK;AAAW,GAAG;EAACC;CAAiB;AACrH,IAAMC,oBAAoB,IAAIC,gBAAAA,EAAmCJ,OAAO;EAACK;CAAwB;AAEjG,IAAMC,oBAAoBC,gBAAgBP,OAAOG,iBAAAA;AACjD,IAAMK,sBAAsBD,gBAAgBP,OAAOF,mBAAAA;AACnD,IAAMW,sBAAsBC,YAAYV,OAAOG,iBAAAA;AAC/C,IAAMQ,wBAAwBD,YAAYV,OAAOF,mBAAAA;;;ADPjD,IAAMc,+CAAgE,CAAC;AAG9E,IAAMC,UAAU,IAAIC,gBAAAA;AAEb,IAAMC,gCAAwEF,QAAQG,OAAOJ,8CAA8C;EAChJK;EACAC;CACD;;;ADZM,IAAMC,gCAAgCC,iBAAgBC,OAAOC,6BAAAA;;;AUHpE,SAASC,mBAAAA,wBAAuB;AAmBzB,IAAMC,uCAAN,cAAwHC,iBAAAA;EAnB/H,OAmB+HA;;;AAAoB;;;ACF5I,IAAMC,wBAAwB;;;ACa9B,IAAMC,iBAAiB;AAQvB,IAAMC,yBAAyB,wBAACC,UAAAA;AACrC,QAAM,EAAEC,KAAKC,OAAM,IAAKF;AACxB,QAAMG,SAASD,SAAS,OAAO;AAC/B,QAAME,YAAYC,OAAOC,KAAKL,GAAAA;AAC9B,SAAO,GAAGE,MAAAA,IAAUC,UAAUG,KAAKT,cAAAA,CAAAA;AACrC,GALsC;","names":["AsObjectFactory","IsObjectFactory","isAttachableModuleInstance","AsObjectFactory","IsInstanceFactory","IsModuleFactory","isModuleInstance","WithFactory","ArchivistAllQuerySchema","ArchivistClearQuerySchema","ArchivistCommitQuerySchema","ArchivistDeleteQuerySchema","ArchivistGetQuerySchema","ArchivistInsertQuerySchema","ArchivistNextQuerySchema","isArchivistInstance","IsInstanceFactory","create","get","isModuleInstance","isArchivistModule","IsModuleFactory","ArchivistGetQuerySchema","asArchivistModule","AsObjectFactory","asArchivistInstance","withArchivistModule","WithFactory","withArchivistInstance","requiredAttachableArchivistInstanceFunctions","factory","IsObjectFactory","isAttachableArchivistInstance","create","isArchivistInstance","isAttachableModuleInstance","asAttachableArchivistInstance","AsObjectFactory","create","isAttachableArchivistInstance","IsObjectFactory","IsAttachableArchivistInstanceFactory","IsObjectFactory","ArchivistConfigSchema","IndexSeparator","buildStandardIndexName","index","key","unique","prefix","indexKeys","Object","keys","join"]}
|
|
1
|
+
{"version":3,"sources":["../../src/attachable/asAttachableInstance.ts","../../src/attachable/isAttachableInstance.ts","../../src/typeChecks.ts","../../src/Queries/All.ts","../../src/Queries/Clear.ts","../../src/Queries/Commit.ts","../../src/Queries/Delete.ts","../../src/Queries/Get.ts","../../src/Queries/Insert.ts","../../src/Queries/Next.ts","../../src/attachable/AttachableInstance.ts","../../src/Config.ts","../../src/IndexDescription.ts"],"sourcesContent":["import { AsObjectFactory } from '@xylabs/object'\n\nimport { isAttachableArchivistInstance } from './isAttachableInstance.ts'\n\nexport const asAttachableArchivistInstance = AsObjectFactory.create(isAttachableArchivistInstance)\n","import type { TypeCheck } from '@xylabs/object'\nimport { IsObjectFactory } from '@xylabs/object'\nimport type { ObjectTypeShape } from '@xylabs/typeof'\nimport { isAttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { isArchivistInstance } from '../typeChecks.ts'\nimport type { AttachableArchivistInstance } from './AttachableInstance.ts'\n\nexport const requiredAttachableArchivistInstanceFunctions: ObjectTypeShape = {}\n\n// we do not use IsInstanceFactory here to prevent a cycle\nconst factory = new IsObjectFactory<AttachableArchivistInstance>()\n\nexport const isAttachableArchivistInstance: TypeCheck<AttachableArchivistInstance> = factory.create(requiredAttachableArchivistInstanceFunctions, [\n isArchivistInstance,\n isAttachableModuleInstance,\n])\n","import { AsObjectFactory } from '@xylabs/object'\nimport {\n IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory,\n} from '@xyo-network/module-model'\n\nimport type { ArchivistInstance } from './Instance.ts'\nimport type { ArchivistModule } from './Module.ts'\nimport { ArchivistGetQuerySchema } from './Queries/index.ts'\n\nexport const isArchivistInstance = new IsInstanceFactory<ArchivistInstance>().create({ get: 'function' }, [isModuleInstance])\nexport const isArchivistModule = new IsModuleFactory<ArchivistModule>().create([ArchivistGetQuerySchema])\n\nexport const asArchivistModule = AsObjectFactory.create(isArchivistModule)\nexport const asArchivistInstance = AsObjectFactory.create(isArchivistInstance)\nexport const withArchivistModule = WithFactory.create(isArchivistModule)\nexport const withArchivistInstance = WithFactory.create(isArchivistInstance)\n","import type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistAllQuerySchema = 'network.xyo.query.archivist.all'\nexport const ArchivistAllQuerySchema: ArchivistAllQuerySchema = 'network.xyo.query.archivist.all'\n\nexport type ArchivistAllQuery = Query<{\n schema: ArchivistAllQuerySchema\n}>\n","import type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistClearQuerySchema = 'network.xyo.query.archivist.clear'\nexport const ArchivistClearQuerySchema: ArchivistClearQuerySchema = 'network.xyo.query.archivist.clear'\n\nexport type ArchivistClearQuery = Query<{\n schema: ArchivistClearQuerySchema\n}>\n","import type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistCommitQuerySchema = 'network.xyo.query.archivist.commit'\nexport const ArchivistCommitQuerySchema: ArchivistCommitQuerySchema = 'network.xyo.query.archivist.commit'\n\nexport type ArchivistCommitQuery = Query<{\n schema: ArchivistCommitQuerySchema\n}>\n","import type { Hash } from '@xylabs/hex'\nimport type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistDeleteQuerySchema = 'network.xyo.query.archivist.delete'\nexport const ArchivistDeleteQuerySchema: ArchivistDeleteQuerySchema = 'network.xyo.query.archivist.delete'\n\nexport type ArchivistDeleteQuery = Query<{\n hashes: Hash[]\n schema: ArchivistDeleteQuerySchema\n}>\n","import type { Hash } from '@xylabs/hex'\nimport type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistGetQuerySchema = 'network.xyo.query.archivist.get'\nexport const ArchivistGetQuerySchema: ArchivistGetQuerySchema = 'network.xyo.query.archivist.get'\n\nexport type ArchivistGetQuery = Query<{\n hashes: Hash[]\n schema: ArchivistGetQuerySchema\n}>\n","import type { Query } from '@xyo-network/payload-model'\n\nexport type ArchivistInsertQuerySchema = 'network.xyo.query.archivist.insert'\nexport const ArchivistInsertQuerySchema: ArchivistInsertQuerySchema = 'network.xyo.query.archivist.insert'\n\nexport type ArchivistInsertQuery = Query<{\n schema: ArchivistInsertQuerySchema\n}>\n","import type { Query } from '@xyo-network/payload-model'\n\nimport type { ArchivistNextOptions } from '../NextOptions.ts'\n\nexport type ArchivistNextQuerySchema = 'network.xyo.query.archivist.next'\nexport const ArchivistNextQuerySchema: ArchivistNextQuerySchema = 'network.xyo.query.archivist.next'\n\nexport type ArchivistNextQuery = Query<ArchivistNextOptions, ArchivistNextQuerySchema>\n","import type { TypeCheck } from '@xylabs/object'\nimport { IsObjectFactory } from '@xylabs/object'\nimport type { AttachableModuleInstance } from '@xyo-network/module-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport type { ArchivistModuleEventData } from '../EventData.ts'\nimport type { ArchivistInstance } from '../Instance.ts'\nimport type { ArchivistModule } from '../Module.ts'\nimport type { ArchivistParams } from '../Params.ts'\n\nexport interface AttachableArchivistInstance<\n TParams extends ArchivistParams = ArchivistParams,\n TEventData extends ArchivistModuleEventData = ArchivistModuleEventData,\n TPayload extends Payload = Payload,\n> extends ArchivistModule<TParams, TEventData>,\n AttachableModuleInstance<TParams, TEventData>,\n ArchivistInstance<TParams, TEventData, TPayload> {}\n\nexport type AttachableArchivistInstanceTypeCheck<T extends AttachableArchivistInstance = AttachableArchivistInstance> = TypeCheck<T>\n\nexport class IsAttachableArchivistInstanceFactory<T extends AttachableArchivistInstance = AttachableArchivistInstance> extends IsObjectFactory<T> {}\n","import type { Address } from '@xylabs/hex'\nimport type { EmptyObject, WithAdditional } from '@xylabs/object'\nimport type { ModuleConfig } from '@xyo-network/module-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport type { IndexDescription } from './IndexDescription.ts'\n\nexport interface ArchivistParents {\n commit?: Address[]\n read?: Address[]\n write?: Address[]\n}\n\nexport interface ArchivistStorage {\n /** The indexes to create on the object store */\n indexes?: IndexDescription[]\n}\n\nexport const ArchivistConfigSchema = 'network.xyo.archivist.config' as const\nexport type ArchivistConfigSchema = typeof ArchivistConfigSchema\n\nexport type ArchivistConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n /** @field address of one or more parent archivists to read from */\n parents?: ArchivistParents\n /** @field fail if some parents can not be resolved (true if unspecified) */\n requireAllParents?: boolean\n schema: TConfig extends Payload ? TConfig['schema'] : ArchivistConfigSchema\n /** @field storage configuration */\n storage?: ArchivistStorage\n /** @field should child store all reads from parents? */\n storeParentReads?: boolean\n },\n TConfig\n >,\n TSchema\n>\n","/**\n * The index direction (1 for ascending, -1 for descending)\n */\nexport type IndexDirection = -1 | 1\n\n/**\n * Description of index(es) to be created on a store\n */\nexport type IndexDescription = {\n /**\n * The key(s) to index\n */\n key: Record<string, IndexDirection>\n /**\n * Is the indexed value an array\n */\n multiEntry?: boolean\n /**\n * The name of the index\n */\n name?: string\n /**\n * If true, the index must enforce uniqueness on the key\n */\n unique?: boolean\n}\n\nexport const IndexSeparator = '-'\n\n/**\n * Given an index description, this will build the index\n * name in standard form\n * @param index The index description\n * @returns The index name in standard form\n */\nexport const buildStandardIndexName = (index: IndexDescription) => {\n const { key, unique } = index\n const prefix = unique ? 'UX' : 'IX'\n const indexKeys = Object.keys(key)\n return `${prefix}_${indexKeys.join(IndexSeparator)}`\n}\n"],"mappings":";;;;AAAA,SAASA,mBAAAA,wBAAuB;;;ACChC,SAASC,uBAAuB;AAEhC,SAASC,kCAAkC;;;ACH3C,SAASC,uBAAuB;AAChC,SACEC,mBAAmBC,iBAAiBC,kBAAkBC,mBACjD;;;ACAA,IAAMC,0BAAmD;;;ACAzD,IAAMC,4BAAuD;;;ACA7D,IAAMC,6BAAyD;;;ACC/D,IAAMC,6BAAyD;;;ACA/D,IAAMC,0BAAmD;;;ACDzD,IAAMC,6BAAyD;;;ACE/D,IAAMC,2BAAqD;;;API3D,IAAMC,sBAAsB,IAAIC,kBAAAA,EAAuCC,OAAO;EAAEC,KAAK;AAAW,GAAG;EAACC;CAAiB;AACrH,IAAMC,oBAAoB,IAAIC,gBAAAA,EAAmCJ,OAAO;EAACK;CAAwB;AAEjG,IAAMC,oBAAoBC,gBAAgBP,OAAOG,iBAAAA;AACjD,IAAMK,sBAAsBD,gBAAgBP,OAAOF,mBAAAA;AACnD,IAAMW,sBAAsBC,YAAYV,OAAOG,iBAAAA;AAC/C,IAAMQ,wBAAwBD,YAAYV,OAAOF,mBAAAA;;;ADPjD,IAAMc,+CAAgE,CAAC;AAG9E,IAAMC,UAAU,IAAIC,gBAAAA;AAEb,IAAMC,gCAAwEF,QAAQG,OAAOJ,8CAA8C;EAChJK;EACAC;CACD;;;ADZM,IAAMC,gCAAgCC,iBAAgBC,OAAOC,6BAAAA;;;AUHpE,SAASC,mBAAAA,wBAAuB;AAmBzB,IAAMC,uCAAN,cAAwHC,iBAAAA;EAnB/H,OAmB+HA;;;AAAoB;;;ACF5I,IAAMC,wBAAwB;;;ACS9B,IAAMC,iBAAiB;AAQvB,IAAMC,yBAAyB,wBAACC,UAAAA;AACrC,QAAM,EAAEC,KAAKC,OAAM,IAAKF;AACxB,QAAMG,SAASD,SAAS,OAAO;AAC/B,QAAME,YAAYC,OAAOC,KAAKL,GAAAA;AAC9B,SAAO,GAAGE,MAAAA,IAAUC,UAAUG,KAAKT,cAAAA,CAAAA;AACrC,GALsC;","names":["AsObjectFactory","IsObjectFactory","isAttachableModuleInstance","AsObjectFactory","IsInstanceFactory","IsModuleFactory","isModuleInstance","WithFactory","ArchivistAllQuerySchema","ArchivistClearQuerySchema","ArchivistCommitQuerySchema","ArchivistDeleteQuerySchema","ArchivistGetQuerySchema","ArchivistInsertQuerySchema","ArchivistNextQuerySchema","isArchivistInstance","IsInstanceFactory","create","get","isModuleInstance","isArchivistModule","IsModuleFactory","ArchivistGetQuerySchema","asArchivistModule","AsObjectFactory","asArchivistInstance","withArchivistModule","WithFactory","withArchivistInstance","requiredAttachableArchivistInstanceFunctions","factory","IsObjectFactory","isAttachableArchivistInstance","create","isArchivistInstance","isAttachableModuleInstance","asAttachableArchivistInstance","AsObjectFactory","create","isAttachableArchivistInstance","IsObjectFactory","IsAttachableArchivistInstanceFactory","IsObjectFactory","ArchivistConfigSchema","IndexSeparator","buildStandardIndexName","index","key","unique","prefix","indexKeys","Object","keys","join"]}
|