@elevasis/ui 1.3.1 → 1.3.2
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/api/index.js +1 -1
- package/dist/auth/guards/AdminGuard.d.ts +32 -0
- package/dist/auth/guards/AdminGuard.d.ts.map +1 -0
- package/dist/auth/guards/ProtectedRoute.d.ts +60 -0
- package/dist/auth/guards/ProtectedRoute.d.ts.map +1 -0
- package/dist/auth/guards/__tests__/AdminGuard.test.d.ts +12 -0
- package/dist/auth/guards/__tests__/AdminGuard.test.d.ts.map +1 -0
- package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts +14 -0
- package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts.map +1 -0
- package/dist/auth/index.d.ts +14 -174
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +1 -1
- package/dist/{chunk-A3MCANC6.js → chunk-6IX5JZEH.js} +110 -50
- package/dist/chunk-GIFAF5ZS.js +313 -0
- package/dist/chunk-JQLT6HBI.js +850 -0
- package/dist/chunk-LFYO3MDC.js +58 -0
- package/dist/{chunk-72HOBFMP.js → chunk-LTQAAIGE.js} +3 -3
- package/dist/{chunk-JBFFCZI4.js → chunk-U34YGJQB.js} +1 -93
- package/dist/components/index.d.ts +1 -1353
- package/dist/components/index.js +1 -20
- package/dist/components/navigation/index.d.ts +2 -32
- package/dist/components/navigation/index.js +1 -29
- package/dist/execution/index.d.ts +63 -231
- package/dist/execution/index.js +1 -4
- package/dist/graph/index.css +0 -1
- package/dist/graph/index.d.ts +4 -203
- package/dist/graph/index.js +1 -1
- package/dist/hooks/command-queue/index.d.ts +7 -0
- package/dist/hooks/command-queue/index.d.ts.map +1 -0
- package/dist/hooks/command-queue/useCommandQueue.d.ts +33 -0
- package/dist/hooks/command-queue/useCommandQueue.d.ts.map +1 -0
- package/dist/hooks/command-queue/useCommandQueueTotals.d.ts +17 -0
- package/dist/hooks/command-queue/useCommandQueueTotals.d.ts.map +1 -0
- package/dist/hooks/command-queue/useDeleteTask.d.ts +5 -0
- package/dist/hooks/command-queue/useDeleteTask.d.ts.map +1 -0
- package/dist/hooks/command-queue/usePatchTask.d.ts +6 -0
- package/dist/hooks/command-queue/usePatchTask.d.ts.map +1 -0
- package/dist/hooks/command-queue/useSubmitAction.d.ts +29 -0
- package/dist/hooks/command-queue/useSubmitAction.d.ts.map +1 -0
- package/dist/hooks/executions/index.d.ts +16 -0
- package/dist/hooks/executions/index.d.ts.map +1 -0
- package/dist/hooks/executions/useBulkDeleteExecutions.d.ts +15 -0
- package/dist/hooks/executions/useBulkDeleteExecutions.d.ts.map +1 -0
- package/dist/hooks/executions/useCancelExecution.d.ts +20 -0
- package/dist/hooks/executions/useCancelExecution.d.ts.map +1 -0
- package/dist/hooks/executions/useDeleteExecution.d.ts +13 -0
- package/dist/hooks/executions/useDeleteExecution.d.ts.map +1 -0
- package/dist/hooks/executions/useExecuteAsync.d.ts +21 -0
- package/dist/hooks/executions/useExecuteAsync.d.ts.map +1 -0
- package/dist/hooks/executions/useExecution.d.ts +10 -0
- package/dist/hooks/executions/useExecution.d.ts.map +1 -0
- package/dist/hooks/executions/useExecutions.d.ts +16 -0
- package/dist/hooks/executions/useExecutions.d.ts.map +1 -0
- package/dist/hooks/executions/useResourceDefinition.d.ts +9 -0
- package/dist/hooks/executions/useResourceDefinition.d.ts.map +1 -0
- package/dist/hooks/executions/useResources.d.ts +15 -0
- package/dist/hooks/executions/useResources.d.ts.map +1 -0
- package/dist/hooks/executions/useRetryExecution.d.ts +16 -0
- package/dist/hooks/executions/useRetryExecution.d.ts.map +1 -0
- package/dist/hooks/feature-access/createUseFeatureAccess.d.ts +44 -0
- package/dist/hooks/feature-access/createUseFeatureAccess.d.ts.map +1 -0
- package/dist/hooks/feature-access/index.d.ts +2 -0
- package/dist/hooks/feature-access/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +11 -4554
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +2 -4
- package/dist/hooks/monitoring/index.d.ts +9 -0
- package/dist/hooks/monitoring/index.d.ts.map +1 -0
- package/dist/hooks/monitoring/useActivities.d.ts +52 -0
- package/dist/hooks/monitoring/useActivities.d.ts.map +1 -0
- package/dist/hooks/monitoring/useCostSummary.d.ts +7 -0
- package/dist/hooks/monitoring/useCostSummary.d.ts.map +1 -0
- package/dist/hooks/monitoring/useExecutionHealth.d.ts +10 -0
- package/dist/hooks/monitoring/useExecutionHealth.d.ts.map +1 -0
- package/dist/hooks/monitoring/useExecutionLogs.d.ts +56 -0
- package/dist/hooks/monitoring/useExecutionLogs.d.ts.map +1 -0
- package/dist/hooks/monitoring/useNotifications.d.ts +11 -0
- package/dist/hooks/monitoring/useNotifications.d.ts.map +1 -0
- package/dist/hooks/notifications/index.d.ts +8 -0
- package/dist/hooks/notifications/index.d.ts.map +1 -0
- package/dist/hooks/notifications/useMarkAllAsRead.d.ts +2 -0
- package/dist/hooks/notifications/useMarkAllAsRead.d.ts.map +1 -0
- package/dist/hooks/notifications/useMarkAsRead.d.ts +2 -0
- package/dist/hooks/notifications/useMarkAsRead.d.ts.map +1 -0
- package/dist/hooks/notifications/useNotificationCount.d.ts +8 -0
- package/dist/hooks/notifications/useNotificationCount.d.ts.map +1 -0
- package/dist/hooks/observability/index.d.ts +19 -0
- package/dist/hooks/observability/index.d.ts.map +1 -0
- package/dist/hooks/observability/useBusinessImpact.d.ts +9 -0
- package/dist/hooks/observability/useBusinessImpact.d.ts.map +1 -0
- package/dist/hooks/observability/useCostBreakdown.d.ts +10 -0
- package/dist/hooks/observability/useCostBreakdown.d.ts.map +1 -0
- package/dist/hooks/observability/useCostByModel.d.ts +3 -0
- package/dist/hooks/observability/useCostByModel.d.ts.map +1 -0
- package/dist/hooks/observability/useCostTrends.d.ts +3 -0
- package/dist/hooks/observability/useCostTrends.d.ts.map +1 -0
- package/dist/hooks/observability/useDashboardMetrics.d.ts +3 -0
- package/dist/hooks/observability/useDashboardMetrics.d.ts.map +1 -0
- package/dist/hooks/observability/useErrorAnalysis.d.ts +7 -0
- package/dist/hooks/observability/useErrorAnalysis.d.ts.map +1 -0
- package/dist/hooks/observability/useErrorDetails.d.ts +20 -0
- package/dist/hooks/observability/useErrorDetails.d.ts.map +1 -0
- package/dist/hooks/observability/useErrorDistribution.d.ts +12 -0
- package/dist/hooks/observability/useErrorDistribution.d.ts.map +1 -0
- package/dist/hooks/observability/useErrorTrends.d.ts +12 -0
- package/dist/hooks/observability/useErrorTrends.d.ts.map +1 -0
- package/dist/hooks/observability/useResolveError.d.ts +17 -0
- package/dist/hooks/observability/useResolveError.d.ts.map +1 -0
- package/dist/hooks/observability/useTopFailingResources.d.ts +13 -0
- package/dist/hooks/observability/useTopFailingResources.d.ts.map +1 -0
- package/dist/hooks/published.d.ts +19 -4279
- package/dist/hooks/published.d.ts.map +1 -0
- package/dist/hooks/published.js +367 -4
- package/dist/hooks/scheduling/index.d.ts +5 -0
- package/dist/hooks/scheduling/index.d.ts.map +1 -0
- package/dist/hooks/scheduling/useSchedules.d.ts +185 -0
- package/dist/hooks/scheduling/useSchedules.d.ts.map +1 -0
- package/dist/hooks/sessions/index.d.ts +8 -0
- package/dist/hooks/sessions/index.d.ts.map +1 -0
- package/dist/hooks/sessions/useSessionExecutions.d.ts +13 -0
- package/dist/hooks/sessions/useSessionExecutions.d.ts.map +1 -0
- package/dist/hooks/sessions/useSessionMessages.d.ts +7 -0
- package/dist/hooks/sessions/useSessionMessages.d.ts.map +1 -0
- package/dist/hooks/sessions/useSessions.d.ts +26 -0
- package/dist/hooks/sessions/useSessions.d.ts.map +1 -0
- package/dist/index.css +0 -118
- package/dist/index.d.ts +15 -7889
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1119 -24
- package/dist/initialization/InitializationProvider.d.ts +48 -0
- package/dist/initialization/InitializationProvider.d.ts.map +1 -0
- package/dist/initialization/hooks/useAppInitialization.d.ts +32 -0
- package/dist/initialization/hooks/useAppInitialization.d.ts.map +1 -0
- package/dist/initialization/index.d.ts +22 -2361
- package/dist/initialization/index.d.ts.map +1 -0
- package/dist/initialization/index.js +1 -1
- package/dist/organization/context/OrganizationProvider.d.ts +20 -0
- package/dist/organization/context/OrganizationProvider.d.ts.map +1 -0
- package/dist/organization/hooks/useOrgInitialization.d.ts +56 -0
- package/dist/organization/hooks/useOrgInitialization.d.ts.map +1 -0
- package/dist/organization/index.d.ts +21 -283
- package/dist/organization/index.d.ts.map +1 -0
- package/dist/organization/index.js +3 -3
- package/dist/profile/context/ProfileProvider.d.ts +27 -0
- package/dist/profile/context/ProfileProvider.d.ts.map +1 -0
- package/dist/profile/hooks/useUserProfile.d.ts +31 -0
- package/dist/profile/hooks/useUserProfile.d.ts.map +1 -0
- package/dist/profile/index.d.ts +14 -2290
- package/dist/profile/index.d.ts.map +1 -0
- package/dist/provider/CoreAuthKitInner.d.ts +12 -0
- package/dist/provider/CoreAuthKitInner.d.ts.map +1 -0
- package/dist/provider/ElevasisCoreProvider.d.ts +39 -0
- package/dist/provider/ElevasisCoreProvider.d.ts.map +1 -0
- package/dist/provider/ElevasisServiceContext.d.ts +31 -0
- package/dist/provider/ElevasisServiceContext.d.ts.map +1 -0
- package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts +2 -0
- package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts.map +1 -0
- package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts +2 -0
- package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts.map +1 -0
- package/dist/provider/index.d.ts +7 -372
- package/dist/provider/index.d.ts.map +1 -0
- package/dist/provider/index.js +6 -6
- package/dist/provider/published.d.ts +9 -263
- package/dist/provider/published.d.ts.map +1 -0
- package/dist/provider/published.js +5 -5
- package/dist/provider/types.d.ts +190 -0
- package/dist/provider/types.d.ts.map +1 -0
- package/dist/sdk-barrel.d.ts +20 -0
- package/dist/sdk-barrel.d.ts.map +1 -0
- package/dist/supabase/index.d.ts +0 -255
- package/dist/theme/cssVariables.d.ts +12 -0
- package/dist/theme/cssVariables.d.ts.map +1 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/presets/__tests__/getPreset.test.d.ts +2 -0
- package/dist/theme/presets/__tests__/getPreset.test.d.ts.map +1 -0
- package/dist/theme/presets/abyss.d.ts +3 -0
- package/dist/theme/presets/abyss.d.ts.map +1 -0
- package/dist/theme/presets/abyss.js +54 -0
- package/dist/theme/presets/aurora.d.ts +8 -0
- package/dist/theme/presets/aurora.d.ts.map +1 -0
- package/dist/theme/presets/aurora.js +59 -0
- package/dist/theme/presets/canopy.d.ts +3 -0
- package/dist/theme/presets/canopy.d.ts.map +1 -0
- package/dist/theme/presets/canopy.js +58 -0
- package/dist/theme/presets/cyber-flux.d.ts +8 -0
- package/dist/theme/presets/cyber-flux.d.ts.map +1 -0
- package/dist/theme/presets/cyber-strike.d.ts +9 -0
- package/dist/theme/presets/cyber-strike.d.ts.map +1 -0
- package/dist/theme/presets/cyber-void.d.ts +8 -0
- package/dist/theme/presets/cyber-void.d.ts.map +1 -0
- package/dist/theme/presets/cyber-volt.d.ts +8 -0
- package/dist/theme/presets/cyber-volt.d.ts.map +1 -0
- package/dist/theme/presets/default.d.ts +4 -0
- package/dist/theme/presets/default.d.ts.map +1 -0
- package/dist/theme/presets/ember.d.ts +8 -0
- package/dist/theme/presets/ember.d.ts.map +1 -0
- package/dist/theme/presets/ember.js +63 -0
- package/dist/theme/presets/honey.d.ts +3 -0
- package/dist/theme/presets/honey.d.ts.map +1 -0
- package/dist/theme/presets/honey.js +62 -0
- package/dist/theme/presets/index.d.ts +6 -0
- package/dist/theme/presets/index.d.ts.map +1 -0
- package/dist/theme/presets/midnight.d.ts +8 -0
- package/dist/theme/presets/midnight.d.ts.map +1 -0
- package/dist/theme/presets/midnight.js +68 -0
- package/dist/theme/presets/obsidian.d.ts +3 -0
- package/dist/theme/presets/obsidian.d.ts.map +1 -0
- package/dist/theme/presets/obsidian.js +56 -0
- package/dist/theme/presets/regal.d.ts +8 -0
- package/dist/theme/presets/regal.d.ts.map +1 -0
- package/dist/theme/presets/rose-gold.d.ts +8 -0
- package/dist/theme/presets/rose-gold.d.ts.map +1 -0
- package/dist/theme/presets/slate.d.ts +3 -0
- package/dist/theme/presets/slate.d.ts.map +1 -0
- package/dist/theme/presets/slate.js +56 -0
- package/dist/theme/presets/tactical.d.ts +8 -0
- package/dist/theme/presets/tactical.d.ts.map +1 -0
- package/dist/theme/presets/types.d.ts +26 -0
- package/dist/theme/presets/types.d.ts.map +1 -0
- package/dist/theme/presets/types.js +1 -0
- package/dist/utils/index.d.ts +1 -22
- package/dist/utils/index.js +1 -1
- package/package.json +67 -51
- package/dist/chunk-3KMDHCAR.js +0 -52
- package/dist/chunk-6BJOYF6E.js +0 -8
- package/dist/chunk-BLO4SISK.js +0 -113
- package/dist/chunk-HUWJXLLF.js +0 -681
- package/dist/chunk-JVAZHVNV.js +0 -110
- package/dist/chunk-JYSYHVLU.js +0 -379
- package/dist/chunk-NE36BUGQ.js +0 -146
- package/dist/chunk-O3PY6B6E.js +0 -749
- package/dist/chunk-OXVOHOP3.js +0 -661
- package/dist/chunk-PSLKGOBZ.js +0 -58
- package/dist/chunk-RJCA5672.js +0 -1664
- package/dist/chunk-TMFCNFLW.js +0 -107
- package/dist/chunk-TN3PU2WK.js +0 -748
- package/dist/chunk-TZPAA4RC.js +0 -1461
- package/dist/chunk-W7ZBF5AA.js +0 -1
- package/dist/chunk-YZ6GTZXL.js +0 -48
- package/dist/components/command-queue/index.css +0 -53
- package/dist/components/command-queue/index.d.ts +0 -204
- package/dist/components/command-queue/index.js +0 -12
- package/dist/components/forms/index.d.ts +0 -56
- package/dist/components/forms/index.js +0 -2
- package/dist/components/index.css +0 -443
- package/dist/components/monitoring/index.d.ts +0 -66
- package/dist/components/monitoring/index.js +0 -2
- package/dist/components/notifications/index.d.ts +0 -52
- package/dist/components/notifications/index.js +0 -5
- package/dist/components/resource-definition/index.css +0 -388
- package/dist/components/resource-definition/index.d.ts +0 -301
- package/dist/components/resource-definition/index.js +0 -3
- package/dist/display/index.css +0 -53
- package/dist/display/index.d.ts +0 -606
- package/dist/display/index.js +0 -7
- package/dist/execution/index.css +0 -388
- package/dist/provider/index.css +0 -61
- package/dist/{chunk-TYV5NJV2.js → chunk-BUZONXAW.js} +0 -0
- package/dist/{chunk-UMXDDEAG.js → chunk-SFF5MJEI.js} +1 -1
- /package/dist/{chunk-NXHL23JW.js → chunk-XXDDMASA.js} +0 -0
|
@@ -1,266 +1,12 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
|
|
5
|
-
type PresetName = 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-flux' | 'cyber-void';
|
|
6
|
-
|
|
7
|
-
interface ApiErrorDetails {
|
|
8
|
-
method: string;
|
|
9
|
-
statusCode: number;
|
|
10
|
-
requestId?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
1
|
/**
|
|
14
|
-
*
|
|
2
|
+
* Published provider barrel for @elevasis/ui
|
|
15
3
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
4
|
+
* Headless providers only -- no Mantine dependency.
|
|
5
|
+
* ElevasisProvider (Mantine-dependent) is available via @repo/ui internally.
|
|
18
6
|
*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
apiError(error: unknown): void;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Provides a notification adapter to all descendant components.
|
|
29
|
-
*
|
|
30
|
-
* Pass a `MantineNotificationAdapter` for Command Center, or any custom
|
|
31
|
-
* adapter for other consumers (template, tests, etc.).
|
|
32
|
-
*
|
|
33
|
-
* When omitted, hooks fall back to the console adapter automatically.
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* ```tsx
|
|
37
|
-
* import { NotificationProvider } from '@repo/ui/provider'
|
|
38
|
-
* import { mantineNotificationAdapter } from '@repo/ui/provider'
|
|
39
|
-
*
|
|
40
|
-
* <NotificationProvider adapter={mantineNotificationAdapter}>
|
|
41
|
-
* <App />
|
|
42
|
-
* </NotificationProvider>
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
|
-
declare function NotificationProvider({ adapter, children }: {
|
|
46
|
-
adapter: NotificationAdapter;
|
|
47
|
-
children: ReactNode;
|
|
48
|
-
}): react_jsx_runtime.JSX.Element;
|
|
49
|
-
/**
|
|
50
|
-
* Returns the active notification adapter.
|
|
51
|
-
*
|
|
52
|
-
* Falls back to the console adapter when used outside a NotificationProvider,
|
|
53
|
-
* so hooks remain functional in template environments without Mantine.
|
|
54
|
-
*
|
|
55
|
-
* Named `useNotificationAdapter` to avoid collision with the data-fetching
|
|
56
|
-
* `useNotifications` hook exported from `hooks/monitoring`.
|
|
57
|
-
*/
|
|
58
|
-
declare function useNotificationAdapter(): NotificationAdapter;
|
|
59
|
-
|
|
60
|
-
/** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
|
|
61
|
-
type WithSchemes<T> = T & {
|
|
62
|
-
light?: T;
|
|
63
|
-
dark?: T;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Theme token overrides. Each key maps 1:1 to a CSS variable.
|
|
67
|
-
* All optional — defaults come from Elevasis design system.
|
|
68
|
-
*/
|
|
69
|
-
interface ElevasisTokenOverrides {
|
|
70
|
-
primary?: string;
|
|
71
|
-
/** Text color that contrasts with `primary`. Defaults to '#fff'. */
|
|
72
|
-
primaryContrast?: string;
|
|
73
|
-
background?: string;
|
|
74
|
-
surface?: string;
|
|
75
|
-
surfaceHover?: string;
|
|
76
|
-
text?: string;
|
|
77
|
-
textDimmed?: string;
|
|
78
|
-
textSubtle?: string;
|
|
79
|
-
border?: string;
|
|
80
|
-
error?: string;
|
|
81
|
-
warning?: string;
|
|
82
|
-
success?: string;
|
|
83
|
-
glassBackground?: string;
|
|
84
|
-
glassBlur?: string;
|
|
85
|
-
shadow?: string;
|
|
86
|
-
cardShadow?: string;
|
|
87
|
-
durationFast?: string;
|
|
88
|
-
durationNormal?: string;
|
|
89
|
-
easing?: string;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Core theme config — Mantine-free.
|
|
93
|
-
* Used by ElevasisCoreProvider and as the base for ElevasisThemeConfig.
|
|
94
|
-
*/
|
|
95
|
-
interface ElevasisCoreThemeConfig {
|
|
96
|
-
/** Color scheme: 'light', 'dark', or 'auto'. Defaults to 'dark'. */
|
|
97
|
-
colorScheme?: 'light' | 'dark' | 'auto';
|
|
98
|
-
/** Named preset — bundles light/dark token defaults. Defaults to 'default'. */
|
|
99
|
-
preset?: PresetName;
|
|
100
|
-
/**
|
|
101
|
-
* Semantic token overrides fed into CSS variables.
|
|
102
|
-
* Flat values apply to both schemes. `light`/`dark` nested values win over flat.
|
|
103
|
-
*/
|
|
104
|
-
tokens?: WithSchemes<ElevasisTokenOverrides>;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Auth configuration union.
|
|
108
|
-
* 'authkit' (WorkOS AuthKit) is the supported mode.
|
|
109
|
-
* 'apiKey' is defined for forward type compatibility but will throw at runtime.
|
|
110
|
-
*/
|
|
111
|
-
type AuthConfig = AuthKitConfig | ApiKeyConfig;
|
|
112
|
-
interface AuthKitConfig {
|
|
113
|
-
mode: 'authkit';
|
|
114
|
-
clientId: string;
|
|
115
|
-
/** AuthKit API hostname. Defaults to 'api.workos.com'. */
|
|
116
|
-
apiHostname?: string;
|
|
117
|
-
/** Redirect URI after auth. */
|
|
118
|
-
redirectUri?: string;
|
|
119
|
-
/** Keep refresh tokens in localStorage. Defaults to false. */
|
|
120
|
-
devMode?: boolean;
|
|
121
|
-
}
|
|
122
|
-
/** Deferred -- will throw at runtime. */
|
|
123
|
-
interface ApiKeyConfig {
|
|
124
|
-
mode: 'apiKey';
|
|
125
|
-
key: string;
|
|
126
|
-
}
|
|
127
|
-
interface ElevasisCoreProviderProps {
|
|
128
|
-
/** Auth configuration. Supports 'authkit' mode. */
|
|
129
|
-
auth: AuthConfig;
|
|
130
|
-
/**
|
|
131
|
-
* Elevasis core theme configuration (Mantine-free).
|
|
132
|
-
* Set `colorScheme` ('light', 'dark', 'auto') and override `tokens` (design tokens).
|
|
133
|
-
* Defaults: colorScheme='dark', Elevasis design system tokens.
|
|
134
|
-
*/
|
|
135
|
-
theme?: ElevasisCoreThemeConfig;
|
|
136
|
-
/**
|
|
137
|
-
* @deprecated Organization ID is now resolved automatically via OrganizationProvider.
|
|
138
|
-
* This prop is accepted for backwards compatibility during migration but is no longer
|
|
139
|
-
* used when the full provider stack is active (apiUrl provided).
|
|
140
|
-
*/
|
|
141
|
-
organizationId?: string | null;
|
|
142
|
-
/** Custom QueryClient. If omitted, a default is created internally. */
|
|
143
|
-
queryClient?: QueryClient;
|
|
144
|
-
/**
|
|
145
|
-
* API base URL (e.g., 'https://api.elevasis.com' or 'http://localhost:5170').
|
|
146
|
-
* When provided, ElevasisCoreProvider composes the full provider stack:
|
|
147
|
-
* ApiClientProvider + ElevasisServiceProvider + ProfileProvider +
|
|
148
|
-
* OrganizationProvider + NotificationProvider + InitializationProvider.
|
|
149
|
-
* When omitted, no service context is provided (theme-only mode).
|
|
150
|
-
*/
|
|
151
|
-
apiUrl?: string;
|
|
152
|
-
/**
|
|
153
|
-
* Error callback for API responses with status >= 500.
|
|
154
|
-
* Only used when apiUrl is provided.
|
|
155
|
-
*/
|
|
156
|
-
onError?: (endpoint: string, error: Error, details?: ApiErrorDetails) => void;
|
|
157
|
-
/**
|
|
158
|
-
* @deprecated Organization readiness is now managed internally by OrganizationProvider.
|
|
159
|
-
* Accepted for backwards compatibility but ignored when apiUrl is provided.
|
|
160
|
-
*/
|
|
161
|
-
isOrganizationReady?: boolean;
|
|
162
|
-
/**
|
|
163
|
-
* Notification adapter for displaying success/error/info messages.
|
|
164
|
-
* When provided, wraps the subtree in a NotificationProvider with this adapter.
|
|
165
|
-
* When omitted, the console fallback adapter is used automatically.
|
|
166
|
-
*
|
|
167
|
-
* ElevasisUIProvider (Mantine variant) passes mantineNotificationAdapter here automatically.
|
|
168
|
-
* Headless/SDK consumers can pass a custom adapter or omit for console output.
|
|
169
|
-
*/
|
|
170
|
-
notifications?: NotificationAdapter;
|
|
171
|
-
/**
|
|
172
|
-
* Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
|
|
173
|
-
* Set to `false` when the consumer has its own complete design system and only
|
|
174
|
-
* needs auth + API from this provider. Defaults to `true`.
|
|
175
|
-
*/
|
|
176
|
-
injectStyles?: boolean;
|
|
177
|
-
children: ReactNode;
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Service context value exposed by ElevasisServiceProvider.
|
|
181
|
-
* Provides a ready-to-use apiRequest function and organization state.
|
|
182
|
-
*
|
|
183
|
-
* For standalone usage (testing, embedding), use ElevasisServiceProvider directly.
|
|
184
|
-
* For standard SDK usage, ElevasisProvider composes this automatically when apiUrl is provided.
|
|
185
|
-
*/
|
|
186
|
-
interface ElevasisServiceContextValue {
|
|
187
|
-
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
188
|
-
organizationId: string | null;
|
|
189
|
-
isReady: boolean;
|
|
190
|
-
}
|
|
191
|
-
interface ElevasisServiceProviderProps {
|
|
192
|
-
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
193
|
-
organizationId: string | null;
|
|
194
|
-
isReady: boolean;
|
|
195
|
-
children: ReactNode;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Headless root provider for Elevasis-powered applications.
|
|
200
|
-
*
|
|
201
|
-
* Pure auth + API provider with no style side-effects. Does not inject CSS
|
|
202
|
-
* variables, set `data-elevasis-scheme`, or load fonts. Consumers that need
|
|
203
|
-
* Elevasis theming should use `ElevasisProvider` (Mantine) instead.
|
|
204
|
-
*
|
|
205
|
-
* When `apiUrl` is provided, composes the full provider stack:
|
|
206
|
-
* QueryClientProvider -> AuthProvider -> ApiClientProvider ->
|
|
207
|
-
* ElevasisServiceProvider -> ProfileProvider -> OrganizationProvider ->
|
|
208
|
-
* NotificationProvider -> InitializationProvider
|
|
209
|
-
*
|
|
210
|
-
* The `notifications` prop wires a custom adapter (e.g. mantineNotificationAdapter)
|
|
211
|
-
* into the NotificationProvider. When omitted, the console fallback is used.
|
|
212
|
-
*
|
|
213
|
-
* @example Headless SDK consumer
|
|
214
|
-
* ```tsx
|
|
215
|
-
* <ElevasisCoreProvider
|
|
216
|
-
* auth={{ mode: 'authkit', clientId: '...', redirectUri: '/' }}
|
|
217
|
-
* apiUrl="https://api.elevasis.com"
|
|
218
|
-
* >
|
|
219
|
-
* <Dashboard />
|
|
220
|
-
* </ElevasisCoreProvider>
|
|
221
|
-
* ```
|
|
222
|
-
*
|
|
223
|
-
* @example With custom notification adapter
|
|
224
|
-
* ```tsx
|
|
225
|
-
* <ElevasisCoreProvider
|
|
226
|
-
* auth={{ mode: 'authkit', clientId: '...', redirectUri: '/' }}
|
|
227
|
-
* apiUrl="https://api.elevasis.com"
|
|
228
|
-
* notifications={myNotificationAdapter}
|
|
229
|
-
* >
|
|
230
|
-
* <Dashboard />
|
|
231
|
-
* </ElevasisCoreProvider>
|
|
232
|
-
* ```
|
|
233
|
-
*/
|
|
234
|
-
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Hook to access the ElevasisServiceProvider context.
|
|
238
|
-
* Provides apiRequest, organizationId, and isReady.
|
|
239
|
-
*
|
|
240
|
-
* Throws if used outside of an ElevasisServiceProvider or ElevasisProvider (with apiUrl).
|
|
241
|
-
*/
|
|
242
|
-
declare function useElevasisServices(): ElevasisServiceContextValue;
|
|
243
|
-
/**
|
|
244
|
-
* Standalone service provider for testing, embedding, or advanced consumers.
|
|
245
|
-
*
|
|
246
|
-
* Accepts apiRequest, organizationId, and isReady directly as props.
|
|
247
|
-
* ElevasisProvider composes this internally when apiUrl is provided.
|
|
248
|
-
*
|
|
249
|
-
* @example Testing
|
|
250
|
-
* ```tsx
|
|
251
|
-
* <ElevasisServiceProvider apiRequest={mockApiRequest} organizationId="org-1" isReady={true}>
|
|
252
|
-
* <ComponentUnderTest />
|
|
253
|
-
* </ElevasisServiceProvider>
|
|
254
|
-
* ```
|
|
255
|
-
*
|
|
256
|
-
* @example Embedding
|
|
257
|
-
* ```tsx
|
|
258
|
-
* <ElevasisServiceProvider apiRequest={myFetcher} organizationId={orgId} isReady={!!orgId}>
|
|
259
|
-
* <CommandQueuePanel />
|
|
260
|
-
* </ElevasisServiceProvider>
|
|
261
|
-
* ```
|
|
262
|
-
*/
|
|
263
|
-
declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
264
|
-
|
|
265
|
-
export { ElevasisCoreProvider, ElevasisServiceProvider, NotificationProvider, useElevasisServices, useNotificationAdapter };
|
|
266
|
-
export type { ApiKeyConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisTokenOverrides, NotificationAdapter, WithSchemes };
|
|
7
|
+
export { ElevasisCoreProvider } from './ElevasisCoreProvider';
|
|
8
|
+
export { ElevasisServiceProvider, useElevasisServices } from './ElevasisServiceContext';
|
|
9
|
+
export { NotificationProvider, useNotificationAdapter } from './NotificationContext';
|
|
10
|
+
export type { NotificationAdapter } from './NotificationContext';
|
|
11
|
+
export type { AuthConfig, AuthKitConfig, ApiKeyConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisTokenOverrides, WithSchemes, ElevasisServiceContextValue, ElevasisServiceProviderProps } from './types';
|
|
12
|
+
//# sourceMappingURL=published.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"published.d.ts","sourceRoot":"","sources":["../../src/provider/published.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACvF,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AACpF,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,YAAY,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,2BAA2B,EAC3B,4BAA4B,EAC7B,MAAM,SAAS,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ElevasisCoreProvider } from '../chunk-
|
|
2
|
-
import '../chunk-UMXDDEAG.js';
|
|
3
|
-
import '../chunk-XLV6LYN2.js';
|
|
1
|
+
export { ElevasisCoreProvider } from '../chunk-LTQAAIGE.js';
|
|
4
2
|
export { NotificationProvider, useNotificationAdapter } from '../chunk-TIRMFDM4.js';
|
|
5
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-SFF5MJEI.js';
|
|
4
|
+
import '../chunk-XLV6LYN2.js';
|
|
5
|
+
import '../chunk-LFYO3MDC.js';
|
|
6
6
|
import '../chunk-4VGWQ5AN.js';
|
|
7
7
|
import '../chunk-NEK6JKPW.js';
|
|
8
8
|
import '../chunk-L2CM2CUA.js';
|
|
9
|
-
import '../chunk-DD3CCMCZ.js';
|
|
10
9
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-KA7LO7U5.js';
|
|
10
|
+
import '../chunk-DD3CCMCZ.js';
|
|
11
11
|
import '../chunk-7PLEQFHO.js';
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import type { MantineThemeOverride } from '@mantine/core';
|
|
2
|
+
import type { PresetName } from '../theme/presets';
|
|
3
|
+
import type { QueryClient } from '@tanstack/react-query';
|
|
4
|
+
import type { ReactNode } from 'react';
|
|
5
|
+
import type { ApiErrorDetails } from '../api/types';
|
|
6
|
+
import type { NotificationAdapter } from './NotificationContext';
|
|
7
|
+
/** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
|
|
8
|
+
export type WithSchemes<T> = T & {
|
|
9
|
+
light?: T;
|
|
10
|
+
dark?: T;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Theme token overrides. Each key maps 1:1 to a CSS variable.
|
|
14
|
+
* All optional — defaults come from Elevasis design system.
|
|
15
|
+
*/
|
|
16
|
+
export interface ElevasisTokenOverrides {
|
|
17
|
+
primary?: string;
|
|
18
|
+
/** Text color that contrasts with `primary`. Defaults to '#fff'. */
|
|
19
|
+
primaryContrast?: string;
|
|
20
|
+
background?: string;
|
|
21
|
+
surface?: string;
|
|
22
|
+
surfaceHover?: string;
|
|
23
|
+
text?: string;
|
|
24
|
+
textDimmed?: string;
|
|
25
|
+
textSubtle?: string;
|
|
26
|
+
border?: string;
|
|
27
|
+
error?: string;
|
|
28
|
+
warning?: string;
|
|
29
|
+
success?: string;
|
|
30
|
+
glassBackground?: string;
|
|
31
|
+
glassBlur?: string;
|
|
32
|
+
shadow?: string;
|
|
33
|
+
cardShadow?: string;
|
|
34
|
+
durationFast?: string;
|
|
35
|
+
durationNormal?: string;
|
|
36
|
+
easing?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Core theme config — Mantine-free.
|
|
40
|
+
* Used by ElevasisCoreProvider and as the base for ElevasisThemeConfig.
|
|
41
|
+
*/
|
|
42
|
+
export interface ElevasisCoreThemeConfig {
|
|
43
|
+
/** Color scheme: 'light', 'dark', or 'auto'. Defaults to 'dark'. */
|
|
44
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
45
|
+
/** Named preset — bundles light/dark token defaults. Defaults to 'default'. */
|
|
46
|
+
preset?: PresetName;
|
|
47
|
+
/**
|
|
48
|
+
* Semantic token overrides fed into CSS variables.
|
|
49
|
+
* Flat values apply to both schemes. `light`/`dark` nested values win over flat.
|
|
50
|
+
*/
|
|
51
|
+
tokens?: WithSchemes<ElevasisTokenOverrides>;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Theme config passed to ElevasisProvider's `theme` prop.
|
|
55
|
+
*
|
|
56
|
+
* Three levels of customization:
|
|
57
|
+
* 1. `tokens.primary` — most consumers only need this
|
|
58
|
+
* 2. `tokens.*` — override any semantic token, with optional per-scheme values
|
|
59
|
+
* 3. `mantine` — full Mantine theme escape hatch (fonts, spacing, component styles)
|
|
60
|
+
*/
|
|
61
|
+
export interface ElevasisThemeConfig extends ElevasisCoreThemeConfig {
|
|
62
|
+
/** Full Mantine theme override — merged on top of Elevasis defaults. */
|
|
63
|
+
mantine?: MantineThemeOverride;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Auth configuration union.
|
|
67
|
+
* 'authkit' (WorkOS AuthKit) is the supported mode.
|
|
68
|
+
* 'apiKey' is defined for forward type compatibility but will throw at runtime.
|
|
69
|
+
*/
|
|
70
|
+
export type AuthConfig = AuthKitConfig | ApiKeyConfig;
|
|
71
|
+
export interface AuthKitConfig {
|
|
72
|
+
mode: 'authkit';
|
|
73
|
+
clientId: string;
|
|
74
|
+
/** AuthKit API hostname. Defaults to 'api.workos.com'. */
|
|
75
|
+
apiHostname?: string;
|
|
76
|
+
/** Redirect URI after auth. */
|
|
77
|
+
redirectUri?: string;
|
|
78
|
+
/** Keep refresh tokens in localStorage. Defaults to false. */
|
|
79
|
+
devMode?: boolean;
|
|
80
|
+
}
|
|
81
|
+
/** Deferred -- will throw at runtime. */
|
|
82
|
+
export interface ApiKeyConfig {
|
|
83
|
+
mode: 'apiKey';
|
|
84
|
+
key: string;
|
|
85
|
+
}
|
|
86
|
+
export interface ElevasisCoreProviderProps {
|
|
87
|
+
/** Auth configuration. Supports 'authkit' mode. */
|
|
88
|
+
auth: AuthConfig;
|
|
89
|
+
/**
|
|
90
|
+
* Elevasis core theme configuration (Mantine-free).
|
|
91
|
+
* Set `colorScheme` ('light', 'dark', 'auto') and override `tokens` (design tokens).
|
|
92
|
+
* Defaults: colorScheme='dark', Elevasis design system tokens.
|
|
93
|
+
*/
|
|
94
|
+
theme?: ElevasisCoreThemeConfig;
|
|
95
|
+
/**
|
|
96
|
+
* @deprecated Organization ID is now resolved automatically via OrganizationProvider.
|
|
97
|
+
* This prop is accepted for backwards compatibility during migration but is no longer
|
|
98
|
+
* used when the full provider stack is active (apiUrl provided).
|
|
99
|
+
*/
|
|
100
|
+
organizationId?: string | null;
|
|
101
|
+
/** Custom QueryClient. If omitted, a default is created internally. */
|
|
102
|
+
queryClient?: QueryClient;
|
|
103
|
+
/**
|
|
104
|
+
* API base URL (e.g., 'https://api.elevasis.com' or 'http://localhost:5170').
|
|
105
|
+
* When provided, ElevasisCoreProvider composes the full provider stack:
|
|
106
|
+
* ApiClientProvider + ElevasisServiceProvider + ProfileProvider +
|
|
107
|
+
* OrganizationProvider + NotificationProvider + InitializationProvider.
|
|
108
|
+
* When omitted, no service context is provided (theme-only mode).
|
|
109
|
+
*/
|
|
110
|
+
apiUrl?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Error callback for API responses with status >= 500.
|
|
113
|
+
* Only used when apiUrl is provided.
|
|
114
|
+
*/
|
|
115
|
+
onError?: (endpoint: string, error: Error, details?: ApiErrorDetails) => void;
|
|
116
|
+
/**
|
|
117
|
+
* @deprecated Organization readiness is now managed internally by OrganizationProvider.
|
|
118
|
+
* Accepted for backwards compatibility but ignored when apiUrl is provided.
|
|
119
|
+
*/
|
|
120
|
+
isOrganizationReady?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Notification adapter for displaying success/error/info messages.
|
|
123
|
+
* When provided, wraps the subtree in a NotificationProvider with this adapter.
|
|
124
|
+
* When omitted, the console fallback adapter is used automatically.
|
|
125
|
+
*
|
|
126
|
+
* ElevasisUIProvider (Mantine variant) passes mantineNotificationAdapter here automatically.
|
|
127
|
+
* Headless/SDK consumers can pass a custom adapter or omit for console output.
|
|
128
|
+
*/
|
|
129
|
+
notifications?: NotificationAdapter;
|
|
130
|
+
/**
|
|
131
|
+
* Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
|
|
132
|
+
* Set to `false` when the consumer has its own complete design system and only
|
|
133
|
+
* needs auth + API from this provider. Defaults to `true`.
|
|
134
|
+
*/
|
|
135
|
+
injectStyles?: boolean;
|
|
136
|
+
children: ReactNode;
|
|
137
|
+
}
|
|
138
|
+
export interface ElevasisProviderProps {
|
|
139
|
+
/** Auth configuration. Supports 'authkit' mode. */
|
|
140
|
+
auth: AuthConfig;
|
|
141
|
+
/**
|
|
142
|
+
* Elevasis theme configuration.
|
|
143
|
+
* Set `colorScheme` ('light', 'dark', 'auto') and override `tokens` (design tokens).
|
|
144
|
+
* Defaults: colorScheme='auto', Elevasis design system tokens.
|
|
145
|
+
*/
|
|
146
|
+
theme?: ElevasisThemeConfig;
|
|
147
|
+
/**
|
|
148
|
+
* @deprecated Organization ID is now resolved automatically via OrganizationProvider.
|
|
149
|
+
* Accepted for backwards compatibility during migration but no longer used internally.
|
|
150
|
+
*/
|
|
151
|
+
organizationId?: string | null;
|
|
152
|
+
/** Custom QueryClient. If omitted, a default is created internally. */
|
|
153
|
+
queryClient?: QueryClient;
|
|
154
|
+
/**
|
|
155
|
+
* API base URL (e.g., 'https://api.elevasis.com' or 'http://localhost:5170').
|
|
156
|
+
* When provided, ElevasisUIProvider composes the full provider stack via ElevasisCoreProvider.
|
|
157
|
+
* When omitted, no service context is provided (theme-only mode).
|
|
158
|
+
*/
|
|
159
|
+
apiUrl?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Error callback for API responses with status >= 500.
|
|
162
|
+
* Only used when apiUrl is provided.
|
|
163
|
+
*/
|
|
164
|
+
onError?: (endpoint: string, error: Error, details?: ApiErrorDetails) => void;
|
|
165
|
+
/**
|
|
166
|
+
* @deprecated Organization readiness is now managed internally by OrganizationProvider.
|
|
167
|
+
* Accepted for backwards compatibility but ignored when apiUrl is provided.
|
|
168
|
+
*/
|
|
169
|
+
isOrganizationReady?: boolean;
|
|
170
|
+
children: ReactNode;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Service context value exposed by ElevasisServiceProvider.
|
|
174
|
+
* Provides a ready-to-use apiRequest function and organization state.
|
|
175
|
+
*
|
|
176
|
+
* For standalone usage (testing, embedding), use ElevasisServiceProvider directly.
|
|
177
|
+
* For standard SDK usage, ElevasisProvider composes this automatically when apiUrl is provided.
|
|
178
|
+
*/
|
|
179
|
+
export interface ElevasisServiceContextValue {
|
|
180
|
+
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
181
|
+
organizationId: string | null;
|
|
182
|
+
isReady: boolean;
|
|
183
|
+
}
|
|
184
|
+
export interface ElevasisServiceProviderProps {
|
|
185
|
+
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
186
|
+
organizationId: string | null;
|
|
187
|
+
isReady: boolean;
|
|
188
|
+
children: ReactNode;
|
|
189
|
+
}
|
|
190
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/provider/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDK-safe root barrel.
|
|
3
|
+
*
|
|
4
|
+
* Used by tsup/rollup for the published @elevasis/sdk-ui root entry.
|
|
5
|
+
* Excludes CC-only re-exports (supabase, CC-only components).
|
|
6
|
+
* The full barrel (./index.ts) is used by monorepo consumers.
|
|
7
|
+
*/
|
|
8
|
+
export * from './theme';
|
|
9
|
+
export * from './execution';
|
|
10
|
+
export * from './utils';
|
|
11
|
+
export * from './graph';
|
|
12
|
+
export * from './router';
|
|
13
|
+
export * from './provider';
|
|
14
|
+
export * from './hooks';
|
|
15
|
+
export * from './auth';
|
|
16
|
+
export * from './profile';
|
|
17
|
+
export * from './organization';
|
|
18
|
+
export * from './api';
|
|
19
|
+
export * from './initialization';
|
|
20
|
+
//# sourceMappingURL=sdk-barrel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk-barrel.d.ts","sourceRoot":"","sources":["../src/sdk-barrel.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AAGvB,cAAc,SAAS,CAAA;AAGvB,cAAc,UAAU,CAAA;AAGxB,cAAc,YAAY,CAAA;AAG1B,cAAc,SAAS,CAAA;AAGvB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,OAAO,CAAA;AACrB,cAAc,kBAAkB,CAAA"}
|