@growth-labs/cms 0.5.8 → 0.5.10

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 (48) hide show
  1. package/README.md +26 -0
  2. package/dist/engine/content-insights.d.ts +11 -4
  3. package/dist/engine/content-insights.d.ts.map +1 -1
  4. package/dist/engine/content-insights.js +22 -7
  5. package/dist/engine/content-insights.js.map +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/routes/content-insights.d.ts +1 -1
  11. package/dist/routes/content-insights.d.ts.map +1 -1
  12. package/dist/routes/content-insights.js +20 -5
  13. package/dist/routes/content-insights.js.map +1 -1
  14. package/dist/schema/index.d.ts +1 -0
  15. package/dist/schema/index.d.ts.map +1 -1
  16. package/dist/schema/index.js +1 -0
  17. package/dist/schema/index.js.map +1 -1
  18. package/dist/schema/insights-ingest.d.ts +2386 -0
  19. package/dist/schema/insights-ingest.d.ts.map +1 -1
  20. package/dist/schema/insights-ingest.js +78 -0
  21. package/dist/schema/insights-ingest.js.map +1 -1
  22. package/dist/schema/migrations.d.ts.map +1 -1
  23. package/dist/schema/migrations.js +9 -0
  24. package/dist/schema/migrations.js.map +1 -1
  25. package/dist/schema/types.d.ts +67 -0
  26. package/dist/schema/types.d.ts.map +1 -1
  27. package/dist/schema/types.js +10 -0
  28. package/dist/schema/types.js.map +1 -1
  29. package/dist/surveys/schema.d.ts +48 -48
  30. package/dist/ui/screens/ContentInsightsScreen.d.ts +28 -0
  31. package/dist/ui/screens/ContentInsightsScreen.d.ts.map +1 -1
  32. package/dist/ui/screens/ContentInsightsScreen.js +111 -36
  33. package/dist/ui/screens/ContentInsightsScreen.js.map +1 -1
  34. package/dist/ui/screens/content-insights-data.d.ts +13 -1
  35. package/dist/ui/screens/content-insights-data.d.ts.map +1 -1
  36. package/dist/ui/screens/content-insights-data.js +29 -1
  37. package/dist/ui/screens/content-insights-data.js.map +1 -1
  38. package/migrations/0022_content_insight_dismissal_reasons.sql +8 -0
  39. package/package.json +1 -1
  40. package/src/engine/content-insights.ts +32 -7
  41. package/src/index.ts +2 -0
  42. package/src/routes/content-insights.ts +31 -5
  43. package/src/schema/index.ts +1 -0
  44. package/src/schema/insights-ingest.ts +94 -0
  45. package/src/schema/migrations.ts +9 -0
  46. package/src/schema/types.ts +92 -0
  47. package/src/ui/screens/ContentInsightsScreen.tsx +416 -195
  48. package/src/ui/screens/content-insights-data.ts +40 -2
@@ -17,8 +17,8 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
17
17
  audience: z.ZodEnum<["all", "member", "non_member"]>;
18
18
  answerCount: z.ZodNumber;
