@hedhog/admin 0.48.11 → 0.48.13

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 (59) hide show
  1. package/dist/admin.module.d.ts.map +1 -1
  2. package/dist/admin.module.js +1 -0
  3. package/dist/admin.module.js.map +1 -1
  4. package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +29 -0
  5. package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts.map +1 -0
  6. package/dist/dashboard/dashboard-core/dashboard-core.controller.js +38 -0
  7. package/dist/dashboard/dashboard-core/dashboard-core.controller.js.map +1 -0
  8. package/dist/dashboard/dashboard-core/dashboard-core.module.d.ts +3 -0
  9. package/dist/dashboard/dashboard-core/dashboard-core.module.d.ts.map +1 -0
  10. package/dist/dashboard/dashboard-core/dashboard-core.module.js +26 -0
  11. package/dist/dashboard/dashboard-core/dashboard-core.module.js.map +1 -0
  12. package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +29 -0
  13. package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts.map +1 -0
  14. package/dist/dashboard/dashboard-core/dashboard-core.service.js +33 -0
  15. package/dist/dashboard/dashboard-core/dashboard-core.service.js.map +1 -0
  16. package/dist/dashboard/dashboard.module.d.ts.map +1 -1
  17. package/dist/dashboard/dashboard.module.js +5 -3
  18. package/dist/dashboard/dashboard.module.js.map +1 -1
  19. package/dist/setting/setting.module.d.ts.map +1 -1
  20. package/dist/setting/setting.module.js +8 -1
  21. package/dist/setting/setting.module.js.map +1 -1
  22. package/hedhog/tables/dashboard.yaml +9 -0
  23. package/hedhog/tables/dashboard_component.yaml +34 -0
  24. package/hedhog/tables/dashboard_component_locale.yaml +24 -0
  25. package/hedhog/tables/dashboard_item.yaml +25 -0
  26. package/hedhog/tables/dashboard_locale.yaml +24 -0
  27. package/hedhog/tables/dashboard_user.yaml +25 -0
  28. package/hedhog/tables/menu.yaml +18 -0
  29. package/hedhog/tables/menu_locale.yaml +19 -0
  30. package/hedhog/tables/menu_screen.yaml +16 -0
  31. package/hedhog/tables/multifactor.yaml +6 -0
  32. package/hedhog/tables/multifactor_locale.yaml +19 -0
  33. package/hedhog/tables/role.yaml +6 -0
  34. package/hedhog/tables/role_locale.yaml +20 -0
  35. package/hedhog/tables/role_menu.yaml +18 -0
  36. package/hedhog/tables/role_route.yaml +18 -0
  37. package/hedhog/tables/role_screen.yaml +18 -0
  38. package/hedhog/tables/role_user.yaml +18 -0
  39. package/hedhog/tables/route.yaml +23 -0
  40. package/hedhog/tables/route_screen.yaml +18 -0
  41. package/hedhog/tables/screen.yaml +8 -0
  42. package/hedhog/tables/screen_locale.yaml +20 -0
  43. package/hedhog/tables/setting.yaml +27 -0
  44. package/hedhog/tables/setting_group.yaml +8 -0
  45. package/hedhog/tables/setting_group_locale.yaml +23 -0
  46. package/hedhog/tables/setting_locale.yaml +24 -0
  47. package/hedhog/tables/setting_user.yaml +21 -0
  48. package/hedhog/tables/translation.yaml +25 -0
  49. package/hedhog/tables/translation_namespace.yaml +6 -0
  50. package/hedhog/tables/user.yaml +18 -0
  51. package/hedhog/tables/user_activity.yaml +14 -0
  52. package/hedhog.yaml +16 -580
  53. package/package.json +1 -1
  54. package/src/admin.module.ts +1 -0
  55. package/src/dashboard/dashboard-core/dashboard-core.controller.ts +12 -0
  56. package/src/dashboard/dashboard-core/dashboard-core.module.ts +14 -0
  57. package/src/dashboard/dashboard-core/dashboard-core.service.ts +16 -0
  58. package/src/dashboard/dashboard.module.ts +5 -3
  59. package/src/setting/setting.module.ts +9 -2
