@xyo-network/diviner-jsonpatch-model 5.2.25 → 5.3.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/Config.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
2
|
import type { Operation } from 'fast-json-patch';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export declare const JsonPatchDivinerConfigSchema: string & {
|
|
4
|
+
readonly __schema: true;
|
|
5
|
+
};
|
|
6
|
+
export type JsonPatchDivinerConfigSchema = typeof JsonPatchDivinerConfigSchema;
|
|
6
7
|
export type JsonPatchDivinerConfig = DivinerConfig<{
|
|
7
8
|
operations?: Operation[];
|
|
8
9
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAIhD,eAAO,MAAM,4BAA4B;;CAAqD,CAAA;AAC9F,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAA;AAS9E,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/index.mjs
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
// src/Config.ts
|
|
2
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
3
|
+
|
|
1
4
|
// src/Schema.ts
|
|
2
5
|
var JsonPatchDivinerSchema = "network.xyo.diviner.jsonpatch";
|
|
3
6
|
|
|
4
7
|
// src/Config.ts
|
|
5
|
-
var JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config
|
|
8
|
+
var JsonPatchDivinerConfigSchema = asSchema(`${JsonPatchDivinerSchema}.config`, true);
|
|
6
9
|
export {
|
|
7
10
|
JsonPatchDivinerConfigSchema,
|
|
8
11
|
JsonPatchDivinerSchema
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
1
|
+
{"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts"],"sourcesContent":["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\nimport type { Operation } from 'fast-json-patch'\n\nimport { JsonPatchDivinerSchema } from './Schema.ts'\n\nexport const JsonPatchDivinerConfigSchema = asSchema(`${JsonPatchDivinerSchema}.config`, true)\nexport type JsonPatchDivinerConfigSchema = typeof JsonPatchDivinerConfigSchema\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","export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\nexport const JsonPatchDivinerSchema: JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\n"],"mappings":";AACA,SAAS,gBAAgB;;;ACAlB,IAAM,yBAAiD;;;ADKvD,IAAM,+BAA+B,SAAS,GAAG,sBAAsB,WAAW,IAAI;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-jsonpatch-model",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,13 +36,14 @@
|
|
|
36
36
|
"!**/*.test.*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xyo-network/diviner-model": "~5.
|
|
40
|
-
"@xyo-network/module-model": "~5.
|
|
39
|
+
"@xyo-network/diviner-model": "~5.3.0",
|
|
40
|
+
"@xyo-network/module-model": "~5.3.0",
|
|
41
|
+
"@xyo-network/payload-model": "~5.3.0",
|
|
41
42
|
"fast-json-patch": "~3.1.1"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"@xylabs/ts-scripts-yarn3": "~7.2
|
|
45
|
-
"@xylabs/tsconfig": "~7.2
|
|
45
|
+
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
|
46
|
+
"@xylabs/tsconfig": "~7.3.2",
|
|
46
47
|
"typescript": "~5.9.3"
|
|
47
48
|
},
|
|
48
49
|
"publishConfig": {
|
package/src/Config.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { DivinerConfig } from '@xyo-network/diviner-model'
|
|
2
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
2
3
|
import type { Operation } from 'fast-json-patch'
|
|
3
4
|
|
|
4
5
|
import { JsonPatchDivinerSchema } from './Schema.ts'
|
|
5
6
|
|
|
6
|
-
export
|
|
7
|
-
export
|
|
7
|
+
export const JsonPatchDivinerConfigSchema = asSchema(`${JsonPatchDivinerSchema}.config`, true)
|
|
8
|
+
export type JsonPatchDivinerConfigSchema = typeof JsonPatchDivinerConfigSchema
|
|
8
9
|
|
|
9
10
|
// TODO: Export our own compatible Operation type to hide implementation details
|
|
10
11
|
// export interface Operation {
|