sigo-entities 0.0.217 → 0.0.219
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/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +0 -1
- package/dist/index.mjs +0 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ObjectId } from 'mongodb';
|
|
2
|
+
|
|
1
3
|
declare class DestinatarioDTO {
|
|
2
4
|
Identificacion: string;
|
|
3
5
|
Nombre: string;
|
|
@@ -1775,7 +1777,7 @@ declare class UnidadMedidaDTO {
|
|
|
1775
1777
|
}
|
|
1776
1778
|
|
|
1777
1779
|
declare class BaremosColombiaENTITY {
|
|
1778
|
-
_id?: string;
|
|
1780
|
+
_id?: ObjectId | string;
|
|
1779
1781
|
foreignKey: string;
|
|
1780
1782
|
Obra: string;
|
|
1781
1783
|
Contrato: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ObjectId } from 'mongodb';
|
|
2
|
+
|
|
1
3
|
declare class DestinatarioDTO {
|
|
2
4
|
Identificacion: string;
|
|
3
5
|
Nombre: string;
|
|
@@ -1775,7 +1777,7 @@ declare class UnidadMedidaDTO {
|
|
|
1775
1777
|
}
|
|
1776
1778
|
|
|
1777
1779
|
declare class BaremosColombiaENTITY {
|
|
1778
|
-
_id?: string;
|
|
1780
|
+
_id?: ObjectId | string;
|
|
1779
1781
|
foreignKey: string;
|
|
1780
1782
|
Obra: string;
|
|
1781
1783
|
Contrato: string;
|
package/dist/index.js
CHANGED
|
@@ -9546,7 +9546,6 @@ var BaremosColombiaENTITY = class {
|
|
|
9546
9546
|
};
|
|
9547
9547
|
__decorateClass([
|
|
9548
9548
|
(0, import_class_transformer167.Expose)(),
|
|
9549
|
-
(0, import_class_transformer167.Transform)(({ value }) => value instanceof import_mongodb.ObjectId ? value.toHexString() : value, { toPlainOnly: true }),
|
|
9550
9549
|
(0, import_class_transformer167.Transform)(({ value }) => typeof value === "string" ? new import_mongodb.ObjectId(value) : value, { toClassOnly: true })
|
|
9551
9550
|
], BaremosColombiaENTITY.prototype, "_id", 2);
|
|
9552
9551
|
__decorateClass([
|
package/dist/index.mjs
CHANGED
|
@@ -9293,7 +9293,6 @@ var BaremosColombiaENTITY = class {
|
|
|
9293
9293
|
};
|
|
9294
9294
|
__decorateClass([
|
|
9295
9295
|
Expose166(),
|
|
9296
|
-
Transform6(({ value }) => value instanceof ObjectId ? value.toHexString() : value, { toPlainOnly: true }),
|
|
9297
9296
|
Transform6(({ value }) => typeof value === "string" ? new ObjectId(value) : value, { toClassOnly: true })
|
|
9298
9297
|
], BaremosColombiaENTITY.prototype, "_id", 2);
|
|
9299
9298
|
__decorateClass([
|