@@ -0,0 +1,18 @@
1
+ columns:
2
+ - name: route_id
3
+ type: fk
4
+ isPrimary: true
5
+ references:
6
+ table: route
7
+ column: id
8
+ onDelete: CASCADE
9
+ - name: screen_id
10
+ type: fk
11
+ isPrimary: true
12
+ references:
13
+ table: screen
14
+ column: id
15
+ onDelete: CASCADE
16
+ - type: created_at
17
+ - type: updated_at
18
+ ifNotExists: true
@@ -0,0 +1,8 @@
1
+ columns:
2
+ - type: pk
3
+ - type: slug
4
+ - name: icon
5
+ isNullable: true
6
+ - type: created_at
7
+ - type: updated_at
8
+ ifNotExists: true
@@ -0,0 +1,20 @@
1
+ columns:
2
+ - name: screen_id
3
+ type: fk
4
+ isPrimary: true
5
+ references:
6
+ table: screen
7
+ column: id
8
+ onDelete: CASCADE
9
+ - name: locale_id
10
+ type: fk
11
+ isPrimary: true
12
+ references:
13
+ table: locale
14
+ column: id
15
+ onDelete: CASCADE
16
+ - name: name
17
+ - name: description
18
+ - type: created_at
19
+ - type: updated_at
20
+ ifNotExists: true
@@ -0,0 +1,27 @@
1
+ columns:
2
+ - type: pk
3
+ - name: group_id
4
+ type: fk
5
+ references:
6
+ table: setting_group
7
+ column: id
8
+ onDelete: CASCADE
9
+ - type: slug
10
+ - name: type
11
+ type: enum
12
+ enum:
13
+ - string
14
+ - array
15
+ - number
16
+ - boolean
17
+ - json
18
+ default: string
19
+ - name: value
20
+ length: 1023
21
+ isNullable: true
22
+ - name: user_override
23
+ type: boolean
24
+ default: false
25
+ - type: created_at
26
+ - type: updated_at
27
+ ifNotExists: true
@@ -0,0 +1,8 @@
1
+ columns:
2
+ - type: pk
3
+ - name: icon
4
+ length: 31
5
+ - type: slug
6
+ - type: created_at
7
+ - type: updated_at
8
+ ifNotExists: true
@@ -0,0 +1,23 @@
1
+ columns:
2
+ - name: locale_id
3
+ type: fk
4
+ isPrimary: true
5
+ references:
6
+ table: locale
7
+ column: id
8
+ onDelete: CASCADE
9
+ - name: group_id
10
+ type: fk
11
+ isPrimary: true
12
+ references:
13
+ table: setting_group
14
+ column: id
15
+ onDelete: CASCADE
16
+ - name: name
17
+ length: 63
18
+ - name: description
19
+ length: 255
20
+ isNullable: true
21
+ - type: created_at
22
+ - type: updated_at
23
+ ifNotExists: true
@@ -0,0 +1,24 @@
1
+ columns:
2
+ - name: locale_id
3
+ type: fk
4
+ isPrimary: true
5
+ references:
6
+ table: locale
7
+ column: id
8
+ onDelete: CASCADE
9
+ - name: setting_id
10
+ type: fk
11
+ isPrimary: true
12
+ references:
13
+ table: setting
14
+ column: id
15
+ onDelete: CASCADE
16
+ - name: description
17
+ length: 255
18
+ isNullable: true
19
+ - name: name
20
+ length: 63
21
+ isNullable: true
22
+ - type: created_at
23
+ - type: updated_at
24
+ ifNotExists: true
@@ -0,0 +1,21 @@
1
+ columns:
2
+ - name: user_id
3
+ type: fk
4
+ isPrimary: true
5
+ references:
6
+ table: user
7
+ column: id
8
+ onDelete: CASCADE
9
+ - name: setting_id
10
+ type: fk
11
+ isPrimary: true
12
+ references:
13
+ table: setting
14
+ column: id
15
+ onDelete: CASCADE
16
+ - name: value
17
+ length: 1023
18
+ isNullable: true
19
+ - type: created_at
20
+ - type: updated_at
21
+ ifNotExists: true
@@ -0,0 +1,25 @@
1
+ columns:
2
+ - type: pk
3
+ - name: locale_id
4
+ type: fk
5
+ references:
6
+ table: locale
7
+ column: id
8
+ onDelete: CASCADE
9
+ - name: namespace_id
10
+ type: fk
11
+ references:
12
+ table: translation_namespace
13
+ column: id
14
+ onDelete: CASCADE
15
+ - name: name
16
+ - name: value
17
+ - type: created_at
18
+ - type: updated_at
19
+ indices:
20
+ - columns:
21
+ - locale_id
22
+ - namespace_id
23
+ - name
24
+ isUnique: true
25
+ ifNotExists: true
@@ -0,0 +1,6 @@
1
+ columns:
2
+ - type: pk
3
+ - name: name
4
+ - type: created_at
5
+ - type: updated_at
6
+ ifNotExists: true
@@ -0,0 +1,18 @@
1
+ columns:
2
+ - type: pk
3
+ - name: multifactor_id
4
+ type: fk
5
+ isNullable: true
6
+ references:
7
+ table: multifactor
8
+ column: id
9
+ onDelete: SET NULL
10
+ - name: name
11
+ - name: email
12
+ isUnique: true
13
+ - name: password
14
+ - name: code
15
+ isNullable: true
16
+ - type: created_at
17
+ - type: updated_at
18
+ ifNotExists: true
@@ -0,0 +1,14 @@
1
+ columns:
2
+ - type: pk
3
+ - name: user_id
4
+ type: fk
5
+ references:
6
+ table: user
7
+ column: id
8
+ onDelete: CASCADE
9
+ - name: ip
10
+ - name: user_agent
11
+ - name: message
12
+ - type: created_at
13
+ - type: updated_at
14
+ ifNotExists: true