@xyo-network/module-model 3.6.0-rc.6 → 3.6.0-rc.8
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/Config/Fields.d.ts +0 -2
- package/dist/neutral/Config/Fields.d.ts.map +1 -1
- package/dist/neutral/instance/ModuleFilter.d.ts +3 -6
- package/dist/neutral/instance/ModuleFilter.d.ts.map +1 -1
- package/dist/neutral/instance/ModuleResolver.d.ts +1 -2
- package/dist/neutral/instance/ModuleResolver.d.ts.map +1 -1
- package/dist/neutral/instance/asModuleInstance.d.ts +3 -6
- package/dist/neutral/instance/asModuleInstance.d.ts.map +1 -1
- package/dist/neutral/instance/attachable/asAttachableInstance.d.ts +3 -6
- package/dist/neutral/instance/attachable/asAttachableInstance.d.ts.map +1 -1
- package/dist/neutral/module/asModule.d.ts +3 -6
- package/dist/neutral/module/asModule.d.ts.map +1 -1
- package/dist/neutral/module/asModuleObject.d.ts +3 -6
- package/dist/neutral/module/asModuleObject.d.ts.map +1 -1
- package/dist/neutral/module/isModuleObject.d.ts +1 -2
- package/dist/neutral/module/isModuleObject.d.ts.map +1 -1
- package/dist/neutral/withModule.d.ts +2 -4
- package/dist/neutral/withModule.d.ts.map +1 -1
- package/package.json +15 -15
- package/src/Config/Fields.ts +0 -3
|
@@ -9,8 +9,6 @@ export interface ModuleConfigFields {
|
|
|
9
9
|
readonly allowedQueries?: Schema[] | undefined;
|
|
10
10
|
/** @field The name/address of the Archivist to use for this module */
|
|
11
11
|
readonly archivist?: ModuleIdentifier;
|
|
12
|
-
/** @field Enable certifying parent node identity in each query */
|
|
13
|
-
readonly certify?: boolean;
|
|
14
12
|
readonly consoleLogger?: LogLevel;
|
|
15
13
|
/**
|
|
16
14
|
* @field The labels used for this module. If a label is specified, then the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fields.d.ts","sourceRoot":"","sources":["../../../src/Config/Fields.ts"],"names":[],"mappings":"AAAA,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AC,MAAM,CAAC,EAAE,MAAM,CAAA;IAExB,gIAAgI;IAChI,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAA;IAE1B,yCAAyC;IACzC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAEnD,QAAQ,CAAC,KAAK,CAAC,EAAE,WAAW,CAAA;IAE5B;sFACkF;IAClF,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;IAExC,8BAA8B;IAC9B,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;IAEvB,8EAA8E;IAC9E,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAA;IAE/B,qDAAqD;IACrD,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAC7B"}
|
|
@@ -7,7 +7,7 @@ export declare const isAddressModuleFilter: (value: unknown) => value is Address
|
|
|
7
7
|
addToResolvers?: boolean;
|
|
8
8
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
9
9
|
allowNameResolution?: boolean;
|
|
10
|
-
config: import("@
|
|
10
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
11
11
|
schema: import("@xyo-network/payload-model").Schema;
|
|
12
12
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
13
13
|
readonly archiving?: {
|
|
@@ -16,7 +16,6 @@ export declare const isAddressModuleFilter: (value: unknown) => value is Address
|
|
|
16
16
|
} | undefined;
|
|
17
17
|
readonly allowedQueries?: string[] | undefined;
|
|
18
18
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
19
|
-
readonly certify?: boolean | undefined;
|
|
20
19
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
21
20
|
readonly labels?: {
|
|
22
21
|
[x: string]: string | undefined;
|
|
@@ -52,7 +51,7 @@ export declare const isNameModuleFilter: (value: unknown) => value is NameObject
|
|
|
52
51
|
addToResolvers?: boolean;
|
|
53
52
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
54
53
|
allowNameResolution?: boolean;
|
|
55
|
-
config: import("@
|
|
54
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
56
55
|
schema: import("@xyo-network/payload-model").Schema;
|
|
57
56
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
58
57
|
readonly archiving?: {
|
|
@@ -61,7 +60,6 @@ export declare const isNameModuleFilter: (value: unknown) => value is NameObject
|
|
|
61
60
|
} | undefined;
|
|
62
61
|
readonly allowedQueries?: string[] | undefined;
|
|
63
62
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
64
|
-
readonly certify?: boolean | undefined;
|
|
65
63
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
66
64
|
readonly labels?: {
|
|
67
65
|
[x: string]: string | undefined;
|
|
@@ -97,7 +95,7 @@ export declare const isQueryModuleFilter: (value: unknown) => value is QueryObje
|
|
|
97
95
|
addToResolvers?: boolean;
|
|
98
96
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
99
97
|
allowNameResolution?: boolean;
|
|
100
|
-
config: import("@
|
|
98
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
101
99
|
schema: import("@xyo-network/payload-model").Schema;
|
|
102
100
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
103
101
|
readonly archiving?: {
|
|
@@ -106,7 +104,6 @@ export declare const isQueryModuleFilter: (value: unknown) => value is QueryObje
|
|
|
106
104
|
} | undefined;
|
|
107
105
|
readonly allowedQueries?: string[] | undefined;
|
|
108
106
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
109
|
-
readonly certify?: boolean | undefined;
|
|
110
107
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
111
108
|
readonly labels?: {
|
|
112
109
|
[x: string]: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleFilter.d.ts","sourceRoot":"","sources":["../../../src/instance/ModuleFilter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,mBAAmB,CAAA;AAO1B,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAEjH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"ModuleFilter.d.ts","sourceRoot":"","sources":["../../../src/instance/ModuleFilter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,mBAAmB,CAAA;AAO1B,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;CAAG;AAEjH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAwC,CAAA;AAE1E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAqC,CAAA;AAEpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAsC,CAAA;AAEtE,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,eAAe,CAAC,CAAC,CAAC,CAAA;AAE3F,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,mBAAmB,CAAC,CAAC,CAAC,CAAA;AAEnG,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAE7F,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;AAE/F,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,YAAY,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -9,7 +9,7 @@ export declare const isModuleResolver: (value?: unknown) => value is ObjectResol
|
|
|
9
9
|
addToResolvers?: boolean;
|
|
10
10
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
11
11
|
allowNameResolution?: boolean;
|
|
12
|
-
config: import("@
|
|
12
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
13
13
|
schema: import("@xyo-network/payload-model").Schema;
|
|
14
14
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
15
15
|
readonly archiving?: {
|
|
@@ -18,7 +18,6 @@ export declare const isModuleResolver: (value?: unknown) => value is ObjectResol
|
|
|
18
18
|
} | undefined;
|
|
19
19
|
readonly allowedQueries?: string[] | undefined;
|
|
20
20
|
readonly archivist?: ModuleIdentifier | undefined;
|
|
21
|
-
readonly certify?: boolean | undefined;
|
|
22
21
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
23
22
|
readonly labels?: {
|
|
24
23
|
[x: string]: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleResolver.d.ts","sourceRoot":"","sources":["../../../src/instance/ModuleResolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,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AAO,CAAC,EAAE,kBAAkB;IAC1I,WAAW,EAAE,CAAC,QAAQ,EAAE,sBAAsB,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;IAChE,cAAc,EAAE,CAAC,QAAQ,EAAE,sBAAsB,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;CACpE"}
|
|
@@ -4,7 +4,7 @@ export declare const asModuleInstance: {
|
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("@
|
|
7
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
8
8
|
schema: import("@xyo-network/payload-model").Schema;
|
|
9
9
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
10
10
|
readonly archiving?: {
|
|
@@ -13,7 +13,6 @@ export declare const asModuleInstance: {
|
|
|
13
13
|
} | undefined;
|
|
14
14
|
readonly allowedQueries?: string[] | undefined;
|
|
15
15
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
16
|
-
readonly certify?: boolean | undefined;
|
|
17
16
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
18
17
|
readonly labels?: {
|
|
19
18
|
[x: string]: string | undefined;
|
|
@@ -49,7 +48,7 @@ export declare const asModuleInstance: {
|
|
|
49
48
|
addToResolvers?: boolean;
|
|
50
49
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
51
50
|
allowNameResolution?: boolean;
|
|
52
|
-
config: import("@
|
|
51
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
53
52
|
schema: import("@xyo-network/payload-model").Schema;
|
|
54
53
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
55
54
|
readonly archiving?: {
|
|
@@ -58,7 +57,6 @@ export declare const asModuleInstance: {
|
|
|
58
57
|
} | undefined;
|
|
59
58
|
readonly allowedQueries?: string[] | undefined;
|
|
60
59
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
61
|
-
readonly certify?: boolean | undefined;
|
|
62
60
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
63
61
|
readonly labels?: {
|
|
64
62
|
[x: string]: string | undefined;
|
|
@@ -93,7 +91,7 @@ export declare const asModuleInstance: {
|
|
|
93
91
|
addToResolvers?: boolean;
|
|
94
92
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
95
93
|
allowNameResolution?: boolean;
|
|
96
|
-
config: import("@
|
|
94
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
97
95
|
schema: import("@xyo-network/payload-model").Schema;
|
|
98
96
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
99
97
|
readonly archiving?: {
|
|
@@ -102,7 +100,6 @@ export declare const asModuleInstance: {
|
|
|
102
100
|
} | undefined;
|
|
103
101
|
readonly allowedQueries?: string[] | undefined;
|
|
104
102
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
105
|
-
readonly certify?: boolean | undefined;
|
|
106
103
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
107
104
|
readonly labels?: {
|
|
108
105
|
[x: string]: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asModuleInstance.d.ts","sourceRoot":"","sources":["../../../src/instance/asModuleInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"asModuleInstance.d.ts","sourceRoot":"","sources":["../../../src/instance/asModuleInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEACyC,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAAgG,gBAAoB;CADxR,CAAA"}
|
|
@@ -4,7 +4,7 @@ export declare const asAttachableModuleInstance: {
|
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("@
|
|
7
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
8
8
|
schema: import("@xyo-network/payload-model").Schema;
|
|
9
9
|
readonly name?: import("../../ModuleIdentifier.ts").ModuleName | undefined;
|
|
10
10
|
readonly archiving?: {
|
|
@@ -13,7 +13,6 @@ export declare const asAttachableModuleInstance: {
|
|
|
13
13
|
} | undefined;
|
|
14
14
|
readonly allowedQueries?: string[] | undefined;
|
|
15
15
|
readonly archivist?: import("../../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
16
|
-
readonly certify?: boolean | undefined;
|
|
17
16
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
18
17
|
readonly labels?: {
|
|
19
18
|
[x: string]: string | undefined;
|
|
@@ -49,7 +48,7 @@ export declare const asAttachableModuleInstance: {
|
|
|
49
48
|
addToResolvers?: boolean;
|
|
50
49
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
51
50
|
allowNameResolution?: boolean;
|
|
52
|
-
config: import("@
|
|
51
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
53
52
|
schema: import("@xyo-network/payload-model").Schema;
|
|
54
53
|
readonly name?: import("../../ModuleIdentifier.ts").ModuleName | undefined;
|
|
55
54
|
readonly archiving?: {
|
|
@@ -58,7 +57,6 @@ export declare const asAttachableModuleInstance: {
|
|
|
58
57
|
} | undefined;
|
|
59
58
|
readonly allowedQueries?: string[] | undefined;
|
|
60
59
|
readonly archivist?: import("../../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
61
|
-
readonly certify?: boolean | undefined;
|
|
62
60
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
63
61
|
readonly labels?: {
|
|
64
62
|
[x: string]: string | undefined;
|
|
@@ -93,7 +91,7 @@ export declare const asAttachableModuleInstance: {
|
|
|
93
91
|
addToResolvers?: boolean;
|
|
94
92
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
95
93
|
allowNameResolution?: boolean;
|
|
96
|
-
config: import("@
|
|
94
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
97
95
|
schema: import("@xyo-network/payload-model").Schema;
|
|
98
96
|
readonly name?: import("../../ModuleIdentifier.ts").ModuleName | undefined;
|
|
99
97
|
readonly archiving?: {
|
|
@@ -102,7 +100,6 @@ export declare const asAttachableModuleInstance: {
|
|
|
102
100
|
} | undefined;
|
|
103
101
|
readonly allowedQueries?: string[] | undefined;
|
|
104
102
|
readonly archivist?: import("../../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
105
|
-
readonly certify?: boolean | undefined;
|
|
106
103
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
107
104
|
readonly labels?: {
|
|
108
105
|
[x: string]: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../../src/instance/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../../src/instance/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEACH,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EAAgG,gBAAoB;CADlO,CAAA"}
|
|
@@ -4,7 +4,7 @@ export declare const asModule: {
|
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("@
|
|
7
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
8
8
|
schema: import("@xyo-network/payload-model").Schema;
|
|
9
9
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
10
10
|
readonly archiving?: {
|
|
@@ -13,7 +13,6 @@ export declare const asModule: {
|
|
|
13
13
|
} | undefined;
|
|
14
14
|
readonly allowedQueries?: string[] | undefined;
|
|
15
15
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
16
|
-
readonly certify?: boolean | undefined;
|
|
17
16
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
18
17
|
readonly labels?: {
|
|
19
18
|
[x: string]: string | undefined;
|
|
@@ -49,7 +48,7 @@ export declare const asModule: {
|
|
|
49
48
|
addToResolvers?: boolean;
|
|
50
49
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
51
50
|
allowNameResolution?: boolean;
|
|
52
|
-
config: import("@
|
|
51
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
53
52
|
schema: import("@xyo-network/payload-model").Schema;
|
|
54
53
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
55
54
|
readonly archiving?: {
|
|
@@ -58,7 +57,6 @@ export declare const asModule: {
|
|
|
58
57
|
} | undefined;
|
|
59
58
|
readonly allowedQueries?: string[] | undefined;
|
|
60
59
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
61
|
-
readonly certify?: boolean | undefined;
|
|
62
60
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
63
61
|
readonly labels?: {
|
|
64
62
|
[x: string]: string | undefined;
|
|
@@ -93,7 +91,7 @@ export declare const asModule: {
|
|
|
93
91
|
addToResolvers?: boolean;
|
|
94
92
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
95
93
|
allowNameResolution?: boolean;
|
|
96
|
-
config: import("@
|
|
94
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
97
95
|
schema: import("@xyo-network/payload-model").Schema;
|
|
98
96
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
99
97
|
readonly archiving?: {
|
|
@@ -102,7 +100,6 @@ export declare const asModule: {
|
|
|
102
100
|
} | undefined;
|
|
103
101
|
readonly allowedQueries?: string[] | undefined;
|
|
104
102
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
105
|
-
readonly certify?: boolean | undefined;
|
|
106
103
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
107
104
|
readonly labels?: {
|
|
108
105
|
[x: string]: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asModule.d.ts","sourceRoot":"","sources":["../../../src/module/asModule.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"asModule.d.ts","sourceRoot":"","sources":["../../../src/module/asModule.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEACiF,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAAgG,gBAAoB;CADxU,CAAA"}
|
|
@@ -4,7 +4,7 @@ export declare const asModuleObject: {
|
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
6
6
|
allowNameResolution?: boolean;
|
|
7
|
-
config: import("@
|
|
7
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
8
8
|
schema: import("@xyo-network/payload-model").Schema;
|
|
9
9
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
10
10
|
readonly archiving?: {
|
|
@@ -13,7 +13,6 @@ export declare const asModuleObject: {
|
|
|
13
13
|
} | undefined;
|
|
14
14
|
readonly allowedQueries?: string[] | undefined;
|
|
15
15
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
16
|
-
readonly certify?: boolean | undefined;
|
|
17
16
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
18
17
|
readonly labels?: {
|
|
19
18
|
[x: string]: string | undefined;
|
|
@@ -49,7 +48,7 @@ export declare const asModuleObject: {
|
|
|
49
48
|
addToResolvers?: boolean;
|
|
50
49
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
51
50
|
allowNameResolution?: boolean;
|
|
52
|
-
config: import("@
|
|
51
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
53
52
|
schema: import("@xyo-network/payload-model").Schema;
|
|
54
53
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
55
54
|
readonly archiving?: {
|
|
@@ -58,7 +57,6 @@ export declare const asModuleObject: {
|
|
|
58
57
|
} | undefined;
|
|
59
58
|
readonly allowedQueries?: string[] | undefined;
|
|
60
59
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
61
|
-
readonly certify?: boolean | undefined;
|
|
62
60
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
63
61
|
readonly labels?: {
|
|
64
62
|
[x: string]: string | undefined;
|
|
@@ -93,7 +91,7 @@ export declare const asModuleObject: {
|
|
|
93
91
|
addToResolvers?: boolean;
|
|
94
92
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
95
93
|
allowNameResolution?: boolean;
|
|
96
|
-
config: import("@
|
|
94
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
97
95
|
schema: import("@xyo-network/payload-model").Schema;
|
|
98
96
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
99
97
|
readonly archiving?: {
|
|
@@ -102,7 +100,6 @@ export declare const asModuleObject: {
|
|
|
102
100
|
} | undefined;
|
|
103
101
|
readonly allowedQueries?: string[] | undefined;
|
|
104
102
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
105
|
-
readonly certify?: boolean | undefined;
|
|
106
103
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
107
104
|
readonly labels?: {
|
|
108
105
|
[x: string]: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/asModuleObject.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"asModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/asModuleObject.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEACmD,iBAAiB,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAA+E,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAAgG,gBAAoB;CADpS,CAAA"}
|
|
@@ -6,7 +6,7 @@ export declare const isModuleObject: import("@xylabs/object").TypeCheck<Module<i
|
|
|
6
6
|
addToResolvers?: boolean;
|
|
7
7
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
8
8
|
allowNameResolution?: boolean;
|
|
9
|
-
config: import("@
|
|
9
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
10
10
|
schema: import("@xyo-network/payload-model").Schema;
|
|
11
11
|
readonly name?: import("../ModuleIdentifier.ts").ModuleName | undefined;
|
|
12
12
|
readonly archiving?: {
|
|
@@ -15,7 +15,6 @@ export declare const isModuleObject: import("@xylabs/object").TypeCheck<Module<i
|
|
|
15
15
|
} | undefined;
|
|
16
16
|
readonly allowedQueries?: string[] | undefined;
|
|
17
17
|
readonly archivist?: import("../ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
18
|
-
readonly certify?: boolean | undefined;
|
|
19
18
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
20
19
|
readonly labels?: {
|
|
21
20
|
[x: string]: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAErD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,eAAO,MAAM,mBAAmB,EAAE,eAIjC,CAAA;AAID,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"isModuleObject.d.ts","sourceRoot":"","sources":["../../../src/module/isModuleObject.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAErD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,eAAO,MAAM,mBAAmB,EAAE,eAIjC,CAAA;AAID,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAsC,CAAA"}
|
|
@@ -7,7 +7,7 @@ export declare const withModule: <R>(mod: any, closure: (mod: import("./module/M
|
|
|
7
7
|
addToResolvers?: boolean;
|
|
8
8
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
9
9
|
allowNameResolution?: boolean;
|
|
10
|
-
config: import("@
|
|
10
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
11
11
|
schema: import("@xyo-network/payload-model").Schema;
|
|
12
12
|
readonly name?: import("./ModuleIdentifier.ts").ModuleName | undefined;
|
|
13
13
|
readonly archiving?: {
|
|
@@ -16,7 +16,6 @@ export declare const withModule: <R>(mod: any, closure: (mod: import("./module/M
|
|
|
16
16
|
} | undefined;
|
|
17
17
|
readonly allowedQueries?: string[] | undefined;
|
|
18
18
|
readonly archivist?: import("./ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
19
|
-
readonly certify?: boolean | undefined;
|
|
20
19
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
21
20
|
readonly labels?: {
|
|
22
21
|
[x: string]: string | undefined;
|
|
@@ -52,7 +51,7 @@ export declare const withModuleInstance: <R>(mod: any, closure: (mod: import("./
|
|
|
52
51
|
addToResolvers?: boolean;
|
|
53
52
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
54
53
|
allowNameResolution?: boolean;
|
|
55
|
-
config: import("@
|
|
54
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
56
55
|
schema: import("@xyo-network/payload-model").Schema;
|
|
57
56
|
readonly name?: import("./ModuleIdentifier.ts").ModuleName | undefined;
|
|
58
57
|
readonly archiving?: {
|
|
@@ -61,7 +60,6 @@ export declare const withModuleInstance: <R>(mod: any, closure: (mod: import("./
|
|
|
61
60
|
} | undefined;
|
|
62
61
|
readonly allowedQueries?: string[] | undefined;
|
|
63
62
|
readonly archivist?: import("./ModuleIdentifier.ts").ModuleIdentifier | undefined;
|
|
64
|
-
readonly certify?: boolean | undefined;
|
|
65
63
|
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
66
64
|
readonly labels?: {
|
|
67
65
|
[x: string]: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAK/C,eAAO,MAAM,WAAW;aACb,CAAC,SAAS,MAAM,aAAa,SAAS,CAAC,CAAC,CAAC,MACxC,CAAC,OAEF,GAAG,WAEC,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,KACrB,CAAC,GAAG,SAAS;CAInB,CAAA;AAED,eAAO,MAAM,UAAU,GAXX,CAAC,OAEF,GAAG
|
|
1
|
+
{"version":3,"file":"withModule.d.ts","sourceRoot":"","sources":["../../src/withModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAK/C,eAAO,MAAM,WAAW;aACb,CAAC,SAAS,MAAM,aAAa,SAAS,CAAC,CAAC,CAAC,MACxC,CAAC,OAEF,GAAG,WAEC,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,KACrB,CAAC,GAAG,SAAS;CAInB,CAAA;AAED,eAAO,MAAM,UAAU,GAXX,CAAC,OAEF,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEASwC,CAAA;AACtD,eAAO,MAAM,kBAAkB,GAZnB,CAAC,OAEF,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAUwD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/module-model",
|
|
3
|
-
"version": "3.6.0-rc.
|
|
3
|
+
"version": "3.6.0-rc.8",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/assert": "^4.4.
|
|
33
|
-
"@xylabs/exists": "^4.4.
|
|
34
|
-
"@xylabs/hex": "^4.4.
|
|
35
|
-
"@xylabs/logger": "^4.4.
|
|
36
|
-
"@xylabs/object": "^4.4.
|
|
37
|
-
"@xylabs/promise": "^4.4.
|
|
38
|
-
"@xylabs/retry": "^4.4.
|
|
39
|
-
"@xylabs/typeof": "^4.4.
|
|
40
|
-
"@xyo-network/account-model": "^3.6.0-rc.
|
|
41
|
-
"@xyo-network/boundwitness-model": "^3.6.0-rc.
|
|
42
|
-
"@xyo-network/manifest-model": "^3.6.0-rc.
|
|
43
|
-
"@xyo-network/module-events": "^3.6.0-rc.
|
|
44
|
-
"@xyo-network/payload-model": "^3.6.0-rc.
|
|
32
|
+
"@xylabs/assert": "^4.4.16",
|
|
33
|
+
"@xylabs/exists": "^4.4.16",
|
|
34
|
+
"@xylabs/hex": "^4.4.16",
|
|
35
|
+
"@xylabs/logger": "^4.4.16",
|
|
36
|
+
"@xylabs/object": "^4.4.16",
|
|
37
|
+
"@xylabs/promise": "^4.4.16",
|
|
38
|
+
"@xylabs/retry": "^4.4.16",
|
|
39
|
+
"@xylabs/typeof": "^4.4.16",
|
|
40
|
+
"@xyo-network/account-model": "^3.6.0-rc.8",
|
|
41
|
+
"@xyo-network/boundwitness-model": "^3.6.0-rc.8",
|
|
42
|
+
"@xyo-network/manifest-model": "^3.6.0-rc.8",
|
|
43
|
+
"@xyo-network/module-events": "^3.6.0-rc.8",
|
|
44
|
+
"@xyo-network/payload-model": "^3.6.0-rc.8"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@xylabs/ts-scripts-yarn3": "^4.2.4",
|
|
48
48
|
"@xylabs/tsconfig": "^4.2.4",
|
|
49
|
-
"@xylabs/vitest-extended": "^4.4.
|
|
49
|
+
"@xylabs/vitest-extended": "^4.4.16",
|
|
50
50
|
"typescript": "^5.7.2",
|
|
51
51
|
"vitest": "^2.1.8"
|
|
52
52
|
},
|
package/src/Config/Fields.ts
CHANGED
|
@@ -13,9 +13,6 @@ export interface ModuleConfigFields {
|
|
|
13
13
|
/** @field The name/address of the Archivist to use for this module */
|
|
14
14
|
readonly archivist?: ModuleIdentifier
|
|
15
15
|
|
|
16
|
-
/** @field Enable certifying parent node identity in each query */
|
|
17
|
-
readonly certify?: boolean
|
|
18
|
-
|
|
19
16
|
readonly consoleLogger?: LogLevel
|
|
20
17
|
|
|
21
18
|
/**
|