@xyo-network/module-model 3.6.0-rc.5 → 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.
- package/dist/neutral/ModuleIdentifier.d.ts +1 -1
- package/dist/neutral/ModuleQueryResult.d.ts +4 -4
- package/dist/neutral/ModuleQueryResult.d.ts.map +1 -1
- package/dist/neutral/instance/ModuleFilter.d.ts +111 -15
- package/dist/neutral/instance/ModuleFilter.d.ts.map +1 -1
- package/dist/neutral/instance/ModuleResolver.d.ts +37 -5
- package/dist/neutral/instance/ModuleResolver.d.ts.map +1 -1
- package/dist/neutral/instance/asModuleInstance.d.ts +111 -15
- package/dist/neutral/instance/asModuleInstance.d.ts.map +1 -1
- package/dist/neutral/instance/attachable/asAttachableInstance.d.ts +111 -15
- package/dist/neutral/instance/attachable/asAttachableInstance.d.ts.map +1 -1
- package/dist/neutral/module/asModule.d.ts +111 -15
- package/dist/neutral/module/asModule.d.ts.map +1 -1
- package/dist/neutral/module/asModuleObject.d.ts +111 -15
- package/dist/neutral/module/asModuleObject.d.ts.map +1 -1
- package/dist/neutral/module/isModuleObject.d.ts +37 -5
- package/dist/neutral/module/isModuleObject.d.ts.map +1 -1
- package/dist/neutral/withModule.d.ts +74 -10
- package/dist/neutral/withModule.d.ts.map +1 -1
- package/package.json +15 -15
- package/src/ModuleQueryResult.ts +6 -4
|
@@ -32,7 +32,7 @@ export declare const DisallowedModuleIdentifierCharacters: {
|
|
|
32
32
|
'~': boolean;
|
|
33
33
|
};
|
|
34
34
|
export type ReservedModuleIdentifierCharacter = keyof typeof DisallowedModuleIdentifierCharacters;
|
|
35
|
-
export declare const ReservedModuleIdentifierCharacters: Set<":" | " " | "!" | "\"" | "#" | "
|
|
35
|
+
export declare const ReservedModuleIdentifierCharacters: Set<"$" | "_" | ":" | " " | "!" | "\"" | "#" | "%" | "&" | "'" | "(" | ")" | "*" | "," | "." | "/" | ";" | "<" | "=" | ">" | "?" | "@" | "[" | "]" | "^" | "{" | "|" | "}" | "~">;
|
|
36
36
|
export type ModuleName = Exclude<string, 'reserved-module-name-56487634'>;
|
|
37
37
|
export type ModuleIdentifier = ColonPair<ModuleIdentifierPart> | ColonPair<ColonPair<ModuleIdentifierPart>> | ColonPair<ColonPair<ColonPair<ModuleIdentifierPart>>> | ColonPair<ColonPair<ColonPair<ColonPair<ModuleIdentifierPart>>>> | ColonPair<ColonPair<ColonPair<ColonPair<ColonPair<ModuleIdentifierPart>>>>> | ColonPair<ColonPair<ColonPair<ColonPair<ColonPair<ColonPair<ModuleIdentifierPart>>>>>> | ColonPair<ColonPair<ColonPair<ColonPair<ColonPair<ColonPair<ColonPair<ModuleIdentifierPart>>>>>>>;
|
|
38
38
|
export type ColonPair<T extends string> = `${T}:${T}` | T;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
2
|
-
import type { ModuleError, Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import type { ModuleError, Payload, WithoutPrivateStorageMeta } from '@xyo-network/payload-model';
|
|
3
3
|
export type ModuleQueryResult<P extends Payload = Payload, E extends ModuleError = ModuleError, B extends BoundWitness = BoundWitness> = [
|
|
4
|
-
B
|
|
5
|
-
P[],
|
|
6
|
-
E[]
|
|
4
|
+
WithoutPrivateStorageMeta<B>,
|
|
5
|
+
WithoutPrivateStorageMeta<P>[],
|
|
6
|
+
WithoutPrivateStorageMeta<E>[]
|
|
7
7
|
];
|
|
8
8
|
//# sourceMappingURL=ModuleQueryResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleQueryResult.d.ts","sourceRoot":"","sources":["../../src/ModuleQueryResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ModuleQueryResult.d.ts","sourceRoot":"","sources":["../../src/ModuleQueryResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,KAAK,EACV,WAAW,EAAE,OAAO,EAAE,yBAAyB,EAChD,MAAM,4BAA4B,CAAA;AAEnC,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,EAAE,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,CAAC,SAAS,YAAY,GAAG,YAAY,IAAI;IACvI,yBAAyB,CAAC,CAAC,CAAC;IAC5B,yBAAyB,CAAC,CAAC,CAAC,EAAE;IAC9B,yBAAyB,CAAC,CAAC,CAAC,EAAE;CAC/B,CAAA"}
|
|
@@ -7,11 +7,43 @@ export declare const isAddressModuleFilter: (value: unknown) => value is Address
|
|
|
7
7
|
addToResolvers?: boolean;
|
|
8
8
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
9
9
|
allowNameResolution?: boolean;
|
|
10
|
-
config: import("@xyo-network/payload-model").
|
|
11
|
-
schema: "network.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
11
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
12
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
13
|
+
readonly archiving?: {
|
|
14
|
+
readonly archivists?: string[] | undefined;
|
|
15
|
+
readonly queries?: string[] | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly allowedQueries?: string[] | undefined;
|
|
18
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
19
|
+
readonly certify?: boolean | undefined;
|
|
20
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
21
|
+
readonly labels?: {
|
|
22
|
+
[x: string]: string | undefined;
|
|
23
|
+
} | undefined;
|
|
24
|
+
readonly paging?: {
|
|
25
|
+
[x: string]: {
|
|
26
|
+
size?: number | undefined;
|
|
27
|
+
};
|
|
28
|
+
} | undefined;
|
|
29
|
+
readonly retry?: {
|
|
30
|
+
backoff?: number | undefined;
|
|
31
|
+
interval?: number | undefined;
|
|
32
|
+
retries?: number | undefined;
|
|
33
|
+
} | undefined;
|
|
34
|
+
readonly security?: {
|
|
35
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
36
|
+
readonly allowed?: {
|
|
37
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
38
|
+
} | undefined;
|
|
39
|
+
readonly disallowed?: {
|
|
40
|
+
[x: string]: Lowercase<string>[];
|
|
41
|
+
} | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
readonly sign?: boolean | undefined;
|
|
44
|
+
readonly storeQueries?: boolean | undefined;
|
|
45
|
+
readonly timestamp?: boolean | undefined;
|
|
46
|
+
}>;
|
|
15
47
|
ephemeralQueryAccountEnabled?: boolean;
|
|
16
48
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
17
49
|
}, import("../index.ts").ModuleEventData<object>>>;
|
|
@@ -20,11 +52,43 @@ export declare const isNameModuleFilter: (value: unknown) => value is NameObject
|
|
|
20
52
|
addToResolvers?: boolean;
|
|
21
53
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
22
54
|
allowNameResolution?: boolean;
|
|
23
|
-
config: import("@xyo-network/payload-model").
|
|
24
|
-
schema: "network.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
55
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
56
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
57
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
58
|
+
readonly archiving?: {
|
|
59
|
+
readonly archivists?: string[] | undefined;
|
|
60
|
+
readonly queries?: string[] | undefined;
|
|
61
|
+
} | undefined;
|
|
62
|
+
readonly allowedQueries?: string[] | undefined;
|
|
63
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
64
|
+
readonly certify?: boolean | undefined;
|
|
65
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
66
|
+
readonly labels?: {
|
|
67
|
+
[x: string]: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
readonly paging?: {
|
|
70
|
+
[x: string]: {
|
|
71
|
+
size?: number | undefined;
|
|
72
|
+
};
|
|
73
|
+
} | undefined;
|
|
74
|
+
readonly retry?: {
|
|
75
|
+
backoff?: number | undefined;
|
|
76
|
+
interval?: number | undefined;
|
|
77
|
+
retries?: number | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
readonly security?: {
|
|
80
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
81
|
+
readonly allowed?: {
|
|
82
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
83
|
+
} | undefined;
|
|
84
|
+
readonly disallowed?: {
|
|
85
|
+
[x: string]: Lowercase<string>[];
|
|
86
|
+
} | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
readonly sign?: boolean | undefined;
|
|
89
|
+
readonly storeQueries?: boolean | undefined;
|
|
90
|
+
readonly timestamp?: boolean | undefined;
|
|
91
|
+
}>;
|
|
28
92
|
ephemeralQueryAccountEnabled?: boolean;
|
|
29
93
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
30
94
|
}, import("../index.ts").ModuleEventData<object>>>;
|
|
@@ -33,11 +97,43 @@ export declare const isQueryModuleFilter: (value: unknown) => value is QueryObje
|
|
|
33
97
|
addToResolvers?: boolean;
|
|
34
98
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
35
99
|
allowNameResolution?: boolean;
|
|
36
|
-
config: import("@xyo-network/payload-model").
|
|
37
|
-
schema: "network.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
100
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
101
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
102
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
103
|
+
readonly archiving?: {
|
|
104
|
+
readonly archivists?: string[] | undefined;
|
|
105
|
+
readonly queries?: string[] | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
readonly allowedQueries?: string[] | undefined;
|
|
108
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
109
|
+
readonly certify?: boolean | undefined;
|
|
110
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
111
|
+
readonly labels?: {
|
|
112
|
+
[x: string]: string | undefined;
|
|
113
|
+
} | undefined;
|
|
114
|
+
readonly paging?: {
|
|
115
|
+
[x: string]: {
|
|
116
|
+
size?: number | undefined;
|
|
117
|
+
};
|
|
118
|
+
} | undefined;
|
|
119
|
+
readonly retry?: {
|
|
120
|
+
backoff?: number | undefined;
|
|
121
|
+
interval?: number | undefined;
|
|
122
|
+
retries?: number | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
readonly security?: {
|
|
125
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
126
|
+
readonly allowed?: {
|
|
127
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
128
|
+
} | undefined;
|
|
129
|
+
readonly disallowed?: {
|
|
130
|
+
[x: string]: Lowercase<string>[];
|
|
131
|
+
} | undefined;
|
|
132
|
+
} | undefined;
|
|
133
|
+
readonly sign?: boolean | undefined;
|
|
134
|
+
readonly storeQueries?: boolean | undefined;
|
|
135
|
+
readonly timestamp?: boolean | undefined;
|
|
136
|
+
}>;
|
|
41
137
|
ephemeralQueryAccountEnabled?: boolean;
|
|
42
138
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
43
139
|
}, import("../index.ts").ModuleEventData<object>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleFilter.d.ts","sourceRoot":"","sources":["../../../src/instance/ModuleFilter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,mBAAmB,CAAA;AAO1B,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAEjH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"ModuleFilter.d.ts","sourceRoot":"","sources":["../../../src/instance/ModuleFilter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,mBAAmB,CAAA;AAO1B,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAEjH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAwC,CAAA;AAE1E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAqC,CAAA;AAEpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAsC,CAAA;AAEtE,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,eAAe,CAAC,CAAC,CAAC,CAAA;AAE3F,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,mBAAmB,CAAC,CAAC,CAAC,CAAA;AAEnG,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAE7F,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;AAE/F,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,YAAY,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -9,11 +9,43 @@ export declare const isModuleResolver: (value?: unknown) => value is ObjectResol
|
|
|
9
9
|
addToResolvers?: boolean;
|
|
10
10
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
11
11
|
allowNameResolution?: boolean;
|
|
12
|
-
config: import("@xyo-network/payload-model").
|
|
13
|
-
schema: "network.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
13
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
14
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
15
|
+
readonly archiving?: {
|
|
16
|
+
readonly archivists?: string[] | undefined;
|
|
17
|
+
readonly queries?: string[] | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
readonly allowedQueries?: string[] | undefined;
|
|
20
|
+
readonly archivist?: ModuleIdentifier | undefined;
|
|
21
|
+
readonly certify?: boolean | undefined;
|
|
22
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
23
|
+
readonly labels?: {
|
|
24
|
+
[x: string]: string | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
readonly paging?: {
|
|
27
|
+
[x: string]: {
|
|
28
|
+
size?: number | undefined;
|
|
29
|
+
};
|
|
30
|
+
} | undefined;
|
|
31
|
+
readonly retry?: {
|
|
32
|
+
backoff?: number | undefined;
|
|
33
|
+
interval?: number | undefined;
|
|
34
|
+
retries?: number | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly security?: {
|
|
37
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
38
|
+
readonly allowed?: {
|
|
39
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
40
|
+
} | undefined;
|
|
41
|
+
readonly disallowed?: {
|
|
42
|
+
[x: string]: Lowercase<string>[];
|
|
43
|
+
} | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
readonly sign?: boolean | undefined;
|
|
46
|
+
readonly storeQueries?: boolean | undefined;
|
|
47
|
+
readonly timestamp?: boolean | undefined;
|
|
48
|
+
}>;
|
|
17
49
|
ephemeralQueryAccountEnabled?: boolean;
|
|
18
50
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
19
51
|
}, import("../index.ts").ModuleEventData<object>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleResolver.d.ts","sourceRoot":"","sources":["../../../src/instance/ModuleResolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAGzD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"ModuleResolver.d.ts","sourceRoot":"","sources":["../../../src/instance/ModuleResolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAGzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAmC,CAAA;AAEhE,MAAM,WAAW,cAAc,CAAC,OAAO,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,cAAc,CAAC,OAAO,CAAC;CAAG;AAEnH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;IAC7B,iBAAiB,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,UAAU,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;CACxG;AAED,MAAM,WAAW,sBAAsB,CAAC,OAAO,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,cAAc,CAAC,OAAO,CAAC,EAAE,kBAAkB;IAC1I,WAAW,EAAE,CAAC,QAAQ,EAAE,sBAAsB,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;IAChE,cAAc,EAAE,CAAC,QAAQ,EAAE,sBAAsB,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;CACpE"}
|
|
@@ -4,11 +4,43 @@ export declare const asModuleInstance: {
|
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("@xyo-network/payload-model").
|
|
8
|
-
schema: "network.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
8
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
9
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
10
|
+
readonly archiving?: {
|
|
11
|
+
readonly archivists?: string[] | undefined;
|
|
12
|
+
readonly queries?: string[] | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
readonly allowedQueries?: string[] | undefined;
|
|
15
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
16
|
+
readonly certify?: boolean | undefined;
|
|
17
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
18
|
+
readonly labels?: {
|
|
19
|
+
[x: string]: string | undefined;
|
|
20
|
+
} | undefined;
|
|
21
|
+
readonly paging?: {
|
|
22
|
+
[x: string]: {
|
|
23
|
+
size?: number | undefined;
|
|
24
|
+
};
|
|
25
|
+
} | undefined;
|
|
26
|
+
readonly retry?: {
|
|
27
|
+
backoff?: number | undefined;
|
|
28
|
+
interval?: number | undefined;
|
|
29
|
+
retries?: number | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: {
|
|
34
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly disallowed?: {
|
|
37
|
+
[x: string]: Lowercase<string>[];
|
|
38
|
+
} | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
readonly sign?: boolean | undefined;
|
|
41
|
+
readonly storeQueries?: boolean | undefined;
|
|
42
|
+
readonly timestamp?: boolean | undefined;
|
|
43
|
+
}>;
|
|
12
44
|
ephemeralQueryAccountEnabled?: boolean;
|
|
13
45
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
14
46
|
}, import("../index.ts").ModuleEventData<object>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
@@ -17,11 +49,43 @@ export declare const asModuleInstance: {
|
|
|
17
49
|
addToResolvers?: boolean;
|
|
18
50
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
19
51
|
allowNameResolution?: boolean;
|
|
20
|
-
config: import("@xyo-network/payload-model").
|
|
21
|
-
schema: "network.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
52
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
53
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
54
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
55
|
+
readonly archiving?: {
|
|
56
|
+
readonly archivists?: string[] | undefined;
|
|
57
|
+
readonly queries?: string[] | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly allowedQueries?: string[] | undefined;
|
|
60
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
61
|
+
readonly certify?: boolean | undefined;
|
|
62
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
63
|
+
readonly labels?: {
|
|
64
|
+
[x: string]: string | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
readonly paging?: {
|
|
67
|
+
[x: string]: {
|
|
68
|
+
size?: number | undefined;
|
|
69
|
+
};
|
|
70
|
+
} | undefined;
|
|
71
|
+
readonly retry?: {
|
|
72
|
+
backoff?: number | undefined;
|
|
73
|
+
interval?: number | undefined;
|
|
74
|
+
retries?: number | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
readonly security?: {
|
|
77
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
78
|
+
readonly allowed?: {
|
|
79
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
80
|
+
} | undefined;
|
|
81
|
+
readonly disallowed?: {
|
|
82
|
+
[x: string]: Lowercase<string>[];
|
|
83
|
+
} | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
readonly sign?: boolean | undefined;
|
|
86
|
+
readonly storeQueries?: boolean | undefined;
|
|
87
|
+
readonly timestamp?: boolean | undefined;
|
|
88
|
+
}>;
|
|
25
89
|
ephemeralQueryAccountEnabled?: boolean;
|
|
26
90
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
27
91
|
}, import("../index.ts").ModuleEventData<object>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./Instance.ts").ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -29,11 +93,43 @@ export declare const asModuleInstance: {
|
|
|
29
93
|
addToResolvers?: boolean;
|
|
30
94
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
31
95
|
allowNameResolution?: boolean;
|
|
32
|
-
config: import("@xyo-network/payload-model").
|
|
33
|
-
schema: "network.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
96
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
97
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
98
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
99
|
+
readonly archiving?: {
|
|
100
|
+
readonly archivists?: string[] | undefined;
|
|
101
|
+
readonly queries?: string[] | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
readonly allowedQueries?: string[] | undefined;
|
|
104
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
105
|
+
readonly certify?: boolean | undefined;
|
|
106
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
107
|
+
readonly labels?: {
|
|
108
|
+
[x: string]: string | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
readonly paging?: {
|
|
111
|
+
[x: string]: {
|
|
112
|
+
size?: number | undefined;
|
|
113
|
+
};
|
|
114
|
+
} | undefined;
|
|
115
|
+
readonly retry?: {
|
|
116
|
+
backoff?: number | undefined;
|
|
117
|
+
interval?: number | undefined;
|
|
118
|
+
retries?: number | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
readonly security?: {
|
|
121
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
122
|
+
readonly allowed?: {
|
|
123
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
124
|
+
} | undefined;
|
|
125
|
+
readonly disallowed?: {
|
|
126
|
+
[x: string]: Lowercase<string>[];
|
|
127
|
+
} | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
readonly sign?: boolean | undefined;
|
|
130
|
+
readonly storeQueries?: boolean | undefined;
|
|
131
|
+
readonly timestamp?: boolean | undefined;
|
|
132
|
+
}>;
|
|
37
133
|
ephemeralQueryAccountEnabled?: boolean;
|
|
38
134
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
39
135
|
}, import("../index.ts").ModuleEventData<object>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asModuleInstance.d.ts","sourceRoot":"","sources":["../../../src/instance/asModuleInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"asModuleInstance.d.ts","sourceRoot":"","sources":["../../../src/instance/asModuleInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEACyC,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAAgG,gBAAoB;CADxR,CAAA"}
|
|
@@ -4,11 +4,43 @@ export declare const asAttachableModuleInstance: {
|
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("@xyo-network/payload-model").
|
|
8
|
-
schema: "network.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
8
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
9
|
+
readonly name?: import("../../ModuleIdentifier.ts").ModuleName | undefined;
|
|
10
|
+
readonly archiving?: {
|
|
11
|
+
readonly archivists?: string[] | undefined;
|
|
12
|
+
readonly queries?: string[] | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
readonly allowedQueries?: string[] | undefined;
|
|
15
|
+
readonly archivist?: import("../../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
16
|
+
readonly certify?: boolean | undefined;
|
|
17
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
18
|
+
readonly labels?: {
|
|
19
|
+
[x: string]: string | undefined;
|
|
20
|
+
} | undefined;
|
|
21
|
+
readonly paging?: {
|
|
22
|
+
[x: string]: {
|
|
23
|
+
size?: number | undefined;
|
|
24
|
+
};
|
|
25
|
+
} | undefined;
|
|
26
|
+
readonly retry?: {
|
|
27
|
+
backoff?: number | undefined;
|
|
28
|
+
interval?: number | undefined;
|
|
29
|
+
retries?: number | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: {
|
|
34
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly disallowed?: {
|
|
37
|
+
[x: string]: Lowercase<string>[];
|
|
38
|
+
} | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
readonly sign?: boolean | undefined;
|
|
41
|
+
readonly storeQueries?: boolean | undefined;
|
|
42
|
+
readonly timestamp?: boolean | undefined;
|
|
43
|
+
}>;
|
|
12
44
|
ephemeralQueryAccountEnabled?: boolean;
|
|
13
45
|
moduleIdentifierTransformers?: import("../../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
14
46
|
}, import("../../index.ts").ModuleEventData<object>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
@@ -17,11 +49,43 @@ export declare const asAttachableModuleInstance: {
|
|
|
17
49
|
addToResolvers?: boolean;
|
|
18
50
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
19
51
|
allowNameResolution?: boolean;
|
|
20
|
-
config: import("@xyo-network/payload-model").
|
|
21
|
-
schema: "network.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
52
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
53
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
54
|
+
readonly name?: import("../../ModuleIdentifier.ts").ModuleName | undefined;
|
|
55
|
+
readonly archiving?: {
|
|
56
|
+
readonly archivists?: string[] | undefined;
|
|
57
|
+
readonly queries?: string[] | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly allowedQueries?: string[] | undefined;
|
|
60
|
+
readonly archivist?: import("../../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
61
|
+
readonly certify?: boolean | undefined;
|
|
62
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
63
|
+
readonly labels?: {
|
|
64
|
+
[x: string]: string | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
readonly paging?: {
|
|
67
|
+
[x: string]: {
|
|
68
|
+
size?: number | undefined;
|
|
69
|
+
};
|
|
70
|
+
} | undefined;
|
|
71
|
+
readonly retry?: {
|
|
72
|
+
backoff?: number | undefined;
|
|
73
|
+
interval?: number | undefined;
|
|
74
|
+
retries?: number | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
readonly security?: {
|
|
77
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
78
|
+
readonly allowed?: {
|
|
79
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
80
|
+
} | undefined;
|
|
81
|
+
readonly disallowed?: {
|
|
82
|
+
[x: string]: Lowercase<string>[];
|
|
83
|
+
} | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
readonly sign?: boolean | undefined;
|
|
86
|
+
readonly storeQueries?: boolean | undefined;
|
|
87
|
+
readonly timestamp?: boolean | undefined;
|
|
88
|
+
}>;
|
|
25
89
|
ephemeralQueryAccountEnabled?: boolean;
|
|
26
90
|
moduleIdentifierTransformers?: import("../../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
27
91
|
}, import("../../index.ts").ModuleEventData<object>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance.ts").AttachableModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -29,11 +93,43 @@ export declare const asAttachableModuleInstance: {
|
|
|
29
93
|
addToResolvers?: boolean;
|
|
30
94
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
31
95
|
allowNameResolution?: boolean;
|
|
32
|
-
config: import("@xyo-network/payload-model").
|
|
33
|
-
schema: "network.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
96
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
97
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
98
|
+
readonly name?: import("../../ModuleIdentifier.ts").ModuleName | undefined;
|
|
99
|
+
readonly archiving?: {
|
|
100
|
+
readonly archivists?: string[] | undefined;
|
|
101
|
+
readonly queries?: string[] | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
readonly allowedQueries?: string[] | undefined;
|
|
104
|
+
readonly archivist?: import("../../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
105
|
+
readonly certify?: boolean | undefined;
|
|
106
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
107
|
+
readonly labels?: {
|
|
108
|
+
[x: string]: string | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
readonly paging?: {
|
|
111
|
+
[x: string]: {
|
|
112
|
+
size?: number | undefined;
|
|
113
|
+
};
|
|
114
|
+
} | undefined;
|
|
115
|
+
readonly retry?: {
|
|
116
|
+
backoff?: number | undefined;
|
|
117
|
+
interval?: number | undefined;
|
|
118
|
+
retries?: number | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
readonly security?: {
|
|
121
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
122
|
+
readonly allowed?: {
|
|
123
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
124
|
+
} | undefined;
|
|
125
|
+
readonly disallowed?: {
|
|
126
|
+
[x: string]: Lowercase<string>[];
|
|
127
|
+
} | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
readonly sign?: boolean | undefined;
|
|
130
|
+
readonly storeQueries?: boolean | undefined;
|
|
131
|
+
readonly timestamp?: boolean | undefined;
|
|
132
|
+
}>;
|
|
37
133
|
ephemeralQueryAccountEnabled?: boolean;
|
|
38
134
|
moduleIdentifierTransformers?: import("../../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
39
135
|
}, import("../../index.ts").ModuleEventData<object>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../../src/instance/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../../src/instance/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEACH,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EAAgG,gBAAoB;CADlO,CAAA"}
|
|
@@ -4,11 +4,43 @@ export declare const asModule: {
|
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("@xyo-network/payload-model").
|
|
8
|
-
schema: "network.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
8
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
9
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
10
|
+
readonly archiving?: {
|
|
11
|
+
readonly archivists?: string[] | undefined;
|
|
12
|
+
readonly queries?: string[] | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
readonly allowedQueries?: string[] | undefined;
|
|
15
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
16
|
+
readonly certify?: boolean | undefined;
|
|
17
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
18
|
+
readonly labels?: {
|
|
19
|
+
[x: string]: string | undefined;
|
|
20
|
+
} | undefined;
|
|
21
|
+
readonly paging?: {
|
|
22
|
+
[x: string]: {
|
|
23
|
+
size?: number | undefined;
|
|
24
|
+
};
|
|
25
|
+
} | undefined;
|
|
26
|
+
readonly retry?: {
|
|
27
|
+
backoff?: number | undefined;
|
|
28
|
+
interval?: number | undefined;
|
|
29
|
+
retries?: number | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: {
|
|
34
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly disallowed?: {
|
|
37
|
+
[x: string]: Lowercase<string>[];
|
|
38
|
+
} | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
readonly sign?: boolean | undefined;
|
|
41
|
+
readonly storeQueries?: boolean | undefined;
|
|
42
|
+
readonly timestamp?: boolean | undefined;
|
|
43
|
+
}>;
|
|
12
44
|
ephemeralQueryAccountEnabled?: boolean;
|
|
13
45
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
14
46
|
}, import("../index.ts").ModuleEventData<object>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
@@ -17,11 +49,43 @@ export declare const asModule: {
|
|
|
17
49
|
addToResolvers?: boolean;
|
|
18
50
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
19
51
|
allowNameResolution?: boolean;
|
|
20
|
-
config: import("@xyo-network/payload-model").
|
|
21
|
-
schema: "network.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
52
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
53
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
54
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
55
|
+
readonly archiving?: {
|
|
56
|
+
readonly archivists?: string[] | undefined;
|
|
57
|
+
readonly queries?: string[] | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly allowedQueries?: string[] | undefined;
|
|
60
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
61
|
+
readonly certify?: boolean | undefined;
|
|
62
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
63
|
+
readonly labels?: {
|
|
64
|
+
[x: string]: string | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
readonly paging?: {
|
|
67
|
+
[x: string]: {
|
|
68
|
+
size?: number | undefined;
|
|
69
|
+
};
|
|
70
|
+
} | undefined;
|
|
71
|
+
readonly retry?: {
|
|
72
|
+
backoff?: number | undefined;
|
|
73
|
+
interval?: number | undefined;
|
|
74
|
+
retries?: number | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
readonly security?: {
|
|
77
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
78
|
+
readonly allowed?: {
|
|
79
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
80
|
+
} | undefined;
|
|
81
|
+
readonly disallowed?: {
|
|
82
|
+
[x: string]: Lowercase<string>[];
|
|
83
|
+
} | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
readonly sign?: boolean | undefined;
|
|
86
|
+
readonly storeQueries?: boolean | undefined;
|
|
87
|
+
readonly timestamp?: boolean | undefined;
|
|
88
|
+
}>;
|
|
25
89
|
ephemeralQueryAccountEnabled?: boolean;
|
|
26
90
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
27
91
|
}, import("../index.ts").ModuleEventData<object>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./Module.ts").Module<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -29,11 +93,43 @@ export declare const asModule: {
|
|
|
29
93
|
addToResolvers?: boolean;
|
|
30
94
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
31
95
|
allowNameResolution?: boolean;
|
|
32
|
-
config: import("@xyo-network/payload-model").
|
|
33
|
-
schema: "network.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
96
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
97
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
98
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
99
|
+
readonly archiving?: {
|
|
100
|
+
readonly archivists?: string[] | undefined;
|
|
101
|
+
readonly queries?: string[] | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
readonly allowedQueries?: string[] | undefined;
|
|
104
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
105
|
+
readonly certify?: boolean | undefined;
|
|
106
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
107
|
+
readonly labels?: {
|
|
108
|
+
[x: string]: string | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
readonly paging?: {
|
|
111
|
+
[x: string]: {
|
|
112
|
+
size?: number | undefined;
|
|
113
|
+
};
|
|
114
|
+
} | undefined;
|
|
115
|
+
readonly retry?: {
|
|
116
|
+
backoff?: number | undefined;
|
|
117
|
+
interval?: number | undefined;
|
|
118
|
+
retries?: number | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
readonly security?: {
|
|
121
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
122
|
+
readonly allowed?: {
|
|
123
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
124
|
+
} | undefined;
|
|
125
|
+
readonly disallowed?: {
|
|
126
|
+
[x: string]: Lowercase<string>[];
|
|
127
|
+
} | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
readonly sign?: boolean | undefined;
|
|
130
|
+
readonly storeQueries?: boolean | undefined;
|
|
131
|
+
readonly timestamp?: boolean | undefined;
|
|
132
|
+
}>;
|
|
37
133
|
ephemeralQueryAccountEnabled?: boolean;
|
|
38
134
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
39
135
|
}, import("../index.ts").ModuleEventData<object>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asModule.d.ts","sourceRoot":"","sources":["../../../src/module/asModule.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"asModule.d.ts","sourceRoot":"","sources":["../../../src/module/asModule.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEACiF,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAAgG,gBAAoB;CADxU,CAAA"}
|
|
@@ -4,11 +4,43 @@ export declare const asModuleObject: {
|
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("@xyo-network/payload-model").
|
|
8
|
-
schema: "network.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
8
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
9
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
10
|
+
readonly archiving?: {
|
|
11
|
+
readonly archivists?: string[] | undefined;
|
|
12
|
+
readonly queries?: string[] | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
readonly allowedQueries?: string[] | undefined;
|
|
15
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
16
|
+
readonly certify?: boolean | undefined;
|
|
17
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
18
|
+
readonly labels?: {
|
|
19
|
+
[x: string]: string | undefined;
|
|
20
|
+
} | undefined;
|
|
21
|
+
readonly paging?: {
|
|
22
|
+
[x: string]: {
|
|
23
|
+
size?: number | undefined;
|
|
24
|
+
};
|
|
25
|
+
} | undefined;
|
|
26
|
+
readonly retry?: {
|
|
27
|
+
backoff?: number | undefined;
|
|
28
|
+
interval?: number | undefined;
|
|
29
|
+
retries?: number | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: {
|
|
34
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly disallowed?: {
|
|
37
|
+
[x: string]: Lowercase<string>[];
|
|
38
|
+
} | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
readonly sign?: boolean | undefined;
|
|
41
|
+
readonly storeQueries?: boolean | undefined;
|
|
42
|
+
readonly timestamp?: boolean | undefined;
|
|
43
|
+
}>;
|
|
12
44
|
ephemeralQueryAccountEnabled?: boolean;
|
|
13
45
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
14
46
|
}, import("../index.ts").ModuleEventData<object>>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
@@ -17,11 +49,43 @@ export declare const asModuleObject: {
|
|
|
17
49
|
addToResolvers?: boolean;
|
|
18
50
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
19
51
|
allowNameResolution?: boolean;
|
|
20
|
-
config: import("@xyo-network/payload-model").
|
|
21
|
-
schema: "network.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
52
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
53
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
54
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
55
|
+
readonly archiving?: {
|
|
56
|
+
readonly archivists?: string[] | undefined;
|
|
57
|
+
readonly queries?: string[] | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly allowedQueries?: string[] | undefined;
|
|
60
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
61
|
+
readonly certify?: boolean | undefined;
|
|
62
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
63
|
+
readonly labels?: {
|
|
64
|
+
[x: string]: string | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
readonly paging?: {
|
|
67
|
+
[x: string]: {
|
|
68
|
+
size?: number | undefined;
|
|
69
|
+
};
|
|
70
|
+
} | undefined;
|
|
71
|
+
readonly retry?: {
|
|
72
|
+
backoff?: number | undefined;
|
|
73
|
+
interval?: number | undefined;
|
|
74
|
+
retries?: number | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
readonly security?: {
|
|
77
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
78
|
+
readonly allowed?: {
|
|
79
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
80
|
+
} | undefined;
|
|
81
|
+
readonly disallowed?: {
|
|
82
|
+
[x: string]: Lowercase<string>[];
|
|
83
|
+
} | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
readonly sign?: boolean | undefined;
|
|
86
|
+
readonly storeQueries?: boolean | undefined;
|
|
87
|
+
readonly timestamp?: boolean | undefined;
|
|
88
|
+
}>;
|
|
25
89
|
ephemeralQueryAccountEnabled?: boolean;
|
|
26
90
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
27
91
|
}, import("../index.ts").ModuleEventData<object>>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./Module.ts").Module<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -29,11 +93,43 @@ export declare const asModuleObject: {
|
|
|
29
93
|
addToResolvers?: boolean;
|
|
30
94
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
31
95
|
allowNameResolution?: boolean;
|
|
32
|
-
config: import("@xyo-network/payload-model").
|
|
33
|
-
schema: "network.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
96
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
97
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
98
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
99
|
+
readonly archiving?: {
|
|
100
|
+
readonly archivists?: string[] | undefined;
|
|
101
|
+
readonly queries?: string[] | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
readonly allowedQueries?: string[] | undefined;
|
|
104
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
105
|
+
readonly certify?: boolean | undefined;
|
|
106
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
107
|
+
readonly labels?: {
|
|
108
|
+
[x: string]: string | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
readonly paging?: {
|
|
111
|
+
[x: string]: {
|
|
112
|
+
size?: number | undefined;
|
|
113
|
+
};
|
|
114
|
+
} | undefined;
|
|
115
|
+
readonly retry?: {
|
|
116
|
+
backoff?: number | undefined;
|
|
117
|
+
interval?: number | undefined;
|
|
118
|
+
retries?: number | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
readonly security?: {
|
|
121
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
122
|
+
readonly allowed?: {
|
|
123
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
124
|
+
} | undefined;
|
|
125
|
+
readonly disallowed?: {
|
|
126
|
+
[x: string]: Lowercase<string>[];
|
|
127
|
+
} | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
readonly sign?: boolean | undefined;
|
|
130
|
+
readonly storeQueries?: boolean | undefined;
|
|
131
|
+
readonly timestamp?: boolean | undefined;
|
|
132
|
+
}>;
|
|
37
133
|
ephemeralQueryAccountEnabled?: boolean;
|
|
38
134
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
39
135
|
}, import("../index.ts").ModuleEventData<object>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/asModuleObject.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"asModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/asModuleObject.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEACmD,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAAgG,gBAAoB;CADpS,CAAA"}
|
|
@@ -6,11 +6,43 @@ export declare const isModuleObject: import("@xylabs/object").TypeCheck<Module<i
|
|
|
6
6
|
addToResolvers?: boolean;
|
|
7
7
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
8
8
|
allowNameResolution?: boolean;
|
|
9
|
-
config: import("@xyo-network/payload-model").
|
|
10
|
-
schema: "network.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
10
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
11
|
+
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
12
|
+
readonly archiving?: {
|
|
13
|
+
readonly archivists?: string[] | undefined;
|
|
14
|
+
readonly queries?: string[] | undefined;
|
|
15
|
+
} | undefined;
|
|
16
|
+
readonly allowedQueries?: string[] | undefined;
|
|
17
|
+
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
18
|
+
readonly certify?: boolean | undefined;
|
|
19
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
20
|
+
readonly labels?: {
|
|
21
|
+
[x: string]: string | undefined;
|
|
22
|
+
} | undefined;
|
|
23
|
+
readonly paging?: {
|
|
24
|
+
[x: string]: {
|
|
25
|
+
size?: number | undefined;
|
|
26
|
+
};
|
|
27
|
+
} | undefined;
|
|
28
|
+
readonly retry?: {
|
|
29
|
+
backoff?: number | undefined;
|
|
30
|
+
interval?: number | undefined;
|
|
31
|
+
retries?: number | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly security?: {
|
|
34
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
35
|
+
readonly allowed?: {
|
|
36
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
37
|
+
} | undefined;
|
|
38
|
+
readonly disallowed?: {
|
|
39
|
+
[x: string]: Lowercase<string>[];
|
|
40
|
+
} | undefined;
|
|
41
|
+
} | undefined;
|
|
42
|
+
readonly sign?: boolean | undefined;
|
|
43
|
+
readonly storeQueries?: boolean | undefined;
|
|
44
|
+
readonly timestamp?: boolean | undefined;
|
|
45
|
+
}>;
|
|
14
46
|
ephemeralQueryAccountEnabled?: boolean;
|
|
15
47
|
moduleIdentifierTransformers?: import("../ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
16
48
|
}, import("../index.ts").ModuleEventData<object>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAErD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,eAAO,MAAM,mBAAmB,EAAE,eAIjC,CAAA;AAID,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAErD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,eAAO,MAAM,mBAAmB,EAAE,eAIjC,CAAA;AAID,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAsC,CAAA"}
|
|
@@ -7,11 +7,43 @@ export declare const withModule: <R>(mod: any, closure: (mod: import("./module/M
|
|
|
7
7
|
addToResolvers?: boolean;
|
|
8
8
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
9
9
|
allowNameResolution?: boolean;
|
|
10
|
-
config: import("@xyo-network/payload-model").
|
|
11
|
-
schema: "network.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
11
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
12
|
+
readonly name?: import("./ModuleIdentifier.ts").ModuleName | undefined;
|
|
13
|
+
readonly archiving?: {
|
|
14
|
+
readonly archivists?: string[] | undefined;
|
|
15
|
+
readonly queries?: string[] | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly allowedQueries?: string[] | undefined;
|
|
18
|
+
readonly archivist?: import("./ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
19
|
+
readonly certify?: boolean | undefined;
|
|
20
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
21
|
+
readonly labels?: {
|
|
22
|
+
[x: string]: string | undefined;
|
|
23
|
+
} | undefined;
|
|
24
|
+
readonly paging?: {
|
|
25
|
+
[x: string]: {
|
|
26
|
+
size?: number | undefined;
|
|
27
|
+
};
|
|
28
|
+
} | undefined;
|
|
29
|
+
readonly retry?: {
|
|
30
|
+
backoff?: number | undefined;
|
|
31
|
+
interval?: number | undefined;
|
|
32
|
+
retries?: number | undefined;
|
|
33
|
+
} | undefined;
|
|
34
|
+
readonly security?: {
|
|
35
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
36
|
+
readonly allowed?: {
|
|
37
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
38
|
+
} | undefined;
|
|
39
|
+
readonly disallowed?: {
|
|
40
|
+
[x: string]: Lowercase<string>[];
|
|
41
|
+
} | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
readonly sign?: boolean | undefined;
|
|
44
|
+
readonly storeQueries?: boolean | undefined;
|
|
45
|
+
readonly timestamp?: boolean | undefined;
|
|
46
|
+
}>;
|
|
15
47
|
ephemeralQueryAccountEnabled?: boolean;
|
|
16
48
|
moduleIdentifierTransformers?: import("./ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
17
49
|
}, import("./index.ts").ModuleEventData<object>>) => R) => R | undefined;
|
|
@@ -20,11 +52,43 @@ export declare const withModuleInstance: <R>(mod: any, closure: (mod: import("./
|
|
|
20
52
|
addToResolvers?: boolean;
|
|
21
53
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
22
54
|
allowNameResolution?: boolean;
|
|
23
|
-
config: import("@xyo-network/payload-model").
|
|
24
|
-
schema: "network.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
55
|
+
config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
56
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
57
|
+
readonly name?: import("./ModuleIdentifier.ts").ModuleName | undefined;
|
|
58
|
+
readonly archiving?: {
|
|
59
|
+
readonly archivists?: string[] | undefined;
|
|
60
|
+
readonly queries?: string[] | undefined;
|
|
61
|
+
} | undefined;
|
|
62
|
+
readonly allowedQueries?: string[] | undefined;
|
|
63
|
+
readonly archivist?: import("./ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
64
|
+
readonly certify?: boolean | undefined;
|
|
65
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
66
|
+
readonly labels?: {
|
|
67
|
+
[x: string]: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
readonly paging?: {
|
|
70
|
+
[x: string]: {
|
|
71
|
+
size?: number | undefined;
|
|
72
|
+
};
|
|
73
|
+
} | undefined;
|
|
74
|
+
readonly retry?: {
|
|
75
|
+
backoff?: number | undefined;
|
|
76
|
+
interval?: number | undefined;
|
|
77
|
+
retries?: number | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
readonly security?: {
|
|
80
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
81
|
+
readonly allowed?: {
|
|
82
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
83
|
+
} | undefined;
|
|
84
|
+
readonly disallowed?: {
|
|
85
|
+
[x: string]: Lowercase<string>[];
|
|
86
|
+
} | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
readonly sign?: boolean | undefined;
|
|
89
|
+
readonly storeQueries?: boolean | undefined;
|
|
90
|
+
readonly timestamp?: boolean | undefined;
|
|
91
|
+
}>;
|
|
28
92
|
ephemeralQueryAccountEnabled?: boolean;
|
|
29
93
|
moduleIdentifierTransformers?: import("./ModuleIdentifierTransformer.ts").ModuleIdentifierTransformer[];
|
|
30
94
|
}, import("./index.ts").ModuleEventData<object>>) => R) => R | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAK/C,eAAO,MAAM,WAAW;aACb,CAAC,SAAS,MAAM,aAAa,SAAS,CAAC,CAAC,CAAC,MACxC,CAAC,OAEF,GAAG,WAEC,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,KACrB,CAAC,GAAG,SAAS;CAInB,CAAA;AAED,eAAO,MAAM,UAAU,GAXX,CAAC,OAEF,GAAG
|
|
1
|
+
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAK/C,eAAO,MAAM,WAAW;aACb,CAAC,SAAS,MAAM,aAAa,SAAS,CAAC,CAAC,CAAC,MACxC,CAAC,OAEF,GAAG,WAEC,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,KACrB,CAAC,GAAG,SAAS;CAInB,CAAA;AAED,eAAO,MAAM,UAAU,GAXX,CAAC,OAEF,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEASwC,CAAA;AACtD,eAAO,MAAM,kBAAkB,GAZnB,CAAC,OAEF,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAUwD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/module-model",
|
|
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,24 +29,24 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/assert": "^4.4.
|
|
33
|
-
"@xylabs/exists": "^4.4.
|
|
34
|
-
"@xylabs/hex": "^4.4.
|
|
35
|
-
"@xylabs/logger": "^4.4.
|
|
36
|
-
"@xylabs/object": "^4.4.
|
|
37
|
-
"@xylabs/promise": "^4.4.
|
|
38
|
-
"@xylabs/retry": "^4.4.
|
|
39
|
-
"@xylabs/typeof": "^4.4.
|
|
40
|
-
"@xyo-network/account-model": "^3.6.0-rc.
|
|
41
|
-
"@xyo-network/boundwitness-model": "^3.6.0-rc.
|
|
42
|
-
"@xyo-network/manifest-model": "^3.6.0-rc.
|
|
43
|
-
"@xyo-network/module-events": "^3.6.0-rc.
|
|
44
|
-
"@xyo-network/payload-model": "^3.6.0-rc.
|
|
32
|
+
"@xylabs/assert": "^4.4.15",
|
|
33
|
+
"@xylabs/exists": "^4.4.15",
|
|
34
|
+
"@xylabs/hex": "^4.4.15",
|
|
35
|
+
"@xylabs/logger": "^4.4.15",
|
|
36
|
+
"@xylabs/object": "^4.4.15",
|
|
37
|
+
"@xylabs/promise": "^4.4.15",
|
|
38
|
+
"@xylabs/retry": "^4.4.15",
|
|
39
|
+
"@xylabs/typeof": "^4.4.15",
|
|
40
|
+
"@xyo-network/account-model": "^3.6.0-rc.6",
|
|
41
|
+
"@xyo-network/boundwitness-model": "^3.6.0-rc.6",
|
|
42
|
+
"@xyo-network/manifest-model": "^3.6.0-rc.6",
|
|
43
|
+
"@xyo-network/module-events": "^3.6.0-rc.6",
|
|
44
|
+
"@xyo-network/payload-model": "^3.6.0-rc.6"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@xylabs/ts-scripts-yarn3": "^4.2.4",
|
|
48
48
|
"@xylabs/tsconfig": "^4.2.4",
|
|
49
|
-
"@xylabs/vitest-extended": "^4.4.
|
|
49
|
+
"@xylabs/vitest-extended": "^4.4.15",
|
|
50
50
|
"typescript": "^5.7.2",
|
|
51
51
|
"vitest": "^2.1.8"
|
|
52
52
|
},
|
package/src/ModuleQueryResult.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { BoundWitness } from '@xyo-network/boundwitness-model'
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
ModuleError, Payload, WithoutPrivateStorageMeta,
|
|
4
|
+
} from '@xyo-network/payload-model'
|
|
3
5
|
|
|
4
6
|
export type ModuleQueryResult<P extends Payload = Payload, E extends ModuleError = ModuleError, B extends BoundWitness = BoundWitness> = [
|
|
5
|
-
B
|
|
6
|
-
P[],
|
|
7
|
-
E[],
|
|
7
|
+
WithoutPrivateStorageMeta<B>,
|
|
8
|
+
WithoutPrivateStorageMeta<P>[],
|
|
9
|
+
WithoutPrivateStorageMeta<E>[],
|
|
8
10
|
]
|