Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CreateContext<T, C>

Type parameters

  • T

  • C

Hierarchy

Index

Properties

bareData

bareData: any

context

context: C

Http context you use in your application. Usually includes user, locale additional query parameters etc.

data

data: any

Optional entity

entity: T

Existing resource client is manipulating. Present in the following operations:

  • Detail (entity client is trying to fetch)
  • Update (existing entity before the update)
  • Delete (entity client is trying to destroy)

options

options: any

Options passed to your data manipulation logic. Contains data from (1) context, (2) dynamic options from getOptions and (3) direct options passed on when creating a handler.

safe

safe: false

type

type: CREATE

write

write: true

Generated using TypeDoc