Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SingleResource

Hierarchy

Index

Constructors

constructor

Properties

app

app: App

collection

collection: Collection

name

name: string

resource_id

resource_id: string

Methods

__getResource

  • __getResource(context: Context, __namedParameters: { format: undefined | {} }): Promise<Item>
  • Parameters

    • context: Context
    • __namedParameters: { format: undefined | {} }
      • format: undefined | {}

    Returns Promise<Item>

deleteResource

  • Parameters

    Returns Promise<void>

editResource

  • Parameters

    • context: Context
    • values_to_patch: any
    • delete_empty_values: boolean

    Returns Promise<SingleItemResponse>

getChildSubject

  • getChildSubject(key: string): Promise<null>
  • Parameters

    • key: string

    Returns Promise<null>

getName

  • getName(): string
  • Returns string

getResource

  • Parameters

    • context: Context
    • args: { attachments?: LooseObject; format?: undefined | {} }
      • Optional attachments?: LooseObject
      • Optional format?: undefined | {}

    Returns Promise<SingleItemResponse>

getSubject

performAction

Generated using TypeDoc