@xyo-network/diviner-coin-user-locations-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,9 +1,9 @@
1
- export type CoinUserLocationsSchema = 'co.coinapp.user.locations';
2
- export declare const CoinUserLocationsSchema: CoinUserLocationsSchema;
3
- export type CoinUserLocationsDivinerSchema = 'co.coinapp.diviner.user.locations';
4
- export declare const CoinUserLocationsDivinerSchema: CoinUserLocationsDivinerSchema;
5
- export type CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.config`;
6
- export declare const CoinUserLocationsDivinerConfigSchema: CoinUserLocationsDivinerConfigSchema;
7
- export type CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query`;
8
- export declare const CoinUserLocationsQuerySchema: CoinUserLocationsQuerySchema;
1
+ export declare const CoinUserLocationsSchema: "co.coinapp.user.locations";
2
+ export type CoinUserLocationsSchema = typeof CoinUserLocationsSchema;
3
+ export declare const CoinUserLocationsDivinerSchema: "co.coinapp.diviner.user.locations";
4
+ export type CoinUserLocationsDivinerSchema = typeof CoinUserLocationsDivinerSchema;
5
+ export declare const CoinUserLocationsDivinerConfigSchema: "co.coinapp.diviner.user.locations.config";
6
+ export type CoinUserLocationsDivinerConfigSchema = typeof CoinUserLocationsDivinerConfigSchema;
7
+ export declare const CoinUserLocationsQuerySchema: "co.coinapp.diviner.user.locations.query";
8
+ export type CoinUserLocationsQuerySchema = typeof CoinUserLocationsQuerySchema;
9
9
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG,2BAA2B,CAAA;AACjE,eAAO,MAAM,uBAAuB,EAAE,uBAAqD,CAAA;AAE3F,MAAM,MAAM,8BAA8B,GAAG,mCAAmC,CAAA;AAChF,eAAO,MAAM,8BAA8B,EAAE,8BAAoE,CAAA;AAEjH,MAAM,MAAM,oCAAoC,GAAG,GAAG,8BAA8B,SAAS,CAAA;AAC7F,eAAO,MAAM,oCAAoC,EAAE,oCAAiF,CAAA;AAEpI,MAAM,MAAM,4BAA4B,GAAG,GAAG,8BAA8B,QAAQ,CAAA;AACpF,eAAO,MAAM,4BAA4B,EAAE,4BAAwE,CAAA"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,2BAAoC,CAAA;AAC3E,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,eAAO,MAAM,8BAA8B,EAAG,mCAA4C,CAAA;AAC1F,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA;AAElF,eAAO,MAAM,oCAAoC,4CAAsD,CAAA;AACvG,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAA;AAE9F,eAAO,MAAM,4BAA4B,2CAAqD,CAAA;AAC9F,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,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 CoinUserLocationsSchema = "co.coinapp.user.locations";
6
3
  var CoinUserLocationsDivinerSchema = "co.coinapp.diviner.user.locations";
