@solidxai/core 0.1.5-beta.0 → 0.1.5-beta.1

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.
Files changed (54) hide show
  1. package/dist/controllers/view-metadata.controller.d.ts +1 -0
  2. package/dist/controllers/view-metadata.controller.d.ts.map +1 -1
  3. package/dist/dtos/create-saved-filters.dto.d.ts +1 -0
  4. package/dist/dtos/create-saved-filters.dto.d.ts.map +1 -1
  5. package/dist/dtos/create-saved-filters.dto.js +8 -1
  6. package/dist/dtos/create-saved-filters.dto.js.map +1 -1
  7. package/dist/dtos/update-saved-filters.dto.d.ts +1 -0
  8. package/dist/dtos/update-saved-filters.dto.d.ts.map +1 -1
  9. package/dist/dtos/update-saved-filters.dto.js +10 -1
  10. package/dist/dtos/update-saved-filters.dto.js.map +1 -1
  11. package/dist/entities/chatter-message-details.entity.d.ts.map +1 -1
  12. package/dist/entities/chatter-message-details.entity.js +1 -0
  13. package/dist/entities/chatter-message-details.entity.js.map +1 -1
  14. package/dist/entities/chatter-message.entity.d.ts.map +1 -1
  15. package/dist/entities/chatter-message.entity.js +1 -0
  16. package/dist/entities/chatter-message.entity.js.map +1 -1
  17. package/dist/entities/common.entity.js +4 -4
  18. package/dist/entities/common.entity.js.map +1 -1
  19. package/dist/entities/legacy-common.entity.js +4 -4
  20. package/dist/entities/legacy-common.entity.js.map +1 -1
  21. package/dist/entities/saved-filters.entity.d.ts +1 -0
  22. package/dist/entities/saved-filters.entity.d.ts.map +1 -1
  23. package/dist/entities/saved-filters.entity.js +6 -1
  24. package/dist/entities/saved-filters.entity.js.map +1 -1
  25. package/dist/entities/user.entity.js.map +1 -1
  26. package/dist/seeders/module-metadata-seeder.service.js +1 -1
  27. package/dist/seeders/module-metadata-seeder.service.js.map +1 -1
  28. package/dist/seeders/seed-data/solid-core-metadata.json +11 -0
  29. package/dist/services/authentication.service.d.ts.map +1 -1
  30. package/dist/services/authentication.service.js +3 -1
  31. package/dist/services/authentication.service.js.map +1 -1
  32. package/dist/services/view-metadata.service.d.ts +1 -0
  33. package/dist/services/view-metadata.service.d.ts.map +1 -1
  34. package/dist/services/view-metadata.service.js +25 -1
  35. package/dist/services/view-metadata.service.js.map +1 -1
  36. package/dist/transformers/typeorm/local-date-time-transformer.d.ts +4 -3
  37. package/dist/transformers/typeorm/local-date-time-transformer.d.ts.map +1 -1
  38. package/dist/transformers/typeorm/local-date-time-transformer.js +20 -2
  39. package/dist/transformers/typeorm/local-date-time-transformer.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/dtos/create-saved-filters.dto.ts +7 -0
  42. package/src/dtos/update-saved-filters.dto.ts +5 -1
  43. package/src/entities/chatter-message-details.entity.ts +1 -0
  44. package/src/entities/chatter-message.entity.ts +1 -0
  45. package/src/entities/common.entity.ts +5 -5
  46. package/src/entities/legacy-common.entity.ts +5 -5
  47. package/src/entities/saved-filters.entity.ts +3 -0
  48. package/src/entities/user.entity.ts +1 -1
  49. package/src/seeders/module-metadata-seeder.service.ts +1 -1
  50. package/src/seeders/seed-data/solid-core-metadata.json +18 -7
  51. package/src/services/authentication.service.ts +6 -4
  52. package/src/services/view-metadata.service.ts +29 -1
  53. package/src/transformers/typeorm/local-date-time-transformer.ts +21 -3
  54. package/src/workflow.readme.md +0 -25
@@ -39,6 +39,7 @@ export declare class ViewMetadataController {
39
39
  };
40
40
  solidFormViewWorkflowData: any[];
41
41
  applicableLocales: any;
42
+ viewModes: any[];
42
43
  }>;
43
44
  }
44
45
  //# sourceMappingURL=view-metadata.controller.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-metadata.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/view-metadata.controller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,O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,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAE3E,qBAEa,sBAAsB;IACrB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,mBAAmB;IAKzD,MAAM,CAAS,SAAS,EAAE,qBAAqB,EAAmB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAkC,mBAAmB,EAAE,sBAAsB;IAOhL,UAAU,CAAS,UAAU,EAAE,qBAAqB,EAAE,EAAmB,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,EAAO,EAAkC,mBAAmB,EAAE,sBAAsB;IAQ9L,MAAM,CAAc,EAAE,EAAE,MAAM,EAAU,SAAS,EAAE,qBAAqB,EAAmB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAkC,mBAAmB,EAAE,sBAAsB;IAgBnM,QAAQ,CAAU,KAAK,EAAE,GAAG,EAAkC,mBAAmB,EAAE,sBAAsB;;;;;;;;;;;;;;;;;;;;IAMzG,OAAO,CAAc,EAAE,EAAE,MAAM,EAAW,KAAK,EAAE,GAAG,EAAkC,mBAAmB,EAAE,sBAAsB;IAKjI,UAAU,CAAS,GAAG,EAAE,MAAM,EAAE,EAAkC,mBAAmB,EAAE,sBAAsB;IAM7G,MAAM,CAAc,EAAE,EAAE,MAAM,EAAkC,mBAAmB,EAAE,sBAAsB;IAMjH,SAAS,CAAU,KAAK,EAAE,GAAG,EAAgB,UAAU,EAAE,cAAc;;;;;;;;;CAIxE"}
@@ -9,5 +9,6 @@ export declare class CreateSavedFiltersDto {
9
9
  viewId: number;
10
10
  viewUserKey: string;
11
11
  description: string;
12
+ isSeeded: boolean;
12
13
  }
13
14
  //# sourceMappingURL=create-saved-filters.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-saved-filters.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-saved-filters.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,qBAAqB;IAI9B,eAAe,EAAE,GAAG,CAAC;IAKrB,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,EAAE,OAAO,CAAS;IAK3B,MAAM,EAAE,MAAM,CAAC;IAKf,WAAW,EAAE,MAAM,CAAC;IAKpB,OAAO,EAAE,MAAM,CAAC;IAKhB,YAAY,EAAE,MAAM,CAAC;IAKrB,MAAM,EAAE,MAAM,CAAC;IAKf,WAAW,EAAE,MAAM,CAAC;IAKpB,WAAW,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"create-saved-filters.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-saved-filters.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,qBAAqB;IAI9B,eAAe,EAAE,GAAG,CAAC;IAKrB,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,EAAE,OAAO,CAAS;IAK3B,MAAM,EAAE,MAAM,CAAC;IAKf,WAAW,EAAE,MAAM,CAAC;IAKpB,OAAO,EAAE,MAAM,CAAC;IAKhB,YAAY,EAAE,MAAM,CAAC;IAKrB,MAAM,EAAE,MAAM,CAAC;IAKf,WAAW,EAAE,MAAM,CAAC;IAKpB,WAAW,EAAE,MAAM,CAAC;IAKpB,QAAQ,EAAE,OAAO,CAAS;CAG7B"}
