@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.
- package/dist/admin.module.d.ts.map +1 -1
- package/dist/admin.module.js +1 -0
- package/dist/admin.module.js.map +1 -1
- package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +29 -0
- package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts.map +1 -0
- package/dist/dashboard/dashboard-core/dashboard-core.controller.js +38 -0
- package/dist/dashboard/dashboard-core/dashboard-core.controller.js.map +1 -0
- package/dist/dashboard/dashboard-core/dashboard-core.module.d.ts +3 -0
- package/dist/dashboard/dashboard-core/dashboard-core.module.d.ts.map +1 -0
- package/dist/dashboard/dashboard-core/dashboard-core.module.js +26 -0
- package/dist/dashboard/dashboard-core/dashboard-core.module.js.map +1 -0
- package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +29 -0
- package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts.map +1 -0
- package/dist/dashboard/dashboard-core/dashboard-core.service.js +33 -0
- package/dist/dashboard/dashboard-core/dashboard-core.service.js.map +1 -0
- package/dist/dashboard/dashboard.module.d.ts.map +1 -1
- package/dist/dashboard/dashboard.module.js +5 -3
- package/dist/dashboard/dashboard.module.js.map +1 -1
- package/dist/setting/setting.module.d.ts.map +1 -1
- package/dist/setting/setting.module.js +8 -1
- package/dist/setting/setting.module.js.map +1 -1
- package/hedhog/tables/dashboard.yaml +9 -0
- package/hedhog/tables/dashboard_component.yaml +34 -0
- package/hedhog/tables/dashboard_component_locale.yaml +24 -0
- package/hedhog/tables/dashboard_item.yaml +25 -0
- package/hedhog/tables/dashboard_locale.yaml +24 -0
- package/hedhog/tables/dashboard_user.yaml +25 -0
- package/hedhog/tables/menu.yaml +18 -0
- package/hedhog/tables/menu_locale.yaml +19 -0
- package/hedhog/tables/menu_screen.yaml +16 -0
- package/hedhog/tables/multifactor.yaml +6 -0
- package/hedhog/tables/multifactor_locale.yaml +19 -0
- package/hedhog/tables/role.yaml +6 -0
- package/hedhog/tables/role_locale.yaml +20 -0
- package/hedhog/tables/role_menu.yaml +18 -0
- package/hedhog/tables/role_route.yaml +18 -0
- package/hedhog/tables/role_screen.yaml +18 -0
- package/hedhog/tables/role_user.yaml +18 -0
- package/hedhog/tables/route.yaml +23 -0
- package/hedhog/tables/route_screen.yaml +18 -0
- package/hedhog/tables/screen.yaml +8 -0
- package/hedhog/tables/screen_locale.yaml +20 -0
- package/hedhog/tables/setting.yaml +27 -0
- package/hedhog/tables/setting_group.yaml +8 -0
- package/hedhog/tables/setting_group_locale.yaml +23 -0
- package/hedhog/tables/setting_locale.yaml +24 -0
- package/hedhog/tables/setting_user.yaml +21 -0
- package/hedhog/tables/translation.yaml +25 -0
- package/hedhog/tables/translation_namespace.yaml +6 -0
- package/hedhog/tables/user.yaml +18 -0
- package/hedhog/tables/user_activity.yaml +14 -0
- package/hedhog.yaml +16 -580
- package/package.json +1 -1
- package/src/admin.module.ts +1 -0
- package/src/dashboard/dashboard-core/dashboard-core.controller.ts +12 -0
- package/src/dashboard/dashboard-core/dashboard-core.module.ts +14 -0
- package/src/dashboard/dashboard-core/dashboard-core.service.ts +16 -0
- package/src/dashboard/dashboard.module.ts +5 -3
- 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,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,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,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
|