@xyo-network/api 2.75.0 → 2.75.2
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/browser/Api/Api.d.cts +12 -0
- package/dist/browser/Api/Api.d.cts.map +1 -0
- package/dist/browser/Api/Api.js +3 -155
- package/dist/browser/Api/Api.js.map +1 -1
- package/dist/browser/Api/index.d.cts +2 -0
- package/dist/browser/Api/index.d.cts.map +1 -0
- package/dist/browser/Api/index.js +1 -166
- package/dist/browser/Api/index.js.map +1 -1
- package/dist/browser/Base.d.cts +32 -0
- package/dist/browser/Base.d.cts.map +1 -0
- package/dist/browser/Base.js +7 -8
- package/dist/browser/Base.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.cts +12 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.js +5 -16
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts +10 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +2 -3
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts +5 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts +12 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +3 -4
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts +3 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +2 -11
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts +12 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +3 -4
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts +2 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +1 -11
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts +18 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts +5 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts +6 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +2 -3
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts +8 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts +12 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +3 -4
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts +3 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +2 -11
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.cts +7 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.js +6 -42
- package/dist/browser/Diviner/LocationDiviner/Queries/index.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts +13 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +1 -2
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts +21 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.js +1 -2
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.cts +3 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.js +2 -9
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/index.d.cts +5 -0
- package/dist/browser/Diviner/LocationDiviner/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/index.js +4 -82
- package/dist/browser/Diviner/LocationDiviner/index.js.map +1 -1
- package/dist/browser/Diviner/LocationDiviner/models.d.cts +5 -0
- package/dist/browser/Diviner/LocationDiviner/models.d.cts.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.d.cts +11 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.d.cts.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.js +1 -2
- package/dist/browser/Diviner/RemoteDivinerConfig.js.map +1 -1
- package/dist/browser/Diviner/RemoteDivinerError.d.cts +6 -0
- package/dist/browser/Diviner/RemoteDivinerError.d.cts.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerError.js +2 -3
- package/dist/browser/Diviner/RemoteDivinerError.js.map +1 -1
- package/dist/browser/Diviner/index.d.cts +3 -0
- package/dist/browser/Diviner/index.d.cts.map +1 -0
- package/dist/browser/Diviner/index.js +2 -86
- package/dist/browser/Diviner/index.js.map +1 -1
- package/dist/browser/Simple.d.cts +22 -0
- package/dist/browser/Simple.d.cts.map +1 -0
- package/dist/browser/Simple.js +4 -109
- package/dist/browser/Simple.js.map +1 -1
- package/dist/browser/Test/index.d.cts +3 -0
- package/dist/browser/Test/index.d.cts.map +1 -0
- package/dist/browser/Test/index.js +2 -32
- package/dist/browser/Test/index.js.map +1 -1
- package/dist/browser/Test/testBoundWitness.d.cts +4 -0
- package/dist/browser/Test/testBoundWitness.d.cts.map +1 -0
- package/dist/browser/Test/testBoundWitness.js +1 -2
- package/dist/browser/Test/testBoundWitness.js.map +1 -1
- package/dist/browser/Test/testPayload.d.cts +6 -0
- package/dist/browser/Test/testPayload.d.cts.map +1 -0
- package/dist/browser/Test/testPayload.js +2 -3
- package/dist/browser/Test/testPayload.js.map +1 -1
- package/dist/browser/WithArchive.d.cts +4 -0
- package/dist/browser/WithArchive.d.cts.map +1 -0
- package/dist/browser/index.d.cts +7 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/browser/index.js +6 -253
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/ArchivePath.d.cts +4 -0
- package/dist/browser/models/ArchivePath.d.cts.map +1 -0
- package/dist/browser/models/index.d.cts +2 -0
- package/dist/browser/models/index.d.cts.map +1 -0
- package/dist/browser/models/index.js +1 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/objToQuery.d.cts +2 -0
- package/dist/browser/objToQuery.d.cts.map +1 -0
- package/dist/browser/objToQuery.js +1 -2
- package/dist/browser/objToQuery.js.map +1 -1
- package/dist/docs.json +16171 -0
- package/dist/node/Api/Api.d.cts +12 -0
- package/dist/node/Api/Api.d.cts.map +1 -0
- package/dist/node/Api/Api.js +161 -4
- package/dist/node/Api/Api.js.map +1 -1
- package/dist/node/Api/Api.mjs +159 -3
- package/dist/node/Api/Api.mjs.map +1 -1
- package/dist/node/Api/index.d.cts +2 -0
- package/dist/node/Api/index.d.cts.map +1 -0
- package/dist/node/Api/index.js +178 -3
- package/dist/node/Api/index.js.map +1 -1
- package/dist/node/Api/index.mjs +170 -1
- package/dist/node/Api/index.mjs.map +1 -1
- package/dist/node/Base.d.cts +32 -0
- package/dist/node/Base.d.cts.map +1 -0
- package/dist/node/Base.js +20 -14
- package/dist/node/Base.js.map +1 -1
- package/dist/node/Base.mjs +19 -14
- package/dist/node/Base.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.cts +12 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.js +18 -6
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.mjs +16 -5
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts +10 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +4 -2
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.mjs +3 -2
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts +5 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +2 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +6 -4
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.mjs +5 -4
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts +3 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +21 -5
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.mjs +11 -2
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +6 -4
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.mjs +5 -4
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts +2 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +21 -3
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.mjs +11 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts +18 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +2 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts +5 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +2 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts +6 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +4 -2
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.mjs +3 -2
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts +8 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +2 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +6 -4
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.mjs +5 -4
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts +3 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +21 -5
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.mjs +11 -2
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.cts +7 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.js +59 -13
- package/dist/node/Diviner/LocationDiviner/Queries/index.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Queries/index.mjs +42 -6
- package/dist/node/Diviner/LocationDiviner/Queries/index.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts +13 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +3 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.mjs +2 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts +21 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.js +3 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.mjs +2 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.cts +3 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.js +18 -5
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.mjs +9 -2
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/index.d.cts +5 -0
- package/dist/node/Diviner/LocationDiviner/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/index.js +102 -9
- package/dist/node/Diviner/LocationDiviner/index.js.map +1 -1
- package/dist/node/Diviner/LocationDiviner/index.mjs +82 -4
- package/dist/node/Diviner/LocationDiviner/index.mjs.map +1 -1
- package/dist/node/Diviner/LocationDiviner/models.d.cts +5 -0
- package/dist/node/Diviner/LocationDiviner/models.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/models.js +2 -0
- package/dist/node/Diviner/LocationDiviner/models.js.map +1 -1
- package/dist/node/Diviner/RemoteDivinerConfig.d.cts +11 -0
- package/dist/node/Diviner/RemoteDivinerConfig.d.cts.map +1 -0
- package/dist/node/Diviner/RemoteDivinerConfig.js +3 -1
- package/dist/node/Diviner/RemoteDivinerConfig.js.map +1 -1
- package/dist/node/Diviner/RemoteDivinerConfig.mjs +2 -1
- package/dist/node/Diviner/RemoteDivinerConfig.mjs.map +1 -1
- package/dist/node/Diviner/RemoteDivinerError.d.cts +6 -0
- package/dist/node/Diviner/RemoteDivinerError.d.cts.map +1 -0
- package/dist/node/Diviner/RemoteDivinerError.js +4 -2
- package/dist/node/Diviner/RemoteDivinerError.js.map +1 -1
- package/dist/node/Diviner/RemoteDivinerError.mjs +3 -2
- package/dist/node/Diviner/RemoteDivinerError.mjs.map +1 -1
- package/dist/node/Diviner/index.d.cts +3 -0
- package/dist/node/Diviner/index.d.cts.map +1 -0
- package/dist/node/Diviner/index.js +107 -5
- package/dist/node/Diviner/index.js.map +1 -1
- package/dist/node/Diviner/index.mjs +86 -2
- package/dist/node/Diviner/index.mjs.map +1 -1
- package/dist/node/Simple.d.cts +22 -0
- package/dist/node/Simple.d.cts.map +1 -0
- package/dist/node/Simple.js +118 -6
- package/dist/node/Simple.js.map +1 -1
- package/dist/node/Simple.mjs +113 -4
- package/dist/node/Simple.mjs.map +1 -1
- package/dist/node/Test/index.d.cts +3 -0
- package/dist/node/Test/index.d.cts.map +1 -0
- package/dist/node/Test/index.js +42 -5
- package/dist/node/Test/index.js.map +1 -1
- package/dist/node/Test/index.mjs +32 -2
- package/dist/node/Test/index.mjs.map +1 -1
- package/dist/node/Test/testBoundWitness.d.cts +4 -0
- package/dist/node/Test/testBoundWitness.d.cts.map +1 -0
- package/dist/node/Test/testBoundWitness.js +3 -1
- package/dist/node/Test/testBoundWitness.js.map +1 -1
- package/dist/node/Test/testBoundWitness.mjs +2 -1
- package/dist/node/Test/testBoundWitness.mjs.map +1 -1
- package/dist/node/Test/testPayload.d.cts +6 -0
- package/dist/node/Test/testPayload.d.cts.map +1 -0
- package/dist/node/Test/testPayload.js +4 -2
- package/dist/node/Test/testPayload.js.map +1 -1
- package/dist/node/Test/testPayload.mjs +3 -2
- package/dist/node/Test/testPayload.mjs.map +1 -1
- package/dist/node/WithArchive.d.cts +4 -0
- package/dist/node/WithArchive.d.cts.map +1 -0
- package/dist/node/WithArchive.js +2 -0
- package/dist/node/WithArchive.js.map +1 -1
- package/dist/node/index.d.cts +7 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.js +281 -13
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +257 -6
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/models/ArchivePath.d.cts +4 -0
- package/dist/node/models/ArchivePath.d.cts.map +1 -0
- package/dist/node/models/ArchivePath.js +2 -0
- package/dist/node/models/ArchivePath.js.map +1 -1
- package/dist/node/models/index.d.cts +2 -0
- package/dist/node/models/index.d.cts.map +1 -0
- package/dist/node/models/index.js +2 -6
- package/dist/node/models/index.js.map +1 -1
- package/dist/node/models/index.mjs +0 -1
- package/dist/node/models/index.mjs.map +1 -1
- package/dist/node/objToQuery.d.cts +2 -0
- package/dist/node/objToQuery.d.cts.map +1 -0
- package/dist/node/objToQuery.js +3 -1
- package/dist/node/objToQuery.js.map +1 -1
- package/dist/node/objToQuery.mjs +2 -1
- package/dist/node/objToQuery.mjs.map +1 -1
- package/package.json +12 -12
|
@@ -16,17 +16,19 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts
|
|
19
21
|
var LocationQuerySchema_exports = {};
|
|
20
22
|
__export(LocationQuerySchema_exports, {
|
|
21
23
|
isSupportedLocationQuerySchema: () => isSupportedLocationQuerySchema
|
|
22
24
|
});
|
|
23
25
|
module.exports = __toCommonJS(LocationQuerySchema_exports);
|
|
24
|
-
|
|
26
|
+
var locationQuerySchemas = {
|
|
25
27
|
"network.xyo.location.heatmap.quadkey.query": true,
|
|
26
28
|
"network.xyo.location.heatmap.query": true,
|
|
27
29
|
"network.xyo.location.range.query": true
|
|
28
30
|
};
|
|
29
|
-
|
|
31
|
+
var isSupportedLocationQuerySchema = (schema) => {
|
|
30
32
|
return locationQuerySchemas[schema] || false;
|
|
31
33
|
};
|
|
32
34
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts"],"sourcesContent":["import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery'\nimport { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery'\nimport { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery'\n\nexport type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema\n\nconst locationQuerySchemas: Record<LocationQuerySchema, true> = {\n 'network.xyo.location.heatmap.quadkey.query': true,\n 'network.xyo.location.heatmap.query': true,\n 'network.xyo.location.range.query': true,\n}\n\nexport const isSupportedLocationQuerySchema = (schema: string): schema is LocationQuerySchema => {\n return locationQuerySchemas[schema as LocationQuerySchema] || false\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts"],"sourcesContent":["import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery'\nimport { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery'\nimport { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery'\n\nexport type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema\n\nconst locationQuerySchemas: Record<LocationQuerySchema, true> = {\n 'network.xyo.location.heatmap.quadkey.query': true,\n 'network.xyo.location.heatmap.query': true,\n 'network.xyo.location.range.query': true,\n}\n\nexport const isSupportedLocationQuerySchema = (schema: string): schema is LocationQuerySchema => {\n return locationQuerySchemas[schema as LocationQuerySchema] || false\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,IAAM,uBAA0D;AAAA,EAC9D,8CAA8C;AAAA,EAC9C,sCAAsC;AAAA,EACtC,oCAAoC;AACtC;AAEO,IAAM,iCAAiC,CAAC,WAAkD;AAC/F,SAAO,qBAAqB,MAA6B,KAAK;AAChE;","names":[]}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
// src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts
|
|
2
|
+
var locationQuerySchemas = {
|
|
2
3
|
"network.xyo.location.heatmap.quadkey.query": true,
|
|
3
4
|
"network.xyo.location.heatmap.query": true,
|
|
4
5
|
"network.xyo.location.range.query": true
|
|
5
6
|
};
|
|
6
|
-
|
|
7
|
+
var isSupportedLocationQuerySchema = (schema) => {
|
|
7
8
|
return locationQuerySchemas[schema] || false;
|
|
8
9
|
};
|
|
9
10
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts"],"sourcesContent":["import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery'\nimport { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery'\nimport { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery'\n\nexport type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema\n\nconst locationQuerySchemas: Record<LocationQuerySchema, true> = {\n 'network.xyo.location.heatmap.quadkey.query': true,\n 'network.xyo.location.heatmap.query': true,\n 'network.xyo.location.range.query': true,\n}\n\nexport const isSupportedLocationQuerySchema = (schema: string): schema is LocationQuerySchema => {\n return locationQuerySchemas[schema as LocationQuerySchema] || false\n}\n"],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts"],"sourcesContent":["import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery'\nimport { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery'\nimport { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery'\n\nexport type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema\n\nconst locationQuerySchemas: Record<LocationQuerySchema, true> = {\n 'network.xyo.location.heatmap.quadkey.query': true,\n 'network.xyo.location.heatmap.query': true,\n 'network.xyo.location.range.query': true,\n}\n\nexport const isSupportedLocationQuerySchema = (schema: string): schema is LocationQuerySchema => {\n return locationQuerySchemas[schema as LocationQuerySchema] || false\n}\n"],"mappings":";AAMA,IAAM,uBAA0D;AAAA,EAC9D,8CAA8C;AAAA,EAC9C,sCAAsC;AAAA,EACtC,oCAAoC;AACtC;AAEO,IAAM,iCAAiC,CAAC,WAAkD;AAC/F,SAAO,qBAAqB,MAA6B,KAAK;AAChE;","names":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LocationWitnessSchema } from '../../Witnesses';
|
|
2
|
+
export interface LocationTimeRangePointProperties {
|
|
3
|
+
_archive: string;
|
|
4
|
+
_client: string;
|
|
5
|
+
_timestamp: number;
|
|
6
|
+
schema: LocationWitnessSchema;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=LocationTimeRangePointProperties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationTimeRangePointProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAEvD,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,qBAAqB,CAAA;CAC9B"}
|
|
@@ -12,6 +12,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
12
12
|
return to;
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.ts
|
|
15
17
|
var LocationTimeRangePointProperties_exports = {};
|
|
16
18
|
module.exports = __toCommonJS(LocationTimeRangePointProperties_exports);
|
|
17
19
|
//# sourceMappingURL=LocationTimeRangePointProperties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.ts"],"sourcesContent":["import { LocationWitnessSchema } from '../../Witnesses'\n\nexport interface LocationTimeRangePointProperties {\n _archive: string\n _client: string\n _timestamp: number\n schema: LocationWitnessSchema\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.ts"],"sourcesContent":["import { LocationWitnessSchema } from '../../Witnesses'\n\nexport interface LocationTimeRangePointProperties {\n _archive: string\n _client: string\n _timestamp: number\n schema: LocationWitnessSchema\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LocationWitnessSchema } from '../../Witnesses';
|
|
2
|
+
export type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query';
|
|
3
|
+
export declare const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema;
|
|
4
|
+
export type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer';
|
|
5
|
+
export declare const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema;
|
|
6
|
+
export type LocationTimeRangeQuery = {
|
|
7
|
+
schema: LocationWitnessSchema;
|
|
8
|
+
startTime?: string;
|
|
9
|
+
stopTime?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const isLocationTimeRangeQuery: (query: Record<string, unknown>) => query is LocationTimeRangeQuery;
|
|
12
|
+
//# sourceMappingURL=LocationTimeRangeQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationTimeRangeQuery.d.ts","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAEvD,MAAM,MAAM,4BAA4B,GAAG,kCAAkC,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAE5G,MAAM,MAAM,6BAA6B,GAAG,mCAAmC,CAAA;AAC/E,eAAO,MAAM,6BAA6B,EAAE,6BAAmE,CAAA;AAE/G,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,qBAAqB,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAGlB,CAAA;AAED,eAAO,MAAM,wBAAwB,UAAW,OAAO,MAAM,EAAE,OAAO,CAAC,oCAEtE,CAAA"}
|
package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js
CHANGED
|
@@ -16,6 +16,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
|
|
19
21
|
var LocationTimeRangeQuery_exports = {};
|
|
20
22
|
__export(LocationTimeRangeQuery_exports, {
|
|
21
23
|
LocationTimeRangeAnswerSchema: () => LocationTimeRangeAnswerSchema,
|
|
@@ -23,10 +25,10 @@ __export(LocationTimeRangeQuery_exports, {
|
|
|
23
25
|
isLocationTimeRangeQuery: () => isLocationTimeRangeQuery
|
|
24
26
|
});
|
|
25
27
|
module.exports = __toCommonJS(LocationTimeRangeQuery_exports);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return query && query
|
|
28
|
+
var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
|
29
|
+
var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
|
30
|
+
var isLocationTimeRangeQuery = (query) => {
|
|
31
|
+
return query && (query == null ? void 0 : query.schema) === LocationTimeRangeAnswerSchema;
|
|
30
32
|
};
|
|
31
33
|
// Annotate the CommonJS export names for ESM import in node:
|
|
32
34
|
0 && (module.exports = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"sourcesContent":["import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"sourcesContent":["import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,IAAM,+BAA6D;AAGnE,IAAM,gCAA+D;AAUrE,IAAM,2BAA2B,CAAC,UAAoE;AAC3G,SAAO,UAAS,+BAAO,YAAW;AACpC;","names":[]}
|
package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
|
|
2
|
+
var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
|
3
|
+
var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
|
4
|
+
var isLocationTimeRangeQuery = (query) => {
|
|
5
|
+
return query && (query == null ? void 0 : query.schema) === LocationTimeRangeAnswerSchema;
|
|
5
6
|
};
|
|
6
7
|
export {
|
|
7
8
|
LocationTimeRangeAnswerSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"sourcesContent":["import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n"],"mappings":"AAGO,
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"sourcesContent":["import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n"],"mappings":";AAGO,IAAM,+BAA6D;AAGnE,IAAM,gCAA+D;AAUrE,IAAM,2BAA2B,CAAC,UAAoE;AAC3G,SAAO,UAAS,+BAAO,YAAW;AACpC;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAA;AAClD,cAAc,0BAA0B,CAAA"}
|
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -11,15 +15,27 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
11
15
|
}
|
|
12
16
|
return to;
|
|
13
17
|
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.ts
|
|
16
21
|
var LocationTimeRangeQuery_exports = {};
|
|
22
|
+
__export(LocationTimeRangeQuery_exports, {
|
|
23
|
+
LocationTimeRangeAnswerSchema: () => LocationTimeRangeAnswerSchema,
|
|
24
|
+
LocationTimeRangeQuerySchema: () => LocationTimeRangeQuerySchema,
|
|
25
|
+
isLocationTimeRangeQuery: () => isLocationTimeRangeQuery
|
|
26
|
+
});
|
|
17
27
|
module.exports = __toCommonJS(LocationTimeRangeQuery_exports);
|
|
18
|
-
|
|
19
|
-
|
|
28
|
+
|
|
29
|
+
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
|
|
30
|
+
var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
|
31
|
+
var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
|
32
|
+
var isLocationTimeRangeQuery = (query) => {
|
|
33
|
+
return query && (query == null ? void 0 : query.schema) === LocationTimeRangeAnswerSchema;
|
|
34
|
+
};
|
|
20
35
|
// Annotate the CommonJS export names for ESM import in node:
|
|
21
36
|
0 && (module.exports = {
|
|
22
|
-
|
|
23
|
-
|
|
37
|
+
LocationTimeRangeAnswerSchema,
|
|
38
|
+
LocationTimeRangeQuerySchema,
|
|
39
|
+
isLocationTimeRangeQuery
|
|
24
40
|
});
|
|
25
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.ts"],"sourcesContent":["export * from './LocationTimeRangePointProperties'\nexport * from './LocationTimeRangeQuery'\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.ts","../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"sourcesContent":["export * from './LocationTimeRangePointProperties'\nexport * from './LocationTimeRangeQuery'\n","import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGO,IAAM,+BAA6D;AAGnE,IAAM,gCAA+D;AAUrE,IAAM,2BAA2B,CAAC,UAAoE;AAC3G,SAAO,UAAS,+BAAO,YAAW;AACpC;","names":[]}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
|
|
2
|
+
var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
|
3
|
+
var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
|
4
|
+
var isLocationTimeRangeQuery = (query) => {
|
|
5
|
+
return query && (query == null ? void 0 : query.schema) === LocationTimeRangeAnswerSchema;
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
LocationTimeRangeAnswerSchema,
|
|
9
|
+
LocationTimeRangeQuerySchema,
|
|
10
|
+
isLocationTimeRangeQuery
|
|
11
|
+
};
|
|
3
12
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"sourcesContent":["import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n"],"mappings":";AAGO,IAAM,+BAA6D;AAGnE,IAAM,gCAA+D;AAUrE,IAAM,2BAA2B,CAAC,UAAoE;AAC3G,SAAO,UAAS,+BAAO,YAAW;AACpC;","names":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './LocationHeatmapQuery';
|
|
2
|
+
export * from './LocationQuadkeyHeatmapQuery';
|
|
3
|
+
export * from './LocationQueryCreationRequest';
|
|
4
|
+
export * from './LocationQueryCreationResponse';
|
|
5
|
+
export * from './LocationQuerySchema';
|
|
6
|
+
export * from './LocationTimeRangeQuery';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA"}
|
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -11,23 +15,65 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
11
15
|
}
|
|
12
16
|
return to;
|
|
13
17
|
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Diviner/LocationDiviner/Queries/index.ts
|
|
16
21
|
var Queries_exports = {};
|
|
22
|
+
__export(Queries_exports, {
|
|
23
|
+
LocationTimeRangeAnswerSchema: () => LocationTimeRangeAnswerSchema,
|
|
24
|
+
LocationTimeRangeQuerySchema: () => LocationTimeRangeQuerySchema,
|
|
25
|
+
isLocationHeatmapQuery: () => isLocationHeatmapQuery,
|
|
26
|
+
isLocationQuadkeyHeatmapQuery: () => isLocationQuadkeyHeatmapQuery,
|
|
27
|
+
isLocationTimeRangeQuery: () => isLocationTimeRangeQuery,
|
|
28
|
+
isSupportedLocationQuerySchema: () => isSupportedLocationQuerySchema,
|
|
29
|
+
locationHeatmapAnswerSchema: () => locationHeatmapAnswerSchema,
|
|
30
|
+
locationHeatmapQuerySchema: () => locationHeatmapQuerySchema,
|
|
31
|
+
locationQuadkeyHeatmapAnswerSchema: () => locationQuadkeyHeatmapAnswerSchema,
|
|
32
|
+
locationQuadkeyHeatmapQuerySchema: () => locationQuadkeyHeatmapQuerySchema
|
|
33
|
+
});
|
|
17
34
|
module.exports = __toCommonJS(Queries_exports);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
35
|
+
|
|
36
|
+
// src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts
|
|
37
|
+
var locationHeatmapQuerySchema = "network.xyo.location.heatmap.query";
|
|
38
|
+
var locationHeatmapAnswerSchema = "network.xyo.location.heatmap.answer";
|
|
39
|
+
var isLocationHeatmapQuery = (query) => {
|
|
40
|
+
return query && (query == null ? void 0 : query.schema) === locationHeatmapQuerySchema;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
// src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts
|
|
44
|
+
var locationQuadkeyHeatmapQuerySchema = "network.xyo.location.heatmap.quadkey.query";
|
|
45
|
+
var locationQuadkeyHeatmapAnswerSchema = "network.xyo.location.heatmap.quadkey.answer";
|
|
46
|
+
var isLocationQuadkeyHeatmapQuery = (query) => {
|
|
47
|
+
return query && (query == null ? void 0 : query.schema) === locationQuadkeyHeatmapQuerySchema;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
// src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts
|
|
51
|
+
var locationQuerySchemas = {
|
|
52
|
+
"network.xyo.location.heatmap.quadkey.query": true,
|
|
53
|
+
"network.xyo.location.heatmap.query": true,
|
|
54
|
+
"network.xyo.location.range.query": true
|
|
55
|
+
};
|
|
56
|
+
var isSupportedLocationQuerySchema = (schema) => {
|
|
57
|
+
return locationQuerySchemas[schema] || false;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
|
|
61
|
+
var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
|
62
|
+
var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
|
63
|
+
var isLocationTimeRangeQuery = (query) => {
|
|
64
|
+
return query && (query == null ? void 0 : query.schema) === LocationTimeRangeAnswerSchema;
|
|
65
|
+
};
|
|
24
66
|
// Annotate the CommonJS export names for ESM import in node:
|
|
25
67
|
0 && (module.exports = {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
68
|
+
LocationTimeRangeAnswerSchema,
|
|
69
|
+
LocationTimeRangeQuerySchema,
|
|
70
|
+
isLocationHeatmapQuery,
|
|
71
|
+
isLocationQuadkeyHeatmapQuery,
|
|
72
|
+
isLocationTimeRangeQuery,
|
|
73
|
+
isSupportedLocationQuerySchema,
|
|
74
|
+
locationHeatmapAnswerSchema,
|
|
75
|
+
locationHeatmapQuerySchema,
|
|
76
|
+
locationQuadkeyHeatmapAnswerSchema,
|
|
77
|
+
locationQuadkeyHeatmapQuerySchema
|
|
32
78
|
});
|
|
33
79
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Queries/index.ts"],"sourcesContent":["export * from './LocationHeatmapQuery'\nexport * from './LocationQuadkeyHeatmapQuery'\nexport * from './LocationQueryCreationRequest'\nexport * from './LocationQueryCreationResponse'\nexport * from './LocationQuerySchema'\nexport * from './LocationTimeRangeQuery'\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Queries/index.ts","../../../../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts","../../../../../src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts","../../../../../src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts","../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"sourcesContent":["export * from './LocationHeatmapQuery'\nexport * from './LocationQuadkeyHeatmapQuery'\nexport * from './LocationQueryCreationRequest'\nexport * from './LocationQueryCreationResponse'\nexport * from './LocationQuerySchema'\nexport * from './LocationTimeRangeQuery'\n","import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query'\nexport const locationHeatmapQuerySchema: LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query'\n\nexport type LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer'\nexport const locationHeatmapAnswerSchema: LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer'\n\nexport type LocationHeatmapQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n}\n\nexport const isLocationHeatmapQuery = (query: Record<string, unknown>): query is LocationHeatmapQuery => {\n return query && query?.schema === locationHeatmapQuerySchema\n}\n","import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query'\nexport const locationQuadkeyHeatmapQuerySchema: LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query'\nexport type LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer'\nexport const locationQuadkeyHeatmapAnswerSchema: LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer'\nexport type LocationQuadkeyHeatmapQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n}\n\nexport const isLocationQuadkeyHeatmapQuery = (query: Record<string, unknown>): query is LocationQuadkeyHeatmapQuery => {\n return query && query?.schema === locationQuadkeyHeatmapQuerySchema\n}\n","import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery'\nimport { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery'\nimport { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery'\n\nexport type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema\n\nconst locationQuerySchemas: Record<LocationQuerySchema, true> = {\n 'network.xyo.location.heatmap.quadkey.query': true,\n 'network.xyo.location.heatmap.query': true,\n 'network.xyo.location.range.query': true,\n}\n\nexport const isSupportedLocationQuerySchema = (schema: string): schema is LocationQuerySchema => {\n return locationQuerySchemas[schema as LocationQuerySchema] || false\n}\n","import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGO,IAAM,6BAAyD;AAG/D,IAAM,8BAA2D;AAQjE,IAAM,yBAAyB,CAAC,UAAkE;AACvG,SAAO,UAAS,+BAAO,YAAW;AACpC;;;ACbO,IAAM,oCAAuE;AAE7E,IAAM,qCAAyE;AAO/E,IAAM,gCAAgC,CAAC,UAAyE;AACrH,SAAO,UAAS,+BAAO,YAAW;AACpC;;;ACRA,IAAM,uBAA0D;AAAA,EAC9D,8CAA8C;AAAA,EAC9C,sCAAsC;AAAA,EACtC,oCAAoC;AACtC;AAEO,IAAM,iCAAiC,CAAC,WAAkD;AAC/F,SAAO,qBAAqB,MAA6B,KAAK;AAChE;;;ACXO,IAAM,+BAA6D;AAGnE,IAAM,gCAA+D;AAUrE,IAAM,2BAA2B,CAAC,UAAoE;AAC3G,SAAO,UAAS,+BAAO,YAAW;AACpC;","names":[]}
|
|
@@ -1,7 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
// src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts
|
|
2
|
+
var locationHeatmapQuerySchema = "network.xyo.location.heatmap.query";
|
|
3
|
+
var locationHeatmapAnswerSchema = "network.xyo.location.heatmap.answer";
|
|
4
|
+
var isLocationHeatmapQuery = (query) => {
|
|
5
|
+
return query && (query == null ? void 0 : query.schema) === locationHeatmapQuerySchema;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
// src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts
|
|
9
|
+
var locationQuadkeyHeatmapQuerySchema = "network.xyo.location.heatmap.quadkey.query";
|
|
10
|
+
var locationQuadkeyHeatmapAnswerSchema = "network.xyo.location.heatmap.quadkey.answer";
|
|
11
|
+
var isLocationQuadkeyHeatmapQuery = (query) => {
|
|
12
|
+
return query && (query == null ? void 0 : query.schema) === locationQuadkeyHeatmapQuerySchema;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
// src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts
|
|
16
|
+
var locationQuerySchemas = {
|
|
17
|
+
"network.xyo.location.heatmap.quadkey.query": true,
|
|
18
|
+
"network.xyo.location.heatmap.query": true,
|
|
19
|
+
"network.xyo.location.range.query": true
|
|
20
|
+
};
|
|
21
|
+
var isSupportedLocationQuerySchema = (schema) => {
|
|
22
|
+
return locationQuerySchemas[schema] || false;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
|
|
26
|
+
var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
|
27
|
+
var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
|
28
|
+
var isLocationTimeRangeQuery = (query) => {
|
|
29
|
+
return query && (query == null ? void 0 : query.schema) === LocationTimeRangeAnswerSchema;
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
LocationTimeRangeAnswerSchema,
|
|
33
|
+
LocationTimeRangeQuerySchema,
|
|
34
|
+
isLocationHeatmapQuery,
|
|
35
|
+
isLocationQuadkeyHeatmapQuery,
|
|
36
|
+
isLocationTimeRangeQuery,
|
|
37
|
+
isSupportedLocationQuerySchema,
|
|
38
|
+
locationHeatmapAnswerSchema,
|
|
39
|
+
locationHeatmapQuerySchema,
|
|
40
|
+
locationQuadkeyHeatmapAnswerSchema,
|
|
41
|
+
locationQuadkeyHeatmapQuerySchema
|
|
42
|
+
};
|
|
7
43
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Queries/
|
|
1
|
+
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts","../../../../../src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts","../../../../../src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts","../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"sourcesContent":["import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query'\nexport const locationHeatmapQuerySchema: LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query'\n\nexport type LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer'\nexport const locationHeatmapAnswerSchema: LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer'\n\nexport type LocationHeatmapQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n}\n\nexport const isLocationHeatmapQuery = (query: Record<string, unknown>): query is LocationHeatmapQuery => {\n return query && query?.schema === locationHeatmapQuerySchema\n}\n","import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query'\nexport const locationQuadkeyHeatmapQuerySchema: LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query'\nexport type LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer'\nexport const locationQuadkeyHeatmapAnswerSchema: LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer'\nexport type LocationQuadkeyHeatmapQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n}\n\nexport const isLocationQuadkeyHeatmapQuery = (query: Record<string, unknown>): query is LocationQuadkeyHeatmapQuery => {\n return query && query?.schema === locationQuadkeyHeatmapQuerySchema\n}\n","import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery'\nimport { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery'\nimport { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery'\n\nexport type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema\n\nconst locationQuerySchemas: Record<LocationQuerySchema, true> = {\n 'network.xyo.location.heatmap.quadkey.query': true,\n 'network.xyo.location.heatmap.query': true,\n 'network.xyo.location.range.query': true,\n}\n\nexport const isSupportedLocationQuerySchema = (schema: string): schema is LocationQuerySchema => {\n return locationQuerySchemas[schema as LocationQuerySchema] || false\n}\n","import { LocationWitnessSchema } from '../../Witnesses'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n"],"mappings":";AAGO,IAAM,6BAAyD;AAG/D,IAAM,8BAA2D;AAQjE,IAAM,yBAAyB,CAAC,UAAkE;AACvG,SAAO,UAAS,+BAAO,YAAW;AACpC;;;ACbO,IAAM,oCAAuE;AAE7E,IAAM,qCAAyE;AAO/E,IAAM,gCAAgC,CAAC,UAAyE;AACrH,SAAO,UAAS,+BAAO,YAAW;AACpC;;;ACRA,IAAM,uBAA0D;AAAA,EAC9D,8CAA8C;AAAA,EAC9C,sCAAsC;AAAA,EACtC,oCAAoC;AACtC;AAEO,IAAM,iCAAiC,CAAC,WAAkD;AAC/F,SAAO,qBAAqB,MAA6B,KAAK;AAChE;;;ACXO,IAAM,+BAA6D;AAGnE,IAAM,gCAA+D;AAUrE,IAAM,2BAA2B,CAAC,UAAoE;AAC3G,SAAO,UAAS,+BAAO,YAAW;AACpC;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export type CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness';
|
|
3
|
+
export declare const CurrentLocationWitnessSchema: CurrentLocationWitnessSchema;
|
|
4
|
+
export type CurrentLocationWitnessPayload = Payload<{
|
|
5
|
+
altitudeMeters: number;
|
|
6
|
+
directionDegrees: number;
|
|
7
|
+
latitude: number;
|
|
8
|
+
longitude: number;
|
|
9
|
+
quadkey: string;
|
|
10
|
+
schema: CurrentLocationWitnessSchema;
|
|
11
|
+
speedKph: number;
|
|
12
|
+
}>;
|
|
13
|
+
//# sourceMappingURL=CurrentLocationWitness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrentLocationWitness.d.ts","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,mCAAmC,CAAA;AAC9E,eAAO,MAAM,4BAA4B,EAAE,4BAAkE,CAAA;AAE7G,MAAM,MAAM,6BAA6B,GAAG,OAAO,CAAC;IAClD,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,4BAA4B,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA"}
|
|
@@ -16,12 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts
|
|
19
21
|
var CurrentLocationWitness_exports = {};
|
|
20
22
|
__export(CurrentLocationWitness_exports, {
|
|
21
23
|
CurrentLocationWitnessSchema: () => CurrentLocationWitnessSchema
|
|
22
24
|
});
|
|
23
25
|
module.exports = __toCommonJS(CurrentLocationWitness_exports);
|
|
24
|
-
|
|
26
|
+
var CurrentLocationWitnessSchema = "co.coinapp.currentlocationwitness";
|
|
25
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
26
28
|
0 && (module.exports = {
|
|
27
29
|
CurrentLocationWitnessSchema
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nexport type CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\nexport const CurrentLocationWitnessSchema: CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\n\nexport type CurrentLocationWitnessPayload = Payload<{\n altitudeMeters: number\n directionDegrees: number\n latitude: number\n longitude: number\n quadkey: string\n schema: CurrentLocationWitnessSchema\n speedKph: number\n}>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nexport type CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\nexport const CurrentLocationWitnessSchema: CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\n\nexport type CurrentLocationWitnessPayload = Payload<{\n altitudeMeters: number\n directionDegrees: number\n latitude: number\n longitude: number\n quadkey: string\n schema: CurrentLocationWitnessSchema\n speedKph: number\n}>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,IAAM,+BAA6D;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nexport type CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\nexport const CurrentLocationWitnessSchema: CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\n\nexport type CurrentLocationWitnessPayload = Payload<{\n altitudeMeters: number\n directionDegrees: number\n latitude: number\n longitude: number\n quadkey: string\n schema: CurrentLocationWitnessSchema\n speedKph: number\n}>\n"],"mappings":"AAGO,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nexport type CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\nexport const CurrentLocationWitnessSchema: CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\n\nexport type CurrentLocationWitnessPayload = Payload<{\n altitudeMeters: number\n directionDegrees: number\n latitude: number\n longitude: number\n quadkey: string\n schema: CurrentLocationWitnessSchema\n speedKph: number\n}>\n"],"mappings":";AAGO,IAAM,+BAA6D;","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export type LocationWitnessSchema = 'network.xyo.location';
|
|
3
|
+
export declare const LocationWitnessSchema: LocationWitnessSchema;
|
|
4
|
+
export interface Coordinates {
|
|
5
|
+
accuracy: number | null;
|
|
6
|
+
altitude: number | null;
|
|
7
|
+
altitudeAccuracy: number | null;
|
|
8
|
+
heading: number | null;
|
|
9
|
+
latitude: number;
|
|
10
|
+
longitude: number;
|
|
11
|
+
speed: number | null;
|
|
12
|
+
}
|
|
13
|
+
export interface CurrentLocation {
|
|
14
|
+
coords: Coordinates;
|
|
15
|
+
timestamp: number;
|
|
16
|
+
}
|
|
17
|
+
export type LocationWitnessPayload = Payload<{
|
|
18
|
+
currentLocation: CurrentLocation;
|
|
19
|
+
schema: LocationWitnessSchema;
|
|
20
|
+
}>;
|
|
21
|
+
//# sourceMappingURL=LocationWitness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationWitness.d.ts","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAA;AAC1D,eAAO,MAAM,qBAAqB,EAAE,qBAA8C,CAAA;AAElF,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB;AACD,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,WAAW,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC;IAC3C,eAAe,EAAE,eAAe,CAAA;IAChC,MAAM,EAAE,qBAAqB,CAAA;CAC9B,CAAC,CAAA"}
|
|
@@ -16,12 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts
|
|
19
21
|
var LocationWitness_exports = {};
|
|
20
22
|
__export(LocationWitness_exports, {
|
|
21
23
|
LocationWitnessSchema: () => LocationWitnessSchema
|
|
22
24
|
});
|
|
23
25
|
module.exports = __toCommonJS(LocationWitness_exports);
|
|
24
|
-
|
|
26
|
+
var LocationWitnessSchema = "network.xyo.location";
|
|
25
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
26
28
|
0 && (module.exports = {
|
|
27
29
|
LocationWitnessSchema
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nexport type LocationWitnessSchema = 'network.xyo.location'\nexport const LocationWitnessSchema: LocationWitnessSchema = 'network.xyo.location'\n\nexport interface Coordinates {\n accuracy: number | null\n altitude: number | null\n altitudeAccuracy: number | null\n heading: number | null\n latitude: number\n longitude: number\n speed: number | null\n}\nexport interface CurrentLocation {\n coords: Coordinates\n timestamp: number\n}\n\nexport type LocationWitnessPayload = Payload<{\n currentLocation: CurrentLocation\n schema: LocationWitnessSchema\n}>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nexport type LocationWitnessSchema = 'network.xyo.location'\nexport const LocationWitnessSchema: LocationWitnessSchema = 'network.xyo.location'\n\nexport interface Coordinates {\n accuracy: number | null\n altitude: number | null\n altitudeAccuracy: number | null\n heading: number | null\n latitude: number\n longitude: number\n speed: number | null\n}\nexport interface CurrentLocation {\n coords: Coordinates\n timestamp: number\n}\n\nexport type LocationWitnessPayload = Payload<{\n currentLocation: CurrentLocation\n schema: LocationWitnessSchema\n}>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,IAAM,wBAA+C;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nexport type LocationWitnessSchema = 'network.xyo.location'\nexport const LocationWitnessSchema: LocationWitnessSchema = 'network.xyo.location'\n\nexport interface Coordinates {\n accuracy: number | null\n altitude: number | null\n altitudeAccuracy: number | null\n heading: number | null\n latitude: number\n longitude: number\n speed: number | null\n}\nexport interface CurrentLocation {\n coords: Coordinates\n timestamp: number\n}\n\nexport type LocationWitnessPayload = Payload<{\n currentLocation: CurrentLocation\n schema: LocationWitnessSchema\n}>\n"],"mappings":"AAGO,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nexport type LocationWitnessSchema = 'network.xyo.location'\nexport const LocationWitnessSchema: LocationWitnessSchema = 'network.xyo.location'\n\nexport interface Coordinates {\n accuracy: number | null\n altitude: number | null\n altitudeAccuracy: number | null\n heading: number | null\n latitude: number\n longitude: number\n speed: number | null\n}\nexport interface CurrentLocation {\n coords: Coordinates\n timestamp: number\n}\n\nexport type LocationWitnessPayload = Payload<{\n currentLocation: CurrentLocation\n schema: LocationWitnessSchema\n}>\n"],"mappings":";AAGO,IAAM,wBAA+C;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA"}
|