Untitled

mail@pastecode.io avatar
unknown
typescript
a year ago
12 kB
4
Indexable
Never
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useAccountInfo.ts(18,5): error TS2322: Type 'Resolver<{ firstName: string | undefined; lastName: string | undefined; language: string | undefined; email: string | undefined; password: string | undefined; }>' is not assignable to type 'Resolver<IGetMemberRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'values' and 'values' are incompatible.
[2023-08-28 13:14:04] │     Type 'IGetMemberRequest' is not assignable to type '{ firstName: string | undefined; lastName: string | undefined; language: string | undefined; email: string | undefined; password: string | undefined; }'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useCompanyDetails.ts(22,5): error TS2322: Type 'Resolver<{ name: string | undefined; contry: string | undefined; address: string | undefined; city: string | undefined; state: string | undefined; zipCode: string | undefined; number: string | undefined; email: string | undefined; }>' is not assignable to type 'Resolver<IGetCompanyDetailsRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'values' and 'values' are incompatible.
[2023-08-28 13:14:04] │     Type 'IGetCompanyDetailsRequest' is missing the following properties from type '{ name: string | undefined; contry: string | undefined; address: string | undefined; city: string | undefined; state: string | undefined; zipCode: string | undefined; number: string | undefined; email: string | undefined; }': contry, number
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useCreateCouponForm.ts(13,5): error TS2322: Type 'Resolver<{ coupon: string; }>' is not assignable to type 'Resolver<ICreateCouponRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'options' and 'options' are incompatible.
[2023-08-28 13:14:04] │     Type 'ResolverOptions<ICreateCouponRequest>' is not assignable to type 'ResolverOptions<{ coupon: string; }>'.
[2023-08-28 13:14:04] │       Types of property 'names' are incompatible.
[2023-08-28 13:14:04] │         Type '(keyof ICreateCouponRequest)[] | undefined' is not assignable to type '"coupon"[] | undefined'.
[2023-08-28 13:14:04] │           Type '(keyof ICreateCouponRequest)[]' is not assignable to type '"coupon"[]'.
[2023-08-28 13:14:04] │             Type 'keyof ICreateCouponRequest' is not assignable to type '"coupon"'.
[2023-08-28 13:14:04] │               Type '"id"' is not assignable to type '"coupon"'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useCreateMediaFolderForm.ts(13,5): error TS2322: Type 'Resolver<{ name: string; }>' is not assignable to type 'Resolver<ICreateFolderRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'options' and 'options' are incompatible.
[2023-08-28 13:14:04] │     Type 'ResolverOptions<ICreateFolderRequest>' is not assignable to type 'ResolverOptions<{ name: string; }>'.
[2023-08-28 13:14:04] │       Types of property 'names' are incompatible.
[2023-08-28 13:14:04] │         Type '(keyof ICreateFolderRequest)[] | undefined' is not assignable to type '"name"[] | undefined'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useCreatePlaylistForm.ts(13,5): error TS2322: Type 'Resolver<{ name: string | undefined; }>' is not assignable to type 'Resolver<ICreateFolderRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'options' and 'options' are incompatible.
[2023-08-28 13:14:04] │     Type 'ResolverOptions<ICreateFolderRequest>' is not assignable to type 'ResolverOptions<{ name: string | undefined; }>'.
[2023-08-28 13:14:04] │       Types of property 'names' are incompatible.
[2023-08-28 13:14:04] │         Type '(keyof ICreateFolderRequest)[] | undefined' is not assignable to type '"name"[] | undefined'.
[2023-08-28 13:14:04] │           Type '(keyof ICreateFolderRequest)[]' is not assignable to type '"name"[]'.
[2023-08-28 13:14:04] │             Type 'keyof ICreateFolderRequest' is not assignable to type '"name"'.
[2023-08-28 13:14:04] │               Type '"parent"' is not assignable to type '"name"'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useCreatePlaylistFromMedia.ts(13,5): error TS2322: Type 'Resolver<{ name: string; }>' is not assignable to type 'Resolver<ICreatePlaylistFromMediaWithNameRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'options' and 'options' are incompatible.
[2023-08-28 13:14:04] │     Type 'ResolverOptions<ICreatePlaylistFromMediaWithNameRequest>' is not assignable to type 'ResolverOptions<{ name: string; }>'.
[2023-08-28 13:14:04] │       Types of property 'names' are incompatible.
[2023-08-28 13:14:04] │         Type 'string[] | undefined' is not assignable to type '"name"[] | undefined'.
[2023-08-28 13:14:04] │           Type 'string[]' is not assignable to type '"name"[]'.
[2023-08-28 13:14:04] │             Type 'string' is not assignable to type '"name"'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useEditPlaylistSettings.ts(25,5): error TS2322: Type 'Resolver<{ fillImage: boolean | undefined; fillDocument: boolean | undefined; fillVideo: boolean | undefined; defaultDurationImage: string | undefined; defaultDurationDocument: string | undefined; defaultDurationApp: string | undefined; tags: AnyPresentValue | ... 1 more ... | undefined; }>' is not assignable to type 'Resolver<IUpdatePlaylistSettingsRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'values' and 'values' are incompatible.
[2023-08-28 13:14:04] │     Type 'IUpdatePlaylistSettingsRequest' is not assignable to type '{ fillImage: boolean | undefined; fillDocument: boolean | undefined; fillVideo: boolean | undefined; defaultDurationImage: string | undefined; defaultDurationDocument: string | undefined; defaultDurationApp: string | undefined; tags: AnyPresentValue | ... 1 more ... | undefined; }'.
[2023-08-28 13:14:04] │       Property 'fillImage' is optional in type 'IUpdatePlaylistSettingsRequest' but required in type '{ fillImage: boolean | undefined; fillDocument: boolean | undefined; fillVideo: boolean | undefined; defaultDurationImage: string | undefined; defaultDurationDocument: string | undefined; defaultDurationApp: string | undefined; tags: AnyPresentValue | ... 1 more ... | undefined; }'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useEditScreenAddressForm.ts(20,5): error TS2322: Type 'Resolver<{ publicName: string | undefined; zipCode: string | undefined; country: string | undefined; city: string | undefined; address: string | undefined; no: string | undefined; }>' is not assignable to type 'Resolver<IEditScreenAddressRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'options' and 'options' are incompatible.
[2023-08-28 13:14:04] │     Type 'ResolverOptions<IEditScreenAddressRequest>' is not assignable to type 'ResolverOptions<{ publicName: string | undefined; zipCode: string | undefined; country: string | undefined; city: string | undefined; address: string | undefined; no: string | undefined; }>'.
[2023-08-28 13:14:04] │       Types of property 'names' are incompatible.
[2023-08-28 13:14:04] │         Type '(keyof IEditScreenAddressRequest)[] | undefined' is not assignable to type '("address" | "no" | "publicName" | "country" | "city" | "zipCode")[] | undefined'.
[2023-08-28 13:14:04] │           Type '(keyof IEditScreenAddressRequest)[]' is not assignable to type '("address" | "no" | "publicName" | "country" | "city" | "zipCode")[]'.
[2023-08-28 13:14:04] │             Type 'keyof IEditScreenAddressRequest' is not assignable to type '"address" | "no" | "publicName" | "country" | "city" | "zipCode"'.
[2023-08-28 13:14:04] │               Type '"location"' is not assignable to type '"address" | "no" | "publicName" | "country" | "city" | "zipCode"'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useLogin.ts(19,5): error TS2322: Type 'Resolver<{ email: string; password: string; remember: boolean | undefined; }>' is not assignable to type 'Resolver<ILoginRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'values' and 'values' are incompatible.
[2023-08-28 13:14:04] │     Type 'ILoginRequest' is not assignable to type '{ email: string; password: string; remember: boolean | undefined; }'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/usePaymentMethodAdd.ts(26,5): error TS2322: Type 'Resolver<{ type: string | undefined; iban: string | undefined; holder: string | undefined; card: string | undefined; exp_month: string | undefined; exp_year: string | undefined; cvc: string | undefined; ... 4 more ...; country: string | undefined; }>' is not assignable to type 'Resolver<IPaymentTypeRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'values' and 'values' are incompatible.
[2023-08-28 13:14:04] │     Type 'IPaymentTypeRequest' is not assignable to type '{ type: string | undefined; iban: string | undefined; holder: string | undefined; card: string | undefined; exp_month: string | undefined; exp_year: string | undefined; cvc: string | undefined; ... 4 more ...; country: string | undefined; }'.
[2023-08-28 13:14:04] │       Property 'iban' is optional in type 'IPaymentTypeRequest' but required in type '{ type: string | undefined; iban: string | undefined; holder: string | undefined; card: string | undefined; exp_month: string | undefined; exp_year: string | undefined; cvc: string | undefined; ... 4 more ...; country: string | undefined; }'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useRegisterForm.ts(28,5): error TS2322: Type 'Resolver<{ email: string; password: string; confirmPassword: string | undefined; name: string; lastname: string; company: string; language: string | undefined; termsAndConditions: boolean | undefined; receiveUpdates: boolean | undefined; }>' is not assignable to type 'Resolver<IRegisterRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'values' and 'values' are incompatible.
[2023-08-28 13:14:04] │     Type 'IRegisterRequest' is not assignable to type '{ email: string; password: string; confirmPassword: string | undefined; name: string; lastname: string; company: string; language: string | undefined; termsAndConditions: boolean | undefined; receiveUpdates: boolean | undefined; }'.
[2023-08-28 13:14:04] │       Property 'confirmPassword' is optional in type 'IRegisterRequest' but required in type '{ email: string; password: string; confirmPassword: string | undefined; name: string; lastname: string; company: string; language: string | undefined; termsAndConditions: boolean | undefined; receiveUpdates: boolean | undefined; }'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useRenamePlaylistForm .ts(15,5): error TS2322: Type 'Resolver<{ name: string; }>' is not assignable to type 'Resolver<IUpdatePlaylistNameRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'options' and 'options' are incompatible.
[2023-08-28 13:14:04] │     Type 'ResolverOptions<IUpdatePlaylistNameRequest>' is not assignable to type 'ResolverOptions<{ name: string; }>'.
[2023-08-28 13:14:04] │       Types of property 'names' are incompatible.
[2023-08-28 13:14:04] │         Type '(keyof IUpdatePlaylistNameRequest)[] | undefined' is not assignable to type '"name"[] | undefined'.
[2023-08-28 13:14:04] │           Type '(keyof IUpdatePlaylistNameRequest)[]' is not assignable to type '"name"[]'.
[2023-08-28 13:14:04] │             Type 'keyof IUpdatePlaylistNameRequest' is not assignable to type '"name"'.
[2023-08-28 13:14:04] │               Type '"playlistId"' is not assignable to type '"name"'.
[2023-08-28 13:14:04] │ src/lib/hooks/forms/useRenameScreenForm.ts(15,5): error TS2322: Type 'Resolver<{ name: string; }>' is not assignable to type 'Resolver<IUpdateScreenNameRequest, any>'.
[2023-08-28 13:14:04] │   Types of parameters 'options' and 'options' are incompatible.
[2023-08-28 13:14:04] │     Type 'ResolverOptions<IUpdateScreenNameRequest>' is not assignable to type 'ResolverOptions<{ name: string; }>'.
[2023-08-28 13:14:04] │       Types of property 'names' are incompatible.
[2023-08-28 13:14:04] │         Type '(keyof IUpdateScreenNameRequest)[] | undefined' is not assignable to type '"name"[] | undefined'.
[2023-08-28 13:14:04] │           Type '(keyof IUpdateScreenNameRequest)[]' is not assignable to type '"name"[]'.
[2023-08-28 13:14:04] │             Type 'keyof IUpdateScreenNameRequest' is not assignable to type '"name"'.
[2023-08-28 13:14:04] │               Type '"screenId"' is not assignable to type '"name"'.
[2023-08-28 13:14:04] │ building: exit status 2