@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
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
export declare const asModule: {
|
|
2
|
-
<TType extends import("./Module").Module
|
|
3
|
-
|
|
2
|
+
<TType extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
5
|
+
readonly archivist?: string | undefined;
|
|
6
|
+
readonly labels?: import("..").Labels | undefined;
|
|
7
|
+
readonly name?: string | undefined;
|
|
8
|
+
readonly paging?: Record<string, {
|
|
9
|
+
size?: number | undefined;
|
|
10
|
+
}> | undefined;
|
|
11
|
+
schema: "network.xyo.module.config";
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
21
|
+
readonly archivist?: string | undefined;
|
|
22
|
+
readonly labels?: import("..").Labels | undefined;
|
|
23
|
+
readonly name?: string | undefined;
|
|
24
|
+
readonly paging?: Record<string, {
|
|
25
|
+
size?: number | undefined;
|
|
26
|
+
}> | undefined;
|
|
27
|
+
schema: "network.xyo.module.config";
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
}, "schema"> & {
|
|
37
|
+
schema: string;
|
|
38
|
+
};
|
|
39
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
40
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
41
|
+
<TType_1 extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
42
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
43
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
44
|
+
readonly archivist?: string | undefined;
|
|
45
|
+
readonly labels?: import("..").Labels | undefined;
|
|
46
|
+
readonly name?: string | undefined;
|
|
47
|
+
readonly paging?: Record<string, {
|
|
48
|
+
size?: number | undefined;
|
|
49
|
+
}> | undefined;
|
|
50
|
+
schema: "network.xyo.module.config";
|
|
51
|
+
readonly security?: {
|
|
52
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
53
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
54
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly sign?: boolean | undefined;
|
|
57
|
+
readonly storeQueries?: boolean | undefined;
|
|
58
|
+
readonly timestamp?: boolean | undefined;
|
|
59
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
60
|
+
readonly archivist?: string | undefined;
|
|
61
|
+
readonly labels?: import("..").Labels | undefined;
|
|
62
|
+
readonly name?: string | undefined;
|
|
63
|
+
readonly paging?: Record<string, {
|
|
64
|
+
size?: number | undefined;
|
|
65
|
+
}> | undefined;
|
|
66
|
+
schema: "network.xyo.module.config";
|
|
67
|
+
readonly security?: {
|
|
68
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
69
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
70
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
readonly sign?: boolean | undefined;
|
|
73
|
+
readonly storeQueries?: boolean | undefined;
|
|
74
|
+
readonly timestamp?: boolean | undefined;
|
|
75
|
+
}, "schema"> & {
|
|
76
|
+
schema: string;
|
|
77
|
+
};
|
|
78
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
79
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
4
80
|
};
|
|
5
81
|
//# sourceMappingURL=asModule.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
|
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
export declare const asModule: {
|
|
2
|
-
<TType extends import("./Module").Module
|
|
3
|
-
|
|
2
|
+
<TType extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
5
|
+
readonly archivist?: string | undefined;
|
|
6
|
+
readonly labels?: import("..").Labels | undefined;
|
|
7
|
+
readonly name?: string | undefined;
|
|
8
|
+
readonly paging?: Record<string, {
|
|
9
|
+
size?: number | undefined;
|
|
10
|
+
}> | undefined;
|
|
11
|
+
schema: "network.xyo.module.config";
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
21
|
+
readonly archivist?: string | undefined;
|
|
22
|
+
readonly labels?: import("..").Labels | undefined;
|
|
23
|
+
readonly name?: string | undefined;
|
|
24
|
+
readonly paging?: Record<string, {
|
|
25
|
+
size?: number | undefined;
|
|
26
|
+
}> | undefined;
|
|
27
|
+
schema: "network.xyo.module.config";
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
}, "schema"> & {
|
|
37
|
+
schema: string;
|
|
38
|
+
};
|
|
39
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
40
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
41
|
+
<TType_1 extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
42
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
43
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
44
|
+
readonly archivist?: string | undefined;
|
|
45
|
+
readonly labels?: import("..").Labels | undefined;
|
|
46
|
+
readonly name?: string | undefined;
|
|
47
|
+
readonly paging?: Record<string, {
|
|
48
|
+
size?: number | undefined;
|
|
49
|
+
}> | undefined;
|
|
50
|
+
schema: "network.xyo.module.config";
|
|
51
|
+
readonly security?: {
|
|
52
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
53
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
54
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly sign?: boolean | undefined;
|
|
57
|
+
readonly storeQueries?: boolean | undefined;
|
|
58
|
+
readonly timestamp?: boolean | undefined;
|
|
59
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
60
|
+
readonly archivist?: string | undefined;
|
|
61
|
+
readonly labels?: import("..").Labels | undefined;
|
|
62
|
+
readonly name?: string | undefined;
|
|
63
|
+
readonly paging?: Record<string, {
|
|
64
|
+
size?: number | undefined;
|
|
65
|
+
}> | undefined;
|
|
66
|
+
schema: "network.xyo.module.config";
|
|
67
|
+
readonly security?: {
|
|
68
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
69
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
70
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
readonly sign?: boolean | undefined;
|
|
73
|
+
readonly storeQueries?: boolean | undefined;
|
|
74
|
+
readonly timestamp?: boolean | undefined;
|
|
75
|
+
}, "schema"> & {
|
|
76
|
+
schema: string;
|
|
77
|
+
};
|
|
78
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
79
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
4
80
|
};
|
|
5
81
|
//# sourceMappingURL=asModule.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
|
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
export declare const asModuleObject: {
|
|
2
|
-
<TType extends import("./Module").Module
|
|
3
|
-
|
|
2
|
+
<TType extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
5
|
+
readonly archivist?: string | undefined;
|
|
6
|
+
readonly labels?: import("..").Labels | undefined;
|
|
7
|
+
readonly name?: string | undefined;
|
|
8
|
+
readonly paging?: Record<string, {
|
|
9
|
+
size?: number | undefined;
|
|
10
|
+
}> | undefined;
|
|
11
|
+
schema: "network.xyo.module.config";
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
21
|
+
readonly archivist?: string | undefined;
|
|
22
|
+
readonly labels?: import("..").Labels | undefined;
|
|
23
|
+
readonly name?: string | undefined;
|
|
24
|
+
readonly paging?: Record<string, {
|
|
25
|
+
size?: number | undefined;
|
|
26
|
+
}> | undefined;
|
|
27
|
+
schema: "network.xyo.module.config";
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
}, "schema"> & {
|
|
37
|
+
schema: string;
|
|
38
|
+
};
|
|
39
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
40
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
41
|
+
<TType_1 extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
42
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
43
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
44
|
+
readonly archivist?: string | undefined;
|
|
45
|
+
readonly labels?: import("..").Labels | undefined;
|
|
46
|
+
readonly name?: string | undefined;
|
|
47
|
+
readonly paging?: Record<string, {
|
|
48
|
+
size?: number | undefined;
|
|
49
|
+
}> | undefined;
|
|
50
|
+
schema: "network.xyo.module.config";
|
|
51
|
+
readonly security?: {
|
|
52
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
53
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
54
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly sign?: boolean | undefined;
|
|
57
|
+
readonly storeQueries?: boolean | undefined;
|
|
58
|
+
readonly timestamp?: boolean | undefined;
|
|
59
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
60
|
+
readonly archivist?: string | undefined;
|
|
61
|
+
readonly labels?: import("..").Labels | undefined;
|
|
62
|
+
readonly name?: string | undefined;
|
|
63
|
+
readonly paging?: Record<string, {
|
|
64
|
+
size?: number | undefined;
|
|
65
|
+
}> | undefined;
|
|
66
|
+
schema: "network.xyo.module.config";
|
|
67
|
+
readonly security?: {
|
|
68
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
69
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
70
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
readonly sign?: boolean | undefined;
|
|
73
|
+
readonly storeQueries?: boolean | undefined;
|
|
74
|
+
readonly timestamp?: boolean | undefined;
|
|
75
|
+
}, "schema"> & {
|
|
76
|
+
schema: string;
|
|
77
|
+
};
|
|
78
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
79
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
4
80
|
};
|
|
5
81
|
//# sourceMappingURL=asModuleObject.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA"}
|
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
export declare const asModuleObject: {
|
|
2
|
-
<TType extends import("./Module").Module
|
|
3
|
-
|
|
2
|
+
<TType extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
5
|
+
readonly archivist?: string | undefined;
|
|
6
|
+
readonly labels?: import("..").Labels | undefined;
|
|
7
|
+
readonly name?: string | undefined;
|
|
8
|
+
readonly paging?: Record<string, {
|
|
9
|
+
size?: number | undefined;
|
|
10
|
+
}> | undefined;
|
|
11
|
+
schema: "network.xyo.module.config";
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
21
|
+
readonly archivist?: string | undefined;
|
|
22
|
+
readonly labels?: import("..").Labels | undefined;
|
|
23
|
+
readonly name?: string | undefined;
|
|
24
|
+
readonly paging?: Record<string, {
|
|
25
|
+
size?: number | undefined;
|
|
26
|
+
}> | undefined;
|
|
27
|
+
schema: "network.xyo.module.config";
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
}, "schema"> & {
|
|
37
|
+
schema: string;
|
|
38
|
+
};
|
|
39
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
40
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
41
|
+
<TType_1 extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
42
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
43
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
44
|
+
readonly archivist?: string | undefined;
|
|
45
|
+
readonly labels?: import("..").Labels | undefined;
|
|
46
|
+
readonly name?: string | undefined;
|
|
47
|
+
readonly paging?: Record<string, {
|
|
48
|
+
size?: number | undefined;
|
|
49
|
+
}> | undefined;
|
|
50
|
+
schema: "network.xyo.module.config";
|
|
51
|
+
readonly security?: {
|
|
52
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
53
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
54
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly sign?: boolean | undefined;
|
|
57
|
+
readonly storeQueries?: boolean | undefined;
|
|
58
|
+
readonly timestamp?: boolean | undefined;
|
|
59
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
60
|
+
readonly archivist?: string | undefined;
|
|
61
|
+
readonly labels?: import("..").Labels | undefined;
|
|
62
|
+
readonly name?: string | undefined;
|
|
63
|
+
readonly paging?: Record<string, {
|
|
64
|
+
size?: number | undefined;
|
|
65
|
+
}> | undefined;
|
|
66
|
+
schema: "network.xyo.module.config";
|
|
67
|
+
readonly security?: {
|
|
68
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
69
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
70
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
readonly sign?: boolean | undefined;
|
|
73
|
+
readonly storeQueries?: boolean | undefined;
|
|
74
|
+
readonly timestamp?: boolean | undefined;
|
|
75
|
+
}, "schema"> & {
|
|
76
|
+
schema: string;
|
|
77
|
+
};
|
|
78
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
79
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
4
80
|
};
|
|
5
81
|
//# sourceMappingURL=asModuleObject.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA"}
|
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
export declare const asModuleObject: {
|
|
2
|
-
<TType extends import("./Module").Module
|
|
3
|
-
|
|
2
|
+
<TType extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
5
|
+
readonly archivist?: string | undefined;
|
|
6
|
+
readonly labels?: import("..").Labels | undefined;
|
|
7
|
+
readonly name?: string | undefined;
|
|
8
|
+
readonly paging?: Record<string, {
|
|
9
|
+
size?: number | undefined;
|
|
10
|
+
}> | undefined;
|
|
11
|
+
schema: "network.xyo.module.config";
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
21
|
+
readonly archivist?: string | undefined;
|
|
22
|
+
readonly labels?: import("..").Labels | undefined;
|
|
23
|
+
readonly name?: string | undefined;
|
|
24
|
+
readonly paging?: Record<string, {
|
|
25
|
+
size?: number | undefined;
|
|
26
|
+
}> | undefined;
|
|
27
|
+
schema: "network.xyo.module.config";
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
}, "schema"> & {
|
|
37
|
+
schema: string;
|
|
38
|
+
};
|
|
39
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
40
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
41
|
+
<TType_1 extends import("./Module").Module<import("@xyo-network/object").BaseParamsFields & {
|
|
42
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
43
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
44
|
+
readonly archivist?: string | undefined;
|
|
45
|
+
readonly labels?: import("..").Labels | undefined;
|
|
46
|
+
readonly name?: string | undefined;
|
|
47
|
+
readonly paging?: Record<string, {
|
|
48
|
+
size?: number | undefined;
|
|
49
|
+
}> | undefined;
|
|
50
|
+
schema: "network.xyo.module.config";
|
|
51
|
+
readonly security?: {
|
|
52
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
53
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
54
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly sign?: boolean | undefined;
|
|
57
|
+
readonly storeQueries?: boolean | undefined;
|
|
58
|
+
readonly timestamp?: boolean | undefined;
|
|
59
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
60
|
+
readonly archivist?: string | undefined;
|
|
61
|
+
readonly labels?: import("..").Labels | undefined;
|
|
62
|
+
readonly name?: string | undefined;
|
|
63
|
+
readonly paging?: Record<string, {
|
|
64
|
+
size?: number | undefined;
|
|
65
|
+
}> | undefined;
|
|
66
|
+
schema: "network.xyo.module.config";
|
|
67
|
+
readonly security?: {
|
|
68
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
69
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
70
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
readonly sign?: boolean | undefined;
|
|
73
|
+
readonly storeQueries?: boolean | undefined;
|
|
74
|
+
readonly timestamp?: boolean | undefined;
|
|
75
|
+
}, "schema"> & {
|
|
76
|
+
schema: string;
|
|
77
|
+
};
|
|
78
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
79
|
+
}, import("..").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
4
80
|
};
|
|
5
81
|
//# sourceMappingURL=asModuleObject.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA"}
|
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
import { ObjectTypeShape } from '@xyo-network/object';
|
|
2
2
|
import { Module } from './Module';
|
|
3
3
|
export declare const requiredModuleShape: ObjectTypeShape;
|
|
4
|
-
export declare const isModuleObject: import("@xyo-network/object").TypeCheck<Module
|
|
4
|
+
export declare const isModuleObject: import("@xyo-network/object").TypeCheck<Module<import("@xyo-network/object").BaseParamsFields & {
|
|
5
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
6
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
7
|
+
readonly archivist?: string | undefined;
|
|
8
|
+
readonly labels?: import("..").Labels | undefined;
|
|
9
|
+
readonly name?: string | undefined;
|
|
10
|
+
readonly paging?: Record<string, {
|
|
11
|
+
size?: number | undefined;
|
|
12
|
+
}> | undefined;
|
|
13
|
+
schema: "network.xyo.module.config";
|
|
14
|
+
readonly security?: {
|
|
15
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
16
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
17
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
readonly sign?: boolean | undefined;
|
|
20
|
+
readonly storeQueries?: boolean | undefined;
|
|
21
|
+
readonly timestamp?: boolean | undefined;
|
|
22
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
23
|
+
readonly archivist?: string | undefined;
|
|
24
|
+
readonly labels?: import("..").Labels | undefined;
|
|
25
|
+
readonly name?: string | undefined;
|
|
26
|
+
readonly paging?: Record<string, {
|
|
27
|
+
size?: number | undefined;
|
|
28
|
+
}> | undefined;
|
|
29
|
+
schema: "network.xyo.module.config";
|
|
30
|
+
readonly security?: {
|
|
31
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
32
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
33
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
readonly sign?: boolean | undefined;
|
|
36
|
+
readonly storeQueries?: boolean | undefined;
|
|
37
|
+
readonly timestamp?: boolean | undefined;
|
|
38
|
+
}, "schema"> & {
|
|
39
|
+
schema: string;
|
|
40
|
+
};
|
|
41
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
42
|
+
}, import("..").ModuleEventData<object>>>;
|
|
5
43
|
//# sourceMappingURL=isModuleObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,eAAO,MAAM,mBAAmB,EAAE,eAOjC,CAAA;AAID,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,eAAO,MAAM,mBAAmB,EAAE,eAOjC,CAAA;AAID,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAAsC,CAAA"}
|
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
import { ObjectTypeShape } from '@xyo-network/object';
|
|
2
2
|
import { Module } from './Module';
|
|
3
3
|
export declare const requiredModuleShape: ObjectTypeShape;
|
|
4
|
-
export declare const isModuleObject: import("@xyo-network/object").TypeCheck<Module
|
|
4
|
+
export declare const isModuleObject: import("@xyo-network/object").TypeCheck<Module<import("@xyo-network/object").BaseParamsFields & {
|
|
5
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
6
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
7
|
+
readonly archivist?: string | undefined;
|
|
8
|
+
readonly labels?: import("..").Labels | undefined;
|
|
9
|
+
readonly name?: string | undefined;
|
|
10
|
+
readonly paging?: Record<string, {
|
|
11
|
+
size?: number | undefined;
|
|
12
|
+
}> | undefined;
|
|
13
|
+
schema: "network.xyo.module.config";
|
|
14
|
+
readonly security?: {
|
|
15
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
16
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
17
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
readonly sign?: boolean | undefined;
|
|
20
|
+
readonly storeQueries?: boolean | undefined;
|
|
21
|
+
readonly timestamp?: boolean | undefined;
|
|
22
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
23
|
+
readonly archivist?: string | undefined;
|
|
24
|
+
readonly labels?: import("..").Labels | undefined;
|
|
25
|
+
readonly name?: string | undefined;
|
|
26
|
+
readonly paging?: Record<string, {
|
|
27
|
+
size?: number | undefined;
|
|
28
|
+
}> | undefined;
|
|
29
|
+
schema: "network.xyo.module.config";
|
|
30
|
+
readonly security?: {
|
|
31
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
32
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
33
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
readonly sign?: boolean | undefined;
|
|
36
|
+
readonly storeQueries?: boolean | undefined;
|
|
37
|
+
readonly timestamp?: boolean | undefined;
|
|
38
|
+
}, "schema"> & {
|
|
39
|
+
schema: string;
|
|
40
|
+
};
|
|
41
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
42
|
+
}, import("..").ModuleEventData<object>>>;
|
|
5
43
|
//# sourceMappingURL=isModuleObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,eAAO,MAAM,mBAAmB,EAAE,eAOjC,CAAA;AAID,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,eAAO,MAAM,mBAAmB,EAAE,eAOjC,CAAA;AAID,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAAsC,CAAA"}
|
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
import { ObjectTypeShape } from '@xyo-network/object';
|
|
2
2
|
import { Module } from './Module';
|
|
3
3
|
export declare const requiredModuleShape: ObjectTypeShape;
|
|
4
|
-
export declare const isModuleObject: import("@xyo-network/object").TypeCheck<Module
|
|
4
|
+
export declare const isModuleObject: import("@xyo-network/object").TypeCheck<Module<import("@xyo-network/object").BaseParamsFields & {
|
|
5
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
6
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
7
|
+
readonly archivist?: string | undefined;
|
|
8
|
+
readonly labels?: import("..").Labels | undefined;
|
|
9
|
+
readonly name?: string | undefined;
|
|
10
|
+
readonly paging?: Record<string, {
|
|
11
|
+
size?: number | undefined;
|
|
12
|
+
}> | undefined;
|
|
13
|
+
schema: "network.xyo.module.config";
|
|
14
|
+
readonly security?: {
|
|
15
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
16
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
17
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
readonly sign?: boolean | undefined;
|
|
20
|
+
readonly storeQueries?: boolean | undefined;
|
|
21
|
+
readonly timestamp?: boolean | undefined;
|
|
22
|
+
} & import("..").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
23
|
+
readonly archivist?: string | undefined;
|
|
24
|
+
readonly labels?: import("..").Labels | undefined;
|
|
25
|
+
readonly name?: string | undefined;
|
|
26
|
+
readonly paging?: Record<string, {
|
|
27
|
+
size?: number | undefined;
|
|
28
|
+
}> | undefined;
|
|
29
|
+
schema: "network.xyo.module.config";
|
|
30
|
+
readonly security?: {
|
|
31
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
32
|
+
readonly allowed?: Record<string, (string | import("..").CosigningAddressSet)[]> | undefined;
|
|
33
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
readonly sign?: boolean | undefined;
|
|
36
|
+
readonly storeQueries?: boolean | undefined;
|
|
37
|
+
readonly timestamp?: boolean | undefined;
|
|
38
|
+
}, "schema"> & {
|
|
39
|
+
schema: string;
|
|
40
|
+
};
|
|
41
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
42
|
+
}, import("..").ModuleEventData<object>>>;
|
|
5
43
|
//# sourceMappingURL=isModuleObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,eAAO,MAAM,mBAAmB,EAAE,eAOjC,CAAA;AAID,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,eAAO,MAAM,mBAAmB,EAAE,eAOjC,CAAA;AAID,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAAsC,CAAA"}
|