@malloy-publisher/sdk 0.0.159 → 0.0.161
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/client/api.d.ts +6 -0
- package/dist/components/Package/Package.d.ts +5 -1
- package/dist/index.cjs.js +13 -13
- package/dist/index.es.js +1603 -1596
- package/package.json +1 -1
- package/src/components/Package/Package.tsx +9 -1
package/dist/client/api.d.ts
CHANGED
|
@@ -814,6 +814,12 @@ export interface QueryRequest {
|
|
|
814
814
|
* @memberof QueryRequest
|
|
815
815
|
*/
|
|
816
816
|
'queryName'?: string;
|
|
817
|
+
/**
|
|
818
|
+
* If true, returns a simple JSON array of row objects in the form {\"columnName\": value}. If false (default), returns the full Malloy result with type metadata for rendering.
|
|
819
|
+
* @type {boolean}
|
|
820
|
+
* @memberof QueryRequest
|
|
821
|
+
*/
|
|
822
|
+
'compactJson'?: boolean;
|
|
817
823
|
/**
|
|
818
824
|
* Version ID
|
|
819
825
|
* @type {string}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RetrievalFunction } from '../filter/DimensionFilter';
|
|
1
3
|
interface PackageProps {
|
|
2
4
|
onClickPackageFile?: (to: string, event?: React.MouseEvent) => void;
|
|
3
5
|
resourceUri: string;
|
|
6
|
+
/** Optional retrieval function for semantic search filters */
|
|
7
|
+
retrievalFn?: RetrievalFunction;
|
|
4
8
|
}
|
|
5
|
-
export default function Package({ onClickPackageFile, resourceUri, }: PackageProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default function Package({ onClickPackageFile, resourceUri, retrievalFn, }: PackageProps): import("react/jsx-runtime").JSX.Element;
|
|
6
10
|
export {};
|