tychat-contracts 1.6.11 → 1.6.12
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-layout.dto.d.ts","sourceRoot":"","sources":["../../src/panel-rbac/dashboard-layout.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dashboard-layout.dto.d.ts","sourceRoot":"","sources":["../../src/panel-rbac/dashboard-layout.dto.ts"],"names":[],"mappings":"AAgBA,oEAAoE;AACpE,eAAO,MAAM,qBAAqB,4EASxB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,0BAA0B,i4BAoC7B,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjF,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,IAAI,sBAAsB,CAE/E;AAED,qBAAa,kBAAkB;IAG7B,EAAE,EAAE,MAAM,CAAC;IAKX,UAAU,EAAE,sBAAsB,CAAC;IAKnC,SAAS,EAAE,kBAAkB,CAAC;IAE9B,0CAA0C;IAK1C,CAAC,EAAE,MAAM,CAAC;IAEV,iCAAiC;IAKjC,CAAC,EAAE,MAAM,CAAC;IAEV,2CAA2C;IAI3C,KAAK,EAAE,MAAM,CAAC;IAMd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,kBAAkB;IAK7B,OAAO,EAAE,MAAM,CAAC;IAOhB,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B"}
|
|
@@ -123,7 +123,7 @@ __decorate([
|
|
|
123
123
|
(0, swagger_1.ApiPropertyOptional)({ description: 'Título opcional no painel' }),
|
|
124
124
|
(0, class_validator_1.IsOptional)(),
|
|
125
125
|
(0, class_validator_1.IsString)(),
|
|
126
|
-
(0, class_validator_1.
|
|
126
|
+
(0, class_validator_1.MaxLength)(120),
|
|
127
127
|
__metadata("design:type", String)
|
|
128
128
|
], DashboardWidgetDto.prototype, "title", void 0);
|
|
129
129
|
class DashboardLayoutDto {
|
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
IsString,
|
|
10
10
|
IsUUID,
|
|
11
11
|
Max,
|
|
12
|
+
MaxLength,
|
|
12
13
|
Min,
|
|
13
14
|
ValidateNested,
|
|
14
15
|
} from 'class-validator';
|
|
@@ -113,7 +114,7 @@ export class DashboardWidgetDto {
|
|
|
113
114
|
@ApiPropertyOptional({ description: 'Título opcional no painel' })
|
|
114
115
|
@IsOptional()
|
|
115
116
|
@IsString()
|
|
116
|
-
@
|
|
117
|
+
@MaxLength(120)
|
|
117
118
|
title?: string;
|
|
118
119
|
}
|
|
119
120
|
|