@intelact/bright 0.7.4 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/lib/dtos/admin.dto.d.ts +0 -9
  2. package/lib/dtos/admin.dto.js +1 -13
  3. package/lib/dtos/admin.dto.js.map +1 -1
  4. package/lib/dtos/author.dto.d.ts +2 -2
  5. package/lib/dtos/author.dto.js +7 -7
  6. package/lib/dtos/author.dto.js.map +1 -1
  7. package/lib/dtos/boost.dto.d.ts +2 -2
  8. package/lib/dtos/boost.dto.js +8 -9
  9. package/lib/dtos/boost.dto.js.map +1 -1
  10. package/lib/dtos/brand.dto.d.ts +17 -3
  11. package/lib/dtos/brand.dto.js +54 -9
  12. package/lib/dtos/brand.dto.js.map +1 -1
  13. package/lib/dtos/browse.dto.d.ts +3 -0
  14. package/lib/dtos/browse.dto.js +10 -1
  15. package/lib/dtos/browse.dto.js.map +1 -1
  16. package/lib/dtos/bulk.dto.d.ts +3 -0
  17. package/lib/dtos/bulk.dto.js +22 -0
  18. package/lib/dtos/bulk.dto.js.map +1 -0
  19. package/lib/dtos/category.dto.d.ts +1 -4
  20. package/lib/dtos/category.dto.js +5 -13
  21. package/lib/dtos/category.dto.js.map +1 -1
  22. package/lib/dtos/feedback.dto.d.ts +2 -2
  23. package/lib/dtos/feedback.dto.js +7 -9
  24. package/lib/dtos/feedback.dto.js.map +1 -1
  25. package/lib/dtos/index.d.ts +2 -1
  26. package/lib/dtos/index.js +2 -1
  27. package/lib/dtos/index.js.map +1 -1
  28. package/lib/dtos/notification.js.map +1 -1
  29. package/lib/dtos/post.dto.d.ts +7 -10
  30. package/lib/dtos/post.dto.js +22 -30
  31. package/lib/dtos/post.dto.js.map +1 -1
  32. package/lib/dtos/promotion.dto.d.ts +4 -7
  33. package/lib/dtos/promotion.dto.js +18 -27
  34. package/lib/dtos/promotion.dto.js.map +1 -1
  35. package/lib/dtos/publisher.dto.d.ts +2 -13
  36. package/lib/dtos/publisher.dto.js +4 -38
  37. package/lib/dtos/publisher.dto.js.map +1 -1
  38. package/lib/dtos/question.dto.d.ts +4 -7
  39. package/lib/dtos/question.dto.js +22 -31
  40. package/lib/dtos/question.dto.js.map +1 -1
  41. package/lib/dtos/survey.dto.d.ts +5 -20
  42. package/lib/dtos/survey.dto.js +19 -62
  43. package/lib/dtos/survey.dto.js.map +1 -1
  44. package/lib/dtos/topic.dto.d.ts +1 -4
  45. package/lib/dtos/topic.dto.js +6 -14
  46. package/lib/dtos/topic.dto.js.map +1 -1
  47. package/lib/dtos/user.dto.d.ts +25 -0
  48. package/lib/dtos/user.dto.js +91 -0
  49. package/lib/dtos/user.dto.js.map +1 -0
  50. package/lib/models/index.d.ts +0 -1
  51. package/lib/models/index.js +0 -1
  52. package/lib/models/index.js.map +1 -1
  53. package/lib/models/user.d.ts +9 -4
  54. package/lib/models/user.js +6 -21
  55. package/lib/models/user.js.map +1 -1
  56. package/lib/tsconfig.tsbuildinfo +1 -1
  57. package/package.json +1 -1
@@ -1,14 +1,5 @@
1
1
  import { AccountStatusType } from '../enums';
2
2
  import { Role } from '../security';
