@xyo-network/node-model 2.53.15 → 2.53.17
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/docs.json +1642 -578
- package/dist/types/Queries/Attach.d.ts +2 -2
- package/dist/types/Queries/Attach.d.ts.map +1 -1
- package/dist/types/Queries/Attached.d.ts +2 -2
- package/dist/types/Queries/Attached.d.ts.map +1 -1
- package/dist/types/Queries/Detach.d.ts +2 -2
- package/dist/types/Queries/Detach.d.ts.map +1 -1
- package/dist/types/Queries/Registered.d.ts +2 -2
- package/dist/types/Queries/Registered.d.ts.map +1 -1
- package/dist/types/Queries/index.d.ts +2 -2
- package/dist/types/Queries/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/Queries/Attach.ts +2 -2
- package/src/Queries/Attached.ts +2 -2
- package/src/Queries/Detach.ts +2 -2
- package/src/Queries/Registered.ts +2 -2
- package/src/Queries/index.ts +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Query } from '@xyo-network/module-model';
|
|
2
2
|
export type XyoNodeAttachQuerySchema = 'network.xyo.query.node.attach';
|
|
3
3
|
export declare const XyoNodeAttachQuerySchema: XyoNodeAttachQuerySchema;
|
|
4
|
-
export type XyoNodeAttachQuery =
|
|
4
|
+
export type XyoNodeAttachQuery = Query<{
|
|
5
5
|
address: string;
|
|
6
6
|
external?: boolean;
|
|
7
7
|
schema: XyoNodeAttachQuerySchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attach.d.ts","sourceRoot":"","sources":["../../../src/Queries/Attach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
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,wBAAwB,GAAG,+BAA+B,CAAA;AACtE,eAAO,MAAM,wBAAwB,EAAE,wBAA0D,CAAA;AAEjG,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC;IACrC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,wBAAwB,CAAA;CACjC,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Query } from '@xyo-network/module-model';
|
|
2
2
|
export type XyoNodeAttachedQuerySchema = 'network.xyo.query.node.attached';
|
|
3
3
|
export declare const XyoNodeAttachedQuerySchema: XyoNodeAttachedQuerySchema;
|
|
4
|
-
export type XyoNodeAttachedQuery =
|
|
4
|
+
export type XyoNodeAttachedQuery = Query<{
|
|
5
5
|
schema: XyoNodeAttachedQuerySchema;
|
|
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,
|
|
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,0BAA0B,GAAG,iCAAiC,CAAA;AAC1E,eAAO,MAAM,0BAA0B,EAAE,0BAA8D,CAAA;AAEvG,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC;IACvC,MAAM,EAAE,0BAA0B,CAAA;CACnC,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Query } from '@xyo-network/module-model';
|
|
2
2
|
export type XyoNodeDetachQuerySchema = 'network.xyo.query.node.detach';
|
|
3
3
|
export declare const XyoNodeDetachQuerySchema: XyoNodeDetachQuerySchema;
|
|
4
|
-
export type XyoNodeDetachQuery =
|
|
4
|
+
export type XyoNodeDetachQuery = Query<{
|
|
5
5
|
address: string;
|
|
6
6
|
schema: XyoNodeDetachQuerySchema;
|
|
7
7
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Detach.d.ts","sourceRoot":"","sources":["../../../src/Queries/Detach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
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,wBAAwB,GAAG,+BAA+B,CAAA;AACtE,eAAO,MAAM,wBAAwB,EAAE,wBAA0D,CAAA;AAEjG,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC;IACrC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,wBAAwB,CAAA;CACjC,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Query } from '@xyo-network/module-model';
|
|
2
2
|
export type XyoNodeRegisteredQuerySchema = 'network.xyo.query.node.registered';
|
|
3
3
|
export declare const XyoNodeRegisteredQuerySchema: XyoNodeRegisteredQuerySchema;
|
|
4
|
-
export type XyoNodeRegisteredQuery =
|
|
4
|
+
export type XyoNodeRegisteredQuery = Query<{
|
|
5
5
|
schema: XyoNodeRegisteredQuerySchema;
|
|
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,
|
|
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,4BAA4B,GAAG,mCAAmC,CAAA;AAC9E,eAAO,MAAM,4BAA4B,EAAE,4BAAkE,CAAA;AAE7G,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC;IACzC,MAAM,EAAE,4BAA4B,CAAA;CACrC,CAAC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleQuery,
|
|
1
|
+
import { ModuleQuery, Query } from '@xyo-network/module-model';
|
|
2
2
|
import { XyoNodeAttachQuery } from './Attach';
|
|
3
3
|
import { XyoNodeAttachedQuery } from './Attached';
|
|
4
4
|
import { XyoNodeDetachQuery } from './Detach';
|
|
@@ -8,5 +8,5 @@ export * from './Attached';
|
|
|
8
8
|
export * from './Detach';
|
|
9
9
|
export * from './Registered';
|
|
10
10
|
export type XyoNodeQueryBase = XyoNodeAttachQuery | XyoNodeDetachQuery | XyoNodeAttachedQuery | XyoNodeRegisteredQuery;
|
|
11
|
-
export type XyoNodeQuery<T extends
|
|
11
|
+
export type XyoNodeQuery<T extends Query | void = void> = ModuleQuery<T extends Query ? XyoNodeQueryBase | T : XyoNodeQueryBase>;
|
|
12
12
|
//# 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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAErD,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAE5B,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAAG,kBAAkB,GAAG,oBAAoB,GAAG,sBAAsB,CAAA;AAEtH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,GAAG,IAAI,IAAI,WAAW,CAAC,CAAC,SAAS,KAAK,GAAG,gBAAgB,GAAG,CAAC,GAAG,gBAAgB,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.53.
|
|
14
|
-
"@xyo-network/module": "^2.53.
|
|
15
|
-
"@xyo-network/module-model": "^2.53.
|
|
16
|
-
"@xyo-network/payload-model": "^2.53.
|
|
17
|
-
"@xyo-network/promise": "^2.53.
|
|
13
|
+
"@xyo-network/core": "^2.53.17",
|
|
14
|
+
"@xyo-network/module": "^2.53.17",
|
|
15
|
+
"@xyo-network/module-model": "^2.53.17",
|
|
16
|
+
"@xyo-network/payload-model": "^2.53.17",
|
|
17
|
+
"@xyo-network/promise": "^2.53.17"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@xylabs/ts-scripts-yarn3": "^2.16.1",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
},
|
|
55
55
|
"sideEffects": false,
|
|
56
56
|
"types": "dist/types/index.d.ts",
|
|
57
|
-
"version": "2.53.
|
|
57
|
+
"version": "2.53.17"
|
|
58
58
|
}
|
package/src/Queries/Attach.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
3
|
export type XyoNodeAttachQuerySchema = 'network.xyo.query.node.attach'
|
|
4
4
|
export const XyoNodeAttachQuerySchema: XyoNodeAttachQuerySchema = 'network.xyo.query.node.attach'
|
|
5
5
|
|
|
6
|
-
export type XyoNodeAttachQuery =
|
|
6
|
+
export type XyoNodeAttachQuery = Query<{
|
|
7
7
|
address: string
|
|
8
8
|
external?: boolean
|
|
9
9
|
schema: XyoNodeAttachQuerySchema
|
package/src/Queries/Attached.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
3
|
export type XyoNodeAttachedQuerySchema = 'network.xyo.query.node.attached'
|
|
4
4
|
export const XyoNodeAttachedQuerySchema: XyoNodeAttachedQuerySchema = 'network.xyo.query.node.attached'
|
|
5
5
|
|
|
6
|
-
export type XyoNodeAttachedQuery =
|
|
6
|
+
export type XyoNodeAttachedQuery = Query<{
|
|
7
7
|
schema: XyoNodeAttachedQuerySchema
|
|
8
8
|
}>
|
package/src/Queries/Detach.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
3
|
export type XyoNodeDetachQuerySchema = 'network.xyo.query.node.detach'
|
|
4
4
|
export const XyoNodeDetachQuerySchema: XyoNodeDetachQuerySchema = 'network.xyo.query.node.detach'
|
|
5
5
|
|
|
6
|
-
export type XyoNodeDetachQuery =
|
|
6
|
+
export type XyoNodeDetachQuery = Query<{
|
|
7
7
|
address: string
|
|
8
8
|
schema: XyoNodeDetachQuerySchema
|
|
9
9
|
}>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
3
|
export type XyoNodeRegisteredQuerySchema = 'network.xyo.query.node.registered'
|
|
4
4
|
export const XyoNodeRegisteredQuerySchema: XyoNodeRegisteredQuerySchema = 'network.xyo.query.node.registered'
|
|
5
5
|
|
|
6
|
-
export type XyoNodeRegisteredQuery =
|
|
6
|
+
export type XyoNodeRegisteredQuery = Query<{
|
|
7
7
|
schema: XyoNodeRegisteredQuerySchema
|
|
8
8
|
}>
|
package/src/Queries/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleQuery,
|
|
1
|
+
import { ModuleQuery, Query } from '@xyo-network/module-model'
|
|
2
2
|
|
|
3
3
|
import { XyoNodeAttachQuery } from './Attach'
|
|
4
4
|
import { XyoNodeAttachedQuery } from './Attached'
|
|
@@ -12,4 +12,4 @@ export * from './Registered'
|
|
|
12
12
|
|
|
13
13
|
export type XyoNodeQueryBase = XyoNodeAttachQuery | XyoNodeDetachQuery | XyoNodeAttachedQuery | XyoNodeRegisteredQuery
|
|
14
14
|
|
|
15
|
-
export type XyoNodeQuery<T extends
|
|
15
|
+
export type XyoNodeQuery<T extends Query | void = void> = ModuleQuery<T extends Query ? XyoNodeQueryBase | T : XyoNodeQueryBase>
|