Sha256: 5913c2ba403aa1db65caf986137b1f82eeefb1222bc048700c99aeef17bfc3c4

Contents?: true

Size: 675 Bytes

Versions: 13

Compression:

Stored size: 675 Bytes

Contents

export interface ActiveStorageDirectUploadParams {
  blob: {
    filename: string,
    byte_size: number,
    checksum: string,
    content_type: string
    metadata?: Record<string, string>
  }
}

type Stringable = { toString(): string }

export interface ActiveStorageDirectUploadResponse {
  "id": Stringable,
  "key": string,
  "filename": string,
  "content_type": string,
  "metadata"?: {
    "identified"?: boolean
  },
  "byte_size": number,
  "checksum": string,
  "created_at": string,
  "service_name": string,
  "signed_id": string,
  "attachable_sgid": string,
  "direct_upload": {
    "url": string,
    "headers"?: {
      "Content-Type"?: string
    }
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tessa-6.1.3 app/javascript/tessa/types.ts
tessa-6.1.2 app/javascript/tessa/types.ts
tessa-6.1.1 app/javascript/tessa/types.ts
tessa-6.1.0 app/javascript/tessa/types.ts
tessa-6.0.3 app/javascript/tessa/types.ts
tessa-6.0.2 app/javascript/tessa/types.ts
tessa-6.0.1 app/javascript/tessa/types.ts
tessa-6.0.0 app/javascript/tessa/types.ts
tessa-6.0.0.rc5 app/javascript/tessa/types.ts
tessa-6.0.0.rc4 app/javascript/tessa/types.ts
tessa-6.0.0.rc3 app/javascript/tessa/types.ts
tessa-6.0.0.rc2 app/javascript/tessa/types.ts
tessa-6.0.0.rc1 app/javascript/tessa/types.ts