Skip to content

Make CreateCompanyData fields optional #346

@sapkauskasm

Description

@sapkauskasm

Woudl be nice to have company fields optional, as it is in contact modal.

Current code:

interface CreateCompanyData {
    createdAt: Timestamp;
    companyId: string;
    name: string;
    monthlySpend: number;
    plan: string;
    size: number;
    website: string;
    industry: string;
    customAttributes: JavascriptObject;
}

Desired:

interface CreateCompanyData {
    createdAt?: Timestamp;
    companyId: string;
    name?: string;
    monthlySpend?: number;
    plan:? string;
    size?: number;
    website?: string;
    industry?: string;
    customAttributes?: JavascriptObject;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions