diff --git a/frontend/src/lib/components/git_sync/GitSyncContext.svelte.ts b/frontend/src/lib/components/git_sync/GitSyncContext.svelte.ts index ba919fa16b..3bd2ce477d 100644 --- a/frontend/src/lib/components/git_sync/GitSyncContext.svelte.ts +++ b/frontend/src/lib/components/git_sync/GitSyncContext.svelte.ts @@ -194,7 +194,7 @@ export function createGitSyncContext(workspace: string) { include_path: ['f/**'], exclude_path: [], extra_include_path: [], - include_type: ['script', 'flow', 'app', 'folder'] + include_type: ['script', 'flow', 'app', 'folder', 'workspacedependencies'] }, exclude_types_override: [], legacyImported: false, @@ -408,7 +408,7 @@ export function createGitSyncContext(workspace: string) { const defaultTypes: GitSyncObjectType[] = workspaceLegacyIncludeType.length > 0 ? [...workspaceLegacyIncludeType] - : ['script', 'flow', 'app', 'folder'] + : ['script', 'flow', 'app', 'folder', 'workspacedependencies'] let repoSettings: SettingsObject if (isRepoLegacy) { @@ -433,7 +433,13 @@ export function createGitSyncContext(workspace: string) { include_path: repo.settings?.include_path ?? ['f/**'], exclude_path: repo.settings?.exclude_path ?? [], extra_include_path: repo.settings?.extra_include_path ?? [], - include_type: repo.settings?.include_type ?? ['script', 'flow', 'app'] + include_type: repo.settings?.include_type ?? [ + 'script', + 'flow', + 'app', + 'folder', + 'workspacedependencies' + ] } } @@ -662,7 +668,7 @@ export function createGitSyncContext(workspace: string) { include_path: ['f/**'], exclude_path: [], extra_include_path: [], - include_type: ['script', 'flow', 'app', 'folder'] + include_type: ['script', 'flow', 'app', 'folder', 'workspacedependencies'] }, exclude_types_override: [], legacyImported: false, @@ -689,7 +695,7 @@ export function createGitSyncContext(workspace: string) { include_path: ['f/**'], exclude_path: [], extra_include_path: [], - include_type: ['script', 'flow', 'app', 'folder'] + include_type: ['script', 'flow', 'app', 'folder', 'workspacedependencies'] }, exclude_types_override: [], legacyImported: false, diff --git a/frontend/src/lib/components/workspaceSettings/GitSyncFilterSettings.svelte b/frontend/src/lib/components/workspaceSettings/GitSyncFilterSettings.svelte index 1e2a0aaa75..cbf12c6314 100644 --- a/frontend/src/lib/components/workspaceSettings/GitSyncFilterSettings.svelte +++ b/frontend/src/lib/components/workspaceSettings/GitSyncFilterSettings.svelte @@ -30,7 +30,13 @@ let { git_repo_resource_path = $bindable(''), include_path = $bindable(['f/**']), - include_type = $bindable(['script', 'flow', 'app', 'folder'] as GitSyncObjectType[]), + include_type = $bindable([ + 'script', + 'flow', + 'app', + 'folder', + 'workspacedependencies' + ] as GitSyncObjectType[]), exclude_types_override = $bindable([] as GitSyncObjectType[]), isLegacyRepo = false, excludes = $bindable([] as string[]),