Skip to content

TS attachment required fields #277

@MalkovVladimir

Description

@MalkovVladimir

Airtable documentation:

When creating an attachment, url is required, and filename is optional.

Attachment interface:

export interface Attachment {
    id: string;
    url: string;
    filename: string;
    size: number;
    type: string;
    thumbnails?: {
        small: Thumbnail;
        large: Thumbnail;
        full: Thumbnail;
    };
}

filename, size, type etc. not so optional.

Please do props optional or split type for different actions (create/update/delete).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions