react-semaphor 0.1.317 → 0.1.319

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 (32) hide show
  1. package/dist/briefings/index.cjs +1 -1
  2. package/dist/briefings/index.js +497 -364
  3. package/dist/chunks/{calendar-preferences-dialog-CUWcN-aO.js → calendar-preferences-dialog-DLKB05SY.js} +1 -1
  4. package/dist/chunks/{calendar-preferences-dialog-DsfRJICT.js → calendar-preferences-dialog-DPaVsZlk.js} +1 -1
  5. package/dist/chunks/{dashboard-briefing-launcher-CvFxCsvU.js → dashboard-briefing-launcher-DR_i0anv.js} +3486 -2614
  6. package/dist/chunks/dashboard-briefing-launcher-F3qKyuGr.js +106 -0
  7. package/dist/chunks/{dashboard-controls-Bvr4skpo.js → dashboard-controls-8J06Ot-K.js} +119 -129
  8. package/dist/chunks/{dashboard-controls-kSIXjX4k.js → dashboard-controls-BNAIucBl.js} +3 -8
  9. package/dist/chunks/{dashboard-json-4qbAgL-4.js → dashboard-json-B_Li7wO5.js} +1 -1
  10. package/dist/chunks/{dashboard-json-CgAgzcWN.js → dashboard-json-DIsACFCO.js} +1 -1
  11. package/dist/chunks/{edit-dashboard-visual-DOTGLbMS.js → edit-dashboard-visual-2CBS2I52.js} +1 -1
  12. package/dist/chunks/{edit-dashboard-visual-BgOLgfoq.js → edit-dashboard-visual-BGnC2DH7.js} +3 -3
  13. package/dist/chunks/{index-BSexp9WY.js → index-DYycYzpZ.js} +290 -289
  14. package/dist/chunks/{index-BToywf5X.js → index-cxoegFH9.js} +75 -75
  15. package/dist/chunks/{resource-management-panel-hQayeERR.js → resource-management-panel-BwNGxqrB.js} +1 -1
  16. package/dist/chunks/{resource-management-panel-CcSUHqz0.js → resource-management-panel-YtbKp2kW.js} +2 -2
  17. package/dist/chunks/{use-create-flow-overlay-state-Cqp5Qe-9.js → use-create-flow-overlay-state-DQZneUXL.js} +1 -1
  18. package/dist/chunks/{use-create-flow-overlay-state-CO6FEpZr.js → use-create-flow-overlay-state-Qnd7FF6L.js} +2 -2
  19. package/dist/chunks/{use-visual-utils-KIYmxQoV.js → use-visual-utils-BdMhr0YR.js} +1 -1
  20. package/dist/chunks/{use-visual-utils-DnJdlEV8.js → use-visual-utils-t73RlvjS.js} +1 -1
  21. package/dist/dashboard/index.cjs +1 -1
  22. package/dist/dashboard/index.js +1 -1
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.js +17 -16
  25. package/dist/style.css +1 -1
  26. package/dist/surfboard/index.cjs +1 -1
  27. package/dist/surfboard/index.js +2 -2
  28. package/dist/types/briefings.d.ts +29 -1
  29. package/dist/types/main.d.ts +32 -1
  30. package/dist/types/types.d.ts +29 -1
  31. package/package.json +1 -1
  32. package/dist/chunks/dashboard-briefing-launcher-DsomUnHQ.js +0 -96
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-BToywf5X.js"),e=require("../chunks/common-types-C73-Ud1-.js"),a=require("../chunks/calendar-preferences-dialog-CUWcN-aO.js");exports.Surfboard=r.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=a.CalendarPreferencesDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-cxoegFH9.js"),e=require("../chunks/common-types-C73-Ud1-.js"),a=require("../chunks/calendar-preferences-dialog-DLKB05SY.js");exports.Surfboard=r.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=a.CalendarPreferencesDialog;
@@ -1,6 +1,6 @@
1
- import { a as e } from "../chunks/index-BSexp9WY.js";
1
+ import { a as e } from "../chunks/index-DYycYzpZ.js";
2
2
  import { C, E } from "../chunks/common-types-4bjoIgvm.js";
