refactor(config): update config + types

This commit is contained in:
2023-02-10 12:41:47 +01:00
parent bb304f8805
commit 7c3e436d85
2 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,4 @@
type PCKeys =
type SEOKeys =
| 'shortName'
| 'longName'
| 'description'
@ -7,8 +7,6 @@ type PCKeys =
| 'defaultLocale'
type PCIconsKeys = 'default' | 'image' | 'apple' | '16_16' | '32_32'
type PCProps = Record<PCKeys, string>
export interface PCDefaultValues extends PCProps {
icons: Record<PCIconsKeys, string>
export interface SEODefaultValues extends Partial<Record<SEOKeys, string>> {
icons?: Record<PCIconsKeys, string>
}