@hedhog/setting 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/dist/setting/setting.controller.d.ts +27 -3
  2. package/dist/setting/setting.controller.d.ts.map +1 -1
  3. package/dist/setting/setting.controller.js +3 -3
  4. package/dist/setting/setting.controller.js.map +1 -1
  5. package/dist/setting/setting.service.d.ts +28 -4
  6. package/dist/setting/setting.service.d.ts.map +1 -1
  7. package/dist/setting/setting.service.js +6 -6
  8. package/dist/setting/setting.service.js.map +1 -1
  9. package/hedhog.yaml +285 -285
  10. package/package.json +39 -37
  11. package/frontend/setting/components/create-panel.tsx +0 -83
  12. package/frontend/setting/components/setting.screen.tsx +0 -105
  13. package/frontend/setting/components/update-panel.tsx +0 -96
  14. package/frontend/setting/locales/en/setting.setting.json +0 -11
  15. package/frontend/setting/locales/pt/setting.setting.json +0 -11
  16. package/frontend/setting/react-query/handlers.ts +0 -28
  17. package/frontend/setting/react-query/requests.ts +0 -55
  18. package/frontend/setting-group/components/create-panel.tsx +0 -62
  19. package/frontend/setting-group/components/setting-group.screen.tsx +0 -107
  20. package/frontend/setting-group/components/update-panel.tsx +0 -76
  21. package/frontend/setting-group/locales/en/setting.setting-group.json +0 -11
  22. package/frontend/setting-group/locales/pt/setting.setting-group.json +0 -11
  23. package/frontend/setting-group/react-query/handlers.ts +0 -28
  24. package/frontend/setting-group/react-query/requests.ts +0 -58
  25. package/frontend/setting-user/components/create-panel.tsx +0 -71
  26. package/frontend/setting-user/components/setting-user.screen.tsx +0 -107
  27. package/frontend/setting-user/components/update-panel.tsx +0 -85
  28. package/frontend/setting-user/locales/en/setting.setting-user.json +0 -11
  29. package/frontend/setting-user/locales/pt/setting.setting-user.json +0 -11
  30. package/frontend/setting-user/react-query/handlers.ts +0 -28
  31. package/frontend/setting-user/react-query/requests.ts +0 -57
