Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

References

default

Renames and re-exports createServer

Type aliases

AuthenticateMessageData

AuthenticateMessageData: { action: "authenticate"; token: string }

Type declaration

  • action: "authenticate"
  • token: string

MessageData

MessageOptions

MessageOptions: Options & { class: string }

PublishEntityMessageData

PublishEntityMessageData: { action: "publish"; entity?: EntityJson; etype: string; event: "create" | "update" | "delete"; guid: string }

Type declaration

  • action: "publish"
  • Optional entity?: EntityJson
  • etype: string
  • event: "create" | "update" | "delete"
  • guid: string

PublishMessageData

PublishUidMessageData

PublishUidMessageData: { action: "publish"; event: "newUID" | "setUID" | "renameUID" | "deleteUID"; name?: string; newName?: string; oldName?: string; value?: number }

Type declaration

  • action: "publish"
  • event: "newUID" | "setUID" | "renameUID" | "deleteUID"
  • Optional name?: string
  • Optional newName?: string
  • Optional oldName?: string
  • Optional value?: number

QuerySubscribeMessageData

QuerySubscribeMessageData: { action: "subscribe" | "unsubscribe"; count?: boolean; query: never }

Type declaration

  • action: "subscribe" | "unsubscribe"
  • Optional count?: boolean
  • query: never

SubscribeMessageData

UidSubscribeMessageData

UidSubscribeMessageData: { action: "subscribe" | "unsubscribe"; count?: boolean; uid: string }

Type declaration

  • action: "subscribe" | "unsubscribe"
  • Optional count?: boolean
  • uid: string

Properties

ConfigDefaults

ConfigDefaults: Config

Functions

createServer

  • createServer(port?: number, config?: Partial<Config>, nymph: default): PubSub

Generated using TypeDoc