Options
All
  • Public
  • Public/Protected
  • All
Menu

@oneblink/apps

Index

Variables

Sentry: { captureException: (exception: any, captureContext?: CaptureContext) => ReturnType<Hub["captureException"]>; init: (formsAppId: number, options: BrowserOptions) => void; setTag: (key: string, value: Primitive) => ReturnType<Hub["setTag"]> }

Type declaration

  • captureException: (exception: any, captureContext?: CaptureContext) => ReturnType<Hub["captureException"]>
      • (exception: any, captureContext?: CaptureContext): ReturnType<Hub["captureException"]>
      • Captures an exception event and sends it to Sentry.

        Parameters

        • exception: any

          An exception-like object.

        • Optional captureContext: CaptureContext

          Additional scope data to apply to exception event.

        Returns ReturnType<Hub["captureException"]>

        The generated eventId.

  • init: (formsAppId: number, options: BrowserOptions) => void
      • (formsAppId: number, options: BrowserOptions): void
      • Parameters

        • formsAppId: number
        • options: BrowserOptions

        Returns void

  • setTag: (key: string, value: Primitive) => ReturnType<Hub["setTag"]>
      • (key: string, value: Primitive): ReturnType<Hub["setTag"]>
      • Set key:value that will be sent as tags data with the event.

        Can also be used to unset a tag, by passing undefined.

        Parameters

        • key: string

          String key of tag

        • value: Primitive

          Value of tag

        Returns ReturnType<Hub["setTag"]>

Functions

  • useTenantCivicPlus(): void
  • useTenantOneBlink(): void