react-semaphor 0.0.126 → 0.0.128
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/2DAFLIRC-BU3qEWYB.js +9088 -0
- package/dist/index-ta96B1lY.js +56448 -0
- package/dist/react-semaphor.d.ts +6 -6
- package/dist/react-semaphor.js +33 -53967
- package/dist/react-semaphor.umd.cjs +1235 -145
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/react-semaphor.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ export declare type DashboardProps = {
|
|
|
210
210
|
};
|
|
211
211
|
|
|
212
212
|
export declare function DashboardProvider({ children }: {
|
|
213
|
-
children:
|
|
213
|
+
children: React_2.ReactNode;
|
|
214
214
|
}): JSX_2.Element;
|
|
215
215
|
|
|
216
216
|
export declare type DashboardStore = {
|
|
@@ -352,6 +352,8 @@ export declare type LoadingProps = {
|
|
|
352
352
|
|
|
353
353
|
export declare const NUMBER_DATA_TYPES: string[];
|
|
354
354
|
|
|
355
|
+
declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
|
|
356
|
+
|
|
355
357
|
declare type Params = {
|
|
356
358
|
[key: string]: string | number | string[] | number[];
|
|
357
359
|
};
|
|
@@ -376,10 +378,6 @@ declare type SelectProps = {
|
|
|
376
378
|
showIcon?: boolean;
|
|
377
379
|
};
|
|
378
380
|
|
|
379
|
-
export declare function SemaphorQueryClient({ children, }: {
|
|
380
|
-
children: React.ReactNode;
|
|
381
|
-
}): JSX_2.Element;
|
|
382
|
-
|
|
383
381
|
export declare type SqlGen = {
|
|
384
382
|
measures?: {
|
|
385
383
|
name: string;
|
|
@@ -538,6 +536,7 @@ declare type TFilter = {
|
|
|
538
536
|
table: string;
|
|
539
537
|
database: string;
|
|
540
538
|
sql: string;
|
|
539
|
+
operation: Operation;
|
|
541
540
|
};
|
|
542
541
|
|
|
543
542
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
@@ -937,6 +936,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
937
936
|
table: string;
|
|
938
937
|
database: string;
|
|
939
938
|
sql: string;
|
|
939
|
+
operation: Operation;
|
|
940
940
|
}[] | undefined;
|
|
941
941
|
customCards?: ({
|
|
942
942
|
cardId: string;
|
|
@@ -1157,7 +1157,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
1157
1157
|
|
|
1158
1158
|
export declare const useEditorActions: () => Actions_2;
|
|
1159
1159
|
|
|
1160
|
-
export declare function useEditorAside(token?: AuthToken,
|
|
1160
|
+
export declare function useEditorAside(token?: AuthToken, _connectionQueryKey?: string): {
|
|
1161
1161
|
connectionItems: any;
|
|
1162
1162
|
isConnectionsLoading: boolean;
|
|
1163
1163
|
isConnectionsError: boolean;
|