react-semaphor 0.0.399 → 0.0.401
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/chunks/{index-CdM_qEx2.js → index-BQjgev3I.js} +5 -0
- package/dist/chunks/{index-CW6yUvdJ.js → index-BsAoJTv_.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +932 -912
- package/dist/types/dashboard.d.ts +8 -0
- package/dist/types/main.d.ts +14 -1
- package/dist/types/surfboard.d.ts +8 -0
- package/dist/types/types.d.ts +8 -0
- package/package.json +1 -1
|
@@ -114,6 +114,13 @@ export declare type DateOptions = {
|
|
|
114
114
|
|
|
115
115
|
export declare type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
|
|
116
116
|
|
|
117
|
+
export declare type EmailSettings = {
|
|
118
|
+
companyName: string;
|
|
119
|
+
dashboardUrl: string;
|
|
120
|
+
supportEmail: string;
|
|
121
|
+
senderTitle: string;
|
|
122
|
+
};
|
|
123
|
+
|
|
117
124
|
export declare type ErrorProps = {
|
|
118
125
|
message?: string;
|
|
119
126
|
};
|
|
@@ -416,6 +423,7 @@ export declare type TDashboard = {
|
|
|
416
423
|
aiScopeTables?: AIScopeTable[];
|
|
417
424
|
globalStyle?: TStyle;
|
|
418
425
|
globalCacheConfig?: CacheConfig;
|
|
426
|
+
emailSettings?: EmailSettings;
|
|
419
427
|
};
|
|
420
428
|
|
|
421
429
|
export declare type TDataColumn = {
|
package/dist/types/main.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { ChartConfiguration } from 'chart.js';
|
|
|
5
5
|
import { CustomCard as CustomCard_2 } from '..';
|
|
6
6
|
import { DateRange } from 'react-day-picker';
|
|
7
7
|
import { default as default_2 } from 'react-grid-layout';
|
|
8
|
+
import { EmailSettings as EmailSettings_2 } from '..';
|
|
8
9
|
import { FontSpec } from 'chart.js';
|
|
9
10
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
10
11
|
import { QueryObserverResult } from '@tanstack/query-core';
|
|
@@ -19,6 +20,7 @@ import { WritableDraft } from 'immer';
|
|
|
19
20
|
declare type Actions = {
|
|
20
21
|
setInitStore: () => void;
|
|
21
22
|
setGlobalStyle: (style: TStyle) => void;
|
|
23
|
+
updateEmailSettings: (emailSettings: EmailSettings) => void;
|
|
22
24
|
setIsDownloadingPdf: (isDownloadingPdf: boolean) => void;
|
|
23
25
|
setLenses: (lenses: TLens[]) => void;
|
|
24
26
|
setSelectedLensId: (lensId: string) => void;
|
|
@@ -339,6 +341,13 @@ declare type EditorStore = {
|
|
|
339
341
|
onClose?: () => void;
|
|
340
342
|
};
|
|
341
343
|
|
|
344
|
+
export declare type EmailSettings = {
|
|
345
|
+
companyName: string;
|
|
346
|
+
dashboardUrl: string;
|
|
347
|
+
supportEmail: string;
|
|
348
|
+
senderTitle: string;
|
|
349
|
+
};
|
|
350
|
+
|
|
342
351
|
export declare type ErrorProps = {
|
|
343
352
|
message?: string;
|
|
344
353
|
};
|
|
@@ -409,6 +418,7 @@ export declare function getDashbaordStateWithoutData(dashboardState: TDashboard)
|
|
|
409
418
|
aiScopeTables?: AIScopeTable_2[];
|
|
410
419
|
globalStyle?: TStyle_2;
|
|
411
420
|
globalCacheConfig?: CacheConfig_2;
|
|
421
|
+
emailSettings?: EmailSettings_2;
|
|
412
422
|
};
|
|
413
423
|
|
|
414
424
|
export declare type GetDashboardResponse = {
|
|
@@ -509,7 +519,9 @@ export declare function resolveDatamodelName(datamodelName: string): string;
|
|
|
509
519
|
|
|
510
520
|
export declare const resolveDataType: (value: any) => string;
|
|
511
521
|
|
|
512
|
-
export declare function ScheduleDashboard(
|
|
522
|
+
export declare function ScheduleDashboard({ triggerButtonClassName, }: {
|
|
523
|
+
triggerButtonClassName?: string;
|
|
524
|
+
}): JSX_2.Element;
|
|
513
525
|
|
|
514
526
|
export declare function SelectComponent({ title, items, value, isLoading, isError, refetch, connectionTooltip, onChange, showNone, className, showIcon, disabled, type, }: SelectProps): JSX_2.Element;
|
|
515
527
|
|
|
@@ -734,6 +746,7 @@ export declare type TDashboard = {
|
|
|
734
746
|
aiScopeTables?: AIScopeTable[];
|
|
735
747
|
globalStyle?: TStyle;
|
|
736
748
|
globalCacheConfig?: CacheConfig;
|
|
749
|
+
emailSettings?: EmailSettings;
|
|
737
750
|
};
|
|
738
751
|
|
|
739
752
|
export declare type TDataColumn = {
|
|
@@ -117,6 +117,13 @@ export declare type DateOptions = {
|
|
|
117
117
|
|
|
118
118
|
export declare type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
|
|
119
119
|
|
|
120
|
+
export declare type EmailSettings = {
|
|
121
|
+
companyName: string;
|
|
122
|
+
dashboardUrl: string;
|
|
123
|
+
supportEmail: string;
|
|
124
|
+
senderTitle: string;
|
|
125
|
+
};
|
|
126
|
+
|
|
120
127
|
export declare type ErrorProps = {
|
|
121
128
|
message?: string;
|
|
122
129
|
};
|
|
@@ -421,6 +428,7 @@ export declare type TDashboard = {
|
|
|
421
428
|
aiScopeTables?: AIScopeTable[];
|
|
422
429
|
globalStyle?: TStyle;
|
|
423
430
|
globalCacheConfig?: CacheConfig;
|
|
431
|
+
emailSettings?: EmailSettings;
|
|
424
432
|
};
|
|
425
433
|
|
|
426
434
|
export declare type TDataColumn = {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -111,6 +111,13 @@ export declare type DateOptions = {
|
|
|
111
111
|
|
|
112
112
|
export declare type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
|
|
113
113
|
|
|
114
|
+
export declare type EmailSettings = {
|
|
115
|
+
companyName: string;
|
|
116
|
+
dashboardUrl: string;
|
|
117
|
+
supportEmail: string;
|
|
118
|
+
senderTitle: string;
|
|
119
|
+
};
|
|
120
|
+
|
|
114
121
|
export declare type ErrorProps = {
|
|
115
122
|
message?: string;
|
|
116
123
|
};
|
|
@@ -413,6 +420,7 @@ export declare type TDashboard = {
|
|
|
413
420
|
aiScopeTables?: AIScopeTable[];
|
|
414
421
|
globalStyle?: TStyle;
|
|
415
422
|
globalCacheConfig?: CacheConfig;
|
|
423
|
+
emailSettings?: EmailSettings;
|
|
416
424
|
};
|
|
417
425
|
|
|
418
426
|
export declare type TDataColumn = {
|