feat: option modal

5 jobs for dev/async in 12 minutes and 27 seconds (queued for 1 second)
Status Job ID Name Coverage
  Install
passed #90368
linux
npm_ci

00:02:20

 
  Rs Check Lint
passed #90369
linux
rs_check_lint

00:04:05

 
  Wasm
passed #90370
linux
wasm_build

00:05:16

 
  Ts Check Lint
failed #90371
linux
ts_check_lint

00:00:45

 
  Build
skipped #90372
linux
npm_build
 
Name Stage Failure
failed
ts_check_lint Ts Check Lint
src/service/utils/fetchCheckCardMeta.ts(48,20): error TS2345: Argument of type '{ meta: CardMeta; location: { controller?: number | undefined; zone?: ygopro.CardZone | undefined; sequence?: number | undefined; position?: ygopro.CardPosition | undefined; is_overlay?: boolean | undefined; overlay_sequence?: number | undefined; }; level1: number | undefined; level2: number | undefined; effectDesc:...' is not assignable to parameter of type 'Option'.
Types of property 'location' are incompatible.
Type '{ controller?: number | undefined; zone?: CardZone | undefined; sequence?: number | undefined; position?: CardPosition | undefined; is_overlay?: boolean | undefined; overlay_sequence?: number | undefined; }' is missing the following properties from type 'CardLocation': #one_of_decls, toObject, serialize, serializeBinary, and 8 more.
src/service/utils/fetchCheckCardMeta.ts(50,22): error TS2345: Argument of type '{ meta: CardMeta; location: { controller?: number | undefined; zone?: ygopro.CardZone | undefined; sequence?: number | undefined; position?: ygopro.CardPosition | undefined; is_overlay?: boolean | undefined; overlay_sequence?: number | undefined; }; level1: number | undefined; level2: number | undefined; effectDesc:...' is not assignable to parameter of type 'Option'.
src/service/utils/fetchCheckCardMeta.ts(52,22): error TS2345: Argument of type '{ meta: CardMeta; location: { controller?: number | undefined; zone?: ygopro.CardZone | undefined; sequence?: number | undefined; position?: ygopro.CardPosition | undefined; is_overlay?: boolean | undefined; overlay_sequence?: number | undefined; }; level1: number | undefined; level2: number | undefined; effectDesc:...' is not assignable to parameter of type 'Option'.
src/ui/Duel/Message/EffectButton.tsx(44,28): error TS2551: Property 'optionModal' does not exist on type 'ModalState'. Did you mean 'positionModal'?
src/ui/Duel/Message/EffectButton.tsx(54,26): error TS2551: Property 'optionModal' does not exist on type 'ModalState'. Did you mean 'positionModal'?
Cleaning up file based variables
ERROR: Job failed: exit code 1