We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f0749c + dd48ce5 commit f478851Copy full SHA for f478851
3 files changed
lib/company.ts
@@ -149,15 +149,15 @@ export default class Company {
149
}
150
151
interface CreateCompanyData {
152
- createdAt: Timestamp;
+ createdAt?: Timestamp;
153
companyId: string;
154
- name: string;
155
- monthlySpend: number;
156
- plan: string;
157
- size: number;
158
- website: string;
159
- industry: string;
160
- customAttributes: JavascriptObject;
+ name?: string;
+ monthlySpend?: number;
+ plan?: string;
+ size?: number;
+ website?: string;
+ industry?: string;
+ customAttributes?: JavascriptObject;
161
162
//
163
type UpdateCompanyData = CreateCompanyData;
package.json
@@ -58,4 +58,4 @@
58
},
59
"license": "Apache-2.0",
60
"packageManager": "yarn@3.1.1"
61
-}
+}
0 commit comments