Class BaseService<Resource, Interface>

Type Parameters

  • Resource extends BaseResource
  • Interface extends BaseInterface

Hierarchy (view full)

Constructors

Properties

availableOperations: ServiceOperation[] = []

Lists out the available operations for the resource, calling methods not in this list will result in an error

baseUrl: string = ''
factory: ((data) => Resource)

Type declaration

headers: Record<string, string>
instances: Record<string, Resource> = {}

Methods