@ciridae/ui 1.1.1 → 1.2.1
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/app/auth.js +7 -0
- package/dist/app/frame.d.ts +8 -0
- package/dist/app/frame.js +15 -0
- package/dist/app/index.d.ts +1 -0
- package/dist/app/index.js +1 -0
- package/dist/components/button.js +3 -1
- package/dist/components/chat.js +2 -11
- package/dist/components/color-theme.js +16 -1
- package/dist/components/data-grid.d.ts +5 -1
- package/dist/components/data-grid.js +4 -3
- package/dist/components/environment-frame.d.ts +1 -1
- package/dist/components/environment-frame.js +4 -8
- package/dist/components/feedback-screenshot.d.ts +7 -0
- package/dist/components/feedback-screenshot.js +57 -9
- package/dist/components/feedback-sheet.d.ts +5 -2
- package/dist/components/feedback-sheet.js +27 -8
- package/dist/components/form-controls.js +2 -1
- package/dist/components/locale.d.ts +27 -1
- package/dist/components/locale.js +19 -1
- package/dist/components/member-directory.d.ts +35 -0
- package/dist/components/member-directory.js +125 -0
- package/dist/components/overlays.js +11 -0
- package/dist/components/select.js +4 -1
- package/dist/components/shell.js +4 -2
- package/dist/components/sidebar.js +1 -1
- package/dist/components/skeleton.d.ts +5 -0
- package/dist/components/skeleton.js +18 -5
- 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 +0 -2
- package/dist/styled-system/styles.css +68 -59
- package/dist/styled-system/tokens/index.mjs +0 -8
- package/dist/styled-system/tokens/tokens.d.ts +2 -2
- package/dist/theme/tokens.d.ts +1 -1
- package/dist/theme/tokens.js +0 -6
- package/package.json +7 -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
|
@@ -445,7 +445,6 @@ export function createCiridaePreset({ appBase = false, ...theme } = {}) {
|
|
|
445
445
|
radii: {
|
|
446
446
|
none: { value: "0" },
|
|
447
447
|
round: { value: "999px" },
|
|
448
|
-
nav: { value: "3px" },
|
|
449
448
|
keycap: { value: "6px" },
|
|
450
449
|
// Round 2 fields -- inputs, selects, checkboxes -- are nearly square-cornered.
|
|
451
450
|
control: { value: "4px" },
|
|
@@ -595,7 +594,6 @@ export function createCiridaePreset({ appBase = false, ...theme } = {}) {
|
|
|
595
594
|
"control.pressed": { value: shadows["control.pressed"] },
|
|
596
595
|
},
|
|
597
596
|
gradients: {
|
|
598
|
-
skeletonFill: { value: gradients.skeletonFill },
|
|
599
597
|
orb: {
|
|
600
598
|
value: "radial-gradient(circle at 70% 24%, rgba(232,224,195,.9) 0 9%, transparent 11%), linear-gradient(180deg, #E8E0C3, #46361D)",
|
|
601
599
|
},
|