@xyo-network/diviner-schema-list-model 2.75.0 → 2.75.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.
Files changed (58) hide show
  1. package/dist/browser/Config.d.cts +9 -0
  2. package/dist/browser/Config.d.cts.map +1 -0
  3. package/dist/browser/Config.js +2 -5
  4. package/dist/browser/Config.js.map +1 -1
  5. package/dist/browser/Params.d.cts +5 -0
  6. package/dist/browser/Params.d.cts.map +1 -0
  7. package/dist/browser/Payload.d.cts +11 -0
  8. package/dist/browser/Payload.d.cts.map +1 -0
  9. package/dist/browser/Payload.js +2 -5
  10. package/dist/browser/Payload.js.map +1 -1
  11. package/dist/browser/Query.d.cts +11 -0
  12. package/dist/browser/Query.d.cts.map +1 -0
  13. package/dist/browser/Query.js +3 -6
  14. package/dist/browser/Query.js.map +1 -1
  15. package/dist/browser/Schema.d.cts +3 -0
  16. package/dist/browser/Schema.d.cts.map +1 -0
  17. package/dist/browser/Schema.js +1 -2
  18. package/dist/browser/Schema.js.map +1 -1
  19. package/dist/browser/index.d.cts +6 -0
  20. package/dist/browser/index.d.cts.map +1 -0
  21. package/dist/browser/index.js +5 -19
  22. package/dist/browser/index.js.map +1 -1
  23. package/dist/docs.json +1088 -0
  24. package/dist/node/Config.d.cts +9 -0
  25. package/dist/node/Config.d.cts.map +1 -0
  26. package/dist/node/Config.js +8 -2
  27. package/dist/node/Config.js.map +1 -1
  28. package/dist/node/Config.mjs +5 -2
  29. package/dist/node/Config.mjs.map +1 -1
  30. package/dist/node/Params.d.cts +5 -0
  31. package/dist/node/Params.d.cts.map +1 -0
  32. package/dist/node/Params.js +2 -0
  33. package/dist/node/Params.js.map +1 -1
  34. package/dist/node/Payload.d.cts +11 -0
  35. package/dist/node/Payload.d.cts.map +1 -0
  36. package/dist/node/Payload.js +8 -2
  37. package/dist/node/Payload.js.map +1 -1
  38. package/dist/node/Payload.mjs +5 -2
  39. package/dist/node/Payload.mjs.map +1 -1
  40. package/dist/node/Query.d.cts +11 -0
  41. package/dist/node/Query.d.cts.map +1 -0
  42. package/dist/node/Query.js +9 -3
  43. package/dist/node/Query.js.map +1 -1
  44. package/dist/node/Query.mjs +6 -3
  45. package/dist/node/Query.mjs.map +1 -1
  46. package/dist/node/Schema.d.cts +3 -0
  47. package/dist/node/Schema.d.cts.map +1 -0
  48. package/dist/node/Schema.js +3 -1
  49. package/dist/node/Schema.js.map +1 -1
  50. package/dist/node/Schema.mjs +2 -1
  51. package/dist/node/Schema.mjs.map +1 -1
  52. package/dist/node/index.d.cts +6 -0
  53. package/dist/node/index.d.cts.map +1 -0
  54. package/dist/node/index.js +31 -11
  55. package/dist/node/index.js.map +1 -1
  56. package/dist/node/index.mjs +19 -5
  57. package/dist/node/index.mjs.map +1 -1
  58. package/package.json +7 -7