@@ -17,9 +17,10 @@ const class_validator_2 = require("class-validator");
17
17
  class CreateSavedFiltersDto {
18
18
  constructor() {
19
19
  this.isPrivate = false;
20
+ this.isSeeded = false;
20
21
  }
21
22
  static _OPENAPI_METADATA_FACTORY() {
22
- return { filterQueryJson: { required: true, type: () => Object }, name: { required: true, type: () => String }, isPrivate: { required: true, type: () => Boolean, default: false }, userId: { required: true, type: () => Number }, userUserKey: { required: true, type: () => String }, modelId: { required: true, type: () => Number }, modelUserKey: { required: true, type: () => String }, viewId: { required: true, type: () => Number }, viewUserKey: { required: true, type: () => String }, description: { required: true, type: () => String } };
23
+ return { filterQueryJson: { required: true, type: () => Object }, name: { required: true, type: () => String }, isPrivate: { required: true, type: () => Boolean, default: false }, userId: { required: true, type: () => Number }, userUserKey: { required: true, type: () => String }, modelId: { required: true, type: () => Number }, modelUserKey: { required: true, type: () => String }, viewId: { required: true, type: () => Number }, viewUserKey: { required: true, type: () => String }, description: { required: true, type: () => String }, isSeeded: { required: true, type: () => Boolean, default: false } };
23
24
  }
24
25
  }
25
26
  exports.CreateSavedFiltersDto = CreateSavedFiltersDto;
@@ -83,4 +84,10 @@ __decorate([
83
84
  (0, swagger_1.ApiProperty)({ description: "A brief description providing additional context about the saved filter’s purpose or usage within the view." }),
84
85
  __metadata("design:type", String)
85
86
  ], CreateSavedFiltersDto.prototype, "description", void 0);
87
+ __decorate([
88
+ (0, class_validator_2.IsOptional)(),
89
+ (0, class_validator_2.IsBoolean)(),
90
+ (0, swagger_1.ApiProperty)(),
91
+ __metadata("design:type", Boolean)
92
+ ], CreateSavedFiltersDto.prototype, "isSeeded", void 0);
86
93
  //# sourceMappingURL=create-saved-filters.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-saved-filters.dto.js","sourceRoot":"","sources":["../../src/dtos/create-saved-filters.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAC3C,qDAAmF;AAEnF,MAAa,qBAAqB;IAAlC;QAcI,cAAS,GAAY,KAAK,CAAC;KAoC9B;;mLApCwB,KAAK;;CAoC7B;AAlDD,sDAkDC;AA9CG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;;8DACO;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;mDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;wDACa;AAK3B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;qDAC3C;AAKf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;0DACtC;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;sDAC3D;AAKhB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;2DACtD;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;qDAC3D;AAKf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;0DACtD;AAKpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,6GAA6G,EAAE,CAAC;;0DACxH","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsOptional, IsNotEmpty, IsBoolean, IsInt, IsJSON } from 'class-validator';\n\nexport class CreateSavedFiltersDto {\n @IsOptional()\n @IsJSON()\n @ApiProperty()\n filterQueryJson: any;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isPrivate: boolean = false;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the user id field\" })\n userId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the user id field\" })\n userUserKey: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelUserKey: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewUserKey: string;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"A brief description providing additional context about the saved filter’s purpose or usage within the view.\" })\n description: string;\n}\n"]}
1
+ {"version":3,"file":"create-saved-filters.dto.js","sourceRoot":"","sources":["../../src/dtos/create-saved-filters.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAC3C,qDAAmF;AAEnF,MAAa,qBAAqB;IAAlC;QAcI,cAAS,GAAY,KAAK,CAAC;QAwC3B,aAAQ,GAAY,KAAK,CAAC;KAG7B;;mLA3CwB,KAAK,oaAwCN,KAAK;;CAG5B;AAzDD,sDAyDC;AArDG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;;8DACO;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;mDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;wDACa;AAK3B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;qDAC3C;AAKf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;0DACtC;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;sDAC3D;AAKhB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;2DACtD;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;qDAC3D;AAKf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;0DACtD;AAKpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,6GAA6G,EAAE,CAAC;;0DACxH;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;uDACY","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsOptional, IsNotEmpty, IsBoolean, IsInt, IsJSON } from 'class-validator';\n\nexport class CreateSavedFiltersDto {\n @IsOptional()\n @IsJSON()\n @ApiProperty()\n filterQueryJson: any;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isPrivate: boolean = false;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the user id field\" })\n userId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the user id field\" })\n userUserKey: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelUserKey: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewUserKey: string;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"A brief description providing additional context about the saved filter’s purpose or usage within the view.\" })\n description: string;\n\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isSeeded: boolean = false;\n\n\n}\n"]}
@@ -10,5 +10,6 @@ export declare class UpdateSavedFiltersDto {
10
10
  viewId: number;
11
11
  viewUserKey: string;
12
12
  description: string;
13
+ isSeeded: boolean;
13
14
  }
14
15
  //# sourceMappingURL=update-saved-filters.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-saved-filters.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-saved-filters.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAG9B,EAAE,EAAE,MAAM,CAAC;IAIX,eAAe,EAAE,GAAG,CAAC;IAKrB,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,OAAO,CAAC;IAInB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,OAAO,EAAE,MAAM,CAAC;IAIhB,YAAY,EAAE,MAAM,CAAC;IAIrB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,WAAW,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"update-saved-filters.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-saved-filters.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAG9B,EAAE,EAAE,MAAM,CAAC;IAIX,eAAe,EAAE,GAAG,CAAC;IAKrB,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,OAAO,CAAC;IAInB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,OAAO,EAAE,MAAM,CAAC;IAIhB,YAAY,EAAE,MAAM,CAAC;IAIrB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,WAAW,EAAE,MAAM,CAAC;IAIpB,QAAQ,EAAE,OAAO,CAAS;CAC7B"}
@@ -14,8 +14,11 @@ const openapi = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const swagger_1 = require("@nestjs/swagger");
16
16
  class UpdateSavedFiltersDto {
17
+ constructor() {
18
+ this.isSeeded = false;
19
+ }
17
20
  static _OPENAPI_METADATA_FACTORY() {
18
- return { id: { required: true, type: () => Number }, filterQueryJson: { required: true, type: () => Object }, name: { required: true, type: () => String }, isPrivate: { required: true, type: () => Boolean }, userId: { required: true, type: () => Number }, userUserKey: { required: true, type: () => String }, modelId: { required: true, type: () => Number }, modelUserKey: { required: true, type: () => String }, viewId: { required: true, type: () => Number }, viewUserKey: { required: true, type: () => String }, description: { required: true, type: () => String } };
21
+ return { id: { required: true, type: () => Number }, filterQueryJson: { required: true, type: () => Object }, name: { required: true, type: () => String }, isPrivate: { required: true, type: () => Boolean }, userId: { required: true, type: () => Number }, userUserKey: { required: true, type: () => String }, modelId: { required: true, type: () => Number }, modelUserKey: { required: true, type: () => String }, viewId: { required: true, type: () => Number }, viewUserKey: { required: true, type: () => String }, description: { required: true, type: () => String }, isSeeded: { required: true, type: () => Boolean, default: false } };
19
22
  }
20
23
  }
21
24
  exports.UpdateSavedFiltersDto = UpdateSavedFiltersDto;
@@ -85,4 +88,10 @@ __decorate([
85
88
  (0, swagger_1.ApiProperty)({ description: "A brief description providing additional context about the saved filter’s purpose or usage within the view." }),
86
89
  __metadata("design:type", String)
87
90
  ], UpdateSavedFiltersDto.prototype, "description", void 0);
