Skip to main content

InterfaceFile

talawa-api


talawa-api / models/File / InterfaceFile

Interface: InterfaceFile

Properties

_id

> _id: ObjectId

Defined in

src/models/File.ts:8


archived

> archived: boolean

Defined in

src/models/File.ts:20


archivedAt?

> optional archivedAt: Date

Defined in

src/models/File.ts:26


backupStatus

> backupStatus: string

Defined in

src/models/File.ts:22


createdAt

> createdAt: Date

Defined in

src/models/File.ts:24


encryption

> encryption: boolean

Defined in

src/models/File.ts:19


fileName

> fileName: string

Defined in

src/models/File.ts:9


hash

> hash: object

algorithm

> algorithm: string

value

> value: string

Defined in

src/models/File.ts:12


metadata

> metadata: Record<string, any>

Defined in

src/models/File.ts:18


mimeType

> mimeType: string

Defined in

src/models/File.ts:10


referenceCount

> referenceCount: number

Defined in

src/models/File.ts:17


size

> size: number

Defined in

src/models/File.ts:11


status

> status: "ACTIVE" | "BLOCKED" | "DELETED"

Defined in

src/models/File.ts:23


updatedAt

> updatedAt: Date

Defined in

src/models/File.ts:25


uri

> uri: string

Defined in

src/models/File.ts:16


visibility

> visibility: "PRIVATE" | "PUBLIC"

Defined in

src/models/File.ts:21