@xyo-network/node-model 2.93.3 → 2.93.5

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.
Files changed (99) hide show
  1. package/dist/browser/Node.d.cts +2 -2
  2. package/dist/browser/Node.d.cts.map +1 -1
  3. package/dist/browser/Node.d.mts +2 -2
  4. package/dist/browser/Node.d.mts.map +1 -1
  5. package/dist/browser/Node.d.ts +2 -2
  6. package/dist/browser/Node.d.ts.map +1 -1
  7. package/dist/browser/attachable/AttachableInstance.d.cts +10 -0
  8. package/dist/browser/attachable/AttachableInstance.d.cts.map +1 -0
  9. package/dist/browser/attachable/AttachableInstance.d.mts +10 -0
  10. package/dist/browser/attachable/AttachableInstance.d.mts.map +1 -0
  11. package/dist/browser/attachable/AttachableInstance.d.ts +10 -0
  12. package/dist/browser/attachable/AttachableInstance.d.ts.map +1 -0
  13. package/dist/browser/attachable/asAttachableInstance.d.cts +44 -0
  14. package/dist/browser/attachable/asAttachableInstance.d.cts.map +1 -0
  15. package/dist/browser/attachable/asAttachableInstance.d.mts +44 -0
  16. package/dist/browser/attachable/asAttachableInstance.d.mts.map +1 -0
  17. package/dist/browser/attachable/asAttachableInstance.d.ts +44 -0
  18. package/dist/browser/attachable/asAttachableInstance.d.ts.map +1 -0
  19. package/dist/browser/attachable/index.d.cts +4 -0
  20. package/dist/browser/attachable/index.d.cts.map +1 -0
  21. package/dist/browser/attachable/index.d.mts +4 -0
  22. package/dist/browser/attachable/index.d.mts.map +1 -0
  23. package/dist/browser/attachable/index.d.ts +4 -0
  24. package/dist/browser/attachable/index.d.ts.map +1 -0
  25. package/dist/browser/attachable/isAttachableInstance.d.cts +5 -0
  26. package/dist/browser/attachable/isAttachableInstance.d.cts.map +1 -0
  27. package/dist/browser/attachable/isAttachableInstance.d.mts +5 -0
  28. package/dist/browser/attachable/isAttachableInstance.d.mts.map +1 -0
  29. package/dist/browser/attachable/isAttachableInstance.d.ts +5 -0
  30. package/dist/browser/attachable/isAttachableInstance.d.ts.map +1 -0
  31. package/dist/browser/index.cjs +37 -4
  32. package/dist/browser/index.cjs.map +1 -1
  33. package/dist/browser/index.d.cts +1 -0
  34. package/dist/browser/index.d.cts.map +1 -1
  35. package/dist/browser/index.d.mts +1 -0
  36. package/dist/browser/index.d.mts.map +1 -1
  37. package/dist/browser/index.d.ts +1 -0
  38. package/dist/browser/index.d.ts.map +1 -1
  39. package/dist/browser/index.js +39 -4
  40. package/dist/browser/index.js.map +1 -1
  41. package/dist/browser/typeChecks.d.cts +20 -0
  42. package/dist/browser/typeChecks.d.cts.map +1 -1
  43. package/dist/browser/typeChecks.d.mts +20 -0
  44. package/dist/browser/typeChecks.d.mts.map +1 -1
  45. package/dist/browser/typeChecks.d.ts +20 -0
  46. package/dist/browser/typeChecks.d.ts.map +1 -1
  47. package/dist/node/Node.d.cts +2 -2
  48. package/dist/node/Node.d.cts.map +1 -1
  49. package/dist/node/Node.d.mts +2 -2
  50. package/dist/node/Node.d.mts.map +1 -1
  51. package/dist/node/Node.d.ts +2 -2
  52. package/dist/node/Node.d.ts.map +1 -1
  53. package/dist/node/attachable/AttachableInstance.d.cts +10 -0
  54. package/dist/node/attachable/AttachableInstance.d.cts.map +1 -0
  55. package/dist/node/attachable/AttachableInstance.d.mts +10 -0
  56. package/dist/node/attachable/AttachableInstance.d.mts.map +1 -0
  57. package/dist/node/attachable/AttachableInstance.d.ts +10 -0
  58. package/dist/node/attachable/AttachableInstance.d.ts.map +1 -0
  59. package/dist/node/attachable/asAttachableInstance.d.cts +44 -0
  60. package/dist/node/attachable/asAttachableInstance.d.cts.map +1 -0
  61. package/dist/node/attachable/asAttachableInstance.d.mts +44 -0
  62. package/dist/node/attachable/asAttachableInstance.d.mts.map +1 -0
  63. package/dist/node/attachable/asAttachableInstance.d.ts +44 -0
  64. package/dist/node/attachable/asAttachableInstance.d.ts.map +1 -0
  65. package/dist/node/attachable/index.d.cts +4 -0
  66. package/dist/node/attachable/index.d.cts.map +1 -0
  67. package/dist/node/attachable/index.d.mts +4 -0
  68. package/dist/node/attachable/index.d.mts.map +1 -0
  69. package/dist/node/attachable/index.d.ts +4 -0
  70. package/dist/node/attachable/index.d.ts.map +1 -0
  71. package/dist/node/attachable/isAttachableInstance.d.cts +5 -0
  72. package/dist/node/attachable/isAttachableInstance.d.cts.map +1 -0
  73. package/dist/node/attachable/isAttachableInstance.d.mts +5 -0
  74. package/dist/node/attachable/isAttachableInstance.d.mts.map +1 -0
  75. package/dist/node/attachable/isAttachableInstance.d.ts +5 -0
  76. package/dist/node/attachable/isAttachableInstance.d.ts.map +1 -0
  77. package/dist/node/index.cjs +40 -4
  78. package/dist/node/index.cjs.map +1 -1
  79. package/dist/node/index.d.cts +1 -0
  80. package/dist/node/index.d.cts.map +1 -1
  81. package/dist/node/index.d.mts +1 -0
  82. package/dist/node/index.d.mts.map +1 -1
  83. package/dist/node/index.d.ts +1 -0
  84. package/dist/node/index.d.ts.map +1 -1
  85. package/dist/node/index.js +38 -4
  86. package/dist/node/index.js.map +1 -1
  87. package/dist/node/typeChecks.d.cts +20 -0
  88. package/dist/node/typeChecks.d.cts.map +1 -1
  89. package/dist/node/typeChecks.d.mts +20 -0
  90. package/dist/node/typeChecks.d.mts.map +1 -1
  91. package/dist/node/typeChecks.d.ts +20 -0
  92. package/dist/node/typeChecks.d.ts.map +1 -1
  93. package/package.json +4 -4
  94. package/src/Node.ts +2 -2
  95. package/src/attachable/AttachableInstance.ts +14 -0
  96. package/src/attachable/asAttachableInstance.ts +5 -0
  97. package/src/attachable/index.ts +3 -0
  98. package/src/attachable/isAttachableInstance.ts +15 -0
  99. package/src/index.ts +1 -0
