Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • ResourceService

Implemented by

Index

Properties

Properties

add

add: (data: HashMap) => Promise<T>

Type declaration

    • Parameters

      Returns Promise<T>

delete

delete: (id: string) => Promise<void>

Type declaration

    • (id: string): Promise<void>
    • Parameters

      • id: string

      Returns Promise<void>

query

query: (fields?: HashMap) => Promise<T[]>

Type declaration

    • Parameters

      Returns Promise<T[]>

show

show: (id: string, fields?: HashMap) => Promise<T>

Type declaration

    • (id: string, fields?: HashMap): Promise<T>
    • Parameters

      • id: string
      • Optional fields: HashMap

      Returns Promise<T>

update

update: (id: string, data: HashMap, fields?: HashMap, type?: "put" | "patch") => Promise<T>

Type declaration

    • (id: string, data: HashMap, fields?: HashMap, type?: "put" | "patch"): Promise<T>
    • Parameters

      • id: string
      • data: HashMap
      • Optional fields: HashMap
      • Optional type: "put" | "patch"

      Returns Promise<T>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc