@xyo-network/diviner-jsonpatch-model 2.111.3 → 3.0.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.
Files changed (84) hide show
  1. package/dist/neutral/index.d.ts +18 -4
  2. package/package.json +9 -28
  3. package/xy.config.ts +12 -0
  4. package/dist/browser/Config.d.cts +0 -11
  5. package/dist/browser/Config.d.cts.map +0 -1
  6. package/dist/browser/Config.d.mts +0 -11
  7. package/dist/browser/Config.d.mts.map +0 -1
  8. package/dist/browser/Config.d.ts +0 -11
  9. package/dist/browser/Config.d.ts.map +0 -1
  10. package/dist/browser/Params.d.cts +0 -5
  11. package/dist/browser/Params.d.cts.map +0 -1
  12. package/dist/browser/Params.d.mts +0 -5
  13. package/dist/browser/Params.d.mts.map +0 -1
  14. package/dist/browser/Params.d.ts +0 -5
  15. package/dist/browser/Params.d.ts.map +0 -1
  16. package/dist/browser/Schema.d.cts +0 -3
  17. package/dist/browser/Schema.d.cts.map +0 -1
  18. package/dist/browser/Schema.d.mts +0 -3
  19. package/dist/browser/Schema.d.mts.map +0 -1
  20. package/dist/browser/Schema.d.ts +0 -3
  21. package/dist/browser/Schema.d.ts.map +0 -1
  22. package/dist/browser/index.cjs +0 -33
  23. package/dist/browser/index.cjs.map +0 -1
  24. package/dist/browser/index.d.cts +0 -4
  25. package/dist/browser/index.d.cts.map +0 -1
  26. package/dist/browser/index.d.mts +0 -4
  27. package/dist/browser/index.d.mts.map +0 -1
  28. package/dist/browser/index.d.ts +0 -4
  29. package/dist/browser/index.d.ts.map +0 -1
  30. package/dist/browser/index.mjs +0 -10
  31. package/dist/browser/index.mjs.map +0 -1
  32. package/dist/neutral/Config.d.cts +0 -11
  33. package/dist/neutral/Config.d.cts.map +0 -1
  34. package/dist/neutral/Config.d.mts +0 -11
  35. package/dist/neutral/Config.d.mts.map +0 -1
  36. package/dist/neutral/Config.d.ts +0 -11
  37. package/dist/neutral/Config.d.ts.map +0 -1
  38. package/dist/neutral/Params.d.cts +0 -5
  39. package/dist/neutral/Params.d.cts.map +0 -1
  40. package/dist/neutral/Params.d.mts +0 -5
  41. package/dist/neutral/Params.d.mts.map +0 -1
  42. package/dist/neutral/Params.d.ts +0 -5
  43. package/dist/neutral/Params.d.ts.map +0 -1
  44. package/dist/neutral/Schema.d.cts +0 -3
  45. package/dist/neutral/Schema.d.cts.map +0 -1
  46. package/dist/neutral/Schema.d.mts +0 -3
  47. package/dist/neutral/Schema.d.mts.map +0 -1
  48. package/dist/neutral/Schema.d.ts +0 -3
  49. package/dist/neutral/Schema.d.ts.map +0 -1
  50. package/dist/neutral/index.cjs +0 -33
  51. package/dist/neutral/index.cjs.map +0 -1
  52. package/dist/neutral/index.d.cts +0 -4
  53. package/dist/neutral/index.d.cts.map +0 -1
  54. package/dist/neutral/index.d.mts +0 -4
  55. package/dist/neutral/index.d.mts.map +0 -1
  56. package/dist/neutral/index.d.ts.map +0 -1
  57. package/dist/node/Config.d.cts +0 -11
  58. package/dist/node/Config.d.cts.map +0 -1
  59. package/dist/node/Config.d.mts +0 -11
  60. package/dist/node/Config.d.mts.map +0 -1
  61. package/dist/node/Config.d.ts +0 -11
  62. package/dist/node/Config.d.ts.map +0 -1
  63. package/dist/node/Params.d.cts +0 -5
  64. package/dist/node/Params.d.cts.map +0 -1
  65. package/dist/node/Params.d.mts +0 -5
  66. package/dist/node/Params.d.mts.map +0 -1
  67. package/dist/node/Params.d.ts +0 -5
  68. package/dist/node/Params.d.ts.map +0 -1
  69. package/dist/node/Schema.d.cts +0 -3
  70. package/dist/node/Schema.d.cts.map +0 -1
  71. package/dist/node/Schema.d.mts +0 -3
  72. package/dist/node/Schema.d.mts.map +0 -1
  73. package/dist/node/Schema.d.ts +0 -3
  74. package/dist/node/Schema.d.ts.map +0 -1
  75. package/dist/node/index.cjs +0 -38
  76. package/dist/node/index.cjs.map +0 -1
  77. package/dist/node/index.d.cts +0 -4
  78. package/dist/node/index.d.cts.map +0 -1
  79. package/dist/node/index.d.mts +0 -4
  80. package/dist/node/index.d.mts.map +0 -1
  81. package/dist/node/index.d.ts +0 -4
  82. package/dist/node/index.d.ts.map +0 -1
  83. package/dist/node/index.mjs +0 -10
  84. package/dist/node/index.mjs.map +0 -1