@@ -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"}
@@ -1,8 +1,5 @@
1
- // src/Schema.ts
2
- var SchemaListDivinerSchema = "network.xyo.diviner.schema.list";
3
-
4
- // src/Config.ts
5
- var SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`;
1
+ import { SchemaListDivinerSchema } from "./Schema";
2
+ const SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`;
6
3
  export {
7
4
  SchemaListDivinerConfigSchema
8
5
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\nexport const SchemaListDivinerSchema: SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaListDivinerSchema } from './Schema'\n\nexport type SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`\nexport const SchemaListDivinerConfigSchema: SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`\n\nexport type SchemaListDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: SchemaListDivinerConfigSchema\n }\n>\n"],"mappings":";AACO,IAAM,0BAAmD;;;ACKzD,IAAM,gCAA+D,GAAG,uBAAuB;","names":[]}
1
+ {"version":3,"sources":["../../src/Config.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaListDivinerSchema } from './Schema'\n\nexport type SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`\nexport const SchemaListDivinerConfigSchema: SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`\n\nexport type SchemaListDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: SchemaListDivinerConfigSchema\n }\n>\n"],"mappings":"AAGA,SAAS,+BAA+B;AAGjC,MAAM,gCAA+D,GAAG,uBAAuB;","names":[]}
@@ -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"}
@@ -1,8 +1,5 @@
1
- // src/Schema.ts
2
- var SchemaListDivinerSchema = "network.xyo.diviner.schema.list";
3
-
4
- // src/Payload.ts
5
- var isSchemaListPayload = (x) => x?.schema === SchemaListDivinerSchema;
1
+ import { SchemaListDivinerSchema } from "./Schema";
2
+ const isSchemaListPayload = (x) => x?.schema === SchemaListDivinerSchema;
6
3
  export {
7
4
  isSchemaListPayload
8
5
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts"],"sourcesContent":["export type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\nexport const SchemaListDivinerSchema: SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaListDivinerSchema } from './Schema'\n\nexport type SchemaListPayload = Payload<{\n schema: SchemaListDivinerSchema\n schemas: string[]\n}>\n\nexport const isSchemaListPayload = (x?: Payload | null): x is SchemaListPayload => x?.schema === SchemaListDivinerSchema\n"],"mappings":";AACO,IAAM,0BAAmD;;;ACQzD,IAAM,sBAAsB,CAAC,MAA+C,GAAG,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaListDivinerSchema } from './Schema'\n\nexport type SchemaListPayload = Payload<{\n schema: SchemaListDivinerSchema\n schemas: string[]\n}>\n\nexport const isSchemaListPayload = (x?: Payload | null): x is SchemaListPayload => x?.schema === SchemaListDivinerSchema\n"],"mappings":"AAEA,SAAS,+BAA+B;AAOjC,MAAM,sBAAsB,CAAC,MAA+C,GAAG,WAAW;","names":[]}
@@ -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"}
@@ -1,9 +1,6 @@
1
- // src/Schema.ts
2
- var SchemaListDivinerSchema = "network.xyo.diviner.schema.list";
3
-
4
- // src/Query.ts
5
- var SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`;
6
- var isSchemaListQueryPayload = (x) => x?.schema === SchemaListQuerySchema;
1
+ import { SchemaListDivinerSchema } from "./Schema";
2
+ const SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`;
3
+ const isSchemaListQueryPayload = (x) => x?.schema === SchemaListQuerySchema;
7
4
  export {
8
5
  SchemaListQuerySchema,
9
6
  isSchemaListQueryPayload
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Query.ts"],"sourcesContent":["export type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\nexport const SchemaListDivinerSchema: SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { SchemaListDivinerSchema } from './Schema'\n\nexport type SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`\nexport const SchemaListQuerySchema: SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`\n\nexport type SchemaListQueryPayload = Query<{ schema: SchemaListQuerySchema }>\nexport const isSchemaListQueryPayload = (x?: Payload | null): x is SchemaListQueryPayload => x?.schema === SchemaListQuerySchema\n"],"mappings":";AACO,IAAM,0BAAmD;;;ACIzD,IAAM,wBAA+C,GAAG,uBAAuB;AAG/E,IAAM,2BAA2B,CAAC,MAAoD,GAAG,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../src/Query.ts"],"sourcesContent":["import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { SchemaListDivinerSchema } from './Schema'\n\nexport type SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`\nexport const SchemaListQuerySchema: SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`\n\nexport type SchemaListQueryPayload = Query<{ schema: SchemaListQuerySchema }>\nexport const isSchemaListQueryPayload = (x?: Payload | null): x is SchemaListQueryPayload => x?.schema === SchemaListQuerySchema\n"],"mappings":"AAEA,SAAS,+BAA+B;AAGjC,MAAM,wBAA+C,GAAG,uBAAuB;AAG/E,MAAM,2BAA2B,CAAC,MAAoD,GAAG,WAAW;","names":[]}
@@ -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"}
@@ -1,5 +1,4 @@
1
- // src/Schema.ts
2
- var SchemaListDivinerSchema = "network.xyo.diviner.schema.list";
1
+ const SchemaListDivinerSchema = "network.xyo.diviner.schema.list";
3
2
  export {
4
3
  SchemaListDivinerSchema
5
4
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\nexport const SchemaListDivinerSchema: SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\n"],"mappings":";AACO,IAAM,0BAAmD;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\nexport const SchemaListDivinerSchema: SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\n"],"mappings":"AACO,MAAM,0BAAmD;","names":[]}
@@ -0,0 +1,6 @@
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"}
@@ -1,20 +1,6 @@
1
- // src/Schema.ts
2
- var SchemaListDivinerSchema = "network.xyo.diviner.schema.list";
3
-
4
- // src/Config.ts
5
- var SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`;
6
-
7
- // src/Payload.ts
8
- var isSchemaListPayload = (x) => x?.schema === SchemaListDivinerSchema;
9
-
10
- // src/Query.ts
11
- var SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`;
12
- var isSchemaListQueryPayload = (x) => x?.schema === SchemaListQuerySchema;
13
- export {
14
- SchemaListDivinerConfigSchema,
15
- SchemaListDivinerSchema,
16
- SchemaListQuerySchema,
17
- isSchemaListPayload,
18
- isSchemaListQueryPayload
19
- };
1
+ export * from "./Config";
2
+ export * from "./Params";
3
+ export * from "./Payload";
4
+ export * from "./Query";
5
+ export * from "./Schema";
20
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\nexport const SchemaListDivinerSchema: SchemaListDivinerSchema = 'network.xyo.diviner.schema.list'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaListDivinerSchema } from './Schema'\n\nexport type SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`\nexport const SchemaListDivinerConfigSchema: SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`\n\nexport type SchemaListDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: SchemaListDivinerConfigSchema\n }\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaListDivinerSchema } from './Schema'\n\nexport type SchemaListPayload = Payload<{\n schema: SchemaListDivinerSchema\n schemas: string[]\n}>\n\nexport const isSchemaListPayload = (x?: Payload | null): x is SchemaListPayload => x?.schema === SchemaListDivinerSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { SchemaListDivinerSchema } from './Schema'\n\nexport type SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`\nexport const SchemaListQuerySchema: SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`\n\nexport type SchemaListQueryPayload = Query<{ schema: SchemaListQuerySchema }>\nexport const isSchemaListQueryPayload = (x?: Payload | null): x is SchemaListQueryPayload => x?.schema === SchemaListQuerySchema\n"],"mappings":";AACO,IAAM,0BAAmD;;;ACKzD,IAAM,gCAA+D,GAAG,uBAAuB;;;ACG/F,IAAM,sBAAsB,CAAC,MAA+C,GAAG,WAAW;;;ACJ1F,IAAM,wBAA+C,GAAG,uBAAuB;AAG/E,IAAM,2BAA2B,CAAC,MAAoD,GAAG,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './Params'\nexport * from './Payload'\nexport * from './Query'\nexport * from './Schema'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}