@xyo-network/module-model 2.87.0 → 2.87.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/browser/CreatableModule/LabeledCreatableModuleFactory.d.cts +39 -1
- package/dist/browser/CreatableModule/LabeledCreatableModuleFactory.d.cts.map +1 -1
- package/dist/browser/CreatableModule/LabeledCreatableModuleFactory.d.mts +39 -1
- package/dist/browser/CreatableModule/LabeledCreatableModuleFactory.d.mts.map +1 -1
- package/dist/browser/CreatableModule/LabeledCreatableModuleFactory.d.ts +39 -1
- package/dist/browser/CreatableModule/LabeledCreatableModuleFactory.d.ts.map +1 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/instance/ModuleInstance.d.cts +2 -2
- package/dist/browser/instance/ModuleInstance.d.cts.map +1 -1
- package/dist/browser/instance/ModuleInstance.d.mts +2 -2
- package/dist/browser/instance/ModuleInstance.d.mts.map +1 -1
- package/dist/browser/instance/ModuleInstance.d.ts +2 -2
- package/dist/browser/instance/ModuleInstance.d.ts.map +1 -1
- package/dist/browser/instance/asModuleInstance.d.cts +78 -2
- package/dist/browser/instance/asModuleInstance.d.cts.map +1 -1
- package/dist/browser/instance/asModuleInstance.d.mts +78 -2
- package/dist/browser/instance/asModuleInstance.d.mts.map +1 -1
- package/dist/browser/instance/asModuleInstance.d.ts +78 -2
- package/dist/browser/instance/asModuleInstance.d.ts.map +1 -1
- package/dist/browser/lib/duplicateModules.d.cts +39 -1
- package/dist/browser/lib/duplicateModules.d.cts.map +1 -1
- package/dist/browser/lib/duplicateModules.d.mts +39 -1
- package/dist/browser/lib/duplicateModules.d.mts.map +1 -1
- package/dist/browser/lib/duplicateModules.d.ts +39 -1
- package/dist/browser/lib/duplicateModules.d.ts.map +1 -1
- package/dist/browser/module/Module.d.cts +2 -1
- package/dist/browser/module/Module.d.cts.map +1 -1
- package/dist/browser/module/Module.d.mts +2 -1
- package/dist/browser/module/Module.d.mts.map +1 -1
- package/dist/browser/module/Module.d.ts +2 -1
- package/dist/browser/module/Module.d.ts.map +1 -1
- package/dist/browser/module/asModule.d.cts +78 -2
- package/dist/browser/module/asModule.d.cts.map +1 -1
- package/dist/browser/module/asModule.d.mts +78 -2
- package/dist/browser/module/asModule.d.mts.map +1 -1
- package/dist/browser/module/asModule.d.ts +78 -2
- package/dist/browser/module/asModule.d.ts.map +1 -1
- package/dist/browser/module/asModuleObject.d.cts +78 -2
- package/dist/browser/module/asModuleObject.d.cts.map +1 -1
- package/dist/browser/module/asModuleObject.d.mts +78 -2
- package/dist/browser/module/asModuleObject.d.mts.map +1 -1
- package/dist/browser/module/asModuleObject.d.ts +78 -2
- package/dist/browser/module/asModuleObject.d.ts.map +1 -1
- package/dist/browser/module/isModuleObject.d.cts +39 -1
- package/dist/browser/module/isModuleObject.d.cts.map +1 -1
- package/dist/browser/module/isModuleObject.d.mts +39 -1
- package/dist/browser/module/isModuleObject.d.mts.map +1 -1
- package/dist/browser/module/isModuleObject.d.ts +39 -1
- package/dist/browser/module/isModuleObject.d.ts.map +1 -1
- package/dist/browser/withModule.d.cts +78 -2
- package/dist/browser/withModule.d.cts.map +1 -1
- package/dist/browser/withModule.d.mts +78 -2
- package/dist/browser/withModule.d.mts.map +1 -1
- package/dist/browser/withModule.d.ts +78 -2
- package/dist/browser/withModule.d.ts.map +1 -1
- package/dist/node/CreatableModule/LabeledCreatableModuleFactory.d.cts +39 -1
- package/dist/node/CreatableModule/LabeledCreatableModuleFactory.d.cts.map +1 -1
- package/dist/node/CreatableModule/LabeledCreatableModuleFactory.d.mts +39 -1
- package/dist/node/CreatableModule/LabeledCreatableModuleFactory.d.mts.map +1 -1
- package/dist/node/CreatableModule/LabeledCreatableModuleFactory.d.ts +39 -1
- package/dist/node/CreatableModule/LabeledCreatableModuleFactory.d.ts.map +1 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/node/instance/ModuleInstance.d.cts +2 -2
- package/dist/node/instance/ModuleInstance.d.cts.map +1 -1
- package/dist/node/instance/ModuleInstance.d.mts +2 -2
- package/dist/node/instance/ModuleInstance.d.mts.map +1 -1
- package/dist/node/instance/ModuleInstance.d.ts +2 -2
- package/dist/node/instance/ModuleInstance.d.ts.map +1 -1
- package/dist/node/instance/asModuleInstance.d.cts +78 -2
- package/dist/node/instance/asModuleInstance.d.cts.map +1 -1
- package/dist/node/instance/asModuleInstance.d.mts +78 -2
- package/dist/node/instance/asModuleInstance.d.mts.map +1 -1
- package/dist/node/instance/asModuleInstance.d.ts +78 -2
- package/dist/node/instance/asModuleInstance.d.ts.map +1 -1
- package/dist/node/lib/duplicateModules.d.cts +39 -1
- package/dist/node/lib/duplicateModules.d.cts.map +1 -1
- package/dist/node/lib/duplicateModules.d.mts +39 -1
- package/dist/node/lib/duplicateModules.d.mts.map +1 -1
- package/dist/node/lib/duplicateModules.d.ts +39 -1
- package/dist/node/lib/duplicateModules.d.ts.map +1 -1
- package/dist/node/module/Module.d.cts +2 -1
- package/dist/node/module/Module.d.cts.map +1 -1
- package/dist/node/module/Module.d.mts +2 -1
- package/dist/node/module/Module.d.mts.map +1 -1
- package/dist/node/module/Module.d.ts +2 -1
- package/dist/node/module/Module.d.ts.map +1 -1
- package/dist/node/module/asModule.d.cts +78 -2
- package/dist/node/module/asModule.d.cts.map +1 -1
- package/dist/node/module/asModule.d.mts +78 -2
- package/dist/node/module/asModule.d.mts.map +1 -1
- package/dist/node/module/asModule.d.ts +78 -2
- package/dist/node/module/asModule.d.ts.map +1 -1
- package/dist/node/module/asModuleObject.d.cts +78 -2
- package/dist/node/module/asModuleObject.d.cts.map +1 -1
- package/dist/node/module/asModuleObject.d.mts +78 -2
- package/dist/node/module/asModuleObject.d.mts.map +1 -1
- package/dist/node/module/asModuleObject.d.ts +78 -2
- package/dist/node/module/asModuleObject.d.ts.map +1 -1
- package/dist/node/module/isModuleObject.d.cts +39 -1
- package/dist/node/module/isModuleObject.d.cts.map +1 -1
- package/dist/node/module/isModuleObject.d.mts +39 -1
- package/dist/node/module/isModuleObject.d.mts.map +1 -1
- package/dist/node/module/isModuleObject.d.ts +39 -1
- package/dist/node/module/isModuleObject.d.ts.map +1 -1
- package/dist/node/withModule.d.cts +78 -2
- package/dist/node/withModule.d.cts.map +1 -1
- package/dist/node/withModule.d.mts +78 -2
- package/dist/node/withModule.d.mts.map +1 -1
- package/dist/node/withModule.d.ts +78 -2
- package/dist/node/withModule.d.ts.map +1 -1
- package/package.json +10 -10
- package/src/instance/ModuleInstance.ts +10 -12
- package/src/module/Module.ts +3 -4
|
@@ -2,6 +2,82 @@ import { TypeCheck } from '@xyo-network/object';
|
|
|
2
2
|
export declare const WithFactory: {
|
|
3
3
|
create: <T extends object>(typeCheck: TypeCheck<T>) => <R>(module: any, closure: (module: T) => R) => R | undefined;
|
|
4
4
|
};
|
|
5
|
-
export declare const withModule: <R>(module: any, closure: (module: import("./module").Module)
|
|
6
|
-
|
|
5
|
+
export declare const withModule: <R>(module: any, closure: (module: import("./module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
6
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
7
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
8
|
+
readonly archivist?: string | undefined;
|
|
9
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
10
|
+
readonly name?: string | undefined;
|
|
11
|
+
readonly paging?: Record<string, {
|
|
12
|
+
size?: number | undefined;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
schema: "network.xyo.module.config";
|
|
15
|
+
readonly security?: {
|
|
16
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
18
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly sign?: boolean | undefined;
|
|
21
|
+
readonly storeQueries?: boolean | undefined;
|
|
22
|
+
readonly timestamp?: boolean | undefined;
|
|
23
|
+
} & import("./Config").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
+
readonly archivist?: string | undefined;
|
|
25
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
26
|
+
readonly name?: string | undefined;
|
|
27
|
+
readonly paging?: Record<string, {
|
|
28
|
+
size?: number | undefined;
|
|
29
|
+
}> | undefined;
|
|
30
|
+
schema: "network.xyo.module.config";
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
34
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly sign?: boolean | undefined;
|
|
37
|
+
readonly storeQueries?: boolean | undefined;
|
|
38
|
+
readonly timestamp?: boolean | undefined;
|
|
39
|
+
}, "schema"> & {
|
|
40
|
+
schema: string;
|
|
41
|
+
};
|
|
42
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
43
|
+
}, import("./EventsModels").ModuleEventData<object>>) => R) => R | undefined;
|
|
44
|
+
export declare const withModuleInstance: <R>(module: any, closure: (module: import("./instance").ModuleInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
45
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
46
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
47
|
+
readonly archivist?: string | undefined;
|
|
48
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
49
|
+
readonly name?: string | undefined;
|
|
50
|
+
readonly paging?: Record<string, {
|
|
51
|
+
size?: number | undefined;
|
|
52
|
+
}> | undefined;
|
|
53
|
+
schema: "network.xyo.module.config";
|
|
54
|
+
readonly security?: {
|
|
55
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
56
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
57
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly sign?: boolean | undefined;
|
|
60
|
+
readonly storeQueries?: boolean | undefined;
|
|
61
|
+
readonly timestamp?: boolean | undefined;
|
|
62
|
+
} & import("./Config").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
63
|
+
readonly archivist?: string | undefined;
|
|
64
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
65
|
+
readonly name?: string | undefined;
|
|
66
|
+
readonly paging?: Record<string, {
|
|
67
|
+
size?: number | undefined;
|
|
68
|
+
}> | undefined;
|
|
69
|
+
schema: "network.xyo.module.config";
|
|
70
|
+
readonly security?: {
|
|
71
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
72
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
73
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
readonly sign?: boolean | undefined;
|
|
76
|
+
readonly storeQueries?: boolean | undefined;
|
|
77
|
+
readonly timestamp?: boolean | undefined;
|
|
78
|
+
}, "schema"> & {
|
|
79
|
+
schema: string;
|
|
80
|
+
};
|
|
81
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
82
|
+
}, import("./EventsModels").ModuleEventData<object>>) => R) => R | undefined;
|
|
7
83
|
//# sourceMappingURL=withModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAK/C,eAAO,MAAM,WAAW;uEAIV,GAAG;CAOhB,CAAA;AAED,eAAO,MAAM,UAAU,cATT,GAAG,
|
|
1
|
+
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAK/C,eAAO,MAAM,WAAW;uEAIV,GAAG;CAOhB,CAAA;AAED,eAAO,MAAM,UAAU,cATT,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EASqC,CAAA;AACtD,eAAO,MAAM,kBAAkB,cAVjB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAUqD,CAAA"}
|
|
@@ -2,6 +2,82 @@ import { TypeCheck } from '@xyo-network/object';
|
|
|
2
2
|
export declare const WithFactory: {
|
|
3
3
|
create: <T extends object>(typeCheck: TypeCheck<T>) => <R>(module: any, closure: (module: T) => R) => R | undefined;
|
|
4
4
|
};
|
|
5
|
-
export declare const withModule: <R>(module: any, closure: (module: import("./module").Module)
|
|
6
|
-
|
|
5
|
+
export declare const withModule: <R>(module: any, closure: (module: import("./module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
6
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
7
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
8
|
+
readonly archivist?: string | undefined;
|
|
9
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
10
|
+
readonly name?: string | undefined;
|
|
11
|
+
readonly paging?: Record<string, {
|
|
12
|
+
size?: number | undefined;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
schema: "network.xyo.module.config";
|
|
15
|
+
readonly security?: {
|
|
16
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
18
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly sign?: boolean | undefined;
|
|
21
|
+
readonly storeQueries?: boolean | undefined;
|
|
22
|
+
readonly timestamp?: boolean | undefined;
|
|
23
|
+
} & import("./Config").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
+
readonly archivist?: string | undefined;
|
|
25
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
26
|
+
readonly name?: string | undefined;
|
|
27
|
+
readonly paging?: Record<string, {
|
|
28
|
+
size?: number | undefined;
|
|
29
|
+
}> | undefined;
|
|
30
|
+
schema: "network.xyo.module.config";
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
34
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly sign?: boolean | undefined;
|
|
37
|
+
readonly storeQueries?: boolean | undefined;
|
|
38
|
+
readonly timestamp?: boolean | undefined;
|
|
39
|
+
}, "schema"> & {
|
|
40
|
+
schema: string;
|
|
41
|
+
};
|
|
42
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
43
|
+
}, import("./EventsModels").ModuleEventData<object>>) => R) => R | undefined;
|
|
44
|
+
export declare const withModuleInstance: <R>(module: any, closure: (module: import("./instance").ModuleInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
45
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
46
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
47
|
+
readonly archivist?: string | undefined;
|
|
48
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
49
|
+
readonly name?: string | undefined;
|
|
50
|
+
readonly paging?: Record<string, {
|
|
51
|
+
size?: number | undefined;
|
|
52
|
+
}> | undefined;
|
|
53
|
+
schema: "network.xyo.module.config";
|
|
54
|
+
readonly security?: {
|
|
55
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
56
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
57
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly sign?: boolean | undefined;
|
|
60
|
+
readonly storeQueries?: boolean | undefined;
|
|
61
|
+
readonly timestamp?: boolean | undefined;
|
|
62
|
+
} & import("./Config").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
63
|
+
readonly archivist?: string | undefined;
|
|
64
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
65
|
+
readonly name?: string | undefined;
|
|
66
|
+
readonly paging?: Record<string, {
|
|
67
|
+
size?: number | undefined;
|
|
68
|
+
}> | undefined;
|
|
69
|
+
schema: "network.xyo.module.config";
|
|
70
|
+
readonly security?: {
|
|
71
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
72
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
73
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
readonly sign?: boolean | undefined;
|
|
76
|
+
readonly storeQueries?: boolean | undefined;
|
|
77
|
+
readonly timestamp?: boolean | undefined;
|
|
78
|
+
}, "schema"> & {
|
|
79
|
+
schema: string;
|
|
80
|
+
};
|
|
81
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
82
|
+
}, import("./EventsModels").ModuleEventData<object>>) => R) => R | undefined;
|
|
7
83
|
//# sourceMappingURL=withModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAK/C,eAAO,MAAM,WAAW;uEAIV,GAAG;CAOhB,CAAA;AAED,eAAO,MAAM,UAAU,cATT,GAAG,
|
|
1
|
+
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAK/C,eAAO,MAAM,WAAW;uEAIV,GAAG;CAOhB,CAAA;AAED,eAAO,MAAM,UAAU,cATT,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EASqC,CAAA;AACtD,eAAO,MAAM,kBAAkB,cAVjB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAUqD,CAAA"}
|
|
@@ -2,6 +2,82 @@ import { TypeCheck } from '@xyo-network/object';
|
|
|
2
2
|
export declare const WithFactory: {
|
|
3
3
|
create: <T extends object>(typeCheck: TypeCheck<T>) => <R>(module: any, closure: (module: T) => R) => R | undefined;
|
|
4
4
|
};
|
|
5
|
-
export declare const withModule: <R>(module: any, closure: (module: import("./module").Module)
|
|
6
|
-
|
|
5
|
+
export declare const withModule: <R>(module: any, closure: (module: import("./module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
6
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
7
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
8
|
+
readonly archivist?: string | undefined;
|
|
9
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
10
|
+
readonly name?: string | undefined;
|
|
11
|
+
readonly paging?: Record<string, {
|
|
12
|
+
size?: number | undefined;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
schema: "network.xyo.module.config";
|
|
15
|
+
readonly security?: {
|
|
16
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
18
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly sign?: boolean | undefined;
|
|
21
|
+
readonly storeQueries?: boolean | undefined;
|
|
22
|
+
readonly timestamp?: boolean | undefined;
|
|
23
|
+
} & import("./Config").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
+
readonly archivist?: string | undefined;
|
|
25
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
26
|
+
readonly name?: string | undefined;
|
|
27
|
+
readonly paging?: Record<string, {
|
|
28
|
+
size?: number | undefined;
|
|
29
|
+
}> | undefined;
|
|
30
|
+
schema: "network.xyo.module.config";
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
34
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly sign?: boolean | undefined;
|
|
37
|
+
readonly storeQueries?: boolean | undefined;
|
|
38
|
+
readonly timestamp?: boolean | undefined;
|
|
39
|
+
}, "schema"> & {
|
|
40
|
+
schema: string;
|
|
41
|
+
};
|
|
42
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
43
|
+
}, import("./EventsModels").ModuleEventData<object>>) => R) => R | undefined;
|
|
44
|
+
export declare const withModuleInstance: <R>(module: any, closure: (module: import("./instance").ModuleInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
45
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
46
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
47
|
+
readonly archivist?: string | undefined;
|
|
48
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
49
|
+
readonly name?: string | undefined;
|
|
50
|
+
readonly paging?: Record<string, {
|
|
51
|
+
size?: number | undefined;
|
|
52
|
+
}> | undefined;
|
|
53
|
+
schema: "network.xyo.module.config";
|
|
54
|
+
readonly security?: {
|
|
55
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
56
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
57
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly sign?: boolean | undefined;
|
|
60
|
+
readonly storeQueries?: boolean | undefined;
|
|
61
|
+
readonly timestamp?: boolean | undefined;
|
|
62
|
+
} & import("./Config").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
63
|
+
readonly archivist?: string | undefined;
|
|
64
|
+
readonly labels?: import("./Labels").Labels | undefined;
|
|
65
|
+
readonly name?: string | undefined;
|
|
66
|
+
readonly paging?: Record<string, {
|
|
67
|
+
size?: number | undefined;
|
|
68
|
+
}> | undefined;
|
|
69
|
+
schema: "network.xyo.module.config";
|
|
70
|
+
readonly security?: {
|
|
71
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
72
|
+
readonly allowed?: Record<string, (string | import("./Config").CosigningAddressSet)[]> | undefined;
|
|
73
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
readonly sign?: boolean | undefined;
|
|
76
|
+
readonly storeQueries?: boolean | undefined;
|
|
77
|
+
readonly timestamp?: boolean | undefined;
|
|
78
|
+
}, "schema"> & {
|
|
79
|
+
schema: string;
|
|
80
|
+
};
|
|
81
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
82
|
+
}, import("./EventsModels").ModuleEventData<object>>) => R) => R | undefined;
|
|
7
83
|
//# sourceMappingURL=withModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAK/C,eAAO,MAAM,WAAW;uEAIV,GAAG;CAOhB,CAAA;AAED,eAAO,MAAM,UAAU,cATT,GAAG,
|
|
1
|
+
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAK/C,eAAO,MAAM,WAAW;uEAIV,GAAG;CAOhB,CAAA;AAED,eAAO,MAAM,UAAU,cATT,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EASqC,CAAA;AACtD,eAAO,MAAM,kBAAkB,cAVjB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAUqD,CAAA"}
|
|
@@ -2,5 +2,43 @@ import { ModuleInstance } from '../instance';
|
|
|
2
2
|
import { WithOptionalLabels } from '../Labels';
|
|
3
3
|
import { CreatableModuleFactory } from './CreatableModule';
|
|
4
4
|
export type LabeledCreatableModuleFactory<T extends ModuleInstance = ModuleInstance> = CreatableModuleFactory<T> & WithOptionalLabels;
|
|
5
|
-
export declare const hasLabels: (factory: CreatableModuleFactory | LabeledCreatableModuleFactory) => factory is LabeledCreatableModuleFactory<ModuleInstance
|
|
5
|
+
export declare const hasLabels: (factory: CreatableModuleFactory | LabeledCreatableModuleFactory) => factory is LabeledCreatableModuleFactory<ModuleInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
6
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
7
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
8
|
+
readonly archivist?: string | undefined;
|
|
9
|
+
readonly labels?: import("../Labels").Labels | undefined;
|
|
10
|
+
readonly name?: string | undefined;
|
|
11
|
+
readonly paging?: Record<string, {
|
|
12
|
+
size?: number | undefined;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
schema: "network.xyo.module.config";
|
|
15
|
+
readonly security?: {
|
|
16
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
18
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly sign?: boolean | undefined;
|
|
21
|
+
readonly storeQueries?: boolean | undefined;
|
|
22
|
+
readonly timestamp?: boolean | undefined;
|
|
23
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
+
readonly archivist?: string | undefined;
|
|
25
|
+
readonly labels?: import("../Labels").Labels | undefined;
|
|
26
|
+
readonly name?: string | undefined;
|
|
27
|
+
readonly paging?: Record<string, {
|
|
28
|
+
size?: number | undefined;
|
|
29
|
+
}> | undefined;
|
|
30
|
+
schema: "network.xyo.module.config";
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
34
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly sign?: boolean | undefined;
|
|
37
|
+
readonly storeQueries?: boolean | undefined;
|
|
38
|
+
readonly timestamp?: boolean | undefined;
|
|
39
|
+
}, "schema"> & {
|
|
40
|
+
schema: string;
|
|
41
|
+
};
|
|
42
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
43
|
+
}, import("..").ModuleEventData<object>>>;
|
|
6
44
|
//# sourceMappingURL=LabeledCreatableModuleFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabeledCreatableModuleFactory.d.ts","sourceRoot":"","sources":["../../../src/CreatableModule/LabeledCreatableModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAE1D,MAAM,MAAM,6BAA6B,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,sBAAsB,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAA;AAErI,eAAO,MAAM,SAAS,YAAa,sBAAsB,GAAG,6BAA6B,
|
|
1
|
+
{"version":3,"file":"LabeledCreatableModuleFactory.d.ts","sourceRoot":"","sources":["../../../src/CreatableModule/LabeledCreatableModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAE1D,MAAM,MAAM,6BAA6B,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,sBAAsB,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAA;AAErI,eAAO,MAAM,SAAS,YAAa,sBAAsB,GAAG,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAExF,CAAA"}
|
|
@@ -2,5 +2,43 @@ import { ModuleInstance } from '../instance';
|
|
|
2
2
|
import { WithOptionalLabels } from '../Labels';
|
|
3
3
|
import { CreatableModuleFactory } from './CreatableModule';
|
|
4
4
|
export type LabeledCreatableModuleFactory<T extends ModuleInstance = ModuleInstance> = CreatableModuleFactory<T> & WithOptionalLabels;
|
|
5
|
-
export declare const hasLabels: (factory: CreatableModuleFactory | LabeledCreatableModuleFactory) => factory is LabeledCreatableModuleFactory<ModuleInstance
|
|
5
|
+
export declare const hasLabels: (factory: CreatableModuleFactory | LabeledCreatableModuleFactory) => factory is LabeledCreatableModuleFactory<ModuleInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
6
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
7
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
8
|
+
readonly archivist?: string | undefined;
|
|
9
|
+
readonly labels?: import("../Labels").Labels | undefined;
|
|
10
|
+
readonly name?: string | undefined;
|
|
11
|
+
readonly paging?: Record<string, {
|
|
12
|
+
size?: number | undefined;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
schema: "network.xyo.module.config";
|
|
15
|
+
readonly security?: {
|
|
16
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
18
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly sign?: boolean | undefined;
|
|
21
|
+
readonly storeQueries?: boolean | undefined;
|
|
22
|
+
readonly timestamp?: boolean | undefined;
|
|
23
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
+
readonly archivist?: string | undefined;
|
|
25
|
+
readonly labels?: import("../Labels").Labels | undefined;
|
|
26
|
+
readonly name?: string | undefined;
|
|
27
|
+
readonly paging?: Record<string, {
|
|
28
|
+
size?: number | undefined;
|
|
29
|
+
}> | undefined;
|
|
30
|
+
schema: "network.xyo.module.config";
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
34
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly sign?: boolean | undefined;
|
|
37
|
+
readonly storeQueries?: boolean | undefined;
|
|
38
|
+
readonly timestamp?: boolean | undefined;
|
|
39
|
+
}, "schema"> & {
|
|
40
|
+
schema: string;
|
|
41
|
+
};
|
|
42
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
43
|
+
}, import("..").ModuleEventData<object>>>;
|
|
6
44
|
//# sourceMappingURL=LabeledCreatableModuleFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabeledCreatableModuleFactory.d.ts","sourceRoot":"","sources":["../../../src/CreatableModule/LabeledCreatableModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAE1D,MAAM,MAAM,6BAA6B,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,sBAAsB,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAA;AAErI,eAAO,MAAM,SAAS,YAAa,sBAAsB,GAAG,6BAA6B,
|
|
1
|
+
{"version":3,"file":"LabeledCreatableModuleFactory.d.ts","sourceRoot":"","sources":["../../../src/CreatableModule/LabeledCreatableModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAE1D,MAAM,MAAM,6BAA6B,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,sBAAsB,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAA;AAErI,eAAO,MAAM,SAAS,YAAa,sBAAsB,GAAG,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAExF,CAAA"}
|
|
@@ -2,5 +2,43 @@ import { ModuleInstance } from '../instance';
|
|
|
2
2
|
import { WithOptionalLabels } from '../Labels';
|
|
3
3
|
import { CreatableModuleFactory } from './CreatableModule';
|
|
4
4
|
export type LabeledCreatableModuleFactory<T extends ModuleInstance = ModuleInstance> = CreatableModuleFactory<T> & WithOptionalLabels;
|
|
5
|
-
export declare const hasLabels: (factory: CreatableModuleFactory | LabeledCreatableModuleFactory) => factory is LabeledCreatableModuleFactory<ModuleInstance
|
|
5
|
+
export declare const hasLabels: (factory: CreatableModuleFactory | LabeledCreatableModuleFactory) => factory is LabeledCreatableModuleFactory<ModuleInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
6
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
7
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
8
|
+
readonly archivist?: string | undefined;
|
|
9
|
+
readonly labels?: import("../Labels").Labels | undefined;
|
|
10
|
+
readonly name?: string | undefined;
|
|
11
|
+
readonly paging?: Record<string, {
|
|
12
|
+
size?: number | undefined;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
schema: "network.xyo.module.config";
|
|
15
|
+
readonly security?: {
|
|
16
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
17
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
18
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly sign?: boolean | undefined;
|
|
21
|
+
readonly storeQueries?: boolean | undefined;
|
|
22
|
+
readonly timestamp?: boolean | undefined;
|
|
23
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
24
|
+
readonly archivist?: string | undefined;
|
|
25
|
+
readonly labels?: import("../Labels").Labels | undefined;
|
|
26
|
+
readonly name?: string | undefined;
|
|
27
|
+
readonly paging?: Record<string, {
|
|
28
|
+
size?: number | undefined;
|
|
29
|
+
}> | undefined;
|
|
30
|
+
schema: "network.xyo.module.config";
|
|
31
|
+
readonly security?: {
|
|
32
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
34
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly sign?: boolean | undefined;
|
|
37
|
+
readonly storeQueries?: boolean | undefined;
|
|
38
|
+
readonly timestamp?: boolean | undefined;
|
|
39
|
+
}, "schema"> & {
|
|
40
|
+
schema: string;
|
|
41
|
+
};
|
|
42
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
43
|
+
}, import("..").ModuleEventData<object>>>;
|
|
6
44
|
//# sourceMappingURL=LabeledCreatableModuleFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabeledCreatableModuleFactory.d.ts","sourceRoot":"","sources":["../../../src/CreatableModule/LabeledCreatableModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAE1D,MAAM,MAAM,6BAA6B,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,sBAAsB,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAA;AAErI,eAAO,MAAM,SAAS,YAAa,sBAAsB,GAAG,6BAA6B,
|
|
1
|
+
{"version":3,"file":"LabeledCreatableModuleFactory.d.ts","sourceRoot":"","sources":["../../../src/CreatableModule/LabeledCreatableModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAE1D,MAAM,MAAM,6BAA6B,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,sBAAsB,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAA;AAErI,eAAO,MAAM,SAAS,YAAa,sBAAsB,GAAG,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAExF,CAAA"}
|