@hedhog/admin 0.0.92 → 0.0.94

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/dist/menu/menu.controller.d.ts.map +1 -1
  2. package/dist/menu/menu.controller.js +0 -4
  3. package/dist/menu/menu.controller.js.map +1 -1
  4. package/dist/role/role.controller.d.ts.map +1 -1
  5. package/dist/role/role.controller.js +0 -4
  6. package/dist/role/role.controller.js.map +1 -1
  7. package/dist/route/route.controller.d.ts.map +1 -1
  8. package/dist/route/route.controller.js +0 -4
  9. package/dist/route/route.controller.js.map +1 -1
  10. package/dist/screen/screen.controller.d.ts.map +1 -1
  11. package/dist/screen/screen.controller.js +0 -4
  12. package/dist/screen/screen.controller.js.map +1 -1
  13. package/dist/setting/dto/setting-user.dto.d.ts +4 -0
  14. package/dist/setting/dto/setting-user.dto.d.ts.map +1 -0
  15. package/dist/{entities/role.entity.js → setting/dto/setting-user.dto.js} +8 -19
  16. package/dist/setting/dto/setting-user.dto.js.map +1 -0
  17. package/dist/setting/dto/settings.dto.d.ts +9 -0
  18. package/dist/setting/dto/settings.dto.d.ts.map +1 -0
  19. package/dist/{entities/route.entity.js → setting/dto/settings.dto.js} +19 -21
  20. package/dist/setting/dto/settings.dto.js.map +1 -0
  21. package/dist/setting/settings.controller.d.ts +8 -0
  22. package/dist/setting/settings.controller.d.ts.map +1 -1
  23. package/dist/setting/settings.controller.js +25 -11
  24. package/dist/setting/settings.controller.js.map +1 -1
  25. package/dist/setting/settings.service.d.ts +5 -1
  26. package/dist/setting/settings.service.d.ts.map +1 -1
  27. package/dist/setting/settings.service.js +31 -6
  28. package/dist/setting/settings.service.js.map +1 -1
  29. package/dist/user/user.controller.d.ts.map +1 -1
  30. package/dist/user/user.controller.js +0 -4
  31. package/dist/user/user.controller.js.map +1 -1
  32. package/hedhog.yaml +17 -17
  33. package/package.json +1 -1
  34. package/dist/entities/country.entity.d.ts +0 -6
  35. package/dist/entities/country.entity.d.ts.map +0 -1
  36. package/dist/entities/country.entity.js +0 -38
  37. package/dist/entities/country.entity.js.map +0 -1
  38. package/dist/entities/index.d.ts +0 -12
  39. package/dist/entities/index.d.ts.map +0 -1
  40. package/dist/entities/index.js +0 -28
  41. package/dist/entities/index.js.map +0 -1
  42. package/dist/entities/locale.entity.d.ts +0 -7
  43. package/dist/entities/locale.entity.d.ts.map +0 -1
  44. package/dist/entities/locale.entity.js +0 -44
  45. package/dist/entities/locale.entity.js.map +0 -1
  46. package/dist/entities/menu.entity.d.ts +0 -9
  47. package/dist/entities/menu.entity.d.ts.map +0 -1
  48. package/dist/entities/menu.entity.js +0 -57
  49. package/dist/entities/menu.entity.js.map +0 -1
  50. package/dist/entities/multifactor.entity.d.ts +0 -5
  51. package/dist/entities/multifactor.entity.d.ts.map +0 -1
  52. package/dist/entities/multifactor.entity.js +0 -30
  53. package/dist/entities/multifactor.entity.js.map +0 -1
  54. package/dist/entities/role.entity.d.ts +0 -5
  55. package/dist/entities/role.entity.d.ts.map +0 -1
  56. package/dist/entities/role.entity.js.map +0 -1
  57. package/dist/entities/route.entity.d.ts +0 -6
  58. package/dist/entities/route.entity.d.ts.map +0 -1
  59. package/dist/entities/route.entity.js.map +0 -1
  60. package/dist/entities/screen.entity.d.ts +0 -6
  61. package/dist/entities/screen.entity.d.ts.map +0 -1
  62. package/dist/entities/screen.entity.js +0 -36
  63. package/dist/entities/screen.entity.js.map +0 -1
  64. package/dist/entities/setting-group.entity.d.ts +0 -6
  65. package/dist/entities/setting-group.entity.d.ts.map +0 -1
  66. package/dist/entities/setting-group.entity.js +0 -39
  67. package/dist/entities/setting-group.entity.js.map +0 -1
  68. package/dist/entities/setting.entity.d.ts +0 -8
  69. package/dist/entities/setting.entity.d.ts.map +0 -1
  70. package/dist/entities/setting.entity.js +0 -51
  71. package/dist/entities/setting.entity.js.map +0 -1
  72. package/dist/entities/translation.entity.d.ts +0 -8
  73. package/dist/entities/translation.entity.d.ts.map +0 -1
  74. package/dist/entities/translation.entity.js +0 -42
  75. package/dist/entities/translation.entity.js.map +0 -1
  76. package/dist/entities/user.entity.d.ts +0 -9
  77. package/dist/entities/user.entity.d.ts.map +0 -1
  78. package/dist/entities/user.entity.js +0 -51
  79. package/dist/entities/user.entity.js.map +0 -1
  80. package/src/entities/country.entity.ts +0 -19
  81. package/src/entities/index.ts +0 -11
  82. package/src/entities/locale.entity.ts +0 -24
  83. package/src/entities/menu.entity.ts +0 -35
  84. package/src/entities/multifactor.entity.ts +0 -12
  85. package/src/entities/role.entity.ts +0 -14
  86. package/src/entities/route.entity.ts +0 -17
  87. package/src/entities/screen.entity.ts +0 -17
  88. package/src/entities/setting-group.entity.ts +0 -20
  89. package/src/entities/setting.entity.ts +0 -30
  90. package/src/entities/translation.entity.ts +0 -21
  91. package/src/entities/user.entity.ts +0 -29
