@xyo-network/diviner-transform-model 3.6.9 → 3.6.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.
@@ -1,3 +1,3 @@
1
- export type TransformDivinerSchema = 'network.xyo.diviner.transform';
2
- export declare const TransformDivinerSchema: TransformDivinerSchema;
1
+ export declare const TransformDivinerSchema: "network.xyo.diviner.transform";
2
+ export type TransformDivinerSchema = typeof TransformDivinerSchema;
3
3
  //# 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,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,EAAG,+BAAwC,CAAA;AAC9E,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA"}
@@ -1,6 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
1
  // src/Schema.ts
5
2
  var TransformDivinerSchema = "network.xyo.diviner.transform";
6
3
 
@@ -9,7 +6,7 @@ var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
9
6
 
10
7
  // src/Query.ts
11
8
  var TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
12
- var isTransformDivinerQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === TransformDivinerQuerySchema, "isTransformDivinerQueryPayload");
9
+ var isTransformDivinerQueryPayload = (x) => x?.schema === TransformDivinerQuerySchema;
13
10
  export {
14
11
  TransformDivinerConfigSchema,
15
12
  TransformDivinerQuerySchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import type { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport type { TransformDictionary } from '../Payload/index.ts'\nimport { TransformDivinerSchema } from '../Schema.ts'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import type { Payload, Query } from '@xyo-network/payload-model'\n\nimport type { TransformSettings } from './Config/index.ts'\nimport { TransformDivinerSchema } from './Schema.ts'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":";;;;AACO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;;;ACAtE,IAAMC,8BAA2D,GAAGC,sBAAAA;AAGpE,IAAMC,iCAAiC,wBAACC,MAA0DA,GAAGC,WAAWJ,6BAAzE;","names":["TransformDivinerSchema","TransformDivinerConfigSchema","TransformDivinerSchema","TransformDivinerQuerySchema","TransformDivinerSchema","isTransformDivinerQueryPayload","x","schema"]}
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export const TransformDivinerSchema = 'network.xyo.diviner.transform' as const\nexport type TransformDivinerSchema = typeof TransformDivinerSchema\n","import type { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport type { TransformDictionary } from '../Payload/index.ts'\nimport { TransformDivinerSchema } from '../Schema.ts'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import type { Payload, Query } from '@xyo-network/payload-model'\n\nimport type { TransformSettings } from './Config/index.ts'\nimport { TransformDivinerSchema } from './Schema.ts'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":";AAAO,IAAM,yBAAyB;;;ACM/B,IAAM,+BAA6D,GAAG,sBAAsB;;;ACA5F,IAAM,8BAA2D,GAAG,sBAAsB;AAG1F,IAAM,iCAAiC,CAAC,MAA0D,GAAG,WAAW;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-transform-model",
3
- "version": "3.6.9",
3
+ "version": "3.6.11",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,14 +29,14 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/object": "^4.4.34",
33
- "@xyo-network/diviner-model": "^3.6.9",
34
- "@xyo-network/payload-model": "^3.6.9"
32
+ "@xylabs/object": "^4.5.1",
33
+ "@xyo-network/diviner-model": "^3.6.11",
34
+ "@xyo-network/payload-model": "^3.6.11"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@xylabs/ts-scripts-yarn3": "^4.2.6",
38
38
  "@xylabs/tsconfig": "^4.2.6",
39
- "typescript": "^5.7.2"
39
+ "typescript": "^5.7.3"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
package/src/Schema.ts CHANGED
@@ -1,2 +1,2 @@
1
- export type TransformDivinerSchema = 'network.xyo.diviner.transform'
2
- export const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'
1
+ export const TransformDivinerSchema = 'network.xyo.diviner.transform' as const
2
+ export type TransformDivinerSchema = typeof TransformDivinerSchema