@bzr/bazaar
    Preparing search index...

    Class OrganizationsAPIInternal

    The class that encapsulates the organizations API

    Index

    Properties

    Methods

    Properties

    teams: { list: (query?: { type?: "user" | "org" }) => Promise<Team[]> } = ...

    Teams

    Type Declaration

    • list: (query?: { type?: "user" | "org" }) => Promise<Team[]>

      Lists teams

    Methods

    • Gets the organization info for a given ID or handle. Its admins are only shown to admins.

      Parameters

      • query: { handle?: string; orgId?: string } = {}

        The ID or handle of the organization, requires one of the two.

      Returns Promise<OrgSummary>

    • Parameters

      • withId: ((teamId: string) => void) | null = null
      • onClose: (() => void) | null = null

      Returns void

      Use openPopup. This opens a browser popup (window.open); iframe and dialog modals are disabled.

    • Opens org management in a popup (window.open). Iframe and dialog modals are disabled.

      Parameters

      • withId: ((teamId: string) => void) | null = null
      • onClose: (() => void) | null = null

      Returns void