react-semaphor 0.1.318 → 0.1.320
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/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +851 -358
- package/dist/chunks/{calendar-preferences-dialog-DgpoCz1l.js → calendar-preferences-dialog-B7Z8OnuZ.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-DySStYHa.js → calendar-preferences-dialog-CFXQBJ4A.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-BrUNYrwk.js → dashboard-briefing-launcher-DB16djcj.js} +3095 -2391
- package/dist/chunks/dashboard-briefing-launcher-DjDpGyD7.js +106 -0
- package/dist/chunks/{dashboard-controls-CDCpt8iB.js → dashboard-controls-BisfskDD.js} +1 -1
- package/dist/chunks/{dashboard-controls-BJb7QHvl.js → dashboard-controls-DPStW1kd.js} +3 -3
- package/dist/chunks/{dashboard-json-BYEqzs6b.js → dashboard-json-2nyFJ_-w.js} +1 -1
- package/dist/chunks/{dashboard-json-BjFw0Ktj.js → dashboard-json-C8-kkiyT.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-IxtXVkBc.js → edit-dashboard-visual-BP77bJFI.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-VHlDJd5A.js → edit-dashboard-visual-D6oiTlXr.js} +3 -3
- package/dist/chunks/{index-CAWSZGCL.js → index-Clw0hJzi.js} +289 -288
- package/dist/chunks/{index-BhrZn1Zk.js → index-D8eouWYC.js} +75 -75
- package/dist/chunks/{resource-management-panel-X4zxZ4wq.js → resource-management-panel-DTvY5OIq.js} +1 -1
- package/dist/chunks/{resource-management-panel-0OlH_Gze.js → resource-management-panel-HcRJRZHO.js} +2 -2
- package/dist/chunks/{use-create-flow-overlay-state-WYyQFfGQ.js → use-create-flow-overlay-state-75l5mrVp.js} +2 -2
- package/dist/chunks/{use-create-flow-overlay-state-DkZTa6eN.js → use-create-flow-overlay-state-CdCldE6J.js} +1 -1
- package/dist/chunks/{use-visual-utils-C8VR6_Cr.js → use-visual-utils-Bd4Cf9_B.js} +1 -1
- package/dist/chunks/{use-visual-utils-2l8uDXRH.js → use-visual-utils-CMdEUnM5.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +5 -5
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings.d.ts +125 -1
- package/dist/types/main.d.ts +29 -1
- package/dist/types/types.d.ts +29 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-briefing-launcher-Fh6vC1S2.js +0 -101
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-D8eouWYC.js"),e=require("../chunks/common-types-C73-Ud1-.js"),a=require("../chunks/calendar-preferences-dialog-CFXQBJ4A.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;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e } from "../chunks/index-
|
|
1
|
+
import { a as e } from "../chunks/index-Clw0hJzi.js";
|
|
2
2
|
import { C, E } from "../chunks/common-types-4bjoIgvm.js";
|
|
3
|
-
import { C as s } from "../chunks/calendar-preferences-dialog-
|
|
3
|
+
import { C as s } from "../chunks/calendar-preferences-dialog-B7Z8OnuZ.js";
|
|
4
4
|
export {
|
|
5
5
|
C as CONTROL_CARD_DEFAULT_VALUE,
|
|
6
6
|
s as CalendarPreferencesDialog,
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
export declare const BRIEFING_ARTIFACT_FORMATS: readonly ["markdown", "html"];
|
|
2
2
|
|
|
3
|
+
export declare const BRIEFING_CONTENT_LIMITS: {
|
|
4
|
+
readonly maxBlocks: 50;
|
|
5
|
+
readonly maxTableRows: 100;
|
|
6
|
+
readonly maxTableColumns: 20;
|
|
7
|
+
readonly maxTableCellCharacters: 500;
|
|
8
|
+
readonly maxParagraphCharacters: 5000;
|
|
9
|
+
readonly maxFindingCharacters: 5000;
|
|
10
|
+
readonly maxListItems: 100;
|
|
11
|
+
};
|
|
12
|
+
|
|
3
13
|
export declare const BRIEFING_KIND: "BRIEFING";
|
|
4
14
|
|
|
5
15
|
export declare const BRIEFING_TEXT_LIMITS: {
|
|
@@ -7,6 +17,11 @@ export declare const BRIEFING_TEXT_LIMITS: {
|
|
|
7
17
|
readonly description: 2000;
|
|
8
18
|
readonly instruction: 50000;
|
|
9
19
|
readonly customMessage: 50000;
|
|
20
|
+
readonly contentTitle: 500;
|
|
21
|
+
readonly contentSummary: 20000;
|
|
22
|
+
readonly contentText: 5000;
|
|
23
|
+
readonly contentItem: 2000;
|
|
24
|
+
readonly contentCell: 500;
|
|
10
25
|
readonly attachmentTitle: 500;
|
|
11
26
|
readonly presentationAudience: 1000;
|
|
12
27
|
readonly presentationTone: 500;
|
|
@@ -58,7 +73,7 @@ export declare type BriefingAttachmentSettings = {
|
|
|
58
73
|
delimiter?: BriefingCsvDelimiter;
|
|
59
74
|
includeHeaders?: boolean;
|
|
60
75
|
useFormattedValues?: boolean;
|
|
61
|
-
sheetSelection?:
|
|
76
|
+
sheetSelection?: BriefingSheetSelection;
|
|
62
77
|
currentSheetId?: string;
|
|
63
78
|
currentSheetName?: string;
|
|
64
79
|
filterValues?: unknown[];
|
|
@@ -86,13 +101,92 @@ export declare type BriefingBody = {
|
|
|
86
101
|
};
|
|
87
102
|
|
|
88
103
|
export declare type BriefingChannelConfig = {
|
|
104
|
+
formatProfile?: BriefingFormatProfile;
|
|
89
105
|
subjectOverride?: string;
|
|
90
106
|
titleOverride?: string;
|
|
91
107
|
summaryOverride?: string;
|
|
92
108
|
actionBlockVisible?: boolean;
|
|
109
|
+
slackConfig?: BriefingSlackConfig;
|
|
93
110
|
webhookConfig?: BriefingWebhookConfig;
|
|
94
111
|
};
|
|
95
112
|
|
|
113
|
+
export declare type BriefingContentBlock = {
|
|
114
|
+
type: 'heading';
|
|
115
|
+
text: string;
|
|
116
|
+
level?: 2 | 3;
|
|
117
|
+
evidenceIds?: string[];
|
|
118
|
+
} | {
|
|
119
|
+
type: 'paragraph';
|
|
120
|
+
text: string;
|
|
121
|
+
evidenceIds?: string[];
|
|
122
|
+
} | {
|
|
123
|
+
type: 'finding';
|
|
124
|
+
title?: string;
|
|
125
|
+
text: string;
|
|
126
|
+
severity?: BriefingContentSeverity;
|
|
127
|
+
evidenceIds: string[];
|
|
128
|
+
} | {
|
|
129
|
+
type: 'bullets';
|
|
130
|
+
title?: string;
|
|
131
|
+
items: string[];
|
|
132
|
+
evidenceIds?: string[];
|
|
133
|
+
} | {
|
|
134
|
+
type: 'metric';
|
|
135
|
+
label: string;
|
|
136
|
+
value: string | number;
|
|
137
|
+
previousValue?: string | number | null;
|
|
138
|
+
delta?: string | number | null;
|
|
139
|
+
unit?: string;
|
|
140
|
+
evidenceIds?: string[];
|
|
141
|
+
} | BriefingContentTableBlock | {
|
|
142
|
+
type: 'actions';
|
|
143
|
+
title?: string;
|
|
144
|
+
items: string[];
|
|
145
|
+
evidenceIds?: string[];
|
|
146
|
+
} | {
|
|
147
|
+
type: 'limitations';
|
|
148
|
+
title?: string;
|
|
149
|
+
items: string[];
|
|
150
|
+
evidenceIds?: string[];
|
|
151
|
+
} | {
|
|
152
|
+
type: 'evidence_appendix';
|
|
153
|
+
title?: string;
|
|
154
|
+
evidenceIds: string[];
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export declare type BriefingContentColumnAlign = 'left' | 'center' | 'right';
|
|
158
|
+
|
|
159
|
+
export declare type BriefingContentColumnKind = 'text' | 'number' | 'currency' | 'percent' | 'date' | 'boolean';
|
|
160
|
+
|
|
161
|
+
export declare type BriefingContentDocument = {
|
|
162
|
+
version: 1;
|
|
163
|
+
title?: string;
|
|
164
|
+
summary?: string;
|
|
165
|
+
blocks: BriefingContentBlock[];
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export declare type BriefingContentScalar = string | number | boolean | null;
|
|
169
|
+
|
|
170
|
+
export declare type BriefingContentSeverity = 'info' | 'positive' | 'warning' | 'critical';
|
|
171
|
+
|
|
172
|
+
export declare type BriefingContentTableBlock = {
|
|
173
|
+
type: 'table';
|
|
174
|
+
id?: string;
|
|
175
|
+
title?: string;
|
|
176
|
+
columns: BriefingContentTableColumn[];
|
|
177
|
+
rows: Array<Record<string, BriefingContentScalar>>;
|
|
178
|
+
caption?: string;
|
|
179
|
+
totalRows?: number;
|
|
180
|
+
evidenceIds?: string[];
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
export declare type BriefingContentTableColumn = {
|
|
184
|
+
key: string;
|
|
185
|
+
label: string;
|
|
186
|
+
kind?: BriefingContentColumnKind;
|
|
187
|
+
align?: BriefingContentColumnAlign;
|
|
188
|
+
};
|
|
189
|
+
|
|
96
190
|
export declare class BriefingContractError extends Error {
|
|
97
191
|
readonly issues: BriefingValidationIssue[];
|
|
98
192
|
constructor(issues: BriefingValidationIssue[]);
|
|
@@ -122,6 +216,8 @@ export declare type BriefingDraft = {
|
|
|
122
216
|
deliveryConfig?: BriefingDeliveryConfig | null;
|
|
123
217
|
};
|
|
124
218
|
|
|
219
|
+
export declare type BriefingFormatProfile = 'concise' | 'balanced' | 'detailed';
|
|
220
|
+
|
|
125
221
|
export declare type BriefingJobConfig = {
|
|
126
222
|
kind: BriefingKind;
|
|
127
223
|
source: BriefingSource;
|
|
@@ -167,6 +263,30 @@ export declare type BriefingRecipient = {
|
|
|
167
263
|
groupId: string;
|
|
168
264
|
};
|
|
169
265
|
|
|
266
|
+
export declare type BriefingSheetSelection = 'current' | 'all';
|
|
267
|
+
|
|
268
|
+
export declare type BriefingSlackChannelDestination = {
|
|
269
|
+
type: 'channel';
|
|
270
|
+
channelId: string;
|
|
271
|
+
channelName?: string;
|
|
272
|
+
isPrivate?: boolean;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
export declare type BriefingSlackConfig = {
|
|
276
|
+
destination: BriefingSlackDestination;
|
|
277
|
+
threadMentions?: BriefingRecipient[];
|
|
278
|
+
postThreadDetail?: boolean;
|
|
279
|
+
includeDashboardLink?: boolean;
|
|
280
|
+
includeBriefingLink?: boolean;
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
export declare type BriefingSlackDestination = BriefingSlackChannelDestination | BriefingSlackDmDestination;
|
|
284
|
+
|
|
285
|
+
export declare type BriefingSlackDmDestination = {
|
|
286
|
+
type: 'dm';
|
|
287
|
+
recipient: BriefingRecipient;
|
|
288
|
+
};
|
|
289
|
+
|
|
170
290
|
export declare type BriefingSource = {
|
|
171
291
|
type: 'project';
|
|
172
292
|
} | {
|
|
@@ -227,12 +347,16 @@ export declare function isBriefingDeliveryChannel(input: unknown): input is Brie
|
|
|
227
347
|
|
|
228
348
|
export declare const MAX_BRIEFING_ATTACHMENTS = 20;
|
|
229
349
|
|
|
350
|
+
export declare function normalizeBriefingContentDocument(input: unknown): BriefingContentDocument;
|
|
351
|
+
|
|
230
352
|
export declare function normalizeBriefingDraft(input: unknown): CreateBriefingRequest;
|
|
231
353
|
|
|
232
354
|
export declare function normalizeBriefingJobConfig(input: unknown): BriefingJobConfig;
|
|
233
355
|
|
|
234
356
|
export declare type UpdateBriefingRequest = CreateBriefingRequest;
|
|
235
357
|
|
|
358
|
+
export declare function validateBriefingContentDocument(input: unknown): BriefingValidationResult<BriefingContentDocument>;
|
|
359
|
+
|
|
236
360
|
export declare function validateBriefingDraft(draft: unknown): BriefingValidationResult<CreateBriefingRequest>;
|
|
237
361
|
|
|
238
362
|
export declare function validateBriefingJobConfig(input: unknown): BriefingValidationResult<BriefingJobConfig>;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -596,7 +596,7 @@ export declare type BriefingAttachmentSettings = {
|
|
|
596
596
|
delimiter?: BriefingCsvDelimiter;
|
|
597
597
|
includeHeaders?: boolean;
|
|
598
598
|
useFormattedValues?: boolean;
|
|
599
|
-
sheetSelection?:
|
|
599
|
+
sheetSelection?: BriefingSheetSelection;
|
|
600
600
|
currentSheetId?: string;
|
|
601
601
|
currentSheetName?: string;
|
|
602
602
|
filterValues?: unknown[];
|
|
@@ -686,10 +686,12 @@ export declare type BriefingBody = {
|
|
|
686
686
|
};
|
|
687
687
|
|
|
688
688
|
declare type BriefingChannelConfig = {
|
|
689
|
+
formatProfile?: BriefingFormatProfile_2;
|
|
689
690
|
subjectOverride?: string;
|
|
690
691
|
titleOverride?: string;
|
|
691
692
|
summaryOverride?: string;
|
|
692
693
|
actionBlockVisible?: boolean;
|
|
694
|
+
slackConfig?: BriefingSlackConfig;
|
|
693
695
|
webhookConfig?: BriefingWebhookConfig;
|
|
694
696
|
};
|
|
695
697
|
|
|
@@ -728,6 +730,8 @@ export declare type BriefingDispatchResult = {
|
|
|
728
730
|
|
|
729
731
|
export declare type BriefingFormatProfile = 'concise' | 'balanced' | 'detailed';
|
|
730
732
|
|
|
733
|
+
declare type BriefingFormatProfile_2 = 'concise' | 'balanced' | 'detailed';
|
|
734
|
+
|
|
731
735
|
export declare type BriefingFormDeliveryDraft = {
|
|
732
736
|
enabled: boolean;
|
|
733
737
|
recipients: BriefingRecipient[];
|
|
@@ -986,6 +990,30 @@ export declare type BriefingScopeMetadata = {
|
|
|
986
990
|
tenantName: string | null;
|
|
987
991
|
};
|
|
988
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
|
+
|
|
989
1017
|
export declare type BriefingSource = {
|
|
990
1018
|
type: 'project';
|
|
991
1019
|
} | {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -219,7 +219,7 @@ export declare type BriefingAttachmentSettings = {
|
|
|
219
219
|
delimiter?: BriefingCsvDelimiter;
|
|
220
220
|
includeHeaders?: boolean;
|
|
221
221
|
useFormattedValues?: boolean;
|
|
222
|
-
sheetSelection?:
|
|
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
|
} | {
|