@xyo-network/diviner-coin-user-locations-model 3.0.6 → 3.0.8

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.
@@ -0,0 +1,7 @@
1
+ import type { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import type { CoinUserLocationsDivinerConfigSchema } from './Schema.ts';
3
+ export type CoinUserLocationsDivinerConfig = DivinerConfig<{
4
+ address?: string;
5
+ schema: CoinUserLocationsDivinerConfigSchema;
6
+ }>;
7
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAA;AAEvE,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,oCAAoC,CAAA;CAC7C,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { DivinerParams } from '@xyo-network/diviner-model';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { CoinUserLocationsDivinerConfig } from './Config.ts';
4
+ export type CoinUserLocationsDivinerParams = DivinerParams<AnyConfigSchema<CoinUserLocationsDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAA;AAEjE,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { Payload } from '@xyo-network/payload-model';
2
+ import { CoinUserLocationsSchema } from './Schema.ts';
3
+ export type CoinUserLocationsPayload = Payload<{
4
+ schema: CoinUserLocationsSchema;
5
+ }>;
6
+ export declare const isCoinUserLocationsPayload: (x?: Payload | null) => x is CoinUserLocationsPayload;
7
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,CAAC,CAAA;AACnF,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
+ import { CoinUserLocationsQuerySchema } from './Schema.ts';
3
+ export type CoinUserLocationsQueryPayload = Query<{
4
+ schema: CoinUserLocationsQuerySchema;
5
+ } & PayloadFindFilter>;
6
+ export declare const isCoinUserLocationsQueryPayload: (x?: Payload | null) => x is CoinUserLocationsQueryPayload;
7
+ //# sourceMappingURL=Query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAClC,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAA;AAE1D,MAAM,MAAM,6BAA6B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AAC/G,eAAO,MAAM,+BAA+B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,6BAA2E,CAAA"}
@@ -0,0 +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;
9
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +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,31 +1,6 @@
1
- import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { Payload, Query, PayloadFindFilter } from '@xyo-network/payload-model';
4
-
5
- type CoinUserLocationsSchema = 'co.coinapp.user.locations';
6
- declare const CoinUserLocationsSchema: CoinUserLocationsSchema;
7
- type CoinUserLocationsDivinerSchema = 'co.coinapp.diviner.user.locations';
8
- declare const CoinUserLocationsDivinerSchema: CoinUserLocationsDivinerSchema;
9
- type CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.config`;
10
- declare const CoinUserLocationsDivinerConfigSchema: CoinUserLocationsDivinerConfigSchema;
11
- type CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query`;
12
- declare const CoinUserLocationsQuerySchema: CoinUserLocationsQuerySchema;
13
-
14
- type CoinUserLocationsDivinerConfig = DivinerConfig<{
15
- address?: string;
16
- schema: CoinUserLocationsDivinerConfigSchema;
17
- }>;
18
-
19
- type CoinUserLocationsDivinerParams = DivinerParams<AnyConfigSchema<CoinUserLocationsDivinerConfig>>;
20
-
21
- type CoinUserLocationsPayload = Payload<{
22
- schema: CoinUserLocationsSchema;
23
- }>;
24
- declare const isCoinUserLocationsPayload: (x?: Payload | null) => x is CoinUserLocationsPayload;
25
-
26
- type CoinUserLocationsQueryPayload = Query<{
27
- schema: CoinUserLocationsQuerySchema;
28
- } & PayloadFindFilter>;
29
- declare const isCoinUserLocationsQueryPayload: (x?: Payload | null) => x is CoinUserLocationsQueryPayload;
30
-
31
- export { type CoinUserLocationsDivinerConfig, CoinUserLocationsDivinerConfigSchema, type CoinUserLocationsDivinerParams, CoinUserLocationsDivinerSchema, type CoinUserLocationsPayload, type CoinUserLocationsQueryPayload, CoinUserLocationsQuerySchema, CoinUserLocationsSchema, isCoinUserLocationsPayload, isCoinUserLocationsQueryPayload };
1
+ export * from './Config.ts';
2
+ export * from './Params.ts';
3
+ export * from './Payload.ts';
4
+ export * from './Query.ts';
5
+ export * from './Schema.ts';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -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 type { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { CoinUserLocationsQuerySchema } from './Schema.ts'\n\nexport type CoinUserLocationsQueryPayload = Query<{ schema: CoinUserLocationsQuerySchema } & PayloadFindFilter>\nexport const isCoinUserLocationsQueryPayload = (x?: Payload | null): x is CoinUserLocationsQueryPayload => x?.schema === 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;;;ACAnC,IAAMC,kCAAkC,wBAACC,MAA2DA,GAAGC,WAAWC,8BAA1E;","names":["CoinUserLocationsSchema","CoinUserLocationsDivinerSchema","CoinUserLocationsDivinerConfigSchema","CoinUserLocationsQuerySchema","isCoinUserLocationsPayload","x","schema","CoinUserLocationsSchema","isCoinUserLocationsQueryPayload","x","schema","CoinUserLocationsQuerySchema"]}
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 type {\n Payload, PayloadFindFilter, Query,\n} from '@xyo-network/payload-model'\n\nimport { CoinUserLocationsQuerySchema } from './Schema.ts'\n\nexport type CoinUserLocationsQueryPayload = Query<{ schema: CoinUserLocationsQuerySchema } & PayloadFindFilter>\nexport const isCoinUserLocationsQueryPayload = (x?: Payload | null): x is CoinUserLocationsQueryPayload => x?.schema === 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;;;ACEnC,IAAMC,kCAAkC,wBAACC,MAA2DA,GAAGC,WAAWC,8BAA1E;","names":["CoinUserLocationsSchema","CoinUserLocationsDivinerSchema","CoinUserLocationsDivinerConfigSchema","CoinUserLocationsQuerySchema","isCoinUserLocationsPayload","x","schema","CoinUserLocationsSchema","isCoinUserLocationsQueryPayload","x","schema","CoinUserLocationsQuerySchema"]}
package/package.json CHANGED
@@ -1,26 +1,24 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-coin-user-locations-model",
3
- "author": {
4
- "email": "support@xyo.network",
5
- "name": "XYO Development Team",
6
- "url": "https://xyo.network"
7
- },
3
+ "version": "3.0.8",
4
+ "description": "Primary SDK for using XYO Protocol 2.0",
5
+ "homepage": "https://xyo.network",
8
6
  "bugs": {
9
- "email": "support@xyo.network",
10
- "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
7
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
8
+ "email": "support@xyo.network"
11
9
  },
12
- "dependencies": {
13
- "@xyo-network/diviner-model": "^3.0.6",
14
- "@xyo-network/module-model": "^3.0.6",
15
- "@xyo-network/payload-model": "^3.0.6"
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
16
13
  },
17
- "devDependencies": {
18
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.30",
19
- "@xylabs/tsconfig": "^4.0.0-rc.30",
20
- "typescript": "^5.5.4"
14
+ "license": "LGPL-3.0-only",
15
+ "author": {
16
+ "name": "XYO Development Team",
17
+ "email": "support@xyo.network",
18
+ "url": "https://xyo.network"
21
19
  },
22
- "description": "Primary SDK for using XYO Protocol 2.0",
23
- "types": "dist/neutral/index.d.ts",
20
+ "sideEffects": false,
21
+ "type": "module",
24
22
  "exports": {
25
23
  ".": {
26
24
  "types": "./dist/neutral/index.d.ts",
@@ -29,16 +27,18 @@
29
27
  "./package.json": "./package.json"
30
28
  },
31
29
  "module": "dist/neutral/index.mjs",
32
- "homepage": "https://xyo.network",
33
- "license": "LGPL-3.0-only",
34
- "publishConfig": {
35
- "access": "public"
30
+ "types": "dist/neutral/index.d.ts",
31
+ "dependencies": {
32
+ "@xyo-network/diviner-model": "^3.0.8",
33
+ "@xyo-network/module-model": "^3.0.8",
34
+ "@xyo-network/payload-model": "^3.0.8"
36
35
  },
37
- "repository": {
38
- "type": "git",
39
- "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
36
+ "devDependencies": {
37
+ "@xylabs/ts-scripts-yarn3": "^4.0.7",
38
+ "@xylabs/tsconfig": "^4.0.7",
39
+ "typescript": "^5.5.4"
40
40
  },
41
- "sideEffects": false,
42
- "version": "3.0.6",
43
- "type": "module"
41
+ "publishConfig": {
42
+ "access": "public"
43
+ }
44
44
  }
package/src/Query.ts CHANGED
@@ -1,4 +1,6 @@
1
- import type { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'
1
+ import type {
2
+ Payload, PayloadFindFilter, Query,
3
+ } from '@xyo-network/payload-model'
2
4
 
3
5
  import { CoinUserLocationsQuerySchema } from './Schema.ts'
4
6
 
package/xy.config.ts CHANGED
@@ -2,9 +2,7 @@ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: {},
5
- neutral: {
6
- src: true,
7
- },
5
+ neutral: { src: true },
8
6
  node: {},
9
7
  },
10
8
  }