Skip to content

feat(business-unit): fixes for business units #13

feat(business-unit): fixes for business units

feat(business-unit): fixes for business units #13

Triggered via pull request August 16, 2024 11:32
Status Failure
Total duration 51s
Artifacts

ci-cd.yaml

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

Annotations

71 errors and 1 warning
Validate on Node 18.x and ubuntu-latest: src/oauth/server.test.ts#L102
Argument of type '{ email: string; password: string; addresses: never[]; authenticationMode: string; isEmailVerified: true; id: string; createdAt: string; lastModifiedAt: string; version: number; }' is not assignable to parameter of type 'Customer'.
Validate on Node 18.x and ubuntu-latest: src/repositories/cart/actions.ts#L377
Type 'TypedMoney' is not assignable to type 'Writable<CentPrecisionMoney>'.
Validate on Node 18.x and ubuntu-latest: src/repositories/cart/actions.ts#L422
Type '{ id: string; value: CartDiscountValueDraft; target?: CartDiscountTarget | undefined; }[]' is not assignable to type 'Writable<DirectDiscount>[]'.
Validate on Node 18.x and ubuntu-latest: src/repositories/customer/index.ts#L71
Property 'stores' is missing in type '{ key: string | undefined; authenticationMode: string; firstName: string | undefined; lastName: string | undefined; middleName: string | undefined; title: string | undefined; dateOfBirth: string | undefined; ... 13 more ...; version: number; }' but required in type 'Customer'.
Validate on Node 18.x and ubuntu-latest: src/repositories/shipping-method/actions.ts#L33
Class 'ShippingMethodUpdateHandler' incorrectly implements interface 'UpdateHandlerInterface<ShippingMethod, ShippingMethodUpdateAction>'.
Validate on Node 18.x and ubuntu-latest: src/repositories/shipping-method/helpers.ts#L7
Type 'TypedMoney' is not assignable to type 'CentPrecisionMoney'.
Validate on Node 18.x and ubuntu-latest: src/repositories/shipping-method/helpers.ts#L8
Type 'TypedMoney | undefined' is not assignable to type 'CentPrecisionMoney | undefined'.
Validate on Node 18.x and ubuntu-latest: src/repositories/shipping-method/index.ts#L35
Type '{ taxCategory: TaxCategoryReference; zoneRates: ZoneRate[]; custom: CustomFields | undefined; key?: string | undefined; name: string; ... 9 more ...; version: number; }' is not assignable to type 'ShippingMethod'.
Validate on Node 18.x and ubuntu-latest: src/services/customer.test.ts#L14
Property 'stores' is missing in type '{ id: string; email: string; password: string; addresses: never[]; isEmailVerified: true; authenticationMode: string; version: number; createdAt: string; lastModifiedAt: string; }' but required in type 'Customer'.
Validate on Node 18.x and ubuntu-latest: src/services/customer.test.ts#L24
Argument of type 'Customer | undefined' is not assignable to parameter of type 'Customer'.
Validate on Node 22.x and macOS-latest
The job was canceled because "_18_x_ubuntu-latest" failed.
Validate on Node 22.x and macOS-latest: src/oauth/server.test.ts#L102
Argument of type '{ email: string; password: string; addresses: never[]; authenticationMode: string; isEmailVerified: true; id: string; createdAt: string; lastModifiedAt: string; version: number; }' is not assignable to parameter of type 'Customer'.
Validate on Node 22.x and macOS-latest: src/repositories/cart/actions.ts#L377
Type 'TypedMoney' is not assignable to type 'Writable<CentPrecisionMoney>'.
Validate on Node 22.x and macOS-latest: src/repositories/cart/actions.ts#L422
Type '{ id: string; value: CartDiscountValueDraft; target?: CartDiscountTarget | undefined; }[]' is not assignable to type 'Writable<DirectDiscount>[]'.
Validate on Node 22.x and macOS-latest: src/repositories/customer/index.ts#L71
Property 'stores' is missing in type '{ key: string | undefined; authenticationMode: string; firstName: string | undefined; lastName: string | undefined; middleName: string | undefined; title: string | undefined; dateOfBirth: string | undefined; ... 13 more ...; version: number; }' but required in type 'Customer'.
Validate on Node 22.x and macOS-latest: src/repositories/shipping-method/actions.ts#L33
Class 'ShippingMethodUpdateHandler' incorrectly implements interface 'UpdateHandlerInterface<ShippingMethod, ShippingMethodUpdateAction>'.
Validate on Node 22.x and macOS-latest: src/repositories/shipping-method/helpers.ts#L7
Type 'TypedMoney' is not assignable to type 'CentPrecisionMoney'.
Validate on Node 22.x and macOS-latest: src/repositories/shipping-method/helpers.ts#L8
Type 'TypedMoney | undefined' is not assignable to type 'CentPrecisionMoney | undefined'.
Validate on Node 22.x and macOS-latest: src/repositories/shipping-method/index.ts#L35
Type '{ taxCategory: TaxCategoryReference; zoneRates: ZoneRate[]; custom: CustomFields | undefined; key?: string | undefined; name: string; ... 9 more ...; version: number; }' is not assignable to type 'ShippingMethod'.
Validate on Node 22.x and macOS-latest: src/services/customer.test.ts#L14
Property 'stores' is missing in type '{ id: string; email: string; password: string; addresses: never[]; isEmailVerified: true; authenticationMode: string; version: number; createdAt: string; lastModifiedAt: string; }' but required in type 'Customer'.
Validate on Node 22.x and macOS-latest: src/services/customer.test.ts#L24
Argument of type 'Customer | undefined' is not assignable to parameter of type 'Customer'.
Validate on Node 20.x and ubuntu-latest
The job was canceled because "_18_x_ubuntu-latest" failed.
Validate on Node 20.x and ubuntu-latest: src/oauth/server.test.ts#L102
Argument of type '{ email: string; password: string; addresses: never[]; authenticationMode: string; isEmailVerified: true; id: string; createdAt: string; lastModifiedAt: string; version: number; }' is not assignable to parameter of type 'Customer'.
Validate on Node 20.x and ubuntu-latest: src/repositories/cart/actions.ts#L377
Type 'TypedMoney' is not assignable to type 'Writable<CentPrecisionMoney>'.
Validate on Node 20.x and ubuntu-latest: src/repositories/cart/actions.ts#L422
Type '{ id: string; value: CartDiscountValueDraft; target?: CartDiscountTarget | undefined; }[]' is not assignable to type 'Writable<DirectDiscount>[]'.
Validate on Node 20.x and ubuntu-latest: src/repositories/customer/index.ts#L71
Property 'stores' is missing in type '{ key: string | undefined; authenticationMode: string; firstName: string | undefined; lastName: string | undefined; middleName: string | undefined; title: string | undefined; dateOfBirth: string | undefined; ... 13 more ...; version: number; }' but required in type 'Customer'.
Validate on Node 20.x and ubuntu-latest: src/repositories/shipping-method/actions.ts#L33
Class 'ShippingMethodUpdateHandler' incorrectly implements interface 'UpdateHandlerInterface<ShippingMethod, ShippingMethodUpdateAction>'.
Validate on Node 20.x and ubuntu-latest: src/repositories/shipping-method/helpers.ts#L7
Type 'TypedMoney' is not assignable to type 'CentPrecisionMoney'.
Validate on Node 20.x and ubuntu-latest: src/repositories/shipping-method/helpers.ts#L8
Type 'TypedMoney | undefined' is not assignable to type 'CentPrecisionMoney | undefined'.
Validate on Node 20.x and ubuntu-latest: src/repositories/shipping-method/index.ts#L35
Type '{ taxCategory: TaxCategoryReference; zoneRates: ZoneRate[]; custom: CustomFields | undefined; key?: string | undefined; name: string; ... 9 more ...; version: number; }' is not assignable to type 'ShippingMethod'.
Validate on Node 20.x and ubuntu-latest: src/services/customer.test.ts#L14
Property 'stores' is missing in type '{ id: string; email: string; password: string; addresses: never[]; isEmailVerified: true; authenticationMode: string; version: number; createdAt: string; lastModifiedAt: string; }' but required in type 'Customer'.
Validate on Node 20.x and ubuntu-latest: src/services/customer.test.ts#L24
Argument of type 'Customer | undefined' is not assignable to parameter of type 'Customer'.
Validate on Node 20.x and windows-latest
The job was canceled because "_18_x_ubuntu-latest" failed.
Validate on Node 20.x and windows-latest
The operation was canceled.
Validate on Node 18.x and windows-latest
The job was canceled because "_18_x_ubuntu-latest" failed.
Validate on Node 18.x and windows-latest
The operation was canceled.
Validate on Node 22.x and ubuntu-latest
The job was canceled because "_18_x_ubuntu-latest" failed.
Validate on Node 22.x and ubuntu-latest: src/oauth/server.test.ts#L102
Argument of type '{ email: string; password: string; addresses: never[]; authenticationMode: string; isEmailVerified: true; id: string; createdAt: string; lastModifiedAt: string; version: number; }' is not assignable to parameter of type 'Customer'.
Validate on Node 22.x and ubuntu-latest: src/repositories/cart/actions.ts#L377
Type 'TypedMoney' is not assignable to type 'Writable<CentPrecisionMoney>'.
Validate on Node 22.x and ubuntu-latest: src/repositories/cart/actions.ts#L422
Type '{ id: string; value: CartDiscountValueDraft; target?: CartDiscountTarget | undefined; }[]' is not assignable to type 'Writable<DirectDiscount>[]'.
Validate on Node 22.x and ubuntu-latest: src/repositories/customer/index.ts#L71
Property 'stores' is missing in type '{ key: string | undefined; authenticationMode: string; firstName: string | undefined; lastName: string | undefined; middleName: string | undefined; title: string | undefined; dateOfBirth: string | undefined; ... 13 more ...; version: number; }' but required in type 'Customer'.
Validate on Node 22.x and ubuntu-latest: src/repositories/shipping-method/actions.ts#L33
Class 'ShippingMethodUpdateHandler' incorrectly implements interface 'UpdateHandlerInterface<ShippingMethod, ShippingMethodUpdateAction>'.
Validate on Node 22.x and ubuntu-latest: src/repositories/shipping-method/helpers.ts#L7
Type 'TypedMoney' is not assignable to type 'CentPrecisionMoney'.
Validate on Node 22.x and ubuntu-latest: src/repositories/shipping-method/helpers.ts#L8
Type 'TypedMoney | undefined' is not assignable to type 'CentPrecisionMoney | undefined'.
Validate on Node 22.x and ubuntu-latest: src/repositories/shipping-method/index.ts#L35
Type '{ taxCategory: TaxCategoryReference; zoneRates: ZoneRate[]; custom: CustomFields | undefined; key?: string | undefined; name: string; ... 9 more ...; version: number; }' is not assignable to type 'ShippingMethod'.
Validate on Node 22.x and ubuntu-latest: src/services/customer.test.ts#L14
Property 'stores' is missing in type '{ id: string; email: string; password: string; addresses: never[]; isEmailVerified: true; authenticationMode: string; version: number; createdAt: string; lastModifiedAt: string; }' but required in type 'Customer'.
Validate on Node 22.x and ubuntu-latest: src/services/customer.test.ts#L24
Argument of type 'Customer | undefined' is not assignable to parameter of type 'Customer'.
Validate on Node 22.x and windows-latest
The job was canceled because "_18_x_ubuntu-latest" failed.
Validate on Node 22.x and windows-latest
The operation was canceled.
Validate on Node 18.x and macOS-latest
The job was canceled because "_18_x_ubuntu-latest" failed.
Validate on Node 18.x and macOS-latest: src/oauth/server.test.ts#L102
Argument of type '{ email: string; password: string; addresses: never[]; authenticationMode: string; isEmailVerified: true; id: string; createdAt: string; lastModifiedAt: string; version: number; }' is not assignable to parameter of type 'Customer'.
Validate on Node 18.x and macOS-latest: src/repositories/cart/actions.ts#L377
Type 'TypedMoney' is not assignable to type 'Writable<CentPrecisionMoney>'.
Validate on Node 18.x and macOS-latest: src/repositories/cart/actions.ts#L422
Type '{ id: string; value: CartDiscountValueDraft; target?: CartDiscountTarget | undefined; }[]' is not assignable to type 'Writable<DirectDiscount>[]'.
Validate on Node 18.x and macOS-latest: src/repositories/customer/index.ts#L71
Property 'stores' is missing in type '{ key: string | undefined; authenticationMode: string; firstName: string | undefined; lastName: string | undefined; middleName: string | undefined; title: string | undefined; dateOfBirth: string | undefined; ... 13 more ...; version: number; }' but required in type 'Customer'.
Validate on Node 18.x and macOS-latest: src/repositories/shipping-method/actions.ts#L33
Class 'ShippingMethodUpdateHandler' incorrectly implements interface 'UpdateHandlerInterface<ShippingMethod, ShippingMethodUpdateAction>'.
Validate on Node 18.x and macOS-latest: src/repositories/shipping-method/helpers.ts#L7
Type 'TypedMoney' is not assignable to type 'CentPrecisionMoney'.
Validate on Node 18.x and macOS-latest: src/repositories/shipping-method/helpers.ts#L8
Type 'TypedMoney | undefined' is not assignable to type 'CentPrecisionMoney | undefined'.
Validate on Node 18.x and macOS-latest: src/repositories/shipping-method/index.ts#L35
Type '{ taxCategory: TaxCategoryReference; zoneRates: ZoneRate[]; custom: CustomFields | undefined; key?: string | undefined; name: string; ... 9 more ...; version: number; }' is not assignable to type 'ShippingMethod'.
Validate on Node 18.x and macOS-latest: src/services/customer.test.ts#L14
Property 'stores' is missing in type '{ id: string; email: string; password: string; addresses: never[]; isEmailVerified: true; authenticationMode: string; version: number; createdAt: string; lastModifiedAt: string; }' but required in type 'Customer'.
Validate on Node 18.x and macOS-latest: src/services/customer.test.ts#L24
Argument of type 'Customer | undefined' is not assignable to parameter of type 'Customer'.
Validate on Node 20.x and macOS-latest
The job was canceled because "_18_x_ubuntu-latest" failed.
Validate on Node 20.x and macOS-latest: src/oauth/server.test.ts#L102
Argument of type '{ email: string; password: string; addresses: never[]; authenticationMode: string; isEmailVerified: true; id: string; createdAt: string; lastModifiedAt: string; version: number; }' is not assignable to parameter of type 'Customer'.
Validate on Node 20.x and macOS-latest: src/repositories/cart/actions.ts#L377
Type 'TypedMoney' is not assignable to type 'Writable<CentPrecisionMoney>'.
Validate on Node 20.x and macOS-latest: src/repositories/cart/actions.ts#L422
Type '{ id: string; value: CartDiscountValueDraft; target?: CartDiscountTarget | undefined; }[]' is not assignable to type 'Writable<DirectDiscount>[]'.
Validate on Node 20.x and macOS-latest: src/repositories/customer/index.ts#L71
Property 'stores' is missing in type '{ key: string | undefined; authenticationMode: string; firstName: string | undefined; lastName: string | undefined; middleName: string | undefined; title: string | undefined; dateOfBirth: string | undefined; ... 13 more ...; version: number; }' but required in type 'Customer'.
Validate on Node 20.x and macOS-latest: src/repositories/shipping-method/actions.ts#L33
Class 'ShippingMethodUpdateHandler' incorrectly implements interface 'UpdateHandlerInterface<ShippingMethod, ShippingMethodUpdateAction>'.
Validate on Node 20.x and macOS-latest: src/repositories/shipping-method/helpers.ts#L7
Type 'TypedMoney' is not assignable to type 'CentPrecisionMoney'.
Validate on Node 20.x and macOS-latest: src/repositories/shipping-method/helpers.ts#L8
Type 'TypedMoney | undefined' is not assignable to type 'CentPrecisionMoney | undefined'.
Validate on Node 20.x and macOS-latest: src/repositories/shipping-method/index.ts#L35
Type '{ taxCategory: TaxCategoryReference; zoneRates: ZoneRate[]; custom: CustomFields | undefined; key?: string | undefined; name: string; ... 9 more ...; version: number; }' is not assignable to type 'ShippingMethod'.
Validate on Node 20.x and macOS-latest: src/services/customer.test.ts#L14
Property 'stores' is missing in type '{ id: string; email: string; password: string; addresses: never[]; isEmailVerified: true; authenticationMode: string; version: number; createdAt: string; lastModifiedAt: string; }' but required in type 'Customer'.
Validate on Node 20.x and macOS-latest: src/services/customer.test.ts#L24
Argument of type 'Customer | undefined' is not assignable to parameter of type 'Customer'.
Validate on Node 20.x and windows-latest
command pnpm store prune exits with code 1