Switch ModelSearch from os.walk to os.scandir #7412
Annotations
10 errors and 1 warning
lint-frontend
Object literal may only specify known properties, and 'model_name' does not exist in type 'AsyncDefaultValues<{ path: string; name: string; base: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner"; type: "main"; format: "checkpoint"; key: string; original_hash: string | null; current_hash: string | null; ... 8 more ...; config: string; }> | { ...; }'.
|
lint-frontend
Property 'model_name' does not exist on type '{ path: string; name: string; base: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner"; type: "main"; format: "checkpoint"; key: string; original_hash: string | null; current_hash: string | null; ... 8 more ...; config: string; }'.
|
lint-frontend
Property 'model_name' does not exist on type '{ path: string; name: string; base: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner"; type: "main"; format: "checkpoint"; key: string; original_hash: string | null; current_hash: string | null; ... 8 more ...; config: string; }'.
|
lint-frontend
Argument of type '"model_name"' is not assignable to parameter of type '"type" | "config" | "path" | "key" | "base" | "vae" | "name" | "format" | "original_hash" | "current_hash" | "description" | "source" | "last_modified" | "variant" | "prediction_type" | "upcast_attention" | "ztsnr_training"'.
|
lint-frontend
Argument of type 'SubmitHandler<{ path: string; name: string; base: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner"; type: "main"; format: "checkpoint"; key: string; original_hash: string | null; current_hash: string | null; ... 8 more ...; config: string; }>' is not assignable to parameter of type 'SubmitHandler<TFieldValues>'.
|
lint-frontend
Property 'model_name' does not exist on type 'FieldErrors<{ path: string; name: string; base: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner"; type: "main"; format: "checkpoint"; key: string; original_hash: string | null; current_hash: string | null; ... 8 more ...; config: string; }>'.
|
lint-frontend
Argument of type '"model_name"' is not assignable to parameter of type '"type" | "config" | "path" | "key" | "base" | "vae" | "name" | "format" | "original_hash" | "current_hash" | "description" | "source" | "last_modified" | "variant" | "prediction_type" | "upcast_attention" | "ztsnr_training"'.
|
lint-frontend
'value' is possibly 'null' or 'undefined'.
|
lint-frontend
Property 'trim' does not exist on type 'string | number | boolean'.
|
lint-frontend
Property 'model_name' does not exist on type 'FieldErrors<{ path: string; name: string; base: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner"; type: "main"; format: "checkpoint"; key: string; original_hash: string | null; current_hash: string | null; ... 8 more ...; config: string; }>'.
|
lint-frontend
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|