@@ -1,4 +1,18 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- //# sourceMappingURL=index.d.ts.map
1
+ import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
2
+ import { Operation } from 'json-joy/lib/json-patch/index.js';
3
+ import { AnyConfigSchema } from '@xyo-network/module-model';
4
+
5
+ type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
6
+ declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
7
+
8
+ type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
9
+ declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
10
+ type JsonPatchDivinerConfig = DivinerConfig<{
11
+ operations?: Operation[];
12
+ } & {
13
+ schema: JsonPatchDivinerConfigSchema;
14
+ }>;
15
+
16
+ type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
17
+
18
+ export { type JsonPatchDivinerConfig, JsonPatchDivinerConfigSchema, type JsonPatchDivinerParams, JsonPatchDivinerSchema };
package/package.json CHANGED
@@ -10,45 +10,26 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/diviner-model": "^2.111.3",
14
- "@xyo-network/module-model": "^2.111.3",
13
+ "@xyo-network/diviner-model": "^3.0.0",
14
+ "@xyo-network/module-model": "^3.0.0",
15
15
  "json-joy": "~16.19.0",
16
16
  "tslib": "^2.6.3"
17
17
  },
18
18
  "devDependencies": {
19
- "@xylabs/ts-scripts-yarn3": "^3.15.14",
20
- "@xylabs/tsconfig": "^3.15.14",
19
+ "@xylabs/ts-scripts-yarn3": "next",
20
+ "@xylabs/tsconfig": "next",
21
21
  "typescript": "^5.5.4"
22
22
  },
23
23
  "description": "Primary SDK for using XYO Protocol 2.0",
24
- "types": "dist/node/index.d.ts",
24
+ "types": "dist/neutral/index.d.ts",
25
25
  "exports": {
26
26
  ".": {
27
- "browser": {
28
- "require": {
29
- "types": "./dist/browser/index.d.cts",
30
- "default": "./dist/browser/index.cjs"
31
- },
32
- "import": {
33
- "types": "./dist/browser/index.d.mts",
34
- "default": "./dist/browser/index.mjs"
35
- }
36
- },
37
- "node": {
38
- "require": {
39
- "types": "./dist/node/index.d.cts",
40
- "default": "./dist/node/index.cjs"
41
- },
42
- "import": {
43
- "types": "./dist/node/index.d.mts",
44
- "default": "./dist/node/index.mjs"
45
- }
46
- }
27
+ "types": "./dist/neutral/index.d.ts",
28
+ "default": "./dist/neutral/index.mjs"
47
29
  },
48
30
  "./package.json": "./package.json"
49
31
  },
