@xyo-network/node-model 2.61.0 → 2.61.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Queries/Attach.js +2 -2
- package/dist/cjs/Queries/Attach.js.map +1 -1
- package/dist/cjs/Queries/Attached.js +2 -2
- package/dist/cjs/Queries/Attached.js.map +1 -1
- package/dist/cjs/Queries/Detach.js +2 -2
- package/dist/cjs/Queries/Detach.js.map +1 -1
- package/dist/cjs/Queries/Registered.js +2 -2
- package/dist/cjs/Queries/Registered.js.map +1 -1
- package/dist/docs.json +500 -500
- package/dist/esm/Queries/Attach.js +1 -1
- package/dist/esm/Queries/Attach.js.map +1 -1
- package/dist/esm/Queries/Attached.js +1 -1
- package/dist/esm/Queries/Attached.js.map +1 -1
- package/dist/esm/Queries/Detach.js +1 -1
- package/dist/esm/Queries/Detach.js.map +1 -1
- package/dist/esm/Queries/Registered.js +1 -1
- package/dist/esm/Queries/Registered.js.map +1 -1
- package/dist/types/Queries/Attach.d.ts +4 -4
- package/dist/types/Queries/Attach.d.ts.map +1 -1
- package/dist/types/Queries/Attached.d.ts +4 -4
- package/dist/types/Queries/Attached.d.ts.map +1 -1
- package/dist/types/Queries/Detach.d.ts +4 -4
- package/dist/types/Queries/Detach.d.ts.map +1 -1
- package/dist/types/Queries/Registered.d.ts +4 -4
- package/dist/types/Queries/Registered.d.ts.map +1 -1
- package/dist/types/Queries/index.d.ts +7 -7
- package/dist/types/Queries/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/Queries/Attach.ts +4 -4
- package/src/Queries/Attached.ts +4 -4
- package/src/Queries/Detach.ts +4 -4
- package/src/Queries/Registered.ts +4 -4
- package/src/Queries/index.ts +7 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const NodeAttachQuerySchema = 'network.xyo.query.node.attach';
|
|
2
2
|
//# sourceMappingURL=Attach.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attach.js","sourceRoot":"","sources":["../../../src/Queries/Attach.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Attach.js","sourceRoot":"","sources":["../../../src/Queries/Attach.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,qBAAqB,GAA0B,+BAA+B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const NodeAttachedQuerySchema = 'network.xyo.query.node.attached';
|
|
2
2
|
//# sourceMappingURL=Attached.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attached.js","sourceRoot":"","sources":["../../../src/Queries/Attached.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Attached.js","sourceRoot":"","sources":["../../../src/Queries/Attached.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,uBAAuB,GAA4B,iCAAiC,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const NodeDetachQuerySchema = 'network.xyo.query.node.detach';
|
|
2
2
|
//# sourceMappingURL=Detach.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Detach.js","sourceRoot":"","sources":["../../../src/Queries/Detach.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Detach.js","sourceRoot":"","sources":["../../../src/Queries/Detach.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,qBAAqB,GAA0B,+BAA+B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const NodeRegisteredQuerySchema = 'network.xyo.query.node.registered';
|
|
2
2
|
//# sourceMappingURL=Registered.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Registered.js","sourceRoot":"","sources":["../../../src/Queries/Registered.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Registered.js","sourceRoot":"","sources":["../../../src/Queries/Registered.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,yBAAyB,GAA8B,mCAAmC,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Query } from '@xyo-network/module-model';
|
|
2
|
-
export type
|
|
3
|
-
export declare const
|
|
4
|
-
export type
|
|
2
|
+
export type NodeAttachQuerySchema = 'network.xyo.query.node.attach';
|
|
3
|
+
export declare const NodeAttachQuerySchema: NodeAttachQuerySchema;
|
|
4
|
+
export type NodeAttachQuery = Query<{
|
|
5
5
|
external?: boolean;
|
|
6
6
|
nameOrAddress: string;
|
|
7
|
-
schema:
|
|
7
|
+
schema: NodeAttachQuerySchema;
|
|
8
8
|
}>;
|
|
9
9
|
//# sourceMappingURL=Attach.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attach.d.ts","sourceRoot":"","sources":["../../../src/Queries/Attach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Attach.d.ts","sourceRoot":"","sources":["../../../src/Queries/Attach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,MAAM,MAAM,qBAAqB,GAAG,+BAA+B,CAAA;AACnE,eAAO,MAAM,qBAAqB,EAAE,qBAAuD,CAAA;AAE3F,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,qBAAqB,CAAA;CAC9B,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Query } from '@xyo-network/module-model';
|
|
2
|
-
export type
|
|
3
|
-
export declare const
|
|
4
|
-
export type
|
|
5
|
-
schema:
|
|
2
|
+
export type NodeAttachedQuerySchema = 'network.xyo.query.node.attached';
|
|
3
|
+
export declare const NodeAttachedQuerySchema: NodeAttachedQuerySchema;
|
|
4
|
+
export type NodeAttachedQuery = Query<{
|
|
5
|
+
schema: NodeAttachedQuerySchema;
|
|
6
6
|
}>;
|
|
7
7
|
//# sourceMappingURL=Attached.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attached.d.ts","sourceRoot":"","sources":["../../../src/Queries/Attached.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Attached.d.ts","sourceRoot":"","sources":["../../../src/Queries/Attached.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,MAAM,MAAM,uBAAuB,GAAG,iCAAiC,CAAA;AACvE,eAAO,MAAM,uBAAuB,EAAE,uBAA2D,CAAA;AAEjG,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC;IACpC,MAAM,EAAE,uBAAuB,CAAA;CAChC,CAAC,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Query } from '@xyo-network/module-model';
|
|
2
|
-
export type
|
|
3
|
-
export declare const
|
|
4
|
-
export type
|
|
2
|
+
export type NodeDetachQuerySchema = 'network.xyo.query.node.detach';
|
|
3
|
+
export declare const NodeDetachQuerySchema: NodeDetachQuerySchema;
|
|
4
|
+
export type NodeDetachQuery = Query<{
|
|
5
5
|
nameOrAddress: string;
|
|
6
|
-
schema:
|
|
6
|
+
schema: NodeDetachQuerySchema;
|
|
7
7
|
}>;
|
|
8
8
|
//# sourceMappingURL=Detach.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Detach.d.ts","sourceRoot":"","sources":["../../../src/Queries/Detach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Detach.d.ts","sourceRoot":"","sources":["../../../src/Queries/Detach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,MAAM,MAAM,qBAAqB,GAAG,+BAA+B,CAAA;AACnE,eAAO,MAAM,qBAAqB,EAAE,qBAAuD,CAAA;AAE3F,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC;IAClC,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,qBAAqB,CAAA;CAC9B,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Query } from '@xyo-network/module-model';
|
|
2
|
-
export type
|
|
3
|
-
export declare const
|
|
4
|
-
export type
|
|
5
|
-
schema:
|
|
2
|
+
export type NodeRegisteredQuerySchema = 'network.xyo.query.node.registered';
|
|
3
|
+
export declare const NodeRegisteredQuerySchema: NodeRegisteredQuerySchema;
|
|
4
|
+
export type NodeRegisteredQuery = Query<{
|
|
5
|
+
schema: NodeRegisteredQuerySchema;
|
|
6
6
|
}>;
|
|
7
7
|
//# sourceMappingURL=Registered.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Registered.d.ts","sourceRoot":"","sources":["../../../src/Queries/Registered.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Registered.d.ts","sourceRoot":"","sources":["../../../src/Queries/Registered.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,MAAM,MAAM,yBAAyB,GAAG,mCAAmC,CAAA;AAC3E,eAAO,MAAM,yBAAyB,EAAE,yBAA+D,CAAA;AAEvG,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC;IACtC,MAAM,EAAE,yBAAyB,CAAA;CAClC,CAAC,CAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ModuleQuery, ModuleQueryBase, Query } from '@xyo-network/module-model';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { NodeAttachQuery } from './Attach';
|
|
3
|
+
import { NodeAttachedQuery } from './Attached';
|
|
4
|
+
import { NodeDetachQuery } from './Detach';
|
|
5
|
+
import { NodeRegisteredQuery } from './Registered';
|
|
6
6
|
export * from './Attach';
|
|
7
7
|
export * from './Attached';
|
|
8
8
|
export * from './Detach';
|
|
9
9
|
export * from './Registered';
|
|
10
|
-
export type
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
10
|
+
export type NodeQueryBase = NodeAttachQuery | NodeDetachQuery | NodeAttachedQuery | NodeRegisteredQuery;
|
|
11
|
+
export type NodeModuleQueries = ModuleQueryBase | NodeQueryBase;
|
|
12
|
+
export type NodeQuery<T extends Query | void = void> = ModuleQuery<T extends Query ? NodeQueryBase | T : NodeQueryBase>;
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAE/E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAE/E,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAElD,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAE5B,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,eAAe,GAAG,iBAAiB,GAAG,mBAAmB,CAAA;AACvG,MAAM,MAAM,iBAAiB,GAAG,eAAe,GAAG,aAAa,CAAA;AAC/D,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,GAAG,IAAI,IAAI,WAAW,CAAC,CAAC,SAAS,KAAK,GAAG,aAAa,GAAG,CAAC,GAAG,aAAa,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/core": "^2.61.
|
|
14
|
-
"@xyo-network/module": "^2.61.
|
|
15
|
-
"@xyo-network/module-model": "^2.61.
|
|
16
|
-
"@xyo-network/payload-model": "^2.61.
|
|
17
|
-
"@xyo-network/promise": "^2.61.
|
|
13
|
+
"@xyo-network/core": "^2.61.2",
|
|
14
|
+
"@xyo-network/module": "^2.61.2",
|
|
15
|
+
"@xyo-network/module-model": "^2.61.2",
|
|
16
|
+
"@xyo-network/payload-model": "^2.61.2",
|
|
17
|
+
"@xyo-network/promise": "^2.61.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@xylabs/ts-scripts-yarn3": "^2.17.13",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
},
|
|
55
55
|
"sideEffects": false,
|
|
56
56
|
"types": "dist/types/index.d.ts",
|
|
57
|
-
"version": "2.61.
|
|
57
|
+
"version": "2.61.2"
|
|
58
58
|
}
|
package/src/Queries/Attach.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
|
-
export type
|
|
4
|
-
export const
|
|
3
|
+
export type NodeAttachQuerySchema = 'network.xyo.query.node.attach'
|
|
4
|
+
export const NodeAttachQuerySchema: NodeAttachQuerySchema = 'network.xyo.query.node.attach'
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type NodeAttachQuery = Query<{
|
|
7
7
|
external?: boolean
|
|
8
8
|
nameOrAddress: string
|
|
9
|
-
schema:
|
|
9
|
+
schema: NodeAttachQuerySchema
|
|
10
10
|
}>
|
package/src/Queries/Attached.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
|
-
export type
|
|
4
|
-
export const
|
|
3
|
+
export type NodeAttachedQuerySchema = 'network.xyo.query.node.attached'
|
|
4
|
+
export const NodeAttachedQuerySchema: NodeAttachedQuerySchema = 'network.xyo.query.node.attached'
|
|
5
5
|
|
|
6
|
-
export type
|
|
7
|
-
schema:
|
|
6
|
+
export type NodeAttachedQuery = Query<{
|
|
7
|
+
schema: NodeAttachedQuerySchema
|
|
8
8
|
}>
|
package/src/Queries/Detach.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
|
-
export type
|
|
4
|
-
export const
|
|
3
|
+
export type NodeDetachQuerySchema = 'network.xyo.query.node.detach'
|
|
4
|
+
export const NodeDetachQuerySchema: NodeDetachQuerySchema = 'network.xyo.query.node.detach'
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type NodeDetachQuery = Query<{
|
|
7
7
|
nameOrAddress: string
|
|
8
|
-
schema:
|
|
8
|
+
schema: NodeDetachQuerySchema
|
|
9
9
|
}>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
|
-
export type
|
|
4
|
-
export const
|
|
3
|
+
export type NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'
|
|
4
|
+
export const NodeRegisteredQuerySchema: NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'
|
|
5
5
|
|
|
6
|
-
export type
|
|
7
|
-
schema:
|
|
6
|
+
export type NodeRegisteredQuery = Query<{
|
|
7
|
+
schema: NodeRegisteredQuerySchema
|
|
8
8
|
}>
|
package/src/Queries/index.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ModuleQuery, ModuleQueryBase, Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { NodeAttachQuery } from './Attach'
|
|
4
|
+
import { NodeAttachedQuery } from './Attached'
|
|
5
|
+
import { NodeDetachQuery } from './Detach'
|
|
6
|
+
import { NodeRegisteredQuery } from './Registered'
|
|
7
7
|
|
|
8
8
|
export * from './Attach'
|
|
9
9
|
export * from './Attached'
|
|
10
10
|
export * from './Detach'
|
|
11
11
|
export * from './Registered'
|
|
12
12
|
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
15
|
-
export type
|
|
13
|
+
export type NodeQueryBase = NodeAttachQuery | NodeDetachQuery | NodeAttachedQuery | NodeRegisteredQuery
|
|
14
|
+
export type NodeModuleQueries = ModuleQueryBase | NodeQueryBase
|
|
15
|
+
export type NodeQuery<T extends Query | void = void> = ModuleQuery<T extends Query ? NodeQueryBase | T : NodeQueryBase>
|