3
- export declare class Admin {
4
- name: string;
5
- image: string;
6
- phone: string;
7
- email: string;
8
- roles: Role[];
9
- status: AccountStatusType;
10
- constructor(props?: Partial<Admin>);
11
- }
12
3
  export declare class AdminProfileSecurityDto {
13
4
  email: string;
14
5
  password: string;
@@ -9,22 +9,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdateAdminRolesDto = exports.UpdateAdminStatusDto = exports.AdminProfilePhoneDto = exports.AdminProfileNameDto = exports.AdminProfileSecurityDto = exports.Admin = void 0;
12
+ exports.UpdateAdminRolesDto = exports.UpdateAdminStatusDto = exports.AdminProfilePhoneDto = exports.AdminProfileNameDto = exports.AdminProfileSecurityDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const enums_1 = require("../enums");
15
15
  const security_1 = require("../security");
16
- class Admin {
17
- name;
18
- image;
19
- phone;
20
- email;
21
- roles;
22
- status;
23
- constructor(props) {
24
- Object.assign(this, props);
25
- }
26
- }
27
- exports.Admin = Admin;
28
16
  class AdminProfileSecurityDto {
29
17
  email;
30
18
  password;
@@ -1 +1 @@
1
- {"version":3,"file":"admin.dto.js","sourceRoot":"","sources":["../../src/dtos/admin.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyF;AACzF,oCAA6C;AAC7C,0CAAmC;AAEnC,MAAa,KAAK;IAIjB,IAAI,CAAS;IAKb,KAAK,CAAS;IAKd,KAAK,CAAS;IAKd,KAAK,CAAS;IAKd,KAAK,CAAS;IAKd,MAAM,CAAoB;IAE1B,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlCD,sBAkCC;AAGD,MAAa,uBAAuB;IAGnC,KAAK,CAAS;IAKd,QAAQ,CAAS;CACjB;AATD,0DASC;AANA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACI;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;yDACE;AAGlB,MAAa,mBAAmB;IAI/B,IAAI,CAAS;CACb;AALD,kDAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;iDACF;AAGd,MAAa,oBAAoB;IAIhC,KAAK,CAAS;CACd;AALD,oDAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;mDACD;AAGf,MAAa,oBAAoB;IAI7B,MAAM,CAAoB;CAC7B;AALD,oDAKC;AADG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,yBAAiB,CAAC;;oDACA;AAG9B,MAAa,mBAAmB;IAG/B,KAAK,CAAS;CACd;AAJD,kDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,eAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDAC5B"}
1
+ {"version":3,"file":"admin.dto.js","sourceRoot":"","sources":["../../src/dtos/admin.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyF;AACzF,oCAA6C;AAC7C,0CAAmC;AAEnC,MAAa,uBAAuB;IAGnC,KAAK,CAAS;IAKd,QAAQ,CAAS;CACjB;AATD,0DASC;AANA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACI;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;yDACE;AAGlB,MAAa,mBAAmB;IAI/B,IAAI,CAAS;CACb;AALD,kDAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;iDACF;AAGd,MAAa,oBAAoB;IAIhC,KAAK,CAAS;CACd;AALD,oDAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;mDACD;AAGf,MAAa,oBAAoB;IAI7B,MAAM,CAAoB;CAC7B;AALD,oDAKC;AADG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,yBAAiB,CAAC;;oDACA;AAG9B,MAAa,mBAAmB;IAG/B,KAAK,CAAS;CACd;AAJD,kDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,eAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDAC5B"}
@@ -6,9 +6,9 @@ export declare class AuthorParamsDto {
6
6
  export declare class CreateAuthorDto {
7
7
  name: string;
8
8
  }
9
- export declare class UpdateAuthorNameDto {
9
+ export declare class AuthorNameDto {
10
10
  name: string;
11
11
  }
12
- export declare class UpdateAuthorBiographyDto {
12
+ export declare class AuthorBiographyDto {
13
13
  biography: string;
14
14
  }
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdateAuthorBiographyDto = exports.UpdateAuthorNameDto = exports.CreateAuthorDto = exports.AuthorParamsDto = void 0;
12
+ exports.AuthorBiographyDto = exports.AuthorNameDto = exports.CreateAuthorDto = exports.AuthorParamsDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const enums_1 = require("../enums");
15
15
  class AuthorParamsDto {
@@ -36,22 +36,22 @@ __decorate([
36
36
  (0, class_validator_1.IsString)(),
37
37
  __metadata("design:type", String)
38
38
  ], CreateAuthorDto.prototype, "name", void 0);
39
- class UpdateAuthorNameDto {
39
+ class AuthorNameDto {
40
40
  name;
41
41
  }
42
- exports.UpdateAuthorNameDto = UpdateAuthorNameDto;
42
+ exports.AuthorNameDto = AuthorNameDto;
43
43
  __decorate([
44
44
  (0, class_validator_1.IsNotEmpty)(),
45
45
  (0, class_validator_1.IsString)(),
46
46
  __metadata("design:type", String)
47
- ], UpdateAuthorNameDto.prototype, "name", void 0);
48
- class UpdateAuthorBiographyDto {
47
+ ], AuthorNameDto.prototype, "name", void 0);
48
+ class AuthorBiographyDto {
49
49
  biography;
50
50
  }
51
- exports.UpdateAuthorBiographyDto = UpdateAuthorBiographyDto;
51
+ exports.AuthorBiographyDto = AuthorBiographyDto;
52
52
  __decorate([
53
53
  (0, class_validator_1.IsOptional)(),
54
54
  (0, class_validator_1.IsString)(),
55
55
  __metadata("design:type", String)
56
- ], UpdateAuthorBiographyDto.prototype, "biography", void 0);
56
+ ], AuthorBiographyDto.prototype, "biography", void 0);
57
57
  //# sourceMappingURL=author.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"author.dto.js","sourceRoot":"","sources":["../../src/dtos/author.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,oCAA0C;AAE1C,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,IAAI,CAAiB;CACrB;AATD,0CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,sBAAc,CAAC;;6CACF;AAGtB,MAAa,eAAe;IAI3B,IAAI,CAAS;CACb;AALD,0CAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAGd,MAAa,mBAAmB;IAG/B,IAAI,CAAS;CACb;AAJD,kDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACE;AAGd,MAAa,wBAAwB;IAIpC,SAAS,CAAS;CAClB;AALD,4DAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACO"}
1
+ {"version":3,"file":"author.dto.js","sourceRoot":"","sources":["../../src/dtos/author.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,oCAA0C;AAE1C,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,IAAI,CAAiB;CACrB;AATD,0CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,sBAAc,CAAC;;6CACF;AAGtB,MAAa,eAAe;IAI3B,IAAI,CAAS;CACb;AALD,0CAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAGd,MAAa,aAAa;IAGzB,IAAI,CAAS;CACb;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACE;AAGd,MAAa,kBAAkB;IAI9B,SAAS,CAAS;CAClB;AALD,gDAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACO"}
@@ -3,10 +3,10 @@ export declare class CreateBoostDto {
3
3
  startDate: Date;
4
4
  endDate: Date;
5
5
  }
6
- export declare class UpdateBoostTitleDto {
6
+ export declare class BoostTitleDto {
7
7
  title: string;
8
8
  }
9
- export declare class UpdateBoostPeriodDto {
9
+ export declare class BoostPeriodDto {
10
10
  startDate: Date;
11
11
  endDate: Date;
12
12
  }
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdateBoostPeriodDto = exports.UpdateBoostTitleDto = exports.CreateBoostDto = void 0;
12
+ exports.BoostPeriodDto = exports.BoostTitleDto = exports.CreateBoostDto = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
14
  const class_validator_1 = require("class-validator");
15
15
  class CreateBoostDto {
@@ -35,31 +35,30 @@ __decorate([
35
35
  (0, class_validator_1.IsDate)(),
36
36
  __metadata("design:type", Date)
37
37
  ], CreateBoostDto.prototype, "endDate", void 0);
38
- class UpdateBoostTitleDto {
38
+ class BoostTitleDto {
39
39
  title;
40
40
  }
41
- exports.UpdateBoostTitleDto = UpdateBoostTitleDto;
41
+ exports.BoostTitleDto = BoostTitleDto;
42
42
  __decorate([
43
43
  (0, class_validator_1.IsNotEmpty)(),
44
44
  (0, class_validator_1.IsString)(),
45
- (0, class_validator_1.MaxLength)(255),
46
45
  __metadata("design:type", String)
47
- ], UpdateBoostTitleDto.prototype, "title", void 0);
48
- class UpdateBoostPeriodDto {
46
+ ], BoostTitleDto.prototype, "title", void 0);
47
+ class BoostPeriodDto {
49
48
  startDate;
50
49
  endDate;
51
50
  }
52
- exports.UpdateBoostPeriodDto = UpdateBoostPeriodDto;
51
+ exports.BoostPeriodDto = BoostPeriodDto;
53
52
  __decorate([
54
53
  (0, class_validator_1.IsNotEmpty)(),
55
54
  (0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
56
55
  (0, class_validator_1.IsDate)(),
57
56
  __metadata("design:type", Date)
58
- ], UpdateBoostPeriodDto.prototype, "startDate", void 0);
57
+ ], BoostPeriodDto.prototype, "startDate", void 0);
59
58
  __decorate([
60
59
  (0, class_validator_1.IsNotEmpty)(),
61
60
  (0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
62
61
  (0, class_validator_1.IsDate)(),
63
62
  __metadata("design:type", Date)
64
- ], UpdateBoostPeriodDto.prototype, "endDate", void 0);
63
+ ], BoostPeriodDto.prototype, "endDate", void 0);
65
64
  //# sourceMappingURL=boost.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"boost.dto.js","sourceRoot":"","sources":["../../src/dtos/boost.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA0E;AAE1E,MAAa,cAAc;IAI1B,KAAK,CAAS;IAKd,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAfD,wCAeC;AAXA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;iDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACA,IAAI;+CAAC;AAGf,MAAa,mBAAmB;IAI/B,KAAK,CAAS;CACd;AALD,kDAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;kDACD;AAGf,MAAa,oBAAoB;IAIhC,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAVD,oDAUC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;uDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACA,IAAI;qDAAC"}
1
+ {"version":3,"file":"boost.dto.js","sourceRoot":"","sources":["../../src/dtos/boost.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA+D;AAE/D,MAAa,cAAc;IAI1B,KAAK,CAAS;IAKd,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAfD,wCAeC;AAXA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;iDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACA,IAAI;+CAAC;AAGf,MAAa,aAAa;IAGzB,KAAK,CAAS;CACd;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACG;AAGf,MAAa,cAAc;IAK1B,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAXD,wCAWC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;iDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACA,IAAI;+CAAC"}
@@ -1,5 +1,19 @@
1
- import { Permission } from '../security';
2
- export declare class InviteBrandUserDto {
1
+ export declare class BrandNameDto {
2
+ name: string;
3
+ }
4
+ export declare class BrandSloganDto {
5
+ slogan: string;
6
+ }
7
+ export declare class BrandUrlDto {
8
+ url: string;
9
+ }
10
+ export declare class BrandEmailDto {
3
11
  email: string;
4
- permissions: Permission[];
12
+ }
13
+ export declare class BrandDescriptionDto {
14
+ description: string;
15
+ }
16
+ export declare class BrandSettingDto {
17
+ name: string;
18
+ value: any;
5
19
  }
@@ -9,21 +9,66 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.InviteBrandUserDto = void 0;
12
+ exports.BrandSettingDto = exports.BrandDescriptionDto = exports.BrandEmailDto = exports.BrandUrlDto = exports.BrandSloganDto = exports.BrandNameDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class InviteBrandUserDto {
14
+ class BrandNameDto {
15
+ name;
16
+ }
17
+ exports.BrandNameDto = BrandNameDto;
18
+ __decorate([
19
+ (0, class_validator_1.IsOptional)(),
20
+ (0, class_validator_1.IsString)(),
21
+ __metadata("design:type", String)
22
+ ], BrandNameDto.prototype, "name", void 0);
23
+ class BrandSloganDto {
24
+ slogan;
25
+ }
26
+ exports.BrandSloganDto = BrandSloganDto;
27
+ __decorate([
28
+ (0, class_validator_1.IsOptional)(),
29
+ (0, class_validator_1.IsString)(),
30
+ __metadata("design:type", String)
31
+ ], BrandSloganDto.prototype, "slogan", void 0);
32
+ class BrandUrlDto {
33
+ url;
34
+ }
35
+ exports.BrandUrlDto = BrandUrlDto;
36
+ __decorate([
37
+ (0, class_validator_1.IsOptional)(),
38
+ (0, class_validator_1.IsString)(),
39
+ __metadata("design:type", String)
40
+ ], BrandUrlDto.prototype, "url", void 0);
41
+ class BrandEmailDto {
15
42
  email;
16
- permissions;
17
43
  }
18
- exports.InviteBrandUserDto = InviteBrandUserDto;
44
+ exports.BrandEmailDto = BrandEmailDto;
45
+ __decorate([
46
+ (0, class_validator_1.IsOptional)(),
47
+ (0, class_validator_1.IsString)(),
48
+ __metadata("design:type", String)
49
+ ], BrandEmailDto.prototype, "email", void 0);
50
+ class BrandDescriptionDto {
51
+ description;
52
+ }
53
+ exports.BrandDescriptionDto = BrandDescriptionDto;
54
+ __decorate([
55
+ (0, class_validator_1.IsOptional)(),
56
+ (0, class_validator_1.IsString)(),
57
+ __metadata("design:type", String)
58
+ ], BrandDescriptionDto.prototype, "description", void 0);
59
+ class BrandSettingDto {
60
+ name;
61
+ value;
62
+ }
63
+ exports.BrandSettingDto = BrandSettingDto;
19
64
  __decorate([
20
65
  (0, class_validator_1.IsNotEmpty)(),
21
- (0, class_validator_1.IsEmail)(),
66
+ (0, class_validator_1.IsString)(),
22
67
  __metadata("design:type", String)
23
- ], InviteBrandUserDto.prototype, "email", void 0);
68
+ ], BrandSettingDto.prototype, "name", void 0);
24
69
  __decorate([
25
70
  (0, class_validator_1.IsNotEmpty)(),
26
- (0, class_validator_1.IsEnum)({ each: true }),
27
- __metadata("design:type", Array)
28
- ], InviteBrandUserDto.prototype, "permissions", void 0);
71
+ (0, class_validator_1.IsString)(),
72
+ __metadata("design:type", Object)
73
+ ], BrandSettingDto.prototype, "value", void 0);
29
74
  //# sourceMappingURL=brand.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"brand.dto.js","sourceRoot":"","sources":["../../src/dtos/brand.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAI9D,MAAa,kBAAkB;IAI3B,KAAK,CAAS;IAId,WAAW,CAAe;CAC7B;AATD,gDASC;AALG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;iDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACG"}
1
+ {"version":3,"file":"brand.dto.js","sourceRoot":"","sources":["../../src/dtos/brand.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,YAAY;IAGxB,IAAI,CAAS;CACb;AAJD,oCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACE;AAGd,MAAa,cAAc;IAG1B,MAAM,CAAS;CACf;AAJD,wCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACI;AAGhB,MAAa,WAAW;IAGvB,GAAG,CAAS;CACZ;AAJD,kCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wCACC;AAGb,MAAa,aAAa;IAGzB,KAAK,CAAS;CACd;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACG;AAGf,MAAa,mBAAmB;IAG/B,WAAW,CAAS;CACpB;AAJD,kDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACS;AAGrB,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,KAAK,CAAM;CACX;AATD,0CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACA"}
@@ -6,3 +6,6 @@ export declare class BrowseParamsDto {
6
6
  types: PostType[];
7
7
  sort: SortType;
8
8
  }
9
+ export declare class BrowseBookmarksDto {
10
+ types: PostType[];
11
+ }
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.BrowseParamsDto = void 0;
12
+ exports.BrowseBookmarksDto = exports.BrowseParamsDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const enums_1 = require("../enums");
15
15
  class BrowseParamsDto {
@@ -45,4 +45,13 @@ __decorate([
45
45
  (0, class_validator_1.IsEnum)(enums_1.SortType),
46
46
  __metadata("design:type", String)
47
47
  ], BrowseParamsDto.prototype, "sort", void 0);
48
+ class BrowseBookmarksDto {
49
+ types;
50
+ }
51
+ exports.BrowseBookmarksDto = BrowseBookmarksDto;
52
+ __decorate([
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_validator_1.IsEnum)(enums_1.PostType, { each: true }),
55
+ __metadata("design:type", Array)
56
+ ], BrowseBookmarksDto.prototype, "types", void 0);
48
57
  //# sourceMappingURL=browse.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"browse.dto.js","sourceRoot":"","sources":["../../src/dtos/browse.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AACxE,oCAA8C;AAE9C,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,MAAM,CAAW;IAIjB,OAAO,CAAW;IAIlB,KAAK,CAAa;IAIlB,IAAI,CAAW;CACf;AArBD,0CAqBC;AAjBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACO;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;gDACQ;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;8CACC;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;6CACF"}
1
+ {"version":3,"file":"browse.dto.js","sourceRoot":"","sources":["../../src/dtos/browse.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AACxE,oCAA8C;AAE9C,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,MAAM,CAAW;IAIjB,OAAO,CAAW;IAIlB,KAAK,CAAa;IAIlB,IAAI,CAAW;CACf;AArBD,0CAqBC;AAjBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACO;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;gDACQ;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;8CACC;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;6CACF;AAGhB,MAAa,kBAAkB;IAI9B,KAAK,CAAa;CAClB;AALD,gDAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACf"}
@@ -0,0 +1,3 @@
1
+ export declare class SortDto {
2
+ ids: number[];
3
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.SortDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class SortDto {
15
+ ids;
16
+ }
17
+ exports.SortDto = SortDto;
18
+ __decorate([
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", Array)
21
+ ], SortDto.prototype, "ids", void 0);
22
+ //# sourceMappingURL=bulk.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk.dto.js","sourceRoot":"","sources":["../../src/dtos/bulk.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAE7C,MAAa,OAAO;IAGnB,GAAG,CAAW;CACd;AAJD,0BAIC;AADA;IADC,IAAA,4BAAU,GAAE;;oCACC"}
@@ -1,7 +1,4 @@
1
- export declare class SubmitCategoryDto {
1
+ export declare class CategoryDto {
2
2
  title: string;
3
3
  description: string;
4
4
  }
5
- export declare class SortCategoriesDto {
6
- ids: number[];
7
- }
@@ -9,29 +9,21 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SortCategoriesDto = exports.SubmitCategoryDto = void 0;
12
+ exports.CategoryDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class SubmitCategoryDto {
14
+ class CategoryDto {
15
15
  title;
16
16
  description;
17
17
  }
18
- exports.SubmitCategoryDto = SubmitCategoryDto;
18
+ exports.CategoryDto = CategoryDto;
19
19
  __decorate([
20
20
  (0, class_validator_1.IsNotEmpty)(),
21
21
  (0, class_validator_1.IsString)(),
22
22
  __metadata("design:type", String)
23
- ], SubmitCategoryDto.prototype, "title", void 0);
23
+ ], CategoryDto.prototype, "title", void 0);
24
24
  __decorate([
25
25
  (0, class_validator_1.IsOptional)(),
26
26
  (0, class_validator_1.IsString)(),
27
27
  __metadata("design:type", String)
28
- ], SubmitCategoryDto.prototype, "description", void 0);
29
- class SortCategoriesDto {
30
- ids;
31
- }
32
- exports.SortCategoriesDto = SortCategoriesDto;
33
- __decorate([
34
- (0, class_validator_1.IsNotEmpty)(),
35
- __metadata("design:type", Array)
36
- ], SortCategoriesDto.prototype, "ids", void 0);
28
+ ], CategoryDto.prototype, "description", void 0);
37
29
  //# sourceMappingURL=category.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"category.dto.js","sourceRoot":"","sources":["../../src/dtos/category.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,iBAAiB;IAI7B,KAAK,CAAS;IAId,WAAW,CAAS;CACpB;AATD,8CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACS;AAGrB,MAAa,iBAAiB;IAE7B,GAAG,CAAW;CACd;AAHD,8CAGC;AADA;IADC,IAAA,4BAAU,GAAE;;8CACC"}
1
+ {"version":3,"file":"category.dto.js","sourceRoot":"","sources":["../../src/dtos/category.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,WAAW;IAIvB,KAAK,CAAS;IAId,WAAW,CAAS;CACpB;AATD,kCASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACS"}
@@ -3,9 +3,9 @@ export declare class CreateFeedbackDto {
3
3
  name: string;
4
4
  postType: PostType;
5
5
  }
6
- export declare class UpdateFeedbackNameDto {
6
+ export declare class FeedbackNameDto {
7
7
  name: string;
8
8
  }
9
- export declare class UpdateFeedbackDescriptionDto {
9
+ export declare class FeedbackDescriptionDto {
10
10
  description: string;
11
11
  }
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdateFeedbackDescriptionDto = exports.UpdateFeedbackNameDto = exports.CreateFeedbackDto = void 0;
12
+ exports.FeedbackDescriptionDto = exports.FeedbackNameDto = exports.CreateFeedbackDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const enums_1 = require("../enums");
15
15
  class CreateFeedbackDto {
@@ -20,7 +20,6 @@ exports.CreateFeedbackDto = CreateFeedbackDto;
20
20
  __decorate([
21
21
  (0, class_validator_1.IsNotEmpty)(),
22
22
  (0, class_validator_1.IsString)(),
23
- (0, class_validator_1.MaxLength)(255),
24
23
  __metadata("design:type", String)
25
24
  ], CreateFeedbackDto.prototype, "name", void 0);
26
25
  __decorate([
@@ -29,23 +28,22 @@ __decorate([
29
28
  (0, class_validator_1.IsEnum)(enums_1.PostType),
30
29
  __metadata("design:type", String)
31
30
  ], CreateFeedbackDto.prototype, "postType", void 0);
32
- class UpdateFeedbackNameDto {
31
+ class FeedbackNameDto {
33
32
  name;
34
33
  }
35
- exports.UpdateFeedbackNameDto = UpdateFeedbackNameDto;
34
+ exports.FeedbackNameDto = FeedbackNameDto;
36
35
  __decorate([
37
36
  (0, class_validator_1.IsOptional)(),
38
37
  (0, class_validator_1.IsString)(),
39
- (0, class_validator_1.MaxLength)(255),
40
38
  __metadata("design:type", String)
41
- ], UpdateFeedbackNameDto.prototype, "name", void 0);
42
- class UpdateFeedbackDescriptionDto {
39
+ ], FeedbackNameDto.prototype, "name", void 0);
40
+ class FeedbackDescriptionDto {
43
41
  description;
44
42
  }
45
- exports.UpdateFeedbackDescriptionDto = UpdateFeedbackDescriptionDto;
43
+ exports.FeedbackDescriptionDto = FeedbackDescriptionDto;
46
44
  __decorate([
47
45
  (0, class_validator_1.IsOptional)(),
48
46
  (0, class_validator_1.IsString)(),
49
47
  __metadata("design:type", String)
50
- ], UpdateFeedbackDescriptionDto.prototype, "description", void 0);
48
+ ], FeedbackDescriptionDto.prototype, "description", void 0);
51
49
  //# sourceMappingURL=feedback.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"feedback.dto.js","sourceRoot":"","sources":["../../src/dtos/feedback.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsF;AACtF,oCAAoC;AAEpC,MAAa,iBAAiB;IAK7B,IAAI,CAAS;IAKb,QAAQ,CAAW;CACnB;AAXD,8CAWC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;+CACF;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;IAChB,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;mDACE;AAGpB,MAAa,qBAAqB;IAKjC,IAAI,CAAS;CACb;AAND,sDAMC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;mDACF;AAGd,MAAa,4BAA4B;IAGxC,WAAW,CAAS;CACpB;AAJD,oEAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iEACS"}
1
+ {"version":3,"file":"feedback.dto.js","sourceRoot":"","sources":["../../src/dtos/feedback.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,oCAAoC;AAEpC,MAAa,iBAAiB;IAI7B,IAAI,CAAS;IAKb,QAAQ,CAAW;CACnB;AAVD,8CAUC;AANA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACE;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;IAChB,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;mDACE;AAGpB,MAAa,eAAe;IAI3B,IAAI,CAAS;CACb;AALD,0CAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAGd,MAAa,sBAAsB;IAGlC,WAAW,CAAS;CACpB;AAJD,wDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACS"}
@@ -1,10 +1,10 @@
1
- export * from './admin.dto';
2
1
  export * from './asset.dto';
3
2
  export * from './auth.dto';
4
3
  export * from './author.dto';
5
4
  export * from './boost.dto';
6
5
  export * from './brand.dto';
7
6
  export * from './browse.dto';
7
+ export * from './bulk.dto';
8
8
  export * from './category.dto';
9
9
  export * from './contact.dto';
10
10
  export * from './feedback.dto';
@@ -15,3 +15,4 @@ export * from './publisher.dto';
15
15
  export * from './question.dto';
16
16
  export * from './survey.dto';
17
17
  export * from './topic.dto';
18
+ export * from './user.dto';
package/lib/dtos/index.js CHANGED
@@ -14,13 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./admin.dto"), exports);
18
17
  __exportStar(require("./asset.dto"), exports);
19
18
  __exportStar(require("./auth.dto"), exports);
20
19
  __exportStar(require("./author.dto"), exports);
21
20
  __exportStar(require("./boost.dto"), exports);
22
21
  __exportStar(require("./brand.dto"), exports);
23
22
  __exportStar(require("./browse.dto"), exports);
23
+ __exportStar(require("./bulk.dto"), exports);
24
24
  __exportStar(require("./category.dto"), exports);
25
25
  __exportStar(require("./contact.dto"), exports);
26
26
  __exportStar(require("./feedback.dto"), exports);
@@ -31,4 +31,5 @@ __exportStar(require("./publisher.dto"), exports);
31
31
  __exportStar(require("./question.dto"), exports);
32
32
  __exportStar(require("./survey.dto"), exports);
33
33
  __exportStar(require("./topic.dto"), exports);
34
+ __exportStar(require("./user.dto"), exports);
34
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,6CAA2B;AAC3B,+CAA6B;AAC7B,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAA+B;AAC/B,gDAA8B;AAC9B,iDAA+B;AAC/B,iDAA+B;AAC/B,6CAA2B;AAC3B,kDAAgC;AAChC,kDAAgC;AAChC,iDAA+B;AAC/B,+CAA6B;AAC7B,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2B;AAC3B,+CAA6B;AAC7B,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,6CAA2B;AAC3B,iDAA+B;AAC/B,gDAA8B;AAC9B,iDAA+B;AAC/B,iDAA+B;AAC/B,6CAA2B;AAC3B,kDAAgC;AAChC,kDAAgC;AAChC,iDAA+B;AAC/B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B"}
@@ -1 +1 @@
1
- {"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/dtos/notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,oBAAoB;IAGhC,KAAK,CAAQ;IAIb,UAAU,CAAQ;CAClB;AARD,oDAQC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO"}
1
+ {"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/dtos/notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,oBAAoB;IAIhC,KAAK,CAAQ;IAIb,UAAU,CAAQ;CAClB;AATD,oDASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO"}
@@ -12,27 +12,24 @@ export declare class CreatePostDto {
12
12
  title: string;
13
13
  type: PostType;
14
14
  }
15
- export declare class UpdatePostTitleDto {
15
+ export declare class PostTitleDto {
16
16
  title: string;
17
17
  }
18
- export declare class UpdatePostAuthorDto {
18
+ export declare class PostAuthorDto {
19
19
  author: number;
20
20
  }
21
- export declare class UpdatePostDescriptionDto {
21
+ export declare class PostDescriptionDto {
22
22
  description: string;
23
23
  }
24
- export declare class UpdatePostWeightDto {
24
+ export declare class PostWeightDto {
25
25
  weight: number;
26
26
  }
27
- export declare class UpdatePostTopicDto {
27
+ export declare class PostTopicDto {
28
28
  topics: number[];
29
29
  }
30
- export declare class UpdatePostContentDto {
30
+ export declare class PostContentDto {
31
31
  content: string;
32
32
  }
33
- export declare class UpdatePostInfoDto {
33
+ export declare class PostInfoDto {
34
34
  info: Partial<IPostAdditionals>;
35
35
  }
36
- export declare class SortPostGalleryDto {
37
- ids: number[];
38
- }