@buildbase/sdk 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -6
- package/dist/index.esm.js +1 -29
- package/dist/index.js +1 -29
- package/dist/saas-os.css +1 -1
- package/dist/types/providers/workspace/hooks.d.ts +0 -2
- package/package.json +5 -21
- package/dist/index.esm.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/types/components/ui/accordion.d.ts +0 -7
- package/dist/types/components/ui/alert.d.ts +0 -8
- package/dist/types/components/ui/aspect-ratio.d.ts +0 -3
- package/dist/types/components/ui/badge.d.ts +0 -9
- package/dist/types/components/ui/buttonIcon.d.ts +0 -9
- package/dist/types/components/ui/calendar.d.ts +0 -8
- package/dist/types/components/ui/card.d.ts +0 -8
- package/dist/types/components/ui/checkbox.d.ts +0 -4
- package/dist/types/components/ui/collapsible.d.ts +0 -5
- package/dist/types/components/ui/context-menu.d.ts +0 -27
- package/dist/types/components/ui/dateRangePicker.d.ts +0 -9
- package/dist/types/components/ui/dropdown-menu.d.ts +0 -27
- package/dist/types/components/ui/heading.d.ts +0 -10
- package/dist/types/components/ui/hover-card.d.ts +0 -6
- package/dist/types/components/ui/menubar.d.ts +0 -33
- package/dist/types/components/ui/navigation-menu.d.ts +0 -12
- package/dist/types/components/ui/progress.d.ts +0 -4
- package/dist/types/components/ui/sheet.d.ts +0 -28
- package/dist/types/components/ui/slider.d.ts +0 -4
- package/dist/types/components/ui/table.d.ts +0 -10
- package/dist/types/components/ui/tabs.d.ts +0 -7
- package/dist/types/components/ui/textarea.d.ts +0 -5
- package/dist/types/components/ui/toast.d.ts +0 -15
- package/dist/types/components/ui/toaster.d.ts +0 -1
- package/dist/types/components/ui/toggle.d.ts +0 -12
- package/dist/types/components/ui/tooltip.d.ts +0 -7
- package/dist/types/components/ui/use-toast.d.ts +0 -44
package/dist/index.d.ts
CHANGED
|
@@ -239,11 +239,6 @@ declare function useSaaSSettings(): {
|
|
|
239
239
|
getSettings: () => Promise<ISettings | null>;
|
|
240
240
|
};
|
|
241
241
|
|
|
242
|
-
declare function WorkspaceSwitcher(props: {
|
|
243
|
-
trigger: (isLoading: boolean, currentWorkspace: IWorkspace | null) => ReactNode;
|
|
244
|
-
onWorkspaceChange: (workspace: IWorkspace) => Promise<void>;
|
|
245
|
-
}): react_jsx_runtime.JSX.Element;
|
|
246
|
-
|
|
247
242
|
declare const useSaaSWorkspaces: () => {
|
|
248
243
|
workspaces: IWorkspace[];
|
|
249
244
|
loading: boolean;
|
|
@@ -251,7 +246,6 @@ declare const useSaaSWorkspaces: () => {
|
|
|
251
246
|
fetchWorkspaces: () => Promise<void>;
|
|
252
247
|
refreshWorkspaces: () => Promise<void>;
|
|
253
248
|
refreshing: boolean;
|
|
254
|
-
WorkspaceSwitcher: typeof WorkspaceSwitcher;
|
|
255
249
|
currentWorkspace: IWorkspace | null;
|
|
256
250
|
setCurrentWorkspace: (ws: IWorkspace) => void;
|
|
257
251
|
resetCurrentWorkspace: () => void;
|
|
@@ -285,6 +279,11 @@ declare const useSaaSWorkspaces: () => {
|
|
|
285
279
|
}>;
|
|
286
280
|
};
|
|
287
281
|
|
|
282
|
+
declare function WorkspaceSwitcher(props: {
|
|
283
|
+
trigger: (isLoading: boolean, currentWorkspace: IWorkspace | null) => ReactNode;
|
|
284
|
+
onWorkspaceChange: (workspace: IWorkspace) => Promise<void>;
|
|
285
|
+
}): react_jsx_runtime.JSX.Element;
|
|
286
|
+
|
|
288
287
|
/**
|
|
289
288
|
* EventEmitter class to handle and trigger event callbacks
|
|
290
289
|
* This class manages all event listeners and provides methods to trigger events
|