Logo
Type aliases

File

File = object

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

Schema for a file.

Properties

id

id: string

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

Unique identifier


created_at?

optional created_at: string | null

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

Creation datetime


updated_at?

optional updated_at: string | null

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

Update datetime


name

name: string

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


external_file_id

external_file_id: string

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

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:2535

Size of the file in bytes


file_type?

optional file_type: string | null

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

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


project_id

project_id: string

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

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:2547

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:2551

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:2565

Permission information for the file


data_source_id?

optional data_source_id: string | null

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

The ID of the data source that the file belongs to

On this page