@hedhog/setting 0.0.10 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"setting.module.d.ts","sourceRoot":"","sources":["../src/setting.module.ts"],"names":[],"mappings":"AAOA,qBAUa,aAAa;CAAG"}
1
+ {"version":3,"file":"setting.module.d.ts","sourceRoot":"","sources":["../src/setting.module.ts"],"names":[],"mappings":"AAQA,qBAWa,aAAa;CAAG"}
@@ -13,6 +13,7 @@ const prisma_1 = require("@hedhog/prisma");
13
13
  const common_1 = require("@nestjs/common");
14
14
  const setting_controller_1 = require("./setting/setting.controller");
15
15
  const setting_service_1 = require("./setting/setting.service");
16
+ const locale_1 = require("@hedhog/locale");
16
17
  let SettingModule = class SettingModule {
17
18
  };
18
19
  exports.SettingModule = SettingModule;
@@ -22,6 +23,7 @@ exports.SettingModule = SettingModule = __decorate([
22
23
  exports: [setting_service_1.SettingService],
23
24
  controllers: [setting_controller_1.SettingsController],
24
25
  imports: [
26
+ (0, common_1.forwardRef)(() => locale_1.LocaleModule),
25
27
  (0, common_1.forwardRef)(() => prisma_1.PrismaModule),
26
28
  (0, common_1.forwardRef)(() => pagination_1.PaginationModule),
27
29
  (0, common_1.forwardRef)(() => file_1.FileModule),
@@ -1 +1 @@
1
- {"version":3,"file":"setting.module.js","sourceRoot":"","sources":["../src/setting.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,uCAA0C;AAC1C,mDAAsD;AACtD,2CAA8C;AAC9C,2CAAoD;AACpD,qEAAkE;AAClE,+DAA2D;AAYpD,IAAM,aAAa,GAAnB,MAAM,aAAa;CAAG,CAAA;AAAhB,sCAAa;wBAAb,aAAa;IAVzB,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,gCAAc,CAAC;QAC3B,OAAO,EAAE,CAAC,gCAAc,CAAC;QACzB,WAAW,EAAE,CAAC,uCAAkB,CAAC;QACjC,OAAO,EAAE;YACP,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,6BAAgB,CAAC;YAClC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,iBAAU,CAAC;SAC7B;KACF,CAAC;GACW,aAAa,CAAG"}
1
+ {"version":3,"file":"setting.module.js","sourceRoot":"","sources":["../src/setting.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,uCAA0C;AAC1C,mDAAsD;AACtD,2CAA8C;AAC9C,2CAAoD;AACpD,qEAAkE;AAClE,+DAA2D;AAC3D,2CAA8C;AAavC,IAAM,aAAa,GAAnB,MAAM,aAAa;CAAG,CAAA;AAAhB,sCAAa;wBAAb,aAAa;IAXzB,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,gCAAc,CAAC;QAC3B,OAAO,EAAE,CAAC,gCAAc,CAAC;QACzB,WAAW,EAAE,CAAC,uCAAkB,CAAC;QACjC,OAAO,EAAE;YACP,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,6BAAgB,CAAC;YAClC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,iBAAU,CAAC;SAC7B;KACF,CAAC;GACW,aAAa,CAAG"}
package/hedhog.yaml CHANGED
@@ -17,7 +17,8 @@ data:
17
17
  pt: Idioma Padrão
18
18
  description:
19
19
  en: The system default language, each user can have their own preferred language
20
- pt: O idioma padrão do sistema, cada usuário pode ter o seu próprio idioma
20
+ pt:
21
+ O idioma padrão do sistema, cada usuário pode ter o seu próprio idioma
21
22
  preferido
22
23
  value: en
23
24
  user_override: true
@@ -49,7 +50,7 @@ data:
49
50
  description:
50
51
  en: The primary color to use
51
52
  pt: A cor primária a utilizar
52
- value: "#000000"
53
+ value: '#000000'
53
54
  - slug: theme-primary-foreground
54
55
  type: string
55
56
  name:
@@ -58,7 +59,7 @@ data:
58
59
  description:
59
60
  en: The primary color foreground to use
60
61
  pt: O contraste da cor primária a utilizar
61
- value: "#ffffff"
62
+ value: '#ffffff'
62
63
  - slug: theme-secondary
63
64
  type: string
64
65
  name:
@@ -67,7 +68,7 @@ data:
67
68
  description:
68
69
  en: The secondary color to use
69
70
  pt: A cor secundária a utilizar
70
- value: "#FFFFFF"
71
+ value: '#FFFFFF'
71
72
  - slug: theme-secondary-foreground
72
73
  type: string
73
74
  name:
@@ -76,7 +77,7 @@ data:
76
77
  description:
77
78
  en: The secondary color foreground to use
78
79
  pt: O contraste da cor secundária a utilizar
79
- value: "#000000"
80
+ value: '#000000'
80
81
  - slug: theme-accent
81
82
  type: string
82
83
  name:
@@ -85,7 +86,7 @@ data:
85
86
  description:
86
87
  en: The accent color to use
87
88
  pt: A cor de realce a utilizar
88
- value: "#FF0000"
89
+ value: '#FF0000'
89
90
  - slug: theme-accent-foreground
90
91
  type: string
91
92
  name:
@@ -94,7 +95,7 @@ data:
94
95
  description:
95
96
  en: The accent color foreground to use
96
97
  pt: O contraste da cor de realce a utilizar
97
- value: "#000000"
98
+ value: '#000000'
98
99
  - slug: theme-background
99
100
  type: string
100
101
  name:
@@ -103,7 +104,7 @@ data:
103
104
  description:
104
105
  en: The background color to use
105
106
  pt: A cor de fundo a utilizar
106
- value: "#FFFFFF"
107
+ value: '#FFFFFF'
107
108
  - slug: theme-background-foreground
108
109
  type: string
109
110
  name:
@@ -112,7 +113,7 @@ data:
112
113
  description:
113
114
  en: The background color foreground to use
114
115
  pt: O contraste da cor de fundo a utilizar
115
- value: "#000000"
116
+ value: '#000000'
116
117
  - slug: theme-muted
117
118
  type: string
118
119
  name:
@@ -121,7 +122,7 @@ data:
121
122
  description:
122
123
  en: The muted color to use
123
124
  pt: A cor suave a utilizar
124
- value: "#F0F0F0"
125
+ value: '#F0F0F0'
125
126
  - slug: theme-muted-foreground
126
127
  type: string
127
128
  name:
@@ -130,7 +131,7 @@ data:
130
131
  description:
131
132
  en: The muted color foreground to use
132
133
  pt: O contraste da cor suave a utilizar
133
- value: "#000000"
134
+ value: '#000000'
134
135
  - slug: theme-radius
135
136
  type: string
136
137
  name:
@@ -139,7 +140,7 @@ data:
139
140
  description:
140
141
  en: The radius to use
141
142
  pt: O raio a utilizar
142
- value: "0.5"
143
+ value: '0.5'
143
144
  - slug: theme-font
144
145
  type: string
145
146
  name:
@@ -157,7 +158,7 @@ data:
157
158
  description:
158
159
  en: Text size of the application
159
160
  pt: Tamanho do texto da aplicação
160
- value: "1"
161
+ value: '1'
161
162
  - slug: theme-muted-saturation
162
163
  type: string
163
164
  name:
@@ -166,7 +167,7 @@ data:
166
167
  description:
167
168
  en: Saturação da Cor Suave a utilizar
168
169
  pt: Muted Color Saturation to use
169
- value: "100"
170
+ value: '100'
170
171
  - slug: theme-muted-lightness
171
172
  type: string
172
173
  name:
@@ -175,7 +176,7 @@ data:
175
176
  description:
176
177
  en: Luminância da Cor Suave a utilizar
177
178
  pt: Muted Color Lightness to use
178
- value: "100"
179
+ value: '100'
179
180
  - slug: theme-light-dark-enabled
180
181
  type: boolean
181
182
  name:
@@ -194,81 +195,7 @@ data:
194
195
  en: System default theme
195
196
  pt: Tema Padrão do sistema
196
197
  value: dark
197
- route:
198
- - url: /setting-group
199
- method: GET
200
- relations: &a1
201
- role:
202
- - where:
203
- slug: admin
204
- - url: /setting-group/:id
205
- method: GET
206
- relations: *a1
207
- - url: /setting
208
- method: GET
209
- relations: &a2
210
- role:
211
- - where:
212
- slug: admin
213
- - url: /setting/:id
214
- method: GET
215
- relations: *a2
216
- - url: /setting-user
217
- method: GET
218
- relations: &a3
219
- role:
220
- - where:
221
- slug: admin
222
- - url: /setting-user/:id
223
- method: GET
224
- relations: *a3
225
- menu:
226
- - name:
227
- en: SettingGroup
228
- pt: SettingGroup
229
- icon: file
230
- url: /setting-group
231
- slug: setting-group
232
- relations: *a1
233
- - name:
234
- en: Setting
235
- pt: Setting
236
- icon: file
237
- url: /setting
238
- slug: setting
239
- relations: *a2
240
- - name:
241
- en: SettingUser
242
- pt: SettingUser
243
- icon: file
244
- url: /setting-user
245
- slug: setting-user
246
- relations: *a3
247
- screen:
248
- - name:
249
- en: SettingGroup
250
- pt: SettingGroup
251
- slug: setting-group
252
- description:
253
- en: Screen to manage setting_group
254
- pt: Tela para gerenciar setting_group
255
- icon: file
256
- - name:
257
- en: Setting
258
- pt: Setting
259
- slug: setting
260
- description:
261
- en: Screen to manage setting
262
- pt: Tela para gerenciar setting
263
- icon: file
264
- - name:
265
- en: SettingUser
266
- pt: SettingUser
267
- slug: setting-user
268
- description:
269
- en: Screen to manage setting_user
270
- pt: Tela para gerenciar setting_user
271
- icon: file
198
+
272
199
  tables:
273
200
  setting_group:
274
201
  columns:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedhog/setting",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "scripts": {