From 00a11c3640af008381e2543bd1da735823589451 Mon Sep 17 00:00:00 2001 From: Scott Chacon Date: Thu, 20 Jul 2023 17:15:54 +0200 Subject: [PATCH 1/3] binary diff support (also weird format thing) --- src-tauri/src/gb_repository/repository.rs | 1 - src-tauri/src/project_repository/diff.rs | 56 +++-- src-tauri/src/virtual_branches/mod.rs | 66 +++--- src-tauri/src/virtual_branches/tests.rs | 141 ++++++++++++- src/lib/ext-icons/vsi/vsiFileIcons1.js | 195 +++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons10.js | 164 +++++++-------- src/lib/ext-icons/vsi/vsiFileIcons11.js | 191 ++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons12.js | 189 ++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons13.js | 166 +++++++-------- src/lib/ext-icons/vsi/vsiFileIcons14.js | 187 ++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons2.js | 188 ++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons3.js | 190 ++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons4.js | 184 ++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons5.js | 186 ++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons6.js | 184 ++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons7.js | 165 +++++++-------- src/lib/ext-icons/vsi/vsiFileIcons8.js | 189 ++++++++--------- src/lib/ext-icons/vsi/vsiFileIcons9.js | 186 ++++++++--------- .../repo/[projectId]/FileCardNext.svelte | 4 +- 19 files changed, 1405 insertions(+), 1427 deletions(-) diff --git a/src-tauri/src/gb_repository/repository.rs b/src-tauri/src/gb_repository/repository.rs index 5c1da8847..89f27007d 100644 --- a/src-tauri/src/gb_repository/repository.rs +++ b/src-tauri/src/gb_repository/repository.rs @@ -661,7 +661,6 @@ impl Repository { } let no_commiter_mark = config.get_string("gitbutler.utmostDiscretion"); - dbg!(&no_commiter_mark); if no_commiter_mark.is_ok() && no_commiter_mark? == "1" { committer = author.clone(); } diff --git a/src-tauri/src/project_repository/diff.rs b/src-tauri/src/project_repository/diff.rs index 39f4980c8..157ca1ee6 100644 --- a/src-tauri/src/project_repository/diff.rs +++ b/src-tauri/src/project_repository/diff.rs @@ -4,12 +4,14 @@ use anyhow::{Context, Result}; use super::Repository; +#[derive(Debug, PartialEq, Clone)] pub struct Hunk { pub old_start: usize, pub old_lines: usize, pub new_start: usize, pub new_lines: usize, pub diff: String, + pub binary: bool, } pub struct Options { @@ -37,15 +39,15 @@ pub fn workdir( diff_opts .recurse_untracked_dirs(true) .include_untracked(true) + .show_binary(true) .show_untracked_content(true); diff_opts.context_lines(opts.context_lines); - let diff = repository - .git_repository - .diff_tree_to_workdir(Some(&tree), Some(&mut diff_opts))?; + let repo = &repository.git_repository; + let diff = repo.diff_tree_to_workdir(Some(&tree), Some(&mut diff_opts))?; - hunks_by_filepath(&diff) + hunks_by_filepath(repo, &diff) } pub fn trees( @@ -56,17 +58,19 @@ pub fn trees( let mut opts = git2::DiffOptions::new(); opts.recurse_untracked_dirs(true) .include_untracked(true) + .show_binary(true) .show_untracked_content(true); - let diff = - repository - .git_repository - .diff_tree_to_tree(Some(&old_tree), Some(&new_tree), None)?; + let repo = &repository.git_repository; + let diff = repo.diff_tree_to_tree(Some(&old_tree), Some(&new_tree), None)?; - hunks_by_filepath(&diff) + hunks_by_filepath(repo, &diff) } -fn hunks_by_filepath(diff: &git2::Diff) -> Result>> { +fn hunks_by_filepath( + repo: &git2::Repository, + diff: &git2::Diff, +) -> Result>> { // find all the hunks let mut hunks_by_filepath: HashMap> = HashMap::new(); let mut current_diff = String::new(); @@ -77,6 +81,7 @@ fn hunks_by_filepath(diff: &git2::Diff) -> Result = None; let mut current_old_start: Option = None; let mut current_old_lines: Option = None; + let mut current_binary = false; diff.print(git2::DiffFormat::Patch, |delta, hunk, line| { let file_path = delta.new_file().path().unwrap_or_else(|| { @@ -101,7 +106,12 @@ fn hunks_by_filepath(diff: &git2::Diff) -> Result Result Result {} } - current_diff.push_str(std::str::from_utf8(line.content()).unwrap()); + // is this a binary patch or a hunk? + match line.origin() { + 'B' => { + // save the file_path to the odb + if !delta.new_file().id().is_zero() { + // the binary file wasnt deleted + let full_path = repo.workdir().unwrap().join(file_path); + let blob_oid = repo.blob_path(full_path.as_path()).unwrap(); + if blob_oid != delta.new_file().id() { + return false; + } + } + current_diff.push_str(&format!("{}", delta.new_file().id())); + current_binary = true; + } + _ => { + current_diff.push_str(std::str::from_utf8(line.content()).unwrap()); + current_binary = false; + } + } + current_file_path = Some(file_path.to_path_buf()); current_hunk_id = Some(hunk_id); current_new_start = Some(new_start as usize); @@ -153,6 +184,7 @@ fn hunks_by_filepath(diff: &git2::Diff) -> Result, pub modified_at: u128, pub conflicted: bool, + pub binary: bool, } // this struct is a mapping to the view `Hunk` type in Typescript @@ -104,6 +105,7 @@ pub struct VirtualBranchHunk { pub hash: String, pub start: usize, pub end: usize, + pub binary: bool, } // this struct is a mapping to the view `RemoteBranch` type in Typescript @@ -766,6 +768,7 @@ pub fn list_virtual_branches( id: file_path.display().to_string(), path: file_path.clone(), hunks: hunks.clone(), + binary: hunks.iter().any(|h| h.binary), modified_at: hunks.iter().map(|h| h.modified_at).max().unwrap_or(0), conflicted: conflicts::is_conflicting( project_repository, @@ -1222,6 +1225,7 @@ fn hunks_by_filepath( diff: hunk.diff.clone(), start: hunk.new_start, end: hunk.new_start + hunk.new_lines, + binary: hunk.binary, hash: diff_hash(&hunk.diff), }) .collect::>(); @@ -1435,6 +1439,7 @@ pub fn get_status_by_branch( id: file_path.display().to_string(), path: file_path.clone(), hunks: hunks.clone(), + binary: hunks.iter().any(|h| h.binary), modified_at: hunks.iter().map(|h| h.modified_at).max().unwrap_or(0), conflicted: conflicts::is_conflicting( project_repository, @@ -1914,33 +1919,40 @@ fn write_tree( let blob_oid = git_repository.blob(bytes)?; builder.upsert(rel_path, blob_oid, filemode); } else if let Ok(tree_entry) = base_tree.get_path(rel_path) { - // blob from tree_entry - let blob = tree_entry - .to_object(git_repository) - .unwrap() - .peel_to_blob() - .context("failed to get blob")?; + if file.binary { + let new_blob_oid = &file.hunks[0].diff; + // convert string to Oid + let new_blob_oid = git2::Oid::from_str(&new_blob_oid)?; + builder.upsert(rel_path, new_blob_oid, filemode); + } else { + // blob from tree_entry + let blob = tree_entry + .to_object(git_repository) + .unwrap() + .peel_to_blob() + .context("failed to get blob")?; - // get the contents - let blob_contents = blob.content(); + // get the contents + let blob_contents = blob.content(); - let mut patch = "--- original\n+++ modified\n".to_string(); + let mut patch = "--- original\n+++ modified\n".to_string(); - let mut hunks = file.hunks.to_vec(); - hunks.sort_by_key(|hunk| hunk.start); - for hunk in hunks { - patch.push_str(&hunk.diff); + let mut hunks = file.hunks.to_vec(); + hunks.sort_by_key(|hunk| hunk.start); + for hunk in hunks { + patch.push_str(&hunk.diff); + } + + // apply patch to blob_contents + let patch_bytes = patch.as_bytes(); + let patch = Patch::from_bytes(patch_bytes)?; + let new_content = apply_bytes(blob_contents, &patch)?; + + // create a blob + let new_blob_oid = git_repository.blob(&new_content)?; + // upsert into the builder + builder.upsert(rel_path, new_blob_oid, filemode); } - - // apply patch to blob_contents - let patch_bytes = patch.as_bytes(); - let patch = Patch::from_bytes(patch_bytes)?; - let new_content = apply_bytes(blob_contents, &patch)?; - - // create a blob - let new_blob_oid = git_repository.blob(&new_content)?; - // upsert into the builder - builder.upsert(rel_path, new_blob_oid, filemode); } else { // create a git blob from a file on disk let blob_oid = git_repository.blob_path(&full_path)?; @@ -1965,9 +1977,11 @@ fn _print_tree(repo: &git2::Repository, tree: &git2::Tree) -> Result<()> { let object = entry.to_object(repo).context("failed to get object")?; let blob = object.as_blob().context("failed to get blob")?; // convert content to string - let content = - std::str::from_utf8(blob.content()).context("failed to convert content to string")?; - println!(" blob: {:?}", content); + if let Ok(content) = std::str::from_utf8(blob.content()) { + println!(" blob: {:?}", content); + } else { + println!(" blob: BINARY"); + } } Ok(()) } diff --git a/src-tauri/src/virtual_branches/tests.rs b/src-tauri/src/virtual_branches/tests.rs index ab0af3de7..6eb565f19 100644 --- a/src-tauri/src/virtual_branches/tests.rs +++ b/src-tauri/src/virtual_branches/tests.rs @@ -27,6 +27,7 @@ fn commit_all(repository: &git2::Repository) -> Result { fn test_repository() -> Result { let path = tempdir()?.path().to_str().unwrap().to_string(); + //dbg!(&path); let repository = git2::Repository::init(path)?; repository.remote_add_fetch("origin/master", "master")?; let mut index = repository.index()?; @@ -119,6 +120,124 @@ fn test_commit_on_branch_then_change_file_then_get_status() -> Result<()> { Ok(()) } +#[test] +fn test_track_binary_files() -> Result<()> { + let repository = test_repository()?; + let project = projects::Project::try_from(&repository)?; + let gb_repo_path = tempdir()?.path().to_str().unwrap().to_string(); + let storage = storage::Storage::from_path(tempdir()?.path()); + let user_store = users::Storage::new(storage.clone()); + let project_store = projects::Storage::new(storage); + project_store.add_project(&project)?; + let gb_repo = gb_repository::Repository::open( + gb_repo_path, + project.id.clone(), + project_store, + user_store, + )?; + let project_repository = project_repository::Repository::open(&project)?; + + let file_path = std::path::Path::new("test.txt"); + std::fs::write( + std::path::Path::new(&project.path).join(file_path), + "line1\nline2\nline3\nline4\n", + )?; + let file_path2 = std::path::Path::new("test2.txt"); + std::fs::write( + std::path::Path::new(&project.path).join(file_path2), + "line5\nline6\nline7\nline8\n", + )?; + // add a binary file + let image_data: [u8; 12] = [ + 255, 0, 0, // Red pixel + 0, 0, 255, // Blue pixel + 255, 255, 0, // Yellow pixel + 0, 255, 0, // Green pixel + ]; + let mut file = fs::File::create(std::path::Path::new(&project.path).join("image.bin"))?; + file.write_all(&image_data)?; + commit_all(&repository)?; + + target::Writer::new(&gb_repo).write_default(&target::Target { + remote_name: "origin".to_string(), + branch_name: "master".to_string(), + remote_url: "origin".to_string(), + sha: repository.head().unwrap().target().unwrap(), + behind: 0, + })?; + update_gitbutler_integration(&gb_repo, &project_repository)?; + + let branch1_id = create_virtual_branch(&gb_repo, &BranchCreateRequest::default()) + .expect("failed to create virtual branch") + .id; + + // test file change + std::fs::write( + std::path::Path::new(&project.path).join(file_path2), + "line5\nline6\nline7\nline8\nline9\n", + )?; + + // add a binary file + let image_data: [u8; 12] = [ + 255, 0, 0, // Red pixel + 0, 255, 0, // Green pixel + 0, 0, 255, // Blue pixel + 255, 255, 0, // Yellow pixel + ]; + let mut file = fs::File::create(std::path::Path::new(&project.path).join("image.bin"))?; + file.write_all(&image_data)?; + + let branches = list_virtual_branches(&gb_repo, &project_repository, true)?; + let branch = &branches[0]; + assert_eq!(branch.files.len(), 2); + let img_file = &branch + .files + .iter() + .find(|b| b.path.as_os_str() == "image.bin") + .unwrap(); + assert_eq!(img_file.binary, true); + assert_eq!( + img_file.hunks[0].diff, + "944996dd82015a616247c72b251e41661e528ae1" + ); + + // commit + commit(&gb_repo, &project_repository, &branch1_id, "test commit")?; + + // status (no files) + let branches = list_virtual_branches(&gb_repo, &project_repository, true)?; + let commit_id = &branches[0].commits[0].id; + let commit_obj = repository.find_commit(git2::Oid::from_str(commit_id).unwrap())?; + let tree = commit_obj.tree()?; + let files = tree_to_entry_list(&repository, &tree)?; + assert_eq!(files[0].0, "image.bin"); + assert_eq!(files[0].3, "944996dd82015a616247c72b251e41661e528ae1"); + + let image_data: [u8; 12] = [ + 0, 255, 0, // Green pixel + 255, 0, 0, // Red pixel + 255, 255, 0, // Yellow pixel + 0, 0, 255, // Blue pixel + ]; + let mut file = fs::File::create(std::path::Path::new(&project.path).join("image.bin"))?; + file.write_all(&image_data)?; + + // commit + commit(&gb_repo, &project_repository, &branch1_id, "test commit")?; + + let branches = list_virtual_branches(&gb_repo, &project_repository, true)?; + let commit_id = &branches[0].commits[0].id; + // get tree from commit_id + let commit_obj = repository.find_commit(git2::Oid::from_str(commit_id).unwrap())?; + let tree = commit_obj.tree()?; + let files = tree_to_entry_list(&repository, &tree)?; + + assert_eq!(files[0].0, "image.bin"); + assert_eq!(files[0].3, "ea6901a04d1eed6ebf6822f4360bda9f008fa317"); + + Ok(()) +} + #[test] fn test_create_branch_with_ownership() -> Result<()> { let repository = test_repository()?; @@ -2533,7 +2652,7 @@ fn tree_to_file_list(repository: &git2::Repository, tree: &git2::Tree) -> Result fn tree_to_entry_list( repository: &git2::Repository, tree: &git2::Tree, -) -> Result> { +) -> Result> { let mut file_list = Vec::new(); for entry in tree.iter() { let path = entry.name().unwrap(); @@ -2545,10 +2664,24 @@ fn tree_to_entry_list( .context(format!("failed to get object for tree entry {}", path))?; let blob = object.as_blob().context("failed to get blob")?; // convert content to string - let content = - std::str::from_utf8(blob.content()).context("failed to convert content to string")?; let octal_mode = format!("{:o}", entry.filemode()); - file_list.push((path.to_string(), octal_mode, content.to_string())); + if let Ok(content) = + std::str::from_utf8(blob.content()).context("failed to convert content to string") + { + file_list.push(( + path.to_string(), + octal_mode, + content.to_string(), + blob.id().to_string(), + )); + } else { + file_list.push(( + path.to_string(), + octal_mode, + "BINARY".to_string(), + blob.id().to_string(), + )); + } } Ok(file_list) } diff --git a/src/lib/ext-icons/vsi/vsiFileIcons1.js b/src/lib/ext-icons/vsi/vsiFileIcons1.js index 41d7f0987..0be894eb7 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons1.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons1.js @@ -1,102 +1,97 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons10.js b/src/lib/ext-icons/vsi/vsiFileIcons10.js index 506677214..3764d94d7 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons10.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons10.js @@ -1,90 +1,78 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons11.js b/src/lib/ext-icons/vsi/vsiFileIcons11.js index 3754f6440..2093136a8 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons11.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons11.js @@ -1,104 +1,91 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons12.js b/src/lib/ext-icons/vsi/vsiFileIcons12.js index cb12dd057..c407f38ff 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons12.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons12.js @@ -1,104 +1,89 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons13.js b/src/lib/ext-icons/vsi/vsiFileIcons13.js index b9580b650..6c70d7864 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons13.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons13.js @@ -1,92 +1,78 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons14.js b/src/lib/ext-icons/vsi/vsiFileIcons14.js index ecd614f78..446a8d1b5 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons14.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons14.js @@ -1,108 +1,83 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons2.js b/src/lib/ext-icons/vsi/vsiFileIcons2.js index 07b934a32..496a76a8f 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons2.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons2.js @@ -1,102 +1,90 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons3.js b/src/lib/ext-icons/vsi/vsiFileIcons3.js index b6957e44e..803d5cf90 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons3.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons3.js @@ -1,102 +1,92 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons4.js b/src/lib/ext-icons/vsi/vsiFileIcons4.js index faf808e7b..96078daf8 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons4.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons4.js @@ -1,104 +1,84 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons5.js b/src/lib/ext-icons/vsi/vsiFileIcons5.js index 67be1662e..cbafb311c 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons5.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons5.js @@ -1,102 +1,88 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons6.js b/src/lib/ext-icons/vsi/vsiFileIcons6.js index a110722dd..f1205b47a 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons6.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons6.js @@ -1,102 +1,86 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons7.js b/src/lib/ext-icons/vsi/vsiFileIcons7.js index 5ce45da7b..18b73907a 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons7.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons7.js @@ -1,90 +1,79 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons8.js b/src/lib/ext-icons/vsi/vsiFileIcons8.js index 6b1cdaff4..23ef3646e 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons8.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons8.js @@ -1,104 +1,89 @@ 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', + 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/src/lib/ext-icons/vsi/vsiFileIcons9.js b/src/lib/ext-icons/vsi/vsiFileIcons9.js index 2e73352ac..45158cf0e 100644 --- a/src/lib/ext-icons/vsi/vsiFileIcons9.js +++ b/src/lib/ext-icons/vsi/vsiFileIcons9.js @@ -1,104 +1,86 @@ 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', + 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/src/routes/repo/[projectId]/FileCardNext.svelte b/src/routes/repo/[projectId]/FileCardNext.svelte index 7752ecefb..f36c79537 100644 --- a/src/routes/repo/[projectId]/FileCardNext.svelte +++ b/src/routes/repo/[projectId]/FileCardNext.svelte @@ -93,7 +93,7 @@ alt="js" width="13" style="width: 0.8125rem" - class="inline mr-1" + class="mr-1 inline" /> {@html boldenFilename(file.path)} @@ -167,7 +167,7 @@ (sidx > 0 && sidx < section.subSections.length - 1)} >
From 1e4b2cc30410472bd78eaef93a2cbfed6199867d Mon Sep 17 00:00:00 2001 From: Scott Chacon Date: Fri, 21 Jul 2023 08:08:14 +0200 Subject: [PATCH 3/3] formatting --- .../repo/[projectId]/NewBranchDropZone.svelte | 4 ++-- src/routes/repo/[projectId]/RenderedLine.svelte | 2 +- src/routes/repo/[projectId]/fileSections.test.ts | 15 ++++++++++----- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/routes/repo/[projectId]/NewBranchDropZone.svelte b/src/routes/repo/[projectId]/NewBranchDropZone.svelte index a059809ee..e0acb8721 100644 --- a/src/routes/repo/[projectId]/NewBranchDropZone.svelte +++ b/src/routes/repo/[projectId]/NewBranchDropZone.svelte @@ -15,7 +15,7 @@
{ if (!e.dataTransfer) { @@ -33,7 +33,7 @@
-