91
+ __decorate([
92
+ (0, class_validator_1.IsOptional)(),
93
+ (0, class_validator_1.IsBoolean)(),
94
+ (0, swagger_1.ApiProperty)(),
95
+ __metadata("design:type", Boolean)
96
+ ], UpdateSavedFiltersDto.prototype, "isSeeded", void 0);
88
97
  //# sourceMappingURL=update-saved-filters.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-saved-filters.dto.js","sourceRoot":"","sources":["../../src/dtos/update-saved-filters.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA4F;AAC5F,6CAA8C;AAE9C,MAAa,qBAAqB;;;;CA6CjC;AA7CD,sDA6CC;AA1CG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iDACG;AAIX;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;;8DACO;AAKrB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;mDACD;AAIb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;wDACK;AAInB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;qDAC3C;AAIf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;0DACtC;AAIpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;sDAC3D;AAIhB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;2DACtD;AAIrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;qDAC3D;AAIf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;0DACtD;AAIpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,6GAA6G,EAAE,CAAC;;0DACxH","sourcesContent":["import { IsInt,IsOptional, IsString, IsNotEmpty, IsBoolean, IsJSON } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\n\nexport class UpdateSavedFiltersDto {\n @IsOptional()\n @IsInt()\n id: number;\n @IsOptional()\n @IsJSON()\n @ApiProperty()\n filterQueryJson: any;\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isPrivate: boolean;\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the user id field\" })\n userId: number;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the user id field\" })\n userUserKey: string;\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelId: number;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelUserKey: string;\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewId: number;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewUserKey: string;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"A brief description providing additional context about the saved filter’s purpose or usage within the view.\" })\n description: string;\n}"]}
