react-semaphor 0.1.398 → 0.1.399

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.
Files changed (51) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +2 -2
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +2 -2
  5. package/dist/chunks/analyze-result-contract-CUO5QmqV.js +1797 -0
  6. package/dist/chunks/analyze-result-contract-OqFtOCpZ.js +1 -0
  7. package/dist/chunks/{calendar-preferences-dialog-49fcEPXS.js → calendar-preferences-dialog-9SvYDLp6.js} +3 -3
  8. package/dist/chunks/{calendar-preferences-dialog-DwLeBLy2.js → calendar-preferences-dialog-B3fnFtJt.js} +1 -1
  9. package/dist/chunks/{dashboard-briefing-launcher-cgPKz1yX.js → dashboard-briefing-launcher-APVyc9al.js} +4 -4
  10. package/dist/chunks/{dashboard-briefing-launcher-CgkSKkZR.js → dashboard-briefing-launcher-D3R4R7ww.js} +1 -1
  11. package/dist/chunks/{dashboard-controls-VMFm3OP4.js → dashboard-controls-CHDQlMZ9.js} +5 -5
  12. package/dist/chunks/{dashboard-controls-D12ZSUP_.js → dashboard-controls-v7jslCXR.js} +1 -1
  13. package/dist/chunks/{dashboard-json-C-GG5yC7.js → dashboard-json-DF_syvRu.js} +3 -3
  14. package/dist/chunks/{dashboard-json-CvK0oI24.js → dashboard-json-L1Qo5xcX.js} +1 -1
  15. package/dist/chunks/{edit-dashboard-visual-B5KB7dx4.js → edit-dashboard-visual-DwfIWUe-.js} +4 -4
  16. package/dist/chunks/{edit-dashboard-visual-ql99faTz.js → edit-dashboard-visual-qdruQruO.js} +1 -1
  17. package/dist/chunks/{index-CQmKDEbe.js → index-BdVymLVq.js} +5 -5
  18. package/dist/chunks/{index-DXCBPLDu.js → index-DH7hOGQl.js} +2 -2
  19. package/dist/chunks/{switch-BXQAlSuW.js → switch-BiU6-YSY.js} +1 -1
  20. package/dist/chunks/{switch-B79Hn4Qh.js → switch-CYG3dY8r.js} +1 -1
  21. package/dist/chunks/{use-create-flow-overlay-state-Bw5LRkf9.js → use-create-flow-overlay-state-CwUkhLBL.js} +3 -3
  22. package/dist/chunks/{use-create-flow-overlay-state-7MFN3PWX.js → use-create-flow-overlay-state-qe7DHQKr.js} +1 -1
  23. package/dist/chunks/{validators-4EGCWWga.js → validators-B1Mgdr3T.js} +279 -242
  24. package/dist/chunks/{validators-CPtkrola.js → validators-DFOX0tYY.js} +1 -1
  25. package/dist/dashboard/index.cjs +1 -1
  26. package/dist/dashboard/index.js +1 -1
  27. package/dist/dashboard-authoring/index.cjs +1 -1
  28. package/dist/dashboard-authoring/index.js +2 -2
  29. package/dist/data-app-builder/index.cjs +1 -1
  30. package/dist/data-app-builder/index.js +2 -2
  31. package/dist/data-app-sdk/index.cjs +2 -2
  32. package/dist/data-app-sdk/index.js +3 -2
  33. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  34. package/dist/data-app-sdk-adapters/index.js +20 -12
  35. package/dist/data-app-sdk-validation/index.cjs +1 -1
  36. package/dist/data-app-sdk-validation/index.js +2 -2
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.js +7 -7
  39. package/dist/surfboard/index.cjs +1 -1
  40. package/dist/surfboard/index.js +2 -2
  41. package/dist/types/analytics-protocol.d.ts +101 -2
  42. package/dist/types/dashboard-assistant.d.ts +14 -0
  43. package/dist/types/dashboard-authoring.d.ts +6 -0
  44. package/dist/types/data-app-builder.d.ts +6 -0
  45. package/dist/types/data-app-sdk-adapters.d.ts +7 -0
  46. package/dist/types/data-app-sdk-validation.d.ts +15 -0
  47. package/dist/types/data-app-sdk.d.ts +18 -0
  48. package/dist/types/main.d.ts +6 -0
  49. package/package.json +1 -1
  50. package/dist/chunks/analyze-result-contract-C9Gv2_qW.js +0 -1585
  51. package/dist/chunks/analyze-result-contract-Zgg-Bbpj.js +0 -1
