@xyo-network/archivist-wrapper 3.6.0-rc.4 → 3.6.0-rc.6
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.
|
@@ -10,38 +10,124 @@ export declare class ArchivistWrapper<TWrappedModule extends ArchivistModule = A
|
|
|
10
10
|
addToResolvers?: boolean;
|
|
11
11
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
12
12
|
allowNameResolution?: boolean;
|
|
13
|
-
config: import("@xyo-network/payload-model").
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
14
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
15
|
+
parents?: {
|
|
16
|
+
commit?: Lowercase<string>[] | undefined;
|
|
17
|
+
read?: Lowercase<string>[] | undefined;
|
|
18
|
+
write?: Lowercase<string>[] | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
requireAllParents?: boolean | undefined;
|
|
21
|
+
storage?: {
|
|
22
|
+
indexes?: {
|
|
23
|
+
key: {
|
|
24
|
+
[x: string]: import("@xyo-network/archivist-model").IndexDirection;
|
|
25
|
+
};
|
|
26
|
+
multiEntry?: boolean | undefined;
|
|
27
|
+
name?: string | undefined;
|
|
28
|
+
unique?: boolean | undefined;
|
|
29
|
+
}[] | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
storeParentReads?: boolean | undefined;
|
|
32
|
+
readonly archiving?: {
|
|
33
|
+
readonly archivists?: string[] | undefined;
|
|
34
|
+
readonly queries?: string[] | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly allowedQueries?: string[] | undefined;
|
|
37
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
38
|
+
readonly certify?: boolean | undefined;
|
|
39
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
40
|
+
readonly labels?: {
|
|
41
|
+
[x: string]: string | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
44
|
+
readonly paging?: {
|
|
45
|
+
[x: string]: {
|
|
46
|
+
size?: number | undefined;
|
|
47
|
+
};
|
|
48
|
+
} | undefined;
|
|
49
|
+
readonly retry?: {
|
|
50
|
+
backoff?: number | undefined;
|
|
51
|
+
interval?: number | undefined;
|
|
52
|
+
retries?: number | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
readonly security?: {
|
|
55
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
56
|
+
readonly allowed?: {
|
|
57
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly disallowed?: {
|
|
60
|
+
[x: string]: Lowercase<string>[];
|
|
61
|
+
} | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
readonly sign?: boolean | undefined;
|
|
64
|
+
readonly storeQueries?: boolean | undefined;
|
|
65
|
+
readonly timestamp?: boolean | undefined;
|
|
66
|
+
}>;
|
|
24
67
|
ephemeralQueryAccountEnabled?: boolean;
|
|
25
68
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
26
|
-
}, import("@xyo-network/archivist-model").ArchivistModuleEventData, {
|
|
27
|
-
schema:
|
|
28
|
-
}
|
|
69
|
+
}, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
70
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
71
|
+
}>>>;
|
|
29
72
|
static moduleIdentityCheck: import("@xyo-network/module-model").ModuleTypeCheck<ArchivistModule<import("@xylabs/object").BaseParamsFields & {
|
|
30
73
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
31
74
|
addToResolvers?: boolean;
|
|
32
75
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
33
76
|
allowNameResolution?: boolean;
|
|
34
|
-
config: import("@xyo-network/payload-model").
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
77
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
78
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
79
|
+
parents?: {
|
|
80
|
+
commit?: Lowercase<string>[] | undefined;
|
|
81
|
+
read?: Lowercase<string>[] | undefined;
|
|
82
|
+
write?: Lowercase<string>[] | undefined;
|
|
83
|
+
} | undefined;
|
|
84
|
+
requireAllParents?: boolean | undefined;
|
|
85
|
+
storage?: {
|
|
86
|
+
indexes?: {
|
|
87
|
+
key: {
|
|
88
|
+
[x: string]: import("@xyo-network/archivist-model").IndexDirection;
|
|
89
|
+
};
|
|
90
|
+
multiEntry?: boolean | undefined;
|
|
91
|
+
name?: string | undefined;
|
|
92
|
+
unique?: boolean | undefined;
|
|
93
|
+
}[] | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
storeParentReads?: boolean | undefined;
|
|
96
|
+
readonly archiving?: {
|
|
97
|
+
readonly archivists?: string[] | undefined;
|
|
98
|
+
readonly queries?: string[] | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
readonly allowedQueries?: string[] | undefined;
|
|
101
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
102
|
+
readonly certify?: boolean | undefined;
|
|
103
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
104
|
+
readonly labels?: {
|
|
105
|
+
[x: string]: string | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
108
|
+
readonly paging?: {
|
|
109
|
+
[x: string]: {
|
|
110
|
+
size?: number | undefined;
|
|
111
|
+
};
|
|
112
|
+
} | undefined;
|
|
113
|
+
readonly retry?: {
|
|
114
|
+
backoff?: number | undefined;
|
|
115
|
+
interval?: number | undefined;
|
|
116
|
+
retries?: number | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
readonly security?: {
|
|
119
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
120
|
+
readonly allowed?: {
|
|
121
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
122
|
+
} | undefined;
|
|
123
|
+
readonly disallowed?: {
|
|
124
|
+
[x: string]: Lowercase<string>[];
|
|
125
|
+
} | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
readonly sign?: boolean | undefined;
|
|
128
|
+
readonly storeQueries?: boolean | undefined;
|
|
129
|
+
readonly timestamp?: boolean | undefined;
|
|
130
|
+
}>;
|
|
45
131
|
ephemeralQueryAccountEnabled?: boolean;
|
|
46
132
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
47
133
|
}, import("@xyo-network/archivist-model").ArchivistModuleEventData>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArchivistWrapper.d.ts","sourceRoot":"","sources":["../../src/ArchivistWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAOV,eAAe,EACf,oBAAoB,EAEpB,2BAA2B,EAC5B,MAAM,8BAA8B,CAAA;AAYrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,EAA8B,aAAa,EAAE,MAAM,6BAA6B,CAAA;AACvF,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAG1E,qBAAa,gBAAgB,CAAC,cAAc,SAAS,eAA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CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAKlE,MAAM,CAAC,MAAM,EAAE,IAAI,EAAE;IAMrB,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAKlF,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;IAKxD,QAAQ,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAK/E,MAAM,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;IAKhE,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAKvF,IAAI,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;IAKzE,SAAS,CAAC,OAAO,CAAC,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAIvG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/archivist-wrapper",
|
|
3
|
-
"version": "3.6.0-rc.
|
|
3
|
+
"version": "3.6.0-rc.6",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,19 +29,20 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/hex": "^4.4.
|
|
33
|
-
"@xyo-network/account-model": "^3.6.0-rc.
|
|
34
|
-
"@xyo-network/archivist-model": "^3.6.0-rc.
|
|
35
|
-
"@xyo-network/module-model": "^3.6.0-rc.
|
|
36
|
-
"@xyo-network/module-wrapper": "^3.6.0-rc.
|
|
37
|
-
"@xyo-network/payload-model": "^3.6.0-rc.
|
|
32
|
+
"@xylabs/hex": "^4.4.15",
|
|
33
|
+
"@xyo-network/account-model": "^3.6.0-rc.6",
|
|
34
|
+
"@xyo-network/archivist-model": "^3.6.0-rc.6",
|
|
35
|
+
"@xyo-network/module-model": "^3.6.0-rc.6",
|
|
36
|
+
"@xyo-network/module-wrapper": "^3.6.0-rc.6",
|
|
37
|
+
"@xyo-network/payload-model": "^3.6.0-rc.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@xylabs/ts-scripts-yarn3": "^4.2.4",
|
|
41
41
|
"@xylabs/tsconfig": "^4.2.4",
|
|
42
|
-
"@xylabs/vitest-extended": "^4.4.
|
|
43
|
-
"@xyo-network/account": "^3.6.0-rc.
|
|
44
|
-
"@xyo-network/archivist-memory": "^3.6.0-rc.
|
|
42
|
+
"@xylabs/vitest-extended": "^4.4.15",
|
|
43
|
+
"@xyo-network/account": "^3.6.0-rc.6",
|
|
44
|
+
"@xyo-network/archivist-memory": "^3.6.0-rc.6",
|
|
45
|
+
"@xyo-network/payload-builder": "^3.6.0-rc.6",
|
|
45
46
|
"typescript": "^5.7.2",
|
|
46
47
|
"vitest": "^2.1.8"
|
|
47
48
|
},
|