@ciridae/ui 1.2.0 → 1.2.2
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/components/command-menu.js +1 -1
- package/dist/components/drawer.js +8 -1
- package/dist/components/environment-frame.js +15 -1
- package/dist/components/feedback-screenshot.d.ts +7 -0
- package/dist/components/feedback-screenshot.js +41 -2
- package/dist/components/feedback-sheet.d.ts +5 -2
- package/dist/components/feedback-sheet.js +27 -8
- package/dist/components/lightbox.js +3 -1
- package/dist/components/locale.d.ts +0 -1
- package/dist/components/locale.js +0 -1
- package/dist/components/overlays.js +2 -2
- package/dist/components/shell.js +2 -1
- package/dist/feedback/client.js +11 -2
- package/dist/feedback/contract.d.ts +1 -0
- package/dist/feedback/generated/index.d.ts +1 -1
- package/dist/feedback/generated/types.gen.d.ts +379 -5
- package/dist/feedback/generated/zod.gen.d.ts +329 -6
- package/dist/feedback/generated/zod.gen.js +130 -7
- package/dist/preset.js +2 -0
- package/dist/styled-system/styles.css +27 -15
- package/dist/styled-system/tokens/index.mjs +8 -0
- package/dist/styled-system/tokens/tokens.d.ts +1 -1
- package/package.json +2 -1
|
@@ -29,16 +29,22 @@ export declare const zFeedbackCreateRequest: z.ZodObject<{
|
|
|
29
29
|
just_me: "just_me";
|
|
30
30
|
my_team: "my_team";
|
|
31
31
|
}>>>;
|
|
32
|
+
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
32
33
|
}, z.core.$strict>;
|
|
33
34
|
/**
|
|
34
|
-
*
|
|
35
|
+
* OperatorFeedbackStatusUpdateRequest
|
|
35
36
|
*
|
|
36
|
-
*
|
|
37
|
+
* Administrator-selected feedback workflow status.
|
|
37
38
|
*/
|
|
38
|
-
export declare const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
export declare const zOperatorFeedbackStatusUpdateRequest: z.ZodObject<{
|
|
40
|
+
status: z.ZodEnum<{
|
|
41
|
+
received: "received";
|
|
42
|
+
in_progress: "in_progress";
|
|
43
|
+
discussion_required: "discussion_required";
|
|
44
|
+
completed: "completed";
|
|
45
|
+
no_action: "no_action";
|
|
46
|
+
}>;
|
|
47
|
+
}, z.core.$strip>;
|
|
42
48
|
/**
|
|
43
49
|
* FeedbackMessageCreateRequest
|
|
44
50
|
*
|
|
@@ -47,6 +53,15 @@ export declare const zFeedbackUpdateRequest: z.ZodObject<{
|
|
|
47
53
|
export declare const zFeedbackMessageCreateRequest: z.ZodObject<{
|
|
48
54
|
body: z.ZodString;
|
|
49
55
|
}, z.core.$strict>;
|
|
56
|
+
/**
|
|
57
|
+
* FeedbackUpdateRequest
|
|
58
|
+
*
|
|
59
|
+
* Editable reporter fields while feedback awaits triage.
|
|
60
|
+
*/
|
|
61
|
+
export declare const zFeedbackUpdateRequest: z.ZodObject<{
|
|
62
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
}, z.core.$strict>;
|
|
50
65
|
/**
|
|
51
66
|
* HTTPErrorResponse
|
|
52
67
|
*
|
|
@@ -226,6 +241,72 @@ export declare const zFeedbackListResponse: z.ZodObject<{
|
|
|
226
241
|
updatedAt_epoch_milliseconds: z.ZodInt;
|
|
227
242
|
}, z.core.$strip>>;
|
|
228
243
|
}, z.core.$strip>;
|
|
244
|
+
/**
|
|
245
|
+
* OperatorFeedbackSummary
|
|
246
|
+
*
|
|
247
|
+
* One operator-visible summary with epoch-millisecond times.
|
|
248
|
+
*/
|
|
249
|
+
export declare const zOperatorFeedbackSummary: z.ZodObject<{
|
|
250
|
+
id: z.ZodUUID;
|
|
251
|
+
subject: z.ZodString;
|
|
252
|
+
description: z.ZodString;
|
|
253
|
+
type: z.ZodEnum<{
|
|
254
|
+
general: "general";
|
|
255
|
+
bug: "bug";
|
|
256
|
+
feature: "feature";
|
|
257
|
+
}>;
|
|
258
|
+
urgency: z.ZodEnum<{
|
|
259
|
+
normal: "normal";
|
|
260
|
+
emergency: "emergency";
|
|
261
|
+
}>;
|
|
262
|
+
status: z.ZodEnum<{
|
|
263
|
+
received: "received";
|
|
264
|
+
in_progress: "in_progress";
|
|
265
|
+
discussion_required: "discussion_required";
|
|
266
|
+
completed: "completed";
|
|
267
|
+
no_action: "no_action";
|
|
268
|
+
withdrawn: "withdrawn";
|
|
269
|
+
}>;
|
|
270
|
+
createdAt: z.ZodISODateTime;
|
|
271
|
+
updatedAt: z.ZodISODateTime;
|
|
272
|
+
reporterEmail: z.ZodNullable<z.ZodString>;
|
|
273
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
274
|
+
updatedAt_epoch_milliseconds: z.ZodInt;
|
|
275
|
+
}, z.core.$strip>;
|
|
276
|
+
/**
|
|
277
|
+
* OperatorFeedbackListResponse
|
|
278
|
+
*
|
|
279
|
+
* All feedback in the request's environment scope.
|
|
280
|
+
*/
|
|
281
|
+
export declare const zOperatorFeedbackListResponse: z.ZodObject<{
|
|
282
|
+
items: z.ZodArray<z.ZodObject<{
|
|
283
|
+
id: z.ZodUUID;
|
|
284
|
+
subject: z.ZodString;
|
|
285
|
+
description: z.ZodString;
|
|
286
|
+
type: z.ZodEnum<{
|
|
287
|
+
general: "general";
|
|
288
|
+
bug: "bug";
|
|
289
|
+
feature: "feature";
|
|
290
|
+
}>;
|
|
291
|
+
urgency: z.ZodEnum<{
|
|
292
|
+
normal: "normal";
|
|
293
|
+
emergency: "emergency";
|
|
294
|
+
}>;
|
|
295
|
+
status: z.ZodEnum<{
|
|
296
|
+
received: "received";
|
|
297
|
+
in_progress: "in_progress";
|
|
298
|
+
discussion_required: "discussion_required";
|
|
299
|
+
completed: "completed";
|
|
300
|
+
no_action: "no_action";
|
|
301
|
+
withdrawn: "withdrawn";
|
|
302
|
+
}>;
|
|
303
|
+
createdAt: z.ZodISODateTime;
|
|
304
|
+
updatedAt: z.ZodISODateTime;
|
|
305
|
+
reporterEmail: z.ZodNullable<z.ZodString>;
|
|
306
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
307
|
+
updatedAt_epoch_milliseconds: z.ZodInt;
|
|
308
|
+
}, z.core.$strip>>;
|
|
309
|
+
}, z.core.$strip>;
|
|
229
310
|
/**
|
|
230
311
|
* FeedbackMessageAuthor
|
|
231
312
|
*
|
|
@@ -332,6 +413,62 @@ export declare const zFeedbackItem: z.ZodObject<{
|
|
|
332
413
|
url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
333
414
|
}, z.core.$strip>>>>;
|
|
334
415
|
}, z.core.$strip>;
|
|
416
|
+
/**
|
|
417
|
+
* OperatorFeedbackItem
|
|
418
|
+
*
|
|
419
|
+
* Operator detail with epoch-millisecond times on the item and messages.
|
|
420
|
+
*
|
|
421
|
+
* Messages share ``FeedbackMessage`` so OpenAPI keeps one message schema.
|
|
422
|
+
*/
|
|
423
|
+
export declare const zOperatorFeedbackItem: z.ZodObject<{
|
|
424
|
+
id: z.ZodUUID;
|
|
425
|
+
subject: z.ZodString;
|
|
426
|
+
description: z.ZodString;
|
|
427
|
+
type: z.ZodEnum<{
|
|
428
|
+
general: "general";
|
|
429
|
+
bug: "bug";
|
|
430
|
+
feature: "feature";
|
|
431
|
+
}>;
|
|
432
|
+
urgency: z.ZodEnum<{
|
|
433
|
+
normal: "normal";
|
|
434
|
+
emergency: "emergency";
|
|
435
|
+
}>;
|
|
436
|
+
status: z.ZodEnum<{
|
|
437
|
+
received: "received";
|
|
438
|
+
in_progress: "in_progress";
|
|
439
|
+
discussion_required: "discussion_required";
|
|
440
|
+
completed: "completed";
|
|
441
|
+
no_action: "no_action";
|
|
442
|
+
withdrawn: "withdrawn";
|
|
443
|
+
}>;
|
|
444
|
+
createdAt: z.ZodISODateTime;
|
|
445
|
+
updatedAt: z.ZodISODateTime;
|
|
446
|
+
reporterEmail: z.ZodNullable<z.ZodString>;
|
|
447
|
+
canReply: z.ZodBoolean;
|
|
448
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
449
|
+
id: z.ZodString;
|
|
450
|
+
author: z.ZodObject<{
|
|
451
|
+
role: z.ZodEnum<{
|
|
452
|
+
operator: "operator";
|
|
453
|
+
reporter: "reporter";
|
|
454
|
+
}>;
|
|
455
|
+
name: z.ZodString;
|
|
456
|
+
}, z.core.$strip>;
|
|
457
|
+
body: z.ZodString;
|
|
458
|
+
createdAt: z.ZodISODateTime;
|
|
459
|
+
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
460
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
461
|
+
editedAt_epoch_milliseconds: z.ZodNullable<z.ZodInt>;
|
|
462
|
+
}, z.core.$strip>>;
|
|
463
|
+
attachments: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
464
|
+
id: z.ZodString;
|
|
465
|
+
name: z.ZodString;
|
|
466
|
+
size: z.ZodInt;
|
|
467
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
468
|
+
}, z.core.$strip>>>>;
|
|
469
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
470
|
+
updatedAt_epoch_milliseconds: z.ZodInt;
|
|
471
|
+
}, z.core.$strip>;
|
|
335
472
|
export declare const zListFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackGetPath: z.ZodObject<{
|
|
336
473
|
project_id: z.ZodString;
|
|
337
474
|
environment: z.ZodString;
|
|
@@ -394,6 +531,7 @@ export declare const zCreateFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFe
|
|
|
394
531
|
just_me: "just_me";
|
|
395
532
|
my_team: "my_team";
|
|
396
533
|
}>>>;
|
|
534
|
+
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
397
535
|
}, z.core.$strict>;
|
|
398
536
|
export declare const zCreateFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackPostHeaders: z.ZodObject<{
|
|
399
537
|
'Idempotency-Key': z.ZodUUID;
|
|
@@ -475,6 +613,191 @@ export declare const zCreateFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFe
|
|
|
475
613
|
url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
476
614
|
}, z.core.$strip>>>>;
|
|
477
615
|
}, z.core.$strip>;
|
|
616
|
+
export declare const zListOperatorFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorGetPath: z.ZodObject<{
|
|
617
|
+
project_id: z.ZodString;
|
|
618
|
+
environment: z.ZodString;
|
|
619
|
+
}, z.core.$strip>;
|
|
620
|
+
/**
|
|
621
|
+
* Successful Response
|
|
622
|
+
*/
|
|
623
|
+
export declare const zListOperatorFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorGetResponse: z.ZodObject<{
|
|
624
|
+
items: z.ZodArray<z.ZodObject<{
|
|
625
|
+
id: z.ZodUUID;
|
|
626
|
+
subject: z.ZodString;
|
|
627
|
+
description: z.ZodString;
|
|
628
|
+
type: z.ZodEnum<{
|
|
629
|
+
general: "general";
|
|
630
|
+
bug: "bug";
|
|
631
|
+
feature: "feature";
|
|
632
|
+
}>;
|
|
633
|
+
urgency: z.ZodEnum<{
|
|
634
|
+
normal: "normal";
|
|
635
|
+
emergency: "emergency";
|
|
636
|
+
}>;
|
|
637
|
+
status: z.ZodEnum<{
|
|
638
|
+
received: "received";
|
|
639
|
+
in_progress: "in_progress";
|
|
640
|
+
discussion_required: "discussion_required";
|
|
641
|
+
completed: "completed";
|
|
642
|
+
no_action: "no_action";
|
|
643
|
+
withdrawn: "withdrawn";
|
|
644
|
+
}>;
|
|
645
|
+
createdAt: z.ZodISODateTime;
|
|
646
|
+
updatedAt: z.ZodISODateTime;
|
|
647
|
+
reporterEmail: z.ZodNullable<z.ZodString>;
|
|
648
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
649
|
+
updatedAt_epoch_milliseconds: z.ZodInt;
|
|
650
|
+
}, z.core.$strip>>;
|
|
651
|
+
}, z.core.$strip>;
|
|
652
|
+
export declare const zGetOperatorFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdGetPath: z.ZodObject<{
|
|
653
|
+
feedback_id: z.ZodUUID;
|
|
654
|
+
project_id: z.ZodString;
|
|
655
|
+
environment: z.ZodString;
|
|
656
|
+
}, z.core.$strip>;
|
|
657
|
+
/**
|
|
658
|
+
* Successful Response
|
|
659
|
+
*/
|
|
660
|
+
export declare const zGetOperatorFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdGetResponse: z.ZodObject<{
|
|
661
|
+
id: z.ZodUUID;
|
|
662
|
+
subject: z.ZodString;
|
|
663
|
+
description: z.ZodString;
|
|
664
|
+
type: z.ZodEnum<{
|
|
665
|
+
general: "general";
|
|
666
|
+
bug: "bug";
|
|
667
|
+
feature: "feature";
|
|
668
|
+
}>;
|
|
669
|
+
urgency: z.ZodEnum<{
|
|
670
|
+
normal: "normal";
|
|
671
|
+
emergency: "emergency";
|
|
672
|
+
}>;
|
|
673
|
+
status: z.ZodEnum<{
|
|
674
|
+
received: "received";
|
|
675
|
+
in_progress: "in_progress";
|
|
676
|
+
discussion_required: "discussion_required";
|
|
677
|
+
completed: "completed";
|
|
678
|
+
no_action: "no_action";
|
|
679
|
+
withdrawn: "withdrawn";
|
|
680
|
+
}>;
|
|
681
|
+
createdAt: z.ZodISODateTime;
|
|
682
|
+
updatedAt: z.ZodISODateTime;
|
|
683
|
+
reporterEmail: z.ZodNullable<z.ZodString>;
|
|
684
|
+
canReply: z.ZodBoolean;
|
|
685
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
686
|
+
id: z.ZodString;
|
|
687
|
+
author: z.ZodObject<{
|
|
688
|
+
role: z.ZodEnum<{
|
|
689
|
+
operator: "operator";
|
|
690
|
+
reporter: "reporter";
|
|
691
|
+
}>;
|
|
692
|
+
name: z.ZodString;
|
|
693
|
+
}, z.core.$strip>;
|
|
694
|
+
body: z.ZodString;
|
|
695
|
+
createdAt: z.ZodISODateTime;
|
|
696
|
+
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
697
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
698
|
+
editedAt_epoch_milliseconds: z.ZodNullable<z.ZodInt>;
|
|
699
|
+
}, z.core.$strip>>;
|
|
700
|
+
attachments: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
701
|
+
id: z.ZodString;
|
|
702
|
+
name: z.ZodString;
|
|
703
|
+
size: z.ZodInt;
|
|
704
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
705
|
+
}, z.core.$strip>>>>;
|
|
706
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
707
|
+
updatedAt_epoch_milliseconds: z.ZodInt;
|
|
708
|
+
}, z.core.$strip>;
|
|
709
|
+
export declare const zUpdateOperatorFeedbackStatusV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdPatchBody: z.ZodObject<{
|
|
710
|
+
status: z.ZodEnum<{
|
|
711
|
+
received: "received";
|
|
712
|
+
in_progress: "in_progress";
|
|
713
|
+
discussion_required: "discussion_required";
|
|
714
|
+
completed: "completed";
|
|
715
|
+
no_action: "no_action";
|
|
716
|
+
}>;
|
|
717
|
+
}, z.core.$strip>;
|
|
718
|
+
export declare const zUpdateOperatorFeedbackStatusV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdPatchPath: z.ZodObject<{
|
|
719
|
+
feedback_id: z.ZodUUID;
|
|
720
|
+
project_id: z.ZodString;
|
|
721
|
+
environment: z.ZodString;
|
|
722
|
+
}, z.core.$strip>;
|
|
723
|
+
/**
|
|
724
|
+
* Successful Response
|
|
725
|
+
*/
|
|
726
|
+
export declare const zUpdateOperatorFeedbackStatusV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdPatchResponse: z.ZodObject<{
|
|
727
|
+
id: z.ZodUUID;
|
|
728
|
+
subject: z.ZodString;
|
|
729
|
+
description: z.ZodString;
|
|
730
|
+
type: z.ZodEnum<{
|
|
731
|
+
general: "general";
|
|
732
|
+
bug: "bug";
|
|
733
|
+
feature: "feature";
|
|
734
|
+
}>;
|
|
735
|
+
urgency: z.ZodEnum<{
|
|
736
|
+
normal: "normal";
|
|
737
|
+
emergency: "emergency";
|
|
738
|
+
}>;
|
|
739
|
+
status: z.ZodEnum<{
|
|
740
|
+
received: "received";
|
|
741
|
+
in_progress: "in_progress";
|
|
742
|
+
discussion_required: "discussion_required";
|
|
743
|
+
completed: "completed";
|
|
744
|
+
no_action: "no_action";
|
|
745
|
+
withdrawn: "withdrawn";
|
|
746
|
+
}>;
|
|
747
|
+
createdAt: z.ZodISODateTime;
|
|
748
|
+
updatedAt: z.ZodISODateTime;
|
|
749
|
+
reporterEmail: z.ZodNullable<z.ZodString>;
|
|
750
|
+
canReply: z.ZodBoolean;
|
|
751
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
752
|
+
id: z.ZodString;
|
|
753
|
+
author: z.ZodObject<{
|
|
754
|
+
role: z.ZodEnum<{
|
|
755
|
+
operator: "operator";
|
|
756
|
+
reporter: "reporter";
|
|
757
|
+
}>;
|
|
758
|
+
name: z.ZodString;
|
|
759
|
+
}, z.core.$strip>;
|
|
760
|
+
body: z.ZodString;
|
|
761
|
+
createdAt: z.ZodISODateTime;
|
|
762
|
+
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
763
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
764
|
+
editedAt_epoch_milliseconds: z.ZodNullable<z.ZodInt>;
|
|
765
|
+
}, z.core.$strip>>;
|
|
766
|
+
attachments: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
767
|
+
id: z.ZodString;
|
|
768
|
+
name: z.ZodString;
|
|
769
|
+
size: z.ZodInt;
|
|
770
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
771
|
+
}, z.core.$strip>>>>;
|
|
772
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
773
|
+
updatedAt_epoch_milliseconds: z.ZodInt;
|
|
774
|
+
}, z.core.$strip>;
|
|
775
|
+
export declare const zCreateOperatorFeedbackMessageV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdMessagesPostBody: z.ZodObject<{
|
|
776
|
+
body: z.ZodString;
|
|
777
|
+
}, z.core.$strict>;
|
|
778
|
+
export declare const zCreateOperatorFeedbackMessageV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdMessagesPostPath: z.ZodObject<{
|
|
779
|
+
feedback_id: z.ZodUUID;
|
|
780
|
+
project_id: z.ZodString;
|
|
781
|
+
environment: z.ZodString;
|
|
782
|
+
}, z.core.$strip>;
|
|
783
|
+
/**
|
|
784
|
+
* Successful Response
|
|
785
|
+
*/
|
|
786
|
+
export declare const zCreateOperatorFeedbackMessageV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdMessagesPostResponse: z.ZodObject<{
|
|
787
|
+
id: z.ZodString;
|
|
788
|
+
author: z.ZodObject<{
|
|
789
|
+
role: z.ZodEnum<{
|
|
790
|
+
operator: "operator";
|
|
791
|
+
reporter: "reporter";
|
|
792
|
+
}>;
|
|
793
|
+
name: z.ZodString;
|
|
794
|
+
}, z.core.$strip>;
|
|
795
|
+
body: z.ZodString;
|
|
796
|
+
createdAt: z.ZodISODateTime;
|
|
797
|
+
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
798
|
+
createdAt_epoch_milliseconds: z.ZodInt;
|
|
799
|
+
editedAt_epoch_milliseconds: z.ZodNullable<z.ZodInt>;
|
|
800
|
+
}, z.core.$strip>;
|
|
478
801
|
export declare const zGetFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackFeedbackIdGetPath: z.ZodObject<{
|
|
479
802
|
feedback_id: z.ZodUUID;
|
|
480
803
|
project_id: z.ZodString;
|
|
@@ -26,17 +26,23 @@ export const zFeedbackCreateRequest = z.object({
|
|
|
26
26
|
'just_me',
|
|
27
27
|
'my_team',
|
|
28
28
|
'unknown'
|
|
29
|
-
]).optional().default('unknown')
|
|
29
|
+
]).optional().default('unknown'),
|
|
30
|
+
pageUrl: z.url().min(1).max(2083).nullish()
|
|
30
31
|
}).strict();
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* OperatorFeedbackStatusUpdateRequest
|
|
33
34
|
*
|
|
34
|
-
*
|
|
35
|
+
* Administrator-selected feedback workflow status.
|
|
35
36
|
*/
|
|
36
|
-
export const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
export const zOperatorFeedbackStatusUpdateRequest = z.object({
|
|
38
|
+
status: z.enum([
|
|
39
|
+
'received',
|
|
40
|
+
'in_progress',
|
|
41
|
+
'discussion_required',
|
|
42
|
+
'completed',
|
|
43
|
+
'no_action'
|
|
44
|
+
])
|
|
45
|
+
});
|
|
40
46
|
/**
|
|
41
47
|
* FeedbackMessageCreateRequest
|
|
42
48
|
*
|
|
@@ -45,6 +51,15 @@ export const zFeedbackUpdateRequest = z.object({
|
|
|
45
51
|
export const zFeedbackMessageCreateRequest = z.object({
|
|
46
52
|
body: z.string().min(1).max(10000)
|
|
47
53
|
}).strict();
|
|
54
|
+
/**
|
|
55
|
+
* FeedbackUpdateRequest
|
|
56
|
+
*
|
|
57
|
+
* Editable reporter fields while feedback awaits triage.
|
|
58
|
+
*/
|
|
59
|
+
export const zFeedbackUpdateRequest = z.object({
|
|
60
|
+
subject: z.string().min(1).max(120).nullish(),
|
|
61
|
+
description: z.string().min(1).max(10000).nullish()
|
|
62
|
+
}).strict();
|
|
48
63
|
/**
|
|
49
64
|
* HTTPErrorResponse
|
|
50
65
|
*
|
|
@@ -169,6 +184,43 @@ export const zFeedbackSummary = z.object({
|
|
|
169
184
|
export const zFeedbackListResponse = z.object({
|
|
170
185
|
items: z.array(zFeedbackSummary)
|
|
171
186
|
});
|
|
187
|
+
/**
|
|
188
|
+
* OperatorFeedbackSummary
|
|
189
|
+
*
|
|
190
|
+
* One operator-visible summary with epoch-millisecond times.
|
|
191
|
+
*/
|
|
192
|
+
export const zOperatorFeedbackSummary = z.object({
|
|
193
|
+
id: z.uuid(),
|
|
194
|
+
subject: z.string(),
|
|
195
|
+
description: z.string(),
|
|
196
|
+
type: z.enum([
|
|
197
|
+
'bug',
|
|
198
|
+
'feature',
|
|
199
|
+
'general'
|
|
200
|
+
]),
|
|
201
|
+
urgency: z.enum(['normal', 'emergency']),
|
|
202
|
+
status: z.enum([
|
|
203
|
+
'received',
|
|
204
|
+
'in_progress',
|
|
205
|
+
'discussion_required',
|
|
206
|
+
'completed',
|
|
207
|
+
'no_action',
|
|
208
|
+
'withdrawn'
|
|
209
|
+
]),
|
|
210
|
+
createdAt: z.iso.datetime(),
|
|
211
|
+
updatedAt: z.iso.datetime(),
|
|
212
|
+
reporterEmail: z.string().nullable(),
|
|
213
|
+
createdAt_epoch_milliseconds: z.int().min(-9223372036854775808, { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(9223372036854775807, { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }),
|
|
214
|
+
updatedAt_epoch_milliseconds: z.int().min(-9223372036854775808, { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(9223372036854775807, { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
215
|
+
});
|
|
216
|
+
/**
|
|
217
|
+
* OperatorFeedbackListResponse
|
|
218
|
+
*
|
|
219
|
+
* All feedback in the request's environment scope.
|
|
220
|
+
*/
|
|
221
|
+
export const zOperatorFeedbackListResponse = z.object({
|
|
222
|
+
items: z.array(zOperatorFeedbackSummary)
|
|
223
|
+
});
|
|
172
224
|
/**
|
|
173
225
|
* FeedbackMessageAuthor
|
|
174
226
|
*
|
|
@@ -232,6 +284,40 @@ export const zFeedbackItem = z.object({
|
|
|
232
284
|
messages: z.array(zFeedbackMessage),
|
|
233
285
|
attachments: z.array(zFeedbackAttachment).optional().default([])
|
|
234
286
|
});
|
|
287
|
+
/**
|
|
288
|
+
* OperatorFeedbackItem
|
|
289
|
+
*
|
|
290
|
+
* Operator detail with epoch-millisecond times on the item and messages.
|
|
291
|
+
*
|
|
292
|
+
* Messages share ``FeedbackMessage`` so OpenAPI keeps one message schema.
|
|
293
|
+
*/
|
|
294
|
+
export const zOperatorFeedbackItem = z.object({
|
|
295
|
+
id: z.uuid(),
|
|
296
|
+
subject: z.string(),
|
|
297
|
+
description: z.string(),
|
|
298
|
+
type: z.enum([
|
|
299
|
+
'bug',
|
|
300
|
+
'feature',
|
|
301
|
+
'general'
|
|
302
|
+
]),
|
|
303
|
+
urgency: z.enum(['normal', 'emergency']),
|
|
304
|
+
status: z.enum([
|
|
305
|
+
'received',
|
|
306
|
+
'in_progress',
|
|
307
|
+
'discussion_required',
|
|
308
|
+
'completed',
|
|
309
|
+
'no_action',
|
|
310
|
+
'withdrawn'
|
|
311
|
+
]),
|
|
312
|
+
createdAt: z.iso.datetime(),
|
|
313
|
+
updatedAt: z.iso.datetime(),
|
|
314
|
+
reporterEmail: z.string().nullable(),
|
|
315
|
+
canReply: z.boolean(),
|
|
316
|
+
messages: z.array(zFeedbackMessage),
|
|
317
|
+
attachments: z.array(zFeedbackAttachment).optional().default([]),
|
|
318
|
+
createdAt_epoch_milliseconds: z.int().min(-9223372036854775808, { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(9223372036854775807, { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }),
|
|
319
|
+
updatedAt_epoch_milliseconds: z.int().min(-9223372036854775808, { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(9223372036854775807, { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
320
|
+
});
|
|
235
321
|
export const zListFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackGetPath = z.object({
|
|
236
322
|
project_id: z.string().min(1).max(64),
|
|
237
323
|
environment: z.string()
|
|
@@ -253,6 +339,43 @@ export const zCreateFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackPo
|
|
|
253
339
|
* Successful Response
|
|
254
340
|
*/
|
|
255
341
|
export const zCreateFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackPostResponse = zFeedbackItem;
|
|
342
|
+
export const zListOperatorFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorGetPath = z.object({
|
|
343
|
+
project_id: z.string().min(1).max(64),
|
|
344
|
+
environment: z.string()
|
|
345
|
+
});
|
|
346
|
+
/**
|
|
347
|
+
* Successful Response
|
|
348
|
+
*/
|
|
349
|
+
export const zListOperatorFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorGetResponse = zOperatorFeedbackListResponse;
|
|
350
|
+
export const zGetOperatorFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdGetPath = z.object({
|
|
351
|
+
feedback_id: z.uuid(),
|
|
352
|
+
project_id: z.string().min(1).max(64),
|
|
353
|
+
environment: z.string()
|
|
354
|
+
});
|
|
355
|
+
/**
|
|
356
|
+
* Successful Response
|
|
357
|
+
*/
|
|
358
|
+
export const zGetOperatorFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdGetResponse = zOperatorFeedbackItem;
|
|
359
|
+
export const zUpdateOperatorFeedbackStatusV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdPatchBody = zOperatorFeedbackStatusUpdateRequest;
|
|
360
|
+
export const zUpdateOperatorFeedbackStatusV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdPatchPath = z.object({
|
|
361
|
+
feedback_id: z.uuid(),
|
|
362
|
+
project_id: z.string().min(1).max(64),
|
|
363
|
+
environment: z.string()
|
|
364
|
+
});
|
|
365
|
+
/**
|
|
366
|
+
* Successful Response
|
|
367
|
+
*/
|
|
368
|
+
export const zUpdateOperatorFeedbackStatusV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdPatchResponse = zOperatorFeedbackItem;
|
|
369
|
+
export const zCreateOperatorFeedbackMessageV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdMessagesPostBody = zFeedbackMessageCreateRequest;
|
|
370
|
+
export const zCreateOperatorFeedbackMessageV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdMessagesPostPath = z.object({
|
|
371
|
+
feedback_id: z.uuid(),
|
|
372
|
+
project_id: z.string().min(1).max(64),
|
|
373
|
+
environment: z.string()
|
|
374
|
+
});
|
|
375
|
+
/**
|
|
376
|
+
* Successful Response
|
|
377
|
+
*/
|
|
378
|
+
export const zCreateOperatorFeedbackMessageV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackOperatorFeedbackIdMessagesPostResponse = zFeedbackMessage;
|
|
256
379
|
export const zGetFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedbackFeedbackIdGetPath = z.object({
|
|
257
380
|
feedback_id: z.uuid(),
|
|
258
381
|
project_id: z.string().min(1).max(64),
|
package/dist/preset.js
CHANGED
|
@@ -169,6 +169,8 @@ export function createCiridaePreset({ appBase = false, ...theme } = {}) {
|
|
|
169
169
|
"layout.contentGap": { value: "12px" },
|
|
170
170
|
"layout.clusterGap": { value: "16px" },
|
|
171
171
|
"layout.pageGap": { value: "12px" },
|
|
172
|
+
// How far overlays start below the top of the window: `EnvironmentFrame` publishes its strip's height.
|
|
173
|
+
"layout.bannerInset": { value: "var(--environment-banner-inset, 0px)" },
|
|
172
174
|
"layout.projectListOffset": { value: "28px" },
|
|
173
175
|
"layout.sectionGap": { value: "12px" },
|
|
174
176
|
// The design draws no centered card; one card alone on an empty page keeps more room than the sections of an app page.
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
--spacing-layout\.content-gap: 12px;
|
|
98
98
|
--spacing-layout\.cluster-gap: 16px;
|
|
99
99
|
--spacing-layout\.page-gap: 12px;
|
|
100
|
+
--spacing-layout\.banner-inset: var(--environment-banner-inset, 0px);
|
|
100
101
|
--spacing-layout\.project-list-offset: 28px;
|
|
101
102
|
--spacing-layout\.section-gap: 12px;
|
|
102
103
|
--spacing-layout\.centered-card-gap: 24px;
|
|
@@ -1573,6 +1574,10 @@
|
|
|
1573
1574
|
border-radius: 3px;
|
|
1574
1575
|
}
|
|
1575
1576
|
|
|
1577
|
+
.inset-x_none {
|
|
1578
|
+
inset-inline: var(--spacing-none);
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1576
1581
|
.inset-y_none {
|
|
1577
1582
|
inset-block: var(--spacing-none);
|
|
1578
1583
|
}
|
|
@@ -1825,10 +1830,6 @@
|
|
|
1825
1830
|
border-color: var(--colors-bg\.surface);
|
|
1826
1831
|
}
|
|
1827
1832
|
|
|
1828
|
-
.inset-x_none {
|
|
1829
|
-
inset-inline: var(--spacing-none);
|
|
1830
|
-
}
|
|
1831
|
-
|
|
1832
1833
|
.bd-t_2px_dashed_token\(colors\.border\.divider\) {
|
|
1833
1834
|
border-top: 2px dashed var(--colors-border\.divider);
|
|
1834
1835
|
}
|
|
@@ -3660,6 +3661,14 @@
|
|
|
3660
3661
|
left: var(--spacing-none);
|
|
3661
3662
|
}
|
|
3662
3663
|
|
|
3664
|
+
.top_layout\.bannerInset {
|
|
3665
|
+
top: var(--spacing-layout\.banner-inset);
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
.bottom_none {
|
|
3669
|
+
bottom: var(--spacing-none);
|
|
3670
|
+
}
|
|
3671
|
+
|
|
3663
3672
|
.min-h_control\.shortcut {
|
|
3664
3673
|
min-height: var(--sizes-control\.shortcut);
|
|
3665
3674
|
}
|
|
@@ -3975,12 +3984,16 @@
|
|
|
3975
3984
|
padding-top: var(--spacing-layout\.cluster-gap);
|
|
3976
3985
|
}
|
|
3977
3986
|
|
|
3987
|
+
.top_\[calc\(50\%_\+_token\(spacing\.layout\.bannerInset\)_\/_2\)\] {
|
|
3988
|
+
top: calc(50% + var(--spacing-layout\.banner-inset) / 2);
|
|
3989
|
+
}
|
|
3990
|
+
|
|
3978
3991
|
.max-w_\[calc\(var\(--dialog-sheet\)_\+_2_\*_\(token\(spacing\.layout\.tightGap\)_\+_token\(sizes\.border\.hairline\)\)\)\] {
|
|
3979
3992
|
max-width: calc(var(--dialog-sheet) + 2 * (var(--spacing-layout\.tight-gap) + var(--sizes-border\.hairline)));
|
|
3980
3993
|
}
|
|
3981
3994
|
|
|
3982
|
-
.max-h_\[calc\(100dvh_-_token\(spacing\.layout\.pageGap\)_\*_2\)\] {
|
|
3983
|
-
max-height: calc(100dvh - var(--spacing-layout\.page-gap) * 2);
|
|
3995
|
+
.max-h_\[calc\(100dvh_-_token\(spacing\.layout\.bannerInset\)_-_token\(spacing\.layout\.pageGap\)_\*_2\)\] {
|
|
3996
|
+
max-height: calc(100dvh - var(--spacing-layout\.banner-inset) - var(--spacing-layout\.page-gap) * 2);
|
|
3984
3997
|
}
|
|
3985
3998
|
|
|
3986
3999
|
.w_overlay\.popoverNarrow {
|
|
@@ -4195,10 +4208,6 @@
|
|
|
4195
4208
|
width: 320px;
|
|
4196
4209
|
}
|
|
4197
4210
|
|
|
4198
|
-
.bottom_none {
|
|
4199
|
-
bottom: var(--spacing-none);
|
|
4200
|
-
}
|
|
4201
|
-
|
|
4202
4211
|
.w_var\(--sparkline-plot-width\,_100\%\) {
|
|
4203
4212
|
width: var(--sparkline-plot-width, 100%);
|
|
4204
4213
|
}
|
|
@@ -9892,9 +9901,6 @@
|
|
|
9892
9901
|
}
|
|
9893
9902
|
.phone\:gap_layout\.clusterGap {
|
|
9894
9903
|
gap: var(--spacing-layout\.cluster-gap);
|
|
9895
|
-
}
|
|
9896
|
-
.phone\:inset-y_none {
|
|
9897
|
-
inset-block: var(--spacing-none);
|
|
9898
9904
|
}
|
|
9899
9905
|
.phone\:bd-e_1px_solid_token\(colors\.border\.panel\) {
|
|
9900
9906
|
border-inline-end: 1px solid var(--colors-border\.panel);
|
|
@@ -10007,14 +10013,20 @@
|
|
|
10007
10013
|
.phone\:ov-x_auto {
|
|
10008
10014
|
overflow-x: auto;
|
|
10009
10015
|
}
|
|
10010
|
-
.phone\:
|
|
10011
|
-
top: var(--spacing-layout\.page-gap);
|
|
10016
|
+
.phone\:top_\[calc\(token\(spacing\.layout\.bannerInset\)_\+_token\(spacing\.layout\.pageGap\)\)\] {
|
|
10017
|
+
top: calc(var(--spacing-layout\.banner-inset) + var(--spacing-layout\.page-gap));
|
|
10012
10018
|
}
|
|
10013
10019
|
.phone\:w_\[100vw\] {
|
|
10014
10020
|
width: 100vw;
|
|
10015
10021
|
}
|
|
10016
10022
|
.phone\:w_full {
|
|
10017
10023
|
width: var(--sizes-full);
|
|
10024
|
+
}
|
|
10025
|
+
.phone\:top_layout\.bannerInset {
|
|
10026
|
+
top: var(--spacing-layout\.banner-inset);
|
|
10027
|
+
}
|
|
10028
|
+
.phone\:bottom_none {
|
|
10029
|
+
bottom: var(--spacing-none);
|
|
10018
10030
|
}
|
|
10019
10031
|
.phone\:w_shell\.sidebar {
|
|
10020
10032
|
width: var(--sizes-shell\.sidebar);
|
|
@@ -135,6 +135,10 @@ const tokens = {
|
|
|
135
135
|
"value": "12px",
|
|
136
136
|
"variable": "var(--spacing-layout\\.page-gap)"
|
|
137
137
|
},
|
|
138
|
+
"spacing.layout.bannerInset": {
|
|
139
|
+
"value": "var(--environment-banner-inset, 0px)",
|
|
140
|
+
"variable": "var(--spacing-layout\\.banner-inset)"
|
|
141
|
+
},
|
|
138
142
|
"spacing.layout.projectListOffset": {
|
|
139
143
|
"value": "28px",
|
|
140
144
|
"variable": "var(--spacing-layout\\.project-list-offset)"
|
|
@@ -1687,6 +1691,10 @@ const tokens = {
|
|
|
1687
1691
|
"value": "calc(var(--spacing-layout\\.page-gap) * -1)",
|
|
1688
1692
|
"variable": "var(--spacing-layout\\.page-gap)"
|
|
1689
1693
|
},
|
|
1694
|
+
"spacing.-layout.bannerInset": {
|
|
1695
|
+
"value": "calc(var(--spacing-layout\\.banner-inset) * -1)",
|
|
1696
|
+
"variable": "var(--spacing-layout\\.banner-inset)"
|
|
1697
|
+
},
|
|
1690
1698
|
"spacing.-layout.projectListOffset": {
|
|
1691
1699
|
"value": "calc(var(--spacing-layout\\.project-list-offset) * -1)",
|
|
1692
1700
|
"variable": "var(--spacing-layout\\.project-list-offset)"
|