feat: added product details #14
Annotations
10 errors
lint:
app/pages/account/addresses/index.vue#L51
Type '{ address1?: string | null | undefined; address2?: string | null | undefined; city?: string | null | undefined; company?: string | null | undefined; country?: string | null | undefined; ... 12 more ...; zip?: string | ... 1 more ... | undefined; } | null | undefined' is not assignable to type 'MailingAddressFragment'.
|
lint:
app/pages/account/index.vue#L73
Type '{ address1?: string | null | undefined; address2?: string | null | undefined; city?: string | null | undefined; company?: string | null | undefined; country?: string | null | undefined; ... 12 more ...; zip?: string | ... 1 more ... | undefined; } | null | undefined' is not assignable to type 'MailingAddressFragment'.
|
lint:
app/pages/products/[handle].vue#L92
Type '({} | { availableForSale: boolean; createdAt: string; description: string; descriptionHtml: string; handle: string; id: string; isGiftCard: boolean; onlineStoreUrl?: string | null | undefined; ... 17 more ...; shipping?: { ...; } | ... 1 more ... | undefined; })[]' is not assignable to type 'ProductFragment[]'.
|
lint:
app/pages/search.vue#L119
Type '({} | { availableForSale: boolean; createdAt: string; description: string; descriptionHtml: string; handle: string; id: string; isGiftCard: boolean; onlineStoreUrl?: string | null | undefined; ... 17 more ...; shipping?: { ...; } | ... 1 more ... | undefined; })[]' is not assignable to type 'ProductFragment[]'.
|
lint:
app/pages/search.vue#L154
Property 'id' does not exist on type '{} | { availableForSale: boolean; createdAt: string; description: string; descriptionHtml: string; handle: string; id: string; isGiftCard: boolean; onlineStoreUrl?: string | null | undefined; ... 17 more ...; shipping?: { ...; } | ... 1 more ... | undefined; }'.
|
lint:
app/pages/search.vue#L155
Type '{} | { availableForSale: boolean; createdAt: string; description: string; descriptionHtml: string; handle: string; id: string; isGiftCard: boolean; onlineStoreUrl?: string | null | undefined; ... 17 more ...; shipping?: { ...; } | ... 1 more ... | undefined; }' is not assignable to type 'ProductFragment'.
|
lint:
app/stores/auth.ts#L63
Type '{ id: string; email: string | null | undefined; firstName: string | null | undefined; lastName: string | null | undefined; }' is missing the following properties from type '{ acceptsMarketing: boolean; createdAt: string; displayName: string; email?: string | null | undefined; firstName?: string | null | undefined; id: string; lastName?: string | null | undefined; ... 6 more ...; orders: { ...; }; }': acceptsMarketing, createdAt, displayName, numberOfOrders, and 4 more.
|
lint:
app/stores/shop.ts#L23
Type '{ isoCode: "US"; }' is missing the following properties from type '{ isoCode: CountryCode; name: string; unitSystem: UnitSystem; availableLanguages: { endonymName: string; isoCode: LanguageCode; name: string; }[]; currency: { ...; }; }': name, unitSystem, availableLanguages, currency
|
lint:
app/stores/shop.ts#L26
Type '{ isoCode: "EN"; }' is missing the following properties from type '{ endonymName: string; isoCode: LanguageCode; name: string; }': endonymName, name
|
lint
Process completed with exit code 1.
|