@xyo-network/location-payload-plugin 2.41.12 → 2.42.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/cjs/Plugin.d.ts +2 -14
- package/dist/cjs/Plugin.d.ts.map +1 -1
- package/dist/cjs/Plugin.js +5 -11
- package/dist/cjs/Plugin.js.map +1 -1
- package/dist/cjs/index.d.ts +3 -5
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +3 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/docs.json +195 -4740
- package/dist/esm/Plugin.d.ts +2 -14
- package/dist/esm/Plugin.d.ts.map +1 -1
- package/dist/esm/Plugin.js +3 -8
- package/dist/esm/Plugin.js.map +1 -1
- package/dist/esm/index.d.ts +3 -5
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -5
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -6
- package/src/Plugin.spec.ts +5 -19
- package/src/Plugin.ts +6 -14
- package/src/index.ts +3 -5
- package/dist/cjs/CurrentLocationPayloadSet.d.ts +0 -3
- package/dist/cjs/CurrentLocationPayloadSet.d.ts.map +0 -1
- package/dist/cjs/CurrentLocationPayloadSet.js +0 -16
- package/dist/cjs/CurrentLocationPayloadSet.js.map +0 -1
- package/dist/cjs/CurrentLocationWitness.d.ts +0 -21
- package/dist/cjs/CurrentLocationWitness.d.ts.map +0 -1
- package/dist/cjs/CurrentLocationWitness.js +0 -65
- package/dist/cjs/CurrentLocationWitness.js.map +0 -1
- package/dist/esm/CurrentLocationPayloadSet.d.ts +0 -3
- package/dist/esm/CurrentLocationPayloadSet.d.ts.map +0 -1
- package/dist/esm/CurrentLocationPayloadSet.js +0 -13
- package/dist/esm/CurrentLocationPayloadSet.js.map +0 -1
- package/dist/esm/CurrentLocationWitness.d.ts +0 -21
- package/dist/esm/CurrentLocationWitness.d.ts.map +0 -1
- package/dist/esm/CurrentLocationWitness.js +0 -49
- package/dist/esm/CurrentLocationWitness.js.map +0 -1
- package/src/CurrentLocationPayloadSet.ts +0 -14
- package/src/CurrentLocationWitness.ts +0 -71
package/dist/cjs/Plugin.d.ts
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare const LocationPlugin: () => PayloadSetWitnessPlugin<XyoModuleParams<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
|
|
4
|
-
security?: {
|
|
5
|
-
allowed?: Record<string, string[][]> | undefined;
|
|
6
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
7
|
-
} | undefined;
|
|
8
|
-
} & {
|
|
9
|
-
schema: "network.xyo.location.current.config";
|
|
10
|
-
} & {
|
|
11
|
-
targetSet?: (import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & import("@xyo-network/payload").PayloadSet & {
|
|
12
|
-
schema: "network.xyo.payload.set";
|
|
13
|
-
}) | undefined;
|
|
14
|
-
}>>;
|
|
1
|
+
import { LocationPayload } from './GeographicCoordinateSystemLocationPayload';
|
|
2
|
+
export declare const LocationPayloadPlugin: () => import("@xyo-network/payload-plugin").XyoPayloadPlugin<LocationPayload>;
|
|
15
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
package/dist/cjs/Plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAA;AAG7E,eAAO,MAAM,qBAAqB,+EAG9B,CAAA"}
|
package/dist/cjs/Plugin.js
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const
|
|
5
|
-
const payload_1 = require("@xyo-network/payload");
|
|
6
|
-
const payloadset_plugin_1 = require("@xyo-network/payloadset-plugin");
|
|
7
|
-
const CurrentLocationWitness_1 = require("./CurrentLocationWitness");
|
|
3
|
+
exports.LocationPayloadPlugin = void 0;
|
|
4
|
+
const payload_plugin_1 = require("@xyo-network/payload-plugin");
|
|
8
5
|
const GeographicCoordinateSystemLocationSchema_1 = require("./GeographicCoordinateSystemLocationSchema");
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
const result = yield CurrentLocationWitness_1.CurrentLocationWitness.create(params);
|
|
12
|
-
return result;
|
|
13
|
-
}),
|
|
6
|
+
const LocationPayloadPlugin = () => (0, payload_plugin_1.createXyoPayloadPlugin)({
|
|
7
|
+
schema: GeographicCoordinateSystemLocationSchema_1.LocationSchema,
|
|
14
8
|
});
|
|
15
|
-
exports.
|
|
9
|
+
exports.LocationPayloadPlugin = LocationPayloadPlugin;
|
|
16
10
|
//# sourceMappingURL=Plugin.js.map
|
package/dist/cjs/Plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":";;;AAAA,gEAAoE;AAGpE,yGAA2E;AAEpE,MAAM,qBAAqB,GAAG,GAAG,EAAE,CACxC,IAAA,uCAAsB,EAAkB;IACtC,MAAM,EAAE,yDAAc;CACvB,CAAC,CAAA;AAHS,QAAA,qBAAqB,yBAG9B"}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export * from './CurrentLocationPayloadSet';
|
|
3
|
-
export * from './CurrentLocationWitness';
|
|
1
|
+
import { LocationPayloadPlugin } from './Plugin';
|
|
4
2
|
export * from './GeographicCoordinateSystemLocationPayload';
|
|
5
3
|
export * from './GeographicCoordinateSystemLocationSchema';
|
|
6
4
|
export * from './HeadingPayload';
|
|
7
5
|
export * from './HeadingSchema';
|
|
8
6
|
export * from './Schema';
|
|
9
|
-
export {
|
|
10
|
-
export default
|
|
7
|
+
export { LocationPayloadPlugin };
|
|
8
|
+
export default LocationPayloadPlugin;
|
|
11
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAEhD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,4CAA4C,CAAA;AAC1D,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AAExB,OAAO,EAAE,qBAAqB,EAAE,CAAA;AAGhC,eAAe,qBAAqB,CAAA"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.LocationPayloadPlugin = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const Plugin_1 = require("./Plugin");
|
|
6
|
-
Object.defineProperty(exports, "
|
|
7
|
-
tslib_1.__exportStar(require("./CurrentLocationPayloadSet"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./CurrentLocationWitness"), exports);
|
|
6
|
+
Object.defineProperty(exports, "LocationPayloadPlugin", { enumerable: true, get: function () { return Plugin_1.LocationPayloadPlugin; } });
|
|
9
7
|
tslib_1.__exportStar(require("./GeographicCoordinateSystemLocationPayload"), exports);
|
|
10
8
|
tslib_1.__exportStar(require("./GeographicCoordinateSystemLocationSchema"), exports);
|
|
11
9
|
tslib_1.__exportStar(require("./HeadingPayload"), exports);
|
|
12
10
|
tslib_1.__exportStar(require("./HeadingSchema"), exports);
|
|
13
11
|
tslib_1.__exportStar(require("./Schema"), exports);
|
|
14
12
|
// eslint-disable-next-line import/no-default-export
|
|
15
|
-
exports.default = Plugin_1.
|
|
13
|
+
exports.default = Plugin_1.LocationPayloadPlugin;
|
|
16
14
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,qCAAgD;AAQvC,sGARA,8BAAqB,OAQA;AAN9B,sFAA2D;AAC3D,qFAA0D;AAC1D,2DAAgC;AAChC,0DAA+B;AAC/B,mDAAwB;AAIxB,oDAAoD;AACpD,kBAAe,8BAAqB,CAAA"}
|