diff --git a/app/src/lib/dragging/draggable.ts b/app/src/lib/dragging/draggable.ts index 8eb47fabc..501738ea5 100644 --- a/app/src/lib/dragging/draggable.ts +++ b/app/src/lib/dragging/draggable.ts @@ -1,5 +1,5 @@ import { dropzoneRegistry } from './dropzone'; -import { getVSIFileIcon } from '$lib/ext-icons'; +import { getFileIcon } from '$lib/ext-icons'; import { pxToRem } from '$lib/utils/pxToRem'; import { type CommitStatus } from '$lib/vbranches/types'; import type { Draggable } from './draggables'; @@ -206,12 +206,7 @@ export function createChipsElement( containerEl.appendChild(chipEl); if (filePath) { - const iconEl = createElement( - 'img', - ['draggable-chip-icon'], - undefined, - getVSIFileIcon(filePath) - ); + const iconEl = createElement('img', ['draggable-chip-icon'], undefined, getFileIcon(filePath)); chipEl.appendChild(iconEl); } diff --git a/app/src/lib/ext-icons/index.ts b/app/src/lib/ext-icons/index.ts index 0d6592af3..58d899c01 100644 --- a/app/src/lib/ext-icons/index.ts +++ b/app/src/lib/ext-icons/index.ts @@ -1,38 +1,8 @@ /** - * https://github.com/gitbutlerapp/file-extension-icon-JS + * https://github.com/wilfriedago/vscode-symbols-icon-theme */ -import { vsiFileExtensionsToIcons, vsiFileNamesToIcons } from './vsi/typeMap'; -import { vsiFileIcons1 } from './vsi/vsiFileIcons1'; -import { vsiFileIcons10 } from './vsi/vsiFileIcons10'; -import { vsiFileIcons11 } from './vsi/vsiFileIcons11'; -import { vsiFileIcons12 } from './vsi/vsiFileIcons12'; -import { vsiFileIcons13 } from './vsi/vsiFileIcons13'; -import { vsiFileIcons14 } from './vsi/vsiFileIcons14'; -import { vsiFileIcons2 } from './vsi/vsiFileIcons2'; -import { vsiFileIcons3 } from './vsi/vsiFileIcons3'; -import { vsiFileIcons4 } from './vsi/vsiFileIcons4'; -import { vsiFileIcons5 } from './vsi/vsiFileIcons5'; -import { vsiFileIcons6 } from './vsi/vsiFileIcons6'; -import { vsiFileIcons7 } from './vsi/vsiFileIcons7'; -import { vsiFileIcons8 } from './vsi/vsiFileIcons8'; -import { vsiFileIcons9 } from './vsi/vsiFileIcons9'; - -export const vsiFileIcons: { [key: string]: string } = { - ...vsiFileIcons1, - ...vsiFileIcons2, - ...vsiFileIcons3, - ...vsiFileIcons4, - ...vsiFileIcons5, - ...vsiFileIcons6, - ...vsiFileIcons7, - ...vsiFileIcons8, - ...vsiFileIcons9, - ...vsiFileIcons10, - ...vsiFileIcons11, - ...vsiFileIcons12, - ...vsiFileIcons13, - ...vsiFileIcons14 -}; +import { fileIcons } from './symbol/fileIcons'; +import { symbolFileExtensionsToIcons, symbolFileNamesToIcons } from './symbol/typeMap'; function convertToBase64(iconString: string) { try { @@ -42,19 +12,19 @@ function convertToBase64(iconString: string) { } } -export function getVSIFileIcon(fileName: string) { +export function getFileIcon(fileName: string) { fileName = fileName.toLowerCase(); const splitName = fileName.split('.'); let iconName = ''; while (splitName.length) { const curName = splitName.join('.'); - if (vsiFileNamesToIcons[curName]) { - iconName = vsiFileNamesToIcons[curName]; + if (symbolFileNamesToIcons[curName]) { + iconName = symbolFileNamesToIcons[curName]; break; } - if (vsiFileExtensionsToIcons[curName]) { - iconName = vsiFileExtensionsToIcons[curName]; + if (symbolFileExtensionsToIcons[curName]) { + iconName = symbolFileExtensionsToIcons[curName]; break; } @@ -62,6 +32,6 @@ export function getVSIFileIcon(fileName: string) { } if (iconName === '') iconName = 'file'; - const icon = vsiFileIcons[iconName]; + const icon = fileIcons[iconName]; return `data:image/svg+xml;base64,${convertToBase64(icon)}`; } diff --git a/app/src/lib/ext-icons/symbol/fileIcons.ts b/app/src/lib/ext-icons/symbol/fileIcons.ts new file mode 100644 index 000000000..442dc7b81 --- /dev/null +++ b/app/src/lib/ext-icons/symbol/fileIcons.ts @@ -0,0 +1,311 @@ +export const fileIcons = { + 'angular-component': + '\n', + 'angular-service': + '\n', + angular: + '\n', + astro: + '\n', + audio: + '\n', + babel: + '\n', + biome: + '\n', + 'brackets-blue': + '\n', + 'brackets-gray': + '\n', + 'brackets-green': + '\n', + 'brackets-orange': + '\n', + 'brackets-purple': + '\n', + 'brackets-red': + '\n', + 'brackets-sky': + '\n', + 'brackets-yellow': + '\n', + bun: '\n', + c: '\n', + capacitor: + '\n', + clojure: + '\n', + 'cloudflare-workers': + '\n', + cmake: + '\n', + 'code-blue': + '\n', + 'code-gray': + '\n', + 'code-green': + '\n', + 'code-orange': + '\n', + 'code-purple': + '\n', + 'code-red': + '\n', + 'code-sky': + '\n', + 'code-yellow': + '\n', + coffeescript: + '\n', + coldfusion: + '\n', + contentlayer: + '\n', + cplus: + '\n', + crystal: + '\n', + csharp: + '\n', + csv: '\n', + cucumber: + '\n', + cypress: + '\n', + dart: '\n', + database: + '\n', + deno: '\n', + docker: + '\n', + document: + '\n', + drawio: + '\n', + drizzle: + '\n', + dts: '\n', + dune: '\n', + earthfile: + '\n', + editorconfig: + '\n', + elixir: + '\n', + erlang: + '\n', + eslint: + '\n', + exe: '\n', + firebase: + '\n', + font: '\n', + fsharp: + '\n', + gatsby: + '\n', + gear: '\n', + gif: '\n', + git: '\n', + github: + '\n', + gleam: + '\n', + 'go-mod': + '\n', + go: '\n', + gradle: + '\n', + graphql: + '\n', + gulp: '\n', + h: '\n', + haml: '\n', + haskell: + '\n', + http: '\n', + hugo: '\n', + ignore: + '\n', + image: + '\n', + ionic: + '\n', + java: '\n', + jenkins: + '\n', + jest: '\n', + 'js-test': + '\n', + js: '\n', + 'julia-markdown': + '\n', + julia: + '\n', + keystatic: + '\n', + knip: '\n', + kotlin: + '\n', + laravel: + '\n', + license: + '\n', + liquid: + '\n', + lock: '\n', + lua: '\n', + markdoc: + '\n', + markdown: + '\n', + mdx: '\n', + mjml: '\n\n\n\n', + 'nest-controller': + '\n', + 'nest-decorator': + '\n', + 'nest-filter': + '\n', + 'nest-guard': + '\n', + 'nest-interceptor': + '\n', + 'nest-middleware': + '\n', + 'nest-module': + '\n', + 'nest-pipe': + '\n', + 'nest-service': + '\n', + nest: '\n', + netlify: + '\n', + next: '\n', + nix: '\n', + node: '\n', + nodemon: + '\n', + notebook: + '\n', + npm: '\n', + nunjucks: + '\n', + ocaml: + '\n', + panda: + '\n', + patch: + '\n', + pdf: '\n', + perl: '\n', + php: '\n', + pkl: '\n', + pnpm: '\n', + postcss: + '\n', + prettier: + '\n', + prisma: + '\n', + proto: + '\n', + pug: '\n', + pulumi: + '\n', + puzzle: + '\n', + python: + '\n', + r: '\n', + razor: + '\n', + 'react-test': + '\n', + 'react-ts': + '\n', + react: + '\n', + 'redux-actions': + '\n', + 'redux-effects': + '\n', + 'redux-facade': + '\n', + 'redux-reducer': + '\n', + 'redux-selector': + '\n', + 'rescript-interface': + '\n', + rescript: + '\n', + robot: + '\n', + rome: '\n', + ruby: '\n', + rust: '\n', + sanity: + '\n', + sass: '\n', + sbt: '\n', + scala: + '\n', + severless: + '\n', + shell: + '\n', + solidity: + '\n', + storybook: + '\n', + stylelint: + '\n', + stylus: + '\n', + supabase: + '\n', + svelte: + '\n', + svg: '\n', + svx: '\n', + swc: '\n', + swift: + '\n', + tailwind: + '\n', + terraform: + '\n', + tex: '\n', + text: '\n', + 'ts-test': + '\n', + ts: '\n', + tsconfig: + '\n', + turborepo: + '\n', + twig: '\n', + unocss: + '\n', + v: '\n', + 'vanilla-extract': + '\n', + vercel: + '\n', + video: + '\n', + 'visual-studio': + '\n', + vite: '\n', + vitest: + '\n', + vue: '\n', + webpack: + '\n', + xml: '\n', + yaml: '\n', + yarn: '\n', + zig: '\n' +} as Record; diff --git a/app/src/lib/ext-icons/symbol/typeMap.ts b/app/src/lib/ext-icons/symbol/typeMap.ts new file mode 100644 index 000000000..fb223dc53 --- /dev/null +++ b/app/src/lib/ext-icons/symbol/typeMap.ts @@ -0,0 +1,885 @@ +export const symbolFileExtensionsToIcons: { [key: string]: string } = { + 'YAML-tmLanguage': 'yaml', + accdb: 'database', + 'actions.ts': 'redux-actions', + afphoto: 'image', + aiff: 'audio', + al: 'code-green', + ami: 'image', + apx: 'image', + ase: 'image', + aseprite: 'image', + astro: 'astro', + avi: 'video', + avif: 'image', + awk: 'shell', + bash: 'shell', + bat: 'shell', + 'blade.php': 'laravel', + bmap: 'font', + bmp: 'image', + bpg: 'image', + brk: 'image', + c: 'c', + 'c++': 'cplus', + cc: 'cplus', + cfc: 'coldfusion', + cfm: 'coldfusion', + cfml: 'coldfusion', + cjs: 'js', + clip: 'image', + cls: 'code-blue', + cmake: 'cmake', + cmd: 'shell', + cmx: 'ocaml', + 'component.js': 'angular-component', + 'component.ts': 'angular-component', + cp: 'cplus', + cpp: 'cplus', + cpt: 'image', + cr: 'crystal', + cs: 'csharp', + csh: 'shell', + cshtml: 'razor', + csproj: 'visual-studio', + css: 'brackets-sky', + csv: 'csv', + csx: 'csharp', + cur: 'image', + cxx: 'cplus', + dart: 'dart', + db: 'database', + db3: 'database', + dds: 'image', + deno: 'deno', + dio: 'drawio', + dmn: 'xml', + dng: 'image', + dockerfile: 'docker', + dockerignore: 'docker', + drawio: 'drawio', + dtd: 'xml', + dtx: 'tex', + earthlyignore: 'earthfile', + editorconfig: 'editorconfig', + eex: 'elixir', + 'effects.ts': 'redux-effects', + env: 'gear', + eot: 'font', + eps: 'image', + erb: 'ruby', + erl: 'erlang', + ex: 'elixir', + exe: 'exe', + exp: 'shell', + exr: 'image', + exs: 'elixir', + 'facade.ts': 'redux-facade', + fish: 'shell', + flac: 'audio', + flv: 'video', + fnt: 'font', + font: 'font', + fonts: 'font', + fpx: 'image', + 'freezed.dart': 'dart', + fs: 'fsharp', + fsi: 'fsharp', + fsproj: 'fsharp', + fsx: 'fsharp', + 'g.dart': 'dart', + gbr: 'image', + gif: 'gif', + gifv: 'video', + gleam: 'gleam', + go: 'go', + 'go.mod': 'go-mod', + gql: 'graphql', + gradle: 'gradle', + graphql: 'graphql', + h: 'h', + haml: 'haml', + heex: 'elixir', + heic: 'image', + heif: 'image', + hrl: 'erlang', + hs: 'haskell', + htaccess: 'document', + html: 'code-orange', + 'html.twig': 'twig', + http: 'http', + i: 'c', + ico: 'image', + ii: 'cplus', + img: 'image', + iml: 'xml', + ipynb: 'notebook', + jade: 'pug', + java: 'java', + jb2: 'image', + jbig2: 'image', + jenkins: 'jenkins', + jenkinsfile: 'jenkins', + jfif: 'image', + jl: 'julia', + jng: 'image', + jpeg: 'image', + jpg: 'image', + js: 'js', + json: 'brackets-yellow', + jsp: 'java', + jsx: 'react', + jxr: 'image', + kra: 'image', + ksh: 'shell', + kt: 'kotlin', + kts: 'kotlin', + leex: 'elixir', + less: 'less', + liquid: 'liquid', + lock: 'lock', + ltx: 'tex', + lua: 'lua', + lucee: 'coldfusion', + m2v: 'video', + m4a: 'audio', + m4v: 'video', + manifest: 'xml', + md: 'markdown', + mdb: 'database', + mdoc: 'markdoc', + mdp: 'image', + mdx: 'mdx', + mi: 'c', + mii: 'cplus', + mjs: 'js', + mkv: 'video', + ml: 'ocaml', + mli: 'ocaml', + mm: 'cplus', + mov: 'video', + mp2: 'video', + mp3: 'audio', + mp4: 'video', + mpe: 'video', + mpeg: 'video', + mpg: 'video', + mpv: 'video', + mrf: 'font', + msi: 'exe', + netlify: 'netlify', + nix: 'nix', + njk: 'nunjucks', + ntf: 'font', + nu: 'shell', + nunjucks: 'nunjucks', + ods: 'csv', + odttf: 'font', + ogg: 'video', + ogv: 'video', + ora: 'image', + otf: 'font', + patch: 'patch', + pbm: 'image', + pcss: 'postcss', + pdb: 'database', + pdf: 'pdf', + pdn: 'image', + pgf: 'image', + pgm: 'image', + pgsql: 'database', + php: 'php', + pic: 'image', + pkb: 'database', + pkl: 'pkl', + pks: 'database', + plist: 'xml', + png: 'image', + pnm: 'image', + postgres: 'database', + ppm: 'image', + prisma: 'prisma', + project: 'xml', + proto: 'proto', + ps1: 'shell', + ps1xml: 'shell', + psb: 'image', + psc1: 'shell', + psd: 'image', + psd1: 'shell', + psm1: 'shell', + psql: 'database', + pssc: 'shell', + psv: 'csv', + pug: 'pug', + pulumi: 'pulumi', + py: 'python', + python: 'python', + qt: 'video', + r: 'r', + raw: 'image', + rb: 'ruby', + reb: 'image', + 'reducer.ts': 'redux-reducer', + res: 'rescript', + resi: 'rescript-interface', + rest: 'http', + resx: 'xml', + rm: 'video', + rmd: 'r', + rmvb: 'video', + ron: 'rust', + rs: 'rust', + ruleset: 'visual-studio', + sai: 'image', + sass: 'sass', + sbt: 'sbt', + sc: 'scala', + scala: 'scala', + scss: 'sass', + 'selector.ts': 'redux-selector', + 'selectors.ts': 'redux-selector', + 'service.js': 'angular-service', + 'service.ts': 'angular-service', + sh: 'shell', + sln: 'visual-studio', + sol: 'solidity', + 'spec.js': 'js-test', + 'spec.jsx': 'react-test', + 'spec.mjs': 'js-test', + 'spec.ts': 'ts-test', + 'spec.tsx': 'react-test', + sql: 'database', + sqlite: 'database', + sqlite3: 'database', + ssh_config: 'shell', + sss: 'postcss', + 'stories.js': 'storybook', + 'stories.jsx': 'storybook', + 'stories.mdx': 'storybook', + 'stories.svelte': 'storybook', + 'stories.ts': 'storybook', + 'stories.tsx': 'storybook', + 'story.js': 'storybook', + 'story.jsx': 'storybook', + 'story.mdx': 'storybook', + 'story.ts': 'storybook', + 'story.tsx': 'storybook', + sty: 'tex', + styl: 'stylus', + stylelint: 'stylelint', + sui: 'font', + suit: 'font', + suo: 'visual-studio', + svelte: 'svelte', + svg: 'svg', + svgx: 'image', + svx: 'svx', + swift: 'swift', + tcsh: 'shell', + test: 'code-orange', + 'test.js': 'js-test', + 'test.jsx': 'react-test', + 'test.mjs': 'js-test', + 'test.ts': 'ts-test', + 'test.tsx': 'react-test', + tex: 'tex', + tf: 'terraform', + 'tf.json': 'terraform', + tfstate: 'terraform', + tfvars: 'terraform', + tga: 'image', + tif: 'image', + tiff: 'image', + tmLanguage: 'xml', + toml: 'gear', + ts: 'ts', + 'tsconfig.json': 'tsconfig', + tsv: 'csv', + tsx: 'react-ts', + ttc: 'font', + ttf: 'font', + twig: 'twig', + txt: 'document', + v: 'v', + vb: 'visual-studio', + vbs: 'visual-studio', + vcxitems: 'visual-studio', + 'vcxitems.filters': 'visual-studio', + vcxproj: 'visual-studio', + 'vcxproj.filters': 'visual-studio', + vercel: 'vercel', + vob: 'video', + vsix: 'puzzle', + vsixmanifest: 'puzzle', + wav: 'audio', + webm: 'video', + webp: 'image', + wma: 'audio', + wmv: 'video', + woff: 'font', + woff2: 'font', + xcf: 'image', + xls: 'csv', + xlsm: 'csv', + xlsx: 'csv', + xml: 'xml', + 'xml.dist': 'xml', + 'xml.dist.sample': 'xml', + xquery: 'xml', + xsd: 'xml', + xsl: 'xml', + xslt: 'xml', + yaml: 'yaml', + 'yaml.dist': 'yaml', + yml: 'yaml', + 'yml.dist': 'yaml', + yuv: 'video', + zig: 'zig', + zsh: 'shell' +}; + +export const symbolFileNamesToIcons: { [key: string]: string } = { + '.Rhistory': 'r', + '.angular-cli.json': 'angular', + '.babelrc': 'babel', + '.d.ts': 'dts', + '.direnv': 'gear', + '.editorconfig': 'editorconfig', + '.env': 'gear', + '.env.dev': 'gear', + '.env.development': 'gear', + '.env.local': 'gear', + '.env.prod': 'gear', + '.env.production': 'gear', + '.env.test': 'gear', + '.eslintcache': 'eslint', + '.eslintignore': 'eslint', + '.eslintrc': 'eslint', + '.eslintrc-jsdoc.js': 'eslint', + '.eslintrc-md.js': 'eslint', + '.eslintrc.cjs': 'eslint', + '.eslintrc.js': 'eslint', + '.eslintrc.json': 'eslint', + '.eslintrc.yaml': 'eslint', + '.eslintrc.yml': 'eslint', + '.esmrc': 'node', + '.feature': 'cucumber', + '.firebaserc': 'firebase', + '.git-blame-ignore': 'git', + '.gitattributes': 'git', + '.gitconfig': 'git', + '.gitignore': 'git', + '.gitignore-global': 'git', + '.gitignore_global': 'git', + '.gitinclude': 'git', + '.gitkeep': 'git', + '.gitmodules': 'git', + '.graphqlconfig': 'graphql', + '.graphqlrc': 'graphql', + '.graphqlrc.cjs': 'graphql', + '.graphqlrc.js': 'graphql', + '.graphqlrc.json': 'graphql', + '.graphqlrc.toml': 'graphql', + '.graphqlrc.ts': 'graphql', + '.graphqlrc.yaml': 'graphql', + '.graphqlrc.yml': 'graphql', + '.hugo_build.lock': 'hugo', + '.io-config.json': 'ionic', + '.jestrc': 'jest', + '.jestrc.js': 'jest', + '.jestrc.json': 'jest', + '.luacheckrc': 'lua', + '.nest-cli.json': 'nest', + '.nestconfig.json': 'nest', + '.node-version': 'node', + '.nowignore': 'vercel', + '.npmignore': 'npm', + '.npmrc': 'npm', + '.nvmrc': 'node', + '.perl': 'perl', + '.pnpmfile.cjs': 'pnpm', + '.postcssrc': 'postcss', + '.postcssrc.cjs': 'postcss', + '.postcssrc.cts': 'postcss', + '.postcssrc.js': 'postcss', + '.postcssrc.json': 'postcss', + '.postcssrc.ts': 'postcss', + '.postcssrc.yaml': 'postcss', + '.postcssrc.yml': 'postcss', + '.prettierignore': 'prettier', + '.prettierrc': 'prettier', + '.prettierrc.cjs': 'prettier', + '.prettierrc.js': 'prettier', + '.prettierrc.json': 'prettier', + '.prettierrc.json5': 'prettier', + '.prettierrc.mjs': 'prettier', + '.prettierrc.toml': 'prettier', + '.prettierrc.yaml': 'prettier', + '.prettierrc.yml': 'prettier', + '.pubignore': 'dart', + '.pug-lintrc': 'pug', + '.pug-lintrc.js': 'pug', + '.pug-lintrc.json': 'pug', + '.pylintrc': 'python', + '.python-version': 'python', + '.styl': 'stylus', + '.stylelintcache': 'stylelint', + '.stylelintignore': 'stylelint', + '.stylelintrc': 'stylelint', + '.stylelintrc.cjs': 'stylelint', + '.stylelintrc.js': 'stylelint', + '.stylelintrc.json': 'stylelint', + '.stylelintrc.yaml': 'stylelint', + '.stylelintrc.yml': 'stylelint', + '.swcrc': 'swc', + '.vercel': 'vercel', + '.vercelignore': 'vercel', + '.vscodeignore': 'ignore', + 'angular-cli.json': 'angular', + 'angular.json': 'angular', + 'astro.config.cjs': 'astro', + 'astro.config.cts': 'astro', + 'astro.config.js': 'astro', + 'astro.config.mjs': 'astro', + 'astro.config.mts': 'astro', + 'astro.config.ts': 'astro', + 'biome.json': 'biome', + 'biome.jsonc': 'biome', + 'bun.lockb': 'bun', + 'bunfig.toml': 'bun', + 'capacitor.config.json': 'capacitor', + 'capacitor.config.ts': 'capacitor', + 'cmakecache.txt': 'cmake', + 'cmakelists.txt': 'cmake', + 'commit-msg': 'shell', + 'compose.yaml': 'docker', + 'compose.yml': 'docker', + 'contentlayer.config.js': 'contentlayer', + 'contentlayer.config.ts': 'contentlayer', + 'css.ts': 'vanilla-extract', + 'cypress.config.cjs': 'cypress', + 'cypress.config.js': 'cypress', + 'cypress.config.mjs': 'cypress', + 'cypress.config.ts': 'cypress', + 'cypress.env.json': 'cypress', + 'cypress.json': 'cypress', + 'deno.json': 'deno', + 'deno.jsonc': 'deno', + 'dev.vars': 'cloudflare-workers', + 'docker-compose.alpha.yaml': 'docker', + 'docker-compose.alpha.yml': 'docker', + 'docker-compose.beta.yaml': 'docker', + 'docker-compose.beta.yml': 'docker', + 'docker-compose.ci.yaml': 'docker', + 'docker-compose.ci.yml': 'docker', + 'docker-compose.dev.yaml': 'docker', + 'docker-compose.dev.yml': 'docker', + 'docker-compose.development.yaml': 'docker', + 'docker-compose.development.yml': 'docker', + 'docker-compose.local.yaml': 'docker', + 'docker-compose.local.yml': 'docker', + 'docker-compose.override.yaml': 'docker', + 'docker-compose.override.yml': 'docker', + 'docker-compose.prod.yaml': 'docker', + 'docker-compose.prod.yml': 'docker', + 'docker-compose.production.yaml': 'docker', + 'docker-compose.production.yml': 'docker', + 'docker-compose.stage.yaml': 'docker', + 'docker-compose.stage.yml': 'docker', + 'docker-compose.staging.yaml': 'docker', + 'docker-compose.staging.yml': 'docker', + 'docker-compose.test.yaml': 'docker', + 'docker-compose.test.yml': 'docker', + 'docker-compose.testing.yaml': 'docker', + 'docker-compose.testing.yml': 'docker', + 'docker-compose.web.yaml': 'docker', + 'docker-compose.web.yml': 'docker', + 'docker-compose.worker.yaml': 'docker', + 'docker-compose.worker.yml': 'docker', + 'docker-compose.yaml': 'docker', + 'docker-compose.yml': 'docker', + dockerfile: 'docker', + 'dockerfile.alpha': 'docker', + 'dockerfile.beta': 'docker', + 'dockerfile.ci': 'docker', + 'dockerfile.dev': 'docker', + 'dockerfile.development': 'docker', + 'dockerfile.local': 'docker', + 'dockerfile.prod': 'docker', + 'dockerfile.production': 'docker', + 'dockerfile.stage': 'docker', + 'dockerfile.staging': 'docker', + 'dockerfile.test': 'docker', + 'dockerfile.testing': 'docker', + 'dockerfile.web': 'docker', + 'dockerfile.worker': 'docker', + 'drizzle.config.ts': 'drizzle', + dune: 'dune', + 'dune-project': 'dune', + 'dune-workspace': 'dune', + 'dune-workspace.dev': 'dune', + 'eslint.config.cjs': 'eslint', + 'eslint.config.js': 'eslint', + 'eslint.config.mjs': 'eslint', + 'firebase.json': 'firebase', + 'firestore.indexes.json': 'firebase', + 'firestore.rules': 'firebase', + 'gatsby-browser.js': 'gatsby', + 'gatsby-browser.tsx': 'gatsby', + 'gatsby-config.js': 'gatsby', + 'gatsby-config.mjs': 'gatsby', + 'gatsby-config.ts': 'gatsby', + 'gatsby-node.js': 'gatsby', + 'gatsby-node.mjs': 'gatsby', + 'gatsby-node.ts': 'gatsby', + 'gatsby-ssr.js': 'gatsby', + 'gatsby-ssr.tsx': 'gatsby', + 'git-history': 'git', + 'go.mod': 'go-mod', + 'go.sum': 'go-mod', + 'go.work': 'go-mod', + 'go.work.sum': 'go-mod', + 'gradle-wrapper.properties': 'gradle', + 'gradle.properties': 'gradle', + gradlew: 'gradle', + 'graphql.config.js': 'graphql', + 'graphql.config.json': 'graphql', + 'graphql.config.toml': 'graphql', + 'graphql.config.ts': 'graphql', + 'graphql.config.yaml': 'graphql', + 'graphql.config.yml': 'graphql', + 'gulp.config.json': 'gulp', + 'gulpfile.babel.js': 'gulp', + 'gulpfile.cts': 'gulp', + 'gulpfile.js': 'gulp', + 'gulpfile.mjs': 'gulp', + 'gulpfile.mts': 'gulp', + 'gulpfile.ts': 'gulp', + 'ionic.config.json': 'ionic', + jenkinsfile: 'jenkins', + 'jest-e2e.config.cjs': 'jest', + 'jest-e2e.config.cts': 'jest', + 'jest-e2e.config.js': 'jest', + 'jest-e2e.config.json': 'jest', + 'jest-e2e.config.mjs': 'jest', + 'jest-e2e.config.mts': 'jest', + 'jest-e2e.config.ts': 'jest', + 'jest-e2e.json': 'jest', + 'jest-github-actions-reporter.js': 'jest', + 'jest-unit.config.js': 'jest', + 'jest.config.cjs': 'jest', + 'jest.config.cts': 'jest', + 'jest.config.js': 'jest', + 'jest.config.json': 'jest', + 'jest.config.mjs': 'jest', + 'jest.config.mts': 'jest', + 'jest.config.ts': 'jest', + 'jest.e2e.config.cjs': 'jest', + 'jest.e2e.config.cts': 'jest', + 'jest.e2e.config.js': 'jest', + 'jest.e2e.config.json': 'jest', + 'jest.e2e.config.mjs': 'jest', + 'jest.e2e.config.mts': 'jest', + 'jest.e2e.config.ts': 'jest', + 'jest.e2e.json': 'jest', + 'jest.json': 'jest', + 'jest.setup.js': 'jest', + 'jest.setup.ts': 'jest', + 'jest.teardown.js': 'jest', + 'keystatic.config.ts': 'keystatic', + 'keystatic.page.ts': 'keystatic', + 'knip.json': 'knip', + 'knip.jsonc': 'knip', + 'knip.ts': 'knip', + license: 'license', + 'license-agpl': 'license', + 'license-apache': 'license', + 'license-bsd': 'license', + 'license-gpl': 'license', + 'license-lgpl': 'license', + 'license-mit': 'license', + 'license.md': 'license', + 'license.rst': 'license', + 'license.txt': 'license', + 'manifest.in': 'python', + 'markdoc.config.ts': 'markdoc', + 'nest-cli.json': 'nest', + 'nestconfig.json': 'nest', + 'netlify.json': 'netlify', + 'netlify.toml': 'netlify', + 'netlify.yaml': 'netlify', + 'netlify.yml': 'netlify', + 'next.config.js': 'next', + 'next.config.mjs': 'next', + 'next.config.mts': 'next', + 'next.config.ts': 'next', + 'nodemon-debug.json': 'nodemon', + 'nodemon.json': 'nodemon', + 'now.json': 'vercel', + 'package-lock.json': 'node', + 'package.json': 'node', + 'panda.config.ts': 'panda', + pipfile: 'python', + 'pnpm-lock.yaml': 'pnpm', + 'pnpm-workspace.yaml': 'pnpm', + 'post-merge': 'shell', + 'postcss.config.cjs': 'postcss', + 'postcss.config.cts': 'postcss', + 'postcss.config.js': 'postcss', + 'postcss.config.mts': 'postcss', + 'postcss.config.ts': 'postcss', + 'pre-commit': 'shell', + 'pre-push': 'shell', + 'prettier.config.cjs': 'prettier', + 'prettier.config.js': 'prettier', + 'prettier.config.mjs': 'prettier', + 'prisma.yml': 'prisma', + 'pulumi.yaml': 'pulumi', + pylintrc: 'python', + 'pyproject.toml': 'python', + 'requirements.txt': 'python', + 'robots.txt': 'text', + 'rome.json': 'rome', + 'sanity.cli.ts': 'sanity', + 'sanity.config.ts': 'sanity', + 'sanity.theme.mjs': 'sanity', + 'serverless.yml': 'severless', + 'setup.cfg': 'python', + 'stylelint.config.cjs': 'stylelint', + 'stylelint.config.js': 'stylelint', + 'svelte.config.cjs': 'svelte', + 'svelte.config.js': 'svelte', + 'tailwind.config.cjs': 'tailwind', + 'tailwind.config.cts': 'tailwind', + 'tailwind.config.js': 'tailwind', + 'tailwind.config.mts': 'tailwind', + 'tailwind.config.ts': 'tailwind', + 'tailwind.js': 'tailwind', + 'tailwind.ts': 'tailwind', + 'test.js': 'js-test', + 'test.ts': 'ts-test', + 'tsconfig.app.json': 'tsconfig', + 'tsconfig.base.json': 'tsconfig', + 'tsconfig.build.json': 'tsconfig', + 'tsconfig.cjs.json': 'tsconfig', + 'tsconfig.config.json': 'tsconfig', + 'tsconfig.e2e.json': 'tsconfig', + 'tsconfig.editor.json': 'tsconfig', + 'tsconfig.eslint.json': 'tsconfig', + 'tsconfig.esm.json': 'tsconfig', + 'tsconfig.json': 'tsconfig', + 'tsconfig.lib.json': 'tsconfig', + 'tsconfig.mjs.json': 'tsconfig', + 'tsconfig.node.json': 'tsconfig', + 'tsconfig.spec.json': 'tsconfig', + 'tsconfig.test.json': 'ts-test', + 'tsconfig.vitest.json': 'tsconfig', + 'tsconfig.web.json': 'tsconfig', + 'tsconfig.webworker.json': 'tsconfig', + 'turbo.json': 'turborepo', + 'uno.config.js': 'unocss', + 'uno.config.mjs': 'unocss', + 'uno.config.mts': 'unocss', + 'uno.config.ts': 'unocss', + 'unocss.config.js': 'unocss', + 'unocss.config.mjs': 'unocss', + 'unocss.config.mts': 'unocss', + 'unocss.config.ts': 'unocss', + 'vercel.json': 'vercel', + 'vite.config.cjs': 'vite', + 'vite.config.cts': 'vite', + 'vite.config.electron.cjs': 'vite', + 'vite.config.electron.cts': 'vite', + 'vite.config.electron.js': 'vite', + 'vite.config.electron.mjs': 'vite', + 'vite.config.electron.mts': 'vite', + 'vite.config.electron.ts': 'vite', + 'vite.config.js': 'vite', + 'vite.config.mjs': 'vite', + 'vite.config.mts': 'vite', + 'vite.config.ts': 'vite', + 'vitest.config.cjs': 'vitest', + 'vitest.config.cts': 'vitest', + 'vitest.config.js': 'vitest', + 'vitest.config.mjs': 'vitest', + 'vitest.config.mts': 'vitest', + 'vitest.config.ts': 'vitest', + 'webpack.base.cjs': 'webpack', + 'webpack.base.cts': 'webpack', + 'webpack.base.js': 'webpack', + 'webpack.base.mjs': 'webpack', + 'webpack.base.mts': 'webpack', + 'webpack.base.ts': 'webpack', + 'webpack.cjs': 'webpack', + 'webpack.client.cjs': 'webpack', + 'webpack.client.cts': 'webpack', + 'webpack.client.js': 'webpack', + 'webpack.client.mjs': 'webpack', + 'webpack.client.mts': 'webpack', + 'webpack.client.ts': 'webpack', + 'webpack.common.cjs': 'webpack', + 'webpack.common.cts': 'webpack', + 'webpack.common.js': 'webpack', + 'webpack.common.mjs': 'webpack', + 'webpack.common.mts': 'webpack', + 'webpack.common.ts': 'webpack', + 'webpack.config.babel.js': 'webpack', + 'webpack.config.babel.ts': 'webpack', + 'webpack.config.base.babel.js': 'webpack', + 'webpack.config.base.babel.ts': 'webpack', + 'webpack.config.base.cjs': 'webpack', + 'webpack.config.base.cts': 'webpack', + 'webpack.config.base.js': 'webpack', + 'webpack.config.base.mjs': 'webpack', + 'webpack.config.base.mts': 'webpack', + 'webpack.config.base.ts': 'webpack', + 'webpack.config.cjs': 'webpack', + 'webpack.config.client.cjs': 'webpack', + 'webpack.config.client.cts': 'webpack', + 'webpack.config.client.js': 'webpack', + 'webpack.config.client.mjs': 'webpack', + 'webpack.config.client.mts': 'webpack', + 'webpack.config.client.ts': 'webpack', + 'webpack.config.coffee': 'webpack', + 'webpack.config.common.babel.js': 'webpack', + 'webpack.config.common.babel.ts': 'webpack', + 'webpack.config.common.cjs': 'webpack', + 'webpack.config.common.cts': 'webpack', + 'webpack.config.common.js': 'webpack', + 'webpack.config.common.mjs': 'webpack', + 'webpack.config.common.mts': 'webpack', + 'webpack.config.common.ts': 'webpack', + 'webpack.config.cts': 'webpack', + 'webpack.config.dev.babel.js': 'webpack', + 'webpack.config.dev.babel.ts': 'webpack', + 'webpack.config.dev.cjs': 'webpack', + 'webpack.config.dev.cts': 'webpack', + 'webpack.config.dev.js': 'webpack', + 'webpack.config.dev.mjs': 'webpack', + 'webpack.config.dev.mts': 'webpack', + 'webpack.config.dev.ts': 'webpack', + 'webpack.config.js': 'webpack', + 'webpack.config.mjs': 'webpack', + 'webpack.config.mts': 'webpack', + 'webpack.config.prod.babel.cjs': 'webpack', + 'webpack.config.prod.babel.cts': 'webpack', + 'webpack.config.prod.babel.js': 'webpack', + 'webpack.config.prod.babel.mjs': 'webpack', + 'webpack.config.prod.babel.mts': 'webpack', + 'webpack.config.prod.babel.ts': 'webpack', + 'webpack.config.prod.cjs': 'webpack', + 'webpack.config.prod.cts': 'webpack', + 'webpack.config.prod.js': 'webpack', + 'webpack.config.prod.mjs': 'webpack', + 'webpack.config.prod.mts': 'webpack', + 'webpack.config.prod.ts': 'webpack', + 'webpack.config.production.babel.js': 'webpack', + 'webpack.config.production.babel.ts': 'webpack', + 'webpack.config.production.cjs': 'webpack', + 'webpack.config.production.cts': 'webpack', + 'webpack.config.production.js': 'webpack', + 'webpack.config.production.mjs': 'webpack', + 'webpack.config.production.mts': 'webpack', + 'webpack.config.production.ts': 'webpack', + 'webpack.config.server.cjs': 'webpack', + 'webpack.config.server.cts': 'webpack', + 'webpack.config.server.js': 'webpack', + 'webpack.config.server.mjs': 'webpack', + 'webpack.config.server.mts': 'webpack', + 'webpack.config.server.ts': 'webpack', + 'webpack.config.staging.babel.js': 'webpack', + 'webpack.config.staging.babel.ts': 'webpack', + 'webpack.config.staging.cjs': 'webpack', + 'webpack.config.staging.cts': 'webpack', + 'webpack.config.staging.js': 'webpack', + 'webpack.config.staging.mjs': 'webpack', + 'webpack.config.staging.mts': 'webpack', + 'webpack.config.staging.ts': 'webpack', + 'webpack.config.test.cjs': 'webpack', + 'webpack.config.test.cts': 'webpack', + 'webpack.config.test.js': 'webpack', + 'webpack.config.test.mjs': 'webpack', + 'webpack.config.test.mts': 'webpack', + 'webpack.config.test.ts': 'webpack', + 'webpack.config.ts': 'webpack', + 'webpack.config.vendor.cjs': 'webpack', + 'webpack.config.vendor.cts': 'webpack', + 'webpack.config.vendor.js': 'webpack', + 'webpack.config.vendor.mjs': 'webpack', + 'webpack.config.vendor.mts': 'webpack', + 'webpack.config.vendor.production.cjs': 'webpack', + 'webpack.config.vendor.production.cts': 'webpack', + 'webpack.config.vendor.production.js': 'webpack', + 'webpack.config.vendor.production.mjs': 'webpack', + 'webpack.config.vendor.production.mts': 'webpack', + 'webpack.config.vendor.production.ts': 'webpack', + 'webpack.config.vendor.ts': 'webpack', + 'webpack.cts': 'webpack', + 'webpack.dev.cjs': 'webpack', + 'webpack.dev.cts': 'webpack', + 'webpack.dev.js': 'webpack', + 'webpack.dev.mjs': 'webpack', + 'webpack.dev.mts': 'webpack', + 'webpack.dev.ts': 'webpack', + 'webpack.development.cjs': 'webpack', + 'webpack.development.cts': 'webpack', + 'webpack.development.js': 'webpack', + 'webpack.development.mjs': 'webpack', + 'webpack.development.mts': 'webpack', + 'webpack.development.ts': 'webpack', + 'webpack.dist.cjs': 'webpack', + 'webpack.dist.cts': 'webpack', + 'webpack.dist.js': 'webpack', + 'webpack.dist.mjs': 'webpack', + 'webpack.dist.mts': 'webpack', + 'webpack.dist.ts': 'webpack', + 'webpack.js': 'webpack', + 'webpack.mix.cjs': 'webpack', + 'webpack.mix.cts': 'webpack', + 'webpack.mix.js': 'webpack', + 'webpack.mix.mjs': 'webpack', + 'webpack.mix.mts': 'webpack', + 'webpack.mix.ts': 'webpack', + 'webpack.mjs': 'webpack', + 'webpack.mts': 'webpack', + 'webpack.prod.cjs': 'webpack', + 'webpack.prod.config.cjs': 'webpack', + 'webpack.prod.config.cts': 'webpack', + 'webpack.prod.config.js': 'webpack', + 'webpack.prod.config.mjs': 'webpack', + 'webpack.prod.config.mts': 'webpack', + 'webpack.prod.config.ts': 'webpack', + 'webpack.prod.cts': 'webpack', + 'webpack.prod.js': 'webpack', + 'webpack.prod.mjs': 'webpack', + 'webpack.prod.mts': 'webpack', + 'webpack.prod.ts': 'webpack', + 'webpack.production.cjs': 'webpack', + 'webpack.production.cts': 'webpack', + 'webpack.production.js': 'webpack', + 'webpack.production.mjs': 'webpack', + 'webpack.production.mts': 'webpack', + 'webpack.production.ts': 'webpack', + 'webpack.server.cjs': 'webpack', + 'webpack.server.cts': 'webpack', + 'webpack.server.js': 'webpack', + 'webpack.server.mjs': 'webpack', + 'webpack.server.mts': 'webpack', + 'webpack.server.ts': 'webpack', + 'webpack.test.cjs': 'webpack', + 'webpack.test.cts': 'webpack', + 'webpack.test.js': 'webpack', + 'webpack.test.mjs': 'webpack', + 'webpack.test.mts': 'webpack', + 'webpack.test.ts': 'webpack', + 'webpack.ts': 'webpack', + 'webpackfile.cjs': 'webpack', + 'webpackfile.cts': 'webpack', + 'webpackfile.js': 'webpack', + 'webpackfile.mjs': 'webpack', + 'webpackfile.mts': 'webpack', + 'webpackfile.ts': 'webpack', + yarn: 'yarn', + 'yarn.lock': 'yarn' +}; diff --git a/app/src/lib/ext-icons/vsi/typeMap.ts b/app/src/lib/ext-icons/vsi/typeMap.ts deleted file mode 100644 index d6d238ca2..000000000 --- a/app/src/lib/ext-icons/vsi/typeMap.ts +++ /dev/null @@ -1,1339 +0,0 @@ -export const vsiFileExtensionsToIcons: { [key: string]: string } = { - as: 'actionscript2', - ada: 'ada', - prw: 'advpl', - al: 'al', - affect: 'affectscript', - ansible: 'ansible', - g4: 'antlr', - any: 'anyscript', - htaccess: 'apache', - cls: 'vba', - apib: 'apib', - apl: 'apl', - applescript: 'applescript', - adoc: 'asciidoc', - asp: 'asp', - asm: 'assembly', - ats: 'ats', - ahk: 'autohotkey', - au3: 'autoit', - avcs: 'avro', - azcli: 'azure', - 'azure-pipelines.yml': 'azurepipelines', - bal: 'ballerina', - bat: 'bat', - bats: 'bats', - bzl: 'bazel', - bazel: 'bazel', - bf: 'befunge', - biml: 'biml', - 'blade.php': 'blade', - blitzbasic: 'blitzbasic', - bolt: 'bolt', - bsq: 'bosque', - c: 'c3', - cal: 'c_al', - cabal: 'cabal', - Caddyfile: 'caddy', - cddl: 'cddl', - ceylon: 'ceylon', - cfml: 'cf2', - cfc: 'cfc2', - cfm: 'cfm2', - clojure: 'clojure', - clojurescript: 'clojurescript', - yml: 'cloudfoundry', - cmake: 'cmake', - 'CMakeCache.txt': 'cmake', - cbl: 'cobol', - coffee: 'coffeescript', - properties: 'config', - env: 'config', - ckbk: 'chef_cookbook', - confluence: 'confluence', - cpp: 'cpp3', - cr: 'crystal', - cs: 'csharp2', - css: 'css', - feature: 'cucumber', - cu: 'cuda', - pyx: 'cython', - dal: 'dal', - dart: 'dartlang', - pas: 'delphi', - html: 'html', - d: 'dlang', - diff: 'diff', - dockerfile: 'docker2', - dockerignore: 'docker2', - dox: 'doxygen', - drl: 'drools', - dust: 'dustjs', - dylan: 'dylan', - edge: 'edge2', - eex: 'eex', - es: 'elastic', - ex: 'elixir', - elm: 'elm2', - erb: 'erb', - erl: 'erlang2', - falcon: 'falcon', - fql: 'fauna', - f: 'fortran', - fs: 'fsharp', - ftl: 'freemarker', - fthtml: 'fthtml', - gspec: 'galen2', - git: 'git', - gml: 'gamemaker81', - gcode: 'gcode', - gen: 'genstat', - glsl: 'glsl', - glyphs: 'glyphs', - gp: 'gnuplot', - go: 'go', - gd: 'godot', - gql: 'graphql', - gv: 'graphviz', - groovy: 'groovy2', - haml: 'haml', - hbs: 'handlebars2', - prg: 'harbour', - hs: 'haskell2', - lhs: 'haskell2', - haxe: 'haxe', - 'helm.tpl': 'helm', - hjson: 'hjson', - hlsl: 'hlsl', - yaml: 'yaml', - hosts: 'host', - http: 'http', - aff: 'hunspell', - hy: 'hy', - hypr: 'hypr', - icl: 'icl', - imba: 'imba', - '4gl': 'informix', - ini: 'ini', - ink: 'ink', - iss: 'innosetup', - janet: 'janet', - java: 'java', - jekyll: 'jekyll', - jenkins: 'jenkins', - jinja: 'jinja', - js: 'js_official', - jsm: 'js_official', - json: 'json2', - 'JSON-tmLanguage': 'json2', - jsonc: 'json2', - jsonnet: 'jsonnet', - json5: 'json5', - jl: 'julia2', - io: 'io', - id: 'iodine', - kv: 'kivy', - ks: 'kos', - kt: 'kotlin', - '.kusto': 'kusto', - lat: 'latino', - less: 'less', - flex: 'lex', - lisp: 'lisp', - lol: 'lolcode', - lsl: 'lsl', - lua: 'lua', - mk: 'makefile', - md: 'markdown', - marko: 'marko', - mat: 'matlab', - ms: 'maxscript', - mel: 'maya', - mdx: 'mdx', - mediawiki: 'mediawiki', - 'meson.build': 'meson', - mjml: 'mjml', - pq: 'mlang', - ep: 'mojolicious', - mongo: 'mongo', - mson: 'mson', - ne: 'nearly', - nim: 'nim', - nimble: 'nimble', - nix: 'nix', - nsi: 'nsi', - nunjucks: 'nunjucks', - m: 'objectivec', - mm: 'objectivecpp', - ml: 'ocaml', - o3: 'ogone', - things: 'openHAB', - pddl: 'pddl', - plan: 'pddl_plan', - happenings: 'pddl_happenings', - pl: 'perl2', - pl6: 'perl6', - pgsql: 'pgsql', - php: 'php3', - pine: 'pine', - 'requirements.txt': 'pip', - dbgasm: 'platformio', - ddl: 'plsql', - polymer: 'polymer', - pony: 'pony', - pcss: 'postcss', - ps1: 'powershell2', - prisma: 'prisma', - w: 'progress', - pro: 'prolog', - rules: 'prometheus', - proto: 'protobuf', - pp: 'puppet', - pug: 'pug', - purs: 'purescript', - arr: 'pyret', - py: 'python', - qvs: 'qlikview', - qml: 'qml', - qs: 'qsharp', - r: 'r', - rkt: 'racket', - raml: 'raml', - cshtml: 'razor', - jsx: 'reactjs', - tsx: 'reactts', - re: 'reason', - red: 'red', - res: 'rescript', - rst: 'rest', - rex: 'rexx', - tag: 'riot', - robot: 'robotframework', - rmd: 'rmd', - rb: 'ruby', - rs: 'rust', - san: 'san', - sas: 'sas', - sbt: 'sbt', - scala: 'scala', - wsf: 'script', - scss: 'scss', - sce: 'scilab', - sdl: 'sdlang', - shader: 'shaderlab', - sh: 'shell', - slang: 'slang', - ice: 'slice', - slim: 'slim', - ss: 'silverstripe', - eskip: 'skipper', - tpl: 'smarty', - snort: 'snort', - sol: 'solidity', - sqf: 'sqf', - sql: 'sql', - nut: 'squirrel', - stan: 'stan', - do: 'stata', - stencil: 'stencil', - 'html.stencil': 'stencil', - 'st.css': 'stylable', - styled: 'styled', - styl: 'stylus', - svelte: 'svelte', - swagger: 'swagger', - swift: 'swift', - swig: 'swig', - link: 'systemd', - sv: 'systemverilog', - tt: 't4tt', - tt3: 'tt', - tera: 'tera', - tf: 'terraform', - sty: 'tex', - tex: 'tex', - bib: 'tex', - dtx: 'tex', - txt: 'text', - textile: 'textile', - Tiltfile: 'tiltfile', - toml: 'toml', - ttcn3: 'ttcn', - tuc: 'tuc', - twig: 'twig', - ts: 'typescript_official', - typoscript: 'typo3', - vb: 'vb', - vm: 'velocity', - v: 'vlang', - vhdl: 'vhdl', - vim: 'vim', - volt: 'volt', - vue: 'vue', - wasm: 'wasm', - wy: 'wenyan', - wl: 'wolfram', - wurst: 'wurst', - 'xmake.lua': 'xmake', - xml: 'xml', - xquery: 'xquery', - xsl: 'xsl', - bison: 'yacc', - 'YAML-tmLanguage': 'yaml', - yang: 'yang', - zig: 'zig', - accdb: 'access2', - accdt: 'access2', - mdb: 'access2', - accda: 'access2', - accdc: 'access2', - accde: 'access2', - accdp: 'access2', - accdr: 'access2', - accdu: 'access2', - ade: 'access2', - adp: 'access2', - laccdb: 'access2', - ldb: 'access2', - mam: 'access2', - maq: 'access2', - mdw: 'access2', - ai: 'ai2', - afdesign: 'affinitydesigner', - affinitydesigner: 'affinitydesigner', - afphoto: 'affinityphoto', - affinityphoto: 'affinityphoto', - afpub: 'affinitypublisher', - affinitypublisher: 'affinitypublisher', - 'component.dart': 'ng_component_dart', - 'component.ts': 'ng_component_ts2', - 'component.js': 'ng_component_js2', - 'controller.ts': 'nest_controller_ts', - 'controller.js': 'nest_controller_js', - 'directive.dart': 'ng_directive_dart', - 'directive.ts': 'ng_directive_ts2', - 'directive.js': 'ng_directive_js2', - 'guard.dart': 'ng_guard_dart', - 'guard.ts': 'nest_guard_ts', - 'guard.js': 'nest_guard_js', - 'module.dart': 'ng_module_dart', - 'module.ts': 'nest_module_ts', - 'module.js': 'nest_module_js', - 'pipe.dart': 'ng_pipe_dart', - 'pipe.ts': 'nest_pipe_ts', - 'pipe.js': 'nest_pipe_js', - 'routing.dart': 'ng_routing_dart', - 'routing.ts': 'ng_routing_ts2', - 'routing.js': 'ng_routing_js2', - 'page.dart': 'ng_smart_component_dart', - 'container.dart': 'ng_smart_component_dart', - 'page.ts': 'ng_smart_component_ts2', - 'container.ts': 'ng_smart_component_ts2', - 'page.js': 'ng_smart_component_js2', - 'container.js': 'ng_smart_component_js2', - 'service.dart': 'ng_service_dart', - 'service.ts': 'nest_service_ts', - 'service.js': 'nest_service_js', - 'interceptor.dart': 'ng_interceptor_dart', - 'interceptor.ts': 'nest_interceptor_ts', - 'interceptor.js': 'nest_interceptor_js', - ino: 'arduino', - pde: 'arduino', - aspx: 'aspx', - ascx: 'aspx', - aac: 'audio', - act: 'audio', - aiff: 'audio', - amr: 'audio', - ape: 'audio', - au: 'audio', - dct: 'audio', - dss: 'audio', - dvf: 'audio', - flac: 'audio', - gsm: 'audio', - iklax: 'audio', - ivs: 'audio', - m4a: 'audio', - m4b: 'audio', - m4p: 'audio', - mmf: 'audio', - mogg: 'audio', - mp3: 'audio', - mpc: 'audio', - msv: 'audio', - oga: 'audio', - ogg: 'audio', - opus: 'audio', - ra: 'audio', - raw: 'audio', - tta: 'audio', - vox: 'audio', - wav: 'audio', - wma: 'audio', - avif: 'avif', - awk: 'awk', - a: 'binary', - app: 'binary', - bin: 'binary', - cmo: 'binary', - cmx: 'binary', - cma: 'binary', - cmxa: 'binary', - cmi: 'binary', - dll: 'binary', - exe: 'binary', - hl: 'binary', - ilk: 'binary', - lib: 'binary', - n: 'binary', - ndll: 'binary', - o: 'binary', - obj: 'binary', - pyc: 'binary', - pyd: 'binary', - pyo: 'binary', - pdb: 'binary', - scpt: 'binary', - scptd: 'binary', - so: 'binary', - bb: 'blitzbasic', - gemfile: 'bundler', - 'gemfile.lock': 'bundler', - cake: 'cake', - csr: 'cert', - crt: 'cert', - cer: 'cert', - der: 'cert', - pfx: 'cert', - p12: 'cert', - p7b: 'cert', - p7r: 'cert', - src: 'cert', - crl: 'cert', - sst: 'cert', - stl: 'cert', - lucee: 'cf2', - h: 'cheader', - class: 'class', - cjm: 'clojure', - cljc: 'clojure', - cljs: 'clojurescript', - kit: 'codekit', - plist: 'config', - hpp: 'cppheader', - hh: 'cppheader', - hxx: 'cppheader', - 'h++': 'cppheader', - csx: 'csharp2', - csproj: 'csproj', - 'css.map': 'cssmap', - db: 'db', - djt: 'django', - eco: 'docpad', - drawio: 'drawio', - dio: 'drawio', - ejs: 'ejs', - el: 'emacs', - elc: 'emacs', - ensime: 'ensime', - eps: 'eps', - xls: 'excel2', - xlsx: 'excel2', - xlsm: 'excel2', - ods: 'excel2', - fods: 'excel2', - fbx: 'fbx', - swf: 'flash', - swc: 'flash', - fla: 'fla', - 'js.flow': 'flow', - woff: 'font', - woff2: 'font', - ttf: 'font', - otf: 'font', - eot: 'font', - pfa: 'font', - pfb: 'font', - sfd: 'font', - fsproj: 'fsproj', - gmx: 'gamemaker', - yy: 'gamemaker2', - yyp: 'gamemaker2', - gradle: 'gradle2', - hxproj: 'haxedevelop', - 'ejs.t': 'hygen', - idr: 'idris', - lidr: 'idris', - ibc: 'idrisbin', - ipkg: 'idrispkg', - jpeg: 'image', - jpg: 'image', - gif: 'image', - png: 'image', - bmp: 'image', - tiff: 'image', - ico: 'image', - inc: 'inc', - include: 'inc', - infopathxml: 'infopath', - xsn: 'infopath', - xsf: 'infopath', - xtp2: 'infopath', - jar: 'jar', - jbuilder: 'jbuilder', - 'js.snap': 'jest_snapshot', - 'jsx.snap': 'jest_snapshot', - 'ts.snap': 'jest_snapshot', - 'tsx.snap': 'jest_snapshot', - 'js.map': 'jsmap', - jsonld: 'jsonld', - 'json-ld': 'jsonld', - jsp: 'jsp', - jss: 'jss', - ipynb: 'jupyter', - key: 'key', - pem: 'key', - master: 'layout', - 'layout.html': 'layout', - 'layout.htm': 'layout', - enc: 'license', - hxp: 'lime', - liquid: 'liquid', - ls: 'livescript', - lnk: 'lnk', - log: 'log', - tlg: 'log', - crec: 'lync', - ocrec: 'lync', - makefile: 'makefile', - map: 'map', - mdown: 'markdown', - markdown: 'markdown', - 'marko.js': 'markojs', - fig: 'matlab', - mex: 'matlab', - mexn: 'matlab', - mexrs6: 'matlab', - mn: 'matlab', - mum: 'matlab', - mx: 'matlab', - mx3: 'matlab', - rwd: 'matlab', - slx: 'matlab', - slddc: 'matlab', - smv: 'matlab', - xvc: 'matlab', - mustache: 'mustache', - mst: 'mustache', - 'adapter.js': 'nest_adapter_js', - 'adapter.ts': 'nest_adapter_ts', - 'decorator.js': 'nest_decorator_js', - 'decorator.ts': 'nest_decorator_ts', - 'filter.js': 'nest_filter_js', - 'filter.ts': 'nest_filter_ts', - 'gateway.js': 'nest_gateway_js', - 'gateway.ts': 'nest_gateway_ts', - 'middleware.js': 'nest_middleware_js', - 'middleware.ts': 'nest_middleware_ts', - njsproj: 'njsproj', - nupkg: 'nuget', - snupkg: 'nuget', - nuspec: 'nuget', - psmdcp: 'nuget', - npy: 'numpy', - npz: 'numpy', - nunj: 'nunjucks', - njs: 'nunjucks', - one: 'onenote', - onepkg: 'onenote', - onetoc: 'onenote', - onetoc2: 'onenote', - sig: 'onenote', - cl: 'opencl', - opencl: 'opencl', - org: 'org', - pst: 'outlook', - bcmx: 'outlook', - otm: 'outlook', - msg: 'outlook', - oft: 'outlook', - ovpn: 'ovpn', - pkg: 'package', - patch: 'patch', - pcd: 'pcl', - pdf: 'pdf2', - psd: 'photoshop2', - php1: 'php3', - php2: 'php3', - php3: 'php3', - php4: 'php3', - php5: 'php3', - php6: 'php3', - phps: 'php3', - phpsa: 'php3', - phpt: 'php3', - phtml: 'php3', - phar: 'php3', - pu: 'plantuml', - plantuml: 'plantuml', - iuml: 'plantuml', - puml: 'plantuml', - pck: 'plsql_package', - pkb: 'plsql_package_body', - pkh: 'plsql_package_header', - pks: 'plsql_package_spec', - po: 'poedit', - mo: 'poedit', - pot: 'powerpoint2', - potx: 'powerpoint2', - potm: 'powerpoint2', - pps: 'powerpoint2', - ppsx: 'powerpoint2', - ppsm: 'powerpoint2', - ppt: 'powerpoint2', - pptx: 'powerpoint2', - pptm: 'powerpoint2', - pa: 'powerpoint2', - ppa: 'powerpoint2', - ppam: 'powerpoint2', - sldm: 'powerpoint2', - sldx: 'powerpoint2', - psm1: 'powershell_psm2', - psd1: 'powershell_psd2', - 'format.ps1xml': 'powershell_format', - 'types.ps1xml': 'powershell_types', - P: 'prolog', - pub: 'publisher', - puz: 'publisher', - q: 'q', - qbs: 'qbs', - qvd: 'qlikview', - qvw: 'qlikview', - rake: 'rake', - rt: 'reacttemplate', - reg: 'registry', - rego: 'rego', - rproj: 'rproj', - sls: 'saltstack', - sass: 'sass', - scssm: 'scss', - unity: 'shaderlab', - fish: 'shell', - sketch: 'sketch', - sln: 'sln2', - spe: 'spacengine', - sqlite: 'sqlite', - sqlite3: 'sqlite', - db3: 'sqlite', - sss: 'sss', - dta: 'stata', - storyboard: 'storyboard', - svg: 'svg', - tt2: 'tt', - tcl: 'tcl', - exp: 'tcl', - tfstate: 'terraform', - tst: 'test', - texi: 'tex', - tikz: 'tex', - csv: 'text', - todo: 'todo', - 'd.ts': 'typescriptdef_official', - vala: 'vala', - vapi: 'vapi', - vash: 'vash', - vbhtml: 'vbhtml', - vbproj: 'vbproj', - vcxproj: 'vcxproj', - '3g2': 'video', - '3gp': 'video', - asf: 'video', - amv: 'video', - avi: 'video', - divx: 'video', - qt: 'video', - f4a: 'video', - f4b: 'video', - f4p: 'video', - f4v: 'video', - flv: 'video', - m2v: 'video', - m4v: 'video', - mkv: 'video', - mk3d: 'video', - mov: 'video', - mp2: 'video', - mp4: 'video', - mpe: 'video', - mpeg: 'video', - mpeg2: 'video', - mpg: 'video', - mpv: 'video', - nsv: 'video', - ogv: 'video', - rm: 'video', - rmvb: 'video', - svi: 'video', - vob: 'video', - webm: 'video', - wmv: 'video', - vsix: 'vsix', - vsixmanifest: 'vsixmanifest', - webp: 'webp', - doc: 'word2', - docx: 'word2', - docm: 'word2', - dot: 'word2', - dotx: 'word2', - dotm: 'word2', - wll: 'word2', - wxml: 'wxml', - wxss: 'wxss', - xcodeproj: 'xcode', - xfl: 'xfl', - xib: 'xib', - xliff: 'xliff', - xlf: 'xliff', - pex: 'xml', - tmlanguage: 'xml', - zip: 'zip2', - rar: 'zip2', - '7z': 'zip2', - tar: 'zip2', - tgz: 'zip2', - bz: 'zip2', - gz: 'zip2', - bzip2: 'zip2', - xz: 'zip2', - bz2: 'zip2', - zipx: 'zip2' -}; - -export const vsiFileNamesToIcons: { [key: string]: string } = { - file: 'file', - '.angular-cli.json': 'angular', - 'angular-cli.json': 'angular', - 'angular.json': 'angular', - '.angular.json': 'angular', - 'app-routing.module.dart': 'ng_routing_dart', - 'app-routing.module.ts': 'ng_routing_ts2', - 'app-routing.module.js': 'ng_routing_js2', - 'ng-tailwind.js': 'ng_tailwind', - 'api-extractor.json': 'api_extractor', - 'api-extractor-base.json': 'api_extractor', - 'appveyor.yml': 'appveyor', - '.appveyor.yml': 'appveyor', - 'aurelia.json': 'aurelia', - 'azure-pipelines.yml': 'azurepipelines', - '.vsts-ci.yml': 'azurepipelines', - '.babelrc': 'babel2', - '.babelignore': 'babel2', - '.babelrc.js': 'babel2', - '.babelrc.cjs': 'babel2', - '.babelrc.mjs': 'babel2', - '.babelrc.json': 'babel2', - 'babel.config.js': 'babel2', - 'babel.config.cjs': 'babel2', - 'babel.config.mjs': 'babel2', - 'babel.config.json': 'babel2', - '.bzrignore': 'bazaar', - 'BUILD.bazel': 'bazel', - '.bazelrc': 'bazel', - 'bazel.rc': 'bazel', - 'bazel.bazelrc': 'bazel', - '.bithoundrc': 'bithound', - 'bitbucket-pipelines.yml': 'bitbucketpipeline', - '.bowerrc': 'bower', - 'bower.json': 'bower', - '.browserslistrc': 'browserslist', - browserslist: 'browserslist', - '.buckconfig': 'buckbuild', - gemfile: 'bundler', - 'gemfile.lock': 'bundler', - 'capacitor.config.json': 'capacitor', - 'cargo.toml': 'cargo', - 'cargo.lock': 'cargo', - chefignore: 'chef', - berksfile: 'chef', - 'berksfile.lock': 'chef', - policyfile: 'chef', - 'circle.yml': 'circleci', - '.cfignore': 'cloudfoundry', - '.codacy.yml': 'codacy', - '.codacy.yaml': 'codacy', - '.codeclimate.yml': 'codeclimate', - 'codecov.yml': 'codecov', - '.codecov.yml': 'codecov', - 'config.codekit': 'codekit', - 'config.codekit2': 'codekit', - 'config.codekit3': 'codekit', - '.config.codekit': 'codekit', - '.config.codekit2': 'codekit', - '.config.codekit3': 'codekit', - 'coffeelint.json': 'coffeelint', - '.coffeelintignore': 'coffeelint', - 'conanfile.txt': 'conan', - 'conanfile.py': 'conan', - '.condarc': 'conda', - 'commitlint.config.js': 'commitlint', - 'composer.json': 'composer', - 'composer.lock': 'composer', - '.coveralls.yml': 'coveralls', - 'crowdin.yml': 'crowdin', - '.csscomb.json': 'csscomb', - '.csslintrc': 'csslint', - 'cypress.json': 'cypress', - 'cypress.env.json': 'cypress', - '.cvsignore': 'cvs', - '.boringignore': 'darcs', - 'dependabot.yml': 'dependabot', - 'dependencies.yml': 'dependencies', - 'devcontainer.json': 'devcontainer', - 'docker-compose.yml': 'docker2', - 'docker-compose.ci-build.yml': 'docker2', - 'docker-compose.override.yml': 'docker2', - 'docker-compose.vs.debug.yml': 'docker2', - 'docker-compose.vs.release.yml': 'docker2', - 'docker-cloud.yml': 'docker2', - 'docker-compose.test.yml': 'dockertest2', - '.doczrc': 'docz', - 'docz.js': 'docz', - 'docz.json': 'docz', - '.docz.js': 'docz', - '.docz.json': 'docz', - 'doczrc.js': 'docz', - 'doczrc.json': 'docz', - 'docz.config.js': 'docz', - 'docz.config.json': 'docz', - '.dojorc': 'dojo', - '.drawio.png': 'drawio', - '.drawio.svg': 'drawio', - '.drone.yml': 'drone', - '.drone.yml.sig': 'drone', - '.dvc': 'dvc', - '.editorconfig': 'editorconfig', - 'elm-package.json': 'elm2', - '.ember-cli': 'ember', - emakefile: 'erlang2', - '.emakerfile': 'erlang2', - '.eslintrc': 'eslint2', - '.eslintignore': 'eslint2', - '.eslintcache': 'eslint2', - '.eslintrc.js': 'eslint2', - '.eslintrc.mjs': 'eslint2', - '.eslintrc.cjs': 'eslint2', - '.eslintrc.json': 'eslint2', - '.eslintrc.yaml': 'eslint2', - '.eslintrc.yml': 'eslint2', - 'app.json': 'expo', - 'app.config.js': 'expo', - 'app.config.json': 'expo', - 'app.config.json5': 'expo', - '.faunarc': 'fauna', - 'favicon.ico': 'favicon', - '.firebaserc': 'firebase', - 'firebase.json': 'firebasehosting', - 'firestore.rules': 'firestore', - 'firestore.indexes.json': 'firestore', - '.flooignore': 'floobits', - '.flowconfig': 'flow', - '.flutter-plugins': 'flutter', - '.metadata': 'flutter', - 'pubspec.lock': 'flutter_package', - 'pubspec.yaml': 'flutter_package', - '.packages': 'flutter_package', - '.fossaignore': 'fossa', - 'ignore-glob': 'fossil', - 'fuse.js': 'fusebox', - '.gitattributes': 'git', - '.gitconfig': 'git', - '.gitignore': 'git', - '.gitmodules': 'git', - '.gitkeep': 'git', - '.mailmap': 'git', - 'gatsby-config.js': 'gatsby', - 'gatsby-config.ts': 'gatsby', - 'gatsby-node.js': 'gatsby', - 'gatsby-node.ts': 'gatsby', - 'gatsby-browser.js': 'gatsby', - 'gatsby-browser.ts': 'gatsby', - 'gatsby-ssr.js': 'gatsby', - 'gatsby-ssr.ts': 'gatsby', - '.gitlab-ci.yml': 'gitlab', - 'glide.yml': 'glide', - 'go.sum': 'go_package', - 'go.mod': 'go_package', - '.gqlconfig': 'graphql', - '.graphqlconfig': 'graphql_config', - '.graphqlconfig.yml': 'graphql_config', - '.graphqlconfig.yaml': 'graphql_config', - 'greenkeeper.json': 'greenkeeper', - 'gridsome.config.js': 'gridsome', - 'gridsome.config.ts': 'gridsome', - 'gridsome.server.js': 'gridsome', - 'gridsome.server.ts': 'gridsome', - 'gridsome.client.js': 'gridsome', - 'gridsome.client.ts': 'gridsome', - 'gruntfile.js': 'grunt', - 'gruntfile.coffee': 'grunt', - 'gruntfile.ts': 'grunt', - 'gruntfile.babel.js': 'grunt', - 'gruntfile.babel.coffee': 'grunt', - 'gruntfile.babel.ts': 'grunt', - 'gulpfile.js': 'gulp', - 'gulpfile.coffee': 'gulp', - 'gulpfile.ts': 'gulp', - 'gulpfile.mjs': 'gulp', - 'gulpfile.esm.js': 'gulp', - 'gulpfile.esm.coffee': 'gulp', - 'gulpfile.esm.ts': 'gulp', - 'gulpfile.esm.mjs': 'gulp', - 'gulpfile.babel.js': 'gulp', - 'gulpfile.babel.coffee': 'gulp', - 'gulpfile.babel.ts': 'gulp', - 'gulpfile.babel.mjs': 'gulp', - 'haxelib.json': 'haxe', - 'checkstyle.json': 'haxecheckstyle', - '.p4ignore': 'helix', - '.htmlhintrc': 'htmlhint', - '.huskyrc': 'husky', - 'husky.config.js': 'husky', - '.huskyrc.js': 'husky', - '.huskyrc.json': 'husky', - '.huskyrc.yaml': 'husky', - '.huskyrc.yml': 'husky', - 'ionic.project': 'ionic', - 'ionic.config.json': 'ionic', - jakefile: 'jake', - 'jakefile.js': 'jake', - 'jasmine.json': 'jasmine', - 'jest.config.json': 'jest', - 'jest.config.ts': 'jest', - 'jest.json': 'jest', - '.jestrc': 'jest', - '.jestrc.js': 'jest', - '.jestrc.json': 'jest', - 'jest.config.js': 'jest', - 'jest.config.cjs': 'jest', - 'jest.config.mjs': 'jest', - 'jest.config.babel.js': 'jest', - 'jest.config.babel.cjs': 'jest', - 'jest.config.babel.mjs': 'jest', - '.jpmignore': 'jpm', - '.jsbeautifyrc': 'jsbeautify', - jsbeautifyrc: 'jsbeautify', - '.jsbeautify': 'jsbeautify', - jsbeautify: 'jsbeautify', - 'jsconfig.json': 'jsconfig', - '.jscpd.json': 'jscpd', - 'jscpd-report.xml': 'jscpd', - 'jscpd-report.json': 'jscpd', - 'jscpd-report.html': 'jscpd', - '.jshintrc': 'jshint', - '.jshintignore': 'jshint', - 'karma.conf.js': 'karma', - 'karma.conf.coffee': 'karma', - 'karma.conf.ts': 'karma', - '.kiteignore': 'kite', - '.kitchen.yml': 'kitchenci', - 'kitchen.yml': 'kitchenci', - 'layout.html': 'layout', - 'layout.htm': 'layout', - 'lerna.json': 'lerna', - license: 'license', - licence: 'license', - copying: 'license', - 'copying.lesser': 'license', - 'license.md': 'license', - 'license.txt': 'license', - 'licence.md': 'license', - 'licence.txt': 'license', - 'copying.md': 'license', - 'copying.txt': 'license', - 'copying.lesser.md': 'license', - 'copying.lesser.txt': 'license', - '.lighthouserc.js': 'lighthouse', - '.lighthouserc.json': 'lighthouse', - '.lighthouserc.yaml': 'lighthouse', - '.lighthouserc.yml': 'lighthouse', - 'include.xml': 'lime', - '.lintstagedrc': 'lintstagedrc', - 'lint-staged.config.js': 'lintstagedrc', - '.lintstagedrc.js': 'lintstagedrc', - '.lintstagedrc.json': 'lintstagedrc', - '.lintstagedrc.yaml': 'lintstagedrc', - '.lintstagedrc.yml': 'lintstagedrc', - manifest: 'manifest', - 'manifest.skip': 'manifest_skip', - 'manifest.bak': 'manifest_bak', - '.markdownlint.json': 'markdownlint', - 'maven.config': 'maven', - 'pom.xml': 'maven', - 'extensions.xml': 'maven', - 'settings.xml': 'maven', - '.hgignore': 'mercurial', - 'mocha.opts': 'mocha', - '.mocharc.js': 'mocha', - '.mocharc.json': 'mocha', - '.mocharc.jsonc': 'mocha', - '.mocharc.yaml': 'mocha', - '.mocharc.yml': 'mocha', - modernizr: 'modernizr', - 'modernizr.js': 'modernizr', - 'modernizrrc.js': 'modernizr', - '.modernizr.js': 'modernizr', - '.modernizrrc.js': 'modernizr', - 'moleculer.config.js': 'moleculer', - 'moleculer.config.json': 'moleculer', - 'moleculer.config.ts': 'moleculer', - '.mtn-ignore': 'monotone', - '.nest-cli.json': 'nestjs', - 'nest-cli.json': 'nestjs', - 'nestconfig.json': 'nestjs', - '.nestconfig.json': 'nestjs', - 'netlify.toml': 'netlify', - 'next.config.js': 'next', - 'nginx.conf': 'nginx', - 'build.ninja': 'ninja', - '.node-version': 'node2', - '.nvmrc': 'node2', - 'nodemon.json': 'nodemon', - '.npmignore': 'npm', - '.npmrc': 'npm', - 'package.json': 'npm', - 'package-lock.json': 'npm', - 'npm-shrinkwrap.json': 'npm', - '.nsrirc': 'nsri', - '.nsriignore': 'nsri', - 'nsri.config.js': 'nsri', - '.nsrirc.js': 'nsri', - '.nsrirc.json': 'nsri', - '.nsrirc.yaml': 'nsri', - '.nsrirc.yml': 'nsri', - '.integrity.json': 'nsri-integrity', - 'nuxt.config.js': 'nuxt', - 'nuxt.config.ts': 'nuxt', - '.nycrc': 'nyc', - '.nycrc.json': 'nyc', - '.merlin': 'ocaml', - 'paket.dependencies': 'paket', - 'paket.lock': 'paket', - 'paket.references': 'paket', - 'paket.template': 'paket', - 'paket.local': 'paket', - '.php_cs': 'phpcsfixer', - '.php_cs.dist': 'phpcsfixer', - phpunit: 'phpunit', - 'phpunit.xml': 'phpunit', - 'phpunit.xml.dist': 'phpunit', - '.phraseapp.yml': 'phraseapp', - pipfile: 'pip', - 'pipfile.lock': 'pip', - 'platformio.ini': 'platformio', - 'pnpmfile.js': 'pnpm', - 'pnpm-lock.yaml': 'pnpm', - 'pnpm-workspace.yaml': 'pnpm', - '.postcssrc': 'postcssconfig', - '.postcssrc.json': 'postcssconfig', - '.postcssrc.yml': 'postcssconfig', - '.postcssrc.js': 'postcssconfig', - 'postcss.config.js': 'postcssconfig', - '.pre-commit-config.yaml': 'precommit', - '.prettierrc': 'prettier', - '.prettierignore': 'prettier', - 'prettier.config.js': 'prettier', - 'prettier.config.cjs': 'prettier', - 'prettier.config.ts': 'prettier', - 'prettier.config.coffee': 'prettier', - '.prettierrc.js': 'prettier', - '.prettierrc.cjs': 'prettier', - '.prettierrc.json': 'prettier', - '.prettierrc.json5': 'prettier', - '.prettierrc.yml': 'prettier', - '.prettierrc.yaml': 'prettier', - procfile: 'procfile', - 'protractor.conf.js': 'protractor', - 'protractor.conf.coffee': 'protractor', - 'protractor.conf.ts': 'protractor', - '.jade-lintrc': 'pug', - '.pug-lintrc': 'pug', - '.jade-lint.json': 'pug', - '.pug-lintrc.js': 'pug', - '.pug-lintrc.json': 'pug', - 'py.typed': 'pytyped', - '.pyup': 'pyup', - '.pyup.yml': 'pyup', - qmldir: 'qmldir', - 'quasar.conf.js': 'quasar', - rakefile: 'rake', - 'razzle.config.js': 'razzle', - '.rehyperc': 'rehype', - '.rehypeignore': 'rehype', - '.rehyperc.js': 'rehype', - '.rehyperc.json': 'rehype', - '.rehyperc.yml': 'rehype', - '.rehyperc.yaml': 'rehype', - '.remarkrc': 'remark', - '.remarkignore': 'remark', - '.remarkrc.js': 'remark', - '.remarkrc.json': 'remark', - '.remarkrc.yml': 'remark', - '.remarkrc.yaml': 'remark', - '.renovaterc': 'renovate', - 'renovate.json': 'renovate', - '.renovaterc.json': 'renovate', - '.retextrc': 'retext', - '.retextignore': 'retext', - '.retextrc.js': 'retext', - '.retextrc.json': 'retext', - '.retextrc.yml': 'retext', - '.retextrc.yaml': 'retext', - 'robots.txt': 'robots', - 'rollup.config.js': 'rollup', - 'rollup.config.cjs': 'rollup', - 'rollup.config.mjs': 'rollup', - 'rollup.config.coffee': 'rollup', - 'rollup.config.ts': 'rollup', - 'rollup.config.common.js': 'rollup', - 'rollup.config.common.cjs': 'rollup', - 'rollup.config.common.mjs': 'rollup', - 'rollup.config.common.coffee': 'rollup', - 'rollup.config.common.ts': 'rollup', - 'rollup.config.dev.js': 'rollup', - 'rollup.config.dev.cjs': 'rollup', - 'rollup.config.dev.mjs': 'rollup', - 'rollup.config.dev.coffee': 'rollup', - 'rollup.config.dev.ts': 'rollup', - 'rollup.config.prod.js': 'rollup', - 'rollup.config.prod.cjs': 'rollup', - 'rollup.config.prod.mjs': 'rollup', - 'rollup.config.prod.coffee': 'rollup', - 'rollup.config.prod.ts': 'rollup', - '.rspec': 'rspec', - '.rubocop.yml': 'rubocop', - '.rubocop_todo.yml': 'rubocop', - 'rust-toolchain': 'rust_toolchain', - '.sailsrc': 'sails', - '.sentryclirc': 'sentry', - 'serverless.yml': 'serverless', - '.sequelizerc': 'sequelize', - '.sequelizerc.js': 'sequelize', - '.sequelizerc.json': 'sequelize', - 'snapcraft.yaml': 'snapcraft', - '.snyk': 'snyk', - '.solidarity': 'solidarity', - '.solidarity.json': 'solidarity', - '.stylelintrc': 'stylelint', - '.stylelintignore': 'stylelint', - '.stylelintcache': 'stylelint', - 'stylelint.config.js': 'stylelint', - 'stylelint.config.json': 'stylelint', - 'stylelint.config.yaml': 'stylelint', - 'stylelint.config.yml': 'stylelint', - 'stylelint.config.ts': 'stylelint', - '.stylelintrc.js': 'stylelint', - '.stylelintrc.json': 'stylelint', - '.stylelintrc.yaml': 'stylelint', - '.stylelintrc.yml': 'stylelint', - '.stylelintrc.ts': 'stylelint', - '.stylish-haskell.yaml': 'stylish_haskell', - 'story.js': 'storybook', - 'story.jsx': 'storybook', - 'story.ts': 'storybook', - 'story.tsx': 'storybook', - 'stories.js': 'storybook', - 'stories.jsx': 'storybook', - 'stories.ts': 'storybook', - 'stories.tsx': 'storybook', - '.svnignore': 'subversion', - 'package.pins': 'swift', - 'symfony.lock': 'symfony', - 'tailwind.js': 'tailwind', - 'tailwind.coffee': 'tailwind', - 'tailwind.ts': 'tailwind', - 'tailwind.config.js': 'tailwind', - 'tailwind.config.coffee': 'tailwind', - 'tailwind.config.ts': 'tailwind', - '.testcaferc.json': 'testcafe', - 'test.js': 'testjs', - 'test.jsx': 'testjs', - 'test.mjs': 'testjs', - 'spec.js': 'testjs', - 'spec.jsx': 'testjs', - 'spec.mjs': 'testjs', - 'test.ts': 'testts', - 'test.tsx': 'testts', - 'spec.ts': 'testts', - 'spec.tsx': 'testts', - 'e2e-test.ts': 'testts', - 'e2e-test.tsx': 'testts', - 'e2e-spec.ts': 'testts', - 'e2e-spec.tsx': 'testts', - '.tfignore': 'tfs', - 'tox.ini': 'tox', - '.travis.yml': 'travis', - 'tsconfig.json': 'tsconfig', - 'tsconfig.app.json': 'tsconfig', - 'tsconfig.base.json': 'tsconfig', - 'tsconfig.common.json': 'tsconfig', - 'tsconfig.dev.json': 'tsconfig', - 'tsconfig.development.json': 'tsconfig', - 'tsconfig.e2e.json': 'tsconfig', - 'tsconfig.prod.json': 'tsconfig', - 'tsconfig.production.json': 'tsconfig', - 'tsconfig.server.json': 'tsconfig', - 'tsconfig.spec.json': 'tsconfig', - 'tsconfig.staging.json': 'tsconfig', - 'tsconfig.test.json': 'tsconfig', - 'tslint.json': 'tslint', - 'tslint.yaml': 'tslint', - 'tslint.yml': 'tslint', - 'typedoc.js': 'typedoc', - 'typedoc.json': 'typedoc', - '.unibeautifyrc': 'unibeautify', - 'unibeautify.config.js': 'unibeautify', - '.unibeautifyrc.js': 'unibeautify', - '.unibeautifyrc.json': 'unibeautify', - '.unibeautifyrc.yaml': 'unibeautify', - '.unibeautifyrc.yml': 'unibeautify', - unlicense: 'unlicense', - unlicence: 'unlicense', - 'unlicense.md': 'unlicense', - 'unlicense.txt': 'unlicense', - 'unlicence.md': 'unlicense', - 'unlicence.txt': 'unlicense', - vagrantfile: 'vagrant', - '.vimrc': 'vim', - '.gvimrc': 'vim', - '.vscodeignore': 'vscode-insiders', - 'launch.json': 'vscode-insiders', - 'tasks.json': 'vscode-insiders', - 'vscodeignore.json': 'vscode-insiders', - '.vuerc': 'vueconfig', - 'vue.config.js': 'vueconfig', - 'wallaby.json': 'wallaby', - 'wallaby.js': 'wallaby', - 'wallaby.ts': 'wallaby', - 'wallaby.coffee': 'wallaby', - 'wallaby.conf.json': 'wallaby', - 'wallaby.conf.js': 'wallaby', - 'wallaby.conf.ts': 'wallaby', - 'wallaby.conf.coffee': 'wallaby', - '.wallaby.json': 'wallaby', - '.wallaby.js': 'wallaby', - '.wallaby.ts': 'wallaby', - '.wallaby.coffee': 'wallaby', - '.wallaby.conf.json': 'wallaby', - '.wallaby.conf.js': 'wallaby', - '.wallaby.conf.ts': 'wallaby', - '.wallaby.conf.coffee': 'wallaby', - '.watchmanconfig': 'watchmanconfig', - 'webpack.base.conf.js': 'webpack', - 'webpack.base.conf.coffee': 'webpack', - 'webpack.base.conf.ts': 'webpack', - 'webpack.common.js': 'webpack', - 'webpack.common.coffee': 'webpack', - 'webpack.common.ts': 'webpack', - 'webpack.config.js': 'webpack', - 'webpack.config.coffee': 'webpack', - 'webpack.config.ts': 'webpack', - 'webpack.config.base.js': 'webpack', - 'webpack.config.base.coffee': 'webpack', - 'webpack.config.base.ts': 'webpack', - 'webpack.config.common.js': 'webpack', - 'webpack.config.common.coffee': 'webpack', - 'webpack.config.common.ts': 'webpack', - 'webpack.config.dev.js': 'webpack', - 'webpack.config.dev.coffee': 'webpack', - 'webpack.config.dev.ts': 'webpack', - 'webpack.config.development.js': 'webpack', - 'webpack.config.development.coffee': 'webpack', - 'webpack.config.development.ts': 'webpack', - 'webpack.config.staging.js': 'webpack', - 'webpack.config.staging.coffee': 'webpack', - 'webpack.config.staging.ts': 'webpack', - 'webpack.config.test.js': 'webpack', - 'webpack.config.test.coffee': 'webpack', - 'webpack.config.test.ts': 'webpack', - 'webpack.config.prod.js': 'webpack', - 'webpack.config.prod.coffee': 'webpack', - 'webpack.config.prod.ts': 'webpack', - 'webpack.config.production.js': 'webpack', - 'webpack.config.production.coffee': 'webpack', - 'webpack.config.production.ts': 'webpack', - 'webpack.config.babel.js': 'webpack', - 'webpack.config.babel.coffee': 'webpack', - 'webpack.config.babel.ts': 'webpack', - 'webpack.config.base.babel.js': 'webpack', - 'webpack.config.base.babel.coffee': 'webpack', - 'webpack.config.base.babel.ts': 'webpack', - 'webpack.config.common.babel.js': 'webpack', - 'webpack.config.common.babel.coffee': 'webpack', - 'webpack.config.common.babel.ts': 'webpack', - 'webpack.config.dev.babel.js': 'webpack', - 'webpack.config.dev.babel.coffee': 'webpack', - 'webpack.config.dev.babel.ts': 'webpack', - 'webpack.config.development.babel.js': 'webpack', - 'webpack.config.development.babel.coffee': 'webpack', - 'webpack.config.development.babel.ts': 'webpack', - 'webpack.config.staging.babel.js': 'webpack', - 'webpack.config.staging.babel.coffee': 'webpack', - 'webpack.config.staging.babel.ts': 'webpack', - 'webpack.config.test.babel.js': 'webpack', - 'webpack.config.test.babel.coffee': 'webpack', - 'webpack.config.test.babel.ts': 'webpack', - 'webpack.config.prod.babel.js': 'webpack', - 'webpack.config.prod.babel.coffee': 'webpack', - 'webpack.config.prod.babel.ts': 'webpack', - 'webpack.config.production.babel.js': 'webpack', - 'webpack.config.production.babel.coffee': 'webpack', - 'webpack.config.production.babel.ts': 'webpack', - 'webpack.dev.js': 'webpack', - 'webpack.dev.coffee': 'webpack', - 'webpack.dev.ts': 'webpack', - 'webpack.dev.conf.js': 'webpack', - 'webpack.dev.conf.coffee': 'webpack', - 'webpack.dev.conf.ts': 'webpack', - 'webpack.prod.js': 'webpack', - 'webpack.prod.coffee': 'webpack', - 'webpack.prod.ts': 'webpack', - 'webpack.prod.conf.js': 'webpack', - 'webpack.prod.conf.coffee': 'webpack', - 'webpack.prod.conf.ts': 'webpack', - 'webpack.main.config.js': 'webpack', - 'webpack.main.config.coffee': 'webpack', - 'webpack.main.config.ts': 'webpack', - 'webpack.mix.js': 'webpack', - 'webpack.mix.coffee': 'webpack', - 'webpack.mix.ts': 'webpack', - 'webpack.plugins.js': 'webpack', - 'webpack.plugins.coffee': 'webpack', - 'webpack.plugins.ts': 'webpack', - 'webpack.renderer.config.js': 'webpack', - 'webpack.renderer.config.coffee': 'webpack', - 'webpack.renderer.config.ts': 'webpack', - 'webpack.rules.js': 'webpack', - 'webpack.rules.coffee': 'webpack', - 'webpack.rules.ts': 'webpack', - 'webpack.test.conf.js': 'webpack', - 'webpack.test.conf.coffee': 'webpack', - 'webpack.test.conf.ts': 'webpack', - 'wercker.yml': 'wercker', - 'wpml-config.xml': 'wpml', - '.yamllint': 'yamllint', - '.yaspellerrc': 'yandex', - '.yaspeller.json': 'yandex', - 'yarn.lock': 'yarn', - '.yarnrc': 'yarn', - '.yarnclean': 'yarn', - '.yarn-integrity': 'yarn', - '.yarn-metadata.json': 'yarn', - '.yarnignore': 'yarn', - '.yo-rc.json': 'yeoman', - 'now.json': 'zeit', - '.nowignore': 'zeit', - 'vercel.json': 'zeit', - '.vercelignore': 'zeit' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons1.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons1.ts deleted file mode 100644 index 0be894eb7..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons1.ts +++ /dev/null @@ -1,97 +0,0 @@ -export const vsiFileIcons1 = { - file: 'default_file', - access: - 'file_type_access', - access2: - 'file_type_access2', - actionscript: - 'file_type_actionscript', - actionscript2: - 'file_type_actionscript2', - ada: 'file_type_ada', - advpl: - 'file_type_advpl', - ai: 'file_type_ai', - ai2: 'file_type_ai2', - al: 'file_type_al', - affinitydesigner: - 'file_type_affinitydesigner', - affinityphoto: - 'file_type_affinityphoto', - affinitypublisher: - 'file_type_affinitypublisher', - angular: - 'file_type_angular', - ng_component_dart: - 'file_type_ng_component_dart', - ng_component_ts: - 'file_type_ng_component_ts', - ng_component_js: - 'file_type_ng_component_js', - ng_controller_ts: - 'file_type_ng_controller_ts', - ng_controller_js: - 'file_type_ng_controller_js', - ng_directive_dart: - 'file_type_ng_directive_dart', - ng_directive_ts: - 'file_type_ng_directive_ts', - ng_directive_js: - 'file_type_ng_directive_js', - ng_guard_dart: - 'file_type_ng_guard_dart', - ng_guard_ts: - 'file_type_ng_routing_ts', - ng_guard_js: - 'file_type_ng_routing_js', - ng_module_dart: - 'file_type_ng_module_dart', - ng_module_ts: - 'file_type_ng_module_ts', - ng_module_js: - 'file_type_ng_module_js', - ng_pipe_dart: - 'file_type_ng_pipe_dart', - ng_pipe_ts: - 'file_type_ng_pipe_ts', - ng_pipe_js: - 'file_type_ng_pipe_js', - ng_routing_dart: - 'file_type_ng_routing_dart', - ng_routing_ts: - 'file_type_ng_guard_ts', - ng_routing_js: - 'file_type_guard_js', - ng_smart_component_dart: - 'file_type_ng_smart_component_dart', - ng_smart_component_ts: - 'file_type_ng_smart_component_ts', - ng_smart_component_js: - 'file_type_ng_smart_component_js', - ng_service_dart: - 'file_type_ng_service_dart', - ng_service_ts: - 'file_type_ng_service_ts', - ng_service_js: - 'file_type_ng_service_js', - ng_interceptor_dart: - 'file_type_ng_interceptor_dart', - ng_interceptor_ts: - 'file_type_ng_interceptor_ts', - ng_interceptor_js: - 'file_type_ng_interceptor_js', - ng_component_ts2: - 'file_type_ng_component_ts2', - ng_component_js2: - 'file_type_ng_component_js2', - ng_directive_ts2: - 'file_type_ng_directive_ts2', - ng_directive_js2: - 'file_type_ng_directive_js2', - ng_module_ts2: - 'file_type_ng_module_ts2', - ng_module_js2: - 'file_type_ng_module_js2', - ng_pipe_ts2: - 'file_type_ng_pipe_ts2' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons10.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons10.ts deleted file mode 100644 index 3764d94d7..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons10.ts +++ /dev/null @@ -1,78 +0,0 @@ -export const vsiFileIcons10 = { - lighthouse: - 'file_type_lighthouse', - lisp: 'file_type_lisp', - lime: 'file_type_lime', - lintstagedrc: - 'file_type_lintstagedrc', - liquid: - 'file_type_liquid', - livescript: - 'file_type_livescript', - lnk: 'file_type_lnk', - locale: - 'file_type_locale', - log: 'file_type_log', - lolcode: - 'file_type_lolcode', - lsl: 'file_type_lsl', - lua: 'file_type_lua', - lync: 'file_type_lync', - makefile: - 'file_type_makefile', - manifest: - 'file_type_manifest', - manifest_skip: - 'file_type_manifest_skip', - manifest_bak: - 'file_type_manifest_bak', - map: 'file_type_map', - markdown: - 'file_type_markdown', - markdownlint: - 'file_type_markdownlint', - marko: - 'file_type_marko', - markojs: - 'file_type_markojs', - matlab: - 'file_type_matlab', - maxscript: - 'file_type_maxscript', - maven: - 'file_type_maven', - maya: 'file_type_maya', - mdx: 'file_type_mdx', - mediawiki: - 'file_type_mediawiki', - mercurial: - 'file_type_mercurial', - meson: - 'file_type_meson', - meteor: - 'file_type_meteor', - mjml: 'file_type_mjml', - mlang: - 'file_type_mlang', - mocha: - 'file_type_mocha', - modernizr: - 'file_type_modernizr', - mojolicious: - 'file_type_mojolicious', - moleculer: - 'file_type_moleculer', - mongo: - 'file_type_mongo', - monotone: - 'file_type_monotone', - mson: 'file_type_mson', - mustache: - 'file_type_mustache', - nearly: - 'file_type_nearly', - nestjs: - 'file_type_nestjs', - nest_adapter_js: - 'file_type_nest_adapter_js' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons11.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons11.ts deleted file mode 100644 index 2093136a8..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons11.ts +++ /dev/null @@ -1,91 +0,0 @@ -export const vsiFileIcons11 = { - ovpn: '', - package: - 'file_type_package', - paket: - 'file_type_paket', - patch: - 'file_type_patch', - pcl: 'file_type_pcl', - pddl: 'file_type_pddl', - pddl_plan: - 'file_type_pddl_plan', - pddl_happenings: - 'file_type_pddl_happenings', - pdf: 'file_type_pdf', - pdf2: 'file_type_pdf2', - perl: 'file_type_perl', - perl2: - 'file_type_perl2', - perl6: - 'file_type_perl6', - pgsql: - 'file_type_pgsql', - photoshop: - 'file_type_photoshop', - photoshop2: - 'file_type_photoshop2', - php: 'file_type_php', - php2: 'file_type_php2', - php3: 'file_type_php3', - phpcsfixer: - 'file_type_phpcsfixer', - phpunit: - 'file_type_phpunit', - phraseapp: - 'file_type_phraseapp', - pine: 'file_type_pine', - pip: 'file_type_pip', - platformio: - 'file_type_platformio', - plantuml: - 'file_type_plantuml', - plsql: - 'file_type_plsql', - plsql_package: - 'file_type_plsql_package', - plsql_package_body: - 'file_type_plsql_package_body', - plsql_package_header: - 'file_type_plsql_package_header', - plsql_package_spec: - 'file_type_plsql_package_spec', - pnpm: 'file_type_pnpm', - poedit: - 'file_type_poedit', - polymer: - 'file_type_polymer', - pony: 'file_type_pony', - postcss: - 'file_type_postcss', - postcssconfig: - 'file_type_postcssconfig', - powerpoint: - 'file_type_powerpoint', - powerpoint2: - 'file_type_powerpoint2', - powershell: - 'file_type_powershell', - powershell_psm: - 'file_type_powershell_psm', - powershell_psd: - 'file_type_powershell_psd', - powershell_format: - 'file_type_powershell_format', - powershell_types: - 'file_type_powershell_types', - powershell2: - 'file_type_powershell2', - powershell_psm2: - 'file_type_powershell_psm2', - powershell_psd2: - 'file_type_powershell_psd2', - precommit: - 'file_type_precommit', - prettier: - 'file_type_prettier', - prisma: - 'file_type_prisma', - processinglang: - 'file_type_processinglang' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons12.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons12.ts deleted file mode 100644 index c407f38ff..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons12.ts +++ /dev/null @@ -1,89 +0,0 @@ -export const vsiFileIcons12 = { - procfile: - 'file_type_procfile', - progress: - 'file_type_progress', - prolog: - 'file_type_prolog', - prometheus: - 'file_type_prometheus', - protobuf: - 'file_type_protobuf', - protractor: - 'file_type_protractor', - publisher: - 'file_type_publisher', - puppet: - 'file_type_puppet', - pug: 'file_type_pug', - purescript: - 'file_type_purescript', - pyret: - 'file_type_pyret', - python: - 'file_type_python', - pytyped: - 'file_type_pytyped', - pyup: 'file_type_pyup', - q: 'file_type_q', - qbs: 'file_type_qbs', - qlikview: - 'file_type_qlikview', - qml: 'file_type_qml', - qmldir: - 'file_type_qmldir', - qsharp: - 'file_type_qsharp', - quasar: - 'file_type_quasar', - r: 'file_type_r', - racket: - 'file_type_racket', - rails: - 'file_type_rails', - rake: 'file_type_rake', - raml: 'file_type_raml', - razor: - 'file_type_razor', - razzle: - 'file_type_razzle', - reactjs: - 'file_type_reactjs', - reacttemplate: - 'file_type_reacttemplate', - reactts: - 'file_type_reactts', - reason: - 'file_type_reason', - red: 'file_type_red2', - registry: - 'file_type_registry', - rego: 'file_type_rego', - rehype: - 'file_type_rehype', - remark: - 'file_type_remark', - renovate: - 'file_type_renovate', - rescript: - 'file_type_rescript', - rest: 'file_type_rest', - retext: - 'file_type_retext', - rexx: 'file_type_rexx', - riot: 'file_type_riot', - robotframework: - 'file_type_robotframework', - robots: - 'file_type_robots', - rollup: - 'file_type_rollup', - rmd: 'file_type_rmd', - rproj: - 'file_type_rproj', - rspec: - 'file_type_rspec', - rubocop: - 'file_type_rubocop', - ruby: 'file_type_ruby' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons13.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons13.ts deleted file mode 100644 index 6c70d7864..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons13.ts +++ /dev/null @@ -1,78 +0,0 @@ -export const vsiFileIcons13 = { - rust: 'file_type_rust', - rust_toolchain: - 'file_type_rust_toolchain', - sails: - 'file_type_sails', - saltstack: - 'file_type_saltstack', - san: 'file_type_san', - sas: 'file_type_sas', - sass: 'file_type_sass', - sbt: 'file_type_sbt', - scala: - 'file_type_scala', - script: - 'file_type_script', - scss: 'file_type_scss', - scilab: - 'file_type_scilab', - sdlang: - 'file_type_sdlang', - sentry: - 'file_type_sentry', - serverless: - 'file_type_serverless', - sequelize: - 'file_type_sequelize', - shaderlab: - 'file_type_shaderlab', - shell: - 'file_type_shell', - sketch: - 'file_type_sketch', - slang: - 'file_type_slang', - slice: - 'file_type_slice', - slim: 'file_type_slim', - sln: 'file_type_sln', - sln2: 'file_type_sln2', - silverstripe: - 'file_type_silverstripe', - skipper: - 'file_type_skipper', - smarty: - 'file_type_smarty', - snapcraft: - 'file_type_snapcraft', - snort: - 'file_type_snort', - snyk: 'file_type_snyk', - solidarity: - 'file_type_solidarity', - solidity: - 'file_type_solidity', - source: - 'file_type_source', - spacengine: - 'file_type_spacengine', - sqf: 'file_type_sqf', - sql: 'file_type_sql', - sqlite: - 'file_type_sqlite', - squirrel: - 'file_type_squirrel', - sss: 'file_type_sss', - stan: 'file_type_stan', - stata: - 'file_type_stata', - stencil: - 'file_type_stencil', - style: - 'file_type_style', - stylelint: - 'file_type_stylelint', - stylable: - 'file_type_stylable' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons14.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons14.ts deleted file mode 100644 index 446a8d1b5..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons14.ts +++ /dev/null @@ -1,83 +0,0 @@ -export const vsiFileIcons14 = { - vba: 'file_type_vba', - vbhtml: - 'file_type_vbhtml', - vbproj: - 'file_type_vbproj', - vcxproj: - 'file_type_vcxproj', - velocity: - 'file_type_velocity', - verilog: - 'file_type_verilog', - vhdl: 'file_type_vhdl', - video: - 'file_type_video', - view: 'file_type_view', - vim: 'file_type_vim', - vlang: - 'file_type_vlang', - volt: 'file_type_volt', - vscode: - 'file_type_vscode', - vscode2: - 'file_type_vscode2', - vscode3: - 'file_type_vscode3', - 'vscode-insiders': - 'file_type_vscode-insiders', - vsix: 'file_type_vsix', - vsixmanifest: - 'file_type_vsixmanifest', - vue: 'file_type_vue', - vueconfig: - 'file_type_vueconfig', - wallaby: - 'file_type_wallaby', - watchmanconfig: - 'file_type_watchmanconfig', - wasm: 'file_type_wasm', - webp: 'file_type_webp', - webpack: - 'file_type_webpack', - wenyan: - 'file_type_wenyan', - wercker: - 'file_type_wercker', - wolfram: - 'file_type_wolfram', - word: 'file_type_word', - word2: - 'file_type_word2', - wpml: 'file_type_wpml', - wurst: - 'file_type_wurst', - wxml: 'file_type_wxml', - wxss: 'file_type_wxss', - xcode: - 'file_type_xcode', - xfl: '', - xib: 'file_type_xib', - xliff: - 'file_type_xliff', - xmake: - 'file_type_xmake', - xml: 'file_type_xml', - xquery: - 'file_type_xquery', - xsl: 'file_type_xsl', - yacc: 'file_type_yacc', - yaml: 'file_type_yaml', - yamllint: - 'file_type_yamllint', - yandex: - 'file_type_yandex', - yang: 'file_type_yang', - yarn: 'file_type_yarn', - yeoman: - 'file_type_yeoman', - zeit: 'file_type_zeit', - zig: 'file_type_zig', - zip: 'file_type_zip', - zip2: 'file_type_zip2' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons2.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons2.ts deleted file mode 100644 index 496a76a8f..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons2.ts +++ /dev/null @@ -1,90 +0,0 @@ -export const vsiFileIcons2 = { - edge2: - 'file_type_edge2', - eex: 'file_type_eex', - ejs: 'file_type_ejs', - elastic: - 'file_type_elastic', - elasticbeanstalk: - 'file_type_elasticbeanstalk', - elixir: - 'file_type_elixir', - elm: 'file_type_elm', - elm2: 'file_type_elm2', - emacs: - 'file_type_emacs', - ember: - 'file_type_ember', - ensime: - 'file_type_ensime', - eps: 'file_type_eps', - erb: 'file_type_erb', - erlang: - 'file_type_erlang', - erlang2: - 'file_type_erlang', - eslint: - 'file_type_eslint', - eslint2: - 'file_type_eslint2', - excel: - 'file_type_excel', - excel2: - 'file_type_excel2', - expo: 'file_type_expo', - falcon: - 'file_type_falcon', - fauna: - 'file_type_fauna', - favicon: - 'file_type_favicon', - fbx: 'file_type_fbx', - firebase: - 'file_type_firebase', - firebasehosting: - 'file_type_firebasehosting', - firestore: - 'file_type_firestore', - flash: - 'file_type_flash', - fla: '', - floobits: - 'file_type_floobits', - flow: 'file_type_flow', - flutter: - 'file_type_flutter', - flutter_package: - 'file_type_flutter_package', - font: 'file_type_font', - fortran: - 'file_type_fortran', - fossa: - 'file_type_fossa', - fossil: - 'file_type_fossil', - fsharp: - 'file_type_fsharp', - fsproj: - 'file_type_fsproj', - freemarker: - 'file_type_freemarker', - fthtml: - 'file_type_fthtml', - fusebox: - 'file_type_fusebox', - galen: - 'file_type_galen', - galen2: - 'file_type_galen2', - git: 'file_type_git', - gamemaker: - 'file_type_gamemaker', - gamemaker2: - 'file_type_gamemaker2', - gamemaker81: - 'file_type_gamemaker81', - gatsby: - 'file_type_gatsby', - gcode: - 'file_type_gcode' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons3.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons3.ts deleted file mode 100644 index 803d5cf90..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons3.ts +++ /dev/null @@ -1,92 +0,0 @@ -export const vsiFileIcons3 = { - nest_adapter_ts: - 'file_type_nest_adapter_ts', - nest_controller_js: - 'file_type_nest_controller_js', - nest_controller_ts: - 'file_type_nest_controller_ts', - nest_decorator_js: - 'file_type_nest_decorator_js', - nest_decorator_ts: - 'file_type_nest_decorator_ts', - nest_filter_js: - 'file_type_nest_filter_js', - nest_filter_ts: - 'file_type_nest_filter_ts', - nest_gateway_js: - 'file_type_nest_gateway_js', - nest_gateway_ts: - 'file_type_nest_gateway_ts', - nest_guard_js: - 'file_type_nest_guard_js', - nest_guard_ts: - 'file_type_nest_guard_ts', - nest_interceptor_js: - 'file_type_nest_interceptor_js', - nest_interceptor_ts: - 'file_type_nest_interceptor_ts', - nest_middleware_js: - 'file_type_nest_middleware_js', - nest_middleware_ts: - 'file_type_nest_middleware_ts', - nest_module_js: - 'file_type_nest_module_js', - nest_module_ts: - 'file_type_nest_module_ts', - nest_pipe_js: - 'file_type_nest_pipe_js', - nest_pipe_ts: - 'file_type_nest_pipe_ts', - nest_service_js: - 'file_type_nest_service_js', - nest_service_ts: - 'file_type_nest_service_ts', - netlify: - 'file_type_netlify', - next: 'file_type_next', - nginx: - 'file_type_nginx', - nim: 'file_type_nim', - nimble: - 'file_type_nimble', - ninja: - 'file_type_ninja', - nix: 'file_type_nix', - njsproj: - 'file_type_njsproj', - node: 'file_type_node', - node2: - 'file_type_node2', - nodemon: - 'file_type_nodemon', - npm: 'file_type_npm', - nsi: 'file_type_nsi', - nsri: 'file_type_nsri', - 'nsri-integrity': - 'file_type_nsri-integrity', - nuget: - 'file_type_nuget', - numpy: - 'file_type_numpy', - nunjucks: - 'file_type_nunjucks', - nuxt: 'file_type_nuxt', - nyc: 'file_type_nyc', - objectivec: - 'file_type_objectivec', - objectivecpp: - 'file_type_objectivecpp', - ocaml: - 'file_type_ocaml', - ogone: - 'file_type_ogone', - onenote: - 'file_type_onenote', - opencl: - 'file_type_opencl', - openHAB: - 'file_type_openHAB', - org: 'file_type_org', - outlook: - 'file_type_outlook' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons4.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons4.ts deleted file mode 100644 index 96078daf8..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons4.ts +++ /dev/null @@ -1,84 +0,0 @@ -export const vsiFileIcons4 = { - styled: - 'file_type_styled', - stylish_haskell: - 'file_type_stylish_haskell', - stylus: - 'file_type_stylus', - storyboard: - 'file_type_storyboard', - storybook: - 'file_type_storybook', - subversion: - 'file_type_subversion', - svelte: - 'file_type_svelte', - svg: 'file_type_svg', - swagger: - 'file_type_swagger', - swift: - 'file_type_swift', - swig: 'file_type_swig', - symfony: - 'file_type_symfony', - systemd: - 'file_type_systemd', - systemverilog: - 'file_type_systemverilog', - t4tt: 'file_type_t4tt', - tailwind: - 'file_type_tailwind', - tt: 'file_type_tt', - tcl: 'file_type_tcl', - tera: 'file_type_tera', - terraform: - 'file_type_terraform', - test: 'file_type_test', - testcafe: - 'file_type_testcafe', - testjs: - 'file_type_testjs', - testts: - 'file_type_testts', - tex: 'file_type_tex', - text: 'file_type_text', - textile: - 'file_type_textile', - tiltfile: - 'file_type_tiltfile', - tfs: 'file_type_tfs', - todo: 'file_type_todo', - toml: 'file_type_toml', - tox: 'file_type_tox', - travis: - 'file_type_travis', - tsconfig: - 'file_type_tsconfig', - tslint: - 'file_type_tslint', - ttcn: 'file_type_ttcn', - tuc: 'file_type_tuc', - twig: 'file_type_twig', - typedoc: - 'file_type_typedoc', - typescript: - 'file_type_typescript', - typescript_official: - 'file_type_typescript_official', - typescriptdef: - 'file_type_typescriptdef', - typescriptdef_official: - 'file_type_typescriptdef_official', - typo3: - 'file_type_typo3', - unibeautify: - 'file_type_unibeautify', - unlicense: - 'file_type_unlicense', - vagrant: - 'file_type_vagrant', - vala: 'file_type_vala', - vapi: 'file_type_vapi', - vash: 'file_type_vash', - vb: 'file_type_vb' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons5.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons5.ts deleted file mode 100644 index cbafb311c..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons5.ts +++ /dev/null @@ -1,88 +0,0 @@ -export const vsiFileIcons5 = { - ng_pipe_js2: - 'file_type_ng_pipe_js2', - ng_routing_ts2: - 'file_type_ng_routing_ts2', - ng_routing_js2: - 'file_type_ng_routing_js2', - ng_smart_component_ts2: - 'file_type_ng_smart_component_ts2', - ng_smart_component_js2: - 'file_type_ng_smart_component_js2', - ng_service_ts2: - 'file_type_ng_service_ts2', - ng_service_js2: - 'file_type_ng_service_js2', - ng_tailwind: - 'file_type_ng_tailwind', - affectscript: - 'file_type_affectscript', - ansible: - 'file_type_ansible', - antlr: - 'file_type_antlr', - anyscript: - 'file_type_anyscript', - apache: - 'file_type_apache', - apex: 'file_type_apex', - apib: 'file_type_apib', - api_extractor: - 'file_type_api_extractor', - apl: 'file_type_apl', - applescript: - 'file_type_applescript', - appveyor: - 'file_type_appveyor', - arduino: - 'file_type_arduino', - asciidoc: - 'file_type_asciidoc', - asp: 'file_type_asp', - aspx: 'file_type_aspx', - assembly: - 'file_type_assembly', - ats: 'file_type_ats', - audio: - 'file_type_audio', - aurelia: - 'file_type_aurelia', - autohotkey: - 'file_type_autohotkey', - autoit: - 'file_type_autoit', - avif: 'file_type_avif', - avro: 'file_type_avro', - awk: 'file_type_awk', - aws: 'file_type_aws', - azure: - 'file_type_azure', - azurepipelines: - 'file_type_azurepipelines', - babel: - 'file_type_babel', - babel2: - 'file_type_babel2', - ballerina: - 'file_type_ballerina', - bat: 'file_type_bat', - bats: 'file_type_bats', - bazaar: - 'file_type_bazaar', - bazel: - 'file_type_bazel', - befunge: - 'file_type_befunge', - biml: 'file_type_biml', - binary: - 'file_type_binary', - bithound: - 'file_type_bithound', - bitbucketpipeline: - 'file_type_bitbucketpipeline', - blade: - 'file_type_blade', - blitzbasic: - 'file_type_blitzbasic', - bolt: 'file_type_bolt' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons6.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons6.ts deleted file mode 100644 index f1205b47a..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons6.ts +++ /dev/null @@ -1,86 +0,0 @@ -export const vsiFileIcons6 = { - bosque: - 'file_type_bosque', - bower: - 'file_type_bower', - browserslist: - 'file_type_browserslist', - buckbuild: - 'file_type_buckbuild', - bundler: - 'file_type_bundler', - c: 'file_type_c', - c2: 'file_type_c2', - c3: 'file_type_c3', - c_al: 'file_type_c_al', - cabal: - 'file_type_cabal', - caddy: - '', - cake: 'file_type_cake', - cakephp: - 'file_type_cakephp', - capacitor: - 'file_type_capacitor', - cargo: - 'file_type_cargo', - cddl: 'file_type_cddl', - cert: 'file_type_cert', - ceylon: - 'file_type_ceylon', - cf: 'file_type_cf', - cf2: 'file_type_cf2', - cfc: 'file_type_cfc', - cfc2: 'file_type_cfc2', - cfm: 'file_type_cfm', - cfm2: 'file_type_cfm2', - cheader: - 'file_type_cheader', - chef: 'file_type_chef', - class: - 'file_type_class', - circleci: - 'file_type_circleci', - clojure: - 'file_type_clojure', - clojurescript: - 'file_type_clojurescript', - cloudfoundry: - 'file_type_cloudfoundry', - cmake: - 'file_type_cmake', - cobol: - 'file_type_cobol', - codacy: - 'file_type_codacy', - codeclimate: - 'file_type_codeclimate', - codecov: - 'file_type_codecov', - codekit: - 'file_type_codekit', - coffeelint: - 'file_type_coffeelint', - coffeescript: - 'file_type_coffeescript', - conan: - 'file_type_conan', - conda: - 'file_type_conda', - config: - 'file_type_config', - commitlint: - 'file_type_commitlint', - compass: - 'file_type_compass', - composer: - 'file_type_composer', - chef_cookbook: - 'file_type_chef_cookbook', - confluence: - 'file_type_confluence', - coveralls: - 'file_type_coveralls', - cpp: 'file_type_cpp', - cpp2: 'file_type_cpp2' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons7.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons7.ts deleted file mode 100644 index 18b73907a..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons7.ts +++ /dev/null @@ -1,79 +0,0 @@ -export const vsiFileIcons7 = { - cpp3: 'file_type_cpp3', - cppheader: - 'file_type_cppheader', - crowdin: - 'file_type_crowdin', - crystal: - 'file_type_crystal', - csharp: - 'file_type_csharp', - csharp2: - 'file_type_csharp2', - csproj: - 'file_type_csproj', - css: 'file_type_css', - csscomb: - 'file_type_csscomb', - csslint: - 'file_type_csslint', - cssmap: - 'file_type_cssmap', - cucumber: - 'file_type_cucumber', - cuda: 'file_type_cuda', - cython: - 'file_type_cython', - cypress: - 'file_type_cypress', - cvs: 'file_type_cvs', - dal: 'file_type_dal', - darcs: - 'file_type_darcs', - dartlang: - 'file_type_dartlang', - db: 'file_type_db', - dependabot: - 'file_type_dependabot', - dependencies: - 'file_type_dependencies', - delphi: - 'file_type_delphi', - devcontainer: - 'file_type_devcontainer', - django: - 'file_type_django', - dlang: - 'file_type_dlang', - diff: 'file_type_diff', - docker: - 'file_type_docker', - docker2: - 'file_type_docker2', - dockertest: - 'file_type_dockertest', - dockertest2: - 'file_type_dockertest2', - docpad: - 'file_type_docpad', - docz: 'file_type_docz', - dojo: 'file_type_dojo', - doxygen: - 'file_type_doxygen', - drawio: - 'file_type_drawio', - drone: - 'file_type_drone', - drools: - 'file_type_drools', - dotjs: - 'file_type_dotjs', - dustjs: - 'file_type_dustjs', - dvc: 'file_type_dvc', - dylan: - 'file_type_dylan', - editorconfig: - 'file_type_editorconfig', - edge: 'file_type_edge' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons8.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons8.ts deleted file mode 100644 index 23ef3646e..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons8.ts +++ /dev/null @@ -1,89 +0,0 @@ -export const vsiFileIcons8 = { - genstat: - 'file_type_genstat', - gitlab: - 'file_type_gitlab', - glide: - 'file_type_glide', - glsl: 'file_type_glsl', - glyphs: - 'file_type_glyphs', - gnuplot: - 'file_type_gnuplot', - go: 'file_type_go', - go_package: - 'file_type_go_package', - godot: - 'file_type_godot', - gradle: - 'file_type_gradle', - gradle2: - 'file_type_gradle2', - graphql: - 'file_type_graphql', - graphql_config: - 'file_type_graphql_config', - graphviz: - 'file_type_graphviz', - greenkeeper: - 'file_type_greenkeeper', - gridsome: - 'file_type_gridsome', - groovy: - 'file_type_groovy', - groovy2: - 'file_type_groovy2', - grunt: - 'file_type_grunt', - gulp: 'file_type_gulp', - haml: 'file_type_haml', - handlebars: - 'file_type_handlebars', - handlebars2: - 'file_type_handlebars2', - harbour: - 'file_type_harbour', - haskell: - 'file_type_haskell', - haskell2: - 'file_type_haskell2', - haxe: 'file_type_haxe', - haxecheckstyle: - 'file_type_haxecheckstyle', - haxedevelop: - 'file_type_haxedevelop', - helix: - 'file_type_helix', - helm: 'file_type_helm', - hjson: - 'file_type_hjson', - hlsl: 'file_type_hlsl', - homeassistant: - 'file_type_homeassistant', - host: 'file_type_host', - html: 'file_type_html', - htmlhint: - 'file_type_htmlhint', - http: 'file_type_http', - hunspell: - 'file_type_hunspell', - husky: - 'file_type_husky', - hy: 'file_type_hy', - hygen: - 'file_type_hygen', - hypr: 'file_type_hypr', - icl: 'file_type_icl', - idris: - 'file_type_idris', - idrisbin: - 'file_type_idrisb', - idrispkg: - 'file_type_ipkg', - image: - 'file_type_image', - imba: 'file_type_imba', - inc: 'file_type_inc', - infopath: - 'file_type_infopath' -}; diff --git a/app/src/lib/ext-icons/vsi/vsiFileIcons9.ts b/app/src/lib/ext-icons/vsi/vsiFileIcons9.ts deleted file mode 100644 index 45158cf0e..000000000 --- a/app/src/lib/ext-icons/vsi/vsiFileIcons9.ts +++ /dev/null @@ -1,86 +0,0 @@ -export const vsiFileIcons9 = { - informix: - 'file_type_informix', - ini: 'file_type_ini', - ink: 'file_type_ink', - innosetup: - 'file_type_innosetup', - ionic: - 'file_type_ionic', - jake: 'file_type_jake', - janet: - 'file_type_janet', - jar: 'file_type_jar', - jasmine: - 'file_type_jasmine', - java: 'file_type_java', - jbuilder: - 'file_type_jbuilder', - jest: 'file_type_jest', - jest_snapshot: - 'file_type_jest_snapshot', - jekyll: - 'file_type_jekyll', - jenkins: - 'file_type_jenkins', - jinja: - 'file_type_jinja', - jpm: 'file_type_jpm', - js: 'file_type_js', - js_official: - 'file_type_js_official', - jsbeautify: - 'file_type_jsbeautify', - jsconfig: - 'file_type_jsconfig', - jscpd: - 'file_type_jscpd', - jshint: - 'file_type_jshint', - jsmap: - 'file_type_jsmap', - json: 'file_type_json', - json_official: - 'file_type_json_official', - json2: - 'file_type_json2', - jsonnet: - 'file_type_jsonnet', - json5: - 'file_type_json5', - jsonld: - 'file_type_jsonld2', - jsp: 'file_type_jsp', - jss: 'file_type_jss', - julia: - 'file_type_julia', - julia2: - 'file_type_julia2', - jupyter: - 'file_type_jupyter', - io: 'file_type_io', - iodine: - 'file_type_iodine', - karma: - 'file_type_karma', - key: 'file_type_key', - kite: 'file_type_kite', - kitchenci: - 'file_type_kitchenci', - kivy: 'file_type_kivy', - kos: 'file_type_kos', - kotlin: - 'file_type_kotlin', - kusto: - 'file_type_kusto', - latino: - 'file_type_latino', - layout: - 'file_type_layout', - lerna: - 'file_type_lerna', - less: 'file_type_less', - lex: 'file_type_lex', - license: - 'file_type_license' -}; diff --git a/app/src/lib/file/FileCardHeader.svelte b/app/src/lib/file/FileCardHeader.svelte index ce22a1ee7..1560f81b9 100644 --- a/app/src/lib/file/FileCardHeader.svelte +++ b/app/src/lib/file/FileCardHeader.svelte @@ -1,6 +1,6 @@