@xyo-network/schema-payload-plugin 3.0.2 → 3.0.4

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 +1 @@
1
- {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { SchemaPayload } from './Payload.ts'\nimport { SchemaSchema } from './Schema.ts'\nimport { schemaPayloadTemplate } from './Template.ts'\n\nexport const SchemaPayloadPlugin = () =>\n createPayloadPlugin<SchemaPayload>({\n schema: SchemaSchema,\n template: schemaPayloadTemplate,\n })\n","export type SchemaSchema = 'network.xyo.schema'\nexport const SchemaSchema: SchemaSchema = 'network.xyo.schema'\n","import { SchemaPayload } from './Payload.ts'\nimport { SchemaSchema } from './Schema.ts'\nexport const schemaPayloadTemplate = (): SchemaPayload => ({\n definition: {\n $id: '',\n $schema: 'http://json-schema.org/draft-07/schema#',\n },\n schema: SchemaSchema,\n})\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,eAA6B;;;ACCnC,IAAM,wBAAwB,OAAsB;AAAA,EACzD,YAAY;AAAA,IACV,KAAK;AAAA,IACL,SAAS;AAAA,EACX;AAAA,EACA,QAAQ;AACV;;;AFFO,IAAM,sBAAsB,MACjC,oBAAmC;AAAA,EACjC,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 { SchemaPayload } from './Payload.ts'\nimport { SchemaSchema } from './Schema.ts'\nimport { schemaPayloadTemplate } from './Template.ts'\n\nexport const SchemaPayloadPlugin = () =>\n createPayloadPlugin<SchemaPayload>({\n schema: SchemaSchema,\n template: schemaPayloadTemplate,\n })\n","export type SchemaSchema = 'network.xyo.schema'\nexport const SchemaSchema: SchemaSchema = 'network.xyo.schema'\n","import type { SchemaPayload } from './Payload.ts'\nimport { SchemaSchema } from './Schema.ts'\nexport const schemaPayloadTemplate = (): SchemaPayload => ({\n definition: {\n $id: '',\n $schema: 'http://json-schema.org/draft-07/schema#',\n },\n schema: SchemaSchema,\n})\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,eAA6B;;;ACCnC,IAAM,wBAAwB,OAAsB;AAAA,EACzD,YAAY;AAAA,IACV,KAAK;AAAA,IACL,SAAS;AAAA,EACX;AAAA,EACA,QAAQ;AACV;;;AFFO,IAAM,sBAAsB,MACjC,oBAAmC;AAAA,EACjC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
package/package.json CHANGED
@@ -7,15 +7,15 @@
7
7
  },
8
8
  "bugs": {
9
9
  "email": "support@xyo.network",
10
- "url": "https://github.com/XYOracleNetwork/plugins/issues"
10
+ "url": "git+https://github.com/XYOracleNetwork/plugins/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/payload-model": "^3.0.2",
14
- "@xyo-network/payload-plugin": "^3.0.2"
13
+ "@xyo-network/payload-model": "^3.0.4",
14
+ "@xyo-network/payload-plugin": "^3.0.4"
15
15
  },
16
16
  "devDependencies": {
17
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
18
- "@xylabs/tsconfig": "^4.0.0-rc.15",
17
+ "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
18
+ "@xylabs/tsconfig": "^4.0.0-rc.20",
19
19
  "typescript": "^5.5.4"
20
20
  },
21
21
  "description": "Typescript/Javascript Plugins for XYO Platform",
@@ -35,9 +35,9 @@
35
35
  },
36
36
  "repository": {
37
37
  "type": "git",
38
- "url": "https://github.com/XYOracleNetwork/plugins.git"
38
+ "url": "git+https://github.com/XYOracleNetwork/plugins.git"
39
39
  },
40
40
  "sideEffects": false,
41
- "version": "3.0.2",
41
+ "version": "3.0.4",
42
42
  "type": "module"
43
43
  }
package/src/Payload.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { Payload } from '@xyo-network/payload-model'
1
+ import type { Payload } from '@xyo-network/payload-model'
2
2
 
3
- import { SchemaSchema } from './Schema.ts'
3
+ import type { SchemaSchema } from './Schema.ts'
4
4
 
5
5
  export type SchemaPayload = Payload<{
6
6
  definition: {
package/src/Plugin.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createPayloadPlugin } from '@xyo-network/payload-plugin'
2
2
 
3
- import { SchemaPayload } from './Payload.ts'
3
+ import type { SchemaPayload } from './Payload.ts'
4
4
  import { SchemaSchema } from './Schema.ts'
5
5
  import { schemaPayloadTemplate } from './Template.ts'
6
6
 
package/src/Template.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { SchemaPayload } from './Payload.ts'
1
+ import type { SchemaPayload } from './Payload.ts'
2
2
  import { SchemaSchema } from './Schema.ts'
3
3
  export const schemaPayloadTemplate = (): SchemaPayload => ({
4
4
  definition: {
package/xy.config.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
1
+ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: {},