From 07e5639db4493458ece323ca96d1e86e72359f7c Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 11 Feb 2025 13:27:42 -0500 Subject: [PATCH] Add yarn install step in js_lint workflow to ensure dependencies are up to date --- .github/workflows/js_lint.yaml | 3 +- client/tsout.txt | 340 --------------------------------- client/tst.txt | 39 ---- client/vue-tsc-output.txt | 206 -------------------- 4 files changed, 2 insertions(+), 586 deletions(-) delete mode 100644 client/tsout.txt delete mode 100644 client/tst.txt delete mode 100644 client/vue-tsc-output.txt diff --git a/.github/workflows/js_lint.yaml b/.github/workflows/js_lint.yaml index baa96bd28e11..13b07a42a284 100644 --- a/.github/workflows/js_lint.yaml +++ b/.github/workflows/js_lint.yaml @@ -49,6 +49,8 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.base.ref }} + - run: yarn install --frozen-lockfile + working-directory: client # Run vue-tsc on the base branch and capture its error count. - name: Run vue-tsc on base branch id: baseline @@ -60,7 +62,6 @@ jobs: BASE_ERRORS=$(grep -oE 'Found [0-9]+ errors' baseline.log | head -1 | grep -oE '[0-9]+' || echo 0) echo "Baseline vue-tsc errors: $BASE_ERRORS" echo "baseline_errors=$BASE_ERRORS" >> $GITHUB_OUTPUT - # Compare the error counts between the PR branch and the base branch. - name: Compare vue-tsc error counts run: | diff --git a/client/tsout.txt b/client/tsout.txt deleted file mode 100644 index 49c1020f603b..000000000000 --- a/client/tsout.txt +++ /dev/null @@ -1,340 +0,0 @@ -src/components/Collections/ListCollectionCreator.vue(692,34): error TS2322: Type 'SelectValue' is not assignable to type '{ copied_from_ldda_id?: string | null | undefined; create_time: string | null; dataset_id: string; deleted: boolean; extension: string | null; genome_build: string | null; hid: number; ... 11 more ...; visible: boolean; }'. - Type 'null' is not assignable to type '{ copied_from_ldda_id?: string | null | undefined; create_time: string | null; dataset_id: string; deleted: boolean; extension: string | null; genome_build: string | null; hid: number; ... 11 more ...; visible: boolean; }'. -src/components/Collections/ListCollectionCreator.vue(693,72): error TS2345: Argument of type 'SelectValue' is not assignable to parameter of type '{ copied_from_ldda_id?: string | null | undefined; create_time: string | null; dataset_id: string; deleted: boolean; extension: string | null; genome_build: string | null; hid: number; ... 11 more ...; visible: boolean; }'. - Type 'null' is not assignable to type '{ copied_from_ldda_id?: string | null | undefined; create_time: string | null; dataset_id: string; deleted: boolean; extension: string | null; genome_build: string | null; hid: number; ... 11 more ...; visible: boolean; }'. -src/components/Collections/PairCollectionCreator.vue(541,38): error TS2322: Type '{ copied_from_ldda_id?: string | null | undefined; create_time: string | null; dataset_id: string; deleted: boolean; extension: string | null; genome_build: string | null; hid: number; ... 11 more ...; visible: boolean; } | undefined' is not assignable to type '{ copied_from_ldda_id?: string | null | undefined; create_time: string | null; dataset_id: string; deleted: boolean; extension: string | null; genome_build: string | null; hid: number; ... 11 more ...; visible: boolean; }'. - Type 'undefined' is not assignable to type '{ copied_from_ldda_id?: string | null | undefined; create_time: string | null; dataset_id: string; deleted: boolean; extension: string | null; genome_build: string | null; hid: number; ... 11 more ...; visible: boolean; }'. -src/components/Common/ContextMenu.vue(40,13): error TS2322: Type '"manual"' is not assignable to type 'Trigger | undefined'. -src/components/Common/ExportForm.test.ts(13,25): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { what: string; clearInputAfterExport: boolean; }>, {}, {}, {}, {}, ... 5 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { what: string; clearInputAfterExport: boolean; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/Common/FilterMenuMultiTags.vue(51,18): error TS2322: Type 'FilterType' is not assignable to type 'string[] | undefined'. - Type 'string' is not assignable to type 'string[]'. -src/components/Common/FilterMenuMultiTags.vue(53,36): error TS2322: Type 'string[]' is not assignable to type 'FilterType'. -src/components/Common/FilterMenuObjectStore.vue(52,33): error TS2322: Type '{ badges: { message: string | null; source: "admin" | "galaxy"; type: "faster" | "slower" | "short_term" | "backed_up" | "not_backed_up" | "more_secure" | "less_secure" | "more_stable" | ... 5 more ... | "user_defined"; }[]; ... 5 more ...; quota: { ...; }; }[] | null' is not assignable to type '{ badges: { message: string | null; source: "admin" | "galaxy"; type: "faster" | "slower" | "short_term" | "backed_up" | "not_backed_up" | "more_secure" | "less_secure" | "more_stable" | ... 5 more ... | "user_defined"; }[]; ... 5 more ...; quota: { ...; }; }[]'. - Type 'null' is not assignable to type '{ badges: { message: string | null; source: "admin" | "galaxy"; type: "faster" | "slower" | "short_term" | "backed_up" | "not_backed_up" | "more_secure" | "less_secure" | "more_stable" | ... 5 more ... | "user_defined"; }[]; ... 5 more ...; quota: { ...; }; }[]'. -src/components/Common/FilterMenuObjectStore.vue(52,73): error TS2322: Type 'FilterType' is not assignable to type 'string | undefined'. - Type 'boolean' is not assignable to type 'string'. -src/components/Common/FilterMenuObjectStore.vue(52,93): error TS2322: Type '(value: string | null) => void' is not assignable to type '(objectStoreId?: string | undefined) => void'. - Types of parameters 'value' and 'objectStoreId' are incompatible. - Type 'string | undefined' is not assignable to type 'string | null'. - Type 'undefined' is not assignable to type 'string | null'. -src/components/Common/ObjectStoreSelect.vue(31,40): error TS2345: Argument of type 'string | null | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/ConfigTemplates/ConfigurationTestSummary.vue(21,33): error TS2322: Type '{ message: string; state: "ok" | "unknown" | "not_ok"; } | null | undefined' is not assignable to type '{ message: string; state: "ok" | "unknown" | "not_ok"; } | undefined'. - Type 'null' is not assignable to type '{ message: string; state: "ok" | "unknown" | "not_ok"; } | undefined'. -src/components/ConfigTemplates/ConfigurationTestSummary.vue(22,33): error TS2322: Type '{ message: string; state: "ok" | "unknown" | "not_ok"; } | null | undefined' is not assignable to type '{ message: string; state: "ok" | "unknown" | "not_ok"; } | undefined'. - Type 'null' is not assignable to type '{ message: string; state: "ok" | "unknown" | "not_ok"; } | undefined'. -src/components/ConfigTemplates/CreateInstance.test.ts(10,38): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '__VLS_WithTemplateSlots, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>, { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; } & (new () => { ...; })' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ConfigTemplates/CreateInstance.test.ts(22,38): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '__VLS_WithTemplateSlots, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>, { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; } & (new () => { ...; })' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ConfigTemplates/EditSecretsForm.test.ts(12,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { ...; }, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, { ...; }, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ConfigTemplates/EditSecretsForm.test.ts(25,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { ...; }, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, { ...; }, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ConfigTemplates/InstanceDropdown.test.ts(10,38): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { ...; }, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, { ...; }, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ConfigTemplates/InstanceDropdown.test.ts(26,38): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { ...; }, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, { ...; }, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ConfigTemplates/InstanceForm.test.ts(15,38): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { inputs: undefined; showForceActionButton: boolean; }>, {}, {}, ... 7 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { inputs: undefined; showForceActionButton: boolean; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ConfigTemplates/InstanceForm.test.ts(31,38): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { inputs: undefined; showForceActionButton: boolean; }>, {}, {}, ... 7 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { inputs: undefined; showForceActionButton: boolean; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ConfigTemplates/TemplateSummaryPopover.test.ts(12,38): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '__VLS_WithTemplateSlots, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>, { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; } & (new () => { ...; })' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ConfigTemplates/VaultSecret.test.ts(10,38): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { ...; }, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, { ...; }, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/DataDialog/DataDialog.vue(199,10): error TS2322: Type 'Record[]' is not assignable to type 'SelectionItem[]'. - Type 'Record' is missing the following properties from type 'SelectionItem': label, details -src/components/Dataset/DatasetPermissionsForm.vue(64,14): error TS2345: Argument of type '{}' is not assignable to parameter of type 'Readonly & Omit>, DefaultKeys<...>>> & Record<...>'. - Property 'url' is missing in type '{}' but required in type 'Readonly & Omit>, DefaultKeys<...>>>'. -src/components/Dataset/DatasetStorage/DatasetStorage.test.ts(43,32): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { datasetType: string; includeTitle: boolean; }>, ... 9 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { datasetType: string; includeTitle: boolean; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/Dataset/DatasetStorage/DatasetStorage.vue(85,68): error TS2741: Property 'private' is missing in type '{ badges: { message: string | null; source: "admin" | "galaxy"; type: "faster" | "slower" | "short_term" | "backed_up" | "not_backed_up" | "more_secure" | "less_secure" | "more_stable" | ... 5 more ... | "user_defined"; }[]; ... 9 more ...; sources: Record<...>[]; }' but required in type '{ badges: { message: string | null; source: "admin" | "galaxy"; type: "faster" | "slower" | "short_term" | "backed_up" | "not_backed_up" | "more_secure" | "less_secure" | "more_stable" | ... 5 more ... | "user_defined"; }[]; ... 5 more ...; quota: { ...; }; }'. -src/components/Dataset/DatasetStorage/RelocateDialog.vue(44,42): error TS2345: Argument of type 'string | null | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/DatasetInformation/DatasetAttributes.test.ts(45,27): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/DatasetInformation/DatasetDetails.vue(110,60): error TS2322: Type 'string | null' is not assignable to type 'string'. - Type 'null' is not assignable to type 'string'. -src/components/DatasetInformation/DatasetDetails.vue(121,58): error TS2339: Property 'is_admin' does not exist on type '{ isAnonymous: false; deleted: boolean; email: string; id: string; is_admin: boolean; nice_total_disk_usage: string; preferences: Record; preferred_object_store_id?: string | ... 1 more ... | undefined; ... 6 more ...; username: string; } | { ...; }'. - Property 'is_admin' does not exist on type '{ isAnonymous: true; nice_total_disk_usage: string; quota_percent?: number | null | undefined; total_disk_usage: number; }'. -src/components/DatasetInformation/DatasetDetails.vue(123,52): error TS2339: Property 'dependencies' does not exist on type 'JobDetails'. - Property 'dependencies' does not exist on type '{ command_line?: string | null | undefined; command_version?: string | null | undefined; copied_from_job_id?: string | null | undefined; create_time: string; exit_code?: number | null | undefined; ... 15 more ...; user_id?: string | ... 1 more ... | undefined; }'. -src/components/DatasetInformation/DatasetDetails.vue(123,92): error TS2339: Property 'dependencies' does not exist on type 'JobDetails'. - Property 'dependencies' does not exist on type '{ command_line?: string | null | undefined; command_version?: string | null | undefined; copied_from_job_id?: string | null | undefined; create_time: string; exit_code?: number | null | undefined; ... 15 more ...; user_id?: string | ... 1 more ... | undefined; }'. -src/components/DatasetInformation/DatasetError.vue(172,44): error TS2339: Property 'tool_stderr' does not exist on type 'JobDetails'. - Property 'tool_stderr' does not exist on type '{ command_line?: string | null | undefined; command_version?: string | null | undefined; copied_from_job_id?: string | null | undefined; create_time: string; exit_code?: number | null | undefined; ... 15 more ...; user_id?: string | ... 1 more ... | undefined; }'. -src/components/DatasetInformation/DatasetError.vue(179,42): error TS2339: Property 'tool_stderr' does not exist on type 'JobDetails'. - Property 'tool_stderr' does not exist on type '{ command_line?: string | null | undefined; command_version?: string | null | undefined; copied_from_job_id?: string | null | undefined; create_time: string; exit_code?: number | null | undefined; ... 15 more ...; user_id?: string | ... 1 more ... | undefined; }'. -src/components/DatasetInformation/DatasetError.vue(180,41): error TS2339: Property 'job_stderr' does not exist on type 'JobDetails'. - Property 'job_stderr' does not exist on type '{ command_line?: string | null | undefined; command_version?: string | null | undefined; copied_from_job_id?: string | null | undefined; create_time: string; exit_code?: number | null | undefined; ... 15 more ...; user_id?: string | ... 1 more ... | undefined; }'. -src/components/DatasetInformation/DatasetError.vue(181,43): error TS2339: Property 'job_messages' does not exist on type 'JobDetails'. - Property 'job_messages' does not exist on type '{ command_line?: string | null | undefined; command_version?: string | null | undefined; copied_from_job_id?: string | null | undefined; create_time: string; exit_code?: number | null | undefined; ... 15 more ...; user_id?: string | ... 1 more ... | undefined; }'. -src/components/DatasetInformation/DatasetError.vue(214,46): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/DatasetInformation/DatasetError.vue(219,42): error TS2339: Property 'email' does not exist on type '{ isAnonymous: false; deleted: boolean; email: string; id: string; is_admin: boolean; nice_total_disk_usage: string; preferences: Record; preferred_object_store_id?: string | ... 1 more ... | undefined; ... 6 more ...; username: string; } | { ...; }'. - Property 'email' does not exist on type '{ isAnonymous: true; nice_total_disk_usage: string; quota_percent?: number | null | undefined; total_disk_usage: number; }'. -src/components/DatasetInformation/DatasetError.vue(219,64): error TS2339: Property 'email' does not exist on type '{ isAnonymous: false; deleted: boolean; email: string; id: string; is_admin: boolean; nice_total_disk_usage: string; preferences: Record; preferred_object_store_id?: string | ... 1 more ... | undefined; ... 6 more ...; username: string; } | { ...; }'. - Property 'email' does not exist on type '{ isAnonymous: true; nice_total_disk_usage: string; quota_percent?: number | null | undefined; total_disk_usage: number; }'. -src/components/DatasetInformation/DatasetErrorDetails.vue(31,24): error TS18046: 'jobMessage' is of type 'unknown'. -src/components/DatasetInformation/DatasetInformation.vue(59,36): error TS2339: Property 'metadata_dbkey' does not exist on type '{ accessible: boolean; annotation: string | null; api_type: "file"; copied_from_history_dataset_association_id?: string | null | undefined; copied_from_ldda_id?: string | null | undefined; ... 42 more ...; visible: boolean; }'. -src/components/DatasetInformation/DatasetInformation.vue(131,42): error TS2322: Type '{ extra_files_path?: string | null | undefined; id: string; source_uri: string; transform?: unknown[] | null | undefined; }[]' is not assignable to type '{ source_uri: string; transform: DatasetTransform[]; }[]'. - Type '{ extra_files_path?: string | null | undefined; id: string; source_uri: string; transform?: unknown[] | null | undefined; }' is not assignable to type '{ source_uri: string; transform: DatasetTransform[]; }'. - Types of property 'transform' are incompatible. - Type 'unknown[] | null | undefined' is not assignable to type 'DatasetTransform[]'. - Type 'undefined' is not assignable to type 'DatasetTransform[]'. -src/components/FilesDialog/FilesDialog.test.ts(110,27): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { callback: () => void; filterOptions: undefined; modalStatic: boolean; mode: string; multiple: boolean; requireWritable: boolean; selectedItem: undefined; isOpen: boolean; }>, ... 9 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { callback: () => void; filterOptions: undefined; modalStatic: boolean; ... 4 more ...; isOpen: boolean; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Read...' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/Form/Elements/FormData/FormData.vue(705,13): error TS2322: Type 'DataOption[] | undefined' is not assignable to type 'null | undefined'. - Type 'DataOption[]' is not assignable to type 'null | undefined'. -src/components/Form/Elements/FormDataDialog.vue(60,14): error TS2322: Type '(result: string | string[]) => void' is not assignable to type '(results: Record[]) => void'. - Types of parameters 'result' and 'results' are incompatible. - Type 'Record[]' is not assignable to type 'string | string[]'. - Type 'Record[]' is not assignable to type 'string[]'. - Type 'Record' is not assignable to type 'string'. -src/components/Form/FormElement.vue(265,18): error TS1117: An object literal cannot have multiple properties with the same name. -src/components/Form/FormElement.vue(273,51): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/Form/FormElement.vue(275,102): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/Form/FormElement.vue(280,18): error TS1117: An object literal cannot have multiple properties with the same name. -src/components/Form/FormElement.vue(291,84): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/Form/FormElement.vue(304,18): error TS1117: An object literal cannot have multiple properties with the same name. -src/components/Form/FormElement.vue(307,65): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/Form/FormElement.vue(317,18): error TS2322: Type '"upload" | "text" | "data" | "select" | "tags" | "color" | "hidden" | "password" | "data_collection" | "rules" | "hidden_data" | "baseurl" | "radio" | "directory_uri" | "data_column" | ... 5 more ... | undefined' is not assignable to type '"data" | "data_collection" | undefined'. - Type '"upload"' is not assignable to type '"data" | "data_collection" | undefined'. -src/components/Form/FormElement.vue(348,40): error TS2322: Type 'string | undefined' is not assignable to type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/History/Archiving/HistoryArchiveExportSelector.test.ts(32,34): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ... 4 more ..., {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/History/Archiving/HistoryArchiveWizard.test.ts(48,34): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ... 4 more ..., {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/History/Content/GenericElement.vue(31,36): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. - No index signature with a parameter of type 'string' was found on type '{}'. -src/components/History/Content/GenericElement.vue(35,26): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. - No index signature with a parameter of type 'string' was found on type '{}'. -src/components/History/Content/GenericElement.vue(36,34): error TS2322: Type '({ accessible?: boolean | null | undefined; copied_from_ldda_id?: string | null | undefined; hda_ldda: "hda" | "ldda"; history_id: string; id: string; model_class: "HistoryDatasetAssociation"; purged: boolean; state: "new" | ... 10 more ... | "discarded"; tags: string[]; } & { ...; }) | { ...; } | { ...; } | null | ...' is not assignable to type '{ collection_type: string; contents_url?: string | null | undefined; element_count?: number | null | undefined; elements: { element_identifier: string; element_index: number; element_type?: "hda" | ... 2 more ... | undefined; id: string; model_class: "DatasetCollectionElement"; object?: ({ ...; } & { ...; }) | ... 3...'. - Type 'undefined' is not assignable to type '{ collection_type: string; contents_url?: string | null | undefined; element_count?: number | null | undefined; elements: { element_identifier: string; element_index: number; element_type?: "hda" | ... 2 more ... | undefined; id: string; model_class: "DatasetCollectionElement"; object?: ({ ...; } & { ...; }) | ... 3...'. -src/components/History/CurrentCollection/CollectionDetails.vue(24,10): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'. - Type 'null' is not assignable to type 'string | undefined'. -src/components/History/CurrentCollection/CollectionDetails.vue(36,18): error TS2322: Type 'number | null | undefined' is not assignable to type 'number | undefined'. - Type 'null' is not assignable to type 'number | undefined'. -src/components/History/CurrentCollection/CollectionPanel.vue(137,37): error TS2322: Type 'CollectionEntry' is not assignable to type '{ collection_id: string; collection_type: string; contents_url: string; create_time: string | null; deleted: boolean; element_count?: number | null | undefined; elements: { element_identifier: string; ... 4 more ...; object?: ({ ...; } & { ...; }) | ... 3 more ... | undefined; }[]; ... 19 more ...; visible: boolean; }'. - Property 'elements' is missing in type '{ collection_id: string; collection_type: string; contents_url: string; create_time: string | null; deleted: boolean; element_count?: number | null | undefined; elements_datatypes: string[]; ... 16 more ...; visible: boolean; }' but required in type '{ collection_id: string; collection_type: string; contents_url: string; create_time: string | null; deleted: boolean; element_count?: number | null | undefined; elements: { element_identifier: string; ... 4 more ...; object?: ({ ...; } & { ...; }) | ... 3 more ... | undefined; }[]; ... 19 more ...; visible: boolean; }'. -src/components/History/CurrentCollection/CollectionPanel.vue(138,71): error TS2322: Type 'CollectionEntry' is not assignable to type '{ collection_id: string; collection_type: string; contents_url: string; create_time: string | null; deleted: boolean; element_count?: number | null | undefined; elements: { element_identifier: string; ... 4 more ...; object?: ({ ...; } & { ...; }) | ... 3 more ... | undefined; }[]; ... 19 more ...; visible: boolean; }'. - Property 'elements' is missing in type '{ collection_id: string; collection_type: string; contents_url: string; create_time: string | null; deleted: boolean; element_count?: number | null | undefined; elements_datatypes: string[]; ... 16 more ...; visible: boolean; }' but required in type '{ collection_id: string; collection_type: string; contents_url: string; create_time: string | null; deleted: boolean; element_count?: number | null | undefined; elements: { element_identifier: string; ... 4 more ...; object?: ({ ...; } & { ...; }) | ... 3 more ... | undefined; }[]; ... 19 more ...; visible: boolean; }'. -src/components/History/CurrentHistory/HistoryCounter.vue(171,18): error TS2322: Type 'string | null | undefined' is not assignable to type 'string | undefined'. - Type 'null' is not assignable to type 'string | undefined'. -src/components/History/CurrentHistory/HistoryCounter.vue(172,18): error TS2322: Type '{ isAnonymous: false; deleted: boolean; email: string; id: string; is_admin: boolean; nice_total_disk_usage: string; preferences: Record; preferred_object_store_id?: string | ... 1 more ... | undefined; ... 6 more ...; username: string; } | { ...; }' is not assignable to type '{ preferred_object_store_id: string; }'. - Type '{ isAnonymous: false; deleted: boolean; email: string; id: string; is_admin: boolean; nice_total_disk_usage: string; preferences: Record; preferred_object_store_id?: string | ... 1 more ... | undefined; ... 6 more ...; username: string; }' is not assignable to type '{ preferred_object_store_id: string; }'. - Types of property 'preferred_object_store_id' are incompatible. - Type 'string | null | undefined' is not assignable to type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/History/CurrentHistory/HistoryCounter.vue(236,66): error TS2339: Property 'preferred_object_store_id' does not exist on type '{ isAnonymous: false; deleted: boolean; email: string; id: string; is_admin: boolean; nice_total_disk_usage: string; preferences: Record; preferred_object_store_id?: string | ... 1 more ... | undefined; ... 6 more ...; username: string; } | { ...; }'. - Property 'preferred_object_store_id' does not exist on type '{ isAnonymous: true; nice_total_disk_usage: string; quota_percent?: number | null | undefined; total_disk_usage: number; }'. -src/components/History/HistoryPublished.vue(35,21): error TS2322: Type 'HistoryDetailed | undefined' is not assignable to type 'Item | undefined'. - Type 'HistoryDetailed' is not assignable to type 'Item'. - Types of property 'username' are incompatible. - Type 'string | null | undefined' is not assignable to type 'string | undefined'. - Type 'null' is not assignable to type 'string | undefined'. -src/components/History/Modals/CopyModal.vue(122,52): error TS1117: An object literal cannot have multiple properties with the same name. -src/components/History/Modals/CopyModal.vue(126,52): error TS1117: An object literal cannot have multiple properties with the same name. -src/components/JobDestinationParams/JobDestinationParams.vue(23,29): error TS2339: Property 'is_admin' does not exist on type '{ isAnonymous: false; deleted: boolean; email: string; id: string; is_admin: boolean; nice_total_disk_usage: string; preferences: Record; preferred_object_store_id?: string | ... 1 more ... | undefined; ... 6 more ...; username: string; } | { ...; }'. - Property 'is_admin' does not exist on type '{ isAnonymous: true; nice_total_disk_usage: string; quota_percent?: number | null | undefined; total_disk_usage: number; }'. -src/components/JobParameters/JobParameters.test.ts(45,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<{ jobId: { type: StringConstructor; default: null; }; datasetId: { type: StringConstructor; default: null; }; datasetType: { type: StringConstructor; default: string; }; param: { ...; }; includeTitle: { ...; }; }, ... 9 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/JobParameters/JobParameters.test.ts(95,35): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<{ jobId: { type: StringConstructor; default: null; }; datasetId: { type: StringConstructor; default: null; }; datasetType: { type: StringConstructor; default: string; }; param: { ...; }; includeTitle: { ...; }; }, ... 9 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/Landing/WorkflowLanding.vue(92,18): error TS2322: Type 'Record | null' is not assignable to type 'Record | undefined'. - Type 'null' is not assignable to type 'Record | undefined'. -src/components/Markdown/Elements/InstanceUrl.vue(14,5): error TS2322: Type 'null' is not assignable to type 'string | ((props: Readonly) => string) | undefined'. -src/components/Markdown/Elements/InstanceUrl.vue(15,5): error TS2322: Type 'null' is not assignable to type 'string | ((props: Readonly) => string) | undefined'. -src/components/Markdown/Elements/ToolStd.vue(17,5): error TS2322: Type 'null' is not assignable to type 'string | ((props: Readonly) => string) | undefined'. -src/components/Markdown/Elements/ToolStd.vue(18,5): error TS2322: Type 'null' is not assignable to type 'string | ((props: Readonly) => string) | undefined'. -src/components/Markdown/Elements/Workflow/WorkflowDisplay.vue(22,5): error TS2322: Type 'null' is not assignable to type 'string | ((props: Readonly) => string) | undefined'. -src/components/Markdown/Elements/Workflow/WorkflowImage.vue(14,5): error TS2322: Type 'null' is not assignable to type 'string | ((props: Readonly) => string) | undefined'. -src/components/Markdown/Elements/Workflow/WorkflowLicense.vue(9,5): error TS2322: Type 'null' is not assignable to type 'string | ((props: Readonly) => string) | undefined'. -src/components/Markdown/MarkdownDialog.vue(260,14): error TS2322: Type 'string | null' is not assignable to type 'string'. - Type 'null' is not assignable to type 'string'. -src/components/Markdown/MarkdownDialog.vue(263,43): error TS2322: Type 'string | null' is not assignable to type 'string'. - Type 'null' is not assignable to type 'string'. -src/components/Markdown/MarkdownDialog.vue(263,83): error TS2322: Type '(response: string) => void' is not assignable to type '(results: Record[]) => void'. - Types of parameters 'response' and 'results' are incompatible. - Type 'Record[]' is not assignable to type 'string'. -src/components/Markdown/MarkdownDialog.vue(266,14): error TS2322: Type 'string | null' is not assignable to type 'string'. - Type 'null' is not assignable to type 'string'. -src/components/Markdown/MarkdownSelector.vue(47,18): error TS2322: Type 'string | undefined' is not assignable to type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/Notifications/NotificationsList.test.ts(25,27): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { shouldOpenPreferences: boolean; }>, {}, {}, {}, {}, ComponentOptionsMixin, ... 4 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { shouldOpenPreferences: boolean; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/ConfigurationMarkdown.test.ts(12,32): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/ConfigurationMarkdown.test.ts(20,32): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/ConfigurationMarkdown.test.ts(28,32): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/Instances/CreateForm.test.ts(87,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { ...; }, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, { ...; }, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/Instances/CreateForm.test.ts(105,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { ...; }, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, { ...; }, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/Instances/CreateForm.test.ts(132,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { ...; }, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, { ...; }, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/Instances/UpgradeForm.test.ts(74,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/Instances/UpgradeForm.test.ts(91,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/Instances/UpgradeForm.test.ts(108,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/Instances/UpgradeForm.test.ts(135,31): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/ObjectStore/ObjectStoreSelectButton.vue(27,31): error TS2345: Argument of type 'string | null | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/ObjectStore/ObjectStoreSelectButtonDescribePopover.vue(26,55): error TS2322: Type 'string | null | undefined' is not assignable to type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/ObjectStore/SelectObjectStore.vue(85,47): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'. -src/components/ObjectStore/SelectObjectStore.vue(89,36): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. -src/components/ObjectStore/SelectObjectStore.vue(89,57): error TS2339: Property 'localize' does not exist on type 'Vue3Instance<{}, Readonly, { selectedObjectStoreId: null; parentError: null; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>'. -src/components/ObjectStore/SelectObjectStore.vue(96,47): error TS2345: Argument of type 'string | null | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -src/components/ObjectStore/SelectObjectStore.vue(107,88): error TS2322: Type 'String' is not assignable to type 'string'. - 'string' is a primitive, but 'String' is a wrapper object. Prefer using 'string' when possible. -src/components/ObjectStore/SelectObjectStore.vue(114,18): error TS2322: Type 'String' is not assignable to type 'string'. - 'string' is a primitive, but 'String' is a wrapper object. Prefer using 'string' when possible. -src/components/ObjectStore/ShowSelectedObjectStore.vue(46,38): error TS2322: Type 'number' is not assignable to type 'string'. -src/components/ObjectStore/ShowSelectedObjectStore.vue(46,47): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. -src/components/ObjectStore/ShowSelectedObjectStore.vue(46,64): error TS2339: Property 'localize' does not exist on type 'Vue3Instance<{}, Readonly>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>'. -src/components/ObjectStore/Templates/TemplateSummaryPopover.test.ts(12,38): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_TypePropsToOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<...>, {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>>, Readonly>>, {}, {}, true, ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/PageEditor/SharingIndicator.vue(43,18): error TS7006: Parameter 'event' implicitly has an 'any' type. -src/components/PageEditor/SharingIndicator.vue(44,36): error TS2554: Expected 0 arguments, but got 1. -src/components/Panels/Common/ToolSearch.vue(281,39): error TS2551: Property 'userWorker' does not exist on type 'Readonly>'. Did you mean 'useWorker'? -src/components/Panels/ToolBox.vue(247,26): error TS2322: Type '{ name: any; elems: unknown[]; }' is not assignable to type 'Tool | ToolSection | ToolSectionLabel'. - Type '{ name: any; elems: unknown[]; }' is missing the following properties from type 'ToolSection': model_class, id -src/components/TagsMultiselect/StatelessTags.vue(114,18): error TS2322: Type '(tag: string) => RegExpMatchArray | null' is not assignable to type '(option: string) => boolean'. - Type 'RegExpMatchArray | null' is not assignable to type 'boolean'. - Type 'null' is not assignable to type 'boolean'. -src/components/User/DiskUsage/Management/Cleanup/CleanupOperationSummary.test.ts(75,27): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { refreshOperationId: undefined; refreshDelay: number; }>, ... 9 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { refreshOperationId: undefined; refreshDelay: number; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...>...' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/User/DiskUsage/Management/Cleanup/CleanupResultDialog.test.ts(56,27): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { result: undefined; }>, ... 9 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { result: undefined; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/User/DiskUsage/Management/Cleanup/ReviewCleanupDialog.test.ts(45,27): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { operation: undefined; totalItems: number; }>, ... 9 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { operation: undefined; totalItems: number; }>>>, ... 4 more ..., ComponentOptionsBase<...>> & ... 4 more ... & Readonly<...>> & ComponentOptionsBase<...> & { ...; }' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/User/DiskUsage/Management/Cleanup/ReviewCleanupDialog.vue(232,98): error TS1117: An object literal cannot have multiple properties with the same name. -src/components/User/DiskUsage/Visualizations/Charts/BarChart.test.ts(25,18): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '__VLS_WithTemplateSlots, { title: string; description: undefined; width: number; height: number; enableTooltips: boolean; enableSelection: boolean; labelFormatter: (dataPoint?: DataValuePoint | ... 1 more ... | undefined) => string; valueForma...' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor, { title: string; description: undefined; width: number; height: number; enableTooltips: boolean; enableSelection: boolean; labelFormatter: (dataPoint?: DataValuePoint | ... 1 more ...' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/User/UserDeletion.test.ts(15,27): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<{ userId: { type: StringConstructor; required: true; }; email: { type: StringConstructor; required: true; }; }, {}, { name: string; nameState: null; deleteError: string; }, ... 7 more ..., {}>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor>, ... 4 more ..., ComponentOptionsBase<...>> & ... 6 more ... & Readonly<....' is missing the following properties from type 'VueConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/Workflow/Editor/Forms/FormDatatype.vue(17,9): error TS2322: Type 'null' is not assignable to type 'string | ((props: Readonly<{ id: string; value?: string | undefined; title: string; help: string; datatypes: string[]; }>) => string) | undefined'. -src/components/Workflow/Editor/Forms/FormDefault.vue(33,18): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'. - Type 'null' is not assignable to type 'string | undefined'. -src/components/Workflow/Editor/Index.test.ts(48,32): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'DefineComponent<{ workflowId: { type: StringConstructor; default: undefined; }; initialVersion: { type: NumberConstructor; default: undefined; }; workflowTags: { ...; }; moduleSections: { ...; }; dataManagers: { ...; }; }, ... 9 more ..., { ...; }>' is not assignable to parameter of type 'ExtendedVue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>, {}, {}, {}, DefaultProps>'. - Type 'ComponentPublicInstanceConstructor & DefaultProps & Vue, Record, never, never, (event: string, ...args: any[]) => Vue<...>> & ShallowUnwrapRef<...> & Vue<...>>': extend, nextTick, set, delete, and 10 more. -src/components/Workflow/Editor/Node.vue(7,10): error TS2322: Type '{ height: Ref; bottom: Ref; left: Ref; right: Ref; top: Ref; width: Ref; x: Ref; y: Ref; update: () => void; }' is not assignable to type '{ height: number; bottom: number; left: number; right: number; top: number; width: number; x: number; y: number; update: () => void; }'. - Types of property 'height' are incompatible. - Type 'Ref' is not assignable to type 'number'. -src/components/Workflow/Editor/Node.vue(113,18): error TS2322: Type 'InputTerminalSource | { name: string; optional: boolean; extensions: never[]; valid: boolean; input_type: string; }' is not assignable to type 'InputTerminalSource'. - Type '{ name: string; optional: boolean; extensions: never[]; valid: boolean; input_type: string; }' is not assignable to type 'InputTerminalSource'. - Type '{ name: string; optional: boolean; extensions: never[]; valid: boolean; input_type: string; }' is missing the following properties from type 'ParameterStepInput': type, label, multiple -src/components/Workflow/Editor/Node.vue(121,18): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement | undefined'. - Type 'null' is not assignable to type 'HTMLElement | undefined'. -src/components/Workflow/Editor/Node.vue(130,18): error TS2322: Type 'DataOutput | ParameterOutput | { name: string; optional: boolean; datatypes: never[]; valid: boolean; }' is not assignable to type 'OutputTerminalSource'. - Type '{ name: string; optional: boolean; datatypes: never[]; valid: boolean; }' is not assignable to type 'OutputTerminalSource'. - Type '{ name: string; optional: boolean; datatypes: never[]; valid: boolean; }' is missing the following properties from type 'ParameterOutput': type, parameter, multiple -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(206,30): error TS2322: Type 'Step | undefined' is not assignable to type 'Step'. - Type 'undefined' is not assignable to type 'Step'. -src/components/Workflow/List/WorkflowActions.vue(171,108): error TS2339: Property 'slice' does not exist on type 'never'. -src/components/Workflow/List/WorkflowCardList.vue(85,14): error TS2740: Type 'Workflow' is missing the following properties from type '{ annotation: string | null; annotations?: string[] | null | undefined; create_time: string; creator?: ({ address?: string | null | undefined; alternateName?: string | null | undefined; ... 12 more ...; url?: string | ... 1 more ... | undefined; } | { ...; })[] | null | undefined; ... 21 more ...; version: number; }': annotation, create_time, creator_deleted, deleted, and 16 more. -src/components/Workflow/List/WorkflowList.vue(484,18): error TS2322: Type '{ id: string; name: string; published: boolean; }[]' is not assignable to type 'Workflow[]'. - Type '{ id: string; name: string; published: boolean; }' is not assignable to type 'Workflow'. - Property 'id' is incompatible with index signature. - Type 'string' is not assignable to type 'never'. -src/components/Workflow/List/WorkflowList.vue(485,18): error TS2322: Type '(w: SelectedWorkflow) => void' is not assignable to type '(workflow: Workflow) => void'. - Types of parameters 'w' and 'workflow' are incompatible. - Type 'Workflow' is missing the following properties from type 'SelectedWorkflow': id, name, published -src/components/WorkflowInvocationState/WorkflowInvocationStepHeader.vue(42,26): error TS2322: Type 'string | null | undefined' is not assignable to type 'string | undefined'. - Type 'null' is not assignable to type 'string | undefined'. -src/entry/analysis/modules/Login.vue(27,14): error TS2322: Type 'string | (string | null)[] | undefined' is not assignable to type 'string | undefined'. - Type '(string | null)[]' is not assignable to type 'string'. -src/entry/analysis/modules/Login.vue(28,14): error TS2322: Type 'string | (string | null)[] | undefined' is not assignable to type 'string | undefined'. - Type '(string | null)[]' is not assignable to type 'string'. -src/entry/analysis/modules/Login.vue(29,14): error TS2322: Type 'string | (string | null)[] | undefined' is not assignable to type 'string | undefined'. - Type '(string | null)[]' is not assignable to type 'string'. -src/entry/analysis/modules/Login.vue(30,14): error TS2322: Type 'string | (string | null)[] | undefined' is not assignable to type 'string | undefined'. - Type '(string | null)[]' is not assignable to type 'string'. -src/entry/analysis/modules/Login.vue(38,14): error TS2322: Type 'string | (string | null)[] | undefined' is not assignable to type 'string | undefined'. - Type '(string | null)[]' is not assignable to type 'string'. diff --git a/client/tst.txt b/client/tst.txt deleted file mode 100644 index d41f2c0bcac3..000000000000 --- a/client/tst.txt +++ /dev/null @@ -1,39 +0,0 @@ -node_modules/@types/node/globals.d.ts(72,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; any(signals: AbortSignal[]): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. -node_modules/@types/node/module.d.ts(106,13): error TS2386: Overload signatures must all be optional or required. -node_modules/@types/ws/index.d.ts(333,18): error TS2315: Type 'Server' is not generic. -node_modules/@types/ws/index.d.ts(333,34): error TS2315: Type 'Server' is not generic. -node_modules/@vueuse/core/index.d.cts(5,42): error TS2305: Module '"vue-demi"' has no exported member 'Slot'. -node_modules/@vueuse/core/index.d.cts(5,65): error TS2305: Module '"vue-demi"' has no exported member 'TransitionGroupProps'. -node_modules/@vueuse/core/index.d.cts(5,220): error TS2305: Module '"vue-demi"' has no exported member 'StyleValue'. -node_modules/@vueuse/shared/index.d.cts(2,250): error TS2305: Module '"vue-demi"' has no exported member 'MaybeRef'. -node_modules/@vueuse/shared/index.d.cts(146,26): error TS2339: Property 'flush' does not exist on type 'WatchOptions'. -node_modules/@vueuse/shared/index.d.cts(155,26): error TS2339: Property 'flush' does not exist on type 'WatchOptions'. -node_modules/@vueuse/shared/index.d.cts(642,26): error TS2339: Property 'flush' does not exist on type 'WatchOptions'. -node_modules/@vueuse/shared/index.d.cts(938,128): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1052,196): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1054,53): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1070,52): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1077,201): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1078,181): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1079,183): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1091,156): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1092,112): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1093,114): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1095,206): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1096,177): error TS2315: Type 'WatchOptions' is not generic. -node_modules/@vueuse/shared/index.d.cts(1105,52): error TS2315: Type 'WatchOptions' is not generic. -node_modules/pinia/dist/pinia.d.ts(354,26): error TS2536: Type 'key' cannot be used to index type 'Store'. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(17,52): error TS2307: Cannot find module '@/api/invocations' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(18,36): error TS2307: Cannot find module '@/composables/datatypesMapper' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(19,36): error TS2307: Cannot find module '@/composables/useInvocationGraph' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(20,39): error TS2307: Cannot find module '@/stores/workflowEditorStateStore' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(21,31): error TS2307: Cannot find module '@/stores/workflowStore' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(23,21): error TS2307: Cannot find module '@/components/Common/Heading.vue' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(24,25): error TS2307: Cannot find module '@/components/LoadingSpan.vue' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(25,27): error TS2307: Cannot find module '@/components/Workflow/Editor/WorkflowGraph.vue' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(26,36): error TS2307: Cannot find module '@/components/WorkflowInvocationState/WorkflowInvocationStep.vue' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(27,42): error TS2307: Cannot find module '@/components/WorkflowInvocationState/WorkflowInvocationStepHeader.vue' or its corresponding type declarations. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(29,13): error TS2345: Argument of type 'IconDefinition' is not assignable to parameter of type 'IconDefinitionOrPack'. - Type 'IconDefinition' is not assignable to type 'IconPack'. - Index signature for type 'string' is missing in type 'IconDefinition'. -src/components/Workflow/Invocation/Graph/InvocationGraph.vue(85,26): error TS2339: Property 'toBe' does not exist on type 'UntilArrayInstance'. diff --git a/client/vue-tsc-output.txt b/client/vue-tsc-output.txt deleted file mode 100644 index 23042fae8f91..000000000000 --- a/client/vue-tsc-output.txt +++ /dev/null @@ -1,206 +0,0 @@ -Script started on 2025-02-11 09:50:42-05:00 [COMMAND="npx vue-tsc --noEmit src/components/Workflow/Invocation/Graph/InvocationGraph.vue" TERM="xterm-256color" TTY="/dev/pts/29" COLUMNS="183" LINES="93"] -node_modules/@types/node/globals.d.ts:72:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; any(signals: AbortSignal[]): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. - -72 declare var AbortSignal: { -   ~~~~~~~~~~~ - - ../../../.nvm/versions/node/v20.13.1/lib/node_modules/vue-tsc/node_modules/typescript/lib/lib.dom.d.ts:2363:13 - 2363 declare var AbortSignal: { -    ~~~~~~~~~~~ - 'AbortSignal' was also declared here. - -node_modules/@types/node/module.d.ts:106:13 - error TS2386: Overload signatures must all be optional or required. - -106 resolve?(specified: string, parent?: string | URL): Promise; -   ~~~~~~~ - -node_modules/@types/ws/index.d.ts:333:18 - error TS2315: Type 'Server' is not generic. - -333 server?: HTTPServer | HTTPSServer | undefined; -   ~~~~~~~~~~~~~ - -node_modules/@types/ws/index.d.ts:333:34 - error TS2315: Type 'Server' is not generic. - -333 server?: HTTPServer | HTTPSServer | undefined; -   ~~~~~~~~~~~~~~ - -node_modules/@vueuse/core/index.d.cts:5:42 - error TS2305: Module '"vue-demi"' has no exported member 'Slot'. - -5 import { Ref, InjectionKey, ComputedRef, Slot, DefineComponent, TransitionGroupProps, ComponentPublicInstance, Component, ShallowRef, WritableComputedRef, UnwrapRef, WatchOptions, UnwrapNestedRefs, WatchSource, ToRefs, StyleValue } from 'vue-demi'; -   ~~~~ - -node_modules/@vueuse/core/index.d.cts:5:65 - error TS2305: Module '"vue-demi"' has no exported member 'TransitionGroupProps'. - -5 import { Ref, InjectionKey, ComputedRef, Slot, DefineComponent, TransitionGroupProps, ComponentPublicInstance, Component, ShallowRef, WritableComputedRef, UnwrapRef, WatchOptions, UnwrapNestedRefs, WatchSource, ToRefs, StyleValue } from 'vue-demi'; -   ~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/core/index.d.cts:5:220 - error TS2305: Module '"vue-demi"' has no exported member 'StyleValue'. - -5 import { Ref, InjectionKey, ComputedRef, Slot, DefineComponent, TransitionGroupProps, ComponentPublicInstance, Component, ShallowRef, WritableComputedRef, UnwrapRef, WatchOptions, UnwrapNestedRefs, WatchSource, ToRefs, StyleValue } from 'vue-demi'; -   ~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:2:250 - error TS2305: Module '"vue-demi"' has no exported member 'MaybeRef'. - -2 import { WatchOptionsBase, Ref, ComputedRef, WritableComputedRef, WatchSource, ComputedGetter, WritableComputedOptions, WatchOptions, InjectionKey, ShallowUnwrapRef as ShallowUnwrapRef$1, inject, provide, UnwrapNestedRefs, UnwrapRef, ToRef, ToRefs, MaybeRef as MaybeRef$1, WatchCallback, WatchStopHandle } from 'vue-demi'; -   ~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:146:26 - error TS2339: Property 'flush' does not exist on type 'WatchOptions'. - -146 flush?: WatchOptions['flush']; -   ~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:155:26 - error TS2339: Property 'flush' does not exist on type 'WatchOptions'. - -155 flush?: WatchOptions['flush']; -   ~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:642:26 - error TS2339: Property 'flush' does not exist on type 'WatchOptions'. - -642 flush?: WatchOptions['flush']; -   ~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:938:128 - error TS2315: Type 'WatchOptions' is not generic. - -938 interface UseLastChangedOptions extends WatchOptions { -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1052:196 - error TS2315: Type 'WatchOptions' is not generic. - -1052 declare function watchArray = false>(source: WatchSource | T[], cb: WatchArrayCallback, options?: WatchOptions): vue_demi.WatchStopHandle; -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1054:53 - error TS2315: Type 'WatchOptions' is not generic. - -1054 interface WatchWithFilterOptions extends WatchOptions, ConfigurableEventFilter { -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1070:52 - error TS2315: Type 'WatchOptions' is not generic. - -1070 interface WatchDebouncedOptions extends WatchOptions, DebounceFilterOptions { -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1077:201 - error TS2315: Type 'WatchOptions' is not generic. - -1077 declare function watchDeep, Immediate extends Readonly = false>(source: T, cb: WatchCallback, MapOldSources>, options?: Omit, 'deep'>): WatchStopHandle; -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1078:181 - error TS2315: Type 'WatchOptions' is not generic. - -1078 declare function watchDeep = false>(source: WatchSource, cb: WatchCallback, options?: Omit, 'deep'>): WatchStopHandle; -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1079:183 - error TS2315: Type 'WatchOptions' is not generic. - -1079 declare function watchDeep = false>(source: T, cb: WatchCallback, options?: Omit, 'deep'>): WatchStopHandle; -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1091:156 - error TS2315: Type 'WatchOptions' is not generic. - -1091 declare function watchImmediate>(source: T, cb: WatchCallback, MapOldSources>, options?: Omit, 'immediate'>): WatchStopHandle; -   ~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1092:112 - error TS2315: Type 'WatchOptions' is not generic. - -1092 declare function watchImmediate(source: WatchSource, cb: WatchCallback, options?: Omit, 'immediate'>): WatchStopHandle; -   ~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1093:114 - error TS2315: Type 'WatchOptions' is not generic. - -1093 declare function watchImmediate(source: T, cb: WatchCallback, options?: Omit, 'immediate'>): WatchStopHandle; -   ~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1095:206 - error TS2315: Type 'WatchOptions' is not generic. - -1095 declare function watchOnce[]>, Immediate extends Readonly = false>(source: [...T], cb: WatchCallback, MapOldSources>, options?: WatchOptions): void; -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1096:177 - error TS2315: Type 'WatchOptions' is not generic. - -1096 declare function watchOnce = false>(sources: WatchSource, cb: WatchCallback, options?: WatchOptions): void; -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/@vueuse/shared/index.d.cts:1105:52 - error TS2315: Type 'WatchOptions' is not generic. - -1105 interface WatchThrottledOptions extends WatchOptions { -   ~~~~~~~~~~~~~~~~~~~~~~~ - -node_modules/pinia/dist/pinia.d.ts:354:26 - error TS2536: Type 'key' cannot be used to index type 'Store'. - -354 [key in Keys]: () => Store[key]; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:17:52 - error TS2307: Cannot find module '@/api/invocations' or its corresponding type declarations. - -17 import type { WorkflowInvocationElementView } from "@/api/invocations"; -   ~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:18:36 - error TS2307: Cannot find module '@/composables/datatypesMapper' or its corresponding type declarations. - -18 import { useDatatypesMapper } from "@/composables/datatypesMapper"; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:19:36 - error TS2307: Cannot find module '@/composables/useInvocationGraph' or its corresponding type declarations. - -19 import { useInvocationGraph } from "@/composables/useInvocationGraph"; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:20:39 - error TS2307: Cannot find module '@/stores/workflowEditorStateStore' or its corresponding type declarations. - -20 import { useWorkflowStateStore } from "@/stores/workflowEditorStateStore"; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:21:31 - error TS2307: Cannot find module '@/stores/workflowStore' or its corresponding type declarations. - -21 import type { Workflow } from "@/stores/workflowStore"; -   ~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:23:21 - error TS2307: Cannot find module '@/components/Common/Heading.vue' or its corresponding type declarations. - -23 import Heading from "@/components/Common/Heading.vue"; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:24:25 - error TS2307: Cannot find module '@/components/LoadingSpan.vue' or its corresponding type declarations. - -24 import LoadingSpan from "@/components/LoadingSpan.vue"; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:25:27 - error TS2307: Cannot find module '@/components/Workflow/Editor/WorkflowGraph.vue' or its corresponding type declarations. - -25 import WorkflowGraph from "@/components/Workflow/Editor/WorkflowGraph.vue"; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:26:36 - error TS2307: Cannot find module '@/components/WorkflowInvocationState/WorkflowInvocationStep.vue' or its corresponding type declarations. - -26 import WorkflowInvocationStep from "@/components/WorkflowInvocationState/WorkflowInvocationStep.vue"; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:27:42 - error TS2307: Cannot find module '@/components/WorkflowInvocationState/WorkflowInvocationStepHeader.vue' or its corresponding type declarations. - -27 import WorkflowInvocationStepHeader from "@/components/WorkflowInvocationState/WorkflowInvocationStepHeader.vue"; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:29:13 - error TS2345: Argument of type 'IconDefinition' is not assignable to parameter of type 'IconDefinitionOrPack'. - Type 'IconDefinition' is not assignable to type 'IconPack'. - Index signature for type 'string' is missing in type 'IconDefinition'. - -29 library.add(faArrowDown, faChevronDown, faChevronUp, faSignInAlt, faSitemap, faTimes); -   ~~~~~~~~~~~ - -src/components/Workflow/Invocation/Graph/InvocationGraph.vue:85:26 - error TS2339: Property 'toBe' does not exist on type 'UntilArrayInstance'. - -85 await until(loading).toBe(false); -   ~~~~ - - -Found 37 errors in 7 files. - -Errors Files - 1 node_modules/@types/node/globals.d.ts:72 - 1 node_modules/@types/node/module.d.ts:106 - 2 node_modules/@types/ws/index.d.ts:333 - 3 node_modules/@vueuse/core/index.d.cts:5 - 17 node_modules/@vueuse/shared/index.d.cts:2 - 1 node_modules/pinia/dist/pinia.d.ts:354 - 12 src/components/Workflow/Invocation/Graph/InvocationGraph.vue:17 - -Script done on 2025-02-11 09:50:47-05:00 [COMMAND_EXIT_CODE="2"]