@xyo-network/module-resolver 3.9.2 → 3.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.d.ts +3 -75
- package/package.json +4 -4
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
2
|
-
import { ObjectResolverPriority, ModuleInstance, ModuleResolverInstance,
|
|
3
|
-
import * as _xylabs_logger from '@xylabs/logger';
|
|
4
|
-
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
2
|
+
import { ObjectResolverPriority, ModuleInstance, ModuleResolverInstance, ModuleFilterOptions, ModuleIdentifier, ObjectFilterOptions, CacheConfig, ModuleIdentifierTransformer, ModuleRepository, Module, ModuleResolver } from '@xyo-network/module-model';
|
|
5
3
|
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
6
4
|
import * as _xylabs_object from '@xylabs/object';
|
|
7
5
|
import { BaseParams, Base } from '@xylabs/object';
|
|
@@ -22,42 +20,7 @@ declare abstract class AbstractModuleResolver<TParams extends ModuleResolverPara
|
|
|
22
20
|
addToResolvers?: boolean;
|
|
23
21
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
24
22
|
allowNameResolution?: boolean;
|
|
25
|
-
config:
|
|
26
|
-
schema: _xyo_network_payload_model.Schema;
|
|
27
|
-
readonly archiving?: {
|
|
28
|
-
readonly archivists?: string[] | undefined;
|
|
29
|
-
readonly queries?: string[] | undefined;
|
|
30
|
-
} | undefined;
|
|
31
|
-
readonly allowedQueries?: string[] | undefined;
|
|
32
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
33
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
34
|
-
readonly labels?: {
|
|
35
|
-
[x: string]: string | undefined;
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
38
|
-
readonly paging?: {
|
|
39
|
-
[x: string]: {
|
|
40
|
-
size?: number | undefined;
|
|
41
|
-
};
|
|
42
|
-
} | undefined;
|
|
43
|
-
readonly retry?: {
|
|
44
|
-
backoff?: number | undefined;
|
|
45
|
-
interval?: number | undefined;
|
|
46
|
-
retries?: number | undefined;
|
|
47
|
-
} | undefined;
|
|
48
|
-
readonly security?: {
|
|
49
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
50
|
-
readonly allowed?: {
|
|
51
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
52
|
-
} | undefined;
|
|
53
|
-
readonly disallowed?: {
|
|
54
|
-
[x: string]: Lowercase<string>[];
|
|
55
|
-
} | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
readonly sign?: boolean | undefined;
|
|
58
|
-
readonly storeQueries?: boolean | undefined;
|
|
59
|
-
readonly timestamp?: boolean | undefined;
|
|
60
|
-
}>;
|
|
23
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
|
|
61
24
|
ephemeralQueryAccountEnabled?: boolean;
|
|
62
25
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
63
26
|
}, _xyo_network_module_model.ModuleEventData<object>>;
|
|
@@ -121,42 +84,7 @@ declare const mixinResolverEventEmitter: <T extends ModuleResolver = ModuleResol
|
|
|
121
84
|
addToResolvers?: boolean;
|
|
122
85
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
123
86
|
allowNameResolution?: boolean;
|
|
124
|
-
config:
|
|
125
|
-
schema: _xyo_network_payload_model.Schema;
|
|
126
|
-
readonly archiving?: {
|
|
127
|
-
readonly archivists?: string[] | undefined;
|
|
128
|
-
readonly queries?: string[] | undefined;
|
|
129
|
-
} | undefined;
|
|
130
|
-
readonly allowedQueries?: string[] | undefined;
|
|
131
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
132
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
133
|
-
readonly labels?: {
|
|
134
|
-
[x: string]: string | undefined;
|
|
135
|
-
} | undefined;
|
|
136
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
137
|
-
readonly paging?: {
|
|
138
|
-
[x: string]: {
|
|
139
|
-
size?: number | undefined;
|
|
140
|
-
};
|
|
141
|
-
} | undefined;
|
|
142
|
-
readonly retry?: {
|
|
143
|
-
backoff?: number | undefined;
|
|
144
|
-
interval?: number | undefined;
|
|
145
|
-
retries?: number | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
readonly security?: {
|
|
148
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
149
|
-
readonly allowed?: {
|
|
150
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
151
|
-
} | undefined;
|
|
152
|
-
readonly disallowed?: {
|
|
153
|
-
[x: string]: Lowercase<string>[];
|
|
154
|
-
} | undefined;
|
|
155
|
-
} | undefined;
|
|
156
|
-
readonly sign?: boolean | undefined;
|
|
157
|
-
readonly storeQueries?: boolean | undefined;
|
|
158
|
-
readonly timestamp?: boolean | undefined;
|
|
159
|
-
}>;
|
|
87
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
|
|
160
88
|
ephemeralQueryAccountEnabled?: boolean;
|
|
161
89
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
162
90
|
}, _xyo_network_module_model.ModuleEventData<object>>>>(resolver: T) => T & ResolverEventEmitter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/module-resolver",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"@xylabs/hex": "^4.5.1",
|
|
35
35
|
"@xylabs/object": "^4.5.1",
|
|
36
36
|
"@xylabs/promise": "^4.5.1",
|
|
37
|
-
"@xyo-network/diviner-model": "^3.9.
|
|
38
|
-
"@xyo-network/diviner-payload-model": "^3.9.
|
|
39
|
-
"@xyo-network/module-model": "^3.9.
|
|
37
|
+
"@xyo-network/diviner-model": "^3.9.4",
|
|
38
|
+
"@xyo-network/diviner-payload-model": "^3.9.4",
|
|
39
|
+
"@xyo-network/module-model": "^3.9.4",
|
|
40
40
|
"lru-cache": "^11.0.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|