Skip to content

fix: typeerrors

fix: typeerrors #174

Triggered via push April 10, 2024 03:57
Status Failure
Total duration 1m 28s
Artifacts

code-check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Typecheck: src/app/(dashboard)/dashboard/stores/[storeId]/customers/[customerId]/page.tsx#L13
'"@/components/tables/orders-table"' has no exported member named 'OrdersTableShell'. Did you mean 'OrdersTable'?
Typecheck: src/app/(dashboard)/dashboard/stores/[storeId]/orders/page.tsx#L14
'"@/components/tables/orders-table"' has no exported member named 'OrdersTableShell'. Did you mean 'OrdersTable'?
Typecheck: src/app/(dashboard)/dashboard/stores/[storeId]/products/[productId]/page.tsx#L56
Property 'promises' is missing in type '{ product: { description: string | null; id: string; name: string; createdAt: Date; updatedAt: Date | null; storeId: string; categoryId: string; images: StoredFile[] | null; ... 4 more ...; tags: string[] | null; }; }' but required in type 'UpdateProductFormProps'.
Typecheck: src/app/api/email/newsletter/route.ts#L54
Property 'onDuplicateKeyUpdate' does not exist on type 'PgInsertBase<PgTableWithColumns<{ name: "notifications"; schema: undefined; columns: { id: PgColumn<{ name: "id"; tableName: "notifications"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; enumValues: [...]; baseColumn: never; }, {}, {}>; ... 7 more ....'.
Typecheck: src/app/api/webhooks/stripe/route.ts#L6
Module '"@/types"' has no exported member 'CheckoutItem'.
Typecheck: src/components/board-builder.tsx#L6
Module '"@/types"' has no exported member 'CartItem'.
Typecheck: src/components/board-builder.tsx#L10
Module '"@/config/product"' has no exported member 'sortOptions'.
Typecheck: src/components/board-builder.tsx#L12
Module '"@/lib/utils"' has no exported member 'catchError'.
Typecheck: src/components/board-builder.tsx#L113
Property 'subcategory' does not exist on type '{ description: string | null; id: string; name: string; createdAt: Date; updatedAt: Date | null; storeId: string; categoryId: string; images: StoredFile[] | null; ... 4 more ...; tags: string[] | null; }'. Did you mean 'subcategoryId'?
Typecheck: src/components/board-builder.tsx#L125
Object literal may only specify known properties, and 'subcategory' does not exist in type '{ quantity: number; productId: string; }'.
Lint
Process completed with exit code 1.