Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MemberManager

Hierarchy

Implements

  • MemberManagerInterface

Constructors

constructor

Properties

Readonly cache

cache: Collection<string, Member>

Readonly client

client: Client

former

group

group: BaseGroup

Readonly holds

holds: typeof Member

Methods

_remove

  • _remove(data: Member): boolean

_upsert

add

  • Parameters

    • id: string

    Returns Promise<Member>

  • Parameters

    • ids: string[]

    Returns Promise<Collection<string, Member>>

fetch

  • Returns Promise<Collection<string, Member>>

  • Parameters

    • id: string

    Returns Promise<Member>

Private fetchAll

  • Returns Promise<Collection<string, Member>>

Private fetchId

  • fetchId(id: string): Promise<Member>
  • Parameters

    • id: string

    Returns Promise<Member>

remove

  • Parameters

    Returns Promise<FormerMember>

resolve

  • resolve(data: unknown): null | Member
  • Parameters

    • data: unknown

    Returns null | Member

resolveId

  • resolveId(data: unknown): null | string
  • Parameters

    • data: unknown

    Returns null | string

Generated using TypeDoc