@@ -1,6 +1,7 @@
1
1
  import { NodeInstance, NodeModule } from './Node';
2
2
  export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInstance<import("@xylabs/object").BaseParamsFields & {
3
3
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
4
+ addToResolvers?: boolean | undefined;
4
5
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
5
6
  archivist?: string | undefined;
6
7
  schema: "network.xyo.node.config";
@@ -10,9 +11,11 @@ export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInst
10
11
  schema: string;
11
12
  };
12
13
  ephemeralQueryAccountEnabled?: boolean | undefined;
14
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
13
15
  }, import("./Node").NodeModuleEventData>>;
14
16
  export declare const isNodeModule: import("@xyo-network/module-model").ModuleTypeCheck<NodeModule<import("@xylabs/object").BaseParamsFields & {
15
17
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
18
+ addToResolvers?: boolean | undefined;
16
19
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
17
20
  archivist?: string | undefined;
18
21
  schema: "network.xyo.node.config";
@@ -22,10 +25,12 @@ export declare const isNodeModule: import("@xyo-network/module-model").ModuleTyp
22
25
  schema: string;
23
26
  };
24
27
  ephemeralQueryAccountEnabled?: boolean | undefined;
28
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
25
29
  }, import("./Node").NodeModuleEventData>>;
26
30
  export declare const asNodeModule: {
27
31
  <TType extends NodeModule<import("@xylabs/object").BaseParamsFields & {
28
32
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
33
+ addToResolvers?: boolean | undefined;
29
34
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
30
35
  archivist?: string | undefined;
31
36
  schema: "network.xyo.node.config";
@@ -35,9 +40,11 @@ export declare const asNodeModule: {
35
40
  schema: string;
36
41
  };
37
42
  ephemeralQueryAccountEnabled?: boolean | undefined;
43
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
38
44
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
39
45
  <TType_1 extends NodeModule<import("@xylabs/object").BaseParamsFields & {
40
46
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
47
+ addToResolvers?: boolean | undefined;
41
48
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
42
49
  archivist?: string | undefined;
43
50
  schema: "network.xyo.node.config";
@@ -47,8 +54,10 @@ export declare const asNodeModule: {
47
54
  schema: string;
48
55
  };
49
56
  ephemeralQueryAccountEnabled?: boolean | undefined;
57
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
50
58
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<NodeModule<import("@xylabs/object").BaseParamsFields & {
51
59
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
60
+ addToResolvers?: boolean | undefined;
52
61
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
53
62
  archivist?: string | undefined;
54
63
  schema: "network.xyo.node.config";
@@ -58,11 +67,13 @@ export declare const asNodeModule: {
58
67
  schema: string;
59
68
  };
60
69
  ephemeralQueryAccountEnabled?: boolean | undefined;
70
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
61
71
  }, import("./Node").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
62
72
  };
63
73
  export declare const asNodeInstance: {
64
74
  <TType extends NodeInstance<import("@xylabs/object").BaseParamsFields & {
65
75
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
76
+ addToResolvers?: boolean | undefined;
66
77
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
67
78
  archivist?: string | undefined;
68
79
  schema: "network.xyo.node.config";
@@ -72,9 +83,11 @@ export declare const asNodeInstance: {
72
83
  schema: string;
73
84
  };
74
85
  ephemeralQueryAccountEnabled?: boolean | undefined;
86
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
75
87
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
76
88
  <TType_1 extends NodeInstance<import("@xylabs/object").BaseParamsFields & {
77
89
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
90
+ addToResolvers?: boolean | undefined;
78
91
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
79
92
  archivist?: string | undefined;
80
93
  schema: "network.xyo.node.config";
@@ -84,8 +97,10 @@ export declare const asNodeInstance: {
84
97
  schema: string;
85
98
  };
86
99
  ephemeralQueryAccountEnabled?: boolean | undefined;
100
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
87
101
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<NodeInstance<import("@xylabs/object").BaseParamsFields & {
88
102
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
103
+ addToResolvers?: boolean | undefined;
89
104
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
90
105
  archivist?: string | undefined;
91
106
  schema: "network.xyo.node.config";
@@ -95,10 +110,12 @@ export declare const asNodeInstance: {
95
110
  schema: string;
96
111
  };
97
112
  ephemeralQueryAccountEnabled?: boolean | undefined;
113
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
98
114
  }, import("./Node").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
99
115
  };
100
116
  export declare const withNodeModule: <R>(module: any, closure: (module: NodeModule<import("@xylabs/object").BaseParamsFields & {
101
117
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
118
+ addToResolvers?: boolean | undefined;
102
119
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
103
120
  archivist?: string | undefined;
104
121
  schema: "network.xyo.node.config";
@@ -108,9 +125,11 @@ export declare const withNodeModule: <R>(module: any, closure: (module: NodeModu
108
125
  schema: string;
109
126
  };
110
127
  ephemeralQueryAccountEnabled?: boolean | undefined;
128
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
111
129
  }, import("./Node").NodeModuleEventData>) => R) => R | undefined;
112
130
  export declare const withNodeInstance: <R>(module: any, closure: (module: NodeInstance<import("@xylabs/object").BaseParamsFields & {
113
131
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
132
+ addToResolvers?: boolean | undefined;
114
133
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
115
134
  archivist?: string | undefined;
116
135
  schema: "network.xyo.node.config";
@@ -120,5 +139,6 @@ export declare const withNodeInstance: <R>(module: any, closure: (module: NodeIn
120
139
  schema: string;
121
140
  };
122
141
  ephemeralQueryAccountEnabled?: boolean | undefined;
142
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
123
143
  }, import("./Node").NodeModuleEventData>) => R) => R | undefined;
124
144
  //# sourceMappingURL=typeChecks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAKjD,eAAO,MAAM,cAAc;;;;;;;;;;;yCAQ1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;yCAA2H,CAAA;AAEpJ,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;;;;gEAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;gEAAqC,CAAA"}
1
+ {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAKjD,eAAO,MAAM,cAAc;;;;;;;;;;;;;yCAQ1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;;;yCAA2H,CAAA;AAEpJ,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;;;;;;gEAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;gEAAqC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import { NodeInstance, NodeModule } from './Node';
2
2
  export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInstance<import("@xylabs/object").BaseParamsFields & {
3
3
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
4
+ addToResolvers?: boolean | undefined;
4
5
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
5
6
  archivist?: string | undefined;
6
7
  schema: "network.xyo.node.config";
@@ -10,9 +11,11 @@ export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInst
10
11
  schema: string;
11
12
  };
12
13
  ephemeralQueryAccountEnabled?: boolean | undefined;
14
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
13
15
  }, import("./Node").NodeModuleEventData>>;
14
16
  export declare const isNodeModule: import("@xyo-network/module-model").ModuleTypeCheck<NodeModule<import("@xylabs/object").BaseParamsFields & {
15
17
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
18
+ addToResolvers?: boolean | undefined;
16
19
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
17
20
  archivist?: string | undefined;
18
21
  schema: "network.xyo.node.config";
@@ -22,10 +25,12 @@ export declare const isNodeModule: import("@xyo-network/module-model").ModuleTyp
22
25
  schema: string;
23
26
  };
24
27
  ephemeralQueryAccountEnabled?: boolean | undefined;
28
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
25
29
  }, import("./Node").NodeModuleEventData>>;
26
30
  export declare const asNodeModule: {
27
31
  <TType extends NodeModule<import("@xylabs/object").BaseParamsFields & {
28
32
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
33
+ addToResolvers?: boolean | undefined;
29
34
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
30
35
  archivist?: string | undefined;
31
36
  schema: "network.xyo.node.config";
@@ -35,9 +40,11 @@ export declare const asNodeModule: {
35
40
  schema: string;
36
41
  };
37
42
  ephemeralQueryAccountEnabled?: boolean | undefined;
43
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
38
44
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
39
45
  <TType_1 extends NodeModule<import("@xylabs/object").BaseParamsFields & {
40
46
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
47
+ addToResolvers?: boolean | undefined;
41
48
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
42
49
  archivist?: string | undefined;
43
50
  schema: "network.xyo.node.config";
@@ -47,8 +54,10 @@ export declare const asNodeModule: {
47
54
  schema: string;
48
55
  };
49
56
  ephemeralQueryAccountEnabled?: boolean | undefined;
57
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
50
58
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<NodeModule<import("@xylabs/object").BaseParamsFields & {
51
59
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
60
+ addToResolvers?: boolean | undefined;
52
61
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
53
62
  archivist?: string | undefined;
54
63
  schema: "network.xyo.node.config";
@@ -58,11 +67,13 @@ export declare const asNodeModule: {
58
67
  schema: string;
59
68
  };
60
69
  ephemeralQueryAccountEnabled?: boolean | undefined;
70
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
61
71
  }, import("./Node").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
62
72
  };
63
73
  export declare const asNodeInstance: {
64
74
  <TType extends NodeInstance<import("@xylabs/object").BaseParamsFields & {
65
75
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
76
+ addToResolvers?: boolean | undefined;
66
77
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
67
78
  archivist?: string | undefined;
68
79
  schema: "network.xyo.node.config";
@@ -72,9 +83,11 @@ export declare const asNodeInstance: {
72
83
  schema: string;
73
84
  };
74
85
  ephemeralQueryAccountEnabled?: boolean | undefined;
86
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
75
87
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
76
88
  <TType_1 extends NodeInstance<import("@xylabs/object").BaseParamsFields & {
77
89
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
90
+ addToResolvers?: boolean | undefined;
78
91
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
79
92
  archivist?: string | undefined;
80
93
  schema: "network.xyo.node.config";
@@ -84,8 +97,10 @@ export declare const asNodeInstance: {
84
97
  schema: string;
85
98
  };
86
99
  ephemeralQueryAccountEnabled?: boolean | undefined;
100
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
87
101
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<NodeInstance<import("@xylabs/object").BaseParamsFields & {
88
102
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
103
+ addToResolvers?: boolean | undefined;
89
104
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
90
105
  archivist?: string | undefined;
91
106
  schema: "network.xyo.node.config";
@@ -95,10 +110,12 @@ export declare const asNodeInstance: {
95
110
  schema: string;
96
111
  };
97
112
  ephemeralQueryAccountEnabled?: boolean | undefined;
113
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
98
114
  }, import("./Node").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
99
115
  };
100
116
  export declare const withNodeModule: <R>(module: any, closure: (module: NodeModule<import("@xylabs/object").BaseParamsFields & {
101
117
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
118
+ addToResolvers?: boolean | undefined;
102
119
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
103
120
  archivist?: string | undefined;
104
121
  schema: "network.xyo.node.config";
@@ -108,9 +125,11 @@ export declare const withNodeModule: <R>(module: any, closure: (module: NodeModu
108
125
  schema: string;
109
126
  };
110
127
  ephemeralQueryAccountEnabled?: boolean | undefined;
128
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
111
129
  }, import("./Node").NodeModuleEventData>) => R) => R | undefined;
112
130
  export declare const withNodeInstance: <R>(module: any, closure: (module: NodeInstance<import("@xylabs/object").BaseParamsFields & {
113
131
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
132
+ addToResolvers?: boolean | undefined;
114
133
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
115
134
  archivist?: string | undefined;
116
135
  schema: "network.xyo.node.config";
@@ -120,5 +139,6 @@ export declare const withNodeInstance: <R>(module: any, closure: (module: NodeIn
120
139
  schema: string;
121
140
  };
122
141
  ephemeralQueryAccountEnabled?: boolean | undefined;
142
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
123
143
  }, import("./Node").NodeModuleEventData>) => R) => R | undefined;
124
144
  //# sourceMappingURL=typeChecks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAKjD,eAAO,MAAM,cAAc;;;;;;;;;;;yCAQ1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;yCAA2H,CAAA;AAEpJ,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;;;;gEAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;gEAAqC,CAAA"}
1
+ {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAKjD,eAAO,MAAM,cAAc;;;;;;;;;;;;;yCAQ1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;;;yCAA2H,CAAA;AAEpJ,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;;;;;;gEAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;gEAAqC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import { NodeInstance, NodeModule } from './Node';
2
2
  export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInstance<import("@xylabs/object").BaseParamsFields & {
3
3
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
4
+ addToResolvers?: boolean | undefined;
4
5
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
5
6
  archivist?: string | undefined;
6
7
  schema: "network.xyo.node.config";
@@ -10,9 +11,11 @@ export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInst
10
11
  schema: string;
11
12
  };
12
13
  ephemeralQueryAccountEnabled?: boolean | undefined;
14
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
13
15
  }, import("./Node").NodeModuleEventData>>;
14
16
  export declare const isNodeModule: import("@xyo-network/module-model").ModuleTypeCheck<NodeModule<import("@xylabs/object").BaseParamsFields & {
15
17
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
18
+ addToResolvers?: boolean | undefined;
16
19
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
17
20
  archivist?: string | undefined;
18
21
  schema: "network.xyo.node.config";
@@ -22,10 +25,12 @@ export declare const isNodeModule: import("@xyo-network/module-model").ModuleTyp
22
25
  schema: string;
23
26
  };
24
27
  ephemeralQueryAccountEnabled?: boolean | undefined;
28
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
25
29
  }, import("./Node").NodeModuleEventData>>;
26
30
  export declare const asNodeModule: {
27
31
  <TType extends NodeModule<import("@xylabs/object").BaseParamsFields & {
28
32
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
33
+ addToResolvers?: boolean | undefined;
29
34
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
30
35
  archivist?: string | undefined;
31
36
  schema: "network.xyo.node.config";
@@ -35,9 +40,11 @@ export declare const asNodeModule: {
35
40
  schema: string;
36
41
  };
37
42
  ephemeralQueryAccountEnabled?: boolean | undefined;
43
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
38
44
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
39
45
  <TType_1 extends NodeModule<import("@xylabs/object").BaseParamsFields & {
40
46
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
47
+ addToResolvers?: boolean | undefined;
41
48
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
42
49
  archivist?: string | undefined;
43
50
  schema: "network.xyo.node.config";
@@ -47,8 +54,10 @@ export declare const asNodeModule: {
47
54
  schema: string;
48
55
  };
49
56
  ephemeralQueryAccountEnabled?: boolean | undefined;
57
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
50
58
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<NodeModule<import("@xylabs/object").BaseParamsFields & {
51
59
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
60
+ addToResolvers?: boolean | undefined;
52
61
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
53
62
  archivist?: string | undefined;
54
63
  schema: "network.xyo.node.config";
@@ -58,11 +67,13 @@ export declare const asNodeModule: {
58
67
  schema: string;
59
68
  };
60
69
  ephemeralQueryAccountEnabled?: boolean | undefined;
70
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
61
71
  }, import("./Node").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
62
72
  };
63
73
  export declare const asNodeInstance: {
64
74
  <TType extends NodeInstance<import("@xylabs/object").BaseParamsFields & {
65
75
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
76
+ addToResolvers?: boolean | undefined;
66
77
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
67
78
  archivist?: string | undefined;
68
79
  schema: "network.xyo.node.config";
@@ -72,9 +83,11 @@ export declare const asNodeInstance: {
72
83
  schema: string;
73
84
  };
74
85
  ephemeralQueryAccountEnabled?: boolean | undefined;
86
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
75
87
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
76
88
  <TType_1 extends NodeInstance<import("@xylabs/object").BaseParamsFields & {
77
89
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
90
+ addToResolvers?: boolean | undefined;
78
91
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
79
92
  archivist?: string | undefined;
80
93
  schema: "network.xyo.node.config";
@@ -84,8 +97,10 @@ export declare const asNodeInstance: {
84
97
  schema: string;
85
98
  };
86
99
  ephemeralQueryAccountEnabled?: boolean | undefined;
100
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
87
101
  }, import("./Node").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("@xylabs/object").StringOrAlertFunction<NodeInstance<import("@xylabs/object").BaseParamsFields & {
88
102
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
103
+ addToResolvers?: boolean | undefined;
89
104
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
90
105
  archivist?: string | undefined;
91
106
  schema: "network.xyo.node.config";
@@ -95,10 +110,12 @@ export declare const asNodeInstance: {
95
110
  schema: string;
96
111
  };
97
112
  ephemeralQueryAccountEnabled?: boolean | undefined;
113
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
98
114
  }, import("./Node").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
99
115
  };
100
116
  export declare const withNodeModule: <R>(module: any, closure: (module: NodeModule<import("@xylabs/object").BaseParamsFields & {
101
117
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
118
+ addToResolvers?: boolean | undefined;
102
119
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
103
120
  archivist?: string | undefined;
104
121
  schema: "network.xyo.node.config";
@@ -108,9 +125,11 @@ export declare const withNodeModule: <R>(module: any, closure: (module: NodeModu
108
125
  schema: string;
109
126
  };
110
127
  ephemeralQueryAccountEnabled?: boolean | undefined;
128
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
111
129
  }, import("./Node").NodeModuleEventData>) => R) => R | undefined;
112
130
  export declare const withNodeInstance: <R>(module: any, closure: (module: NodeInstance<import("@xylabs/object").BaseParamsFields & {
113
131
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
132
+ addToResolvers?: boolean | undefined;
114
133
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
115
134
  archivist?: string | undefined;
116
135
  schema: "network.xyo.node.config";
@@ -120,5 +139,6 @@ export declare const withNodeInstance: <R>(module: any, closure: (module: NodeIn
120
139
  schema: string;
121
140
  };
122
141
  ephemeralQueryAccountEnabled?: boolean | undefined;
142
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
123
143
  }, import("./Node").NodeModuleEventData>) => R) => R | undefined;
124
144
  //# sourceMappingURL=typeChecks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAKjD,eAAO,MAAM,cAAc;;;;;;;;;;;yCAQ1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;yCAA2H,CAAA;AAEpJ,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;;;;gEAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;gEAAqC,CAAA"}
1
+ {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAKjD,eAAO,MAAM,cAAc;;;;;;;;;;;;;yCAQ1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;;;yCAA2H,CAAA;AAEpJ,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;;;;;;gEAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;gEAAqC,CAAA"}
package/package.json CHANGED
@@ -13,9 +13,9 @@
13
13
  "@xylabs/hex": "^3.0.24",
14
14
  "@xylabs/object": "^3.0.24",
15
15
  "@xylabs/promise": "^3.0.24",
16
- "@xyo-network/module-events": "~2.93.3",
17
- "@xyo-network/module-model": "~2.93.3",
18
- "@xyo-network/payload-model": "~2.93.3"
16
+ "@xyo-network/module-events": "~2.93.5",
17
+ "@xyo-network/module-model": "~2.93.5",
18
+ "@xyo-network/payload-model": "~2.93.5"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@xylabs/ts-scripts-yarn3": "^3.5.2",
@@ -61,6 +61,6 @@
61
61
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
62
62
  },
63
63
  "sideEffects": false,
64
- "version": "2.93.3",
64
+ "version": "2.93.5",
65
65
  "type": "module"
66
66
  }
package/src/Node.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Address } from '@xylabs/hex'
2
2
  import { Promisable } from '@xylabs/promise'
3
- import { Module, ModuleEventData, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model'
3
+ import { AttachableModuleInstance, Module, ModuleEventData, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model'
4
4
 
5
5
  import { ModuleAttachedEventData, ModuleDetachedEventData, ModuleRegisteredEventData, ModuleUnregisteredEventData } from './EventsModels'
6
6
  import { NodeParams } from './Params'
@@ -26,7 +26,7 @@ export interface NodeInstance<TParams extends NodeParams = NodeParams, TEventDat
26
26
  extends NodeModule<TParams, TEventData>,
27
27
  NodeQueryFunctions,
28
28
  ModuleInstance<TParams, TEventData> {
29
- register?: (mod: ModuleInstance) => Promisable<void>
29
+ register?: (mod: AttachableModuleInstance) => Promisable<void>
30
30
  registeredModules?: () => Promisable<ModuleInstance[]>
31
31
  unregister?: (mod: ModuleInstance) => Promisable<ModuleInstance>
32
32
  }
@@ -0,0 +1,14 @@
1
+ import { IsObjectFactory, TypeCheck } from '@xylabs/object'
2
+ import { AttachableModuleInstance } from '@xyo-network/module-model'
3
+
4
+ import { NodeInstance, NodeModule, NodeModuleEventData } from '../Node'
5
+ import { NodeParams } from '../Params'
6
+
7
+ export interface AttachableNodeInstance<TParams extends NodeParams = NodeParams, TEventData extends NodeModuleEventData = NodeModuleEventData>
8
+ extends NodeModule<TParams, TEventData>,
9
+ AttachableModuleInstance<TParams, TEventData>,
10
+ NodeInstance<TParams, TEventData> {}
11
+
12
+ export type AttachableNodeInstanceTypeCheck<T extends AttachableNodeInstance = AttachableNodeInstance> = TypeCheck<T>
13
+
14
+ export class IsAttachableNodeInstanceFactory<T extends AttachableNodeInstance = AttachableNodeInstance> extends IsObjectFactory<T> {}
@@ -0,0 +1,5 @@
1
+ import { AsObjectFactory } from '@xylabs/object'
2
+
3
+ import { isAttachableNodeInstance } from './isAttachableInstance'
4
+
5
+ export const asAttachableNodeInstance = AsObjectFactory.create(isAttachableNodeInstance)
@@ -0,0 +1,3 @@
1
+ export * from './asAttachableInstance'
2
+ export * from './AttachableInstance'
3
+ export * from './isAttachableInstance'
@@ -0,0 +1,15 @@
1
+ import { IsObjectFactory, ObjectTypeShape, TypeCheck } from '@xylabs/object'
2
+ import { isAttachableModuleInstance } from '@xyo-network/module-model'
3
+
4
+ import { isNodeInstance } from '../typeChecks'
5
+ import { AttachableNodeInstance } from './AttachableInstance'
6
+
7
+ export const requiredAttachableNodeInstanceFunctions: ObjectTypeShape = {}
8
+
9
+ //we do not use IsInstanceFactory here to prevent a cycle
10
+ const factory = new IsObjectFactory<AttachableNodeInstance>()
11
+
12
+ export const isAttachableNodeInstance: TypeCheck<AttachableNodeInstance> = factory.create(requiredAttachableNodeInstanceFunctions, [
13
+ isNodeInstance,
14
+ isAttachableModuleInstance,
15
+ ])
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './attachable'
1
2
  export * from './Config'
2
3
  export * from './EventsModels'
3
4
  export * from './Node'