@xyo-network/location-payload-plugin 5.2.4 → 5.3.1
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/GeographicCoordinateSystemLocationSchema.d.ts +12 -6
- package/dist/neutral/GeographicCoordinateSystemLocationSchema.d.ts.map +1 -1
- package/dist/neutral/HeadingSchema.d.ts +4 -2
- package/dist/neutral/HeadingSchema.d.ts.map +1 -1
- package/dist/neutral/Schema.d.ts +4 -2
- package/dist/neutral/Schema.d.ts.map +1 -1
- package/dist/neutral/index.mjs +8 -5
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/GeographicCoordinateSystemLocationSchema.ts +8 -6
- package/src/HeadingSchema.ts +4 -2
- package/src/Schema.ts +4 -2
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
export type GeographicCoordinateSystemLocationSchema =
|
|
2
|
-
export declare const GeographicCoordinateSystemLocationSchema:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export type
|
|
6
|
-
export declare const
|
|
1
|
+
export type GeographicCoordinateSystemLocationSchema = typeof GeographicCoordinateSystemLocationSchema;
|
|
2
|
+
export declare const GeographicCoordinateSystemLocationSchema: "network.xyo.location.gcs" & {
|
|
3
|
+
readonly __schema: true;
|
|
4
|
+
};
|
|
5
|
+
export type QuadkeyLocationSchema = typeof QuadkeyLocationSchema;
|
|
6
|
+
export declare const QuadkeyLocationSchema: "network.xyo.location.quadkey" & {
|
|
7
|
+
readonly __schema: true;
|
|
8
|
+
};
|
|
9
|
+
export type LocationSchema = typeof LocationSchema;
|
|
10
|
+
export declare const LocationSchema: "network.xyo.location" & {
|
|
11
|
+
readonly __schema: true;
|
|
12
|
+
};
|
|
7
13
|
//# sourceMappingURL=GeographicCoordinateSystemLocationSchema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeographicCoordinateSystemLocationSchema.d.ts","sourceRoot":"","sources":["../../src/GeographicCoordinateSystemLocationSchema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GeographicCoordinateSystemLocationSchema.d.ts","sourceRoot":"","sources":["../../src/GeographicCoordinateSystemLocationSchema.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAA;AACtG,eAAO,MAAM,wCAAwC;;CAA6C,CAAA;AAElG,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA;AAChE,eAAO,MAAM,qBAAqB;;CAAiD,CAAA;AAEnF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAA;AAClD,eAAO,MAAM,cAAc;;CAAyC,CAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export type LocationHeadingSchema =
|
|
2
|
-
export declare const LocationHeadingSchema:
|
|
1
|
+
export type LocationHeadingSchema = typeof LocationHeadingSchema;
|
|
2
|
+
export declare const LocationHeadingSchema: "network.xyo.location.heading" & {
|
|
3
|
+
readonly __schema: true;
|
|
4
|
+
};
|
|
3
5
|
//# sourceMappingURL=HeadingSchema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadingSchema.d.ts","sourceRoot":"","sources":["../../src/HeadingSchema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeadingSchema.d.ts","sourceRoot":"","sources":["../../src/HeadingSchema.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA;AAChE,eAAO,MAAM,qBAAqB;;CAAiD,CAAA"}
|
package/dist/neutral/Schema.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export type CurrentLocationSchema =
|
|
2
|
-
export declare const CurrentLocationSchema:
|
|
1
|
+
export type CurrentLocationSchema = typeof CurrentLocationSchema;
|
|
2
|
+
export declare const CurrentLocationSchema: "network.xyo.location.current" & {
|
|
3
|
+
readonly __schema: true;
|
|
4
|
+
};
|
|
3
5
|
//# 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,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA;AAChE,eAAO,MAAM,qBAAqB;;CAAiD,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
// src/GeographicCoordinateSystemLocationSchema.ts
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
2
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
3
|
+
var GeographicCoordinateSystemLocationSchema = asSchema("network.xyo.location.gcs", true);
|
|
4
|
+
var QuadkeyLocationSchema = asSchema("network.xyo.location.quadkey", true);
|
|
5
|
+
var LocationSchema = asSchema("network.xyo.location", true);
|
|
5
6
|
|
|
6
7
|
// src/HeadingSchema.ts
|
|
7
|
-
|
|
8
|
+
import { asSchema as asSchema2 } from "@xyo-network/payload-model";
|
|
9
|
+
var LocationHeadingSchema = asSchema2("network.xyo.location.heading", true);
|
|
8
10
|
|
|
9
11
|
// src/Plugin.ts
|
|
10
12
|
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
11
13
|
var LocationPayloadPlugin = () => createPayloadPlugin({ schema: LocationSchema });
|
|
12
14
|
|
|
13
15
|
// src/Schema.ts
|
|
14
|
-
|
|
16
|
+
import { asSchema as asSchema3 } from "@xyo-network/payload-model";
|
|
17
|
+
var CurrentLocationSchema = asSchema3("network.xyo.location.current", true);
|
|
15
18
|
export {
|
|
16
19
|
CurrentLocationSchema,
|
|
17
20
|
GeographicCoordinateSystemLocationSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/GeographicCoordinateSystemLocationSchema.ts","../../src/HeadingSchema.ts","../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../src/GeographicCoordinateSystemLocationSchema.ts","../../src/HeadingSchema.ts","../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["import { asSchema } from '@xyo-network/payload-model'\n\nexport type GeographicCoordinateSystemLocationSchema = typeof GeographicCoordinateSystemLocationSchema\nexport const GeographicCoordinateSystemLocationSchema = asSchema('network.xyo.location.gcs', true)\n\nexport type QuadkeyLocationSchema = typeof QuadkeyLocationSchema\nexport const QuadkeyLocationSchema = asSchema('network.xyo.location.quadkey', true)\n\nexport type LocationSchema = typeof LocationSchema\nexport const LocationSchema = asSchema('network.xyo.location', true)\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport type LocationHeadingSchema = typeof LocationHeadingSchema\nexport const LocationHeadingSchema = asSchema('network.xyo.location.heading', true)\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport type { LocationPayload } from './GeographicCoordinateSystemLocationPayload.ts'\nimport { LocationSchema } from './GeographicCoordinateSystemLocationSchema.ts'\n\nexport const LocationPayloadPlugin = () =>\n createPayloadPlugin<LocationPayload>({ schema: LocationSchema })\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport type CurrentLocationSchema = typeof CurrentLocationSchema\nexport const CurrentLocationSchema = asSchema('network.xyo.location.current', true)\n"],"mappings":";AAAA,SAAS,gBAAgB;AAGlB,IAAM,2CAA2C,SAAS,4BAA4B,IAAI;AAG1F,IAAM,wBAAwB,SAAS,gCAAgC,IAAI;AAG3E,IAAM,iBAAiB,SAAS,wBAAwB,IAAI;;;ACTnE,SAAS,YAAAA,iBAAgB;AAGlB,IAAM,wBAAwBA,UAAS,gCAAgC,IAAI;;;ACHlF,SAAS,2BAA2B;AAK7B,IAAM,wBAAwB,MACnC,oBAAqC,EAAE,QAAQ,eAAe,CAAC;;;ACNjE,SAAS,YAAAC,iBAAgB;AAGlB,IAAM,wBAAwBA,UAAS,gCAAgC,IAAI;","names":["asSchema","asSchema"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/location-payload-plugin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"!**/*.test.*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xyo-network/payload-model": "~5.2
|
|
40
|
-
"@xyo-network/payload-plugin": "~5.2
|
|
39
|
+
"@xyo-network/payload-model": "~5.3.2",
|
|
40
|
+
"@xyo-network/payload-plugin": "~5.3.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@xylabs/ts-scripts-yarn3": "~7.2
|
|
44
|
-
"@xylabs/tsconfig": "~7.2
|
|
45
|
-
"@xylabs/vitest-extended": "~5.0.
|
|
43
|
+
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
|
44
|
+
"@xylabs/tsconfig": "~7.3.2",
|
|
45
|
+
"@xylabs/vitest-extended": "~5.0.64",
|
|
46
46
|
"typescript": "~5.9.3",
|
|
47
|
-
"vitest": "~4.0.
|
|
47
|
+
"vitest": "~4.0.18"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
}
|
|
52
|
-
}
|
|
52
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export const GeographicCoordinateSystemLocationSchema: GeographicCoordinateSystemLocationSchema = 'network.xyo.location.gcs'
|
|
1
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
3
2
|
|
|
4
|
-
export type
|
|
5
|
-
export const
|
|
3
|
+
export type GeographicCoordinateSystemLocationSchema = typeof GeographicCoordinateSystemLocationSchema
|
|
4
|
+
export const GeographicCoordinateSystemLocationSchema = asSchema('network.xyo.location.gcs', true)
|
|
6
5
|
|
|
7
|
-
export type
|
|
8
|
-
export const
|
|
6
|
+
export type QuadkeyLocationSchema = typeof QuadkeyLocationSchema
|
|
7
|
+
export const QuadkeyLocationSchema = asSchema('network.xyo.location.quadkey', true)
|
|
8
|
+
|
|
9
|
+
export type LocationSchema = typeof LocationSchema
|
|
10
|
+
export const LocationSchema = asSchema('network.xyo.location', true)
|
package/src/HeadingSchema.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
+
|
|
3
|
+
export type LocationHeadingSchema = typeof LocationHeadingSchema
|
|
4
|
+
export const LocationHeadingSchema = asSchema('network.xyo.location.heading', true)
|
package/src/Schema.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
+
|
|
3
|
+
export type CurrentLocationSchema = typeof CurrentLocationSchema
|
|
4
|
+
export const CurrentLocationSchema = asSchema('network.xyo.location.current', true)
|