@@ -7,9 +7,33 @@ import { SettingService } from './setting.service';
7
7
  export declare class SettingsController {
8
8
  private readonly settingService;
9
9
  constructor(settingService: SettingService);
10
- getSettingFromGroup(paginationParams: any, locale: any, slug: string): Promise<import("@hedhog/pagination").PaginatedResult<unknown>>;
11
- listSettingGroups(paginationParams: any, locale: any): Promise<import("@hedhog/pagination").PaginatedResult<unknown>>;
12
- listSettings(paginationParams: any, locale: any): Promise<import("@hedhog/pagination").PaginatedResult<unknown>>;
10
+ getSettingFromGroup(paginationParams: any, locale: any, slug: string): Promise<{
11
+ total: number;
12
+ lastPage: number;
13
+ page: number;
14
+ pageSize: number;
15
+ prev: number;
16
+ next: number;
17
+ data: any[];
18
+ }>;
19
+ listSettingGroups(paginationParams: any, locale: any): Promise<{
20
+ total: number;
21
+ lastPage: number;
22
+ page: number;
23
+ pageSize: number;
24
+ prev: number;
25
+ next: number;
26
+ data: any[];
27
+ }>;
28
+ listSettings(paginationParams: any, locale: any): Promise<{
29
+ total: number;
30
+ lastPage: number;
31
+ page: number;
32
+ pageSize: number;
33
+ prev: number;
34
+ next: number;
35
+ data: any[];
36
+ }>;
13
37
  get(settingId: number): Promise<any>;
14
38
  create(data: CreateDTO): Promise<any>;
15
39
  updateUserFromSlug(slug: string, { value }: SettingUserDTO, { id }: {
@@ -1 +1 @@
1
- {"version":3,"file":"setting.controller.d.ts","sourceRoot":"","sources":["../../src/setting/setting.controller.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBAEa,kBAAkB;IAG3B,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAI3C,mBAAmB,CACT,gBAAgB,KAAA,EACpB,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AAmC,SAAS,EAAE,MAAM;IAKvD,MAAM,CAAS,IAAI,EAAE,SAAS;IAK9B,kBAAkB,CACP,IAAI,EAAE,MAAM,EACnB,EAAE,KAAK,EAAE,EAAE,cAAc,EACzB,EAAE,EAAE,EAAE;;KAAA;IAMV,cAAc,CAAgB,IAAI,EAAE,MAAM,EAAU,IAAI,EAAE,SAAS;IAKnE,eAAe,CAAS,IAAI,EAAE,UAAU;;;IAKxC,MAAM,CACwB,SAAS,EAAE,MAAM,EAC3C,IAAI,EAAE,SAAS;IASnB,MAAM,CAAS,IAAI,EAAE,SAAS;CAGrC"}
@@ -16,7 +16,7 @@ exports.SettingsController = void 0;
16
16
  const pagination_1 = require("@hedhog/pagination");
17
17
  const common_1 = require("@nestjs/common");
18
18
  const locale_1 = require("@hedhog/locale");
19
- const utils_1 = require("@hedhog/utils");
19
+ const core_1 = require("@hedhog/core");
20
20
  const delete_dto_1 = require("./dto/delete.dto");
21
21
  const create_dto_1 = require("./dto/create.dto");
22
22
  const setting_user_dto_1 = require("./dto/setting-user.dto");
@@ -105,7 +105,7 @@ __decorate([
105
105
  (0, common_1.Put)('user/:slug'),
106
106
  __param(0, (0, common_1.Param)('slug')),
107
107
  __param(1, (0, common_1.Body)()),
108
- __param(2, (0, utils_1.User)()),
108
+ __param(2, (0, core_1.User)()),
109
109
  __metadata("design:type", Function),
110
110
  __metadata("design:paramtypes", [String, setting_user_dto_1.SettingUserDTO, Object]),
111
111
  __metadata("design:returntype", Promise)
@@ -141,7 +141,7 @@ __decorate([
141
141
  __metadata("design:returntype", Promise)
142
142
  ], SettingsController.prototype, "delete", null);
143
143
  exports.SettingsController = SettingsController = __decorate([
144
- (0, utils_1.Role)(),
144
+ (0, core_1.Role)(),
145
145
  (0, common_1.Controller)('setting'),
146
146
  __param(0, (0, common_1.Inject)((0, common_1.forwardRef)(() => setting_service_1.SettingService))),
147
147
  __metadata("design:paramtypes", [setting_service_1.SettingService])
@@ -1 +1 @@
1
- {"version":3,"file":"setting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AAGK;IADL,IAAA,YAAG,GAAE;IACiB,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,wBAAU;;yDAE7C;AAGK;IADL,IAAA,cAAK,EAAC,YAAY,CAAC;IAEjB,WAAA,IAAA,cAAK,EAAC,WAAW,EAAE,qBAAY,CAAC,CAAA;IAChC,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAO,sBAAS;;gDAMxB;AAGK;IADL,IAAA,eAAM,GAAE;IACK,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sBAAS;;gDAEnC;6BAxEU,kBAAkB;IAF9B,IAAA,WAAI,GAAE;IACN,IAAA,mBAAU,EAAC,SAAS,CAAC;IAGjB,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC,CAAC,CAAA;qCACR,gCAAc;GAHtC,kBAAkB,CAyE9B"}
@@ -11,11 +11,35 @@ export declare class SettingService {
11
11
  setManySettings(data: SettingDTO): Promise<{
12
12
  success: boolean;
13
13
  }>;
14
- getSettingFromGroup(locale: any, paginationParams: any, slug: string): Promise<import("@hedhog/pagination").PaginatedResult<unknown>>;
15
- listSettingGroups(locale: string, paginationParams: PaginationDTO): Promise<import("@hedhog/pagination").PaginatedResult<unknown>>;
16
- listSettings(locale: string, paginationParams: PaginationDTO): Promise<import("@hedhog/pagination").PaginatedResult<unknown>>;
14
+ getSettingFromGroup(locale: any, paginationParams: any, slug: string): Promise<{
15
+ total: number;
16
+ lastPage: number;
17
+ page: number;
18
+ pageSize: number;
19
+ prev: number;
20
+ next: number;
21
+ data: any[];
22
+ }>;
23
+ listSettingGroups(locale: string, paginationParams: PaginationDTO): Promise<{
24
+ total: number;
25
+ lastPage: number;
26
+ page: number;
27
+ pageSize: number;
28
+ prev: number;
29
+ next: number;
30
+ data: any[];
31
+ }>;
32
+ listSettings(locale: string, paginationParams: PaginationDTO): Promise<{
33
+ total: number;
34
+ lastPage: number;
35
+ page: number;
36
+ pageSize: number;
37
+ prev: number;
38
+ next: number;
39
+ data: any[];
40
+ }>;
17
41
  get(settingId: number): Promise<any>;
18
- create({}: CreateDTO): Promise<any>;
42
+ create(data: CreateDTO): Promise<any>;
19
43
  update({ id, data }: {
20
44
  id: number;
21
45
  data: UpdateDTO;
@@ -1 +1 @@
1
- {"version":3,"file":"setting.service.d.ts","sourceRoot":"","sources":["../../src/setting/setting.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAQ/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBACa,cAAc;IAGvB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,aAAa,EAAE,aAAa,EAE5B,iBAAiB,EAAE,iBAAiB;IAGjD,eAAe,CAAC,IAAI,EAAE,UAAU;;;IAgChC,mBAAmB,CAAC,MAAM,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;IAiEpE,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa;IAqCjE,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa;IA0D5D,GAAG,CAAC,SAAS,EAAE,MAAM;IAMrB,MAAM,CAAC,EAAE,EAAE,SAAS;IAMpB,MAAM,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,SAAS,CAAA;KAAE;IAOpD,cAAc,CAAC,IAAI,EAA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EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,SAAS,CAAA;KAAE;IAOpD,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS;IAiB5C,MAAM,CAAC,EAAE,GAAG,EAAE,EAAE,SAAS;IAgBzB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAkDhE,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CA6C/C"}
@@ -15,7 +15,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.SettingService = void 0;
16
16
  const pagination_1 = require("@hedhog/pagination");
17
17
  const prisma_1 = require("@hedhog/prisma");
18
- const utils_1 = require("@hedhog/utils");
18
+ const core_1 = require("@hedhog/core");
19
19
  const common_1 = require("@nestjs/common");
20
20
  let SettingService = class SettingService {
21
21
  constructor(prismaService, paginationService) {
@@ -90,7 +90,7 @@ let SettingService = class SettingService {
90
90
  },
91
91
  }, 'setting_locale');
92
92
  result.data = result.data.map((setting) => {
93
- setting.setting_group = (0, utils_1.itemTranslations)('setting_group_locale', setting.setting_group);
93
+ setting.setting_group = (0, core_1.itemTranslations)('setting_group_locale', setting.setting_group);
94
94
  return setting;
95
95
  });
96
96
  return result;
@@ -156,7 +156,7 @@ let SettingService = class SettingService {
156
156
  },
157
157
  }, 'setting_locale');
158
158
  result.data = result.data.map((setting) => {
159
- setting.setting_group = (0, utils_1.itemTranslations)('setting_group_locale', setting.setting_group);
159
+ setting.setting_group = (0, core_1.itemTranslations)('setting_group_locale', setting.setting_group);
160
160
  return setting;
161
161
  });
162
162
  return result;
@@ -166,9 +166,9 @@ let SettingService = class SettingService {
166
166
  where: { id: settingId },
167
167
  });
168
168
  }
169
- async create({}) {
169
+ async create(data) {
170
170
  return this.prismaService.setting.create({
171
- data: {},
171
+ data,
172
172
  });
173
173
  }
174
174
  async update({ id, data }) {
@@ -262,7 +262,7 @@ let SettingService = class SettingService {
262
262
  user_override: true,
263
263
  },
264
264
  });
265
- const slugUserOverride = setting.filter((setting) => setting.userOverride);
265
+ const slugUserOverride = setting.filter((setting) => setting.user_override);
266
266
  const settingUser = await this.prismaService.setting_user.findMany({
267
267
  where: {
268
268
  setting_id: {
@@ -1 +1 @@
1
- {"version":3,"file":"setting.service.js","sourceRoot":"","sources":["../../src/setting/setting.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAsE;AACtE,2CAA+C;AAC/C,yCAAiD;AACjD,2CAKwB;AAOjB,IAAM,cAAc,GAApB,MAAM,cAAc;IACzB,YAEmB,aAA4B,EAE5B,iBAAoC;QAFpC,kBAAa,GAAb,aAAa,CAAe;QAE5B,sBAAiB,GAAjB,iBAAiB,CAAmB;IACpD,CAAC;IAEJ,KAAK,CAAC,eAAe,CAAC,IAAgB;QACpC,MAAM,WAAW,GAAG,EAAE,CAAC;QAEvB,KAAK,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YAC3C,WAAW,CAAC,IAAI,CACd,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC;gBACpC,KAAK,EAAE;oBACL,IAAI;iBACL;gBACD,IAAI,EAAE;oBACJ,KAAK;iBACN;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QAED,MAAM,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;QAEnD,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC;YAC3D,KAAK,EAAE;gBACL,IAAI,EAAE;oBACJ,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;iBAChD;gBACD,aAAa,EAAE;oBACb,IAAI,EAAE,YAAY;iBACnB;aACF;SACF,CAAC,CAAC;QAEH,OAAO,EAAE,OAAO,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