19
19
  }, "strict", z.ZodTypeAny, {
20
- id: string;
21
20
  options: string[];
21
+ id: string;
22
22
  kind: "single_choice";
23
23
  counts: Record<string, number>;
24
24
  average: null;
@@ -29,8 +29,8 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
29
29
  audience: "all" | "member" | "non_member";
30
30
  answerCount: number;
31
31
  }, {
32
- id: string;
33
32
  options: string[];
33
+ id: string;
34
34
  kind: "single_choice";
35
35
  counts: Record<string, number>;
36
36
  average: null;
@@ -53,8 +53,8 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
53
53
  audience: z.ZodEnum<["all", "member", "non_member"]>;
54
54
  answerCount: z.ZodNumber;
55
55
  }, "strict", z.ZodTypeAny, {
56
- id: string;
57
56
  options: string[];
57
+ id: string;
58
58
  kind: "multi_choice";
59
59
  counts: Record<string, number>;
60
60
  average: null;
@@ -65,8 +65,8 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
65
65
  audience: "all" | "member" | "non_member";
66
66
  answerCount: number;
67
67
  }, {
68
- id: string;
69
68
  options: string[];
69
+ id: string;
70
70
  kind: "multi_choice";
71
71
  counts: Record<string, number>;
72
72
  average: null;
@@ -104,11 +104,11 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
104
104
  audience: z.ZodEnum<["all", "member", "non_member"]>;
105
105
  answerCount: z.ZodNumber;
106
106
  }, "strict", z.ZodTypeAny, {
107
- id: string;
108
107
  options: {
109
108
  min: number;
110
109
  max: number;
111
110
  };
111
+ id: string;
112
112
  kind: "scale";
113
113
  counts: null;
114
114
  average: number | null;
@@ -119,11 +119,11 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
119
119
  audience: "all" | "member" | "non_member";
120
120
  answerCount: number;
121
121
  }, {
122
- id: string;
123
122
  options: {
124
123
  min: number;
125
124
  max: number;
126
125
  };
126
+ id: string;
127
127
  kind: "scale";
128
128
  counts: null;
129
129
  average: number | null;
@@ -152,10 +152,10 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
152
152
  audience: z.ZodEnum<["all", "member", "non_member"]>;
153
153
  answerCount: z.ZodNumber;
154
154
  }, "strict", z.ZodTypeAny, {
155
- id: string;
156
155
  options: {
157
156
  max_length: number;
158
157
  };
158
+ id: string;
159
159
  kind: "text";
160
160
  counts: null;
161
161
  average: null;
@@ -166,10 +166,10 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
166
166
  audience: "all" | "member" | "non_member";
167
167
  answerCount: number;
168
168
  }, {
169
- id: string;
170
169
  options: {
171
170
  max_length: number;
172
171
  };
172
+ id: string;
173
173
  kind: "text";
174
174
  counts: null;
175
175
  average: null;
@@ -180,8 +180,8 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
180
180
  audience: "all" | "member" | "non_member";
181
181
  answerCount: number;
182
182
  }>]>, {
183
- id: string;
184
183
  options: string[];
184
+ id: string;
185
185
  kind: "single_choice";
186
186
  counts: Record<string, number>;
187
187
  average: null;
@@ -192,8 +192,8 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
192
192
  audience: "all" | "member" | "non_member";
193
193
  answerCount: number;
194
194
  } | {
195
- id: string;
196
195
  options: string[];
196
+ id: string;
197
197
  kind: "multi_choice";
198
198
  counts: Record<string, number>;
199
199
  average: null;
@@ -204,11 +204,11 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
204
204
  audience: "all" | "member" | "non_member";
205
205
  answerCount: number;
206
206
  } | {
207
- id: string;
208
207
  options: {
209
208
  min: number;
210
209
  max: number;
211
210
  };
211
+ id: string;
212
212
  kind: "scale";
213
213
  counts: null;
214
214
  average: number | null;
@@ -219,10 +219,10 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
219
219
  audience: "all" | "member" | "non_member";
220
220
  answerCount: number;
221
221
  } | {
222
- id: string;
223
222
  options: {
224
223
  max_length: number;
225
224
  };
225
+ id: string;
226
226
  kind: "text";
227
227
  counts: null;
228
228
  average: null;
@@ -233,8 +233,8 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
233
233
  audience: "all" | "member" | "non_member";
234
234
  answerCount: number;
235
235
  }, {
236
- id: string;
237
236
  options: string[];
237
+ id: string;
238
238
  kind: "single_choice";
239
239
  counts: Record<string, number>;
240
240
  average: null;
@@ -245,8 +245,8 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
245
245
  audience: "all" | "member" | "non_member";
246
246
  answerCount: number;
247
247
  } | {
248
- id: string;
249
248
  options: string[];
249
+ id: string;
250
250
  kind: "multi_choice";
251
251
  counts: Record<string, number>;
252
252
  average: null;
@@ -257,11 +257,11 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
257
257
  audience: "all" | "member" | "non_member";
258
258
  answerCount: number;
259
259
  } | {
260
- id: string;
261
260
  options: {
262
261
  min: number;
263
262
  max: number;
264
263
  };
264
+ id: string;
265
265
  kind: "scale";
266
266
  counts: null;
267
267
  average: number | null;
@@ -272,10 +272,10 @@ export declare const SurveyQuestionSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
272
272
  audience: "all" | "member" | "non_member";
273
273
  answerCount: number;
274
274
  } | {
275
- id: string;
276
275
  options: {
277
276
  max_length: number;
278
277
  };
278
+ id: string;
279
279
  kind: "text";
280
280
  counts: null;
281
281
  average: null;
@@ -316,8 +316,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
316
316
  audience: z.ZodEnum<["all", "member", "non_member"]>;
317
317
  answerCount: z.ZodNumber;
318
318
  }, "strict", z.ZodTypeAny, {
319
- id: string;
320
319
  options: string[];
320
+ id: string;
321
321
  kind: "single_choice";
322
322
  counts: Record<string, number>;
323
323
  average: null;
@@ -328,8 +328,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
328
328
  audience: "all" | "member" | "non_member";
329
329
  answerCount: number;
330
330
  }, {
331
- id: string;
332
331
  options: string[];
332
+ id: string;
333
333
  kind: "single_choice";
334
334
  counts: Record<string, number>;
335
335
  average: null;
@@ -352,8 +352,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
352
352
  audience: z.ZodEnum<["all", "member", "non_member"]>;
353
353
  answerCount: z.ZodNumber;
354
354
  }, "strict", z.ZodTypeAny, {
355
- id: string;
356
355
  options: string[];
356
+ id: string;
357
357
  kind: "multi_choice";
358
358
  counts: Record<string, number>;
359
359
  average: null;
@@ -364,8 +364,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
364
364
  audience: "all" | "member" | "non_member";
365
365
  answerCount: number;
366
366
  }, {
367
- id: string;
368
367
  options: string[];
368
+ id: string;
369
369
  kind: "multi_choice";
370
370
  counts: Record<string, number>;
371
371
  average: null;
@@ -403,11 +403,11 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
403
403
  audience: z.ZodEnum<["all", "member", "non_member"]>;
404
404
  answerCount: z.ZodNumber;
405
405
  }, "strict", z.ZodTypeAny, {
406
- id: string;
407
406
  options: {
408
407
  min: number;
409
408
  max: number;
410
409
  };
410
+ id: string;
411
411
  kind: "scale";
412
412
  counts: null;
413
413
  average: number | null;
@@ -418,11 +418,11 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
418
418
  audience: "all" | "member" | "non_member";
419
419
  answerCount: number;
420
420
  }, {
421
- id: string;
422
421
  options: {
423
422
  min: number;
424
423
  max: number;
425
424
  };
425
+ id: string;
426
426
  kind: "scale";
427
427
  counts: null;
428
428
  average: number | null;
@@ -451,10 +451,10 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
451
451
  audience: z.ZodEnum<["all", "member", "non_member"]>;
452
452
  answerCount: z.ZodNumber;
453
453
  }, "strict", z.ZodTypeAny, {
454
- id: string;
455
454
  options: {
456
455
  max_length: number;
457
456
  };
457
+ id: string;
458
458
  kind: "text";
459
459
  counts: null;
460
460
  average: null;
@@ -465,10 +465,10 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
465
465
  audience: "all" | "member" | "non_member";
466
466
  answerCount: number;
467
467
  }, {
468
- id: string;
469
468
  options: {
470
469
  max_length: number;
471
470
  };
471
+ id: string;
472
472
  kind: "text";
473
473
  counts: null;
474
474
  average: null;
@@ -479,8 +479,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
479
479
  audience: "all" | "member" | "non_member";
480
480
  answerCount: number;
481
481
  }>]>, {
482
- id: string;
483
482
  options: string[];
483
+ id: string;
484
484
  kind: "single_choice";
485
485
  counts: Record<string, number>;
486
486
  average: null;
@@ -491,8 +491,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
491
491
  audience: "all" | "member" | "non_member";
492
492
  answerCount: number;
493
493
  } | {
494
- id: string;
495
494
  options: string[];
495
+ id: string;
496
496
  kind: "multi_choice";
497
497
  counts: Record<string, number>;
498
498
  average: null;
@@ -503,11 +503,11 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
503
503
  audience: "all" | "member" | "non_member";
504
504
  answerCount: number;
505
505
  } | {
506
- id: string;
507
506
  options: {
508
507
  min: number;
509
508
  max: number;
510
509
  };
510
+ id: string;
511
511
  kind: "scale";
512
512
  counts: null;
513
513
  average: number | null;
@@ -518,10 +518,10 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
518
518
  audience: "all" | "member" | "non_member";
519
519
  answerCount: number;
520
520
  } | {
521
- id: string;
522
521
  options: {
523
522
  max_length: number;
524
523
  };
524
+ id: string;
525
525
  kind: "text";
526
526
  counts: null;
527
527
  average: null;
@@ -532,8 +532,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
532
532
  audience: "all" | "member" | "non_member";
533
533
  answerCount: number;
534
534
  }, {
535
- id: string;
536
535
  options: string[];
536
+ id: string;
537
537
  kind: "single_choice";
538
538
  counts: Record<string, number>;
539
539
  average: null;
@@ -544,8 +544,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
544
544
  audience: "all" | "member" | "non_member";
545
545
  answerCount: number;
546
546
  } | {
547
- id: string;
548
547
  options: string[];
548
+ id: string;
549
549
  kind: "multi_choice";
550
550
  counts: Record<string, number>;
551
551
  average: null;
@@ -556,11 +556,11 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
556
556
  audience: "all" | "member" | "non_member";
557
557
  answerCount: number;
558
558
  } | {
559
- id: string;
560
559
  options: {
561
560
  min: number;
562
561
  max: number;
563
562
  };
563
+ id: string;
564
564
  kind: "scale";
565
565
  counts: null;
566
566
  average: number | null;
@@ -571,10 +571,10 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
571
571
  audience: "all" | "member" | "non_member";
572
572
  answerCount: number;
573
573
  } | {
574
- id: string;
575
574
  options: {
576
575
  max_length: number;
577
576
  };
577
+ id: string;
578
578
  kind: "text";
579
579
  counts: null;
580
580
  average: null;
@@ -628,8 +628,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
628
628
  responseCount: number;
629
629
  };
