@xyo-network/node-model 2.99.6 → 2.100.1
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/ChildCertification.d.cts +10 -0
- package/dist/browser/ChildCertification.d.cts.map +1 -0
- package/dist/browser/ChildCertification.d.mts +10 -0
- package/dist/browser/ChildCertification.d.mts.map +1 -0
- package/dist/browser/ChildCertification.d.ts +10 -0
- package/dist/browser/ChildCertification.d.ts.map +1 -0
- package/dist/browser/Node.d.cts +1 -14
- package/dist/browser/Node.d.cts.map +1 -1
- package/dist/browser/Node.d.mts +1 -14
- package/dist/browser/Node.d.mts.map +1 -1
- package/dist/browser/Node.d.ts +1 -14
- package/dist/browser/Node.d.ts.map +1 -1
- package/dist/browser/Queries/Attach.d.cts +2 -1
- package/dist/browser/Queries/Attach.d.cts.map +1 -1
- package/dist/browser/Queries/Attach.d.mts +2 -1
- package/dist/browser/Queries/Attach.d.mts.map +1 -1
- package/dist/browser/Queries/Attach.d.ts +2 -1
- package/dist/browser/Queries/Attach.d.ts.map +1 -1
- package/dist/browser/Queries/Certify.d.cts +9 -0
- package/dist/browser/Queries/Certify.d.cts.map +1 -0
- package/dist/browser/Queries/Certify.d.mts +9 -0
- package/dist/browser/Queries/Certify.d.mts.map +1 -0
- package/dist/browser/Queries/Certify.d.ts +9 -0
- package/dist/browser/Queries/Certify.d.ts.map +1 -0
- package/dist/browser/Queries/Detach.d.cts +2 -1
- package/dist/browser/Queries/Detach.d.cts.map +1 -1
- package/dist/browser/Queries/Detach.d.mts +2 -1
- package/dist/browser/Queries/Detach.d.mts.map +1 -1
- package/dist/browser/Queries/Detach.d.ts +2 -1
- package/dist/browser/Queries/Detach.d.ts.map +1 -1
- package/dist/browser/Queries/index.d.cts +3 -1
- package/dist/browser/Queries/index.d.cts.map +1 -1
- package/dist/browser/Queries/index.d.mts +3 -1
- package/dist/browser/Queries/index.d.mts.map +1 -1
- package/dist/browser/Queries/index.d.ts +3 -1
- package/dist/browser/Queries/index.d.ts.map +1 -1
- package/dist/browser/attachable/AttachableInstance.d.cts +2 -1
- package/dist/browser/attachable/AttachableInstance.d.cts.map +1 -1
- package/dist/browser/attachable/AttachableInstance.d.mts +2 -1
- package/dist/browser/attachable/AttachableInstance.d.mts.map +1 -1
- package/dist/browser/attachable/AttachableInstance.d.ts +2 -1
- package/dist/browser/attachable/AttachableInstance.d.ts.map +1 -1
- package/dist/browser/index.cjs +8 -0
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +2 -0
- package/dist/browser/index.d.cts.map +1 -1
- package/dist/browser/index.d.mts +2 -0
- package/dist/browser/index.d.mts.map +1 -1
- package/dist/browser/index.d.ts +2 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +8 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/instance.d.cts +27 -0
- package/dist/browser/instance.d.cts.map +1 -0
- package/dist/browser/instance.d.mts +27 -0
- package/dist/browser/instance.d.mts.map +1 -0
- package/dist/browser/instance.d.ts +27 -0
- package/dist/browser/instance.d.ts.map +1 -0
- package/dist/browser/typeChecks.d.cts +2 -1
- package/dist/browser/typeChecks.d.cts.map +1 -1
- package/dist/browser/typeChecks.d.mts +2 -1
- package/dist/browser/typeChecks.d.mts.map +1 -1
- package/dist/browser/typeChecks.d.ts +2 -1
- package/dist/browser/typeChecks.d.ts.map +1 -1
- package/dist/neutral/ChildCertification.d.cts +10 -0
- package/dist/neutral/ChildCertification.d.cts.map +1 -0
- package/dist/neutral/ChildCertification.d.mts +10 -0
- package/dist/neutral/ChildCertification.d.mts.map +1 -0
- package/dist/neutral/ChildCertification.d.ts +10 -0
- package/dist/neutral/ChildCertification.d.ts.map +1 -0
- package/dist/neutral/Node.d.cts +1 -14
- package/dist/neutral/Node.d.cts.map +1 -1
- package/dist/neutral/Node.d.mts +1 -14
- package/dist/neutral/Node.d.mts.map +1 -1
- package/dist/neutral/Node.d.ts +1 -14
- package/dist/neutral/Node.d.ts.map +1 -1
- package/dist/neutral/Queries/Attach.d.cts +2 -1
- package/dist/neutral/Queries/Attach.d.cts.map +1 -1
- package/dist/neutral/Queries/Attach.d.mts +2 -1
- package/dist/neutral/Queries/Attach.d.mts.map +1 -1
- package/dist/neutral/Queries/Attach.d.ts +2 -1
- package/dist/neutral/Queries/Attach.d.ts.map +1 -1
- package/dist/neutral/Queries/Certify.d.cts +9 -0
- package/dist/neutral/Queries/Certify.d.cts.map +1 -0
- package/dist/neutral/Queries/Certify.d.mts +9 -0
- package/dist/neutral/Queries/Certify.d.mts.map +1 -0
- package/dist/neutral/Queries/Certify.d.ts +9 -0
- package/dist/neutral/Queries/Certify.d.ts.map +1 -0
- package/dist/neutral/Queries/Detach.d.cts +2 -1
- package/dist/neutral/Queries/Detach.d.cts.map +1 -1
- package/dist/neutral/Queries/Detach.d.mts +2 -1
- package/dist/neutral/Queries/Detach.d.mts.map +1 -1
- package/dist/neutral/Queries/Detach.d.ts +2 -1
- package/dist/neutral/Queries/Detach.d.ts.map +1 -1
- package/dist/neutral/Queries/index.d.cts +3 -1
- package/dist/neutral/Queries/index.d.cts.map +1 -1
- package/dist/neutral/Queries/index.d.mts +3 -1
- package/dist/neutral/Queries/index.d.mts.map +1 -1
- package/dist/neutral/Queries/index.d.ts +3 -1
- package/dist/neutral/Queries/index.d.ts.map +1 -1
- package/dist/neutral/attachable/AttachableInstance.d.cts +2 -1
- package/dist/neutral/attachable/AttachableInstance.d.cts.map +1 -1
- package/dist/neutral/attachable/AttachableInstance.d.mts +2 -1
- package/dist/neutral/attachable/AttachableInstance.d.mts.map +1 -1
- package/dist/neutral/attachable/AttachableInstance.d.ts +2 -1
- package/dist/neutral/attachable/AttachableInstance.d.ts.map +1 -1
- package/dist/neutral/index.cjs +8 -0
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +2 -0
- package/dist/neutral/index.d.cts.map +1 -1
- package/dist/neutral/index.d.mts +2 -0
- package/dist/neutral/index.d.mts.map +1 -1
- package/dist/neutral/index.d.ts +2 -0
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.js +8 -0
- package/dist/neutral/index.js.map +1 -1
- package/dist/neutral/instance.d.cts +27 -0
- package/dist/neutral/instance.d.cts.map +1 -0
- package/dist/neutral/instance.d.mts +27 -0
- package/dist/neutral/instance.d.mts.map +1 -0
- package/dist/neutral/instance.d.ts +27 -0
- package/dist/neutral/instance.d.ts.map +1 -0
- package/dist/neutral/typeChecks.d.cts +2 -1
- package/dist/neutral/typeChecks.d.cts.map +1 -1
- package/dist/neutral/typeChecks.d.mts +2 -1
- package/dist/neutral/typeChecks.d.mts.map +1 -1
- package/dist/neutral/typeChecks.d.ts +2 -1
- package/dist/neutral/typeChecks.d.ts.map +1 -1
- package/dist/node/ChildCertification.d.cts +10 -0
- package/dist/node/ChildCertification.d.cts.map +1 -0
- package/dist/node/ChildCertification.d.mts +10 -0
- package/dist/node/ChildCertification.d.mts.map +1 -0
- package/dist/node/ChildCertification.d.ts +10 -0
- package/dist/node/ChildCertification.d.ts.map +1 -0
- package/dist/node/Node.d.cts +1 -14
- package/dist/node/Node.d.cts.map +1 -1
- package/dist/node/Node.d.mts +1 -14
- package/dist/node/Node.d.mts.map +1 -1
- package/dist/node/Node.d.ts +1 -14
- package/dist/node/Node.d.ts.map +1 -1
- package/dist/node/Queries/Attach.d.cts +2 -1
- package/dist/node/Queries/Attach.d.cts.map +1 -1
- package/dist/node/Queries/Attach.d.mts +2 -1
- package/dist/node/Queries/Attach.d.mts.map +1 -1
- package/dist/node/Queries/Attach.d.ts +2 -1
- package/dist/node/Queries/Attach.d.ts.map +1 -1
- package/dist/node/Queries/Certify.d.cts +9 -0
- package/dist/node/Queries/Certify.d.cts.map +1 -0
- package/dist/node/Queries/Certify.d.mts +9 -0
- package/dist/node/Queries/Certify.d.mts.map +1 -0
- package/dist/node/Queries/Certify.d.ts +9 -0
- package/dist/node/Queries/Certify.d.ts.map +1 -0
- package/dist/node/Queries/Detach.d.cts +2 -1
- package/dist/node/Queries/Detach.d.cts.map +1 -1
- package/dist/node/Queries/Detach.d.mts +2 -1
- package/dist/node/Queries/Detach.d.mts.map +1 -1
- package/dist/node/Queries/Detach.d.ts +2 -1
- package/dist/node/Queries/Detach.d.ts.map +1 -1
- package/dist/node/Queries/index.d.cts +3 -1
- package/dist/node/Queries/index.d.cts.map +1 -1
- package/dist/node/Queries/index.d.mts +3 -1
- package/dist/node/Queries/index.d.mts.map +1 -1
- package/dist/node/Queries/index.d.ts +3 -1
- package/dist/node/Queries/index.d.ts.map +1 -1
- package/dist/node/attachable/AttachableInstance.d.cts +2 -1
- package/dist/node/attachable/AttachableInstance.d.cts.map +1 -1
- package/dist/node/attachable/AttachableInstance.d.mts +2 -1
- package/dist/node/attachable/AttachableInstance.d.mts.map +1 -1
- package/dist/node/attachable/AttachableInstance.d.ts +2 -1
- package/dist/node/attachable/AttachableInstance.d.ts.map +1 -1
- package/dist/node/index.cjs +10 -0
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +2 -0
- package/dist/node/index.d.cts.map +1 -1
- package/dist/node/index.d.mts +2 -0
- package/dist/node/index.d.mts.map +1 -1
- package/dist/node/index.d.ts +2 -0
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +8 -0
- package/dist/node/index.js.map +1 -1
- package/dist/node/instance.d.cts +27 -0
- package/dist/node/instance.d.cts.map +1 -0
- package/dist/node/instance.d.mts +27 -0
- package/dist/node/instance.d.mts.map +1 -0
- package/dist/node/instance.d.ts +27 -0
- package/dist/node/instance.d.ts.map +1 -0
- package/dist/node/typeChecks.d.cts +2 -1
- package/dist/node/typeChecks.d.cts.map +1 -1
- package/dist/node/typeChecks.d.mts +2 -1
- package/dist/node/typeChecks.d.mts.map +1 -1
- package/dist/node/typeChecks.d.ts +2 -1
- package/dist/node/typeChecks.d.ts.map +1 -1
- package/package.json +6 -4
- package/src/ChildCertification.ts +12 -0
- package/src/Node.ts +1 -19
- package/src/Queries/Attach.ts +2 -1
- package/src/Queries/Certify.ts +10 -0
- package/src/Queries/Detach.ts +2 -1
- package/src/Queries/index.ts +3 -1
- package/src/attachable/AttachableInstance.ts +2 -1
- package/src/index.ts +2 -0
- package/src/instance.ts +33 -0
- package/src/typeChecks.ts +2 -1
package/package.json
CHANGED
|
@@ -13,9 +13,11 @@
|
|
|
13
13
|
"@xylabs/hex": "^3.3.2",
|
|
14
14
|
"@xylabs/object": "^3.3.2",
|
|
15
15
|
"@xylabs/promise": "^3.3.2",
|
|
16
|
-
"@xyo-network/
|
|
17
|
-
"@xyo-network/
|
|
18
|
-
"@xyo-network/
|
|
16
|
+
"@xyo-network/account-model": "~2.100.1",
|
|
17
|
+
"@xyo-network/address-payload-plugin": "~2.100.1",
|
|
18
|
+
"@xyo-network/module-events": "~2.100.1",
|
|
19
|
+
"@xyo-network/module-model": "~2.100.1",
|
|
20
|
+
"@xyo-network/payload-model": "~2.100.1"
|
|
19
21
|
},
|
|
20
22
|
"devDependencies": {
|
|
21
23
|
"@xylabs/ts-scripts-yarn3": "^3.10.0",
|
|
@@ -61,6 +63,6 @@
|
|
|
61
63
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
62
64
|
},
|
|
63
65
|
"sideEffects": false,
|
|
64
|
-
"version": "2.
|
|
66
|
+
"version": "2.100.1",
|
|
65
67
|
"type": "module"
|
|
66
68
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Address } from '@xylabs/hex'
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model'
|
|
3
|
+
|
|
4
|
+
export const ChildCertificationSchema = 'network.xyo.child.certification' as const
|
|
5
|
+
export type ChildCertificationSchema = typeof ChildCertificationSchema
|
|
6
|
+
|
|
7
|
+
export interface ChildCertificationFields {
|
|
8
|
+
address: Address
|
|
9
|
+
expiration: number
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export type ChildCertification = Payload<ChildCertificationFields, ChildCertificationSchema>
|
package/src/Node.ts
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Promisable } from '@xylabs/promise'
|
|
3
|
-
import { AttachableModuleInstance, Module, ModuleEventData, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model'
|
|
1
|
+
import { Module, ModuleEventData } from '@xyo-network/module-model'
|
|
4
2
|
|
|
5
3
|
import { ModuleAttachedEventData, ModuleDetachedEventData, ModuleRegisteredEventData, ModuleUnregisteredEventData } from './EventsModels'
|
|
6
4
|
import { NodeParams } from './Params'
|
|
7
5
|
|
|
8
|
-
export interface NodeQueryFunctions {
|
|
9
|
-
attach: (nameOrAddress: ModuleIdentifier, external?: boolean) => Promisable<Address | undefined>
|
|
10
|
-
attached: () => Promisable<Address[]>
|
|
11
|
-
detach: (nameOrAddress: ModuleIdentifier) => Promisable<Address | undefined>
|
|
12
|
-
registered: () => Promisable<Address[]>
|
|
13
|
-
}
|
|
14
|
-
|
|
15
6
|
export interface NodeModuleEventData
|
|
16
7
|
extends ModuleAttachedEventData,
|
|
17
8
|
ModuleDetachedEventData,
|
|
@@ -21,12 +12,3 @@ export interface NodeModuleEventData
|
|
|
21
12
|
|
|
22
13
|
export interface NodeModule<TParams extends NodeParams = NodeParams, TEventData extends NodeModuleEventData = NodeModuleEventData>
|
|
23
14
|
extends Module<TParams, TEventData> {}
|
|
24
|
-
|
|
25
|
-
export interface NodeInstance<TParams extends NodeParams = NodeParams, TEventData extends NodeModuleEventData = NodeModuleEventData>
|
|
26
|
-
extends NodeModule<TParams, TEventData>,
|
|
27
|
-
NodeQueryFunctions,
|
|
28
|
-
ModuleInstance<TParams, TEventData> {
|
|
29
|
-
register?: (mod: AttachableModuleInstance) => Promisable<void>
|
|
30
|
-
registeredModules?: () => Promisable<ModuleInstance[]>
|
|
31
|
-
unregister?: (mod: ModuleInstance) => Promisable<ModuleInstance>
|
|
32
|
-
}
|
package/src/Queries/Attach.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ModuleIdentifier } from '@xyo-network/module-model'
|
|
1
2
|
import { Query } from '@xyo-network/payload-model'
|
|
2
3
|
|
|
3
4
|
export type NodeAttachQuerySchema = 'network.xyo.query.node.attach'
|
|
@@ -5,6 +6,6 @@ export const NodeAttachQuerySchema: NodeAttachQuerySchema = 'network.xyo.query.n
|
|
|
5
6
|
|
|
6
7
|
export type NodeAttachQuery = Query<{
|
|
7
8
|
external?: boolean
|
|
8
|
-
|
|
9
|
+
id: ModuleIdentifier
|
|
9
10
|
schema: NodeAttachQuerySchema
|
|
10
11
|
}>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModuleIdentifier } from '@xyo-network/module-model'
|
|
2
|
+
import { Query } from '@xyo-network/payload-model'
|
|
3
|
+
|
|
4
|
+
export type NodeCertifyQuerySchema = 'network.xyo.query.node.certify'
|
|
5
|
+
export const NodeCertifyQuerySchema: NodeCertifyQuerySchema = 'network.xyo.query.node.certify'
|
|
6
|
+
|
|
7
|
+
export type NodeCertifyQuery = Query<{
|
|
8
|
+
id: ModuleIdentifier
|
|
9
|
+
schema: NodeCertifyQuerySchema
|
|
10
|
+
}>
|
package/src/Queries/Detach.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ModuleIdentifier } from '@xyo-network/module-model'
|
|
1
2
|
import { Query } from '@xyo-network/payload-model'
|
|
2
3
|
|
|
3
4
|
export type NodeDetachQuerySchema = 'network.xyo.query.node.detach'
|
|
4
5
|
export const NodeDetachQuerySchema: NodeDetachQuerySchema = 'network.xyo.query.node.detach'
|
|
5
6
|
|
|
6
7
|
export type NodeDetachQuery = Query<{
|
|
7
|
-
|
|
8
|
+
id: ModuleIdentifier
|
|
8
9
|
schema: NodeDetachQuerySchema
|
|
9
10
|
}>
|
package/src/Queries/index.ts
CHANGED
|
@@ -2,13 +2,15 @@ import { ModuleQueries } from '@xyo-network/module-model'
|
|
|
2
2
|
|
|
3
3
|
import { NodeAttachQuery } from './Attach'
|
|
4
4
|
import { NodeAttachedQuery } from './Attached'
|
|
5
|
+
import { NodeCertifyQuery } from './Certify'
|
|
5
6
|
import { NodeDetachQuery } from './Detach'
|
|
6
7
|
import { NodeRegisteredQuery } from './Registered'
|
|
7
8
|
|
|
8
9
|
export * from './Attach'
|
|
9
10
|
export * from './Attached'
|
|
11
|
+
export * from './Certify'
|
|
10
12
|
export * from './Detach'
|
|
11
13
|
export * from './Registered'
|
|
12
14
|
|
|
13
|
-
export type NodeQueries = NodeAttachQuery | NodeDetachQuery | NodeAttachedQuery | NodeRegisteredQuery
|
|
15
|
+
export type NodeQueries = NodeAttachQuery | NodeCertifyQuery | NodeDetachQuery | NodeAttachedQuery | NodeRegisteredQuery
|
|
14
16
|
export type NodeModuleQueries = ModuleQueries | NodeQueries
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IsObjectFactory, TypeCheck } from '@xylabs/object'
|
|
2
2
|
import { AttachableModuleInstance } from '@xyo-network/module-model'
|
|
3
3
|
|
|
4
|
-
import { NodeInstance
|
|
4
|
+
import { NodeInstance } from '../instance'
|
|
5
|
+
import { NodeModule, NodeModuleEventData } from '../Node'
|
|
5
6
|
import { NodeParams } from '../Params'
|
|
6
7
|
|
|
7
8
|
export interface AttachableNodeInstance<TParams extends NodeParams = NodeParams, TEventData extends NodeModuleEventData = NodeModuleEventData>
|
package/src/index.ts
CHANGED
package/src/instance.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Address } from '@xylabs/hex'
|
|
2
|
+
import { AccountInstance } from '@xyo-network/account-model'
|
|
3
|
+
import { AddressPayload } from '@xyo-network/address-payload-plugin'
|
|
4
|
+
import { AttachableModuleInstance, ModuleIdentifier, ModuleInstance, ModuleQueryResult } from '@xyo-network/module-model'
|
|
5
|
+
|
|
6
|
+
import { ChildCertification, ChildCertificationFields } from './ChildCertification'
|
|
7
|
+
import { NodeModule, NodeModuleEventData } from './Node'
|
|
8
|
+
import { NodeParams } from './Params'
|
|
9
|
+
|
|
10
|
+
export interface NodeQueryFunctions {
|
|
11
|
+
attach: (id: ModuleIdentifier, external?: boolean) => Promise<Address | undefined>
|
|
12
|
+
attachQuery: (id: ModuleIdentifier, external?: boolean, account?: AccountInstance) => Promise<ModuleQueryResult<AddressPayload>>
|
|
13
|
+
attached: () => Promise<Address[]>
|
|
14
|
+
attachedQuery: (account?: AccountInstance) => Promise<ModuleQueryResult<AddressPayload>>
|
|
15
|
+
certify: (id: ModuleIdentifier) => Promise<ChildCertificationFields | undefined>
|
|
16
|
+
certifyQuery: (id: ModuleIdentifier, account?: AccountInstance) => Promise<ModuleQueryResult<ChildCertification>>
|
|
17
|
+
detach: (id: ModuleIdentifier) => Promise<Address | undefined>
|
|
18
|
+
detachQuery: (id: ModuleIdentifier, account?: AccountInstance) => Promise<ModuleQueryResult<AddressPayload>>
|
|
19
|
+
registered: () => Promise<Address[]>
|
|
20
|
+
registeredQuery: (account?: AccountInstance) => Promise<ModuleQueryResult<AddressPayload>>
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface NodeRegistrationFunctions {
|
|
24
|
+
register?: (mod: AttachableModuleInstance) => Promise<void>
|
|
25
|
+
registeredModules?: () => AttachableModuleInstance[]
|
|
26
|
+
unregister?: (mod: ModuleInstance) => Promise<ModuleInstance>
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface NodeInstance<TParams extends NodeParams = NodeParams, TEventData extends NodeModuleEventData = NodeModuleEventData>
|
|
30
|
+
extends NodeModule<TParams, TEventData>,
|
|
31
|
+
NodeQueryFunctions,
|
|
32
|
+
NodeRegistrationFunctions,
|
|
33
|
+
ModuleInstance<TParams, TEventData> {}
|
package/src/typeChecks.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AsObjectFactory } from '@xylabs/object'
|
|
2
2
|
import { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'
|
|
3
3
|
|
|
4
|
-
import { NodeInstance
|
|
4
|
+
import { NodeInstance } from './instance'
|
|
5
|
+
import { NodeModule } from './Node'
|
|
5
6
|
import { NodeAttachedQuerySchema, NodeAttachQuerySchema, NodeDetachQuerySchema, NodeRegisteredQuerySchema } from './Queries'
|
|
6
7
|
|
|
7
8
|
const instanceFactory = new IsInstanceFactory<NodeInstance>()
|