50
- "main": "dist/node/index.cjs",
51
- "module": "dist/node/index.mjs",
32
+ "module": "dist/neutral/index.mjs",
52
33
  "homepage": "https://xyo.network",
53
34
  "license": "LGPL-3.0-only",
54
35
  "publishConfig": {
@@ -59,6 +40,6 @@
59
40
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
60
41
  },
61
42
  "sideEffects": false,
62
- "version": "2.111.3",
43
+ "version": "3.0.0",
63
44
  "type": "module"
64
45
  }
package/xy.config.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
+ const config: XyTsupConfig = {
3
+ compile: {
4
+ browser: {},
5
+ neutral: {
6
+ src: true,
7
+ },
8
+ node: {},
9
+ },
10
+ }
11
+
12
+ export default config
@@ -1,11 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Operation } from 'json-joy/lib/json-patch/index.js';
3
- import { JsonPatchDivinerSchema } from './Schema.ts';
4
- export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
- export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
- export type JsonPatchDivinerConfig = DivinerConfig<{
7
- operations?: Operation[];
8
- } & {
9
- schema: JsonPatchDivinerConfigSchema;
10
- }>;
11
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAEjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -1,11 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Operation } from 'json-joy/lib/json-patch/index.js';
3
- import { JsonPatchDivinerSchema } from './Schema.ts';
4
- export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
- export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
- export type JsonPatchDivinerConfig = DivinerConfig<{
7
- operations?: Operation[];
8
- } & {
9
- schema: JsonPatchDivinerConfigSchema;
10
- }>;
11
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAEjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -1,11 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Operation } from 'json-joy/lib/json-patch/index.js';
3
- import { JsonPatchDivinerSchema } from './Schema.ts';
4
- export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
- export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
- export type JsonPatchDivinerConfig = DivinerConfig<{
7
- operations?: Operation[];
8
- } & {
9
- schema: JsonPatchDivinerConfigSchema;
10
- }>;
11
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAEjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { JsonPatchDivinerConfig } from './Config.ts';
4
- export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
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,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { JsonPatchDivinerConfig } from './Config.ts';
4
- export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
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,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { JsonPatchDivinerConfig } from './Config.ts';
4
- export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
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,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -1,3 +0,0 @@
1
- export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
- export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -1,3 +0,0 @@
1
- export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
- export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -1,3 +0,0 @@
1
- export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
- export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- JsonPatchDivinerConfigSchema: () => JsonPatchDivinerConfigSchema,
24
- JsonPatchDivinerSchema: () => JsonPatchDivinerSchema
25
- });
26
- module.exports = __toCommonJS(src_exports);
27
-
28
- // src/Schema.ts
29
- var JsonPatchDivinerSchema = "network.xyo.diviner.jsonpatch";
30
-
31
- // src/Config.ts
32
- var JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
33
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './Params.ts'\nexport * from './Schema.ts'\n","export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\nexport const JsonPatchDivinerSchema: JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Operation } from 'json-joy/lib/json-patch/index.js'\n\nimport { JsonPatchDivinerSchema } from './Schema.ts'\n\nexport type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\nexport const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\n\n// TODO: Export our own compatible Operation type to hide implementation details\n// export interface Operation {\n// op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test'\n// path: string\n// value?: JsonValue\n// }\n\nexport type JsonPatchDivinerConfig = DivinerConfig<{ operations?: Operation[] } & { schema: JsonPatchDivinerConfigSchema }>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACCO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;","names":["JsonPatchDivinerSchema","JsonPatchDivinerConfigSchema","JsonPatchDivinerSchema"]}
@@ -1,4 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1,10 +0,0 @@
1
- // src/Schema.ts
2
- var JsonPatchDivinerSchema = "network.xyo.diviner.jsonpatch";
3
-
4
- // src/Config.ts
5
- var JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
6
- export {
7
- JsonPatchDivinerConfigSchema,
8
- JsonPatchDivinerSchema
9
- };
10
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\nexport const JsonPatchDivinerSchema: JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Operation } from 'json-joy/lib/json-patch/index.js'\n\nimport { JsonPatchDivinerSchema } from './Schema.ts'\n\nexport type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\nexport const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\n\n// TODO: Export our own compatible Operation type to hide implementation details\n// export interface Operation {\n// op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test'\n// path: string\n// value?: JsonValue\n// }\n\nexport type JsonPatchDivinerConfig = DivinerConfig<{ operations?: Operation[] } & { schema: JsonPatchDivinerConfigSchema }>\n"],"mappings":";AACO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;","names":["JsonPatchDivinerSchema","JsonPatchDivinerConfigSchema","JsonPatchDivinerSchema"]}
@@ -1,11 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Operation } from 'json-joy/lib/json-patch/index.js';
3
- import { JsonPatchDivinerSchema } from './Schema.ts';
4
- export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
- export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
- export type JsonPatchDivinerConfig = DivinerConfig<{
7
- operations?: Operation[];
8
- } & {
9
- schema: JsonPatchDivinerConfigSchema;
10
- }>;
11
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAEjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -1,11 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Operation } from 'json-joy/lib/json-patch/index.js';
3
- import { JsonPatchDivinerSchema } from './Schema.ts';
4
- export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
- export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
- export type JsonPatchDivinerConfig = DivinerConfig<{
7
- operations?: Operation[];
8
- } & {
9
- schema: JsonPatchDivinerConfigSchema;
10
- }>;
11
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAEjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -1,11 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Operation } from 'json-joy/lib/json-patch/index.js';
3
- import { JsonPatchDivinerSchema } from './Schema.ts';
4
- export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
- export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
- export type JsonPatchDivinerConfig = DivinerConfig<{
7
- operations?: Operation[];
8
- } & {
9
- schema: JsonPatchDivinerConfigSchema;
10
- }>;
11
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAEjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { JsonPatchDivinerConfig } from './Config.ts';
4
- export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
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,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { JsonPatchDivinerConfig } from './Config.ts';
4
- export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
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,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { JsonPatchDivinerConfig } from './Config.ts';
4
- export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
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,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -1,3 +0,0 @@
1
- export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
- export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -1,3 +0,0 @@
1
- export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
- export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -1,3 +0,0 @@
1
- export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
- export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- JsonPatchDivinerConfigSchema: () => JsonPatchDivinerConfigSchema,
24
- JsonPatchDivinerSchema: () => JsonPatchDivinerSchema
25
- });
26
- module.exports = __toCommonJS(src_exports);
27
-
28
- // src/Schema.ts
29
- var JsonPatchDivinerSchema = "network.xyo.diviner.jsonpatch";
30
-
31
- // src/Config.ts
32
- var JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
33
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './Params.ts'\nexport * from './Schema.ts'\n","export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\nexport const JsonPatchDivinerSchema: JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Operation } from 'json-joy/lib/json-patch/index.js'\n\nimport { JsonPatchDivinerSchema } from './Schema.ts'\n\nexport type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\nexport const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\n\n// TODO: Export our own compatible Operation type to hide implementation details\n// export interface Operation {\n// op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test'\n// path: string\n// value?: JsonValue\n// }\n\nexport type JsonPatchDivinerConfig = DivinerConfig<{ operations?: Operation[] } & { schema: JsonPatchDivinerConfigSchema }>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACCO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;","names":["JsonPatchDivinerSchema","JsonPatchDivinerConfigSchema","JsonPatchDivinerSchema"]}
@@ -1,4 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1,11 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Operation } from 'json-joy/lib/json-patch/index.js';
3
- import { JsonPatchDivinerSchema } from './Schema.ts';
4
- export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
- export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
- export type JsonPatchDivinerConfig = DivinerConfig<{
7
- operations?: Operation[];
8
- } & {
9
- schema: JsonPatchDivinerConfigSchema;
10
- }>;
11
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAEjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -1,11 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Operation } from 'json-joy/lib/json-patch/index.js';
3
- import { JsonPatchDivinerSchema } from './Schema.ts';
4
- export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
- export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
- export type JsonPatchDivinerConfig = DivinerConfig<{
7
- operations?: Operation[];
8
- } & {
9
- schema: JsonPatchDivinerConfigSchema;
10
- }>;
11
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAEjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -1,11 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Operation } from 'json-joy/lib/json-patch/index.js';
3
- import { JsonPatchDivinerSchema } from './Schema.ts';
4
- export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
- export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
- export type JsonPatchDivinerConfig = DivinerConfig<{
7
- operations?: Operation[];
8
- } & {
9
- schema: JsonPatchDivinerConfigSchema;
10
- }>;
11
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAEjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { JsonPatchDivinerConfig } from './Config.ts';
4
- export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
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,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { JsonPatchDivinerConfig } from './Config.ts';
4
- export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
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,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { JsonPatchDivinerConfig } from './Config.ts';
4
- export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
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,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -1,3 +0,0 @@
1
- export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
- export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -1,3 +0,0 @@
1
- export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
- export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -1,3 +0,0 @@
1
- export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
- export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- JsonPatchDivinerConfigSchema: () => JsonPatchDivinerConfigSchema,
24
- JsonPatchDivinerSchema: () => JsonPatchDivinerSchema
25
- });
26
- module.exports = __toCommonJS(src_exports);
27
-
28
- // src/Schema.ts
29
- var JsonPatchDivinerSchema = "network.xyo.diviner.jsonpatch";
30
-
31
- // src/Config.ts
32
- var JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
33
- // Annotate the CommonJS export names for ESM import in node:
34
- 0 && (module.exports = {
35
- JsonPatchDivinerConfigSchema,
36
- JsonPatchDivinerSchema
37
- });
38
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './Params.ts'\nexport * from './Schema.ts'\n","export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\nexport const JsonPatchDivinerSchema: JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Operation } from 'json-joy/lib/json-patch/index.js'\n\nimport { JsonPatchDivinerSchema } from './Schema.ts'\n\nexport type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\nexport const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\n\n// TODO: Export our own compatible Operation type to hide implementation details\n// export interface Operation {\n// op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test'\n// path: string\n// value?: JsonValue\n// }\n\nexport type JsonPatchDivinerConfig = DivinerConfig<{ operations?: Operation[] } & { schema: JsonPatchDivinerConfigSchema }>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACCO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;","names":["JsonPatchDivinerSchema","JsonPatchDivinerConfigSchema","JsonPatchDivinerSchema"]}
@@ -1,4 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -1,10 +0,0 @@
1
- // src/Schema.ts
2
- var JsonPatchDivinerSchema = "network.xyo.diviner.jsonpatch";
3
-
4
- // src/Config.ts
5
- var JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
6
- export {
7
- JsonPatchDivinerConfigSchema,
8
- JsonPatchDivinerSchema
9
- };
10
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\nexport const JsonPatchDivinerSchema: JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Operation } from 'json-joy/lib/json-patch/index.js'\n\nimport { JsonPatchDivinerSchema } from './Schema.ts'\n\nexport type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\nexport const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\n\n// TODO: Export our own compatible Operation type to hide implementation details\n// export interface Operation {\n// op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test'\n// path: string\n// value?: JsonValue\n// }\n\nexport type JsonPatchDivinerConfig = DivinerConfig<{ operations?: Operation[] } & { schema: JsonPatchDivinerConfigSchema }>\n"],"mappings":";AACO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;","names":["JsonPatchDivinerSchema","JsonPatchDivinerConfigSchema","JsonPatchDivinerSchema"]}