The error "Parameter 'record' implicitly has an 'any' type" means that TypeScript can't infer the type of the record variable, and your configuration requires explicit types. This often happens when iterating over data from external sources like Airtable.
I'll add a type definition for an Airtable record and apply it to the record parameters in app/api/client-data/route.ts to resolve this.
These changes explicitly type the record (and rec) parameters as AirtableRecord, which tells TypeScript that these objects will have an id and a get method, resolving the implicit any error.
You are absolutely right! Using import statements is the modern and preferred way in Next.js (especially with the App Router and ES Modules).
Here's the quick edit to update the airtable import in app/api/client-data/route.ts:
This change updates the import statement for Airtable to use the ES Module syntax.
[{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 112, "startColumn": 11, "endLineNumber": 112, "endColumn": 23, "relatedInformation": [ { "startLineNumber": 58, "startColumn": 9, "endLineNumber": 58, "endColumn": 25, "message": "The expected type comes from property 'businessName' which is declared here on type '{ businessName: string; contactEmail: string; whatsappNumber: string; businessType: string; gstNumber: string; businessAddress: string; targetAudience: string; businessCategory: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 113, "startColumn": 11, "endLineNumber": 113, "endColumn": 23, "relatedInformation": [ { "startLineNumber": 59, "startColumn": 9, "endLineNumber": 59, "endColumn": 25, "message": "The expected type comes from property 'contactEmail' which is declared here on type '{ businessName: string; contactEmail: string; whatsappNumber: string; businessType: string; gstNumber: string; businessAddress: string; targetAudience: string; businessCategory: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 114, "startColumn": 11, "endLineNumber": 114, "endColumn": 25, "relatedInformation": [ { "startLineNumber": 60, "startColumn": 9, "endLineNumber": 60, "endColumn": 27, "message": "The expected type comes from property 'whatsappNumber' which is declared here on type '{ businessName: string; contactEmail: string; whatsappNumber: string; businessType: string; gstNumber: string; businessAddress: string; targetAudience: string; businessCategory: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 115, "startColumn": 11, "endLineNumber": 115, "endColumn": 23, "relatedInformation": [ { "startLineNumber": 61, "startColumn": 9, "endLineNumber": 61, "endColumn": 25, "message": "The expected type comes from property 'businessType' which is declared here on type '{ businessName: string; contactEmail: string; whatsappNumber: string; businessType: string; gstNumber: string; businessAddress: string; targetAudience: string; businessCategory: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 116, "startColumn": 11, "endLineNumber": 116, "endColumn": 20, "relatedInformation": [ { "startLineNumber": 62, "startColumn": 9, "endLineNumber": 62, "endColumn": 22, "message": "The expected type comes from property 'gstNumber' which is declared here on type '{ businessName: string; contactEmail: string; whatsappNumber: string; businessType: string; gstNumber: string; businessAddress: string; targetAudience: string; businessCategory: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 117, "startColumn": 11, "endLineNumber": 117, "endColumn": 26, "relatedInformation": [ { "startLineNumber": 63, "startColumn": 9, "endLineNumber": 63, "endColumn": 28, "message": "The expected type comes from property 'businessAddress' which is declared here on type '{ businessName: string; contactEmail: string; whatsappNumber: string; businessType: string; gstNumber: string; businessAddress: string; targetAudience: string; businessCategory: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 118, "startColumn": 11, "endLineNumber": 118, "endColumn": 25, "relatedInformation": [ { "startLineNumber": 64, "startColumn": 9, "endLineNumber": 64, "endColumn": 27, "message": "The expected type comes from property 'targetAudience' which is declared here on type '{ businessName: string; contactEmail: string; whatsappNumber: string; businessType: string; gstNumber: string; businessAddress: string; targetAudience: string; businessCategory: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 119, "startColumn": 11, "endLineNumber": 119, "endColumn": 27, "relatedInformation": [ { "startLineNumber": 65, "startColumn": 9, "endLineNumber": 65, "endColumn": 29, "message": "The expected type comes from property 'businessCategory' which is declared here on type '{ businessName: string; contactEmail: string; whatsappNumber: string; businessType: string; gstNumber: string; businessAddress: string; targetAudience: string; businessCategory: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type '{ categoryName: any; productName: any; description: any; priceRange: any; customizable: any; }[]' is not assignable to type 'never[]'.\n Type '{ categoryName: any; productName: any; description: any; priceRange: any; customizable: any; }' is not assignable to type 'never'.", "source": "ts", "startLineNumber": 130, "startColumn": 7, "endLineNumber": 130, "endColumn": 26, "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'never[]'.\n Type 'string' is not assignable to type 'never[]'.", "source": "ts", "startLineNumber": 149, "startColumn": 11, "endLineNumber": 149, "endColumn": 25, "relatedInformation": [ { "startLineNumber": 75, "startColumn": 9, "endLineNumber": 75, "endColumn": 27, "message": "The expected type comes from property 'paymentMethods' which is declared here on type '{ paymentMethods: never[]; codAvailable: boolean; shippingZones: string; shippingCharges: string; freeShippingAbove: string; deliveryTime: string; packagingPreferences: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | boolean | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'boolean'.\n Type 'string' is not assignable to type 'boolean'.", "source": "ts", "startLineNumber": 150, "startColumn": 11, "endLineNumber": 150, "endColumn": 23, "relatedInformation": [ { "startLineNumber": 76, "startColumn": 9, "endLineNumber": 76, "endColumn": 28, "message": "The expected type comes from property 'codAvailable' which is declared here on type '{ paymentMethods: never[]; codAvailable: boolean; shippingZones: string; shippingCharges: string; freeShippingAbove: string; deliveryTime: string; packagingPreferences: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 151, "startColumn": 11, "endLineNumber": 151, "endColumn": 24, "relatedInformation": [ { "startLineNumber": 77, "startColumn": 9, "endLineNumber": 77, "endColumn": 26, "message": "The expected type comes from property 'shippingZones' which is declared here on type '{ paymentMethods: never[]; codAvailable: boolean; shippingZones: string; shippingCharges: string; freeShippingAbove: string; deliveryTime: string; packagingPreferences: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 152, "startColumn": 11, "endLineNumber": 152, "endColumn": 26, "relatedInformation": [ { "startLineNumber": 78, "startColumn": 9, "endLineNumber": 78, "endColumn": 28, "message": "The expected type comes from property 'shippingCharges' which is declared here on type '{ paymentMethods: never[]; codAvailable: boolean; shippingZones: string; shippingCharges: string; freeShippingAbove: string; deliveryTime: string; packagingPreferences: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 153, "startColumn": 11, "endLineNumber": 153, "endColumn": 28, "relatedInformation": [ { "startLineNumber": 79, "startColumn": 9, "endLineNumber": 79, "endColumn": 30, "message": "The expected type comes from property 'freeShippingAbove' which is declared here on type '{ paymentMethods: never[]; codAvailable: boolean; shippingZones: string; shippingCharges: string; freeShippingAbove: string; deliveryTime: string; packagingPreferences: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 154, "startColumn": 11, "endLineNumber": 154, "endColumn": 23, "relatedInformation": [ { "startLineNumber": 80, "startColumn": 9, "endLineNumber": 80, "endColumn": 25, "message": "The expected type comes from property 'deliveryTime' which is declared here on type '{ paymentMethods: never[]; codAvailable: boolean; shippingZones: string; shippingCharges: string; freeShippingAbove: string; deliveryTime: string; packagingPreferences: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 155, "startColumn": 11, "endLineNumber": 155, "endColumn": 31, "relatedInformation": [ { "startLineNumber": 81, "startColumn": 9, "endLineNumber": 81, "endColumn": 33, "message": "The expected type comes from property 'packagingPreferences' which is declared here on type '{ paymentMethods: never[]; codAvailable: boolean; shippingZones: string; shippingCharges: string; freeShippingAbove: string; deliveryTime: string; packagingPreferences: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 170, "startColumn": 11, "endLineNumber": 170, "endColumn": 23, "relatedInformation": [ { "startLineNumber": 84, "startColumn": 9, "endLineNumber": 84, "endColumn": 25, "message": "The expected type comes from property 'returnPolicy' which is declared here on type '{ returnPolicy: string; shippingPolicy: string; privacyPolicy: string; termsConditions: string; cancellationPolicy: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 171, "startColumn": 11, "endLineNumber": 171, "endColumn": 25, "relatedInformation": [ { "startLineNumber": 85, "startColumn": 9, "endLineNumber": 85, "endColumn": 27, "message": "The expected type comes from property 'shippingPolicy' which is declared here on type '{ returnPolicy: string; shippingPolicy: string; privacyPolicy: string; termsConditions: string; cancellationPolicy: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 172, "startColumn": 11, "endLineNumber": 172, "endColumn": 24, "relatedInformation": [ { "startLineNumber": 86, "startColumn": 9, "endLineNumber": 86, "endColumn": 26, "message": "The expected type comes from property 'privacyPolicy' which is declared here on type '{ returnPolicy: string; shippingPolicy: string; privacyPolicy: string; termsConditions: string; cancellationPolicy: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 173, "startColumn": 11, "endLineNumber": 173, "endColumn": 26, "relatedInformation": [ { "startLineNumber": 87, "startColumn": 9, "endLineNumber": 87, "endColumn": 28, "message": "The expected type comes from property 'termsConditions' which is declared here on type '{ returnPolicy: string; shippingPolicy: string; privacyPolicy: string; termsConditions: string; cancellationPolicy: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 174, "startColumn": 11, "endLineNumber": 174, "endColumn": 29, "relatedInformation": [ { "startLineNumber": 88, "startColumn": 9, "endLineNumber": 88, "endColumn": 31, "message": "The expected type comes from property 'cancellationPolicy' which is declared here on type '{ returnPolicy: string; shippingPolicy: string; privacyPolicy: string; termsConditions: string; cancellationPolicy: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 189, "startColumn": 11, "endLineNumber": 189, "endColumn": 25, "relatedInformation": [ { "startLineNumber": 91, "startColumn": 9, "endLineNumber": 91, "endColumn": 27, "message": "The expected type comes from property 'targetKeywords' which is declared here on type '{ targetKeywords: string; competitorWebsites: string; socialMediaLinks: string; marketingBudget: string; specialFeatures: string; analyticsPreference: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 190, "startColumn": 11, "endLineNumber": 190, "endColumn": 29, "relatedInformation": [ { "startLineNumber": 92, "startColumn": 9, "endLineNumber": 92, "endColumn": 31, "message": "The expected type comes from property 'competitorWebsites' which is declared here on type '{ targetKeywords: string; competitorWebsites: string; socialMediaLinks: string; marketingBudget: string; specialFeatures: string; analyticsPreference: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 191, "startColumn": 11, "endLineNumber": 191, "endColumn": 27, "relatedInformation": [ { "startLineNumber": 93, "startColumn": 9, "endLineNumber": 93, "endColumn": 29, "message": "The expected type comes from property 'socialMediaLinks' which is declared here on type '{ targetKeywords: string; competitorWebsites: string; socialMediaLinks: string; marketingBudget: string; specialFeatures: string; analyticsPreference: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 192, "startColumn": 11, "endLineNumber": 192, "endColumn": 26, "relatedInformation": [ { "startLineNumber": 94, "startColumn": 9, "endLineNumber": 94, "endColumn": 28, "message": "The expected type comes from property 'marketingBudget' which is declared here on type '{ targetKeywords: string; competitorWebsites: string; socialMediaLinks: string; marketingBudget: string; specialFeatures: string; analyticsPreference: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 193, "startColumn": 11, "endLineNumber": 193, "endColumn": 26, "relatedInformation": [ { "startLineNumber": 95, "startColumn": 9, "endLineNumber": 95, "endColumn": 28, "message": "The expected type comes from property 'specialFeatures' which is declared here on type '{ targetKeywords: string; competitorWebsites: string; socialMediaLinks: string; marketingBudget: string; specialFeatures: string; analyticsPreference: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 194, "startColumn": 11, "endLineNumber": 194, "endColumn": 30, "relatedInformation": [ { "startLineNumber": 96, "startColumn": 9, "endLineNumber": 96, "endColumn": 32, "message": "The expected type comes from property 'analyticsPreference' which is declared here on type '{ targetKeywords: string; competitorWebsites: string; socialMediaLinks: string; marketingBudget: string; specialFeatures: string; analyticsPreference: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 209, "startColumn": 11, "endLineNumber": 209, "endColumn": 22, "relatedInformation": [ { "startLineNumber": 69, "startColumn": 9, "endLineNumber": 69, "endColumn": 24, "message": "The expected type comes from property 'brandColors' which is declared here on type '{ brandColors: string; preferredFonts: string; logoLink: string; additionalNotes: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 210, "startColumn": 11, "endLineNumber": 210, "endColumn": 25, "relatedInformation": [ { "startLineNumber": 70, "startColumn": 9, "endLineNumber": 70, "endColumn": 27, "message": "The expected type comes from property 'preferredFonts' which is declared here on type '{ brandColors: string; preferredFonts: string; logoLink: string; additionalNotes: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 211, "startColumn": 11, "endLineNumber": 211, "endColumn": 19, "relatedInformation": [ { "startLineNumber": 71, "startColumn": 9, "endLineNumber": 71, "endColumn": 21, "message": "The expected type comes from property 'logoLink' which is declared here on type '{ brandColors: string; preferredFonts: string; logoLink: string; additionalNotes: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2322", "severity": 8, "message": "Type 'string | number | true | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[]' is not assignable to type 'string'.\n Type 'number' is not assignable to type 'string'.", "source": "ts", "startLineNumber": 212, "startColumn": 11, "endLineNumber": 212, "endColumn": 26, "relatedInformation": [ { "startLineNumber": 72, "startColumn": 9, "endLineNumber": 72, "endColumn": 28, "message": "The expected type comes from property 'additionalNotes' which is declared here on type '{ brandColors: string; preferredFonts: string; logoLink: string; additionalNotes: string; }'", "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts" } ], "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2769", "severity": 8, "message": "No overload matches this call.\n Overload 1 of 6, '(recordId: string, recordData: Partial<FieldSet>, opts?: OptionalParameters | undefined): Promise<Record<FieldSet>>', gave the following error.\n Type '{ \"Client Email\": any; \"Business Name\": any; \"Contact Email\": any; \"WhatsApp Number\": any; \"Business Type\": any; \"GST Number\": any; \"Business Address\": any; \"Target Audience\": any; \"Business Category\": any; \"Updated Date\": string; }' is not assignable to type 'string | number | boolean | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[] | undefined'.\n Overload 2 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], opts?: OptionalParameters | undefined): Promise<Records<FieldSet>>', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.\n Overload 3 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], done: RecordCollectionCallback<FieldSet>): void', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.", "source": "ts", "startLineNumber": 264, "startColumn": 33, "endLineNumber": 264, "endColumn": 39, "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2740", "severity": 8, "message": "Type 'AirtableRecord' is missing the following properties from type 'Record<FieldSet>': _table, _rawJson, fields, save, and 9 more.", "source": "ts", "startLineNumber": 288, "startColumn": 9, "endLineNumber": 288, "endColumn": 42, "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2769", "severity": 8, "message": "No overload matches this call.\n Overload 1 of 6, '(recordId: string, recordData: Partial<FieldSet>, opts?: OptionalParameters | undefined): Promise<Record<FieldSet>>', gave the following error.\n Type '{ \"Client Email\": any; \"Payment Methods\": any; \"COD Available\": any; \"Shipping Zones\": any; \"Shipping Charges\": any; \"Free Shipping Above\": any; \"Delivery Time\": any; \"Packaging Preferences\": any; \"Updated Date\": string; }' is not assignable to type 'string | number | boolean | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[] | undefined'.\n Overload 2 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], opts?: OptionalParameters | undefined): Promise<Records<FieldSet>>', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.\n Overload 3 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], done: RecordCollectionCallback<FieldSet>): void', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.", "source": "ts", "startLineNumber": 354, "startColumn": 38, "endLineNumber": 354, "endColumn": 44, "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2769", "severity": 8, "message": "No overload matches this call.\n Overload 1 of 6, '(recordId: string, recordData: Partial<FieldSet>, opts?: OptionalParameters | undefined): Promise<Record<FieldSet>>', gave the following error.\n Type '{ \"Client Email\": any; \"Return Policy\": any; \"Shipping Policy\": any; \"Privacy Policy\": any; \"Terms Conditions\": any; \"Cancellation Policy\": any; \"Updated Date\": string; }' is not assignable to type 'string | number | boolean | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[] | undefined'.\n Overload 2 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], opts?: OptionalParameters | undefined): Promise<Records<FieldSet>>', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.\n Overload 3 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], done: RecordCollectionCallback<FieldSet>): void', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.", "source": "ts", "startLineNumber": 380, "startColumn": 42, "endLineNumber": 380, "endColumn": 48, "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2769", "severity": 8, "message": "No overload matches this call.\n Overload 1 of 6, '(recordId: string, recordData: Partial<FieldSet>, opts?: OptionalParameters | undefined): Promise<Record<FieldSet>>', gave the following error.\n Type '{ \"Client Email\": any; \"Target Keywords\": any; \"Competitor Websites\": any; \"Social Media Links\": any; \"Marketing Budget\": any; \"Special Features\": any; \"Analytics Preference\": any; \"Updated Date\": string; }' is not assignable to type 'string | number | boolean | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[] | undefined'.\n Overload 2 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], opts?: OptionalParameters | undefined): Promise<Records<FieldSet>>', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.\n Overload 3 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], done: RecordCollectionCallback<FieldSet>): void', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.", "source": "ts", "startLineNumber": 405, "startColumn": 35, "endLineNumber": 405, "endColumn": 41, "origin": "extHost1"},{ "resource": "/C:/nextJs/parag-form/app/api/client-data/route.ts", "owner": "typescript", "code": "2769", "severity": 8, "message": "No overload matches this call.\n Overload 1 of 6, '(recordId: string, recordData: Partial<FieldSet>, opts?: OptionalParameters | undefined): Promise<Record<FieldSet>>', gave the following error.\n Type '{ \"Client Email\": any; \"Brand Colors\": any; \"Preferred Fonts\": any; \"Logo Link\": any; \"Additional Notes\": any; \"Updated Date\": string; }' is not assignable to type 'string | number | boolean | Collaborator | readonly Collaborator[] | readonly string[] | readonly Attachment[] | undefined'.\n Overload 2 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], opts?: OptionalParameters | undefined): Promise<Records<FieldSet>>', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.\n Overload 3 of 6, '(recordsData: RecordData<Partial<FieldSet>>[], done: RecordCollectionCallback<FieldSet>): void', gave the following error.\n Argument of type 'string' is not assignable to parameter of type 'RecordData<Partial<FieldSet>>[]'.", "source": "ts", "startLineNumber": 431, "startColumn": 38, "endLineNumber": 431, "endColumn": 44, "origin": "extHost1"}]