react-semaphor 0.1.383 → 0.1.385

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.
@@ -651,6 +651,8 @@ export declare type SemaphorControlRole = 'grain' | 'measure' | 'dimension' | 'a
651
651
  export declare type SemaphorDataAppDebugConfig = boolean | {
652
652
  enabled?: boolean;
653
653
  exposeWindowBridge?: boolean;
654
+ autoRenderDevtools?: boolean | SemaphorDataAppDevtoolsUiConfig;
655
+ requestServerDebug?: boolean;
654
656
  maxQueries?: number;
655
657
  maxEventsPerQuery?: number;
656
658
  };
@@ -671,6 +673,12 @@ export declare type SemaphorDataAppDevtoolsState = {
671
673
  getQueries(queryId: string): SemaphorDataAppTrace[];
672
674
  };
673
675
 
676
+ export declare type SemaphorDataAppDevtoolsUiConfig = {
677
+ buttonPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'relative';
678
+ initialIsOpen?: boolean;
679
+ panelPosition?: 'bottom' | 'right';
680
+ };
681
+
674
682
  export declare type SemaphorDataAppDevtoolsWindowBridge = {
675
683
  snapshot(): SemaphorDataAppDevtoolsState;
676
684
  getQuery(queryId: string): SemaphorDataAppTrace | undefined;
@@ -685,6 +693,15 @@ export declare type SemaphorDataAppProviderProps = SemaphorQueryExecutorContext
685
693
  children: ReactNode;
686
694
  };
687
695
 
696
+ export declare type SemaphorDataAppSourceHint = {
697
+ file?: string;
698
+ line?: number;
699
+ column?: number;
700
+ exportName?: string;
701
+ component?: string;
702
+ note?: string;
703
+ };
704
+
688
705
  export declare type SemaphorDataAppTrace = {
689
706
  traceId: string;
690
707
  viewId?: string;
@@ -693,6 +710,7 @@ export declare type SemaphorDataAppTrace = {
693
710
  queryKind: SemaphorQueryDefinition['queryKind'];
694
711
  builder: 'semaphor.metric' | 'semaphor.records' | 'semaphor.matrix' | 'semaphor.analysis' | 'semaphor.inputOptions' | 'semaphor.sql';
695
712
  sourceRefs: SemaphorSourceRef[];
713
+ sourceHints?: SemaphorDataAppSourceHint[];
696
714
  projectionFieldRefs?: SemaphorFieldRef[];
697
715
  inputFieldRefs?: SemaphorFieldRef[];
698
716
  fieldRefs: SemaphorFieldRef[];
@@ -1305,6 +1323,8 @@ declare type SemaphorProtocolVersion = 1;
1305
1323
  export declare type SemaphorQueryDebugOptions = {
1306
1324
  viewId?: string;
1307
1325
  title?: string;
1326
+ sourceHint?: SemaphorDataAppSourceHint;
1327
+ sourceHints?: SemaphorDataAppSourceHint[];
1308
1328
  };
1309
1329
 
1310
1330
  export declare type SemaphorQueryDefinition = SemaphorMetricQueryDefinition | SemaphorAnalysisQueryDefinition | SemaphorRecordsQueryDefinition | SemaphorInputOptionsQueryDefinition | SemaphorSqlQueryDefinition | SemaphorMatrixQueryDefinition;
@@ -1324,6 +1344,7 @@ export declare type SemaphorQueryExecutorContext = {
1324
1344
  token?: string;
1325
1345
  apiBaseUrl?: string;
1326
1346
  activeInputs?: SemaphorActiveInput[];
1347
+ debug?: SemaphorDataAppDebugConfig;
1327
1348
  };
1328
1349
 
1329
1350
  export declare type SemaphorQueryField = SemaphorFieldRef;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.383",
8
+ "version": "0.1.385",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",