@venulog/phasing-engine-schemas 0.15.1 → 0.15.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.
@@ -86,7 +86,7 @@ export const reportPositionBodySchema = z
86
86
  description: 'Speed in km/h',
87
87
  example: 15
88
88
  }),
89
- accuracy_meters: z.number().min(0).optional().openapi({
89
+ accuracy_meters: z.number().min(0).max(9999.99).optional().openapi({
90
90
  description: 'GPS accuracy in meters',
91
91
  example: 5.2
92
92
  }),
package/package.json CHANGED
@@ -1,107 +1,107 @@
1
- {
2
- "name": "@venulog/phasing-engine-schemas",
3
- "version": "0.15.1",
4
- "description": "Shared schemas and types for Phasing Engine API",
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js"
12
- },
13
- "./auth": {
14
- "types": "./dist/auth.d.ts",
15
- "import": "./dist/auth.js"
16
- },
17
- "./common": {
18
- "types": "./dist/common.d.ts",
19
- "import": "./dist/common.js"
20
- },
21
- "./pagination": {
22
- "types": "./dist/pagination.d.ts",
23
- "import": "./dist/pagination.js"
24
- },
25
- "./parkingBooking": {
26
- "types": "./dist/parkingBooking.d.ts",
27
- "import": "./dist/parkingBooking.js"
28
- },
29
- "./event": {
30
- "types": "./dist/event.d.ts",
31
- "import": "./dist/event.js"
32
- },
33
- "./parkingArea": {
34
- "types": "./dist/parkingArea.d.ts",
35
- "import": "./dist/parkingArea.js"
36
- },
37
- "./parkingAreaLayer": {
38
- "types": "./dist/parkingAreaLayer.d.ts",
39
- "import": "./dist/parkingAreaLayer.js"
40
- },
41
- "./parkingAreaAccess": {
42
- "types": "./dist/parkingAreaAccess.d.ts",
43
- "import": "./dist/parkingAreaAccess.js"
44
- },
45
- "./eventPhase": {
46
- "types": "./dist/eventPhase.d.ts",
47
- "import": "./dist/eventPhase.js"
48
- },
49
- "./enums": {
50
- "types": "./dist/enums/index.d.ts",
51
- "import": "./dist/enums/index.js"
52
- },
53
- "./accessToken": {
54
- "types": "./dist/accessToken.d.ts",
55
- "import": "./dist/accessToken.js"
56
- },
57
- "./vehiclePosition": {
58
- "types": "./dist/vehiclePosition.d.ts",
59
- "import": "./dist/vehiclePosition.js"
60
- },
61
- "./camera": {
62
- "types": "./dist/camera.d.ts",
63
- "import": "./dist/camera.js"
64
- },
65
- "./simulation": {
66
- "types": "./dist/simulation.d.ts",
67
- "import": "./dist/simulation.js"
68
- },
69
- "./exhibitor": {
70
- "types": "./dist/exhibitor.d.ts",
71
- "import": "./dist/exhibitor.js"
72
- },
73
- "./eventSitePlanCalibration": {
74
- "types": "./dist/eventSitePlanCalibration.d.ts",
75
- "import": "./dist/eventSitePlanCalibration.js"
76
- }
77
- },
78
- "files": [
79
- "dist"
80
- ],
81
- "scripts": {
82
- "build": "npm run clean && tsc",
83
- "dev": "tsc --watch",
84
- "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
85
- "prepublishOnly": "npm run build"
86
- },
87
- "keywords": [
88
- "schemas",
89
- "validation",
90
- "types",
91
- "zod",
92
- "phasing-engine"
93
- ],
94
- "license": "MIT",
95
- "dependencies": {
96
- "@asteasolutions/zod-to-openapi": "^8.1.0",
97
- "zod": "^4.1.13"
98
- },
99
- "devDependencies": {
100
- "typescript": "^5.6.3"
101
- },
102
- "repository": {
103
- "type": "git",
104
- "url": "git+https://github.com/manaty/phasing_engine.git",
105
- "directory": "packages/phasing-schemas"
106
- }
107
- }
1
+ {
2
+ "name": "@venulog/phasing-engine-schemas",
3
+ "version": "0.15.2",
4
+ "description": "Shared schemas and types for Phasing Engine API",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ },
13
+ "./auth": {
14
+ "types": "./dist/auth.d.ts",
15
+ "import": "./dist/auth.js"
16
+ },
17
+ "./common": {
18
+ "types": "./dist/common.d.ts",
19
+ "import": "./dist/common.js"
20
+ },
21
+ "./pagination": {
22
+ "types": "./dist/pagination.d.ts",
23
+ "import": "./dist/pagination.js"
24
+ },
25
+ "./parkingBooking": {
26
+ "types": "./dist/parkingBooking.d.ts",
27
+ "import": "./dist/parkingBooking.js"
28
+ },
29
+ "./event": {
30
+ "types": "./dist/event.d.ts",
31
+ "import": "./dist/event.js"
32
+ },
33
+ "./parkingArea": {
34
+ "types": "./dist/parkingArea.d.ts",
35
+ "import": "./dist/parkingArea.js"
36
+ },
37
+ "./parkingAreaLayer": {
38
+ "types": "./dist/parkingAreaLayer.d.ts",
39
+ "import": "./dist/parkingAreaLayer.js"
40
+ },
41
+ "./parkingAreaAccess": {
42
+ "types": "./dist/parkingAreaAccess.d.ts",
43
+ "import": "./dist/parkingAreaAccess.js"
44
+ },
45
+ "./eventPhase": {
46
+ "types": "./dist/eventPhase.d.ts",
47
+ "import": "./dist/eventPhase.js"
48
+ },
49
+ "./enums": {
50
+ "types": "./dist/enums/index.d.ts",
51
+ "import": "./dist/enums/index.js"
52
+ },
53
+ "./accessToken": {
54
+ "types": "./dist/accessToken.d.ts",
55
+ "import": "./dist/accessToken.js"
56
+ },
57
+ "./vehiclePosition": {
58
+ "types": "./dist/vehiclePosition.d.ts",
59
+ "import": "./dist/vehiclePosition.js"
60
+ },
61
+ "./camera": {
62
+ "types": "./dist/camera.d.ts",
63
+ "import": "./dist/camera.js"
64
+ },
65
+ "./simulation": {
66
+ "types": "./dist/simulation.d.ts",
67
+ "import": "./dist/simulation.js"
68
+ },
69
+ "./exhibitor": {
70
+ "types": "./dist/exhibitor.d.ts",
71
+ "import": "./dist/exhibitor.js"
72
+ },
73
+ "./eventSitePlanCalibration": {
74
+ "types": "./dist/eventSitePlanCalibration.d.ts",
75
+ "import": "./dist/eventSitePlanCalibration.js"
76
+ }
77
+ },
78
+ "files": [
79
+ "dist"
80
+ ],
81
+ "scripts": {
82
+ "build": "npm run clean && tsc",
83
+ "dev": "tsc --watch",
84
+ "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
85
+ "prepublishOnly": "npm run build"
86
+ },
87
+ "keywords": [
88
+ "schemas",
89
+ "validation",
90
+ "types",
91
+ "zod",
92
+ "phasing-engine"
93
+ ],
94
+ "license": "MIT",
95
+ "dependencies": {
96
+ "@asteasolutions/zod-to-openapi": "^8.1.0",
97
+ "zod": "^4.1.13"
98
+ },
99
+ "devDependencies": {
100
+ "typescript": "^5.6.3"
101
+ },
102
+ "repository": {
103
+ "type": "git",
104
+ "url": "git+https://github.com/manaty/phasing_engine.git",
105
+ "directory": "packages/phasing-schemas"
106
+ }
107
+ }