autoql-fe-utils 1.11.4 → 1.11.5
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.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.global.js +5 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -1439,6 +1439,7 @@ interface QueryParams {
|
|
|
1439
1439
|
skipQueryValidation?: boolean;
|
|
1440
1440
|
newColumns?: AdditionalSelect[];
|
|
1441
1441
|
displayOverrides?: DisplayOverride[];
|
|
1442
|
+
force?: boolean;
|
|
1442
1443
|
}
|
|
1443
1444
|
interface DashboardTileQueryParams extends QueryParams {
|
|
1444
1445
|
queryIndex?: number;
|
|
@@ -1460,7 +1461,7 @@ declare const runQueryValidation: ({ text, domain, apiKey, token, cancelToken, }
|
|
|
1460
1461
|
cancelToken?: any;
|
|
1461
1462
|
}) => Promise<axios.AxiosResponse<any, any, {}>>;
|
|
1462
1463
|
declare const runQuery: ({ query, userSelection, userSelectionFinal, translation, test, domain, apiKey, token, source, filters, orders, tableFilters, pageSize, allowSuggestions, cancelToken, enableQueryValidation, skipQueryValidation, scope, newColumns, displayOverrides, }?: QueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any, {}>>;
|
|
1463
|
-
declare const runCachedDashboardQuery: ({ query, domain, apiKey, token, source, orders, tableFilters, allowSuggestions, cancelToken, scope, newColumns, queryIndex, tileKey, dashboardId, }?: DashboardTileQueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any, {}>>;
|
|
1464
|
+
declare const runCachedDashboardQuery: ({ query, domain, apiKey, token, source, orders, tableFilters, allowSuggestions, cancelToken, scope, newColumns, queryIndex, tileKey, dashboardId, force, }?: DashboardTileQueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any, {}>>;
|
|
1464
1465
|
declare const exportCSV: ({ queryId, domain, apiKey, token, csvProgressCallback, }?: {
|
|
1465
1466
|
queryId?: string;
|
|
1466
1467
|
domain?: string;
|
|
@@ -1545,7 +1546,7 @@ declare const fetchExploreQueries: ({ keywords, pageSize, pageNumber, domain, ap
|
|
|
1545
1546
|
token?: string;
|
|
1546
1547
|
skipQueryValidation?: boolean;
|
|
1547
1548
|
}) => Promise<axios.AxiosResponse<any, any, {}>>;
|
|
1548
|
-
declare const reportProblem: ({ message, queryId, domain, apiKey, token, isCorrect }?: {
|
|
1549
|
+
declare const reportProblem: ({ message, queryId, domain, apiKey, token, isCorrect, }?: {
|
|
1549
1550
|
message?: string;
|
|
1550
1551
|
queryId?: string;
|
|
1551
1552
|
domain?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1439,6 +1439,7 @@ interface QueryParams {
|
|
|
1439
1439
|
skipQueryValidation?: boolean;
|
|
1440
1440
|
newColumns?: AdditionalSelect[];
|
|
1441
1441
|
displayOverrides?: DisplayOverride[];
|
|
1442
|
+
force?: boolean;
|
|
1442
1443
|
}
|
|
1443
1444
|
interface DashboardTileQueryParams extends QueryParams {
|
|
1444
1445
|
queryIndex?: number;
|
|
@@ -1460,7 +1461,7 @@ declare const runQueryValidation: ({ text, domain, apiKey, token, cancelToken, }
|
|
|
1460
1461
|
cancelToken?: any;
|
|
1461
1462
|
}) => Promise<axios.AxiosResponse<any, any, {}>>;
|
|
1462
1463
|
declare const runQuery: ({ query, userSelection, userSelectionFinal, translation, test, domain, apiKey, token, source, filters, orders, tableFilters, pageSize, allowSuggestions, cancelToken, enableQueryValidation, skipQueryValidation, scope, newColumns, displayOverrides, }?: QueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any, {}>>;
|
|
1463
|
-
declare const runCachedDashboardQuery: ({ query, domain, apiKey, token, source, orders, tableFilters, allowSuggestions, cancelToken, scope, newColumns, queryIndex, tileKey, dashboardId, }?: DashboardTileQueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any, {}>>;
|
|
1464
|
+
declare const runCachedDashboardQuery: ({ query, domain, apiKey, token, source, orders, tableFilters, allowSuggestions, cancelToken, scope, newColumns, queryIndex, tileKey, dashboardId, force, }?: DashboardTileQueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any, {}>>;
|
|
1464
1465
|
declare const exportCSV: ({ queryId, domain, apiKey, token, csvProgressCallback, }?: {
|
|
1465
1466
|
queryId?: string;
|
|
1466
1467
|
domain?: string;
|
|
@@ -1545,7 +1546,7 @@ declare const fetchExploreQueries: ({ keywords, pageSize, pageNumber, domain, ap
|
|
|
1545
1546
|
token?: string;
|
|
1546
1547
|
skipQueryValidation?: boolean;
|
|
1547
1548
|
}) => Promise<axios.AxiosResponse<any, any, {}>>;
|
|
1548
|
-
declare const reportProblem: ({ message, queryId, domain, apiKey, token, isCorrect }?: {
|
|
1549
|
+
declare const reportProblem: ({ message, queryId, domain, apiKey, token, isCorrect, }?: {
|
|
1549
1550
|
message?: string;
|
|
1550
1551
|
queryId?: string;
|
|
1551
1552
|
domain?: string;
|
package/dist/index.global.js
CHANGED
|
@@ -30258,7 +30258,8 @@
|
|
|
30258
30258
|
newColumns,
|
|
30259
30259
|
queryIndex,
|
|
30260
30260
|
tileKey,
|
|
30261
|
-
dashboardId
|
|
30261
|
+
dashboardId,
|
|
30262
|
+
force
|
|
30262
30263
|
} = {}) => {
|
|
30263
30264
|
if (!dashboardId) {
|
|
30264
30265
|
console.error("No dashboard ID supplied in request");
|
|
@@ -30280,6 +30281,9 @@
|
|
|
30280
30281
|
key: apiKey,
|
|
30281
30282
|
query_index: (queryIndex || 0).toString()
|
|
30282
30283
|
});
|
|
30284
|
+
if (force) {
|
|
30285
|
+
queryParams.set("force", "true");
|
|
30286
|
+
}
|
|
30283
30287
|
const url2 = `${domain}/autoql/api/v1/dashboards/${dashboardId}/tiles/${tileKey}/query?${queryParams.toString()}`;
|
|
30284
30288
|
const config = {
|
|
30285
30289
|
headers: {
|