@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.
- package/dist/neutral/index.d.ts +18 -4
- package/package.json +9 -28
- package/xy.config.ts +12 -0
- package/dist/browser/Config.d.cts +0 -11
- package/dist/browser/Config.d.cts.map +0 -1
- package/dist/browser/Config.d.mts +0 -11
- package/dist/browser/Config.d.mts.map +0 -1
- package/dist/browser/Config.d.ts +0 -11
- package/dist/browser/Config.d.ts.map +0 -1
- package/dist/browser/Params.d.cts +0 -5
- package/dist/browser/Params.d.cts.map +0 -1
- package/dist/browser/Params.d.mts +0 -5
- package/dist/browser/Params.d.mts.map +0 -1
- package/dist/browser/Params.d.ts +0 -5
- package/dist/browser/Params.d.ts.map +0 -1
- package/dist/browser/Schema.d.cts +0 -3
- package/dist/browser/Schema.d.cts.map +0 -1
- package/dist/browser/Schema.d.mts +0 -3
- package/dist/browser/Schema.d.mts.map +0 -1
- package/dist/browser/Schema.d.ts +0 -3
- package/dist/browser/Schema.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -33
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -4
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -4
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts +0 -4
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.mjs +0 -10
- package/dist/browser/index.mjs.map +0 -1
- package/dist/neutral/Config.d.cts +0 -11
- package/dist/neutral/Config.d.cts.map +0 -1
- package/dist/neutral/Config.d.mts +0 -11
- package/dist/neutral/Config.d.mts.map +0 -1
- package/dist/neutral/Config.d.ts +0 -11
- package/dist/neutral/Config.d.ts.map +0 -1
- package/dist/neutral/Params.d.cts +0 -5
- package/dist/neutral/Params.d.cts.map +0 -1
- package/dist/neutral/Params.d.mts +0 -5
- package/dist/neutral/Params.d.mts.map +0 -1
- package/dist/neutral/Params.d.ts +0 -5
- package/dist/neutral/Params.d.ts.map +0 -1
- package/dist/neutral/Schema.d.cts +0 -3
- package/dist/neutral/Schema.d.cts.map +0 -1
- package/dist/neutral/Schema.d.mts +0 -3
- package/dist/neutral/Schema.d.mts.map +0 -1
- package/dist/neutral/Schema.d.ts +0 -3
- package/dist/neutral/Schema.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -33
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -4
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -4
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/node/Config.d.cts +0 -11
- package/dist/node/Config.d.cts.map +0 -1
- package/dist/node/Config.d.mts +0 -11
- package/dist/node/Config.d.mts.map +0 -1
- package/dist/node/Config.d.ts +0 -11
- package/dist/node/Config.d.ts.map +0 -1
- package/dist/node/Params.d.cts +0 -5
- package/dist/node/Params.d.cts.map +0 -1
- package/dist/node/Params.d.mts +0 -5
- package/dist/node/Params.d.mts.map +0 -1
- package/dist/node/Params.d.ts +0 -5
- package/dist/node/Params.d.ts.map +0 -1
- package/dist/node/Schema.d.cts +0 -3
- package/dist/node/Schema.d.cts.map +0 -1
- package/dist/node/Schema.d.mts +0 -3
- package/dist/node/Schema.d.mts.map +0 -1
- package/dist/node/Schema.d.ts +0 -3
- package/dist/node/Schema.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -38
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -4
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -4
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts +0 -4
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.mjs +0 -10
- package/dist/node/index.mjs.map +0 -1
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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": "^
|
|
14
|
-
"@xyo-network/module-model": "^
|
|
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": "
|
|
20
|
-
"@xylabs/tsconfig": "
|
|
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/
|
|
24
|
+
"types": "dist/neutral/index.d.ts",
|
|
25
25
|
"exports": {
|
|
26
26
|
".": {
|
|
27
|
-
"
|
|
28
|
-
|
|
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
|
-
"
|
|
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": "
|
|
43
|
+
"version": "3.0.0",
|
|
63
44
|
"type": "module"
|
|
64
45
|
}
|
package/xy.config.ts
ADDED
|
@@ -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"}
|
package/dist/browser/Config.d.ts
DELETED
|
@@ -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"}
|
package/dist/browser/Params.d.ts
DELETED
|
@@ -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 +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 +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"}
|
package/dist/browser/Schema.d.ts
DELETED
|
@@ -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"}
|
package/dist/browser/index.cjs
DELETED
|
@@ -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"]}
|
package/dist/browser/index.d.cts
DELETED
|
@@ -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"}
|
package/dist/browser/index.d.mts
DELETED
|
@@ -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"}
|
package/dist/browser/index.d.ts
DELETED
|
@@ -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"}
|
package/dist/browser/index.mjs
DELETED
|
@@ -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"}
|
package/dist/neutral/Config.d.ts
DELETED
|
@@ -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"}
|
package/dist/neutral/Params.d.ts
DELETED
|
@@ -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 +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 +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"}
|
package/dist/neutral/Schema.d.ts
DELETED
|
@@ -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"}
|
package/dist/neutral/index.cjs
DELETED
|
@@ -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"]}
|
package/dist/neutral/index.d.cts
DELETED
|
@@ -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"}
|
package/dist/neutral/index.d.mts
DELETED
|
@@ -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"}
|
package/dist/node/Config.d.cts
DELETED
|
@@ -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"}
|
package/dist/node/Config.d.mts
DELETED
|
@@ -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"}
|
package/dist/node/Config.d.ts
DELETED
|
@@ -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"}
|
package/dist/node/Params.d.cts
DELETED
|
@@ -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"}
|
package/dist/node/Params.d.mts
DELETED
|
@@ -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"}
|
package/dist/node/Params.d.ts
DELETED
|
@@ -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"}
|
package/dist/node/Schema.d.cts
DELETED
|
@@ -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"}
|
package/dist/node/Schema.d.mts
DELETED
|
@@ -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"}
|
package/dist/node/Schema.d.ts
DELETED
|
@@ -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"}
|
package/dist/node/index.cjs
DELETED
|
@@ -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
|
package/dist/node/index.cjs.map
DELETED
|
@@ -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"]}
|
package/dist/node/index.d.cts
DELETED
|
@@ -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"}
|
package/dist/node/index.d.mts
DELETED
|
@@ -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"}
|
package/dist/node/index.d.ts
DELETED
package/dist/node/index.d.ts.map
DELETED
|
@@ -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"}
|
package/dist/node/index.mjs
DELETED
|
@@ -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
|
package/dist/node/index.mjs.map
DELETED
|
@@ -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"]}
|