3
- import { C as s } from "../chunks/calendar-preferences-dialog-DsfRJICT.js";
3
+ import { C as s } from "../chunks/calendar-preferences-dialog-DPaVsZlk.js";
4
4
  export {
5
5
  C as CONTROL_CARD_DEFAULT_VALUE,
6
6
  s as CalendarPreferencesDialog,
@@ -58,7 +58,7 @@ export declare type BriefingAttachmentSettings = {
58
58
  delimiter?: BriefingCsvDelimiter;
59
59
  includeHeaders?: boolean;
60
60
  useFormattedValues?: boolean;
61
- sheetSelection?: 'current' | 'all';
61
+ sheetSelection?: BriefingSheetSelection;
62
62
  currentSheetId?: string;
63
63
  currentSheetName?: string;
64
64
  filterValues?: unknown[];
@@ -86,10 +86,12 @@ export declare type BriefingBody = {
86
86
  };
87
87
 
88
88
  export declare type BriefingChannelConfig = {
89
+ formatProfile?: BriefingFormatProfile;
89
90
  subjectOverride?: string;
90
91
  titleOverride?: string;
91
92
  summaryOverride?: string;
92
93
  actionBlockVisible?: boolean;
94
+ slackConfig?: BriefingSlackConfig;
93
95
  webhookConfig?: BriefingWebhookConfig;
94
96
  };
95
97
 
@@ -122,6 +124,8 @@ export declare type BriefingDraft = {
122
124
  deliveryConfig?: BriefingDeliveryConfig | null;
123
125
  };
124
126
 
127
+ export declare type BriefingFormatProfile = 'concise' | 'balanced' | 'detailed';
128
+
125
129
  export declare type BriefingJobConfig = {
126
130
  kind: BriefingKind;
127
131
  source: BriefingSource;
@@ -167,6 +171,30 @@ export declare type BriefingRecipient = {
167
171
  groupId: string;
168
172
  };
169
173
 
174
+ export declare type BriefingSheetSelection = 'current' | 'all';
175
+
176
+ export declare type BriefingSlackChannelDestination = {
177
+ type: 'channel';
178
+ channelId: string;
179
+ channelName?: string;
180
+ isPrivate?: boolean;
181
+ };
182
+
183
+ export declare type BriefingSlackConfig = {
184
+ destination: BriefingSlackDestination;
185
+ threadMentions?: BriefingRecipient[];
186
+ postThreadDetail?: boolean;
187
+ includeDashboardLink?: boolean;
188
+ includeBriefingLink?: boolean;
189
+ };
190
+
191
+ export declare type BriefingSlackDestination = BriefingSlackChannelDestination | BriefingSlackDmDestination;
192
+
193
+ export declare type BriefingSlackDmDestination = {
194
+ type: 'dm';
195
+ recipient: BriefingRecipient;
196
+ };
197
+
170
198
  export declare type BriefingSource = {
171
199
  type: 'project';
172
200
  } | {
@@ -596,7 +596,7 @@ export declare type BriefingAttachmentSettings = {
596
596
  delimiter?: BriefingCsvDelimiter;
597
597
  includeHeaders?: boolean;
598
598
  useFormattedValues?: boolean;
599
- sheetSelection?: 'current' | 'all';
599
+ sheetSelection?: BriefingSheetSelection;
600
600
  currentSheetId?: string;
601
601
  currentSheetName?: string;
602
602
  filterValues?: unknown[];
@@ -629,6 +629,7 @@ export declare type BriefingAuthorClient = {
629
629
  previewBriefingPlan: typeof previewBriefingPlan;
630
630
  runBriefingPreview: typeof runBriefingPreview;
631
631
  getBriefingPreviewRun: typeof getBriefingPreviewRun;
632
+ polishBriefingText: typeof polishBriefingText;
632
633
  };
633
634
 
634
635
  export declare type BriefingAuthorProps = {
@@ -685,10 +686,12 @@ export declare type BriefingBody = {
685
686
  };
686
687
 
687
688
  declare type BriefingChannelConfig = {
689
+ formatProfile?: BriefingFormatProfile_2;
688
690
  subjectOverride?: string;
689
691
  titleOverride?: string;
690
692
  summaryOverride?: string;
691
693
  actionBlockVisible?: boolean;
694
+ slackConfig?: BriefingSlackConfig;
692
695
  webhookConfig?: BriefingWebhookConfig;
693
696
  };
694
697
 
@@ -727,6 +730,8 @@ export declare type BriefingDispatchResult = {
727
730
 
728
731
  export declare type BriefingFormatProfile = 'concise' | 'balanced' | 'detailed';
729
732
 
733
+ declare type BriefingFormatProfile_2 = 'concise' | 'balanced' | 'detailed';
734
+
730
735
  export declare type BriefingFormDeliveryDraft = {
731
736
  enabled: boolean;
732
737
  recipients: BriefingRecipient[];
@@ -985,6 +990,30 @@ export declare type BriefingScopeMetadata = {
985
990
  tenantName: string | null;
986
991
  };
987
992
 
993
+ declare type BriefingSheetSelection = 'current' | 'all';
994
+
995
+ declare type BriefingSlackChannelDestination = {
996
+ type: 'channel';
997
+ channelId: string;
998
+ channelName?: string;
999
+ isPrivate?: boolean;
1000
+ };
1001
+
1002
+ declare type BriefingSlackConfig = {
1003
+ destination: BriefingSlackDestination;
1004
+ threadMentions?: BriefingRecipient[];
1005
+ postThreadDetail?: boolean;
1006
+ includeDashboardLink?: boolean;
1007
+ includeBriefingLink?: boolean;
1008
+ };
1009
+
1010
+ declare type BriefingSlackDestination = BriefingSlackChannelDestination | BriefingSlackDmDestination;
1011
+
1012
+ declare type BriefingSlackDmDestination = {
1013
+ type: 'dm';
1014
+ recipient: BriefingRecipient;
1015
+ };
1016
+
988
1017
  export declare type BriefingSource = {
989
1018
  type: 'project';
990
1019
  } | {
@@ -3898,6 +3927,8 @@ export declare type Placeholders = {
3898
3927
 
3899
3928
  export declare type PluginType = 'custom' | 'standard';
3900
3929
 
3930
+ export declare function polishBriefingText(apiServiceUrl: string, token: string, text: string): Promise<string>;
3931
+
3901
3932
  export declare function previewBriefingPlan(apiServiceUrl: string, token: string, payload: CreateBriefingRequest): Promise<PreviewBriefingPlanResponse>;
3902
3933
 
3903
3934
  export declare type PreviewBriefingPlanResponse = {
@@ -219,7 +219,7 @@ export declare type BriefingAttachmentSettings = {
219
219
  delimiter?: BriefingCsvDelimiter;
220
220
  includeHeaders?: boolean;
221
221
  useFormattedValues?: boolean;
222
- sheetSelection?: 'current' | 'all';
222
+ sheetSelection?: BriefingSheetSelection;
223
223
  currentSheetId?: string;
224
224
  currentSheetName?: string;
225
225
  filterValues?: unknown[];
@@ -247,10 +247,12 @@ export declare type BriefingBody = {
247
247
  };
248
248
 
249
249
  declare type BriefingChannelConfig = {
250
+ formatProfile?: BriefingFormatProfile_2;
250
251
  subjectOverride?: string;
251
252
  titleOverride?: string;
252
253
  summaryOverride?: string;
253
254
  actionBlockVisible?: boolean;
255
+ slackConfig?: BriefingSlackConfig;
254
256
  webhookConfig?: BriefingWebhookConfig;
255
257
  };
256
258
 
@@ -289,6 +291,8 @@ export declare type BriefingDispatchResult = {
289
291
 
290
292
  export declare type BriefingFormatProfile = 'concise' | 'balanced' | 'detailed';
291
293
 
294
+ declare type BriefingFormatProfile_2 = 'concise' | 'balanced' | 'detailed';
295
+
292
296
  export declare type BriefingJobConfig = {
293
297
  kind: BriefingKind;
294
298
  source: BriefingSource;
@@ -482,6 +486,30 @@ export declare type BriefingScopeMetadata = {
482
486
  tenantName: string | null;
483
487
  };
484
488
 
489
+ declare type BriefingSheetSelection = 'current' | 'all';
490
+
491
+ declare type BriefingSlackChannelDestination = {
492
+ type: 'channel';
493
+ channelId: string;
494
+ channelName?: string;
495
+ isPrivate?: boolean;
496
+ };
497
+
498
+ declare type BriefingSlackConfig = {
499
+ destination: BriefingSlackDestination;
500
+ threadMentions?: BriefingRecipient[];
501
+ postThreadDetail?: boolean;
502
+ includeDashboardLink?: boolean;
503
+ includeBriefingLink?: boolean;
504
+ };
505
+
506
+ declare type BriefingSlackDestination = BriefingSlackChannelDestination | BriefingSlackDmDestination;
507
+
508
+ declare type BriefingSlackDmDestination = {
509
+ type: 'dm';
510
+ recipient: BriefingRecipient;
511
+ };
512
+
485
513
  export declare type BriefingSource = {
486
514
  type: 'project';
487
515
  } | {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.317",
8
+ "version": "0.1.319",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",