@quillsql/react 2.16.36 → 2.16.38
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.cjs +366 -139
- package/dist/index.d.cts +85 -11
- package/dist/index.d.ts +85 -11
- package/dist/index.js +373 -147
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1079,8 +1079,9 @@ interface DashboardProps {
|
|
|
1079
1079
|
name: string;
|
|
1080
1080
|
onClickReport: (report: QuillReport) => void;
|
|
1081
1081
|
containerStyle?: CSSProperties;
|
|
1082
|
+
EmptyDashboardComponent?: () => React.JSX.Element;
|
|
1082
1083
|
}
|
|
1083
|
-
declare function Dashboard({ name, onClickReport, containerStyle, }: DashboardProps & React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1084
|
+
declare function Dashboard({ name, onClickReport, containerStyle, EmptyDashboardComponent, }: DashboardProps & React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1084
1085
|
|
|
1085
1086
|
type DashboardConfig = {
|
|
1086
1087
|
dashboardId: string;
|
|
@@ -1204,6 +1205,16 @@ interface EventTracking {
|
|
|
1204
1205
|
addBreadcrumb?: (breadcrumb: EventBreadcrumb) => void;
|
|
1205
1206
|
}
|
|
1206
1207
|
|
|
1208
|
+
type ChangelogEntry = {
|
|
1209
|
+
_id?: string;
|
|
1210
|
+
entityId?: string;
|
|
1211
|
+
entityType?: string;
|
|
1212
|
+
changeObject?: unknown;
|
|
1213
|
+
};
|
|
1214
|
+
declare const useChangelogRefresh: () => {
|
|
1215
|
+
refreshChangelogEntries: (entries: ChangelogEntry[], client: any) => Promise<void>;
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1207
1218
|
interface BaseQuillProviderProps {
|
|
1208
1219
|
publicKey: string;
|
|
1209
1220
|
theme?: QuillTheme;
|
|
@@ -1213,6 +1224,7 @@ interface BaseQuillProviderProps {
|
|
|
1213
1224
|
getAuthorizationToken?: () => Promise<string>;
|
|
1214
1225
|
eventTracking?: EventTracking | null;
|
|
1215
1226
|
streamEndpoint?: string;
|
|
1227
|
+
onChangelogs?: (entries: ChangelogEntry[]) => void;
|
|
1216
1228
|
}
|
|
1217
1229
|
interface QuillCloudProviderProps extends BaseQuillProviderProps {
|
|
1218
1230
|
tenants: {
|
|
@@ -1301,7 +1313,7 @@ type QuillProviderProps = QuillCloudProviderProps | SelfHostedProviderProps;
|
|
|
1301
1313
|
* ### Dashboard API
|
|
1302
1314
|
* @see https://docs.quillsql.com/components/quill-provider
|
|
1303
1315
|
*/
|
|
1304
|
-
declare const QuillProvider: ({ tenants, flags, publicKey, queryEndpoint, streamEndpoint, queryHeaders, children, theme, withCredentials, isAdmin, getAuthorizationToken, eventTracking, }: QuillProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1316
|
+
declare const QuillProvider: ({ tenants, flags, publicKey, queryEndpoint, streamEndpoint, queryHeaders, children, theme, withCredentials, isAdmin, getAuthorizationToken, eventTracking, onChangelogs, }: QuillProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1305
1317
|
|
|
1306
1318
|
interface BaseChartProps {
|
|
1307
1319
|
colors?: string[];
|
|
@@ -2732,14 +2744,15 @@ declare const useDashboards: () => {
|
|
|
2732
2744
|
}[] | undefined;
|
|
2733
2745
|
}[] | null;
|
|
2734
2746
|
isLoading: boolean;
|
|
2735
|
-
createDashboard: ({ name, tenantFilters, filters, dateFilter, dashboardOwners, }: {
|
|
2747
|
+
createDashboard: ({ name, tenantFilters, filters, dateFilter, dashboardOwners, clientId, }: {
|
|
2736
2748
|
name: string;
|
|
2737
2749
|
tenantFilters?: InternalDashboardTenantFilter[];
|
|
2738
2750
|
filters: InternalDashboardFilter[];
|
|
2739
2751
|
dashboardOwners: string[];
|
|
2740
2752
|
dateFilter?: InternalDashboardFilter;
|
|
2753
|
+
clientId?: string;
|
|
2741
2754
|
}) => Promise<void>;
|
|
2742
|
-
updateDashboard: (name: string, { newName, filters, tenantFilters, dateFilter, customFilters, tenantKeys, initialCacheDateRange, }: {
|
|
2755
|
+
updateDashboard: (name: string, { newName, filters, tenantFilters, dateFilter, customFilters, tenantKeys, initialCacheDateRange, clientId, }: {
|
|
2743
2756
|
newName: string;
|
|
2744
2757
|
filters: InternalDashboardFilter[];
|
|
2745
2758
|
tenantFilters?: InternalDashboardTenantFilter[];
|
|
@@ -2750,6 +2763,7 @@ declare const useDashboards: () => {
|
|
|
2750
2763
|
startDate: Date;
|
|
2751
2764
|
endDate: Date;
|
|
2752
2765
|
};
|
|
2766
|
+
clientId?: string;
|
|
2753
2767
|
}) => Promise<void>;
|
|
2754
2768
|
deleteDashboard: (name: string) => Promise<void>;
|
|
2755
2769
|
};
|
|
@@ -2797,6 +2811,7 @@ type Table = {
|
|
|
2797
2811
|
isSelectStar: boolean;
|
|
2798
2812
|
displayName: string;
|
|
2799
2813
|
name: string;
|
|
2814
|
+
description?: string;
|
|
2800
2815
|
columns: ColumnInternal[];
|
|
2801
2816
|
viewQuery: string;
|
|
2802
2817
|
customFieldInfo: any;
|
|
@@ -3117,14 +3132,73 @@ declare const useVirtualTables: () => {
|
|
|
3117
3132
|
}>;
|
|
3118
3133
|
};
|
|
3119
3134
|
|
|
3120
|
-
type
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
entityType?: string;
|
|
3135
|
+
type ClientFeatures = {
|
|
3136
|
+
cloudCache?: boolean;
|
|
3137
|
+
[key: string]: boolean | undefined;
|
|
3124
3138
|
};
|
|
3125
|
-
|
|
3126
|
-
|
|
3139
|
+
type QuillProviderClient = {
|
|
3140
|
+
name: string;
|
|
3141
|
+
clientId: string;
|
|
3142
|
+
publicKey: string;
|
|
3143
|
+
queryEndpoint: string;
|
|
3144
|
+
streamEndpoint?: string;
|
|
3145
|
+
queryHeaders?: HeadersInit;
|
|
3146
|
+
withCredentials: boolean;
|
|
3147
|
+
databaseType?: string;
|
|
3148
|
+
features?: ClientFeatures;
|
|
3149
|
+
featureFlags?: {
|
|
3150
|
+
[key: string]: boolean;
|
|
3151
|
+
};
|
|
3152
|
+
/** @deprecated Use clerkOrgId instead */
|
|
3153
|
+
domainName?: string;
|
|
3154
|
+
clerkOrgId: string;
|
|
3155
|
+
allTenantTypes?: QuillTenant[];
|
|
3156
|
+
defaultDashboard?: {
|
|
3157
|
+
name: string;
|
|
3158
|
+
owner: string;
|
|
3159
|
+
};
|
|
3160
|
+
schemaNames?: string[];
|
|
3127
3161
|
};
|
|
3162
|
+
type QuillTenant = {
|
|
3163
|
+
name: string;
|
|
3164
|
+
tenantField: string;
|
|
3165
|
+
query?: string;
|
|
3166
|
+
mappings?: {
|
|
3167
|
+
[key: string]: {
|
|
3168
|
+
query: string;
|
|
3169
|
+
};
|
|
3170
|
+
};
|
|
3171
|
+
flags?: string[];
|
|
3172
|
+
tenantIds?: {
|
|
3173
|
+
id: string | number;
|
|
3174
|
+
flag: string;
|
|
3175
|
+
label: string;
|
|
3176
|
+
}[];
|
|
3177
|
+
scope: 'row' | 'schema' | 'database';
|
|
3178
|
+
defaultId?: string | number;
|
|
3179
|
+
fieldType?: 'string' | 'number' | 'none';
|
|
3180
|
+
};
|
|
3181
|
+
|
|
3182
|
+
interface QuillFetchOptions {
|
|
3183
|
+
client: Pick<QuillProviderClient, 'clientId' | 'queryEndpoint' | 'queryHeaders' | 'withCredentials'>;
|
|
3184
|
+
task: string;
|
|
3185
|
+
method?: string;
|
|
3186
|
+
metadata: any;
|
|
3187
|
+
abortSignal?: AbortSignal;
|
|
3188
|
+
credentials?: RequestCredentials;
|
|
3189
|
+
urlParameters?: string;
|
|
3190
|
+
adminMode?: boolean;
|
|
3191
|
+
getToken: () => Promise<string>;
|
|
3192
|
+
}
|
|
3193
|
+
interface QuillResults {
|
|
3194
|
+
data?: any;
|
|
3195
|
+
queries?: any;
|
|
3196
|
+
status?: string;
|
|
3197
|
+
error?: string;
|
|
3198
|
+
message?: string;
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
declare const quillFetch: ({ client, task, method, metadata, abortSignal, credentials, urlParameters, getToken, }: QuillFetchOptions) => Promise<QuillResults>;
|
|
3128
3202
|
|
|
3129
3203
|
declare const downloadCSV: (data: {
|
|
3130
3204
|
rows: any[];
|
|
@@ -3692,4 +3766,4 @@ interface ReportTableProps {
|
|
|
3692
3766
|
}
|
|
3693
3767
|
declare const ReportTable: ({ reportBuilder, TableComponent, }: ReportTableProps) => react_jsx_runtime.JSX.Element;
|
|
3694
3768
|
|
|
3695
|
-
export { ALL_TENANTS, AddColumns, AddFilters, AddLimit, AddPivot, AddSort, type AxisFormat, type ButtonComponentProps, Calculation, type ChangelogEntry, Chart, ChartDisplay, ChartEditor, type ChartEditorProps, type ChartProps, Chat, type ChatProps, type CheckboxComponentProps, type ColorMapType, type Column$1 as Column, type ContainerComponentProps, Dashboard, type DashboardDateFilter, type DashboardFilter, DashboardFilterType, DashboardLegacy, type DashboardLegacyProps, type DashboardMultiFilter, type DashboardProps, type DashboardSectionComponentProps, type DashboardSingleFilter, type DashboardTenantFilter, DateOperator, type DateRange, type DateRangePickerComponentProps, type DateRangePickerOption, type DeleteButtonComponentProps, type DraggableColumnComponentProps, type EventBreadcrumb, type EventContext, type EventError, type EventMetadata, type EventTracking, type EventUser, type Filter, type FilterPopoverComponentProps, FilterType, type HeaderComponentProps, type HeaderProps, type InternalDashboardDateFilter, type InternalDashboardTenantFilter, type InternalFilter, type LabelComponentProps, type LimitPopoverComponentProps, type ModalComponentProps, NullOperator, NumberOperator, type Option, type Pivot, type PopoverComponentProps, type QuillCustomInterval, type QuillCustomRelativeInterval, type QuillCustomRepeatingInterval, type QuillCustomStaticInterval, type QuillPreviousMonthInterval, type QuillPreviousQuarterInterval, QuillProvider, type QuillProviderProps, type QuillReport, type QuillReportProps, type QuillTheme, type QuillWeekInterval, ReportBuilder$1 as ReportBuilder, type ReportBuilderColumn, type ReportBuilderLimit, type ReportBuilderProps, type ReportBuilderSort, type ReportBuilderState, ReportTable, SINGLE_TENANT, SQLEditor, type SQLEditorProps, SaveReport, SchemaListComponent, type SelectColumnComponentProps, type SelectComponentProps, type SidebarComponentProps, type SidebarHeadingComponentProps, type SortPopoverComponentProps, StaticChart, type StaticChartProps, StringOperator, Table$1 as Table, type TableComponentProps, type TableProps, type TabsComponentProps, type TextComponentProps, type TextInputComponentProps, ThemeContext, downloadCSV, quillFormat as format, useAllReports, useAskQuill, useChangelogRefresh, useDashboard, useDashboardInternal, useDashboardReport, useDashboardReports, useDashboards, useExport, useForm, useMemoizedRows, useQuill, useReportBuilder, useReports, useTenants, useVirtualTables };
|
|
3769
|
+
export { ALL_TENANTS, AddColumns, AddFilters, AddLimit, AddPivot, AddSort, type AxisFormat, type ButtonComponentProps, Calculation, type ChangelogEntry, Chart, ChartDisplay, ChartEditor, type ChartEditorProps, type ChartProps, Chat, type ChatProps, type CheckboxComponentProps, type ColorMapType, type Column$1 as Column, type ContainerComponentProps, Dashboard, type DashboardDateFilter, type DashboardFilter, DashboardFilterType, DashboardLegacy, type DashboardLegacyProps, type DashboardMultiFilter, type DashboardProps, type DashboardSectionComponentProps, type DashboardSingleFilter, type DashboardTenantFilter, DateOperator, type DateRange, type DateRangePickerComponentProps, type DateRangePickerOption, type DeleteButtonComponentProps, type DraggableColumnComponentProps, type EventBreadcrumb, type EventContext, type EventError, type EventMetadata, type EventTracking, type EventUser, type Filter, type FilterPopoverComponentProps, FilterType, type HeaderComponentProps, type HeaderProps, type InternalDashboardDateFilter, type InternalDashboardTenantFilter, type InternalFilter, type LabelComponentProps, type LimitPopoverComponentProps, type ModalComponentProps, NullOperator, NumberOperator, type Option, type Pivot, type PopoverComponentProps, type QuillCustomInterval, type QuillCustomRelativeInterval, type QuillCustomRepeatingInterval, type QuillCustomStaticInterval, type QuillFetchOptions, type QuillPreviousMonthInterval, type QuillPreviousQuarterInterval, QuillProvider, type QuillProviderProps, type QuillReport, type QuillReportProps, type QuillResults, type QuillTheme, type QuillWeekInterval, ReportBuilder$1 as ReportBuilder, type ReportBuilderColumn, type ReportBuilderLimit, type ReportBuilderProps, type ReportBuilderSort, type ReportBuilderState, ReportTable, SINGLE_TENANT, SQLEditor, type SQLEditorProps, SaveReport, SchemaListComponent, type SelectColumnComponentProps, type SelectComponentProps, type SidebarComponentProps, type SidebarHeadingComponentProps, type SortPopoverComponentProps, StaticChart, type StaticChartProps, StringOperator, Table$1 as Table, type TableComponentProps, type TableProps, type TabsComponentProps, type TextComponentProps, type TextInputComponentProps, ThemeContext, downloadCSV, quillFormat as format, quillFetch, useAllReports, useAskQuill, useChangelogRefresh, useDashboard, useDashboardInternal, useDashboardReport, useDashboardReports, useDashboards, useExport, useForm, useMemoizedRows, useQuill, useReportBuilder, useReports, useTenants, useVirtualTables };
|
package/dist/index.d.ts
CHANGED
|
@@ -1079,8 +1079,9 @@ interface DashboardProps {
|
|
|
1079
1079
|
name: string;
|
|
1080
1080
|
onClickReport: (report: QuillReport) => void;
|
|
1081
1081
|
containerStyle?: CSSProperties;
|
|
1082
|
+
EmptyDashboardComponent?: () => React.JSX.Element;
|
|
1082
1083
|
}
|
|
1083
|
-
declare function Dashboard({ name, onClickReport, containerStyle, }: DashboardProps & React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1084
|
+
declare function Dashboard({ name, onClickReport, containerStyle, EmptyDashboardComponent, }: DashboardProps & React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1084
1085
|
|
|
1085
1086
|
type DashboardConfig = {
|
|
1086
1087
|
dashboardId: string;
|
|
@@ -1204,6 +1205,16 @@ interface EventTracking {
|
|
|
1204
1205
|
addBreadcrumb?: (breadcrumb: EventBreadcrumb) => void;
|
|
1205
1206
|
}
|
|
1206
1207
|
|
|
1208
|
+
type ChangelogEntry = {
|
|
1209
|
+
_id?: string;
|
|
1210
|
+
entityId?: string;
|
|
1211
|
+
entityType?: string;
|
|
1212
|
+
changeObject?: unknown;
|
|
1213
|
+
};
|
|
1214
|
+
declare const useChangelogRefresh: () => {
|
|
1215
|
+
refreshChangelogEntries: (entries: ChangelogEntry[], client: any) => Promise<void>;
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1207
1218
|
interface BaseQuillProviderProps {
|
|
1208
1219
|
publicKey: string;
|
|
1209
1220
|
theme?: QuillTheme;
|
|
@@ -1213,6 +1224,7 @@ interface BaseQuillProviderProps {
|
|
|
1213
1224
|
getAuthorizationToken?: () => Promise<string>;
|
|
1214
1225
|
eventTracking?: EventTracking | null;
|
|
1215
1226
|
streamEndpoint?: string;
|
|
1227
|
+
onChangelogs?: (entries: ChangelogEntry[]) => void;
|
|
1216
1228
|
}
|
|
1217
1229
|
interface QuillCloudProviderProps extends BaseQuillProviderProps {
|
|
1218
1230
|
tenants: {
|
|
@@ -1301,7 +1313,7 @@ type QuillProviderProps = QuillCloudProviderProps | SelfHostedProviderProps;
|
|
|
1301
1313
|
* ### Dashboard API
|
|
1302
1314
|
* @see https://docs.quillsql.com/components/quill-provider
|
|
1303
1315
|
*/
|
|
1304
|
-
declare const QuillProvider: ({ tenants, flags, publicKey, queryEndpoint, streamEndpoint, queryHeaders, children, theme, withCredentials, isAdmin, getAuthorizationToken, eventTracking, }: QuillProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1316
|
+
declare const QuillProvider: ({ tenants, flags, publicKey, queryEndpoint, streamEndpoint, queryHeaders, children, theme, withCredentials, isAdmin, getAuthorizationToken, eventTracking, onChangelogs, }: QuillProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1305
1317
|
|
|
1306
1318
|
interface BaseChartProps {
|
|
1307
1319
|
colors?: string[];
|
|
@@ -2732,14 +2744,15 @@ declare const useDashboards: () => {
|
|
|
2732
2744
|
}[] | undefined;
|
|
2733
2745
|
}[] | null;
|
|
2734
2746
|
isLoading: boolean;
|
|
2735
|
-
createDashboard: ({ name, tenantFilters, filters, dateFilter, dashboardOwners, }: {
|
|
2747
|
+
createDashboard: ({ name, tenantFilters, filters, dateFilter, dashboardOwners, clientId, }: {
|
|
2736
2748
|
name: string;
|
|
2737
2749
|
tenantFilters?: InternalDashboardTenantFilter[];
|
|
2738
2750
|
filters: InternalDashboardFilter[];
|
|
2739
2751
|
dashboardOwners: string[];
|
|
2740
2752
|
dateFilter?: InternalDashboardFilter;
|
|
2753
|
+
clientId?: string;
|
|
2741
2754
|
}) => Promise<void>;
|
|
2742
|
-
updateDashboard: (name: string, { newName, filters, tenantFilters, dateFilter, customFilters, tenantKeys, initialCacheDateRange, }: {
|
|
2755
|
+
updateDashboard: (name: string, { newName, filters, tenantFilters, dateFilter, customFilters, tenantKeys, initialCacheDateRange, clientId, }: {
|
|
2743
2756
|
newName: string;
|
|
2744
2757
|
filters: InternalDashboardFilter[];
|
|
2745
2758
|
tenantFilters?: InternalDashboardTenantFilter[];
|
|
@@ -2750,6 +2763,7 @@ declare const useDashboards: () => {
|
|
|
2750
2763
|
startDate: Date;
|
|
2751
2764
|
endDate: Date;
|
|
2752
2765
|
};
|
|
2766
|
+
clientId?: string;
|
|
2753
2767
|
}) => Promise<void>;
|
|
2754
2768
|
deleteDashboard: (name: string) => Promise<void>;
|
|
2755
2769
|
};
|
|
@@ -2797,6 +2811,7 @@ type Table = {
|
|
|
2797
2811
|
isSelectStar: boolean;
|
|
2798
2812
|
displayName: string;
|
|
2799
2813
|
name: string;
|
|
2814
|
+
description?: string;
|
|
2800
2815
|
columns: ColumnInternal[];
|
|
2801
2816
|
viewQuery: string;
|
|
2802
2817
|
customFieldInfo: any;
|
|
@@ -3117,14 +3132,73 @@ declare const useVirtualTables: () => {
|
|
|
3117
3132
|
}>;
|
|
3118
3133
|
};
|
|
3119
3134
|
|
|
3120
|
-
type
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
entityType?: string;
|
|
3135
|
+
type ClientFeatures = {
|
|
3136
|
+
cloudCache?: boolean;
|
|
3137
|
+
[key: string]: boolean | undefined;
|
|
3124
3138
|
};
|
|
3125
|
-
|
|
3126
|
-
|
|
3139
|
+
type QuillProviderClient = {
|
|
3140
|
+
name: string;
|
|
3141
|
+
clientId: string;
|
|
3142
|
+
publicKey: string;
|
|
3143
|
+
queryEndpoint: string;
|
|
3144
|
+
streamEndpoint?: string;
|
|
3145
|
+
queryHeaders?: HeadersInit;
|
|
3146
|
+
withCredentials: boolean;
|
|
3147
|
+
databaseType?: string;
|
|
3148
|
+
features?: ClientFeatures;
|
|
3149
|
+
featureFlags?: {
|
|
3150
|
+
[key: string]: boolean;
|
|
3151
|
+
};
|
|
3152
|
+
/** @deprecated Use clerkOrgId instead */
|
|
3153
|
+
domainName?: string;
|
|
3154
|
+
clerkOrgId: string;
|
|
3155
|
+
allTenantTypes?: QuillTenant[];
|
|
3156
|
+
defaultDashboard?: {
|
|
3157
|
+
name: string;
|
|
3158
|
+
owner: string;
|
|
3159
|
+
};
|
|
3160
|
+
schemaNames?: string[];
|
|
3127
3161
|
};
|
|
3162
|
+
type QuillTenant = {
|
|
3163
|
+
name: string;
|
|
3164
|
+
tenantField: string;
|
|
3165
|
+
query?: string;
|
|
3166
|
+
mappings?: {
|
|
3167
|
+
[key: string]: {
|
|
3168
|
+
query: string;
|
|
3169
|
+
};
|
|
3170
|
+
};
|
|
3171
|
+
flags?: string[];
|
|
3172
|
+
tenantIds?: {
|
|
3173
|
+
id: string | number;
|
|
3174
|
+
flag: string;
|
|
3175
|
+
label: string;
|
|
3176
|
+
}[];
|
|
3177
|
+
scope: 'row' | 'schema' | 'database';
|
|
3178
|
+
defaultId?: string | number;
|
|
3179
|
+
fieldType?: 'string' | 'number' | 'none';
|
|
3180
|
+
};
|
|
3181
|
+
|
|
3182
|
+
interface QuillFetchOptions {
|
|
3183
|
+
client: Pick<QuillProviderClient, 'clientId' | 'queryEndpoint' | 'queryHeaders' | 'withCredentials'>;
|
|
3184
|
+
task: string;
|
|
3185
|
+
method?: string;
|
|
3186
|
+
metadata: any;
|
|
3187
|
+
abortSignal?: AbortSignal;
|
|
3188
|
+
credentials?: RequestCredentials;
|
|
3189
|
+
urlParameters?: string;
|
|
3190
|
+
adminMode?: boolean;
|
|
3191
|
+
getToken: () => Promise<string>;
|
|
3192
|
+
}
|
|
3193
|
+
interface QuillResults {
|
|
3194
|
+
data?: any;
|
|
3195
|
+
queries?: any;
|
|
3196
|
+
status?: string;
|
|
3197
|
+
error?: string;
|
|
3198
|
+
message?: string;
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
declare const quillFetch: ({ client, task, method, metadata, abortSignal, credentials, urlParameters, getToken, }: QuillFetchOptions) => Promise<QuillResults>;
|
|
3128
3202
|
|
|
3129
3203
|
declare const downloadCSV: (data: {
|
|
3130
3204
|
rows: any[];
|
|
@@ -3692,4 +3766,4 @@ interface ReportTableProps {
|
|
|
3692
3766
|
}
|
|
3693
3767
|
declare const ReportTable: ({ reportBuilder, TableComponent, }: ReportTableProps) => react_jsx_runtime.JSX.Element;
|
|
3694
3768
|
|
|
3695
|
-
export { ALL_TENANTS, AddColumns, AddFilters, AddLimit, AddPivot, AddSort, type AxisFormat, type ButtonComponentProps, Calculation, type ChangelogEntry, Chart, ChartDisplay, ChartEditor, type ChartEditorProps, type ChartProps, Chat, type ChatProps, type CheckboxComponentProps, type ColorMapType, type Column$1 as Column, type ContainerComponentProps, Dashboard, type DashboardDateFilter, type DashboardFilter, DashboardFilterType, DashboardLegacy, type DashboardLegacyProps, type DashboardMultiFilter, type DashboardProps, type DashboardSectionComponentProps, type DashboardSingleFilter, type DashboardTenantFilter, DateOperator, type DateRange, type DateRangePickerComponentProps, type DateRangePickerOption, type DeleteButtonComponentProps, type DraggableColumnComponentProps, type EventBreadcrumb, type EventContext, type EventError, type EventMetadata, type EventTracking, type EventUser, type Filter, type FilterPopoverComponentProps, FilterType, type HeaderComponentProps, type HeaderProps, type InternalDashboardDateFilter, type InternalDashboardTenantFilter, type InternalFilter, type LabelComponentProps, type LimitPopoverComponentProps, type ModalComponentProps, NullOperator, NumberOperator, type Option, type Pivot, type PopoverComponentProps, type QuillCustomInterval, type QuillCustomRelativeInterval, type QuillCustomRepeatingInterval, type QuillCustomStaticInterval, type QuillPreviousMonthInterval, type QuillPreviousQuarterInterval, QuillProvider, type QuillProviderProps, type QuillReport, type QuillReportProps, type QuillTheme, type QuillWeekInterval, ReportBuilder$1 as ReportBuilder, type ReportBuilderColumn, type ReportBuilderLimit, type ReportBuilderProps, type ReportBuilderSort, type ReportBuilderState, ReportTable, SINGLE_TENANT, SQLEditor, type SQLEditorProps, SaveReport, SchemaListComponent, type SelectColumnComponentProps, type SelectComponentProps, type SidebarComponentProps, type SidebarHeadingComponentProps, type SortPopoverComponentProps, StaticChart, type StaticChartProps, StringOperator, Table$1 as Table, type TableComponentProps, type TableProps, type TabsComponentProps, type TextComponentProps, type TextInputComponentProps, ThemeContext, downloadCSV, quillFormat as format, useAllReports, useAskQuill, useChangelogRefresh, useDashboard, useDashboardInternal, useDashboardReport, useDashboardReports, useDashboards, useExport, useForm, useMemoizedRows, useQuill, useReportBuilder, useReports, useTenants, useVirtualTables };
|
|
3769
|
+
export { ALL_TENANTS, AddColumns, AddFilters, AddLimit, AddPivot, AddSort, type AxisFormat, type ButtonComponentProps, Calculation, type ChangelogEntry, Chart, ChartDisplay, ChartEditor, type ChartEditorProps, type ChartProps, Chat, type ChatProps, type CheckboxComponentProps, type ColorMapType, type Column$1 as Column, type ContainerComponentProps, Dashboard, type DashboardDateFilter, type DashboardFilter, DashboardFilterType, DashboardLegacy, type DashboardLegacyProps, type DashboardMultiFilter, type DashboardProps, type DashboardSectionComponentProps, type DashboardSingleFilter, type DashboardTenantFilter, DateOperator, type DateRange, type DateRangePickerComponentProps, type DateRangePickerOption, type DeleteButtonComponentProps, type DraggableColumnComponentProps, type EventBreadcrumb, type EventContext, type EventError, type EventMetadata, type EventTracking, type EventUser, type Filter, type FilterPopoverComponentProps, FilterType, type HeaderComponentProps, type HeaderProps, type InternalDashboardDateFilter, type InternalDashboardTenantFilter, type InternalFilter, type LabelComponentProps, type LimitPopoverComponentProps, type ModalComponentProps, NullOperator, NumberOperator, type Option, type Pivot, type PopoverComponentProps, type QuillCustomInterval, type QuillCustomRelativeInterval, type QuillCustomRepeatingInterval, type QuillCustomStaticInterval, type QuillFetchOptions, type QuillPreviousMonthInterval, type QuillPreviousQuarterInterval, QuillProvider, type QuillProviderProps, type QuillReport, type QuillReportProps, type QuillResults, type QuillTheme, type QuillWeekInterval, ReportBuilder$1 as ReportBuilder, type ReportBuilderColumn, type ReportBuilderLimit, type ReportBuilderProps, type ReportBuilderSort, type ReportBuilderState, ReportTable, SINGLE_TENANT, SQLEditor, type SQLEditorProps, SaveReport, SchemaListComponent, type SelectColumnComponentProps, type SelectComponentProps, type SidebarComponentProps, type SidebarHeadingComponentProps, type SortPopoverComponentProps, StaticChart, type StaticChartProps, StringOperator, Table$1 as Table, type TableComponentProps, type TableProps, type TabsComponentProps, type TextComponentProps, type TextInputComponentProps, ThemeContext, downloadCSV, quillFormat as format, quillFetch, useAllReports, useAskQuill, useChangelogRefresh, useDashboard, useDashboardInternal, useDashboardReport, useDashboardReports, useDashboards, useExport, useForm, useMemoizedRows, useQuill, useReportBuilder, useReports, useTenants, useVirtualTables };
|