Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StorageRoute

Hierarchy

  • StorageRoute

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

Properties

disabled

disabled: string[] = ['post', 'put', 'delete']

endpoint

endpoint: string = "/storage"

Methods

delete

  • delete(req: { body: { id: string }; data: { auth: AuthData } }): void

get

post

put

Object literals

errors

errors: object

storage/invalid-size

storage/invalid-size: string = "The file is too big."

storage/invalid-type

storage/invalid-type: string = "The file format is not supported."

storage/invalid-upload

storage/invalid-upload: string = "Invalid upload resource."

storage/no-edit

storage/no-edit: string = "No EDIT permission."

storage/no-file

storage/no-file: string = "File not found (no VIEW permission or trashed)."

Generated using TypeDoc