@xyo-network/diviner-schema-list-model 2.73.3 → 2.74.0

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.
@@ -0,0 +1,9 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { Payload } from '@xyo-network/payload-model';
3
+ import { SchemaListDivinerSchema } from './Schema';
4
+ export type SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`;
5
+ export declare const SchemaListDivinerConfigSchema: SchemaListDivinerConfigSchema;
6
+ export type SchemaListDivinerConfig<T extends Payload = Payload> = DivinerConfig<T & {
7
+ schema: SchemaListDivinerConfigSchema;
8
+ }>;
9
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,6BAA6B,GAAG,GAAG,uBAAuB,SAAS,CAAA;AAC/E,eAAO,MAAM,6BAA6B,EAAE,6BAAmE,CAAA;AAE/G,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,IAAI,aAAa,CAC9E,CAAC,GAAG;IACF,MAAM,EAAE,6BAA6B,CAAA;CACtC,CACF,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { Payload } from '@xyo-network/payload-model';
3
+ import { SchemaListDivinerSchema } from './Schema';
4
+ export type SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`;
5
+ export declare const SchemaListDivinerConfigSchema: SchemaListDivinerConfigSchema;
6
+ export type SchemaListDivinerConfig<T extends Payload = Payload> = DivinerConfig<T & {
7
+ schema: SchemaListDivinerConfigSchema;
8
+ }>;
9
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,6BAA6B,GAAG,GAAG,uBAAuB,SAAS,CAAA;AAC/E,eAAO,MAAM,6BAA6B,EAAE,6BAAmE,CAAA;AAE/G,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,IAAI,aAAa,CAC9E,CAAC,GAAG;IACF,MAAM,EAAE,6BAA6B,CAAA;CACtC,CACF,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { SchemaListDivinerConfig } from './Config';
4
+ export type SchemaListDivinerParams = DivinerParams<AnyConfigSchema<SchemaListDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC,eAAe,CAAC,uBAAuB,CAAC,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { SchemaListDivinerConfig } from './Config';
4
+ export type SchemaListDivinerParams = DivinerParams<AnyConfigSchema<SchemaListDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC,eAAe,CAAC,uBAAuB,CAAC,CAAC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { SchemaListDivinerSchema } from './Schema';
3
+ export type SchemaListPayload = Payload<{
4
+ schema: SchemaListDivinerSchema;
5
+ schemas: string[];
6
+ }>;
7
+ export declare const isSchemaListPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
8
+ schema: SchemaListDivinerSchema;
9
+ schemas: string[];
10
+ };
11
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC;IACtC,MAAM,EAAE,uBAAuB,CAAA;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC,CAAA;AAEF,eAAO,MAAM,mBAAmB,OAAQ,OAAO,GAAG,IAAI;YAJ5C,uBAAuB;aACtB,MAAM,EAAE;CAGqG,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { SchemaListDivinerSchema } from './Schema';
3
+ export type SchemaListPayload = Payload<{
4
+ schema: SchemaListDivinerSchema;
5
+ schemas: string[];
6
+ }>;
7
+ export declare const isSchemaListPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
8
+ schema: SchemaListDivinerSchema;
9
+ schemas: string[];
10
+ };
11
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC;IACtC,MAAM,EAAE,uBAAuB,CAAA;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC,CAAA;AAEF,eAAO,MAAM,mBAAmB,OAAQ,OAAO,GAAG,IAAI;YAJ5C,uBAAuB;aACtB,MAAM,EAAE;CAGqG,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Payload, Query } from '@xyo-network/payload-model';
2
+ import { SchemaListDivinerSchema } from './Schema';
3
+ export type SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`;
4
+ export declare const SchemaListQuerySchema: SchemaListQuerySchema;
5
+ export type SchemaListQueryPayload = Query<{
6
+ schema: SchemaListQuerySchema;
7
+ }>;
8
+ export declare const isSchemaListQueryPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
9
+ schema: SchemaListQuerySchema;
10
+ } & import("@xyo-network/payload-model").QueryFields;
11
+ //# sourceMappingURL=Query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,qBAAqB,GAAG,GAAG,uBAAuB,QAAQ,CAAA;AACtE,eAAO,MAAM,qBAAqB,EAAE,qBAA0D,CAAA;AAE9F,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,qBAAqB,CAAA;CAAE,CAAC,CAAA;AAC7E,eAAO,MAAM,wBAAwB,OAAQ,OAAO,GAAG,IAAI;YADN,qBAAqB;oDACsD,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Payload, Query } from '@xyo-network/payload-model';
2
+ import { SchemaListDivinerSchema } from './Schema';
3
+ export type SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`;
4
+ export declare const SchemaListQuerySchema: SchemaListQuerySchema;
5
+ export type SchemaListQueryPayload = Query<{
6
+ schema: SchemaListQuerySchema;
7
+ }>;
8
+ export declare const isSchemaListQueryPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
9
+ schema: SchemaListQuerySchema;
10
+ } & import("@xyo-network/payload-model").QueryFields;
11
+ //# sourceMappingURL=Query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,qBAAqB,GAAG,GAAG,uBAAuB,QAAQ,CAAA;AACtE,eAAO,MAAM,qBAAqB,EAAE,qBAA0D,CAAA;AAE9F,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,qBAAqB,CAAA;CAAE,CAAC,CAAA;AAC7E,eAAO,MAAM,wBAAwB,OAAQ,OAAO,GAAG,IAAI;YADN,qBAAqB;oDACsD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list';
2
+ export declare const SchemaListDivinerSchema: SchemaListDivinerSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG,iCAAiC,CAAA;AACvE,eAAO,MAAM,uBAAuB,EAAE,uBAA2D,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list';
2
+ export declare const SchemaListDivinerSchema: SchemaListDivinerSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG,iCAAiC,CAAA;AACvE,eAAO,MAAM,uBAAuB,EAAE,uBAA2D,CAAA"}
package/dist/index.d.mts CHANGED
@@ -1,39 +1,6 @@
1
- import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
2
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
3
- import { Payload, Query } from '@xyo-network/payload-model';
4
- import { AnyConfigSchema } from '@xyo-network/module-model';
5
-
6
- type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list';
7
- declare const SchemaListDivinerSchema: SchemaListDivinerSchema;
8
-
9
- type SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`;
10
- declare const SchemaListDivinerConfigSchema: SchemaListDivinerConfigSchema;
11
- type SchemaListDivinerConfig<T extends Payload = Payload> = DivinerConfig<T & {
12
- schema: SchemaListDivinerConfigSchema;
13
- }>;
14
-
15
- type SchemaListDivinerParams = DivinerParams<AnyConfigSchema<SchemaListDivinerConfig>>;
16
-
17
- type SchemaListPayload = Payload<{
18
- schema: SchemaListDivinerSchema;
19
- schemas: string[];
20
- }>;
21
- declare const isSchemaListPayload: (x?: Payload | null) => x is _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
22
- schema: SchemaListDivinerSchema;
23
- schemas: string[];
24
- } & {
25
- schema: "network.xyo.diviner.schema.list";
26
- };
27
-
28
- type SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`;
29
- declare const SchemaListQuerySchema: SchemaListQuerySchema;
30
- type SchemaListQueryPayload = Query<{
31
- schema: SchemaListQuerySchema;
32
- }>;
33
- declare const isSchemaListQueryPayload: (x?: Payload | null) => x is _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
34
- schema: SchemaListQuerySchema;
35
- } & _xyo_network_payload_model.QueryFields & {
36
- schema: "network.xyo.diviner.schema.list.query";
37
- };
38
-
39
- export { SchemaListDivinerConfig, SchemaListDivinerConfigSchema, SchemaListDivinerParams, SchemaListDivinerSchema, SchemaListPayload, SchemaListQueryPayload, SchemaListQuerySchema, isSchemaListPayload, isSchemaListQueryPayload };
1
+ export * from './Config';
2
+ export * from './Params';
3
+ export * from './Payload';
4
+ export * from './Query';
5
+ export * from './Schema';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,39 +1,6 @@
1
- import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
2
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
3
- import { Payload, Query } from '@xyo-network/payload-model';
4
- import { AnyConfigSchema } from '@xyo-network/module-model';
5
-
6
- type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list';
7
- declare const SchemaListDivinerSchema: SchemaListDivinerSchema;
8
-
9
- type SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`;
10
- declare const SchemaListDivinerConfigSchema: SchemaListDivinerConfigSchema;
11
- type SchemaListDivinerConfig<T extends Payload = Payload> = DivinerConfig<T & {
12
- schema: SchemaListDivinerConfigSchema;
13
- }>;
14
-
15
- type SchemaListDivinerParams = DivinerParams<AnyConfigSchema<SchemaListDivinerConfig>>;
16
-
17
- type SchemaListPayload = Payload<{
18
- schema: SchemaListDivinerSchema;
19
- schemas: string[];
20
- }>;
21
- declare const isSchemaListPayload: (x?: Payload | null) => x is _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
22
- schema: SchemaListDivinerSchema;
23
- schemas: string[];
24
- } & {
25
- schema: "network.xyo.diviner.schema.list";
26
- };
27
-
28
- type SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`;
29
- declare const SchemaListQuerySchema: SchemaListQuerySchema;
30
- type SchemaListQueryPayload = Query<{
31
- schema: SchemaListQuerySchema;
32
- }>;
33
- declare const isSchemaListQueryPayload: (x?: Payload | null) => x is _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
34
- schema: SchemaListQuerySchema;
35
- } & _xyo_network_payload_model.QueryFields & {
36
- schema: "network.xyo.diviner.schema.list.query";
37
- };
38
-
39
- export { SchemaListDivinerConfig, SchemaListDivinerConfigSchema, SchemaListDivinerParams, SchemaListDivinerSchema, SchemaListPayload, SchemaListQueryPayload, SchemaListQuerySchema, isSchemaListPayload, isSchemaListQueryPayload };
1
+ export * from './Config';
2
+ export * from './Params';
3
+ export * from './Payload';
4
+ export * from './Query';
5
+ export * from './Schema';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
package/package.json CHANGED
@@ -10,21 +10,15 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/diviner-model": "~2.73.3",
14
- "@xyo-network/module-model": "~2.73.3",
15
- "@xyo-network/payload-model": "~2.73.3"
13
+ "@xyo-network/diviner-model": "~2.74.0",
14
+ "@xyo-network/module-model": "~2.74.0",
15
+ "@xyo-network/payload-model": "~2.74.0"
16
16
  },
17
17
  "devDependencies": {
18
- "@xylabs/ts-scripts-yarn3": "^2.19.5",
19
- "@xylabs/tsconfig": "^2.19.5",
20
- "publint": "^0.2.2",
21
- "tsup": "^7.2.0",
18
+ "@xylabs/ts-scripts-yarn3": "^3.0.27",
19
+ "@xylabs/tsconfig": "^3.0.27",
22
20
  "typescript": "^5.2.2"
23
21
  },
24
- "scripts": {
25
- "package-compile": "tsup && publint",
26
- "package-recompile": "tsup && publint"
27
- },
28
22
  "description": "Primary SDK for using XYO Protocol 2.0",
29
23
  "docs": "dist/docs.json",
30
24
  "types": "dist/index.d.ts",
@@ -65,5 +59,5 @@
65
59
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
66
60
  },
67
61
  "sideEffects": false,
68
- "version": "2.73.3"
62
+ "version": "2.74.0"
69
63
  }