@hedhog/admin 0.51.7 → 0.51.9
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/hedhog.yaml +56 -56
- package/package.json +7 -1
package/hedhog.yaml
CHANGED
@@ -404,6 +404,58 @@ data:
|
|
404
404
|
- where:
|
405
405
|
slug: admin
|
406
406
|
setting_group:
|
407
|
+
- slug: general
|
408
|
+
icon: settings
|
409
|
+
name:
|
410
|
+
en: General
|
411
|
+
pt: Geral
|
412
|
+
description:
|
413
|
+
en: General settings and configurations.
|
414
|
+
pt: Configurações e definições gerais.
|
415
|
+
relations:
|
416
|
+
setting:
|
417
|
+
- slug: url
|
418
|
+
type: string
|
419
|
+
name:
|
420
|
+
en: Base URL
|
421
|
+
pt: URL Base
|
422
|
+
description:
|
423
|
+
en: The base URL of the system
|
424
|
+
pt: A URL base do sistema
|
425
|
+
value: http://localhost:3200
|
426
|
+
user_override: false
|
427
|
+
- slug: localization
|
428
|
+
icon: world
|
429
|
+
name:
|
430
|
+
en: Localization
|
431
|
+
pt: Localização
|
432
|
+
description:
|
433
|
+
en: Configure the localization setting.
|
434
|
+
pt: Configurar as definições de localização.
|
435
|
+
relations:
|
436
|
+
setting:
|
437
|
+
- slug: language
|
438
|
+
type: string
|
439
|
+
name:
|
440
|
+
en: Default Language
|
441
|
+
pt: Idioma Padrão
|
442
|
+
description:
|
443
|
+
en: The system default language, each user can have their own preferred language
|
444
|
+
pt:
|
445
|
+
O idioma padrão do sistema, cada usuário pode ter o seu próprio idioma
|
446
|
+
preferido
|
447
|
+
value: en
|
448
|
+
user_override: true
|
449
|
+
- slug: timezone
|
450
|
+
type: string
|
451
|
+
name:
|
452
|
+
en: Timezone
|
453
|
+
pt: Fuso Horário
|
454
|
+
description:
|
455
|
+
en: The timezone to use
|
456
|
+
pt: O fuso horário a utilizar
|
457
|
+
value: UTC
|
458
|
+
user_override: true
|
407
459
|
- slug: oauth
|
408
460
|
icon: brand-auth0
|
409
461
|
name:
|
@@ -422,7 +474,7 @@ data:
|
|
422
474
|
description:
|
423
475
|
en: The client ID for Google OAuth
|
424
476
|
pt: O ID do cliente para o OAuth do Google
|
425
|
-
value:
|
477
|
+
value: ''
|
426
478
|
user_override: false
|
427
479
|
- slug: google_client_secret
|
428
480
|
type: string
|
@@ -432,7 +484,7 @@ data:
|
|
432
484
|
description:
|
433
485
|
en: The client secret for Google OAuth
|
434
486
|
pt: O segredo do cliente para o OAuth do Google
|
435
|
-
value:
|
487
|
+
value: ''
|
436
488
|
user_override: false
|
437
489
|
- slug: google_scopes
|
438
490
|
type: array
|
@@ -452,7 +504,7 @@ data:
|
|
452
504
|
description:
|
453
505
|
en: The client ID for Facebook OAuth
|
454
506
|
pt: O ID do cliente para o OAuth do Facebook
|
455
|
-
value:
|
507
|
+
value: ''
|
456
508
|
user_override: false
|
457
509
|
- slug: facebook_client_secret
|
458
510
|
type: string
|
@@ -462,7 +514,7 @@ data:
|
|
462
514
|
description:
|
463
515
|
en: The client secret for Facebook OAuth
|
464
516
|
pt: O segredo do cliente para o OAuth do Facebook
|
465
|
-
value:
|
517
|
+
value: ''
|
466
518
|
user_override: false
|
467
519
|
- slug: facebook_scopes
|
468
520
|
type: array
|
@@ -474,58 +526,6 @@ data:
|
|
474
526
|
pt: Os escopos para o OAuth do Facebook
|
475
527
|
value: id,emails,name,displayName,photos
|
476
528
|
user_override: false
|
477
|
-
- slug: general
|
478
|
-
icon: settings
|
479
|
-
name:
|
480
|
-
en: General
|
481
|
-
pt: Geral
|
482
|
-
description:
|
483
|
-
en: General settings and configurations.
|
484
|
-
pt: Configurações e definições gerais.
|
485
|
-
relations:
|
486
|
-
setting:
|
487
|
-
- slug: url
|
488
|
-
type: string
|
489
|
-
name:
|
490
|
-
en: Base URL
|
491
|
-
pt: URL Base
|
492
|
-
description:
|
493
|
-
en: The base URL of the system
|
494
|
-
pt: A URL base do sistema
|
495
|
-
value: http://localhost:3200
|
496
|
-
user_override: false
|
497
|
-
- slug: localization
|
498
|
-
icon: world
|
499
|
-
name:
|
500
|
-
en: Localization
|
501
|
-
pt: Localização
|
502
|
-
description:
|
503
|
-
en: Configure the localization setting.
|
504
|
-
pt: Configurar as definições de localização.
|
505
|
-
relations:
|
506
|
-
setting:
|
507
|
-
- slug: language
|
508
|
-
type: string
|
509
|
-
name:
|
510
|
-
en: Default Language
|
511
|
-
pt: Idioma Padrão
|
512
|
-
description:
|
513
|
-
en: The system default language, each user can have their own preferred language
|
514
|
-
pt:
|
515
|
-
O idioma padrão do sistema, cada usuário pode ter o seu próprio idioma
|
516
|
-
preferido
|
517
|
-
value: en
|
518
|
-
user_override: true
|
519
|
-
- slug: timezone
|
520
|
-
type: string
|
521
|
-
name:
|
522
|
-
en: Timezone
|
523
|
-
pt: Fuso Horário
|
524
|
-
description:
|
525
|
-
en: The timezone to use
|
526
|
-
pt: O fuso horário a utilizar
|
527
|
-
value: UTC
|
528
|
-
user_override: true
|
529
529
|
menu:
|
530
530
|
- url: /management/setting
|
531
531
|
icon: settings
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hedhog/admin",
|
3
|
-
"version": "0.51.
|
3
|
+
"version": "0.51.9",
|
4
4
|
"private": false,
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"scripts": {
|
@@ -33,6 +33,7 @@
|
|
33
33
|
"@nestjs/config": "^4.0.1",
|
34
34
|
"@nestjs/jwt": "^10.2.0",
|
35
35
|
"@nestjs/mapped-types": "^2.1.0",
|
36
|
+
"@types/passport-google-oauth20": "^2.0.16",
|
36
37
|
"ts-node": "^10.9.1",
|
37
38
|
"typescript": "^5.1.3"
|
38
39
|
},
|
@@ -43,5 +44,10 @@
|
|
43
44
|
"@hedhog/prisma": "latest",
|
44
45
|
"@hedhog/utils": "latest",
|
45
46
|
"@nestjs/jwt": "^10.2.0"
|
47
|
+
},
|
48
|
+
"dependencies": {
|
49
|
+
"@nestjs/passport": "^11.0.5",
|
50
|
+
"passport": "^0.7.0",
|
51
|
+
"passport-google-oauth20": "^2.0.0"
|
46
52
|
}
|
47
53
|
}
|