@twinfinity/core
    Preparing search index...

    Type Alias BimApiOptions

    BimApiOptions: (
        | {
            isPSAuthenticationRedirectEnabled?: false;
            session?: TwinfinityApiOptions["session"];
        }
        | { isPSAuthenticationRedirectEnabled: true }
    ) & { applicationName?: string; wasmLoaderOptions?: MeshStoreLoaderOptions }

    Creation options for BimApi

    Type declaration

    • {
          isPSAuthenticationRedirectEnabled?: false;
          session?: TwinfinityApiOptions["session"];
      }
      • Optional ReadonlyisPSAuthenticationRedirectEnabled?: false

        If true then BimApi will automatically redirect the user to the PS login page if the user is not already authenticated.

      • Optionalsession?: TwinfinityApiOptions["session"]
    • { isPSAuthenticationRedirectEnabled: true }
      • ReadonlyisPSAuthenticationRedirectEnabled: true

        If true then BimApi will automatically redirect the user to the PS login page if the user is not already authenticated.

    • Optional ReadonlyapplicationName?: string

      set this to a unique name for the appliation. Will allow log filtering on application name.

    • Optional ReadonlywasmLoaderOptions?: MeshStoreLoaderOptions

      Options for WASM-based geometry deflation. If provided, enables WASM loading.