@bharatbxhipment/xhipment-models-v2 1.0.13 → 1.0.15
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,15 +1,16 @@
|
|
|
1
1
|
export interface IPort {
|
|
2
|
-
_id
|
|
3
|
-
|
|
4
|
-
code: string;
|
|
2
|
+
_id?: string;
|
|
3
|
+
port: string;
|
|
5
4
|
country: string;
|
|
6
|
-
city: string;
|
|
7
|
-
state: string;
|
|
8
5
|
countryCode: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
portCode: string;
|
|
7
|
+
portKey: string;
|
|
8
|
+
portType: 'sea_port' | 'inland_port';
|
|
9
|
+
sendPort: string;
|
|
10
|
+
location?: {
|
|
11
|
+
type: 'Point';
|
|
12
|
+
coordinates: [number, number];
|
|
13
|
+
} | null;
|
|
14
|
+
cbpCode?: string;
|
|
14
15
|
}
|
|
15
16
|
//# sourceMappingURL=ports.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ports.interface.d.ts","sourceRoot":"","sources":["../../../src/schemas/ports/ports.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IAClB,GAAG,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ports.interface.d.ts","sourceRoot":"","sources":["../../../src/schemas/ports/ports.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,UAAU,GAAG,aAAa,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE;QACP,IAAI,EAAE,OAAO,CAAC;QACd,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACjC,GAAG,IAAI,CAAC;IACT,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ports.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/ports/ports.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"ports.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/ports/ports.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,eAAO,MAAM,UAAU,oIAUC,CAAC"}
|
|
@@ -3,13 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.portSchema = void 0;
|
|
4
4
|
const mongoose_1 = require("mongoose");
|
|
5
5
|
exports.portSchema = new mongoose_1.Schema({
|
|
6
|
-
|
|
7
|
-
code: { type: String, required: true },
|
|
6
|
+
port: { type: String, required: true },
|
|
8
7
|
country: { type: String, required: true },
|
|
9
|
-
city: { type: String, required: true },
|
|
10
|
-
state: { type: String, required: true },
|
|
11
8
|
countryCode: { type: String, required: true },
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
9
|
+
portCode: { type: String, required: true },
|
|
10
|
+
portKey: { type: String, required: true },
|
|
11
|
+
portType: { type: String, required: true },
|
|
12
|
+
sendPort: { type: String, required: true },
|
|
13
|
+
location: { type: mongoose_1.Schema.Types.Mixed, required: false },
|
|
14
|
+
cbpCode: { type: String, required: false },
|
|
15
|
+
}, { timestamps: true });
|
|
15
16
|
//# sourceMappingURL=ports.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ports.model.js","sourceRoot":"","sources":["../../../src/schemas/ports/ports.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGrB,QAAA,UAAU,GAAG,IAAI,iBAAM,CAAQ;IACxC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACtC,
|
|
1
|
+
{"version":3,"file":"ports.model.js","sourceRoot":"","sources":["../../../src/schemas/ports/ports.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGrB,QAAA,UAAU,GAAG,IAAI,iBAAM,CAAQ;IACxC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACtC,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACzC,WAAW,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC7C,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1C,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACzC,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1C,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1C,QAAQ,EAAE,EAAE,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;IACvD,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE;CAC7C,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC"}
|