@@ -8,10 +5,12 @@ var CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.co
8
5
  var CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query`;
9
6
 
10
7
  // src/Payload.ts
11
- var isCoinUserLocationsPayload = /* @__PURE__ */ __name((x) => x?.schema === CoinUserLocationsSchema, "isCoinUserLocationsPayload");
8
+ var isCoinUserLocationsPayload = (x) => x?.schema === CoinUserLocationsSchema;
12
9
 
13
10
  // src/Query.ts
14
- import { isPayloadOfSchemaType } from "@xyo-network/payload-model";
11
+ import {
12
+ isPayloadOfSchemaType
13
+ } from "@xyo-network/payload-model";
15
14
  var isCoinUserLocationsQueryPayload = isPayloadOfSchemaType(CoinUserLocationsQuerySchema);
16
15
  export {
17
16
  CoinUserLocationsDivinerConfigSchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type CoinUserLocationsSchema = 'co.coinapp.user.locations'\nexport const CoinUserLocationsSchema: CoinUserLocationsSchema = 'co.coinapp.user.locations'\n\nexport type CoinUserLocationsDivinerSchema = 'co.coinapp.diviner.user.locations'\nexport const CoinUserLocationsDivinerSchema: CoinUserLocationsDivinerSchema = 'co.coinapp.diviner.user.locations'\n\nexport type CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.config`\nexport const CoinUserLocationsDivinerConfigSchema: CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.config`\n\nexport type CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query`\nexport const CoinUserLocationsQuerySchema: CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query`\n","import type { Payload } from '@xyo-network/payload-model'\n\nimport { CoinUserLocationsSchema } from './Schema.ts'\n\nexport type CoinUserLocationsPayload = Payload<{ schema: CoinUserLocationsSchema }>\nexport const isCoinUserLocationsPayload = (x?: Payload | null): x is CoinUserLocationsPayload => x?.schema === CoinUserLocationsSchema\n","import {\n isPayloadOfSchemaType,\n type PayloadFindFilter, type Query,\n} from '@xyo-network/payload-model'\n\nimport { CoinUserLocationsQuerySchema } from './Schema.ts'\n\nexport type CoinUserLocationsQueryPayload = Query<{ schema: CoinUserLocationsQuerySchema } & Omit<PayloadFindFilter, 'schema'>>\nexport const isCoinUserLocationsQueryPayload = isPayloadOfSchemaType<CoinUserLocationsQueryPayload>(CoinUserLocationsQuerySchema)\n"],"mappings":";;;;AACO,IAAMA,0BAAmD;AAGzD,IAAMC,iCAAiE;AAGvE,IAAMC,uCAA6E,GAAGD,8BAAAA;AAGtF,IAAME,+BAA6D,GAAGF,8BAAAA;;;ACLtE,IAAMG,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;;;ACL1C,SACEC,6BAEK;AAKA,IAAMC,kCAAkCC,sBAAqDC,4BAAAA;","names":["CoinUserLocationsSchema","CoinUserLocationsDivinerSchema","CoinUserLocationsDivinerConfigSchema","CoinUserLocationsQuerySchema","isCoinUserLocationsPayload","x","schema","CoinUserLocationsSchema","isPayloadOfSchemaType","isCoinUserLocationsQueryPayload","isPayloadOfSchemaType","CoinUserLocationsQuerySchema"]}
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export const CoinUserLocationsSchema = 'co.coinapp.user.locations' as const\nexport type CoinUserLocationsSchema = typeof CoinUserLocationsSchema\n\nexport const CoinUserLocationsDivinerSchema = 'co.coinapp.diviner.user.locations' as const\nexport type CoinUserLocationsDivinerSchema = typeof CoinUserLocationsDivinerSchema\n\nexport const CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.config` as const\nexport type CoinUserLocationsDivinerConfigSchema = typeof CoinUserLocationsDivinerConfigSchema\n\nexport const CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query` as const\nexport type CoinUserLocationsQuerySchema = typeof CoinUserLocationsQuerySchema\n","import type { Payload } from '@xyo-network/payload-model'\n\nimport { CoinUserLocationsSchema } from './Schema.ts'\n\nexport type CoinUserLocationsPayload = Payload<{ schema: CoinUserLocationsSchema }>\nexport const isCoinUserLocationsPayload = (x?: Payload | null): x is CoinUserLocationsPayload => x?.schema === CoinUserLocationsSchema\n","import {\n isPayloadOfSchemaType,\n type PayloadFindFilter, type Query,\n} from '@xyo-network/payload-model'\n\nimport { CoinUserLocationsQuerySchema } from './Schema.ts'\n\nexport type CoinUserLocationsQueryPayload = Query<{ schema: CoinUserLocationsQuerySchema } & Omit<PayloadFindFilter, 'schema'>>\nexport const isCoinUserLocationsQueryPayload = isPayloadOfSchemaType<CoinUserLocationsQueryPayload>(CoinUserLocationsQuerySchema)\n"],"mappings":";AAAO,IAAM,0BAA0B;AAGhC,IAAM,iCAAiC;AAGvC,IAAM,uCAAuC,GAAG,8BAA8B;AAG9E,IAAM,+BAA+B,GAAG,8BAA8B;;;ACJtE,IAAM,6BAA6B,CAAC,MAAsD,GAAG,WAAW;;;ACL/G;AAAA,EACE;AAAA,OAEK;AAKA,IAAM,kCAAkC,sBAAqD,4BAA4B;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-coin-user-locations-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
- "@xyo-network/diviner-model": "^3.6.9",
33
- "@xyo-network/module-model": "^3.6.9",
34
- "@xyo-network/payload-model": "^3.6.9"
32
+ "@xyo-network/diviner-model": "^3.6.11",
33
+ "@xyo-network/module-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,11 +1,11 @@
1
- export type CoinUserLocationsSchema = 'co.coinapp.user.locations'
2
- export const CoinUserLocationsSchema: CoinUserLocationsSchema = 'co.coinapp.user.locations'
1
+ export const CoinUserLocationsSchema = 'co.coinapp.user.locations' as const
2
+ export type CoinUserLocationsSchema = typeof CoinUserLocationsSchema
3
3
 
4
- export type CoinUserLocationsDivinerSchema = 'co.coinapp.diviner.user.locations'
5
- export const CoinUserLocationsDivinerSchema: CoinUserLocationsDivinerSchema = 'co.coinapp.diviner.user.locations'
4
+ export const CoinUserLocationsDivinerSchema = 'co.coinapp.diviner.user.locations' as const
5
+ export type CoinUserLocationsDivinerSchema = typeof CoinUserLocationsDivinerSchema
6
6
 
7
- export type CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.config`
8
- export const CoinUserLocationsDivinerConfigSchema: CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.config`
7
+ export const CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.config` as const
8
+ export type CoinUserLocationsDivinerConfigSchema = typeof CoinUserLocationsDivinerConfigSchema
9
9
 
10
- export type CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query`
11
- export const CoinUserLocationsQuerySchema: CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query`
10
+ export const CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query` as const
11
+ export type CoinUserLocationsQuerySchema = typeof CoinUserLocationsQuerySchema