@tileflow/routing 0.0.0-bootstrap.0 → 0.1.0-alpha.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/README.md +335 -4
- package/dist/chunk-ECBK2QPL.js +450 -0
- package/dist/chunk-MCATD4FU.js +256 -0
- package/dist/client.d.ts +53 -0
- package/dist/client.js +17 -0
- package/dist/contract.d.ts +708 -0
- package/dist/contract.js +72 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +86 -0
- package/package.json +51 -7
package/dist/contract.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import {
|
|
2
|
+
routingAttribution,
|
|
3
|
+
routingAvoidances,
|
|
4
|
+
routingDirectDistance,
|
|
5
|
+
routingErrorCodes,
|
|
6
|
+
routingErrorStatus,
|
|
7
|
+
routingIsochroneCollectionSchema,
|
|
8
|
+
routingIsochroneFeatureSchema,
|
|
9
|
+
routingIsochroneRequestSchema,
|
|
10
|
+
routingIsochroneResponseSchema,
|
|
11
|
+
routingLanguages,
|
|
12
|
+
routingLegSchema,
|
|
13
|
+
routingLimits,
|
|
14
|
+
routingLineStringSchema,
|
|
15
|
+
routingManeuvers,
|
|
16
|
+
routingMatchRequestSchema,
|
|
17
|
+
routingMatchResponseSchema,
|
|
18
|
+
routingMatrixRequestSchema,
|
|
19
|
+
routingMatrixResponseSchema,
|
|
20
|
+
routingModes,
|
|
21
|
+
routingNearestRequestSchema,
|
|
22
|
+
routingNearestResponseSchema,
|
|
23
|
+
routingNetworkSchema,
|
|
24
|
+
routingOperations,
|
|
25
|
+
routingPositionSchema,
|
|
26
|
+
routingRoadClasses,
|
|
27
|
+
routingRoadSchema,
|
|
28
|
+
routingRoadSurfaces,
|
|
29
|
+
routingRouteRequestSchema,
|
|
30
|
+
routingRouteResponseSchema,
|
|
31
|
+
routingRouteSchema,
|
|
32
|
+
routingStepSchema,
|
|
33
|
+
routingTrafficKinds,
|
|
34
|
+
routingUsageSchema,
|
|
35
|
+
routingVehicleSchema
|
|
36
|
+
} from "./chunk-ECBK2QPL.js";
|
|
37
|
+
export {
|
|
38
|
+
routingAttribution,
|
|
39
|
+
routingAvoidances,
|
|
40
|
+
routingDirectDistance,
|
|
41
|
+
routingErrorCodes,
|
|
42
|
+
routingErrorStatus,
|
|
43
|
+
routingIsochroneCollectionSchema,
|
|
44
|
+
routingIsochroneFeatureSchema,
|
|
45
|
+
routingIsochroneRequestSchema,
|
|
46
|
+
routingIsochroneResponseSchema,
|
|
47
|
+
routingLanguages,
|
|
48
|
+
routingLegSchema,
|
|
49
|
+
routingLimits,
|
|
50
|
+
routingLineStringSchema,
|
|
51
|
+
routingManeuvers,
|
|
52
|
+
routingMatchRequestSchema,
|
|
53
|
+
routingMatchResponseSchema,
|
|
54
|
+
routingMatrixRequestSchema,
|
|
55
|
+
routingMatrixResponseSchema,
|
|
56
|
+
routingModes,
|
|
57
|
+
routingNearestRequestSchema,
|
|
58
|
+
routingNearestResponseSchema,
|
|
59
|
+
routingNetworkSchema,
|
|
60
|
+
routingOperations,
|
|
61
|
+
routingPositionSchema,
|
|
62
|
+
routingRoadClasses,
|
|
63
|
+
routingRoadSchema,
|
|
64
|
+
routingRoadSurfaces,
|
|
65
|
+
routingRouteRequestSchema,
|
|
66
|
+
routingRouteResponseSchema,
|
|
67
|
+
routingRouteSchema,
|
|
68
|
+
routingStepSchema,
|
|
69
|
+
routingTrafficKinds,
|
|
70
|
+
routingUsageSchema,
|
|
71
|
+
routingVehicleSchema
|
|
72
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { RoutingError, RoutingOptions, isochrone, match, matrix, nearest, route } from './client.js';
|
|
2
|
+
export { NormalizedRoutingIsochroneRequest, NormalizedRoutingMatchRequest, NormalizedRoutingMatrixRequest, NormalizedRoutingNearestRequest, NormalizedRoutingRouteRequest, RoutingAvoidance, RoutingErrorCode, RoutingIsochroneRequest, RoutingIsochroneResponse, RoutingLanguage, RoutingManeuver, RoutingMatchRequest, RoutingMatchResponse, RoutingMatrixRequest, RoutingMatrixResponse, RoutingMode, RoutingNearestRequest, RoutingNearestResponse, RoutingOperation, RoutingPosition, RoutingRoad, RoutingRoute, RoutingRouteRequest, RoutingRouteResponse, RoutingStep, RoutingTraffic, RoutingVehicle, routingAttribution, routingAvoidances, routingDirectDistance, routingErrorCodes, routingErrorStatus, routingIsochroneCollectionSchema, routingIsochroneFeatureSchema, routingIsochroneRequestSchema, routingIsochroneResponseSchema, routingLanguages, routingLegSchema, routingLimits, routingLineStringSchema, routingManeuvers, routingMatchRequestSchema, routingMatchResponseSchema, routingMatrixRequestSchema, routingMatrixResponseSchema, routingModes, routingNearestRequestSchema, routingNearestResponseSchema, routingNetworkSchema, routingOperations, routingPositionSchema, routingRoadClasses, routingRoadSchema, routingRoadSurfaces, routingRouteRequestSchema, routingRouteResponseSchema, routingRouteSchema, routingStepSchema, routingTrafficKinds, routingUsageSchema, routingVehicleSchema } from './contract.js';
|
|
3
|
+
import 'zod';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RoutingError,
|
|
3
|
+
isochrone,
|
|
4
|
+
match,
|
|
5
|
+
matrix,
|
|
6
|
+
nearest,
|
|
7
|
+
route
|
|
8
|
+
} from "./chunk-MCATD4FU.js";
|
|
9
|
+
import {
|
|
10
|
+
routingAttribution,
|
|
11
|
+
routingAvoidances,
|
|
12
|
+
routingDirectDistance,
|
|
13
|
+
routingErrorCodes,
|
|
14
|
+
routingErrorStatus,
|
|
15
|
+
routingIsochroneCollectionSchema,
|
|
16
|
+
routingIsochroneFeatureSchema,
|
|
17
|
+
routingIsochroneRequestSchema,
|
|
18
|
+
routingIsochroneResponseSchema,
|
|
19
|
+
routingLanguages,
|
|
20
|
+
routingLegSchema,
|
|
21
|
+
routingLimits,
|
|
22
|
+
routingLineStringSchema,
|
|
23
|
+
routingManeuvers,
|
|
24
|
+
routingMatchRequestSchema,
|
|
25
|
+
routingMatchResponseSchema,
|
|
26
|
+
routingMatrixRequestSchema,
|
|
27
|
+
routingMatrixResponseSchema,
|
|
28
|
+
routingModes,
|
|
29
|
+
routingNearestRequestSchema,
|
|
30
|
+
routingNearestResponseSchema,
|
|
31
|
+
routingNetworkSchema,
|
|
32
|
+
routingOperations,
|
|
33
|
+
routingPositionSchema,
|
|
34
|
+
routingRoadClasses,
|
|
35
|
+
routingRoadSchema,
|
|
36
|
+
routingRoadSurfaces,
|
|
37
|
+
routingRouteRequestSchema,
|
|
38
|
+
routingRouteResponseSchema,
|
|
39
|
+
routingRouteSchema,
|
|
40
|
+
routingStepSchema,
|
|
41
|
+
routingTrafficKinds,
|
|
42
|
+
routingUsageSchema,
|
|
43
|
+
routingVehicleSchema
|
|
44
|
+
} from "./chunk-ECBK2QPL.js";
|
|
45
|
+
export {
|
|
46
|
+
RoutingError,
|
|
47
|
+
isochrone,
|
|
48
|
+
match,
|
|
49
|
+
matrix,
|
|
50
|
+
nearest,
|
|
51
|
+
route,
|
|
52
|
+
routingAttribution,
|
|
53
|
+
routingAvoidances,
|
|
54
|
+
routingDirectDistance,
|
|
55
|
+
routingErrorCodes,
|
|
56
|
+
routingErrorStatus,
|
|
57
|
+
routingIsochroneCollectionSchema,
|
|
58
|
+
routingIsochroneFeatureSchema,
|
|
59
|
+
routingIsochroneRequestSchema,
|
|
60
|
+
routingIsochroneResponseSchema,
|
|
61
|
+
routingLanguages,
|
|
62
|
+
routingLegSchema,
|
|
63
|
+
routingLimits,
|
|
64
|
+
routingLineStringSchema,
|
|
65
|
+
routingManeuvers,
|
|
66
|
+
routingMatchRequestSchema,
|
|
67
|
+
routingMatchResponseSchema,
|
|
68
|
+
routingMatrixRequestSchema,
|
|
69
|
+
routingMatrixResponseSchema,
|
|
70
|
+
routingModes,
|
|
71
|
+
routingNearestRequestSchema,
|
|
72
|
+
routingNearestResponseSchema,
|
|
73
|
+
routingNetworkSchema,
|
|
74
|
+
routingOperations,
|
|
75
|
+
routingPositionSchema,
|
|
76
|
+
routingRoadClasses,
|
|
77
|
+
routingRoadSchema,
|
|
78
|
+
routingRoadSurfaces,
|
|
79
|
+
routingRouteRequestSchema,
|
|
80
|
+
routingRouteResponseSchema,
|
|
81
|
+
routingRouteSchema,
|
|
82
|
+
routingStepSchema,
|
|
83
|
+
routingTrafficKinds,
|
|
84
|
+
routingUsageSchema,
|
|
85
|
+
routingVehicleSchema
|
|
86
|
+
};
|
package/package.json
CHANGED
|
@@ -1,19 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tileflow/routing",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Package registration for Tileflow Routing. Runtime releases use the alpha tag.",
|
|
3
|
+
"version": "0.1.0-alpha.0",
|
|
5
4
|
"license": "Apache-2.0",
|
|
5
|
+
"description": "Routes, isochrones, matrices, map matching and nearest-road client and wire contracts for Tileflow.",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
6
8
|
"homepage": "https://tileflow.dev",
|
|
7
9
|
"repository": {
|
|
8
10
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/tileflow/tileflow-sdk.git"
|
|
11
|
+
"url": "git+https://github.com/tileflow/tileflow-sdk.git",
|
|
12
|
+
"directory": "packages/routing"
|
|
10
13
|
},
|
|
11
14
|
"bugs": {
|
|
12
15
|
"url": "https://github.com/tileflow/tileflow-sdk/issues"
|
|
13
16
|
},
|
|
14
|
-
"
|
|
17
|
+
"keywords": [
|
|
18
|
+
"tileflow",
|
|
19
|
+
"maps",
|
|
20
|
+
"routing",
|
|
21
|
+
"directions",
|
|
22
|
+
"isochrones",
|
|
23
|
+
"distance-matrix",
|
|
24
|
+
"map-matching",
|
|
25
|
+
"truck-routing"
|
|
26
|
+
],
|
|
27
|
+
"main": "./dist/index.js",
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"import": "./dist/index.js",
|
|
37
|
+
"default": "./dist/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./contract": {
|
|
40
|
+
"types": "./dist/contract.d.ts",
|
|
41
|
+
"import": "./dist/contract.js",
|
|
42
|
+
"default": "./dist/contract.js"
|
|
43
|
+
},
|
|
44
|
+
"./client": {
|
|
45
|
+
"types": "./dist/client.d.ts",
|
|
46
|
+
"import": "./dist/client.js",
|
|
47
|
+
"default": "./dist/client.js"
|
|
48
|
+
},
|
|
49
|
+
"./package.json": "./package.json"
|
|
50
|
+
},
|
|
15
51
|
"publishConfig": {
|
|
16
|
-
"access": "public"
|
|
17
|
-
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"zod": "^4.4.3"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"build": "tsup src/index.ts src/contract.ts src/client.ts --format esm --dts --clean --splitting && node ../../scripts/canonicalize-zod-enums.mjs dist",
|
|
59
|
+
"verify": "pnpm run build && tsx --test test/*.test.ts",
|
|
60
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
61
|
+
"lint": "tsc -p tsconfig.json --noEmit"
|
|
18
62
|
}
|
|
19
|
-
}
|
|
63
|
+
}
|