@xyo-network/schema-payload-plugin 3.6.0-rc.1 → 3.6.0-rc.11

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.
@@ -22,45 +22,35 @@ export type SchemaPayload = Payload<{
22
22
  /**
23
23
  * Identity function for determining if an object is an Schema
24
24
  */
25
- export declare const isSchemaPayload: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
26
- /**
27
- * The schema definition
28
- */
25
+ export declare const isSchemaPayload: (x?: unknown | null) => x is import("@xylabs/object").DeepRestrictToStringKeys<{
26
+ schema: "network.xyo.schema";
29
27
  definition: {
30
- [key: string]: unknown;
31
- $id?: string;
28
+ [x: string]: unknown;
32
29
  };
33
- /**
34
- * The schema this schema extends (if any)
35
- */
36
- extends?: string;
30
+ extends?: string
37
31
  /** @deprecated use definition.$id instead */
38
- name?: string;
32
+ | undefined;
33
+ name?: string
39
34
  /**
40
35
  * Identifies this payload as a Schema
41
36
  */
42
- schema: SchemaSchema;
43
- };
37
+ | undefined;
38
+ }>;
44
39
  /**
45
40
  * Identity function for determining if an object is an Schema with sources
46
41
  */
47
- export declare const isSchemaPayloadWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
48
- /**
49
- * The schema definition
50
- */
42
+ export declare const isSchemaPayloadWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
43
+ schema: "network.xyo.schema";
51
44
  definition: {
52
- [key: string]: unknown;
53
- $id?: string;
45
+ [x: string]: unknown;
54
46
  };
55
- /**
56
- * The schema this schema extends (if any)
57
- */
58
- extends?: string;
47
+ extends?: string
59
48
  /** @deprecated use definition.$id instead */
60
- name?: string;
49
+ | undefined;
50
+ name?: string
61
51
  /**
62
52
  * Identifies this payload as a Schema
63
53
  */
64
- schema: SchemaSchema;
65
- }>;
54
+ | undefined;
55
+ }>>;
66
56
  //# sourceMappingURL=Payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EACoD,KAAK,OAAO,EACtE,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;QACtB,GAAG,CAAC,EAAE,MAAM,CAAA;KACb,CAAA;IACD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,MAAM,EAAE,YAAY,CAAA;CACrB,CAAC,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;IAxB1B;;OAEG;gBACS;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;QACtB,GAAG,CAAC,EAAE,MAAM,CAAA;KACb;IACD;;OAEG;cACO,MAAM;IAEhB,6CAA6C;WACtC,MAAM;IAEb;;OAEG;YACK,YAAY;CAM2D,CAAA;AAEjF;;GAEG;AACH,eAAO,MAAM,0BAA0B;IA7BrC;;OAEG;gBACS;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;QACtB,GAAG,CAAC,EAAE,MAAM,CAAA;KACb;IACD;;OAEG;cACO,MAAM;IAEhB,6CAA6C;WACtC,MAAM;IAEb;;OAEG;YACK,YAAY;EAWiF,CAAA"}
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EACoD,KAAK,OAAO,EACtE,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;QACtB,GAAG,CAAC,EAAE,MAAM,CAAA;KACb,CAAA;IACD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,MAAM,EAAE,YAAY,CAAA;CACrB,CAAC,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;cAdhB,MAAM;IAEhB,6CAA6C;;WACtC,MAAM;IAEb;;OAEG;;EAO4E,CAAA;AAEjF;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;cAnB3B,MAAM;IAEhB,6CAA6C;;WACtC,MAAM;IAEb;;OAEG;;GAYkG,CAAA"}
@@ -1,11 +1,9 @@
1
- import { SchemaSchema } from './Schema.ts';
2
- export declare const SchemaPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
1
+ export declare const SchemaPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xylabs/object").DeepRestrictToStringKeys<{
2
+ schema: "network.xyo.schema";
3
3
  definition: {
4
- [key: string]: unknown;
5
- $id?: string;
4
+ [x: string]: unknown;
6
5
  };
7
- extends?: string;
8
- name?: string;
9
- schema: SchemaSchema;
10
- }>;
6
+ extends?: string | undefined;
7
+ name?: string | undefined;
8
+ }>>;
11
9
  //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG1C,eAAO,MAAM,mBAAmB;;;WACE,CAAC;;;;;EAG/B,CAAA"}
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,mBAAmB;;;;;;;GAI5B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/schema-payload-plugin",
3
- "version": "3.6.0-rc.1",
3
+ "version": "3.6.0-rc.11",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,13 +29,13 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/payload-model": "^3.6.0-rc.1",
33
- "@xyo-network/payload-plugin": "^3.6.0-rc.1"
32
+ "@xyo-network/payload-model": "^3.6.0-rc.11",
33
+ "@xyo-network/payload-plugin": "^3.6.0-rc.11"
34
34
  },
35
35
  "devDependencies": {
36
- "@xylabs/ts-scripts-yarn3": "^4.2.4",
37
- "@xylabs/tsconfig": "^4.2.4",
38
- "@xylabs/vitest-extended": "^4.4.12",
36
+ "@xylabs/ts-scripts-yarn3": "^4.2.6",
37
+ "@xylabs/tsconfig": "^4.2.6",
38
+ "@xylabs/vitest-extended": "^4.4.24",
39
39
  "typescript": "^5.7.2",
40
40
  "vitest": "^2.1.8"
41
41
  },