1
+ {"version":3,"file":"update-saved-filters.dto.js","sourceRoot":"","sources":["../../src/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AA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;0DACtD;AAIpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,6GAA6G,EAAE,CAAC;;0DACxH;AAIpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;uDACY","sourcesContent":["import { IsInt, IsOptional, IsString, IsNotEmpty, IsBoolean, IsJSON } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\n\nexport class UpdateSavedFiltersDto {\n @IsOptional()\n @IsInt()\n id: number;\n @IsOptional()\n @IsJSON()\n @ApiProperty()\n filterQueryJson: any;\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isPrivate: boolean;\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the user id field\" })\n userId: number;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the user id field\" })\n userUserKey: string;\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelId: number;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelUserKey: string;\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewId: number;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewUserKey: string;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"A brief description providing additional context about the saved filter’s purpose or usage within the view.\" })\n description: string;\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isSeeded: boolean = false;\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"chatter-message-details.entity.d.ts","sourceRoot":"","sources":["../../src/entities/chatter-message-details.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAA;AACpE,qBACa,qBAAsB,SAAQ,YAAY;IAGnD,cAAc,EAAE,cAAc,CAAC;IAG/B,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,eAAe,EAAE,MAAM,CAAC;IAIxB,eAAe,EAAE,MAAM,CAAC;IAGxB,SAAS,EAAE,MAAM,CAAC;IAGlB,gBAAgB,EAAE,MAAM,CAAC;CAC5B"}
1
+ {"version":3,"file":"chatter-message-details.entity.d.ts","sourceRoot":"","sources":["../../src/entities/chatter-message-details.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAA;AACpE,qBACa,qBAAsB,SAAQ,YAAY;IAInD,cAAc,EAAE,cAAc,CAAC;IAG/B,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,eAAe,EAAE,MAAM,CAAC;IAIxB,eAAe,EAAE,MAAM,CAAC;IAGxB,SAAS,EAAE,MAAM,CAAC;IAGlB,gBAAgB,EAAE,MAAM,CAAC;CAC5B"}
@@ -21,6 +21,7 @@ let ChatterMessageDetails = class ChatterMessageDetails extends common_entity_1.
21
21
  };
22
22
  exports.ChatterMessageDetails = ChatterMessageDetails;
23
23
  __decorate([
24
+ (0, typeorm_1.Index)(),
24
25
  (0, typeorm_1.ManyToOne)(() => chatter_message_entity_1.ChatterMessage, { nullable: true }),
25
26
  (0, typeorm_1.JoinColumn)(),
26
27
  __metadata("design:type", chatter_message_entity_1.ChatterMessage)
@@ -1 +1 @@
1
- {"version":3,"file":"chatter-message-details.entity.js","sourceRoot":"","sources":["../../src/entities/chatter-message-details.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAuE;AACvE,qEAAoE;AAE7D,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,4BAAY;;;;CAuBtD,CAAA;AAvBY,sDAAqB;AAG9B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACnD,IAAA,oBAAU,GAAE;8BACG,uCAAc;6DAAC;AAG/B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACxB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACxB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACpB;AAIxB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACpB;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;wDACV;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DAChB;gCAtBhB,qBAAqB;IADjC,IAAA,gBAAM,EAAC,4BAA4B,CAAC;GACxB,qBAAqB,CAuBjC","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, JoinColumn, ManyToOne, Column, Index } from 'typeorm';\nimport { ChatterMessage } from 'src/entities/chatter-message.entity'\n@Entity(\"ss_chatter_message_details\")\nexport class ChatterMessageDetails extends CommonEntity {\n @ManyToOne(() => ChatterMessage, { nullable: true })\n @JoinColumn()\n chatterMessage: ChatterMessage;\n\n @Column({ type: \"text\", nullable: true })\n oldValue: string;\n\n @Column({ type: \"text\", nullable: true })\n newValue: string;\n\n @Column({ type: \"varchar\", nullable: true })\n oldValueDisplay: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n newValueDisplay: string;\n\n @Column({ type: \"varchar\" })\n fieldName: string;\n\n @Column({ type: \"text\", nullable: true })\n fieldDisplayName: string;\n}"]}
1
+ {"version":3,"file":"chatter-message-details.entity.js","sourceRoot":"","sources":["../../src/entities/chatter-message-details.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAuE;AACvE,qEAAoE;AAE7D,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,4BAAY;;;;CAwBtD,CAAA;AAxBY,sDAAqB;AAI9B;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACnD,IAAA,oBAAU,GAAE;8BACG,uCAAc;6DAAC;AAG/B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACxB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACxB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACpB;AAIxB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACpB;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;wDACV;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DAChB;gCAvBhB,qBAAqB;IADjC,IAAA,gBAAM,EAAC,4BAA4B,CAAC;GACxB,qBAAqB,CAwBjC","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, JoinColumn, ManyToOne, Column, Index } from 'typeorm';\nimport { ChatterMessage } from 'src/entities/chatter-message.entity'\n@Entity(\"ss_chatter_message_details\")\nexport class ChatterMessageDetails extends CommonEntity {\n @Index()\n @ManyToOne(() => ChatterMessage, { nullable: true })\n @JoinColumn()\n chatterMessage: ChatterMessage;\n\n @Column({ type: \"text\", nullable: true })\n oldValue: string;\n\n @Column({ type: \"text\", nullable: true })\n newValue: string;\n\n @Column({ type: \"varchar\", nullable: true })\n oldValueDisplay: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n newValueDisplay: string;\n\n @Column({ type: \"varchar\" })\n fieldName: string;\n\n @Column({ type: \"text\", nullable: true })\n fieldDisplayName: string;\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"chatter-message.entity.d.ts","sourceRoot":"","sources":["../../src/entities/chatter-message.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,qBACa,cAAe,SAAQ,YAAY;IAG5C,WAAW,EAAE,MAAM,CAAC;IAGpB,cAAc,EAAE,MAAM,CAAC;IAGvB,WAAW,EAAE,MAAM,CAAC;IAIpB,eAAe,EAAE,MAAM,CAAC;IAIxB,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,IAAI,CAAC;IAGX,qBAAqB,EAAE,qBAAqB,EAAE,CAAC;IAG/C,gBAAgB,EAAE,MAAM,CAAC;IAGzB,YAAY,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"chatter-message.entity.d.ts","sourceRoot":"","sources":["../../src/entities/chatter-message.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,qBAEa,cAAe,SAAQ,YAAY;IAG5C,WAAW,EAAE,MAAM,CAAC;IAGpB,cAAc,EAAE,MAAM,CAAC;IAGvB,WAAW,EAAE,MAAM,CAAC;IAIpB,eAAe,EAAE,MAAM,CAAC;IAIxB,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,IAAI,CAAC;IAGX,qBAAqB,EAAE,qBAAqB,EAAE,CAAC;IAG/C,gBAAgB,EAAE,MAAM,CAAC;IAGzB,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -63,6 +63,7 @@ __decorate([
63
63
  __metadata("design:type", String)
64
64
  ], ChatterMessage.prototype, "modelUserKey", void 0);
65
65
  exports.ChatterMessage = ChatterMessage = __decorate([
66
+ (0, typeorm_1.Index)(["coModelName", "coModelEntityId"]),
66
67
  (0, typeorm_1.Entity)("ss_chatter_message")
67
68
  ], ChatterMessage);
68
69
  //# sourceMappingURL=chatter-message.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chatter-message.entity.js","sourceRoot":"","sources":["../../src/entities/chatter-message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAkF;AAClF,+CAA+C;AAC/C,qFAAyE;AAGlE,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAY;;;;CAgC/C,CAAA;AAhCY,wCAAc;AAGvB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACR;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;sDACL;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACrB;AAIpB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;uDACJ;AAIxB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACR;AAKpB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAU,GAAE;8BACP,kBAAI;4CAAC;AAGX;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sDAAqB,EAAE,CAAC,qBAAqB,EAAE,EAAE,CAAC,qBAAqB,CAAC,cAAc,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;6DAC5E;AAG/C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDAChB;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACpB;yBA/BZ,cAAc;IAD1B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,cAAc,CAgC1B","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, Column, Index, JoinColumn, ManyToOne, OneToMany } from 'typeorm';\nimport { User } from 'src/entities/user.entity'\nimport { ChatterMessageDetails } from './chatter-message-details.entity';\n\n@Entity(\"ss_chatter_message\")\nexport class ChatterMessage extends CommonEntity {\n @Index()\n @Column({ type: \"varchar\" })\n messageType: string; // audit | custom \n\n @Column({ type: \"varchar\" })\n messageSubType: string; // audit_update | audit_insert | audit_delete | custom\n\n @Column({ type: \"text\", nullable: true })\n messageBody: string;\n\n @Index()\n @Column({ type: \"integer\" })\n coModelEntityId: number;\n\n @Index()\n @Column({ type: \"varchar\" })\n coModelName: string;\n\n @Index()\n @ManyToOne(() => User, { nullable: true })\n @JoinColumn()\n user: User;\n\n @OneToMany(() => ChatterMessageDetails, (chatterMessageDetails) => chatterMessageDetails.chatterMessage, { cascade: true })\n chatterMessageDetails: ChatterMessageDetails[];\n\n @Column({ type: \"text\", nullable: true })\n modelDisplayName: string;\n\n @Column({ type: \"text\", nullable: true })\n modelUserKey: string;\n}\n"]}
1
+ {"version":3,"file":"chatter-message.entity.js","sourceRoot":"","sources":["../../src/entities/chatter-message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAkF;AAClF,+CAA+C;AAC/C,qFAAyE;AAIlE,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAY;;;;CAgC/C,CAAA;AAhCY,wCAAc;AAGvB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACR;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;sDACL;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACrB;AAIpB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;uDACJ;AAIxB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACR;AAKpB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAU,GAAE;8BACP,kBAAI;4CAAC;AAGX;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sDAAqB,EAAE,CAAC,qBAAqB,EAAE,EAAE,CAAC,qBAAqB,CAAC,cAAc,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;6DAC5E;AAG/C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDAChB;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACpB;yBA/BZ,cAAc;IAF1B,IAAA,eAAK,EAAC,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC;IACzC,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,cAAc,CAgC1B","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, Column, Index, JoinColumn, ManyToOne, OneToMany } from 'typeorm';\nimport { User } from 'src/entities/user.entity'\nimport { ChatterMessageDetails } from './chatter-message-details.entity';\n\n@Index([\"coModelName\", \"coModelEntityId\"])\n@Entity(\"ss_chatter_message\")\nexport class ChatterMessage extends CommonEntity {\n @Index()\n @Column({ type: \"varchar\" })\n messageType: string; // audit | custom \n\n @Column({ type: \"varchar\" })\n messageSubType: string; // audit_update | audit_insert | audit_delete | custom\n\n @Column({ type: \"text\", nullable: true })\n messageBody: string;\n\n @Index()\n @Column({ type: \"integer\" })\n coModelEntityId: number;\n\n @Index()\n @Column({ type: \"varchar\" })\n coModelName: string;\n\n @Index()\n @ManyToOne(() => User, { nullable: true })\n @JoinColumn()\n user: User;\n\n @OneToMany(() => ChatterMessageDetails, (chatterMessageDetails) => chatterMessageDetails.chatterMessage, { cascade: true })\n chatterMessageDetails: ChatterMessageDetails[];\n\n @Column({ type: \"text\", nullable: true })\n modelDisplayName: string;\n\n @Column({ type: \"text\", nullable: true })\n modelUserKey: string;\n}\n"]}
@@ -26,15 +26,15 @@ __decorate([
26
26
  __metadata("design:type", Number)
27
27
  ], CommonEntity.prototype, "id", void 0);
28
28
  __decorate([
29
- (0, typeorm_1.CreateDateColumn)({ name: "created_at", transformer: local_date_time_transformer_1.LocalDateTimeTransformer }),
29
+ (0, typeorm_1.CreateDateColumn)({ name: "created_at", transformer: local_date_time_transformer_1.UtcDateTimeTransformer }),
30
30
  __metadata("design:type", Date)
31
31
  ], CommonEntity.prototype, "createdAt", void 0);
32
32
  __decorate([
33
- (0, typeorm_1.UpdateDateColumn)({ name: "updated_at", transformer: local_date_time_transformer_1.LocalDateTimeTransformer }),
33
+ (0, typeorm_1.UpdateDateColumn)({ name: "updated_at", transformer: local_date_time_transformer_1.UtcDateTimeTransformer }),
34
34
  __metadata("design:type", Date)
35
35
  ], CommonEntity.prototype, "updatedAt", void 0);
36
36
  __decorate([
37
- (0, typeorm_1.DeleteDateColumn)({ name: "deleted_at", transformer: local_date_time_transformer_1.LocalDateTimeTransformer }),
37
+ (0, typeorm_1.DeleteDateColumn)({ name: "deleted_at", transformer: local_date_time_transformer_1.UtcDateTimeTransformer }),
38
38
  (0, typeorm_1.Index)(),
39
39
  __metadata("design:type", Date)
40
40
  ], CommonEntity.prototype, "deletedAt", void 0);
@@ -44,7 +44,7 @@ __decorate([
44
44
  ], CommonEntity.prototype, "deletedTracker", void 0);
45
45
  __decorate([
46
46
  (0, class_transformer_1.Expose)(),
47
- (0, typeorm_1.Column)({ name: 'published_at', default: null, nullable: true, transformer: local_date_time_transformer_1.LocalDateTimeTransformer }),
47
+ (0, typeorm_1.Column)({ name: 'published_at', default: null, nullable: true, transformer: local_date_time_transformer_1.UtcDateTimeTransformer }),
48
48
  __metadata("design:type", Date)
49
49
  ], CommonEntity.prototype, "publishedAt", void 0);
50
50
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"common.entity.js","sourceRoot":"","sources":["../../src/entities/common.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qCAAsH;AACtH,yDAAoD;AACpD,qGAAgG;AAGzF,IAAe,YAAY,GAA3B,MAAe,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;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAChC;uBA9CA,YAAY;IADjC,IAAA,2BAAO,GAAE;GACY,YAAY,CA+CjC","sourcesContent":["import { Column, CreateDateColumn, DeleteDateColumn, Index, PrimaryGeneratedColumn, UpdateDateColumn } from \"typeorm\";\nimport { Exclude, Expose } from \"class-transformer\";\nimport { LocalDateTimeTransformer } from \"src/transformers/typeorm/local-date-time-transformer\";\n\n@Exclude()\nexport abstract class CommonEntity {\n @Expose()\n @PrimaryGeneratedColumn({ type: 'integer' })\n id: number\n\n @CreateDateColumn({ name: \"created_at\", transformer: LocalDateTimeTransformer })\n createdAt: Date;\n\n @UpdateDateColumn({ name: \"updated_at\", transformer: LocalDateTimeTransformer })\n updatedAt: Date;\n\n @DeleteDateColumn({ name: \"deleted_at\", transformer: LocalDateTimeTransformer })\n @Index()\n deletedAt: Date;\n\n @Column({ name: \"deletedTracker\", default: \"not-deleted\" })\n deletedTracker: string;\n\n @Expose()\n @Column({ name: 'published_at', default: null, nullable: true, transformer: LocalDateTimeTransformer })\n publishedAt: Date;\n\n @Expose()\n @Column({ type: \"varchar\", name: 'locale_name', default: null })\n localeName: string;\n\n @Expose()\n @Column({ type: \"int\", name: 'default_entity_locale_id', default: null })\n defaultEntityLocaleId: number;\n\n // @Expose()\n // @Type( () => require('./user.entity').User?.default ?? require('./user.entity').User )\n // @ManyToOne(() => require('./user.entity').User?.default ?? require('./user.entity').User, { nullable: true })\n // createdBy: User;\n\n // @Expose()\n // @Type( () => require('./user.entity').User?.default ?? require('./user.entity').User )\n // @ManyToOne(() => require('./user.entity').User?.default ?? require('./user.entity').User, { nullable: true })\n // updatedBy: User;\n\n @Expose()\n @Column({ name: `created_by_id`, nullable: true })\n createdBy: number;\n\n @Expose()\n @Column({ name: `updated_by_id`, nullable: true })\n updatedBy: number;\n}\n"]}
1
+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AAE,IAAI,EAAE,CAAC;;2DAC3C;AAc9B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAChC;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAChC;uBA9CA,YAAY;IADjC,IAAA,2BAAO,GAAE;GACY,YAAY,CA+CjC","sourcesContent":["import { Column, CreateDateColumn, DeleteDateColumn, Index, PrimaryGeneratedColumn, UpdateDateColumn } from \"typeorm\";\nimport { Exclude, Expose } from \"class-transformer\";\nimport { UtcDateTimeTransformer } from \"src/transformers/typeorm/local-date-time-transformer\";\n\n@Exclude()\nexport abstract class CommonEntity {\n @Expose()\n @PrimaryGeneratedColumn({ type: 'integer' })\n id: number\n\n @CreateDateColumn({ name: \"created_at\", transformer: UtcDateTimeTransformer })\n createdAt: Date;\n\n @UpdateDateColumn({ name: \"updated_at\", transformer: UtcDateTimeTransformer })\n updatedAt: Date;\n\n @DeleteDateColumn({ name: \"deleted_at\", transformer: UtcDateTimeTransformer })\n @Index()\n deletedAt: Date;\n\n @Column({ name: \"deletedTracker\", default: \"not-deleted\" })\n deletedTracker: string;\n\n @Expose()\n @Column({ name: 'published_at', default: null, nullable: true, transformer: UtcDateTimeTransformer })\n publishedAt: Date;\n\n @Expose()\n @Column({ type: \"varchar\", name: 'locale_name', default: null })\n localeName: string;\n\n @Expose()\n @Column({ type: \"int\", name: 'default_entity_locale_id', default: null })\n defaultEntityLocaleId: number;\n\n // @Expose()\n // @Type( () => require('./user.entity').User?.default ?? require('./user.entity').User )\n // @ManyToOne(() => require('./user.entity').User?.default ?? require('./user.entity').User, { nullable: true })\n // createdBy: User;\n\n // @Expose()\n // @Type( () => require('./user.entity').User?.default ?? require('./user.entity').User )\n // @ManyToOne(() => require('./user.entity').User?.default ?? require('./user.entity').User, { nullable: true })\n // updatedBy: User;\n\n @Expose()\n @Column({ name: `created_by_id`, nullable: true })\n createdBy: number;\n\n @Expose()\n @Column({ name: `updated_by_id`, nullable: true })\n updatedBy: number;\n}\n"]}
@@ -22,15 +22,15 @@ let LegacyCommonEntity = class LegacyCommonEntity {
22
22
  };
23
23
  exports.LegacyCommonEntity = LegacyCommonEntity;
24
24
  __decorate([
25
- (0, typeorm_1.CreateDateColumn)({ name: `${exports.LEGACY_TABLE_FIELDS_PREFIX}_created_at`, transformer: local_date_time_transformer_1.LocalDateTimeTransformer }),
25
+ (0, typeorm_1.CreateDateColumn)({ name: `${exports.LEGACY_TABLE_FIELDS_PREFIX}_created_at`, transformer: local_date_time_transformer_1.UtcDateTimeTransformer }),
26
26
  __metadata("design:type", Date)
27
27
  ], LegacyCommonEntity.prototype, "createdAt", void 0);
28
28
  __decorate([
29
- (0, typeorm_1.UpdateDateColumn)({ name: `${exports.LEGACY_TABLE_FIELDS_PREFIX}_updated_at`, transformer: local_date_time_transformer_1.LocalDateTimeTransformer }),
29
+ (0, typeorm_1.UpdateDateColumn)({ name: `${exports.LEGACY_TABLE_FIELDS_PREFIX}_updated_at`, transformer: local_date_time_transformer_1.UtcDateTimeTransformer }),
30
30
  __metadata("design:type", Date)
31
31
  ], LegacyCommonEntity.prototype, "updatedAt", void 0);
32
32
  __decorate([
33
- (0, typeorm_1.DeleteDateColumn)({ name: `${exports.LEGACY_TABLE_FIELDS_PREFIX}_deleted_at`, transformer: local_date_time_transformer_1.LocalDateTimeTransformer }),
33
+ (0, typeorm_1.DeleteDateColumn)({ name: `${exports.LEGACY_TABLE_FIELDS_PREFIX}_deleted_at`, transformer: local_date_time_transformer_1.UtcDateTimeTransformer }),
34
34
  (0, typeorm_1.Index)(),
35
35
  __metadata("design:type", Date)
36
36
  ], LegacyCommonEntity.prototype, "deletedAt", void 0);
@@ -40,7 +40,7 @@ __decorate([
40
40
  ], LegacyCommonEntity.prototype, "deletedTracker", void 0);
41
41
  __decorate([
42
42
  (0, class_transformer_1.Expose)(),
43
- (0, typeorm_1.Column)({ name: `${exports.LEGACY_TABLE_FIELDS_PREFIX}_published_at`, default: null, nullable: true, transformer: local_date_time_transformer_1.LocalDateTimeTransformer }),
43
+ (0, typeorm_1.Column)({ name: `${exports.LEGACY_TABLE_FIELDS_PREFIX}_published_at`, default: null, nullable: true, transformer: local_date_time_transformer_1.UtcDateTimeTransformer }),
44
44
  __metadata("design:type", Date)
45
45
  ], LegacyCommonEntity.prototype, "publishedAt", void 0);
46
46
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-common.entity.js","sourceRoot":"","sources":["../../src/entities/legacy-common.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAA0D;AAC1D,qCAAqH;AAErH,qGAAgG;AAEnF,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAGxC,IAAe,kBAAkB,GAAjC,MAAe,kBAAkB;;;;CAkDvC,CAAA;AAlDqB,gDAAkB;AAOpC;IADC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,GAAG,kCAA0B,aAAa,EAAE,WAAW,EAAE,sDAAwB,EAAE,CAAC;8BACnG,IAAI;qDAAC;AAGhB;IADC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,GAAG,kCAA0B,aAAa,EAAE,WAAW,EAAE,sDAAwB,EAAE,CAAC;8BACnG,IAAI;qDAAC;AAIhB;IAFC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,GAAG,kCAA0B,aAAa,EAAE,WAAW,EAAE,sDAAwB,EAAE,CAAC;IAC7G,IAAA,eAAK,GAAE;8BACG,IAAI;qDAAC;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,GAAG,kCAA0B,kBAAkB,EAAE,OAAO,EAAE,aAAa,EAAE,CAAC;;0DACnE;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,GAAG,kCAA0B,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,sDAAwB,EAAE,CAAC;8BACxH,IAAI;uDAAC;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,kCAA0B,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;sDAC3E;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,kCAA0B,2BAA2B,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;iEACzE;AAgB9B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,GAAG,kCAA0B,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAC9D;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,GAAG,kCAA0B,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAC9D;6BAjDA,kBAAkB;IADvC,IAAA,2BAAO,GAAE;GACY,kBAAkB,CAkDvC","sourcesContent":["import { Exclude, Expose, Type } from \"class-transformer\";\nimport { Column, CreateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne, UpdateDateColumn } from \"typeorm\";\nimport type { User } from \"./user.entity\";\nimport { LocalDateTimeTransformer } from \"src/transformers/typeorm/local-date-time-transformer\";\n\nexport const LEGACY_TABLE_FIELDS_PREFIX = 'ss';\n\n@Exclude()\nexport abstract class LegacyCommonEntity {\n // @Expose()\n // @Column({ type: 'integer', name: `${LEGACY_TABLE_FIELDS_PREFIX}_id`, unique: true })\n // @Generated(\"increment\")\n // id: number\n\n @CreateDateColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_created_at`, transformer: LocalDateTimeTransformer })\n createdAt: Date;\n\n @UpdateDateColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_updated_at`, transformer: LocalDateTimeTransformer })\n updatedAt: Date;\n\n @DeleteDateColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_deleted_at`, transformer: LocalDateTimeTransformer })\n @Index()\n deletedAt: Date;\n\n @Column({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_deleted_tracker`, default: \"not-deleted\" })\n deletedTracker: string;\n\n @Expose()\n @Column({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_published_at`, default: null, nullable: true, transformer: LocalDateTimeTransformer })\n publishedAt: Date;\n\n @Expose()\n @Column({ type: \"varchar\", name: `${LEGACY_TABLE_FIELDS_PREFIX}_locale_name`, default: null })\n localeName: string;\n\n @Expose()\n @Column({ type: \"int\", name: `${LEGACY_TABLE_FIELDS_PREFIX}_default_entity_locale_id`, default: null })\n defaultEntityLocaleId: number;\n\n // @Expose()\n // @Type( () => require('./user.entity').User?.default ?? require('./user.entity').User )\n // @ManyToOne(() => require('./user.entity').User?.default ?? require('./user.entity').User, { nullable: true })\n // @JoinColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_created_by_id` })\n // createdBy: User;\n\n // @Expose()\n // @Type( () => require('./user.entity').User?.default ?? require('./user.entity').User )\n // @ManyToOne(() => require('./user.entity').User?.default ?? require('./user.entity').User, { nullable: true })\n // @JoinColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_updated_by_id` })\n // updatedBy: User; \n\n @Expose()\n @Column({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_created_by_id`, nullable: true })\n createdBy: number;\n\n @Expose()\n @Column({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_updated_by_id`, nullable: true })\n updatedBy: number;\n}\n"]}
1
+ {"version":3,"file":"legacy-common.entity.js","sourceRoot":"","sources":["../../src/entities/legacy-common.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yD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,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,GAAG,kCAA0B,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAC9D;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,GAAG,kCAA0B,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAC9D;6BAjDA,kBAAkB;IADvC,IAAA,2BAAO,GAAE;GACY,kBAAkB,CAkDvC","sourcesContent":["import { Exclude, Expose, Type } from \"class-transformer\";\nimport { Column, CreateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne, UpdateDateColumn } from \"typeorm\";\nimport type { User } from \"./user.entity\";\nimport { UtcDateTimeTransformer } from \"src/transformers/typeorm/local-date-time-transformer\";\n\nexport const LEGACY_TABLE_FIELDS_PREFIX = 'ss';\n\n@Exclude()\nexport abstract class LegacyCommonEntity {\n // @Expose()\n // @Column({ type: 'integer', name: `${LEGACY_TABLE_FIELDS_PREFIX}_id`, unique: true })\n // @Generated(\"increment\")\n // id: number\n\n @CreateDateColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_created_at`, transformer: UtcDateTimeTransformer })\n createdAt: Date;\n\n @UpdateDateColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_updated_at`, transformer: UtcDateTimeTransformer })\n updatedAt: Date;\n\n @DeleteDateColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_deleted_at`, transformer: UtcDateTimeTransformer })\n @Index()\n deletedAt: Date;\n\n @Column({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_deleted_tracker`, default: \"not-deleted\" })\n deletedTracker: string;\n\n @Expose()\n @Column({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_published_at`, default: null, nullable: true, transformer: UtcDateTimeTransformer })\n publishedAt: Date;\n\n @Expose()\n @Column({ type: \"varchar\", name: `${LEGACY_TABLE_FIELDS_PREFIX}_locale_name`, default: null })\n localeName: string;\n\n @Expose()\n @Column({ type: \"int\", name: `${LEGACY_TABLE_FIELDS_PREFIX}_default_entity_locale_id`, default: null })\n defaultEntityLocaleId: number;\n\n // @Expose()\n // @Type( () => require('./user.entity').User?.default ?? require('./user.entity').User )\n // @ManyToOne(() => require('./user.entity').User?.default ?? require('./user.entity').User, { nullable: true })\n // @JoinColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_created_by_id` })\n // createdBy: User;\n\n // @Expose()\n // @Type( () => require('./user.entity').User?.default ?? require('./user.entity').User )\n // @ManyToOne(() => require('./user.entity').User?.default ?? require('./user.entity').User, { nullable: true })\n // @JoinColumn({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_updated_by_id` })\n // updatedBy: User; \n\n @Expose()\n @Column({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_created_by_id`, nullable: true })\n createdBy: number;\n\n @Expose()\n @Column({ name: `${LEGACY_TABLE_FIELDS_PREFIX}_updated_by_id`, nullable: true })\n updatedBy: number;\n}\n"]}
@@ -10,5 +10,6 @@ export declare class SavedFilters extends CommonEntity {
10
10
  model: ModelMetadata;
11
11
  view: ViewMetadata;
12
12
  description: string;
13
+ isSeeded: boolean;
13
14
  }
14
15
  //# sourceMappingURL=saved-filters.entity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"saved-filters.entity.d.ts","sourceRoot":"","sources":["../../src/entities/saved-filters.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAEhE,qBACa,YAAa,SAAQ,YAAY;IAE1C,eAAe,EAAE,GAAG,CAAC;IAIrB,IAAI,EAAE,MAAM,CAAC;IAGb,SAAS,EAAE,OAAO,CAAS;IAI3B,IAAI,EAAE,IAAI,CAAC;IAIX,KAAK,EAAE,aAAa,CAAC;IAIrB,IAAI,EAAE,YAAY,CAAC;IAGnB,WAAW,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"saved-filters.entity.d.ts","sourceRoot":"","sources":["../../src/entities/saved-filters.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAEhE,qBACa,YAAa,SAAQ,YAAY;IAE1C,eAAe,EAAE,GAAG,CAAC;IAIrB,IAAI,EAAE,MAAM,CAAC;IAGb,SAAS,EAAE,OAAO,CAAS;IAI3B,IAAI,EAAE,IAAI,CAAC;IAIX,KAAK,EAAE,aAAa,CAAC;IAIrB,IAAI,EAAE,YAAY,CAAC;IAGnB,WAAW,EAAE,MAAM,CAAC;IAGpB,QAAQ,EAAE,OAAO,CAAS;CAC7B"}
@@ -20,9 +20,10 @@ let SavedFilters = class SavedFilters extends common_entity_1.CommonEntity {
20
20
  constructor() {
21
21
  super(...arguments);
22
22
  this.isPrivate = false;
23
+ this.isSeeded = false;
23
24
  }
24
25
  static _OPENAPI_METADATA_FACTORY() {
25
- return { filterQueryJson: { required: true, type: () => Object }, name: { required: true, type: () => String }, isPrivate: { required: true, type: () => Boolean, default: false }, user: { required: true, type: () => require("./user.entity").User }, model: { required: true, type: () => require("./model-metadata.entity").ModelMetadata }, view: { required: true, type: () => require("./view-metadata.entity").ViewMetadata }, description: { required: true, type: () => String } };
26
+ return { filterQueryJson: { required: true, type: () => Object }, name: { required: true, type: () => String }, isPrivate: { required: true, type: () => Boolean, default: false }, user: { required: true, type: () => require("./user.entity").User }, model: { required: true, type: () => require("./model-metadata.entity").ModelMetadata }, view: { required: true, type: () => require("./view-metadata.entity").ViewMetadata }, description: { required: true, type: () => String }, isSeeded: { required: true, type: () => Boolean, default: false } };
26
27
  }
27
28
  };
28
29
  exports.SavedFilters = SavedFilters;
@@ -58,6 +59,10 @@ __decorate([
58
59
  (0, typeorm_1.Column)({ name: "description", type: "text", nullable: true }),
59
60
  __metadata("design:type", String)
60
61
  ], SavedFilters.prototype, "description", void 0);
62
+ __decorate([
63
+ (0, typeorm_1.Column)({ nullable: true, default: false }),
64
+ __metadata("design:type", Boolean)
65
+ ], SavedFilters.prototype, "isSeeded", void 0);
61
66
  exports.SavedFilters = SavedFilters = __decorate([
62
67
  (0, typeorm_1.Entity)("ss_saved_fitlers")
63
68
  ], SavedFilters);
@@ -1 +1 @@
1
- {"version":3,"file":"saved-filters.entity.js","sourceRoot":"","sources":["../../src/entities/saved-filters.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAuE;AACvE,+CAAgD;AAChD,mEAAmE;AACnE,iEAAgE;AAGzD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;IAAvC;;QASH,cAAS,GAAY,KAAK,CAAC;KAgB9B;;mLAhBwB,KAAK;;CAgB7B,CAAA;AAzBY,oCAAY;AAErB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACpB;AAIrB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;0CACf;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CAChB;AAI3B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAU,GAAE;8BACP,kBAAI;0CAAC;AAIX;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACnD,IAAA,oBAAU,GAAE;8BACN,qCAAa;2CAAC;AAIrB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClD,IAAA,oBAAU,GAAE;8BACP,mCAAY;0CAAC;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC1C;uBAxBX,YAAY;IADxB,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,YAAY,CAyBxB","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, Column, JoinColumn, ManyToOne, Index } from 'typeorm';\nimport { User } from 'src/entities/user.entity';\nimport { ModelMetadata } from 'src/entities/model-metadata.entity';\nimport { ViewMetadata } from 'src/entities/view-metadata.entity'\n\n@Entity(\"ss_saved_fitlers\")\nexport class SavedFilters extends CommonEntity {\n @Column({ type: \"text\", nullable: true })\n filterQueryJson: any;\n\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n name: string;\n\n @Column({ nullable: true, default: false })\n isPrivate: boolean = false;\n\n @ManyToOne(() => User, { nullable: true })\n @JoinColumn()\n user: User;\n\n @ManyToOne(() => ModelMetadata, { nullable: false })\n @JoinColumn()\n model: ModelMetadata;\n\n @ManyToOne(() => ViewMetadata, { nullable: false })\n @JoinColumn()\n view: ViewMetadata;\n\n @Column({ name: \"description\", type: \"text\", nullable: true })\n description: string;\n}\n"]}
1
+ {"version":3,"file":"saved-filters.entity.js","sourceRoot":"","sources":["../../src/entities/saved-filters.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAuE;AACvE,+CAA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jB,YAAY;IADxB,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,YAAY,CA4BxB","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, Column, JoinColumn, ManyToOne, Index } from 'typeorm';\nimport { User } from 'src/entities/user.entity';\nimport { ModelMetadata } from 'src/entities/model-metadata.entity';\nimport { ViewMetadata } from 'src/entities/view-metadata.entity'\n\n@Entity(\"ss_saved_fitlers\")\nexport class SavedFilters extends CommonEntity {\n @Column({ type: \"text\", nullable: true })\n filterQueryJson: any;\n\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n name: string;\n\n @Column({ nullable: true, default: false })\n isPrivate: boolean = false;\n\n @ManyToOne(() => User, { nullable: true })\n @JoinColumn()\n user: User;\n\n @ManyToOne(() => ModelMetadata, { nullable: false })\n @JoinColumn()\n model: ModelMetadata;\n\n @ManyToOne(() => ViewMetadata, { nullable: false })\n @JoinColumn()\n view: ViewMetadata;\n\n @Column({ name: \"description\", type: \"text\", nullable: true })\n description: string;\n\n @Column({ nullable: true, default: false })\n isSeeded: boolean = false;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAoG;AACpG,iEAAiE;AACjE,2EAAyE;AACzE,yDAAoD;AAK7C,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,4BAAY;IAA/B;;QAqBH,wBAAmB,GAAY,IAAI,CAAC;QAGpC,sBAAiB,GAAW,OAAO,CAAC;QAepC,WAAM,GAAY,IAAI,CAAC;QAmEvB,wBAAmB,GAAW,CAAC,CAAC;KAGnC;;2UAxFkC,IAAI,wWAkBjB,IAAI;;CAsEzB,CAAA;AA7GY,oBAAI;AAGb;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC3C,IAAA,0BAAM,G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MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC;IAChF,IAAA,2BAAO,GAAE;GACG,IAAI,CA6GhB","sourcesContent":["import { CommonEntity } from \"src/entities/common.entity\"\nimport { Entity, Column, Index, JoinTable, ManyToMany, OneToMany, TableInheritance } from \"typeorm\";\nimport { RoleMetadata } from 'src/entities/role-metadata.entity';\nimport { UserViewMetadata } from 'src/entities/user-view-metadata.entity'\nimport { Exclude, Expose } from \"class-transformer\";\n\n@Entity(\"ss_user\")\n@TableInheritance({ column: { type: \"varchar\", name: \"type\", default: \"User\" } })\n@Exclude()\nexport class User extends CommonEntity {\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n fullName: string; \n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n @Expose()\n username: string;\n // @Index({ unique: true })\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n email: string;\n // @Index({ unique: true })\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n mobile: string;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n password: string;\n @Column({ nullable: true, default: true })\n @Expose()\n forcePasswordChange: boolean = true;\n @Column({ type: \"varchar\", default: \"local\" })\n // don't send to client\n lastLoginProvider: string = \"local\";\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client (test)\n accessCode: string;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n googleAccessToken: string;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n googleId: string;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n googleProfilePicture: string;\n @Column({ default: true })\n @Expose()\n active: boolean = true;\n @Column({ nullable: true })\n // don't send to client\n forgotPasswordConfirmedAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n verificationTokenOnForgotPassword: string;\n @Column({ nullable: true })\n // don't send to client\n verificationTokenOnForgotPasswordExpiresAt: Date;\n @Column({ nullable: true })\n // don't send to client\n emailVerifiedOnRegistrationAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n emailVerificationTokenOnRegistration: string;\n @Column({ nullable: true })\n // don't send to client\n emailVerificationTokenOnRegistrationExpiresAt: Date;\n @Column({ nullable: true })\n // don't send to client\n mobileVerifiedOnRegistrationAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n mobileVerificationTokenOnRegistration: string;\n @Column({ nullable: true })\n // don't send to client\n mobileVerificationTokenOnRegistrationExpiresAt: Date;\n @Column({ nullable: true })\n // don't send to client\n emailVerifiedOnLoginAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n emailVerificationTokenOnLogin: string;\n @Column({ nullable: true })\n // don't send to client\n emailVerificationTokenOnLoginExpiresAt: Date;\n @Column({ nullable: true })\n // don't send to client\n mobileVerifiedOnLoginAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n mobileVerificationTokenOnLogin: string;\n @Column({ nullable: true })\n // don't send to client\n mobileVerificationTokenOnLoginExpiresAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n customPayload: string;\n @ManyToMany(() => RoleMetadata, roleMetadata => roleMetadata.users, { cascade: true })\n @JoinTable()\n @Expose()\n roles: RoleMetadata[];\n @OneToMany(() => UserViewMetadata, userViewMetadata => userViewMetadata.user, { cascade: true })\n // don't send to client\n userViewMetadata: UserViewMetadata[];\n // dont send to client\n @Column({ type: \"varchar\", default: \"bcrypt\" })\n passwordScheme: string;\n // dont send to client\n @Column({ type: \"int\", default: 1 })\n passwordSchemeVersion: number;\n // dont send to client\n @Column({ nullable: true })\n rehashedAt: Date;\n // dont send to client\n @Column({ type: \"int\", default: 0 })\n failedLoginAttempts: number = 0;\n @Expose()\n _media: any;\n}"]}
1
+ {"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAoG;AACpG,iEAAi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AGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;mDACN;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACf,IAAI;wCAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;iDACJ;AAEhC;IADC,IAAA,0BAAM,GAAE;;oCACG;eA5GH,IAAI;IAHhB,IAAA,gBAAM,EAAC,SAAS,CAAC;IACjB,IAAA,0BAAgB,EAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC;IAChF,IAAA,2BAAO,GAAE;GACG,IAAI,CA6GhB","sourcesContent":["import { CommonEntity } from \"src/entities/common.entity\"\nimport { Entity, Column, Index, JoinTable, ManyToMany, OneToMany, TableInheritance } from \"typeorm\";\nimport { RoleMetadata } from 'src/entities/role-metadata.entity';\nimport { UserViewMetadata } from 'src/entities/user-view-metadata.entity'\nimport { Exclude, Expose } from \"class-transformer\";\n\n@Entity(\"ss_user\")\n@TableInheritance({ column: { type: \"varchar\", name: \"type\", default: \"User\" } })\n@Exclude()\nexport class User extends CommonEntity {\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n fullName: string;\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n @Expose()\n username: string;\n // @Index({ unique: true })\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n email: string;\n // @Index({ unique: true })\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n mobile: string;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n password: string;\n @Column({ nullable: true, default: true })\n @Expose()\n forcePasswordChange: boolean = true;\n @Column({ type: \"varchar\", default: \"local\" })\n // don't send to client\n lastLoginProvider: string = \"local\";\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client (test)\n accessCode: string;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n googleAccessToken: string;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n googleId: string;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n googleProfilePicture: string;\n @Column({ default: true })\n @Expose()\n active: boolean = true;\n @Column({ nullable: true })\n // don't send to client\n forgotPasswordConfirmedAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n verificationTokenOnForgotPassword: string;\n @Column({ nullable: true })\n // don't send to client\n verificationTokenOnForgotPasswordExpiresAt: Date;\n @Column({ nullable: true })\n // don't send to client\n emailVerifiedOnRegistrationAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n emailVerificationTokenOnRegistration: string;\n @Column({ nullable: true })\n // don't send to client\n emailVerificationTokenOnRegistrationExpiresAt: Date;\n @Column({ nullable: true })\n // don't send to client\n mobileVerifiedOnRegistrationAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n mobileVerificationTokenOnRegistration: string;\n @Column({ nullable: true })\n // don't send to client\n mobileVerificationTokenOnRegistrationExpiresAt: Date;\n @Column({ nullable: true })\n // don't send to client\n emailVerifiedOnLoginAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n emailVerificationTokenOnLogin: string;\n @Column({ nullable: true })\n // don't send to client\n emailVerificationTokenOnLoginExpiresAt: Date;\n @Column({ nullable: true })\n // don't send to client\n mobileVerifiedOnLoginAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n mobileVerificationTokenOnLogin: string;\n @Column({ nullable: true })\n // don't send to client\n mobileVerificationTokenOnLoginExpiresAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n customPayload: string;\n @ManyToMany(() => RoleMetadata, roleMetadata => roleMetadata.users, { cascade: true })\n @JoinTable()\n @Expose()\n roles: RoleMetadata[];\n @OneToMany(() => UserViewMetadata, userViewMetadata => userViewMetadata.user, { cascade: true })\n // don't send to client\n userViewMetadata: UserViewMetadata[];\n // dont send to client\n @Column({ type: \"varchar\", default: \"bcrypt\" })\n passwordScheme: string;\n // dont send to client\n @Column({ type: \"int\", default: 1 })\n passwordSchemeVersion: number;\n // dont send to client\n @Column({ nullable: true })\n rehashedAt: Date;\n // dont send to client\n @Column({ type: \"int\", default: 0 })\n failedLoginAttempts: number = 0;\n @Expose()\n _media: any;\n}"]}
@@ -709,7 +709,7 @@ let ModuleMetadataSeederService = ModuleMetadataSeederService_1 = class ModuleMe
709
709
  }
710
710
  for (const dto of createSavedFilterDto) {
711
711
  this.validateSavedFilterQueryJsonWrapper(dto);
712
- await this.savedFiltersRepo.upsertWithDto({ ...dto, filterQueryJson: JSON.stringify(dto.filterQueryJson) });
712
+ await this.savedFiltersRepo.upsertWithDto({ ...dto, filterQueryJson: JSON.stringify(dto.filterQueryJson), isSeeded: true });
713
713
  }
714
714
  }
715
715
  validateSavedFilterQueryJsonWrapper(dto) {