@dpscan/contracts 0.4.5 → 0.4.6

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.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { PageInfoContract, PageResultContract } from '../common';
2
+ import { PageInfoContract, PageResultContract } from '../common/index.js';
3
3
  export const CarrierIdContract = z.coerce.bigint();
4
4
  export const CarrierContract = z.object({
5
5
  id: z.string(),
@@ -1,2 +1,2 @@
1
- export * from './carrier.dto';
1
+ export * from './carrier.dto.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/carrier/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/carrier/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- export * from './carrier.dto';
1
+ export * from './carrier.dto.js';
@@ -1,2 +1,2 @@
1
- export * from './pagination.dto';
1
+ export * from './pagination.dto.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- export * from './pagination.dto';
1
+ export * from './pagination.dto.js';
@@ -1,5 +1,5 @@
1
- export * from './route';
2
- export * from './carrier';
3
- export * from './vehicle';
4
- export * from './vehicle-snapshots';
1
+ export * from './route/index.js';
2
+ export * from './carrier/index.js';
3
+ export * from './vehicle/index.js';
4
+ export * from './vehicle-snapshots/index.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC"}
@@ -1,4 +1,4 @@
1
- export * from './route';
2
- export * from './carrier';
3
- export * from './vehicle';
4
- export * from './vehicle-snapshots';
1
+ export * from './route/index.js';
2
+ export * from './carrier/index.js';
3
+ export * from './vehicle/index.js';
4
+ export * from './vehicle-snapshots/index.js';
@@ -1,3 +1,3 @@
1
- export * from './route.dto';
2
- export * from './station.dto';
1
+ export * from './route.dto.js';
2
+ export * from './station.dto.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/route/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/route/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './route.dto';
2
- export * from './station.dto';
1
+ export * from './route.dto.js';
2
+ export * from './station.dto.js';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { PageInfoContract, PageResultContract } from '../common';
3
- import { VehicleIdContract } from '../vehicle';
2
+ import { PageInfoContract, PageResultContract } from '../common/index.js';
3
+ import { VehicleIdContract } from '../vehicle/index.js';
4
4
  export const RouteIdContract = z.coerce.number().int();
5
5
  export const RouteContract = z.object({
6
6
  id: z.int(),
@@ -1,4 +1,4 @@
1
- export * from './vehicle.dto';
2
- export * from './vehicle-type.dto';
3
- export * from './vehicle-model.dto';
1
+ export * from './vehicle.dto.js';
2
+ export * from './vehicle-type.dto.js';
3
+ export * from './vehicle-model.dto.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/vehicle/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/vehicle/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './vehicle.dto';
2
- export * from './vehicle-type.dto';
3
- export * from './vehicle-model.dto';
1
+ export * from './vehicle.dto.js';
2
+ export * from './vehicle-type.dto.js';
3
+ export * from './vehicle-model.dto.js';
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { PageInfoContract, PageResultContract } from '../common';
3
- import { CarrierIdContract } from '../carrier';
4
- import { RouteIdContract } from '../route';
5
- import { VehicleModelIdContract } from './vehicle-model.dto';
6
- import { VehicleTypeIdContract } from './vehicle-type.dto';
2
+ import { PageInfoContract, PageResultContract } from '../common/index.js';
3
+ import { CarrierIdContract } from '../carrier/index.js';
4
+ import { RouteIdContract } from '../route/index.js';
5
+ import { VehicleModelIdContract } from './vehicle-model.dto.js';
6
+ import { VehicleTypeIdContract } from './vehicle-type.dto.js';
7
7
  export const VehicleIdContract = z.coerce.bigint();
8
8
  export const VehicleDetailsContract = z.object({
9
9
  id: z.string(),
@@ -1,2 +1,2 @@
1
- export * from './vehicle-snapshots.dto';
1
+ export * from './vehicle-snapshots.dto.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/vehicle-snapshots/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/vehicle-snapshots/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
@@ -1 +1 @@
1
- export * from './vehicle-snapshots.dto';
1
+ export * from './vehicle-snapshots.dto.js';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { RouteIdContract } from '../route';
3
- import { VehicleIdContract } from '../vehicle';
2
+ import { RouteIdContract } from '../route/index.js';
3
+ import { VehicleIdContract } from '../vehicle/index.js';
4
4
  export const VehicleSnapshotsParamsContract = z.object({
5
5
  get routeId() {
6
6
  return RouteIdContract;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * as http from './http';
1
+ export * as http from './http/index.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC"}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export * as http from './http';
1
+ export * as http from './http/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpscan/contracts",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",