@quillsql/react 2.16.27 → 2.16.28
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 +276 -267
- package/dist/index.d.cts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +277 -272
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -770,6 +770,10 @@ interface QuillReportInternal extends QuillReport {
|
|
|
770
770
|
flags?: {
|
|
771
771
|
[tenantField: string]: string[] | 'QUILL_ALL_TENANTS';
|
|
772
772
|
};
|
|
773
|
+
/** Indicates whether this report can be cached. */
|
|
774
|
+
isCacheable?: boolean;
|
|
775
|
+
/** Reason why this report query cannot be cached. */
|
|
776
|
+
isCacheableReason?: string;
|
|
773
777
|
/**
|
|
774
778
|
* ReportBuilderState used for ReportBuilder reports.
|
|
775
779
|
* When present, backend will generate SQL from this state instead of using queryString.
|
|
@@ -2620,9 +2624,11 @@ declare const useDashboards: () => {
|
|
|
2620
2624
|
};
|
|
2621
2625
|
declare const useDashboard: (dashboardName: string, config?: {
|
|
2622
2626
|
pageSize?: number;
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2627
|
+
frontendCacheConfig?: {
|
|
2628
|
+
cacheType: "memory" | "indexedDB";
|
|
2629
|
+
showCacheLogs?: boolean;
|
|
2630
|
+
};
|
|
2631
|
+
disableBackendCache?: boolean;
|
|
2626
2632
|
}) => {
|
|
2627
2633
|
isLoading: boolean;
|
|
2628
2634
|
sections: Record<string, QuillReport[]> | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -770,6 +770,10 @@ interface QuillReportInternal extends QuillReport {
|
|
|
770
770
|
flags?: {
|
|
771
771
|
[tenantField: string]: string[] | 'QUILL_ALL_TENANTS';
|
|
772
772
|
};
|
|
773
|
+
/** Indicates whether this report can be cached. */
|
|
774
|
+
isCacheable?: boolean;
|
|
775
|
+
/** Reason why this report query cannot be cached. */
|
|
776
|
+
isCacheableReason?: string;
|
|
773
777
|
/**
|
|
774
778
|
* ReportBuilderState used for ReportBuilder reports.
|
|
775
779
|
* When present, backend will generate SQL from this state instead of using queryString.
|
|
@@ -2620,9 +2624,11 @@ declare const useDashboards: () => {
|
|
|
2620
2624
|
};
|
|
2621
2625
|
declare const useDashboard: (dashboardName: string, config?: {
|
|
2622
2626
|
pageSize?: number;
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2627
|
+
frontendCacheConfig?: {
|
|
2628
|
+
cacheType: "memory" | "indexedDB";
|
|
2629
|
+
showCacheLogs?: boolean;
|
|
2630
|
+
};
|
|
2631
|
+
disableBackendCache?: boolean;
|
|
2626
2632
|
}) => {
|
|
2627
2633
|
isLoading: boolean;
|
|
2628
2634
|
sections: Record<string, QuillReport[]> | null;
|