@@ -13,13 +13,13 @@ import {
1313 RequestFeedbackOptions ,
1414} from "./feedback/feedback" ;
1515import * as feedbackLib from "./feedback/ui" ;
16- import { ToolbarPosition } from "./toolbar/Toolbar" ;
1716import { API_BASE_URL , APP_BASE_URL , SSE_REALTIME_BASE_URL } from "./config" ;
1817import { BucketContext , CompanyContext , UserContext } from "./context" ;
1918import { HookArgs , HooksManager } from "./hooksManager" ;
2019import { HttpClient } from "./httpClient" ;
2120import { Logger , loggerWithPrefix , quietConsoleLogger } from "./logger" ;
2221import { showToolbarToggle } from "./toolbar" ;
22+ import { ToolbarPosition } from "./ui/types" ;
2323
2424const isMobile = typeof window !== "undefined" && window . innerWidth < 768 ;
2525const isNode = typeof document === "undefined" ; // deno supports "window" but not "document" according to https://remix.run/docs/en/main/guides/gotchas
@@ -145,7 +145,7 @@ export type PayloadContext = {
145145/**
146146 * BucketClient configuration.
147147 */
148- interface Config {
148+ export interface Config {
149149 /**
150150 * Base URL of Bucket servers.
151151 */
@@ -482,7 +482,6 @@ export class BucketClient {
482482 /**
483483 * Add a hook to the client.
484484 *
485- * @param hook Hook to add.
486485 * @returns A function to remove the hook.
487486 */
488487 on < THookType extends keyof HookArgs > (
@@ -496,7 +495,6 @@ export class BucketClient {
496495 /**
497496 * Remove a hook from the client.
498497 *
499- * @param hook Hook to add.
500498 * @returns A function to remove the hook.
501499 */
502500 off < THookType extends keyof HookArgs > (
0 commit comments