@@ -1465,6 +1465,7 @@ declare type SemaphorRecordsBaseQuerySpec = SemaphorQuerySourceSpec & SemaphorAp
1465
1465
  relationshipHint?: SemaphorRelationshipHint;
1466
1466
  limit?: number;
1467
1467
  pagination?: SemaphorPaginationRequest;
1468
+ totals?: SemaphorRecordsIntent['totals'];
1468
1469
  };
1469
1470
 
1470
1471
  export declare type SemaphorRecordsField = SemaphorFieldRef & {
@@ -1491,6 +1492,7 @@ declare type SemaphorRecordsIntent = {
1491
1492
  inputs?: SemaphorInputBinding[];
1492
1493
  relationshipHint?: SemaphorRelationshipHint;
1493
1494
  derivedFields?: SemaphorDerivedFieldDefinition[];
1495
+ totals?: SemaphorRecordsServerTotalsRequest;
1494
1496
  };
1495
1497
 
1496
1498
  export declare type SemaphorRecordsOrderBy = SemaphorQueryOrderBy;
@@ -1500,6 +1502,9 @@ export declare type SemaphorRecordsPayload<TRecord extends Record<string, unknow
1500
1502
  columns?: SemaphorResultColumn[];
1501
1503
  rowCount?: number;
1502
1504
  pagination?: SemaphorPaginationMetadata;
1505
+ totals?: Extract<NonNullable<SemaphorAnalyticsExecutionResult['result']>, {
1506
+ kind: 'records';
1507
+ }>['totals'];
1503
1508
  executionResult?: SemaphorAnalyticsExecutionResult;
1504
1509
  };
1505
1510
 
@@ -1518,12 +1523,25 @@ declare type SemaphorRecordsResult = SemaphorAnalyticsResultBase & {
1518
1523
  kind: 'records';
1519
1524
  columns: SemaphorResultColumn[];
1520
1525
  records: Array<Record<string, unknown>>;
1526
+ totals?: SemaphorRecordsServerTotalsResult;
1521
1527
  };
1522
1528
 
1523
1529
  declare type SemaphorRecordsSelectorSpec = {
1524
1530
  fields: SemaphorNonEmptyArray<SemaphorRecordsField>;
1525
1531
  };
1526
1532
 
1533
+ declare type SemaphorRecordsServerTotalsRequest = {
1534
+ mode: 'server';
1535
+ measures: SemaphorFieldRef[];
1536
+ };
1537
+
1538
+ declare type SemaphorRecordsServerTotalsResult = {
1539
+ mode: 'server';
1540
+ scope: 'filtered_result';
1541
+ row: Record<string, unknown>;
1542
+ columns?: SemaphorResultColumn[];
1543
+ };
1544
+
1527
1545
  declare type SemaphorRelationshipDiagnostics = {
1528
1546
  status: SemaphorRelationshipDiagnosticStatus;
1529
1547
  requiredSources?: SemaphorSourceRef[];
@@ -5191,6 +5191,12 @@ declare type SemaphorRecordsIntent = {
5191
5191
  inputs?: SemaphorInputBinding[];
5192
5192
  relationshipHint?: SemaphorRelationshipHint;
5193
5193
  derivedFields?: SemaphorDerivedFieldDefinition[];
5194
+ totals?: SemaphorRecordsServerTotalsRequest;
5195
+ };
5196
+
5197
+ declare type SemaphorRecordsServerTotalsRequest = {
5198
+ mode: 'server';
5199
+ measures: SemaphorFieldRef[];
5194
5200
  };
5195
5201
 
5196
5202
  declare type SemaphorRelationshipHint = {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.398",
8
+ "version": "0.1.399",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",