Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/intent"

Index

Type aliases

IntentBackingStore

IntentBackingStore: { getMembership: (roomId: string, userId: string) => UserMembership; getPowerLevelContent: (roomId: string) => Record<string, unknown> | undefined; setMembership: (roomId: string, userId: string, membership: UserMembership) => void; setPowerLevelContent: (roomId: string, content: Record<string, unknown>) => void }

Type declaration

  • getMembership: (roomId: string, userId: string) => UserMembership
  • getPowerLevelContent: (roomId: string) => Record<string, unknown> | undefined
      • (roomId: string): Record<string, unknown> | undefined
      • Parameters

        • roomId: string

        Returns Record<string, unknown> | undefined

  • setMembership: (roomId: string, userId: string, membership: UserMembership) => void
      • Parameters

        Returns void

  • setPowerLevelContent: (roomId: string, content: Record<string, unknown>) => void
      • (roomId: string, content: Record<string, unknown>): void
      • Parameters

        • roomId: string
        • content: Record<string, unknown>

        Returns void

PowerLevelContent

PowerLevelContent: { events?: undefined | {}; events_default?: unknown; state_default?: unknown; users?: undefined | {}; users_default?: unknown }

Type declaration

  • Optional events?: undefined | {}
  • Optional events_default?: unknown
  • Optional state_default?: unknown
  • Optional users?: undefined | {}
  • Optional users_default?: unknown

Generated using TypeDoc