630
630
  questions: ({
631
- id: string;
632
631
  options: string[];
632
+ id: string;
633
633
  kind: "single_choice";
634
634
  counts: Record<string, number>;
635
635
  average: null;
@@ -640,8 +640,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
640
640
  audience: "all" | "member" | "non_member";
641
641
  answerCount: number;
642
642
  } | {
643
- id: string;
644
643
  options: string[];
644
+ id: string;
645
645
  kind: "multi_choice";
646
646
  counts: Record<string, number>;
647
647
  average: null;
@@ -652,11 +652,11 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
652
652
  audience: "all" | "member" | "non_member";
653
653
  answerCount: number;
654
654
  } | {
655
- id: string;
656
655
  options: {
657
656
  min: number;
658
657
  max: number;
659
658
  };
659
+ id: string;
660
660
  kind: "scale";
661
661
  counts: null;
662
662
  average: number | null;
@@ -667,10 +667,10 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
667
667
  audience: "all" | "member" | "non_member";
668
668
  answerCount: number;
669
669
  } | {
670
- id: string;
671
670
  options: {
672
671
  max_length: number;
673
672
  };
673
+ id: string;
674
674
  kind: "text";
675
675
  counts: null;
676
676
  average: null;
@@ -702,8 +702,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
702
702
  responseCount: number;
703
703
  };
704
704
  questions: ({
705
- id: string;
706
705
  options: string[];
706
+ id: string;
707
707
  kind: "single_choice";
708
708
  counts: Record<string, number>;
709
709
  average: null;
@@ -714,8 +714,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
714
714
  audience: "all" | "member" | "non_member";
715
715
  answerCount: number;
716
716
  } | {
717
- id: string;
718
717
  options: string[];
718
+ id: string;
719
719
  kind: "multi_choice";
720
720
  counts: Record<string, number>;
721
721
  average: null;
@@ -726,11 +726,11 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
726
726
  audience: "all" | "member" | "non_member";
727
727
  answerCount: number;
728
728
  } | {
729
- id: string;
730
729
  options: {
731
730
  min: number;
732
731
  max: number;
733
732
  };
733
+ id: string;
734
734
  kind: "scale";
735
735
  counts: null;
736
736
  average: number | null;
@@ -741,10 +741,10 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
741
741
  audience: "all" | "member" | "non_member";
742
742
  answerCount: number;
743
743
  } | {
744
- id: string;
745
744
  options: {
746
745
  max_length: number;
747
746
  };
747
+ id: string;
748
748
  kind: "text";
749
749
  counts: null;
750
750
  average: null;
@@ -776,8 +776,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
776
776
  responseCount: number;
777
777
  };
778
778
  questions: ({
779
- id: string;
780
779
  options: string[];
780
+ id: string;
781
781
  kind: "single_choice";
782
782
  counts: Record<string, number>;
783
783
  average: null;
@@ -788,8 +788,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
788
788
  audience: "all" | "member" | "non_member";
789
789
  answerCount: number;
790
790
  } | {
791
- id: string;
792
791
  options: string[];
792
+ id: string;
793
793
  kind: "multi_choice";
794
794
  counts: Record<string, number>;
795
795
  average: null;
@@ -800,11 +800,11 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
800
800
  audience: "all" | "member" | "non_member";
801
801
  answerCount: number;
802
802
  } | {
803
- id: string;
804
803
  options: {
805
804
  min: number;
806
805
  max: number;
807
806
  };
807
+ id: string;
808
808
  kind: "scale";
809
809
  counts: null;
810
810
  average: number | null;
@@ -815,10 +815,10 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
815
815
  audience: "all" | "member" | "non_member";
816
816
  answerCount: number;
817
817
  } | {
818
- id: string;
819
818
  options: {
820
819
  max_length: number;
821
820
  };
821
+ id: string;
822
822
  kind: "text";
823
823
  counts: null;
824
824
  average: null;
@@ -850,8 +850,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
850
850
  responseCount: number;
851
851
  };
852
852
  questions: ({
853
- id: string;
854
853
  options: string[];
854
+ id: string;
855
855
  kind: "single_choice";
856
856
  counts: Record<string, number>;
857
857
  average: null;
@@ -862,8 +862,8 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
862
862
  audience: "all" | "member" | "non_member";
863
863
  answerCount: number;
864
864
  } | {
865
- id: string;
866
865
  options: string[];
866
+ id: string;
867
867
  kind: "multi_choice";
868
868
  counts: Record<string, number>;
869
869
  average: null;
@@ -874,11 +874,11 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
874
874
  audience: "all" | "member" | "non_member";
875
875
  answerCount: number;
876
876
  } | {
877
- id: string;
878
877
  options: {
879
878
  min: number;
880
879
  max: number;
881
880
  };
881
+ id: string;
882
882
  kind: "scale";
883
883
  counts: null;
884
884
  average: number | null;
@@ -889,10 +889,10 @@ export declare const SurveyResultsSchema: z.ZodEffects<z.ZodObject<{
889
889
  audience: "all" | "member" | "non_member";
890
890
  answerCount: number;
891
891
  } | {
892
- id: string;
893
892
  options: {
894
893
  max_length: number;
895
894
  };
895
+ id: string;
896
896
  kind: "text";
897
897
  counts: null;
898
898
  average: null;
@@ -1,2 +1,30 @@
1
+ import type { InsightDismissalReasonCode } from '../../schema/types.js';
2
+ import { type InsightCard } from './content-insights-data.js';
3
+ type DismissReasonSelection = InsightDismissalReasonCode | '';
4
+ export interface DismissRequestBody {
5
+ intentKey: string;
6
+ reasonCode: InsightDismissalReasonCode;
7
+ note?: string;
8
+ }
9
+ /** Build the exact bounded route body; route validation remains authoritative. */
10
+ export declare function buildDismissRequest(intentKey: string, reasonCode: DismissReasonSelection, note: string): DismissRequestBody | null;
11
+ /** A non-2xx response must leave the card and its editor intact for correction. */
12
+ export declare function shouldRemoveDismissedCard(responseOk: boolean): boolean;
1
13
  export declare function ContentInsightsScreen(): import("react").JSX.Element;
14
+ export declare function InsightCardRow({ card, expanded, onToggle, dismissEditorOpen, onOpenDismissEditor, onCancelDismissEditor, onSubmitDismiss, dismissReasonCode, dismissNote, dismissError, onDismissReasonCodeChange, onDismissNoteChange, dismissing, }: {
15
+ card: InsightCard;
16
+ expanded: boolean;
17
+ onToggle: () => void;
18
+ dismissEditorOpen: boolean;
19
+ onOpenDismissEditor: () => void;
20
+ onCancelDismissEditor: () => void;
21
+ onSubmitDismiss: () => void;
22
+ dismissReasonCode: DismissReasonSelection;
23
+ dismissNote: string;
24
+ dismissError: string | null;
25
+ onDismissReasonCodeChange: (reasonCode: DismissReasonSelection) => void;
26
+ onDismissNoteChange: (note: string) => void;
27
+ dismissing: boolean;
28
+ }): import("react").JSX.Element;
29
+ export {};
2
30
  //# sourceMappingURL=ContentInsightsScreen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentInsightsScreen.d.ts","sourceRoot":"","sources":["../../../src/ui/screens/ContentInsightsScreen.tsx"],"names":[],"mappings":"AAqBA,wBAAgB,qBAAqB,gCAoMpC"}
1
+ {"version":3,"file":"ContentInsightsScreen.d.ts","sourceRoot":"","sources":["../../../src/ui/screens/ContentInsightsScreen.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AAEvE,OAAO,EAGN,KAAK,WAAW,EAKhB,MAAM,4BAA4B,CAAA;AAEnC,KAAK,sBAAsB,GAAG,0BAA0B,GAAG,EAAE,CAAA;AAE7D,MAAM,WAAW,kBAAkB;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,0BAA0B,CAAA;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;CACb;AAED,kFAAkF;AAClF,wBAAgB,mBAAmB,CAClC,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,sBAAsB,EAClC,IAAI,EAAE,MAAM,GACV,kBAAkB,GAAG,IAAI,CAU3B;AAED,mFAAmF;AACnF,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,OAAO,GAAG,OAAO,CAEtE;AAED,wBAAgB,qBAAqB,gCAwLpC;AA0BD,wBAAgB,cAAc,CAAC,EAC9B,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,yBAAyB,EACzB,mBAAmB,EACnB,UAAU,GACV,EAAE;IACF,IAAI,EAAE,WAAW,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,mBAAmB,EAAE,MAAM,IAAI,CAAA;IAC/B,qBAAqB,EAAE,MAAM,IAAI,CAAA;IACjC,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,iBAAiB,EAAE,sBAAsB,CAAA;IACzC,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,yBAAyB,EAAE,CAAC,UAAU,EAAE,sBAAsB,KAAK,IAAI,CAAA;IACvE,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,UAAU,EAAE,OAAO,CAAA;CACnB,+BAmUA"}