@quillsql/admin 1.8.7 → 1.8.9

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.cts CHANGED
@@ -158,6 +158,7 @@ type Table = {
158
158
  isSelectStar: boolean;
159
159
  displayName: string;
160
160
  name: string;
161
+ description?: string;
161
162
  columns: ColumnInternal[];
162
163
  viewQuery: string;
163
164
  customFieldInfo: any;
@@ -179,6 +180,7 @@ interface BasePivot {
179
180
  triggerButtonText?: string;
180
181
  rowLimit?: number;
181
182
  columnValues?: string[];
183
+ dateBucket?: 'day' | 'week' | 'month' | 'year';
182
184
  }
183
185
  interface SingleAggregationPivot extends BasePivot {
184
186
  aggregationType: AggregationType;
@@ -700,10 +702,19 @@ declare function useAgentChat(): AgentChatState;
700
702
 
701
703
  declare function exportChatAsMarkdown(messages: ChatMessage[]): void;
702
704
 
705
+ declare function useSandboxSession(): {
706
+ sessionId: string | null;
707
+ sandboxClientId: string | null;
708
+ sourceClientId: string | null;
709
+ session: SessionInfo | null;
710
+ };
711
+
712
+ declare function clearQuillSandboxStorage(): void;
713
+
703
714
  /**
704
715
  * Environment selector plus create / edit environment modals.
705
716
  * Used in GlobalHeader and can be mounted in host app nav when managers use hideEnvDropdown.
706
717
  */
707
718
  declare function EnvironmentSwitcherWithModals(): react_jsx_runtime.JSX.Element;
708
719
 
709
- export { AdminProvider, AgentChat, AgentChatPanel, type AgentChatProps, ButtonPrimitive, ChartQueryBuilder as ChartBuilder, type ChatMessage, CreateEnvironment, CreateEnvironmentModal, DashboardManager, EditEnvironmentModal, EnvSelectPopover, EnvironmentSwitcherWithModals, HeaderPrimitive, ModalPrimitive, QuillSelectComponentWithCombo, SecondaryButtonPrimitive, type SessionInfo, TextInputPrimitive, type ToolCall, VirtualTableManager, exportChatAsMarkdown, useAdmin, useAgentChat };
720
+ export { AdminProvider, AgentChat, AgentChatPanel, type AgentChatProps, ButtonPrimitive, ChartQueryBuilder as ChartBuilder, type ChatMessage, CreateEnvironment, CreateEnvironmentModal, DashboardManager, EditEnvironmentModal, EnvSelectPopover, EnvironmentSwitcherWithModals, HeaderPrimitive, ModalPrimitive, QuillSelectComponentWithCombo, SecondaryButtonPrimitive, type SessionInfo, TextInputPrimitive, type ToolCall, VirtualTableManager, clearQuillSandboxStorage, exportChatAsMarkdown, useAdmin, useAgentChat, useSandboxSession };
package/dist/index.d.ts CHANGED
@@ -158,6 +158,7 @@ type Table = {
158
158
  isSelectStar: boolean;
159
159
  displayName: string;
160
160
  name: string;
161
+ description?: string;
161
162
  columns: ColumnInternal[];
162
163
  viewQuery: string;
163
164
  customFieldInfo: any;
@@ -179,6 +180,7 @@ interface BasePivot {
179
180
  triggerButtonText?: string;
180
181
  rowLimit?: number;
181
182
  columnValues?: string[];
183
+ dateBucket?: 'day' | 'week' | 'month' | 'year';
182
184
  }
183
185
  interface SingleAggregationPivot extends BasePivot {
184
186
  aggregationType: AggregationType;
@@ -700,10 +702,19 @@ declare function useAgentChat(): AgentChatState;
700
702
 
701
703
  declare function exportChatAsMarkdown(messages: ChatMessage[]): void;
702
704
 
705
+ declare function useSandboxSession(): {
706
+ sessionId: string | null;
707
+ sandboxClientId: string | null;
708
+ sourceClientId: string | null;
709
+ session: SessionInfo | null;
710
+ };
711
+
712
+ declare function clearQuillSandboxStorage(): void;
713
+
703
714
  /**
704
715
  * Environment selector plus create / edit environment modals.
705
716
  * Used in GlobalHeader and can be mounted in host app nav when managers use hideEnvDropdown.
706
717
  */
707
718
  declare function EnvironmentSwitcherWithModals(): react_jsx_runtime.JSX.Element;
708
719
 
709
- export { AdminProvider, AgentChat, AgentChatPanel, type AgentChatProps, ButtonPrimitive, ChartQueryBuilder as ChartBuilder, type ChatMessage, CreateEnvironment, CreateEnvironmentModal, DashboardManager, EditEnvironmentModal, EnvSelectPopover, EnvironmentSwitcherWithModals, HeaderPrimitive, ModalPrimitive, QuillSelectComponentWithCombo, SecondaryButtonPrimitive, type SessionInfo, TextInputPrimitive, type ToolCall, VirtualTableManager, exportChatAsMarkdown, useAdmin, useAgentChat };
720
+ export { AdminProvider, AgentChat, AgentChatPanel, type AgentChatProps, ButtonPrimitive, ChartQueryBuilder as ChartBuilder, type ChatMessage, CreateEnvironment, CreateEnvironmentModal, DashboardManager, EditEnvironmentModal, EnvSelectPopover, EnvironmentSwitcherWithModals, HeaderPrimitive, ModalPrimitive, QuillSelectComponentWithCombo, SecondaryButtonPrimitive, type SessionInfo, TextInputPrimitive, type ToolCall, VirtualTableManager, clearQuillSandboxStorage, exportChatAsMarkdown, useAdmin, useAgentChat, useSandboxSession };