Skip to content

Initialize selectedVersion in a better way #4209

Initialize selectedVersion in a better way

Initialize selectedVersion in a better way #4209

Triggered via pull request July 3, 2024 01:44
Status Failure
Total duration 59s
Artifacts

macos.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build (22): src/components/LandingPage.vue#L113
Expected 4 arguments, but got 3.
build (22): src/components/LandingPage.vue#L134
Property 'accounts' does not exist on type '{ account: string; accounts: { auras: { addonConfig?: { addonName: string; wagoAPI: string; addonDependency: string; isInstalled: boolean; hasTypeColumn: boolean; svPathFunction: (config: ConfigState, version: Version, account: Account) => string | false; parseFunction: (WeakAurasSavedData: any, config: AddonConfig)...'.
build (22): src/components/LandingPage.vue#L135
Property 'account' does not exist on type '{ account: string; accounts: { auras: { addonConfig?: { addonName: string; wagoAPI: string; addonDependency: string; isInstalled: boolean; hasTypeColumn: boolean; svPathFunction: (config: ConfigState, version: Version, account: Account) => string | false; parseFunction: (WeakAurasSavedData: any, config: AddonConfig)...'.
build (22): src/components/LandingPage.vue#L140
Argument of type 'Ref<{ account: string; accounts: { auras: { addonConfig?: { addonName: string; wagoAPI: string; addonDependency: string; isInstalled: boolean; hasTypeColumn: boolean; svPathFunction: (config: ConfigState, version: Version, account: Account) => string | false; parseFunction: (WeakAurasSavedData: any, config: AddonCon...' is not assignable to parameter of type 'Version'.
build (22): src/components/LandingPage.vue#L176
Property 'value' does not exist on type 'Store<"configStore", ConfigState, {}, { setSelectedVersion(version: Version): void; initializeSelectedVersion(): void; }>'.
build (22): src/components/LandingPage.vue#L177
Property 'value' does not exist on type 'Store<"configStore", ConfigState, {}, { setSelectedVersion(version: Version): void; initializeSelectedVersion(): void; }>'.
build (22): src/components/LandingPage.vue#L201
Argument of type 'ComputedRef<{ addonName: string; wagoAPI: string; addonDependency: string; svPathFunction: (config: ConfigState, version: Version, account: Account) => string | false; isInstalled: boolean; parseFunction: (WeakAurasSavedData: any, config: AddonConfig) => any[]; hasTypeColumn: boolean; }[]>' is not assignable to parameter of type 'AddonConfig[]'.
build (22): src/components/LandingPage.vue#L211
Argument of type 'Ref<any[]>' is not assignable to parameter of type 'VersionOptions[]'.
build (22): src/components/LandingPage.vue#L227
Type '{ account: string; accounts: { auras: { addonConfig?: { addonName: string; wagoAPI: string; addonDependency: string; isInstalled: boolean; hasTypeColumn: boolean; svPathFunction: (config: ConfigState, version: Version, account: Account) => string | false; parseFunction: (WeakAurasSavedData: any, config: AddonConfig)...' is missing the following properties from type '{ account: string; accounts: { auras: { addonConfig?: { addonName: string; wagoAPI: string; addonDependency: string; isInstalled: boolean; hasTypeColumn: boolean; svPathFunction: (config: ConfigState, version: Version, account: Account) => string | false; parseFunction: (WeakAurasSavedData: any, config: AddonConfig)...': length, pop, push, concat, and 29 more.
build (22): src/components/LandingPage.vue#L230
Argument of type 'Ref<any[]>' is not assignable to parameter of type 'AccountOptions[]'.