diff --git a/icons/nest-blue.svg b/icons/nest-blue.svg new file mode 100644 index 0000000000..08ccdf00d7 --- /dev/null +++ b/icons/nest-blue.svg @@ -0,0 +1,65 @@ + + + + + + + + diff --git a/icons/nest-darkgreen.svg b/icons/nest-darkgreen.svg new file mode 100644 index 0000000000..a1a875ec79 --- /dev/null +++ b/icons/nest-darkgreen.svg @@ -0,0 +1,65 @@ + + + + + + + + diff --git a/icons/nest-green.svg b/icons/nest-green.svg new file mode 100644 index 0000000000..dd53ee2184 --- /dev/null +++ b/icons/nest-green.svg @@ -0,0 +1,65 @@ + + + + + + + + diff --git a/icons/nest-purple.svg b/icons/nest-purple.svg new file mode 100644 index 0000000000..f4d35dae9d --- /dev/null +++ b/icons/nest-purple.svg @@ -0,0 +1,65 @@ + + + + + + + + diff --git a/icons/nest-red.svg b/icons/nest-red.svg new file mode 100644 index 0000000000..2cccf1921c --- /dev/null +++ b/icons/nest-red.svg @@ -0,0 +1,65 @@ + + + + + + + + diff --git a/icons/nest-yellow.svg b/icons/nest-yellow.svg new file mode 100644 index 0000000000..d15747d625 --- /dev/null +++ b/icons/nest-yellow.svg @@ -0,0 +1,65 @@ + + + + + + + + diff --git a/icons/nest.svg b/icons/nest.svg index 6fe157213f..c526fbf200 100644 --- a/icons/nest.svg +++ b/icons/nest.svg @@ -1 +1,65 @@ - + + + + + + + + diff --git a/package.json b/package.json index 7431d880d7..a0e703593d 100644 --- a/package.json +++ b/package.json @@ -112,6 +112,7 @@ "%configuration.activeIconPack.react_redux%", "%configuration.activeIconPack.vue%", "%configuration.activeIconPack.vue_vuex%", + "%configuration.activeIconPack.nest%", "%configuration.activeIconPack.none%" ], "enum": [ @@ -121,6 +122,7 @@ "react_redux", "vue", "vue_vuex", + "nest", "none" ] }, diff --git a/package.nls.de.json b/package.nls.de.json index 5a70c1967b..4a9b1c88d7 100644 --- a/package.nls.de.json +++ b/package.nls.de.json @@ -22,6 +22,7 @@ "configuration.activeIconPack.react_redux": "Icons für React und Redux", "configuration.activeIconPack.vue": "Icons für Vue.", "configuration.activeIconPack.vue_vuex": "Icons für Vue und Vuex.", + "configuration.activeIconPack.nest": "Icons für NestJS.", "configuration.activeIconPack.none": "Kein Icon-Pack aktiviert.", "configuration.folders.theme": "Art der Ordner Icons auswählen.", "configuration.folders.theme.specific": "Spezifische Ordner Icons auswählen.", diff --git a/package.nls.es.json b/package.nls.es.json index 84f302997c..6e85b5e186 100644 --- a/package.nls.es.json +++ b/package.nls.es.json @@ -20,6 +20,7 @@ "configuration.activeIconPack.react_redux": "Iconos de React y Redux.", "configuration.activeIconPack.vue": "Iconos de Vue.", "configuration.activeIconPack.vue_vuex": "Iconos de Vue y Vuex.", + "configuration.activeIconPack.nest": "Iconos de NestJS.", "configuration.activeIconPack.none": "No hay ningún paquete de iconos activo.", "configuration.folders.theme": "Seleccione el tipo de iconos de carpeta.", "configuration.folders.theme.specific": "Seleccione iconos de carpeta específicos.", diff --git a/package.nls.fr.json b/package.nls.fr.json index 52b2135817..bf9bdf4ae9 100644 --- a/package.nls.fr.json +++ b/package.nls.fr.json @@ -20,6 +20,7 @@ "configuration.activeIconPack.react_redux": "Icônes pour React et Redux.", "configuration.activeIconPack.vue": "Icônes pour Vue.", "configuration.activeIconPack.vue_vuex": "Icônes pour Vue et Vuex.", + "configuration.activeIconPack.nest": "Icônes pour NestJS.", "configuration.activeIconPack.none": "Aucun pack d'icônes n'est actif.", "configuration.folders.theme": "Sélectionner le type d'icônes de dossier.", "configuration.folders.theme.specific": "Sélectionner des icônes de dossiers spécifiques.", diff --git a/package.nls.json b/package.nls.json index f3d16cc866..b961373e42 100644 --- a/package.nls.json +++ b/package.nls.json @@ -22,6 +22,7 @@ "configuration.activeIconPack.react_redux": "Icons for React and Redux.", "configuration.activeIconPack.vue": "Icons for Vue.", "configuration.activeIconPack.vue_vuex": "Icons for Vue and Vuex.", + "configuration.activeIconPack.nest": "Icons for NestJS.", "configuration.activeIconPack.none": "No icon pack enabled.", "configuration.folders.theme": "Set the type for the folder icons.", "configuration.folders.theme.specific": "Select specific folder icons.", diff --git a/package.nls.nl.json b/package.nls.nl.json index 3e1bd67d6c..79301b48f7 100644 --- a/package.nls.nl.json +++ b/package.nls.nl.json @@ -22,6 +22,7 @@ "configuration.activeIconPack.react_redux": "Icons for React en Redux.", "configuration.activeIconPack.vue": "Icons voor Vue.", "configuration.activeIconPack.vue_vuex": "Icons voor Vue en Vuex.", + "configuration.activeIconPack.nest": "Icons voor NestJS.", "configuration.activeIconPack.none": "Geen iconpakket ingeschakeld.", "configuration.folders.theme": "Kies het type foldericons.", "configuration.folders.theme.specific": "Selecteer bepaalde foldericons.", diff --git a/package.nls.pl.json b/package.nls.pl.json index 56dd6fe1a5..72952e3c25 100644 --- a/package.nls.pl.json +++ b/package.nls.pl.json @@ -22,6 +22,7 @@ "configuration.activeIconPack.react_redux": "Ikony dla Reacta i Reduxa.", "configuration.activeIconPack.vue": "Ikony dla Vue.", "configuration.activeIconPack.vue_vuex": "Ikony dla Vue i Vuex.", + "configuration.activeIconPack.nest": "Ikony dla NestJS.", "configuration.activeIconPack.none": "Brak włączonej paczki ikon.", "configuration.folders.theme": "Wybierz typ ikon folderów.", "configuration.folders.theme.specific": "Wybierz ikony folderów.", diff --git a/package.nls.pt-BR.json b/package.nls.pt-BR.json index 653c9e7f62..d004a6eb04 100644 --- a/package.nls.pt-BR.json +++ b/package.nls.pt-BR.json @@ -20,6 +20,7 @@ "configuration.activeIconPack.react_redux": "Ícones para React e ngrx.", "configuration.activeIconPack.vue": "Ícones para Vue.", "configuration.activeIconPack.vue_vuex": "Ícones para Vue e Vuex.", + "configuration.activeIconPack.nest": "Ícones para NestJS.", "configuration.activeIconPack.none": "Nenhum pacote de ícones ativado.", "configuration.folders.theme": "Definir o tipo dos ícones das pastas.", "configuration.folders.theme.specific": "Selecione ícones de pastas específicas.", diff --git a/package.nls.pt-PT.json b/package.nls.pt-PT.json index 7317129b44..71d2e291f9 100644 --- a/package.nls.pt-PT.json +++ b/package.nls.pt-PT.json @@ -20,6 +20,7 @@ "configuration.activeIconPack.react_redux": "Ícones para React e ngrx.", "configuration.activeIconPack.vue": "Ícones para Vue.", "configuration.activeIconPack.vue_vuex": "Ícones para Vue e Vuex.", + "configuration.activeIconPack.nest": "Ícones para NestJS.", "configuration.activeIconPack.none": "Nenhum pacote de ícones ativado.", "configuration.folders.theme": "Definir o formato dos ícones dos directórios.", "configuration.folders.theme.specific": "Selecciona ícones de pastas específicas.", diff --git a/package.nls.ru.json b/package.nls.ru.json index 68738619dd..1d510ede5c 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -20,6 +20,7 @@ "configuration.activeIconPack.react_redux": "Иконки для React и Redux.", "configuration.activeIconPack.vue": "Иконки для Vue.", "configuration.activeIconPack.vue_vuex": "Иконки для Vue и Vuex.", + "configuration.activeIconPack.nest": "Иконки для NestJS.", "configuration.activeIconPack.none": "Папка с иконками не включена.", "configuration.folders.theme": "Установить тип иконок для папок.", "configuration.folders.theme.specific": "Выберите конкретные значки папок.", diff --git a/package.nls.zh-CN.json b/package.nls.zh-CN.json index b50475eb1b..955dca1270 100644 --- a/package.nls.zh-CN.json +++ b/package.nls.zh-CN.json @@ -20,6 +20,7 @@ "configuration.activeIconPack.react_redux": "React和Redux的图标。", "configuration.activeIconPack.vue": "Vue的图标。", "configuration.activeIconPack.vue_vuex": "Vue和Vuex的图标。", + "configuration.activeIconPack.nest": "NestJS的图标。", "configuration.activeIconPack.none": "没有启用图标包。", "configuration.folders.theme": "设置文件夹图标的类型。", "configuration.folders.theme.specific": "选择特定文件夹图标。", diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index 06a70ff014..5fd5c21278 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -801,6 +801,28 @@ export const fileIcons: FileIcons = { { name: 'svelte', fileExtensions: ['svelte'] }, { name: 'vim', fileExtensions: ['vimrc', 'gvimrc', 'exrc'] }, { name: 'nest', fileNames: ['nest-cli.json', '.nest-cli.json', 'nestconfig.json', '.nestconfig.json'] }, + { + name: 'nest-blue', + fileExtensions: [ + 'dto.ts', + 'dto.js', + 'interface.ts', + 'interface.js', + 'entity.ts', + 'entity.js', + 'model.ts', + 'model.js', + 'enum.ts', + 'enum.js', + 'repository.ts', + 'repository.js'], + enabledFor: [IconPack.Nest], + }, + { name: 'nest-green', fileExtensions: ['controller.ts', 'controller.js'], enabledFor: [IconPack.Nest] }, + { name: 'nest-red', fileExtensions: ['module.ts', 'module.js'], enabledFor: [IconPack.Nest] }, + { name: 'nest-yellow', fileExtensions: ['service.ts', 'service.js'], enabledFor: [IconPack.Nest] }, + { name: 'nest-purple', fileExtensions: ['decorator.ts', 'decorator.js'], enabledFor: [IconPack.Nest] }, + { name: 'nest-darkgreen', fileExtensions: ['pipe.ts', 'pipe.js'], enabledFor: [IconPack.Nest] }, { name: 'moonscript', fileExtensions: ['moon'] }, ] }; diff --git a/src/models/icons/iconPack.ts b/src/models/icons/iconPack.ts index e88ccbd035..dee367e4f5 100644 --- a/src/models/icons/iconPack.ts +++ b/src/models/icons/iconPack.ts @@ -7,5 +7,6 @@ export enum IconPack { React = 'react', Redux = 'react_redux', Vue = 'vue', - Vuex = 'vue_vuex' + Vuex = 'vue_vuex', + Nest = 'nest' }