nicot 1.1.27 → 1.1.29
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.cjs +5 -5
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -615,10 +615,10 @@ __decorateClass([
|
|
|
615
615
|
ApiProperty4({
|
|
616
616
|
description: "The nth page, starting with 1.",
|
|
617
617
|
required: false,
|
|
618
|
-
type: Number,
|
|
619
618
|
minimum: 1
|
|
620
619
|
}),
|
|
621
|
-
NotInResult()
|
|
620
|
+
NotInResult(),
|
|
621
|
+
Reflect.metadata("design:type", Number)
|
|
622
622
|
], PageSettingsDto.prototype, "pageCount", 2);
|
|
623
623
|
__decorateClass([
|
|
624
624
|
NotWritable(),
|
|
@@ -627,10 +627,10 @@ __decorateClass([
|
|
|
627
627
|
ApiProperty4({
|
|
628
628
|
description: "Records per page.",
|
|
629
629
|
required: false,
|
|
630
|
-
type: Number,
|
|
631
630
|
minimum: 1
|
|
632
631
|
}),
|
|
633
|
-
NotInResult()
|
|
632
|
+
NotInResult(),
|
|
633
|
+
Reflect.metadata("design:type", Number)
|
|
634
634
|
], PageSettingsDto.prototype, "recordsPerPage", 2);
|
|
635
635
|
|
|
636
636
|
// src/bases/time-base.ts
|
|
@@ -713,7 +713,7 @@ function StringIdBase(idOptions) {
|
|
|
713
713
|
}
|
|
714
714
|
};
|
|
715
715
|
const decs = [
|
|
716
|
-
StringColumn(idOptions.length || (idOptions.uuid ?
|
|
716
|
+
StringColumn(idOptions.length || (idOptions.uuid ? void 0 : 255), {
|
|
717
717
|
required: !idOptions.uuid,
|
|
718
718
|
description: idOptions.description,
|
|
719
719
|
columnExtras: { primary: true, nullable: false }
|