@xyo-network/diviner-coin-user-locations-model 5.2.25 → 5.3.0
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.
package/dist/neutral/Schema.d.ts
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
export declare const CoinUserLocationsSchema: "co.coinapp.user.locations"
|
|
1
|
+
export declare const CoinUserLocationsSchema: "co.coinapp.user.locations" & {
|
|
2
|
+
readonly __schema: true;
|
|
3
|
+
};
|
|
2
4
|
export type CoinUserLocationsSchema = typeof CoinUserLocationsSchema;
|
|
3
|
-
export declare const CoinUserLocationsDivinerSchema: "co.coinapp.diviner.user.locations"
|
|
5
|
+
export declare const CoinUserLocationsDivinerSchema: "co.coinapp.diviner.user.locations" & {
|
|
6
|
+
readonly __schema: true;
|
|
7
|
+
};
|
|
4
8
|
export type CoinUserLocationsDivinerSchema = typeof CoinUserLocationsDivinerSchema;
|
|
5
|
-
export declare const CoinUserLocationsDivinerConfigSchema:
|
|
9
|
+
export declare const CoinUserLocationsDivinerConfigSchema: string & {
|
|
10
|
+
readonly __schema: true;
|
|
11
|
+
};
|
|
6
12
|
export type CoinUserLocationsDivinerConfigSchema = typeof CoinUserLocationsDivinerConfigSchema;
|
|
7
|
-
export declare const CoinUserLocationsQuerySchema:
|
|
13
|
+
export declare const CoinUserLocationsQuerySchema: string & {
|
|
14
|
+
readonly __schema: true;
|
|
15
|
+
};
|
|
8
16
|
export type CoinUserLocationsQuerySchema = typeof CoinUserLocationsQuerySchema;
|
|
9
17
|
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;CAA8C,CAAA;AAClF,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,eAAO,MAAM,8BAA8B;;CAAsD,CAAA;AACjG,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA;AAElF,eAAO,MAAM,oCAAoC;;CAA6D,CAAA;AAC9G,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAA;AAE9F,eAAO,MAAM,4BAA4B;;CAA4D,CAAA;AACrG,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// src/Schema.ts
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
2
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
3
|
+
var CoinUserLocationsSchema = asSchema("co.coinapp.user.locations", true);
|
|
4
|
+
var CoinUserLocationsDivinerSchema = asSchema("co.coinapp.diviner.user.locations", true);
|
|
5
|
+
var CoinUserLocationsDivinerConfigSchema = asSchema(`${CoinUserLocationsDivinerSchema}.config`, true);
|
|
6
|
+
var CoinUserLocationsQuerySchema = asSchema(`${CoinUserLocationsDivinerSchema}.query`, true);
|
|
6
7
|
|
|
7
8
|
// src/Payload.ts
|
|
8
9
|
var isCoinUserLocationsPayload = (x) => x?.schema === CoinUserLocationsSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["import { asSchema } from '@xyo-network/payload-model'\n\nexport const CoinUserLocationsSchema = asSchema('co.coinapp.user.locations', true)\nexport type CoinUserLocationsSchema = typeof CoinUserLocationsSchema\n\nexport const CoinUserLocationsDivinerSchema = asSchema('co.coinapp.diviner.user.locations', true)\nexport type CoinUserLocationsDivinerSchema = typeof CoinUserLocationsDivinerSchema\n\nexport const CoinUserLocationsDivinerConfigSchema = asSchema(`${CoinUserLocationsDivinerSchema}.config`, true)\nexport type CoinUserLocationsDivinerConfigSchema = typeof CoinUserLocationsDivinerConfigSchema\n\nexport const CoinUserLocationsQuerySchema = asSchema(`${CoinUserLocationsDivinerSchema}.query`, true)\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 type { PayloadFindFilter, Query } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } 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":";AAAA,SAAS,gBAAgB;AAElB,IAAM,0BAA0B,SAAS,6BAA6B,IAAI;AAG1E,IAAM,iCAAiC,SAAS,qCAAqC,IAAI;AAGzF,IAAM,uCAAuC,SAAS,GAAG,8BAA8B,WAAW,IAAI;AAGtG,IAAM,+BAA+B,SAAS,GAAG,8BAA8B,UAAU,IAAI;;;ACN7F,IAAM,6BAA6B,CAAC,MAAsD,GAAG,WAAW;;;ACJ/G,SAAS,6BAA6B;AAK/B,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": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"!**/*.test.*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xyo-network/diviner-model": "~5.
|
|
40
|
-
"@xyo-network/module-model": "~5.
|
|
41
|
-
"@xyo-network/payload-model": "~5.
|
|
39
|
+
"@xyo-network/diviner-model": "~5.3.0",
|
|
40
|
+
"@xyo-network/module-model": "~5.3.0",
|
|
41
|
+
"@xyo-network/payload-model": "~5.3.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@xylabs/ts-scripts-yarn3": "~7.2
|
|
45
|
-
"@xylabs/tsconfig": "~7.2
|
|
44
|
+
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
|
45
|
+
"@xylabs/tsconfig": "~7.3.2",
|
|
46
46
|
"typescript": "~5.9.3"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
package/src/Schema.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
+
|
|
3
|
+
export const CoinUserLocationsSchema = asSchema('co.coinapp.user.locations', true)
|
|
2
4
|
export type CoinUserLocationsSchema = typeof CoinUserLocationsSchema
|
|
3
5
|
|
|
4
|
-
export const CoinUserLocationsDivinerSchema = 'co.coinapp.diviner.user.locations'
|
|
6
|
+
export const CoinUserLocationsDivinerSchema = asSchema('co.coinapp.diviner.user.locations', true)
|
|
5
7
|
export type CoinUserLocationsDivinerSchema = typeof CoinUserLocationsDivinerSchema
|
|
6
8
|
|
|
7
|
-
export const CoinUserLocationsDivinerConfigSchema = `${CoinUserLocationsDivinerSchema}.config
|
|
9
|
+
export const CoinUserLocationsDivinerConfigSchema = asSchema(`${CoinUserLocationsDivinerSchema}.config`, true)
|
|
8
10
|
export type CoinUserLocationsDivinerConfigSchema = typeof CoinUserLocationsDivinerConfigSchema
|
|
9
11
|
|
|
10
|
-
export const CoinUserLocationsQuerySchema = `${CoinUserLocationsDivinerSchema}.query
|
|
12
|
+
export const CoinUserLocationsQuerySchema = asSchema(`${CoinUserLocationsDivinerSchema}.query`, true)
|
|
11
13
|
export type CoinUserLocationsQuerySchema = typeof CoinUserLocationsQuerySchema
|