@dpscan/contracts 0.1.1 → 0.2.7

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.
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export type CarrierContract = z.infer<typeof CarrierContract>;
3
+ export declare const CarrierContract: z.ZodObject<{
4
+ id: z.ZodString;
5
+ dpx_id: z.ZodInt;
6
+ name: z.ZodString;
7
+ }, z.core.$strip>;
8
+ //# sourceMappingURL=carrier.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carrier.dto.d.ts","sourceRoot":"","sources":["../../../src/http/carrier/carrier.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9D,eAAO,MAAM,eAAe;;;;iBAI1B,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ export const CarrierContract = z.object({
3
+ id: z.string(),
4
+ dpx_id: z.int(),
5
+ name: z.string(),
6
+ });
@@ -0,0 +1,2 @@
1
+ export * from './carrier.dto';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/carrier/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './carrier.dto';
@@ -0,0 +1,3 @@
1
+ export * from './route';
2
+ export * from './carrier';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
@@ -1,17 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./route"), exports);
1
+ export * from './route';
2
+ export * from './carrier';
@@ -0,0 +1,2 @@
1
+ export * from './route.dto';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/route/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -1,17 +1 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./route.dto"), exports);
1
+ export * from './route.dto';
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ export type RouteContract = z.infer<typeof RouteContract>;
3
+ export declare const RouteContract: z.ZodObject<{
4
+ id: z.ZodInt;
5
+ dpx_id: z.ZodInt;
6
+ name: z.ZodString;
7
+ title: z.ZodNullable<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ //# sourceMappingURL=route.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.dto.d.ts","sourceRoot":"","sources":["../../../src/http/route/route.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,eAAO,MAAM,aAAa;;;;;iBAKxB,CAAC"}
@@ -1,10 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RouteContract = void 0;
4
- const zod_1 = require("zod");
5
- exports.RouteContract = zod_1.z.object({
6
- id: zod_1.z.int(),
7
- dpx_id: zod_1.z.int(),
8
- name: zod_1.z.string(),
9
- title: zod_1.z.string().nullable(),
1
+ import { z } from 'zod';
2
+ export const RouteContract = z.object({
3
+ id: z.int(),
4
+ dpx_id: z.int(),
5
+ name: z.string(),
6
+ title: z.string().nullable(),
10
7
  });
@@ -0,0 +1,2 @@
1
+ export * as http from './http';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC"}
package/dist/index.js CHANGED
@@ -1,17 +1 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./http"), exports);
1
+ export * as http from './http';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpscan/contracts",
3
- "version": "0.1.1",
3
+ "version": "0.2.7",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",