Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TeamPermissions

Hierarchy

  • Initializer
    • TeamPermissions

Index

Constructors

constructor

  • Returns TeamPermissions

Properties

Optional loadPriority

loadPriority: number

What order should this Initializer load at (Default: 1000, Actionhero core methods are < 1000)

name

name: string

The name of the Initializer.

Optional startPriority

startPriority: number

What order should this Initializer start at (Default: 1000, Actionhero core methods are < 1000)

Optional stopPriority

stopPriority: number

What order should this Initializer stop at (Default: 1000, Actionhero core methods are < 1000)

Methods

Optional initialize

  • initialize(config: ConfigInterface): Promise<void>
  • Method run as part of the initialize lifecycle of your server. Usually sets api['YourNamespace']

    Parameters

    • config: ConfigInterface

    Returns Promise<void>

start

  • start(): Promise<void>
  • Returns Promise<void>

Optional stop

  • stop(config: ConfigInterface): Promise<void>
  • Method run as part of the initialize lifecycle of your server. Usually disconnects from remote servers or processes.

    Parameters

    • config: ConfigInterface

    Returns Promise<void>

updateTeamPermissions

  • updateTeamPermissions(team: Team): Promise<void>
  • Parameters

    Returns Promise<void>

validate

  • validate(): void
  • Returns void

Generated using TypeDoc