@xyo-network/bowser-system-info-payload-plugin 5.2.4 → 5.3.1

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.
@@ -1,3 +1,5 @@
1
- export type BowserSystemInfoSchema = 'network.xyo.system.info.bowser';
2
- export declare const BowserSystemInfoSchema: BowserSystemInfoSchema;
1
+ export type BowserSystemInfoSchema = typeof BowserSystemInfoSchema;
2
+ export declare const BowserSystemInfoSchema: "network.xyo.system.info.bowser" & {
3
+ readonly __schema: true;
4
+ };
3
5
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,gCAAgC,CAAA;AACrE,eAAO,MAAM,sBAAsB,EAAE,sBAAyD,CAAA"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA;AAClE,eAAO,MAAM,sBAAsB;;CAAmD,CAAA"}
@@ -2,7 +2,8 @@
2
2
  import { createPayloadPlugin } from "@xyo-network/payload-plugin";
3
3
 
4
4
  // src/Schema.ts
5
- var BowserSystemInfoSchema = "network.xyo.system.info.bowser";
5
+ import { asSchema } from "@xyo-network/payload-model";
6
+ var BowserSystemInfoSchema = asSchema("network.xyo.system.info.bowser", true);
6
7
 
7
8
  // src/Template.ts
8
9
  var bowserSystemInfoPayloadTemplate = () => ({ schema: BowserSystemInfoSchema });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport type { BowserSystemInfoPayload } from './Payload.ts'\nimport { BowserSystemInfoSchema } from './Schema.ts'\nimport { bowserSystemInfoPayloadTemplate } from './Template.ts'\n\nexport const BowserSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<BowserSystemInfoPayload>({\n schema: BowserSystemInfoSchema,\n template: bowserSystemInfoPayloadTemplate,\n })\n","export type BowserSystemInfoSchema = 'network.xyo.system.info.bowser'\nexport const BowserSystemInfoSchema: BowserSystemInfoSchema = 'network.xyo.system.info.bowser'\n","import type { BowserSystemInfoPayload } from './Payload.ts'\nimport { BowserSystemInfoSchema } from './Schema.ts'\n\nexport const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({ schema: BowserSystemInfoSchema })\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,yBAAiD;;;ACEvD,IAAM,kCAAkC,OAAgC,EAAE,QAAQ,uBAAuB;;;AFGzG,IAAM,gCAAgC,MAC3C,oBAA6C;AAAA,EAC3C,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport type { BowserSystemInfoPayload } from './Payload.ts'\nimport { BowserSystemInfoSchema } from './Schema.ts'\nimport { bowserSystemInfoPayloadTemplate } from './Template.ts'\n\nexport const BowserSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<BowserSystemInfoPayload>({\n schema: BowserSystemInfoSchema,\n template: bowserSystemInfoPayloadTemplate,\n })\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport type BowserSystemInfoSchema = typeof BowserSystemInfoSchema\nexport const BowserSystemInfoSchema = asSchema('network.xyo.system.info.bowser', true)\n","import type { BowserSystemInfoPayload } from './Payload.ts'\nimport { BowserSystemInfoSchema } from './Schema.ts'\n\nexport const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({ schema: BowserSystemInfoSchema })\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACApC,SAAS,gBAAgB;AAGlB,IAAM,yBAAyB,SAAS,kCAAkC,IAAI;;;ACA9E,IAAM,kCAAkC,OAAgC,EAAE,QAAQ,uBAAuB;;;AFGzG,IAAM,gCAAgC,MAC3C,oBAA6C;AAAA,EAC3C,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/bowser-system-info-payload-plugin",
3
- "version": "5.2.4",
3
+ "version": "5.3.1",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -36,18 +36,18 @@
36
36
  "!**/*.test.*"
37
37
  ],
38
38
  "dependencies": {
39
- "@xyo-network/payload-model": "~5.2.14",
40
- "@xyo-network/payload-plugin": "~5.2.14",
39
+ "@xyo-network/payload-model": "~5.3.2",
40
+ "@xyo-network/payload-plugin": "~5.3.2",
41
41
  "bowser": "2.13.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@xylabs/ts-scripts-yarn3": "~7.2.8",
45
- "@xylabs/tsconfig": "~7.2.8",
46
- "@xylabs/vitest-extended": "~5.0.49",
44
+ "@xylabs/ts-scripts-yarn3": "~7.3.2",
45
+ "@xylabs/tsconfig": "~7.3.2",
46
+ "@xylabs/vitest-extended": "~5.0.64",
47
47
  "typescript": "~5.9.3",
48
- "vitest": "~4.0.15"
48
+ "vitest": "~4.0.18"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  }
53
- }
53
+ }
package/src/Schema.ts CHANGED
@@ -1,2 +1,4 @@
1
- export type BowserSystemInfoSchema = 'network.xyo.system.info.bowser'
2
- export const BowserSystemInfoSchema: BowserSystemInfoSchema = 'network.xyo.system.info.bowser'
1
+ import { asSchema } from '@xyo-network/payload-model'
2
+
3
+ export type BowserSystemInfoSchema = typeof BowserSystemInfoSchema
4
+ export const BowserSystemInfoSchema = asSchema('network.xyo.system.info.bowser', true)