Logo
Type aliases

File

File = object

Defined in: packages/cloud/src/client/types.gen.ts:3435

Schema for a file.

Properties

id

id: string

Defined in: packages/cloud/src/client/types.gen.ts:3439

Unique identifier


created_at?

optional created_at: string | null

Defined in: packages/cloud/src/client/types.gen.ts:3443

Creation datetime


updated_at?

optional updated_at: string | null

Defined in: packages/cloud/src/client/types.gen.ts:3447

Update datetime


name

name: string

Defined in: packages/cloud/src/client/types.gen.ts:3448


external_file_id

external_file_id: string

Defined in: packages/cloud/src/client/types.gen.ts:3452

The ID of the file in the external system


file_size?

optional file_size: number | null

Defined in: packages/cloud/src/client/types.gen.ts:3456

Size of the file in bytes


file_type?

optional file_type: string | null

Defined in: packages/cloud/src/client/types.gen.ts:3460

File type (e.g. pdf, docx, etc.)


project_id

project_id: string

Defined in: packages/cloud/src/client/types.gen.ts:3464

The ID of the project that the file belongs to


last_modified_at?

optional last_modified_at: string | null

Defined in: packages/cloud/src/client/types.gen.ts:3468

The last modified time of the file


resource_info?

optional resource_info: {[key: string]: null | string | number | boolean | unknown[] | {[key: string]: unknown; }; } | null

Defined in: packages/cloud/src/client/types.gen.ts:3472

Resource information for the file


permission_info?

optional permission_info: {[key: string]: null | string | number | boolean | unknown[] | {[key: string]: unknown; }; } | null

Defined in: packages/cloud/src/client/types.gen.ts:3487

Permission information for the file


data_source_id?

optional data_source_id: string | null

Defined in: packages/cloud/src/client/types.gen.ts:3502

The ID of the data source that the file belongs to