@@ -19,8 +19,6 @@ const create_dto_1 = require("./dto/create.dto");
19
19
  const delete_dto_1 = require("../dto/delete.dto");
20
20
  const update_dto_1 = require("./dto/update.dto");
21
21
  const user_service_1 = require("./user.service");
22
- const auth_guard_1 = require("../auth/guards/auth.guard");
23
- const role_decorator_1 = require("../role/decorators/role.decorator");
24
22
  const update_ids_dto_1 = require("../dto/update-ids.dto");
25
23
  let UserController = class UserController {
26
24
  constructor(userService) {
@@ -105,8 +103,6 @@ __decorate([
105
103
  __metadata("design:returntype", Promise)
106
104
  ], UserController.prototype, "delete", null);
107
105
  exports.UserController = UserController = __decorate([
108
- (0, role_decorator_1.Role)(),
109
- (0, common_1.UseGuards)(auth_guard_1.AuthGuard),
110
106
  (0, common_1.Controller)('users'),
111
107
  __param(0, (0, common_1.Inject)((0, common_1.forwardRef)(() => user_service_1.UserService))),
112
108
  __metadata("design:paramtypes", [user_service_1.UserService])
@@ -1 +1 @@
1
- {"version":3,"file":"user.controller.js","sourceRoot":"","sources":["../../src/user/user.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAChD,2CAYwB;AACxB,iDAA6C;AAC7C,kDAA8C;AAC9C,iDAA6C;AAC7C,iDAA6C;AAC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CAGd;AAGK;IADL,IAAA,cAAK,EAAC,eAAe,CAAC;IAEpB,WAAA,IAAA,cAAK,EAAC,QAAQ,EAAE,qBAAY,CAAC,CAAA;IAC7B,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAO,6BAAY;;iDAG3B;AAGK;IADL,IAAA,YAAG,EAAC,SAAS,CAAC;IACH,WAAA,IAAA,cAAK,EAAC,QAAQ,EAAE,qBAAY,CAAC,CAAA;;;;0CAExC;AAGD;IADC,IAAA,aAAI,GAAE;IACC,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sBAAS;;4CAE7B;AAGK;IADL,IAAA,cAAK,EAAC,SAAS,CAAC;IAEd,WAAA,IAAA,cAAK,EAAC,QAAQ,EAAE,qBAAY,CAAC,CAAA;IAC7B,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAO,sBAAS;;4CAMxB;AAGK;IADL,IAAA,eAAM,GAAE;IACK,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sBAAS;;4CAEnC;yBAnDU,cAAc;IAD1B,IAAA,mBAAU,EAAC,OAAO,CAAC;IAGf,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC,CAAC,CAAA;qCACR,0BAAW;GAHhC,cAAc,CAoD1B"}
package/hedhog.yaml CHANGED
@@ -96,8 +96,12 @@ data:
96
96
  method: GET
97
97
  - url: /settings
98
98
  method: POST
99
+ - url: /settings
100
+ method: PUT
99
101
  - url: /settings/:slug
100
102
  method: PUT
103
+ - url: /settings/users/:slug
104
+ method: PUT
101
105
  - url: /settings/:settingId
102
106
  method: PATCH
103
107
  - url: /settings
@@ -116,6 +120,16 @@ data:
116
120
  method: PATCH
117
121
  - url: /users
118
122
  method: DELETE
123
+ - url: /locales
124
+ method: GET
125
+ - url: /locales/:localeId
126
+ method: GET
127
+ - url: /locales
128
+ method: POST
129
+ - url: /locales/:localeId
130
+ method: PATCH
131
+ - url: /locales
132
+ method: DELETE
119
133
  menus:
120
134
  - url: /
121
135
  icon: dashboard
@@ -1169,6 +1183,7 @@ data:
1169
1183
  en: The system default language, each user can have their own preferred language
1170
1184
  pt: O idioma padrão do sistema, cada usuário pode ter o seu próprio idioma preferido
1171
1185
  value: en
1186
+ user_override: true
1172
1187
  - slug: timezone
1173
1188
  type: string
1174
1189
  name:
@@ -1178,6 +1193,7 @@ data:
1178
1193
  en: The timezone to use
1179
1194
  pt: O fuso horário a utilizar
1180
1195
  value: UTC
1196
+ user_override: true
1181
1197
  - slug: appearance
1182
1198
  icon: palette
1183
1199
  name:
@@ -1262,7 +1278,6 @@ tables:
1262
1278
  - type: created_at
1263
1279
  - type: updated_at
1264
1280
  ifNotExists: true
1265
-
1266
1281
  country_translations:
1267
1282
  columns:
1268
1283
  - name: country_id
@@ -1283,7 +1298,6 @@ tables:
1283
1298
  - type: created_at
1284
1299
  - type: updated_at
1285
1300
  ifNotExists: true
1286
-
1287
1301
  translation_namespaces:
1288
1302
  columns:
1289
1303
  - type: pk
@@ -1291,7 +1305,6 @@ tables:
1291
1305
  - type: created_at
1292
1306
  - type: updated_at
1293
1307
  ifNotExists: true
1294
-
1295
1308
  translations:
1296
1309
  columns:
1297
1310
  - type: pk
@@ -1318,7 +1331,6 @@ tables:
1318
1331
  - name
1319
1332
  isUnique: true
1320
1333
  ifNotExists: true
1321
-
1322
1334
  multifactors:
1323
1335
  columns:
1324
1336
  - type: pk
@@ -1326,7 +1338,6 @@ tables:
1326
1338
  - type: created_at
1327
1339
  - type: updated_at
1328
1340
  ifNotExists: true
1329
-
1330
1341
  multifactor_translations:
1331
1342
  columns:
1332
1343
  - name: multifactor_id
@@ -1347,7 +1358,6 @@ tables:
1347
1358
  - type: created_at
1348
1359
  - type: updated_at
1349
1360
  ifNotExists: true
1350
-
1351
1361
  users:
1352
1362
  columns:
1353
1363
  - type: pk
@@ -1366,7 +1376,6 @@ tables:
1366
1376
  - type: created_at
1367
1377
  - type: updated_at
1368
1378
  ifNotExists: true
1369
-
1370
1379
  screens:
1371
1380
  columns:
1372
1381
  - type: pk
@@ -1376,7 +1385,6 @@ tables:
1376
1385
  - type: created_at
1377
1386
  - type: updated_at
1378
1387
  ifNotExists: true
1379
-
1380
1388
  screen_translations:
1381
1389
  columns:
1382
1390
  - name: screen_id
@@ -1398,7 +1406,6 @@ tables:
1398
1406
  - type: created_at
1399
1407
  - type: updated_at
1400
1408
  ifNotExists: true
1401
-
1402
1409
  menus:
1403
1410
  columns:
1404
1411
  - type: pk
@@ -1418,7 +1425,6 @@ tables:
1418
1425
  - type: created_at
1419
1426
  - type: updated_at
1420
1427
  ifNotExists: true
1421
-
1422
1428
  menu_translations:
1423
1429
  columns:
1424
1430
  - name: menu_id
@@ -1439,7 +1445,6 @@ tables:
1439
1445
  - type: created_at
1440
1446
  - type: updated_at
1441
1447
  ifNotExists: true
1442
-
1443
1448
  menu_screens:
1444
1449
  columns:
1445
1450
  - name: menu_id
@@ -1457,7 +1462,6 @@ tables:
1457
1462
  column: id
1458
1463
  onDelete: CASCADE
1459
1464
  ifNotExists: true
1460
-
1461
1465
  routes:
1462
1466
  columns:
1463
1467
  - type: pk
@@ -1478,7 +1482,6 @@ tables:
1478
1482
  - columns: ['url', 'method']
1479
1483
  isUnique: true
1480
1484
  ifNotExists: true
1481
-
1482
1485
  roles:
1483
1486
  columns:
1484
1487
  - type: pk
@@ -1486,7 +1489,6 @@ tables:
1486
1489
  - type: created_at
1487
1490
  - type: updated_at
1488
1491
  ifNotExists: true
1489
-
1490
1492
  role_translations:
1491
1493
  columns:
1492
1494
  - name: role_id
@@ -1508,7 +1510,6 @@ tables:
1508
1510
  - type: created_at
1509
1511
  - type: updated_at
1510
1512
  ifNotExists: true
1511
-
1512
1513
  role_menus:
1513
1514
  columns:
1514
1515
  - name: role_id
@@ -1528,7 +1529,6 @@ tables:
1528
1529
  - type: created_at
1529
1530
  - type: updated_at
1530
1531
  ifNotExists: true
1531
-
1532
1532
  route_screens:
1533
1533
  columns:
1534
1534
  - name: route_id
@@ -1665,7 +1665,7 @@ tables:
1665
1665
  - name: value
1666
1666
  length: 1023
1667
1667
  isNullable: true
1668
- - name: userOverride
1668
+ - name: user_override
1669
1669
  type: boolean
1670
1670
  default: false
1671
1671
  - type: created_at
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedhog/admin",
3
- "version": "0.0.92",
3
+ "version": "0.0.94",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,6 +0,0 @@
1
- export declare class Country {
2
- id: number;
3
- name: string;
4
- code: string;
5
- }
6
- //# sourceMappingURL=country.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"country.entity.d.ts","sourceRoot":"","sources":["../../src/entities/country.entity.ts"],"names":[],"mappings":"AAEA,qBAGa,OAAO;IAIlB,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,38 +0,0 @@
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.Country = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let Country = class Country {
15
- };
16
- exports.Country = Country;
17
- __decorate([
18
- (0, typeorm_1.PrimaryGeneratedColumn)({
19
- unsigned: true,
20
- }),
21
- __metadata("design:type", Number)
22
- ], Country.prototype, "id", void 0);
23
- __decorate([
24
- (0, typeorm_1.Column)(),
25
- __metadata("design:type", String)
26
- ], Country.prototype, "name", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)({
29
- length: 3,
30
- }),
31
- __metadata("design:type", String)
32
- ], Country.prototype, "code", void 0);
33
- exports.Country = Country = __decorate([
34
- (0, typeorm_1.Entity)({
35
- name: 'countries',
36
- })
37
- ], Country);
38
- //# sourceMappingURL=country.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"country.entity.js","sourceRoot":"","sources":["../../src/entities/country.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAiE;AAK1D,IAAM,OAAO,GAAb,MAAM,OAAO;CAanB,CAAA;AAbY,0BAAO;AAIlB;IAHC,IAAA,gCAAsB,EAAC;QACtB,QAAQ,EAAE,IAAI;KACf,CAAC;;mCACS;AAGX;IADC,IAAA,gBAAM,GAAE;;qCACI;AAKb;IAHC,IAAA,gBAAM,EAAC;QACN,MAAM,EAAE,CAAC;KACV,CAAC;;qCACW;kBAZF,OAAO;IAHnB,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,WAAW;KAClB,CAAC;GACW,OAAO,CAanB"}
@@ -1,12 +0,0 @@
1
- export * from './user.entity';
2
- export * from './translation.entity';
3
- export * from './screen.entity';
4
- export * from './role.entity';
5
- export * from './multifactor.entity';
6
- export * from './locale.entity';
7
- export * from './country.entity';
8
- export * from './menu.entity';
9
- export * from './route.entity';
10
- export * from './setting-group.entity';
11
- export * from './setting.entity';
12
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./user.entity"), exports);
18
- __exportStar(require("./translation.entity"), exports);
19
- __exportStar(require("./screen.entity"), exports);
20
- __exportStar(require("./role.entity"), exports);
21
- __exportStar(require("./multifactor.entity"), exports);
22
- __exportStar(require("./locale.entity"), exports);
23
- __exportStar(require("./country.entity"), exports);
24
- __exportStar(require("./menu.entity"), exports);
25
- __exportStar(require("./route.entity"), exports);
26
- __exportStar(require("./setting-group.entity"), exports);
27
- __exportStar(require("./setting.entity"), exports);
28
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC;AACrC,kDAAgC;AAChC,gDAA8B;AAC9B,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,mDAAiC"}
@@ -1,7 +0,0 @@
1
- export declare class Locale {
2
- id: number;
3
- code: string;
4
- region: string;
5
- enabled: boolean;
6
- }
7
- //# sourceMappingURL=locale.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"locale.entity.d.ts","sourceRoot":"","sources":["../../src/entities/locale.entity.ts"],"names":[],"mappings":"AAEA,qBAGa,MAAM;IAIjB,EAAE,EAAE,MAAM,CAAC;IAKX,IAAI,EAAE,MAAM,CAAC;IAKb,MAAM,EAAE,MAAM,CAAC;IAGf,OAAO,EAAE,OAAO,CAAC;CAClB"}
@@ -1,44 +0,0 @@
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.Locale = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let Locale = class Locale {
15
- };
16
- exports.Locale = Locale;
17
- __decorate([
18
- (0, typeorm_1.PrimaryGeneratedColumn)({
19
- unsigned: true,
20
- }),
21
- __metadata("design:type", Number)
22
- ], Locale.prototype, "id", void 0);
23
- __decorate([
24
- (0, typeorm_1.Column)({
25
- length: 2,
26
- }),
27
- __metadata("design:type", String)
28
- ], Locale.prototype, "code", void 0);
29
- __decorate([
30
- (0, typeorm_1.Column)({
31
- length: 2,
32
- }),
33
- __metadata("design:type", String)
34
- ], Locale.prototype, "region", void 0);
35
- __decorate([
36
- (0, typeorm_1.Column)(),
37
- __metadata("design:type", Boolean)
38
- ], Locale.prototype, "enabled", void 0);
39
- exports.Locale = Locale = __decorate([
40
- (0, typeorm_1.Entity)({
41
- name: 'locales',
42
- })
43
- ], Locale);
44
- //# sourceMappingURL=locale.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"locale.entity.js","sourceRoot":"","sources":["../../src/entities/locale.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAKtE,IAAM,MAAM,GAAZ,MAAM,MAAM;CAkBlB,CAAA;AAlBY,wBAAM;AAIjB;IAHC,IAAA,gCAAsB,EAAC;QACtB,QAAQ,EAAE,IAAI;KACf,CAAC;;kCACS;AAKX;IAHC,IAAA,gBAAM,EAAC;QACN,MAAM,EAAE,CAAC;KACV,CAAC;;oCACW;AAKb;IAHC,IAAA,gBAAM,EAAC;QACN,MAAM,EAAE,CAAC;KACV,CAAC;;sCACa;AAGf;IADC,IAAA,gBAAM,GAAE;;uCACQ;iBAjBN,MAAM;IAHlB,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,SAAS;KAChB,CAAC;GACW,MAAM,CAkBlB"}
@@ -1,9 +0,0 @@
1
- export declare class Menu {
2
- id: number;
3
- menu_id?: string;
4
- slug: string;
5
- url?: string;
6
- order: number;
7
- icon?: string;
8
- }
9
- //# sourceMappingURL=menu.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.entity.d.ts","sourceRoot":"","sources":["../../src/entities/menu.entity.ts"],"names":[],"mappings":"AAEA,qBAGa,IAAI;IAEf,EAAE,EAAE,MAAM,CAAC;IAOX,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,MAAM,CAAC;IAKb,GAAG,CAAC,EAAE,MAAM,CAAC;IAMb,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1,57 +0,0 @@
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.Menu = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let Menu = class Menu {
15
- };
16
- exports.Menu = Menu;
17
- __decorate([
18
- (0, typeorm_1.PrimaryGeneratedColumn)(),
19
- __metadata("design:type", Number)
20
- ], Menu.prototype, "id", void 0);
21
- __decorate([
22
- (0, typeorm_1.JoinColumn)(),
23
- (0, typeorm_1.Column)({
24
- nullable: true,
25
- unsigned: true,
26
- }),
27
- __metadata("design:type", String)
28
- ], Menu.prototype, "menu_id", void 0);
29
- __decorate([
30
- (0, typeorm_1.Column)(),
31
- __metadata("design:type", String)
32
- ], Menu.prototype, "slug", void 0);
33
- __decorate([
34
- (0, typeorm_1.Column)({
35
- nullable: true,
36
- }),
37
- __metadata("design:type", String)
38
- ], Menu.prototype, "url", void 0);
39
- __decorate([
40
- (0, typeorm_1.Column)({
41
- default: 0,
42
- unsigned: true,
43
- }),
44
- __metadata("design:type", Number)
45
- ], Menu.prototype, "order", void 0);
46
- __decorate([
47
- (0, typeorm_1.Column)({
48
- nullable: true,
49
- }),
50
- __metadata("design:type", String)
51
- ], Menu.prototype, "icon", void 0);
52
- exports.Menu = Menu = __decorate([
53
- (0, typeorm_1.Entity)({
54
- name: 'menus',
55
- })
56
- ], Menu);
57
- //# sourceMappingURL=menu.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.entity.js","sourceRoot":"","sources":["../../src/entities/menu.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAKtE,IAAM,IAAI,GAAV,MAAM,IAAI;CA6BhB,CAAA;AA7BY,oBAAI;AAEf;IADC,IAAA,gCAAsB,GAAE;;gCACd;AAOX;IALC,IAAA,oBAAU,GAAE;IACZ,IAAA,gBAAM,EAAC;QACN,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;KACf,CAAC;;qCACe;AAGjB;IADC,IAAA,gBAAM,GAAE;;kCACI;AAKb;IAHC,IAAA,gBAAM,EAAC;QACN,QAAQ,EAAE,IAAI;KACf,CAAC;;iCACW;AAMb;IAJC,IAAA,gBAAM,EAAC;QACN,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,IAAI;KACf,CAAC;;mCACY;AAKd;IAHC,IAAA,gBAAM,EAAC;QACN,QAAQ,EAAE,IAAI;KACf,CAAC;;kCACY;eA5BH,IAAI;IAHhB,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,OAAO;KACd,CAAC;GACW,IAAI,CA6BhB"}
@@ -1,5 +0,0 @@
1
- export declare class Multifactor {
2
- id: number;
3
- slug: string;
4
- }
5
- //# sourceMappingURL=multifactor.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"multifactor.entity.d.ts","sourceRoot":"","sources":["../../src/entities/multifactor.entity.ts"],"names":[],"mappings":"AAEA,qBAGa,WAAW;IAEtB,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,30 +0,0 @@
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.Multifactor = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let Multifactor = class Multifactor {
15
- };
16
- exports.Multifactor = Multifactor;
17
- __decorate([
18
- (0, typeorm_1.PrimaryGeneratedColumn)(),
19
- __metadata("design:type", Number)
20
- ], Multifactor.prototype, "id", void 0);
21
- __decorate([
22
- (0, typeorm_1.Column)(),
23
- __metadata("design:type", String)
24
- ], Multifactor.prototype, "slug", void 0);
25
- exports.Multifactor = Multifactor = __decorate([
26
- (0, typeorm_1.Entity)({
27
- name: 'multifactors',
28
- })
29
- ], Multifactor);
30
- //# sourceMappingURL=multifactor.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"multifactor.entity.js","sourceRoot":"","sources":["../../src/entities/multifactor.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAKtE,IAAM,WAAW,GAAjB,MAAM,WAAW;CAMvB,CAAA;AANY,kCAAW;AAEtB;IADC,IAAA,gCAAsB,GAAE;;uCACd;AAGX;IADC,IAAA,gBAAM,GAAE;;yCACI;sBALF,WAAW;IAHvB,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,cAAc;KACrB,CAAC;GACW,WAAW,CAMvB"}
@@ -1,5 +0,0 @@
1
- export declare class Role {
2
- id: number;
3
- slug: string;
4
- }
5
- //# sourceMappingURL=role.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.entity.d.ts","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":"AAEA,qBAGa,IAAI;IAEf,EAAE,EAAE,MAAM,CAAC;IAKX,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAKtE,IAAM,IAAI,GAAV,MAAM,IAAI;CAQhB,CAAA;AARY,oBAAI;AAEf;IADC,IAAA,gCAAsB,GAAE;;gCACd;AAKX;IAHC,IAAA,gBAAM,EAAC;QACN,MAAM,EAAE,IAAI;KACb,CAAC;;kCACW;eAPF,IAAI;IAHhB,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,OAAO;KACd,CAAC;GACW,IAAI,CAQhB"}
@@ -1,6 +0,0 @@
1
- export declare class Route {
2
- id: number;
3
- url: string;
4
- method: string;
5
- }
6
- //# sourceMappingURL=route.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"route.entity.d.ts","sourceRoot":"","sources":["../../src/entities/route.entity.ts"],"names":[],"mappings":"AAEA,qBAGa,KAAK;IAEhB,EAAE,EAAE,MAAM,CAAC;IAGX,GAAG,EAAE,MAAM,CAAC;IAKZ,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"route.entity.js","sourceRoot":"","sources":["../../src/entities/route.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAKtE,IAAM,KAAK,GAAX,MAAM,KAAK;CAWjB,CAAA;AAXY,sBAAK;AAEhB;IADC,IAAA,gCAAsB,GAAE;;iCACd;AAGX;IADC,IAAA,gBAAM,GAAE;;kCACG;AAKZ;IAHC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC;KACnE,CAAC;;qCACa;gBAVJ,KAAK;IAHjB,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,QAAQ;KACf,CAAC;GACW,KAAK,CAWjB"}
@@ -1,6 +0,0 @@
1
- export declare class Screen {
2
- id: number;
3
- slug: string;
4
- icon?: string;
5
- }
6
- //# sourceMappingURL=screen.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"screen.entity.d.ts","sourceRoot":"","sources":["../../src/entities/screen.entity.ts"],"names":[],"mappings":"AAEA,qBAGa,MAAM;IAEjB,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1,36 +0,0 @@
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.Screen = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let Screen = class Screen {
15
- };
16
- exports.Screen = Screen;
17
- __decorate([
18
- (0, typeorm_1.PrimaryGeneratedColumn)(),
19
- __metadata("design:type", Number)
20
- ], Screen.prototype, "id", void 0);
21
- __decorate([
22
- (0, typeorm_1.Column)(),
23
- __metadata("design:type", String)
24
- ], Screen.prototype, "slug", void 0);
25
- __decorate([
26
- (0, typeorm_1.Column)({
27
- nullable: true,
28
- }),
29
- __metadata("design:type", String)
30
- ], Screen.prototype, "icon", void 0);
31
- exports.Screen = Screen = __decorate([
32
- (0, typeorm_1.Entity)({
33
- name: 'screens',
34
- })
35
- ], Screen);
36
- //# sourceMappingURL=screen.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"screen.entity.js","sourceRoot":"","sources":["../../src/entities/screen.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAKtE,IAAM,MAAM,GAAZ,MAAM,MAAM;CAWlB,CAAA;AAXY,wBAAM;AAEjB;IADC,IAAA,gCAAsB,GAAE;;kCACd;AAGX;IADC,IAAA,gBAAM,GAAE;;oCACI;AAKb;IAHC,IAAA,gBAAM,EAAC;QACN,QAAQ,EAAE,IAAI;KACf,CAAC;;oCACY;iBAVH,MAAM;IAHlB,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,SAAS;KAChB,CAAC;GACW,MAAM,CAWlB"}
@@ -1,6 +0,0 @@
1
- export declare class SettingGroup {
2
- id: number;
3
- icon: string;
4
- slug: string;
5
- }
6
- //# sourceMappingURL=setting-group.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setting-group.entity.d.ts","sourceRoot":"","sources":["../../src/entities/setting-group.entity.ts"],"names":[],"mappings":"AAEA,qBAGa,YAAY;IAEvB,EAAE,EAAE,MAAM,CAAC;IAKX,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,39 +0,0 @@
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.SettingGroup = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let SettingGroup = class SettingGroup {
15
- };
16
- exports.SettingGroup = SettingGroup;
17
- __decorate([
18
- (0, typeorm_1.PrimaryGeneratedColumn)(),
19
- __metadata("design:type", Number)
20
- ], SettingGroup.prototype, "id", void 0);
21
- __decorate([
22
- (0, typeorm_1.Column)({
23
- length: 31,
24
- }),
25
- __metadata("design:type", String)
26
- ], SettingGroup.prototype, "icon", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)({
29
- unique: true,
30
- length: 63,
31
- }),
32
- __metadata("design:type", String)
33
- ], SettingGroup.prototype, "slug", void 0);
34
- exports.SettingGroup = SettingGroup = __decorate([
35
- (0, typeorm_1.Entity)({
36
- name: 'setting_groups',
37
- })
38
- ], SettingGroup);
39
- //# sourceMappingURL=setting-group.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setting-group.entity.js","sourceRoot":"","sources":["../../src/entities/setting-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6E;AAKtE,IAAM,YAAY,GAAlB,MAAM,YAAY;CAcxB,CAAA;AAdY,oCAAY;AAEvB;IADC,IAAA,gCAAsB,GAAE;;wCACd;AAKX;IAHC,IAAA,gBAAM,EAAC;QACN,MAAM,EAAE,EAAE;KACX,CAAC;;0CACW;AAMb;IAJC,IAAA,gBAAM,EAAC;QACN,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,EAAE;KACX,CAAC;;0CACW;uBAbF,YAAY;IAHxB,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,gBAAgB;KACvB,CAAC;GACW,YAAY,CAcxB"}
@@ -1,8 +0,0 @@
1
- export declare class Setting {
2
- id: number;
3
- slug: string;
4
- type: string;
5
- value: string;
6
- userOverride: boolean;
7
- }
8
- //# sourceMappingURL=setting.entity.d.ts.map