@xyo-network/node 2.33.8 → 2.33.9
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/index.d.ts +8 -9
- package/dist/cjs/Queries/index.d.ts.map +1 -1
- package/dist/docs.json +3928 -8070
- package/dist/esm/Queries/index.d.ts +8 -9
- package/dist/esm/Queries/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/Queries/index.ts +9 -16
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { XyoModuleQuery,
|
|
2
|
-
import { XyoNodeAttachQuery
|
|
3
|
-
import { XyoNodeAttachedQuery
|
|
4
|
-
import { XyoNodeDetatchQuery
|
|
5
|
-
import { XyoNodeRegisteredQuery
|
|
1
|
+
import { XyoModuleQuery, XyoQuery } from '@xyo-network/module';
|
|
2
|
+
import { XyoNodeAttachQuery } from './Attach';
|
|
3
|
+
import { XyoNodeAttachedQuery } from './Attached';
|
|
4
|
+
import { XyoNodeDetatchQuery } from './Detatch';
|
|
5
|
+
import { XyoNodeRegisteredQuery } from './Registered';
|
|
6
6
|
export * from './Attach';
|
|
7
7
|
export * from './Attached';
|
|
8
8
|
export * from './Detatch';
|
|
9
9
|
export * from './Registered';
|
|
10
|
-
declare type
|
|
11
|
-
export declare type
|
|
12
|
-
declare type
|
|
13
|
-
export declare type XyoNodeQuery<T extends XyoQuery | void = void> = T extends XyoQuery ? XyoNodeQueryBase<T> : XyoNodeQueryBase;
|
|
10
|
+
export declare type XyoNodeQueryBase<T extends XyoQuery | void = void> = T extends XyoQuery ? XyoModuleQuery<XyoNodeAttachQuery | XyoNodeDetatchQuery | XyoNodeAttachedQuery | XyoNodeRegisteredQuery | T> : XyoModuleQuery<XyoNodeAttachQuery | XyoNodeDetatchQuery | XyoNodeAttachedQuery | XyoNodeRegisteredQuery>;
|
|
11
|
+
export declare type XyoNodeQuery<T extends XyoQuery | void = void> = XyoNodeQueryBase<T>;
|
|
12
|
+
export declare type XyoNodeQuerySchema = XyoNodeQuery['schema'];
|
|
14
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,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Queries/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAErD,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAE5B,oBAAY,gBAAgB,CAAC,CAAC,SAAS,QAAQ,GAAG,IAAI,GAAG,IAAI,IAAI,CAAC,SAAS,QAAQ,GAC/E,cAAc,CAAC,kBAAkB,GAAG,mBAAmB,GAAG,oBAAoB,GAAG,sBAAsB,GAAG,CAAC,CAAC,GAC5G,cAAc,CAAC,kBAAkB,GAAG,mBAAmB,GAAG,oBAAoB,GAAG,sBAAsB,CAAC,CAAA;AAE5G,oBAAY,YAAY,CAAC,CAAC,SAAS,QAAQ,GAAG,IAAI,GAAG,IAAI,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAEhF,oBAAY,kBAAkB,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/assert": "^2.6.7",
|
|
14
14
|
"@xylabs/forget": "^2.6.7",
|
|
15
|
-
"@xyo-network/account": "^2.33.
|
|
16
|
-
"@xyo-network/archivist": "^2.33.
|
|
17
|
-
"@xyo-network/module": "^2.33.
|
|
18
|
-
"@xyo-network/payload": "^2.33.
|
|
19
|
-
"@xyo-network/promise": "^2.33.
|
|
15
|
+
"@xyo-network/account": "^2.33.9",
|
|
16
|
+
"@xyo-network/archivist": "^2.33.9",
|
|
17
|
+
"@xyo-network/module": "^2.33.9",
|
|
18
|
+
"@xyo-network/payload": "^2.33.9",
|
|
19
|
+
"@xyo-network/promise": "^2.33.9",
|
|
20
20
|
"lodash": "^4.17.21",
|
|
21
21
|
"terminal-kit": "^2.11.6",
|
|
22
22
|
"tslib": "^2.4.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"xyo-ts": "ts-node src/cli/index.ts"
|
|
68
68
|
},
|
|
69
69
|
"types": "dist/esm/index.d.ts",
|
|
70
|
-
"version": "2.33.
|
|
70
|
+
"version": "2.33.9"
|
|
71
71
|
}
|
package/src/Queries/index.ts
CHANGED
|
@@ -1,26 +1,19 @@
|
|
|
1
|
-
import { XyoModuleQuery,
|
|
1
|
+
import { XyoModuleQuery, XyoQuery } from '@xyo-network/module'
|
|
2
2
|
|
|
3
|
-
import { XyoNodeAttachQuery
|
|
4
|
-
import { XyoNodeAttachedQuery
|
|
5
|
-
import { XyoNodeDetatchQuery
|
|
6
|
-
import { XyoNodeRegisteredQuery
|
|
3
|
+
import { XyoNodeAttachQuery } from './Attach'
|
|
4
|
+
import { XyoNodeAttachedQuery } from './Attached'
|
|
5
|
+
import { XyoNodeDetatchQuery } from './Detatch'
|
|
6
|
+
import { XyoNodeRegisteredQuery } from './Registered'
|
|
7
7
|
|
|
8
8
|
export * from './Attach'
|
|
9
9
|
export * from './Attached'
|
|
10
10
|
export * from './Detatch'
|
|
11
11
|
export * from './Registered'
|
|
12
12
|
|
|
13
|
-
type
|
|
14
|
-
| XyoNodeAttachQuerySchema
|
|
15
|
-
| XyoNodeDetatchQuerySchema
|
|
16
|
-
| XyoNodeAttachedQuerySchema
|
|
17
|
-
| XyoNodeRegisteredQuerySchema
|
|
18
|
-
| XyoModuleQuerySchema
|
|
19
|
-
|
|
20
|
-
export type XyoNodeQuerySchema<T extends string | void = void> = T extends string ? XyoNodeQuerySchemaBase | T : XyoNodeQuerySchemaBase
|
|
21
|
-
|
|
22
|
-
type XyoNodeQueryBase<T extends XyoQuery | void = void> = T extends XyoQuery
|
|
13
|
+
export type XyoNodeQueryBase<T extends XyoQuery | void = void> = T extends XyoQuery
|
|
23
14
|
? XyoModuleQuery<XyoNodeAttachQuery | XyoNodeDetatchQuery | XyoNodeAttachedQuery | XyoNodeRegisteredQuery | T>
|
|
24
15
|
: XyoModuleQuery<XyoNodeAttachQuery | XyoNodeDetatchQuery | XyoNodeAttachedQuery | XyoNodeRegisteredQuery>
|
|
25
16
|
|
|
26
|
-
export type XyoNodeQuery<T extends XyoQuery | void = void> =
|
|
17
|
+
export type XyoNodeQuery<T extends XyoQuery | void = void> = XyoNodeQueryBase<T>
|
|
18
|
+
|
|
19
|
+
export type XyoNodeQuerySchema = XyoNodeQuery['schema']
|