@xyo-network/module-instance-plugin 3.2.0-rc.1 → 3.2.0-rc.2
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/Plugin.d.ts +39 -12
- package/dist/neutral/Plugin.d.ts.map +1 -1
- package/dist/neutral/Witness.d.ts +39 -8
- package/dist/neutral/Witness.d.ts.map +1 -1
- package/dist/neutral/index.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/index.ts +0 -1
- package/xy.config.ts +0 -1
package/dist/neutral/Plugin.d.ts
CHANGED
|
@@ -1,18 +1,45 @@
|
|
|
1
1
|
import { AbstractModuleInstanceWitness } from './Witness.ts';
|
|
2
|
-
export declare const AbstractModuleInstancePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<AbstractModuleInstanceWitness<import(".store/@xylabs-object-npm-4.4.
|
|
3
|
-
account?: import(".store/@xyo-network-account-model-virtual-
|
|
2
|
+
export declare const AbstractModuleInstancePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<AbstractModuleInstanceWitness<import(".store/@xylabs-object-npm-4.4.24-1b8348f2f7/package").BaseParamsFields & {
|
|
3
|
+
account?: import(".store/@xyo-network-account-model-virtual-c5d2167f6b/package").AccountInstance | "random";
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
|
-
additionalSigners?: import(".store/@xyo-network-account-model-virtual-
|
|
5
|
+
additionalSigners?: import(".store/@xyo-network-account-model-virtual-c5d2167f6b/package").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("
|
|
8
|
-
schema: "network.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
config: import(".store/@xylabs-object-npm-4.4.24-1b8348f2f7/package").DeepRestrictToStringKeys<{
|
|
8
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
9
|
+
readonly archiving?: {
|
|
10
|
+
readonly archivists?: string[] | undefined;
|
|
11
|
+
readonly queries?: string[] | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
readonly allowedQueries?: string[] | undefined;
|
|
14
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
15
|
+
readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.4.24-da15b744dd/package").LogLevel | undefined;
|
|
16
|
+
readonly labels?: {
|
|
17
|
+
[x: string]: string | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
20
|
+
readonly paging?: {
|
|
21
|
+
[x: string]: {
|
|
22
|
+
size?: number | undefined;
|
|
23
|
+
};
|
|
24
|
+
} | undefined;
|
|
25
|
+
readonly retry?: {
|
|
26
|
+
backoff?: number | undefined;
|
|
27
|
+
interval?: number | undefined;
|
|
28
|
+
retries?: number | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
readonly security?: {
|
|
31
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
32
|
+
readonly allowed?: {
|
|
33
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
34
|
+
} | undefined;
|
|
35
|
+
readonly disallowed?: {
|
|
36
|
+
[x: string]: Lowercase<string>[];
|
|
37
|
+
} | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
readonly sign?: boolean | undefined;
|
|
40
|
+
readonly storeQueries?: boolean | undefined;
|
|
41
|
+
readonly timestamp?: boolean | undefined;
|
|
42
|
+
}>;
|
|
16
43
|
ephemeralQueryAccountEnabled?: boolean;
|
|
17
44
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
18
45
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAStC,CAAA"}
|
|
@@ -15,16 +15,47 @@ export type AbstractModuleInstanceWitnessParams = WitnessParams<AnyConfigSchema<
|
|
|
15
15
|
export declare class AbstractModuleInstanceWitness<TParams extends AbstractModuleInstanceWitnessParams = AbstractModuleInstanceWitnessParams> extends AbstractWitness<TParams> {
|
|
16
16
|
static readonly configSchemas: Schema[];
|
|
17
17
|
static readonly defaultConfigSchema: Schema;
|
|
18
|
-
protected get mod(): Module<import(".store/@xylabs-object-npm-4.4.
|
|
19
|
-
account?: import(".store/@xyo-network-account-model-virtual-
|
|
18
|
+
protected get mod(): Module<import(".store/@xylabs-object-npm-4.4.24-1b8348f2f7/package").BaseParamsFields & {
|
|
19
|
+
account?: import(".store/@xyo-network-account-model-virtual-c5d2167f6b/package").AccountInstance | "random";
|
|
20
20
|
addToResolvers?: boolean;
|
|
21
|
-
additionalSigners?: import(".store/@xyo-network-account-model-virtual-
|
|
21
|
+
additionalSigners?: import(".store/@xyo-network-account-model-virtual-c5d2167f6b/package").AccountInstance[];
|
|
22
22
|
allowNameResolution?: boolean;
|
|
23
|
-
config: import("
|
|
24
|
-
schema:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
config: import(".store/@xylabs-object-npm-4.4.24-1b8348f2f7/package").DeepRestrictToStringKeys<{
|
|
24
|
+
schema: Schema;
|
|
25
|
+
readonly archiving?: {
|
|
26
|
+
readonly archivists?: string[] | undefined;
|
|
27
|
+
readonly queries?: string[] | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
readonly allowedQueries?: string[] | undefined;
|
|
30
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
31
|
+
readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.4.24-da15b744dd/package").LogLevel | undefined;
|
|
32
|
+
readonly labels?: {
|
|
33
|
+
[x: string]: string | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
36
|
+
readonly paging?: {
|
|
37
|
+
[x: string]: {
|
|
38
|
+
size?: number | undefined;
|
|
39
|
+
};
|
|
40
|
+
} | undefined;
|
|
41
|
+
readonly retry?: {
|
|
42
|
+
backoff?: number | undefined;
|
|
43
|
+
interval?: number | undefined;
|
|
44
|
+
retries?: number | undefined;
|
|
45
|
+
} | undefined;
|
|
46
|
+
readonly security?: {
|
|
47
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
48
|
+
readonly allowed?: {
|
|
49
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
50
|
+
} | undefined;
|
|
51
|
+
readonly disallowed?: {
|
|
52
|
+
[x: string]: Lowercase<string>[];
|
|
53
|
+
} | undefined;
|
|
54
|
+
} | undefined;
|
|
55
|
+
readonly sign?: boolean | undefined;
|
|
56
|
+
readonly storeQueries?: boolean | undefined;
|
|
57
|
+
readonly timestamp?: boolean | undefined;
|
|
58
|
+
}>;
|
|
28
59
|
ephemeralQueryAccountEnabled?: boolean;
|
|
29
60
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
30
61
|
}, import("@xyo-network/module-model").ModuleEventData<object>> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,6BAA6B,EAAE,M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AyC,GAAG,oCAAoC,CAAA;AAC5F,eAAO,MAAM,yCAAyC,EAAE,yCAAgF,CAAA;AAExI,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAC;IAC9D,MAAM,EAAE,yCAAyC,CAAA;CAClD,CAAC,CAAA;AAEF,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAC7D,eAAe,CAAC,mCAAmC,CAAC,EACpD;IACE,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CACF,CAAA;AAED,qBAAa,6BAA6B,CACxC,OAAO,SAAS,mCAAmC,GAAG,mCAAmC,CACzF,SAAQ,eAAe,CAAC,OAAO,CAAC;IAChC,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAsE;IACtH,gBAAyB,mBAAmB,EAAE,MAAM,CAA4C;IAEhG,SAAS,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gFAEhB;cAEkB,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,GAAG,UAAU,CAAC,6BAA6B,EAAE,CAAC;CAI/G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,4BAA4B,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AACnG,cAAc,cAAc,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/module-instance-plugin",
|
|
3
|
-
"version": "3.2.0-rc.
|
|
3
|
+
"version": "3.2.0-rc.2",
|
|
4
4
|
"description": "Contains the information about a module instance",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/promise": "^4.4.
|
|
33
|
-
"@xyo-network/abstract-witness": "^3.6.0-rc.
|
|
34
|
-
"@xyo-network/module-instance-payload-plugin": "^3.2.0-rc.
|
|
35
|
-
"@xyo-network/module-model": "^3.6.0-rc.
|
|
36
|
-
"@xyo-network/payload-model": "^3.6.0-rc.
|
|
37
|
-
"@xyo-network/payloadset-plugin": "^3.6.0-rc.
|
|
38
|
-
"@xyo-network/witness-model": "^3.6.0-rc.
|
|
32
|
+
"@xylabs/promise": "^4.4.24",
|
|
33
|
+
"@xyo-network/abstract-witness": "^3.6.0-rc.11",
|
|
34
|
+
"@xyo-network/module-instance-payload-plugin": "^3.2.0-rc.2",
|
|
35
|
+
"@xyo-network/module-model": "^3.6.0-rc.11",
|
|
36
|
+
"@xyo-network/payload-model": "^3.6.0-rc.11",
|
|
37
|
+
"@xyo-network/payloadset-plugin": "^3.6.0-rc.11",
|
|
38
|
+
"@xyo-network/witness-model": "^3.6.0-rc.11"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@xylabs/ts-scripts-yarn3": "^4.2.
|
|
42
|
-
"@xylabs/tsconfig": "^4.2.
|
|
43
|
-
"@xylabs/vitest-extended": "^4.4.
|
|
44
|
-
"@xyo-network/archivist-memory": "^3.6.0-rc.
|
|
45
|
-
"@xyo-network/payload-wrapper": "^3.6.0-rc.
|
|
41
|
+
"@xylabs/ts-scripts-yarn3": "^4.2.6",
|
|
42
|
+
"@xylabs/tsconfig": "^4.2.6",
|
|
43
|
+
"@xylabs/vitest-extended": "^4.4.24",
|
|
44
|
+
"@xyo-network/archivist-memory": "^3.6.0-rc.11",
|
|
45
|
+
"@xyo-network/payload-wrapper": "^3.6.0-rc.11",
|
|
46
46
|
"typescript": "^5.7.2",
|
|
47
47
|
"vitest": "^2.1.8"
|
|
48
48
|
},
|
package/src/index.ts
CHANGED