@ciridae/ui 1.0.2 → 1.0.3
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.d.ts +10 -0
- package/dist/app/auth.js +60 -0
- package/dist/app/error-boundary.d.ts +18 -0
- package/dist/app/error-boundary.js +45 -0
- package/dist/app/feedback.d.ts +12 -0
- package/dist/app/feedback.js +128 -0
- package/dist/app/index.d.ts +8 -0
- package/dist/app/index.js +8 -0
- package/dist/app/request-errors.d.ts +63 -0
- package/dist/app/request-errors.js +172 -0
- package/dist/app/sentry.d.ts +18 -0
- package/dist/app/sentry.js +52 -0
- package/dist/app/telemetry.d.ts +7 -0
- package/dist/app/telemetry.js +28 -0
- package/dist/app/trail.d.ts +9 -0
- package/dist/app/trail.js +18 -0
- package/dist/chat/chat-query-keys.d.ts +3 -3
- package/dist/chat/contract.d.ts +15 -15
- package/dist/chat/conversation-items-query-options.d.ts +114 -114
- package/dist/chat/conversation-source.d.ts +75 -0
- package/dist/chat/conversation-source.js +1 -0
- package/dist/chat/message-text.d.ts +1 -1
- package/dist/chat/message-text.js +114 -46
- package/dist/chat/use-conversation-list.d.ts +6 -6
- package/dist/components/activity-feed.d.ts +2 -2
- package/dist/components/agent-work.d.ts +3 -3
- package/dist/components/app-frame.d.ts +79 -0
- package/dist/components/app-frame.js +92 -0
- package/dist/components/app-navigation.d.ts +3 -3
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/brand-icons.d.ts +3 -3
- package/dist/components/bulk-action-bar.d.ts +1 -1
- package/dist/components/button.d.ts +4 -4
- package/dist/components/calendar.d.ts +1 -1
- package/dist/components/centered-page.d.ts +1 -1
- package/dist/components/chart.d.ts +22 -2
- package/dist/components/chart.js +239 -44
- package/dist/components/chat-client-source.d.ts +16 -0
- package/dist/components/chat-client-source.js +256 -0
- package/dist/components/chat-page.d.ts +9 -8
- package/dist/components/chat-page.js +7 -11
- package/dist/components/chat-sheet-controller.d.ts +10 -14
- package/dist/components/chat-sheet-controller.js +2 -3
- package/dist/components/chat-sheet.d.ts +10 -11
- package/dist/components/chat-sheet.js +135 -273
- package/dist/components/chat.d.ts +22 -8
- package/dist/components/chat.js +128 -33
- package/dist/components/checkbox-item.d.ts +1 -1
- package/dist/components/checkbox-list.d.ts +1 -1
- package/dist/components/chip.d.ts +1 -1
- package/dist/components/collapsible.d.ts +1 -1
- package/dist/components/color-theme.d.ts +1 -1
- package/dist/components/column-settings.d.ts +1 -1
- package/dist/components/command-menu.d.ts +1 -1
- package/dist/components/command-palette.d.ts +3 -3
- package/dist/components/command-palette.js +1 -2
- package/dist/components/copyable-id.d.ts +22 -5
- package/dist/components/copyable-id.js +46 -6
- package/dist/components/data-display.d.ts +4 -4
- package/dist/components/data-grid.d.ts +10 -10
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-time.d.ts +1 -1
- package/dist/components/dialog-height-context.d.ts +1 -1
- package/dist/components/document-viewer.d.ts +2 -2
- package/dist/components/drawer.d.ts +6 -6
- package/dist/components/dropzone.d.ts +4 -4
- package/dist/components/editable-field.d.ts +2 -2
- package/dist/components/email-input.d.ts +1 -1
- package/dist/components/environment-frame.d.ts +1 -1
- package/dist/components/expandable-text.d.ts +1 -1
- package/dist/components/feedback-screenshot.d.ts +1 -1
- package/dist/components/feedback-sheet.d.ts +18 -3
- package/dist/components/feedback-sheet.js +216 -55
- package/dist/components/field-context.d.ts +1 -1
- package/dist/components/filter-bar.d.ts +3 -3
- package/dist/components/filter-bar.js +4 -1
- package/dist/components/form-controls.d.ts +3 -3
- package/dist/components/form-layout.d.ts +7 -7
- package/dist/components/hotkeys.d.ts +2 -2
- package/dist/components/icon.d.ts +1 -1
- package/dist/components/input.d.ts +4 -4
- package/dist/components/input.js +3 -2
- package/dist/components/keyboard-shortcuts.d.ts +2 -2
- package/dist/components/keycap.d.ts +2 -2
- package/dist/components/layout.d.ts +13 -13
- package/dist/components/lightbox.d.ts +9 -3
- package/dist/components/lightbox.js +11 -8
- package/dist/components/link.d.ts +1 -1
- package/dist/components/locale.d.ts +32 -2
- package/dist/components/locale.js +25 -1
- package/dist/components/log-list.d.ts +3 -3
- package/dist/components/mention-input.d.ts +2 -2
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/meter.d.ts +1 -1
- package/dist/components/navigation.d.ts +2 -2
- package/dist/components/notification-tray.d.ts +1 -1
- package/dist/components/overlays.d.ts +4 -4
- package/dist/components/page-frame.d.ts +4 -4
- package/dist/components/panel.d.ts +3 -3
- package/dist/components/profile-header.d.ts +1 -1
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/project-avatar.d.ts +1 -1
- package/dist/components/radio-card.d.ts +2 -2
- package/dist/components/record.d.ts +4 -4
- package/dist/components/resolved-file-url.d.ts +19 -0
- package/dist/components/resolved-file-url.js +49 -0
- package/dist/components/scroll-area.d.ts +1 -1
- package/dist/components/secret-dialog.d.ts +1 -1
- package/dist/components/segmented-bar.d.ts +1 -1
- package/dist/components/select.d.ts +4 -4
- package/dist/components/settings.d.ts +4 -4
- package/dist/components/shell-skeleton.d.ts +1 -1
- package/dist/components/shell.d.ts +19 -19
- package/dist/components/shell.js +3 -1
- package/dist/components/side-panel.d.ts +3 -3
- package/dist/components/sidebar.d.ts +6 -6
- package/dist/components/site-banner.d.ts +1 -1
- package/dist/components/skeleton.d.ts +1 -1
- package/dist/components/skeletons.d.ts +5 -5
- package/dist/components/stages.d.ts +5 -5
- package/dist/components/stat-card.d.ts +3 -3
- package/dist/components/status-banner.d.ts +1 -1
- package/dist/components/status.d.ts +2 -2
- package/dist/components/steps.d.ts +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/tabs.d.ts +8 -8
- package/dist/components/theme-customizer.d.ts +2 -2
- package/dist/components/toast.d.ts +1 -1
- package/dist/components/use-new-version-available.d.ts +6 -0
- package/dist/components/use-new-version-available.js +29 -0
- package/dist/components/user-chip.d.ts +3 -3
- package/dist/components/wizard.d.ts +2 -2
- package/dist/feedback/contract.d.ts +136 -136
- package/dist/feedback/feedback-controller.d.ts +6 -6
- package/dist/feedback/generated/zod.gen.d.ts +28 -28
- package/dist/feedback/operator-contract.d.ts +11 -11
- package/dist/feedback/operator-controller.d.ts +32 -13
- package/dist/feedback/operator-controller.js +44 -11
- package/dist/styled-system/styles.css +203 -59
- package/package.json +32 -3
|
@@ -35,11 +35,11 @@ export type UserChipProps = Omit<ComponentProps<"span">, "children"> & UserIdent
|
|
|
35
35
|
profile?: UserProfile;
|
|
36
36
|
size?: "regular" | "compact";
|
|
37
37
|
};
|
|
38
|
-
export declare function UserChip({ name, kind, src, icon, detail, action, profile, size, href, renderLink, className, ...props }: UserChipProps): import("
|
|
38
|
+
export declare function UserChip({ name, kind, src, icon, detail, action, profile, size, href, renderLink, className, ...props }: UserChipProps): import("react").JSX.Element;
|
|
39
39
|
/** Just the name, opening the same profile card when there is one: an author under a message. */
|
|
40
40
|
export declare function UserName({ profile, href, renderLink, ...who }: UserIdentity & UserLink & {
|
|
41
41
|
profile?: UserProfile;
|
|
42
|
-
}): import("
|
|
42
|
+
}): import("react").JSX.Element;
|
|
43
43
|
/** Someone who takes part in a record: a person, or an agent persona, as the app knows them. */
|
|
44
44
|
export type ChipParticipant = {
|
|
45
45
|
id: string;
|
|
@@ -62,5 +62,5 @@ export type ParticipantChipProps = Omit<UserChipProps, "name" | "kind" | "src" |
|
|
|
62
62
|
* A participant as a `UserChip` whose name opens their profile card: their title and email, and
|
|
63
63
|
* `actions`. `href` or `renderLink` makes the name lead to their page as well.
|
|
64
64
|
*/
|
|
65
|
-
export declare function ParticipantChip({ participant, actions, ...chipProps }: ParticipantChipProps): import("
|
|
65
|
+
export declare function ParticipantChip({ participant, actions, ...chipProps }: ParticipantChipProps): import("react").JSX.Element;
|
|
66
66
|
export {};
|
|
@@ -19,7 +19,7 @@ export declare function Wizard({ step, steps, progress, showProgress, state, chi
|
|
|
19
19
|
state?: "step" | "result";
|
|
20
20
|
/** The current step's content. */
|
|
21
21
|
children: ReactNode;
|
|
22
|
-
}): import("
|
|
22
|
+
}): import("react").JSX.Element;
|
|
23
23
|
/** The end of a wizard: what happened, and what the reader can do next. */
|
|
24
24
|
export declare function WizardResult({ variant, icon: mark, title, description, children, }: {
|
|
25
25
|
/** `progress` is the wait before an outcome, such as a sign-in still open in another tab. */
|
|
@@ -30,4 +30,4 @@ export declare function WizardResult({ variant, icon: mark, title, description,
|
|
|
30
30
|
description?: string;
|
|
31
31
|
/** Actions, such as opening what was made or trying again. */
|
|
32
32
|
children?: ReactNode;
|
|
33
|
-
}): import("
|
|
33
|
+
}): import("react").JSX.Element;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import type { FeedbackCreateRequest, FeedbackAttachment, FeedbackErrorDetail, FeedbackItem, FeedbackMessage, FeedbackMessageCreateRequest, FeedbackStatusEvent, FeedbackSummary, FeedbackUpdateRequest } from "./generated/types.gen.js";
|
|
2
|
-
declare const feedbackCreateHeadersSchema: import("zod
|
|
3
|
-
'Idempotency-Key': import("zod
|
|
4
|
-
'X-POSTHOG-SESSION-ID': import("zod
|
|
5
|
-
}, import("zod/v4/core
|
|
6
|
-
declare const feedbackAttachmentSchema: import("zod
|
|
7
|
-
id: import("zod
|
|
8
|
-
name: import("zod
|
|
9
|
-
size: import("zod
|
|
10
|
-
url: import("zod
|
|
11
|
-
}, import("zod/v4/core
|
|
12
|
-
declare const feedbackCreateInputSchema: import("zod
|
|
13
|
-
subject: import("zod
|
|
14
|
-
description: import("zod
|
|
15
|
-
type: import("zod
|
|
2
|
+
declare const feedbackCreateHeadersSchema: import("zod").ZodObject<{
|
|
3
|
+
'Idempotency-Key': import("zod").ZodUUID;
|
|
4
|
+
'X-POSTHOG-SESSION-ID': import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
5
|
+
}, import("zod/v4/core").$strip>;
|
|
6
|
+
declare const feedbackAttachmentSchema: import("zod").ZodObject<{
|
|
7
|
+
id: import("zod").ZodString;
|
|
8
|
+
name: import("zod").ZodString;
|
|
9
|
+
size: import("zod").ZodInt;
|
|
10
|
+
url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodURL>>;
|
|
11
|
+
}, import("zod/v4/core").$strip>;
|
|
12
|
+
declare const feedbackCreateInputSchema: import("zod").ZodObject<{
|
|
13
|
+
subject: import("zod").ZodString;
|
|
14
|
+
description: import("zod").ZodString;
|
|
15
|
+
type: import("zod").ZodEnum<{
|
|
16
16
|
general: "general";
|
|
17
17
|
bug: "bug";
|
|
18
18
|
feature: "feature";
|
|
19
19
|
}>;
|
|
20
|
-
urgency: import("zod
|
|
20
|
+
urgency: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
21
21
|
normal: "normal";
|
|
22
22
|
emergency: "emergency";
|
|
23
23
|
}>>>;
|
|
24
|
-
affectedScope: import("zod
|
|
24
|
+
affectedScope: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
25
25
|
unknown: "unknown";
|
|
26
26
|
everyone: "everyone";
|
|
27
27
|
just_me: "just_me";
|
|
28
28
|
my_team: "my_team";
|
|
29
29
|
}>>>;
|
|
30
|
-
}, import("zod/v4/core
|
|
31
|
-
declare const feedbackErrorResponseSchema: import("zod
|
|
32
|
-
detail: import("zod
|
|
33
|
-
code: import("zod
|
|
30
|
+
}, import("zod/v4/core").$strict>;
|
|
31
|
+
declare const feedbackErrorResponseSchema: import("zod").ZodObject<{
|
|
32
|
+
detail: import("zod").ZodObject<{
|
|
33
|
+
code: import("zod").ZodEnum<{
|
|
34
34
|
feedback_access_denied: "feedback_access_denied";
|
|
35
35
|
feedback_auth_unavailable: "feedback_auth_unavailable";
|
|
36
36
|
feedback_invalid_token: "feedback_invalid_token";
|
|
@@ -40,198 +40,198 @@ declare const feedbackErrorResponseSchema: import("zod/index.cjs").ZodObject<{
|
|
|
40
40
|
feedback_scope_not_found: "feedback_scope_not_found";
|
|
41
41
|
feedback_unavailable: "feedback_unavailable";
|
|
42
42
|
}>;
|
|
43
|
-
detail: import("zod
|
|
44
|
-
}, import("zod/v4/core
|
|
45
|
-
}, import("zod/v4/core
|
|
46
|
-
declare const feedbackItemSchema: import("zod
|
|
47
|
-
id: import("zod
|
|
48
|
-
subject: import("zod
|
|
49
|
-
description: import("zod
|
|
50
|
-
type: import("zod
|
|
43
|
+
detail: import("zod").ZodString;
|
|
44
|
+
}, import("zod/v4/core").$strip>;
|
|
45
|
+
}, import("zod/v4/core").$strip>;
|
|
46
|
+
declare const feedbackItemSchema: import("zod").ZodObject<{
|
|
47
|
+
id: import("zod").ZodUUID;
|
|
48
|
+
subject: import("zod").ZodString;
|
|
49
|
+
description: import("zod").ZodString;
|
|
50
|
+
type: import("zod").ZodEnum<{
|
|
51
51
|
general: "general";
|
|
52
52
|
bug: "bug";
|
|
53
53
|
feature: "feature";
|
|
54
54
|
}>;
|
|
55
|
-
urgency: import("zod
|
|
55
|
+
urgency: import("zod").ZodEnum<{
|
|
56
56
|
normal: "normal";
|
|
57
57
|
emergency: "emergency";
|
|
58
58
|
}>;
|
|
59
|
-
affectedScope: import("zod
|
|
59
|
+
affectedScope: import("zod").ZodEnum<{
|
|
60
60
|
unknown: "unknown";
|
|
61
61
|
everyone: "everyone";
|
|
62
62
|
just_me: "just_me";
|
|
63
63
|
my_team: "my_team";
|
|
64
64
|
}>;
|
|
65
|
-
status: import("zod
|
|
66
|
-
in_progress: "in_progress";
|
|
67
|
-
completed: "completed";
|
|
65
|
+
status: import("zod").ZodEnum<{
|
|
68
66
|
received: "received";
|
|
67
|
+
in_progress: "in_progress";
|
|
69
68
|
discussion_required: "discussion_required";
|
|
69
|
+
completed: "completed";
|
|
70
70
|
no_action: "no_action";
|
|
71
71
|
withdrawn: "withdrawn";
|
|
72
72
|
}>;
|
|
73
|
-
createdAt: import("zod
|
|
74
|
-
updatedAt: import("zod
|
|
75
|
-
canEdit: import("zod
|
|
76
|
-
canWithdraw: import("zod
|
|
77
|
-
canReply: import("zod
|
|
78
|
-
createdAt_epoch_milliseconds: import("zod
|
|
79
|
-
updatedAt_epoch_milliseconds: import("zod
|
|
80
|
-
statusTimeline: import("zod
|
|
81
|
-
id: import("zod
|
|
82
|
-
status: import("zod
|
|
83
|
-
in_progress: "in_progress";
|
|
84
|
-
completed: "completed";
|
|
73
|
+
createdAt: import("zod").ZodISODateTime;
|
|
74
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
75
|
+
canEdit: import("zod").ZodBoolean;
|
|
76
|
+
canWithdraw: import("zod").ZodBoolean;
|
|
77
|
+
canReply: import("zod").ZodBoolean;
|
|
78
|
+
createdAt_epoch_milliseconds: import("zod").ZodInt;
|
|
79
|
+
updatedAt_epoch_milliseconds: import("zod").ZodInt;
|
|
80
|
+
statusTimeline: import("zod").ZodArray<import("zod").ZodObject<{
|
|
81
|
+
id: import("zod").ZodString;
|
|
82
|
+
status: import("zod").ZodEnum<{
|
|
85
83
|
received: "received";
|
|
84
|
+
in_progress: "in_progress";
|
|
86
85
|
discussion_required: "discussion_required";
|
|
86
|
+
completed: "completed";
|
|
87
87
|
no_action: "no_action";
|
|
88
88
|
withdrawn: "withdrawn";
|
|
89
89
|
}>;
|
|
90
|
-
createdAt: import("zod
|
|
91
|
-
createdAt_epoch_milliseconds: import("zod
|
|
92
|
-
}, import("zod/v4/core
|
|
93
|
-
messages: import("zod
|
|
94
|
-
id: import("zod
|
|
95
|
-
author: import("zod
|
|
96
|
-
role: import("zod
|
|
90
|
+
createdAt: import("zod").ZodISODateTime;
|
|
91
|
+
createdAt_epoch_milliseconds: import("zod").ZodInt;
|
|
92
|
+
}, import("zod/v4/core").$strip>>;
|
|
93
|
+
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
94
|
+
id: import("zod").ZodString;
|
|
95
|
+
author: import("zod").ZodObject<{
|
|
96
|
+
role: import("zod").ZodEnum<{
|
|
97
97
|
operator: "operator";
|
|
98
98
|
reporter: "reporter";
|
|
99
99
|
}>;
|
|
100
|
-
name: import("zod
|
|
101
|
-
}, import("zod/v4/core
|
|
102
|
-
body: import("zod
|
|
103
|
-
createdAt: import("zod
|
|
104
|
-
editedAt: import("zod
|
|
105
|
-
createdAt_epoch_milliseconds: import("zod
|
|
106
|
-
editedAt_epoch_milliseconds: import("zod
|
|
107
|
-
}, import("zod/v4/core
|
|
108
|
-
attachments: import("zod
|
|
109
|
-
id: import("zod
|
|
110
|
-
name: import("zod
|
|
111
|
-
size: import("zod
|
|
112
|
-
url: import("zod
|
|
113
|
-
}, import("zod/v4/core
|
|
114
|
-
}, import("zod/v4/core
|
|
115
|
-
declare const feedbackListResponseSchema: import("zod
|
|
116
|
-
items: import("zod
|
|
117
|
-
id: import("zod
|
|
118
|
-
subject: import("zod
|
|
119
|
-
description: import("zod
|
|
120
|
-
type: import("zod
|
|
100
|
+
name: import("zod").ZodString;
|
|
101
|
+
}, import("zod/v4/core").$strip>;
|
|
102
|
+
body: import("zod").ZodString;
|
|
103
|
+
createdAt: import("zod").ZodISODateTime;
|
|
104
|
+
editedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
105
|
+
createdAt_epoch_milliseconds: import("zod").ZodInt;
|
|
106
|
+
editedAt_epoch_milliseconds: import("zod").ZodNullable<import("zod").ZodInt>;
|
|
107
|
+
}, import("zod/v4/core").$strip>>;
|
|
108
|
+
attachments: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
109
|
+
id: import("zod").ZodString;
|
|
110
|
+
name: import("zod").ZodString;
|
|
111
|
+
size: import("zod").ZodInt;
|
|
112
|
+
url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodURL>>;
|
|
113
|
+
}, import("zod/v4/core").$strip>>>>;
|
|
114
|
+
}, import("zod/v4/core").$strip>;
|
|
115
|
+
declare const feedbackListResponseSchema: import("zod").ZodObject<{
|
|
116
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
117
|
+
id: import("zod").ZodUUID;
|
|
118
|
+
subject: import("zod").ZodString;
|
|
119
|
+
description: import("zod").ZodString;
|
|
120
|
+
type: import("zod").ZodEnum<{
|
|
121
121
|
general: "general";
|
|
122
122
|
bug: "bug";
|
|
123
123
|
feature: "feature";
|
|
124
124
|
}>;
|
|
125
|
-
urgency: import("zod
|
|
125
|
+
urgency: import("zod").ZodEnum<{
|
|
126
126
|
normal: "normal";
|
|
127
127
|
emergency: "emergency";
|
|
128
128
|
}>;
|
|
129
|
-
affectedScope: import("zod
|
|
129
|
+
affectedScope: import("zod").ZodEnum<{
|
|
130
130
|
unknown: "unknown";
|
|
131
131
|
everyone: "everyone";
|
|
132
132
|
just_me: "just_me";
|
|
133
133
|
my_team: "my_team";
|
|
134
134
|
}>;
|
|
135
|
-
status: import("zod
|
|
136
|
-
in_progress: "in_progress";
|
|
137
|
-
completed: "completed";
|
|
135
|
+
status: import("zod").ZodEnum<{
|
|
138
136
|
received: "received";
|
|
137
|
+
in_progress: "in_progress";
|
|
139
138
|
discussion_required: "discussion_required";
|
|
139
|
+
completed: "completed";
|
|
140
140
|
no_action: "no_action";
|
|
141
141
|
withdrawn: "withdrawn";
|
|
142
142
|
}>;
|
|
143
|
-
createdAt: import("zod
|
|
144
|
-
updatedAt: import("zod
|
|
145
|
-
canEdit: import("zod
|
|
146
|
-
canWithdraw: import("zod
|
|
147
|
-
canReply: import("zod
|
|
148
|
-
createdAt_epoch_milliseconds: import("zod
|
|
149
|
-
updatedAt_epoch_milliseconds: import("zod
|
|
150
|
-
}, import("zod/v4/core
|
|
151
|
-
}, import("zod/v4/core
|
|
152
|
-
declare const feedbackMessageCreateInputSchema: import("zod
|
|
153
|
-
body: import("zod
|
|
154
|
-
}, import("zod/v4/core
|
|
155
|
-
declare const feedbackMessageSchema: import("zod
|
|
156
|
-
id: import("zod
|
|
157
|
-
author: import("zod
|
|
158
|
-
role: import("zod
|
|
143
|
+
createdAt: import("zod").ZodISODateTime;
|
|
144
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
145
|
+
canEdit: import("zod").ZodBoolean;
|
|
146
|
+
canWithdraw: import("zod").ZodBoolean;
|
|
147
|
+
canReply: import("zod").ZodBoolean;
|
|
148
|
+
createdAt_epoch_milliseconds: import("zod").ZodInt;
|
|
149
|
+
updatedAt_epoch_milliseconds: import("zod").ZodInt;
|
|
150
|
+
}, import("zod/v4/core").$strip>>;
|
|
151
|
+
}, import("zod/v4/core").$strip>;
|
|
152
|
+
declare const feedbackMessageCreateInputSchema: import("zod").ZodObject<{
|
|
153
|
+
body: import("zod").ZodString;
|
|
154
|
+
}, import("zod/v4/core").$strict>;
|
|
155
|
+
declare const feedbackMessageSchema: import("zod").ZodObject<{
|
|
156
|
+
id: import("zod").ZodString;
|
|
157
|
+
author: import("zod").ZodObject<{
|
|
158
|
+
role: import("zod").ZodEnum<{
|
|
159
159
|
operator: "operator";
|
|
160
160
|
reporter: "reporter";
|
|
161
161
|
}>;
|
|
162
|
-
name: import("zod
|
|
163
|
-
}, import("zod/v4/core
|
|
164
|
-
body: import("zod
|
|
165
|
-
createdAt: import("zod
|
|
166
|
-
editedAt: import("zod
|
|
167
|
-
createdAt_epoch_milliseconds: import("zod
|
|
168
|
-
editedAt_epoch_milliseconds: import("zod
|
|
169
|
-
}, import("zod/v4/core
|
|
170
|
-
declare const feedbackStatusEventSchema: import("zod
|
|
171
|
-
id: import("zod
|
|
172
|
-
status: import("zod
|
|
173
|
-
in_progress: "in_progress";
|
|
174
|
-
completed: "completed";
|
|
162
|
+
name: import("zod").ZodString;
|
|
163
|
+
}, import("zod/v4/core").$strip>;
|
|
164
|
+
body: import("zod").ZodString;
|
|
165
|
+
createdAt: import("zod").ZodISODateTime;
|
|
166
|
+
editedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
167
|
+
createdAt_epoch_milliseconds: import("zod").ZodInt;
|
|
168
|
+
editedAt_epoch_milliseconds: import("zod").ZodNullable<import("zod").ZodInt>;
|
|
169
|
+
}, import("zod/v4/core").$strip>;
|
|
170
|
+
declare const feedbackStatusEventSchema: import("zod").ZodObject<{
|
|
171
|
+
id: import("zod").ZodString;
|
|
172
|
+
status: import("zod").ZodEnum<{
|
|
175
173
|
received: "received";
|
|
174
|
+
in_progress: "in_progress";
|
|
176
175
|
discussion_required: "discussion_required";
|
|
176
|
+
completed: "completed";
|
|
177
177
|
no_action: "no_action";
|
|
178
178
|
withdrawn: "withdrawn";
|
|
179
179
|
}>;
|
|
180
|
-
createdAt: import("zod
|
|
181
|
-
createdAt_epoch_milliseconds: import("zod
|
|
182
|
-
}, import("zod/v4/core
|
|
183
|
-
declare const feedbackStatusSchema: import("zod
|
|
184
|
-
in_progress: "in_progress";
|
|
185
|
-
completed: "completed";
|
|
180
|
+
createdAt: import("zod").ZodISODateTime;
|
|
181
|
+
createdAt_epoch_milliseconds: import("zod").ZodInt;
|
|
182
|
+
}, import("zod/v4/core").$strip>;
|
|
183
|
+
declare const feedbackStatusSchema: import("zod").ZodEnum<{
|
|
186
184
|
received: "received";
|
|
185
|
+
in_progress: "in_progress";
|
|
187
186
|
discussion_required: "discussion_required";
|
|
187
|
+
completed: "completed";
|
|
188
188
|
no_action: "no_action";
|
|
189
189
|
withdrawn: "withdrawn";
|
|
190
190
|
}>;
|
|
191
|
-
declare const feedbackSummarySchema: import("zod
|
|
192
|
-
id: import("zod
|
|
193
|
-
subject: import("zod
|
|
194
|
-
description: import("zod
|
|
195
|
-
type: import("zod
|
|
191
|
+
declare const feedbackSummarySchema: import("zod").ZodObject<{
|
|
192
|
+
id: import("zod").ZodUUID;
|
|
193
|
+
subject: import("zod").ZodString;
|
|
194
|
+
description: import("zod").ZodString;
|
|
195
|
+
type: import("zod").ZodEnum<{
|
|
196
196
|
general: "general";
|
|
197
197
|
bug: "bug";
|
|
198
198
|
feature: "feature";
|
|
199
199
|
}>;
|
|
200
|
-
urgency: import("zod
|
|
200
|
+
urgency: import("zod").ZodEnum<{
|
|
201
201
|
normal: "normal";
|
|
202
202
|
emergency: "emergency";
|
|
203
203
|
}>;
|
|
204
|
-
affectedScope: import("zod
|
|
204
|
+
affectedScope: import("zod").ZodEnum<{
|
|
205
205
|
unknown: "unknown";
|
|
206
206
|
everyone: "everyone";
|
|
207
207
|
just_me: "just_me";
|
|
208
208
|
my_team: "my_team";
|
|
209
209
|
}>;
|
|
210
|
-
status: import("zod
|
|
211
|
-
in_progress: "in_progress";
|
|
212
|
-
completed: "completed";
|
|
210
|
+
status: import("zod").ZodEnum<{
|
|
213
211
|
received: "received";
|
|
212
|
+
in_progress: "in_progress";
|
|
214
213
|
discussion_required: "discussion_required";
|
|
214
|
+
completed: "completed";
|
|
215
215
|
no_action: "no_action";
|
|
216
216
|
withdrawn: "withdrawn";
|
|
217
217
|
}>;
|
|
218
|
-
createdAt: import("zod
|
|
219
|
-
updatedAt: import("zod
|
|
220
|
-
canEdit: import("zod
|
|
221
|
-
canWithdraw: import("zod
|
|
222
|
-
canReply: import("zod
|
|
223
|
-
createdAt_epoch_milliseconds: import("zod
|
|
224
|
-
updatedAt_epoch_milliseconds: import("zod
|
|
225
|
-
}, import("zod/v4/core
|
|
226
|
-
declare const feedbackTypeSchema: import("zod
|
|
218
|
+
createdAt: import("zod").ZodISODateTime;
|
|
219
|
+
updatedAt: import("zod").ZodISODateTime;
|
|
220
|
+
canEdit: import("zod").ZodBoolean;
|
|
221
|
+
canWithdraw: import("zod").ZodBoolean;
|
|
222
|
+
canReply: import("zod").ZodBoolean;
|
|
223
|
+
createdAt_epoch_milliseconds: import("zod").ZodInt;
|
|
224
|
+
updatedAt_epoch_milliseconds: import("zod").ZodInt;
|
|
225
|
+
}, import("zod/v4/core").$strip>;
|
|
226
|
+
declare const feedbackTypeSchema: import("zod").ZodEnum<{
|
|
227
227
|
general: "general";
|
|
228
228
|
bug: "bug";
|
|
229
229
|
feature: "feature";
|
|
230
230
|
}>;
|
|
231
|
-
declare const feedbackUpdateInputSchema: import("zod
|
|
232
|
-
subject: import("zod
|
|
233
|
-
description: import("zod
|
|
234
|
-
}, import("zod/v4/core
|
|
231
|
+
declare const feedbackUpdateInputSchema: import("zod").ZodObject<{
|
|
232
|
+
subject: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
233
|
+
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
234
|
+
}, import("zod/v4/core").$strict>;
|
|
235
235
|
declare const feedbackMaxLengths: {
|
|
236
236
|
readonly description: number;
|
|
237
237
|
readonly subject: number;
|
|
@@ -11,22 +11,22 @@ type FeedbackControllerOptions = {
|
|
|
11
11
|
onFeedbackCreated?: (item: FeedbackItem) => void;
|
|
12
12
|
};
|
|
13
13
|
declare function useFeedbackController({ active, config, onFeedbackCreated }: FeedbackControllerOptions): {
|
|
14
|
-
createMutation: import("@tanstack/react-query
|
|
14
|
+
createMutation: import("@tanstack/react-query").UseMutationResult<FeedbackItem, Error, {
|
|
15
15
|
queryRoot: readonly string[];
|
|
16
16
|
values: FeedbackSubmitValues;
|
|
17
17
|
}, unknown>;
|
|
18
|
-
messageMutation: import("@tanstack/react-query
|
|
18
|
+
messageMutation: import("@tanstack/react-query").UseMutationResult<import("./contract.js").FeedbackMessage, Error, {
|
|
19
19
|
body: string;
|
|
20
20
|
feedbackId: string;
|
|
21
21
|
queryRoot: readonly string[];
|
|
22
22
|
}, void>;
|
|
23
23
|
messageStates: Record<string, FeedbackMessageMutationState>;
|
|
24
|
-
updateMutation: import("@tanstack/react-query
|
|
24
|
+
updateMutation: import("@tanstack/react-query").UseMutationResult<FeedbackItem, Error, {
|
|
25
25
|
feedbackId: string;
|
|
26
26
|
input: FeedbackUpdateInput;
|
|
27
27
|
queryRoot: readonly string[];
|
|
28
28
|
}, unknown>;
|
|
29
|
-
withdrawMutation: import("@tanstack/react-query
|
|
29
|
+
withdrawMutation: import("@tanstack/react-query").UseMutationResult<FeedbackItem, Error, {
|
|
30
30
|
feedbackId: string;
|
|
31
31
|
queryRoot: readonly string[];
|
|
32
32
|
}, unknown>;
|
|
@@ -35,9 +35,9 @@ declare function useFeedbackController({ active, config, onFeedbackCreated }: Fe
|
|
|
35
35
|
comments: Record<string, CommentItemData[]>;
|
|
36
36
|
createFeedback: (values: FeedbackSubmitValues) => Promise<FeedbackItem>;
|
|
37
37
|
createMessage: (feedbackId: string, body: string) => Promise<import("./contract.js").FeedbackMessage>;
|
|
38
|
-
detailQuery: import("@tanstack/react-query
|
|
38
|
+
detailQuery: import("@tanstack/react-query").UseQueryResult<NoInfer<FeedbackItem>, Error>;
|
|
39
39
|
items: import("./feedback-tracking-types.js").UserFeedbackItem[];
|
|
40
|
-
itemsQuery: import("@tanstack/react-query
|
|
40
|
+
itemsQuery: import("@tanstack/react-query").UseQueryResult<NoInfer<FeedbackSummary[]>, Error>;
|
|
41
41
|
isMessageSubmitting: boolean;
|
|
42
42
|
messageError: Error | null;
|
|
43
43
|
selectedDetail: NoInfer<FeedbackItem> | undefined;
|
|
@@ -63,10 +63,10 @@ export declare const zHttpErrorResponse: z.ZodObject<{
|
|
|
63
63
|
export declare const zFeedbackStatusEvent: z.ZodObject<{
|
|
64
64
|
id: z.ZodString;
|
|
65
65
|
status: z.ZodEnum<{
|
|
66
|
-
in_progress: "in_progress";
|
|
67
|
-
completed: "completed";
|
|
68
66
|
received: "received";
|
|
67
|
+
in_progress: "in_progress";
|
|
69
68
|
discussion_required: "discussion_required";
|
|
69
|
+
completed: "completed";
|
|
70
70
|
no_action: "no_action";
|
|
71
71
|
withdrawn: "withdrawn";
|
|
72
72
|
}>;
|
|
@@ -169,10 +169,10 @@ export declare const zFeedbackSummary: z.ZodObject<{
|
|
|
169
169
|
my_team: "my_team";
|
|
170
170
|
}>;
|
|
171
171
|
status: z.ZodEnum<{
|
|
172
|
-
in_progress: "in_progress";
|
|
173
|
-
completed: "completed";
|
|
174
172
|
received: "received";
|
|
173
|
+
in_progress: "in_progress";
|
|
175
174
|
discussion_required: "discussion_required";
|
|
175
|
+
completed: "completed";
|
|
176
176
|
no_action: "no_action";
|
|
177
177
|
withdrawn: "withdrawn";
|
|
178
178
|
}>;
|
|
@@ -210,10 +210,10 @@ export declare const zFeedbackListResponse: z.ZodObject<{
|
|
|
210
210
|
my_team: "my_team";
|
|
211
211
|
}>;
|
|
212
212
|
status: z.ZodEnum<{
|
|
213
|
-
in_progress: "in_progress";
|
|
214
|
-
completed: "completed";
|
|
215
213
|
received: "received";
|
|
214
|
+
in_progress: "in_progress";
|
|
216
215
|
discussion_required: "discussion_required";
|
|
216
|
+
completed: "completed";
|
|
217
217
|
no_action: "no_action";
|
|
218
218
|
withdrawn: "withdrawn";
|
|
219
219
|
}>;
|
|
@@ -283,10 +283,10 @@ export declare const zFeedbackItem: z.ZodObject<{
|
|
|
283
283
|
my_team: "my_team";
|
|
284
284
|
}>;
|
|
285
285
|
status: z.ZodEnum<{
|
|
286
|
-
in_progress: "in_progress";
|
|
287
|
-
completed: "completed";
|
|
288
286
|
received: "received";
|
|
287
|
+
in_progress: "in_progress";
|
|
289
288
|
discussion_required: "discussion_required";
|
|
289
|
+
completed: "completed";
|
|
290
290
|
no_action: "no_action";
|
|
291
291
|
withdrawn: "withdrawn";
|
|
292
292
|
}>;
|
|
@@ -300,10 +300,10 @@ export declare const zFeedbackItem: z.ZodObject<{
|
|
|
300
300
|
statusTimeline: z.ZodArray<z.ZodObject<{
|
|
301
301
|
id: z.ZodString;
|
|
302
302
|
status: z.ZodEnum<{
|
|
303
|
-
in_progress: "in_progress";
|
|
304
|
-
completed: "completed";
|
|
305
303
|
received: "received";
|
|
304
|
+
in_progress: "in_progress";
|
|
306
305
|
discussion_required: "discussion_required";
|
|
306
|
+
completed: "completed";
|
|
307
307
|
no_action: "no_action";
|
|
308
308
|
withdrawn: "withdrawn";
|
|
309
309
|
}>;
|
|
@@ -360,10 +360,10 @@ export declare const zListFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeed
|
|
|
360
360
|
my_team: "my_team";
|
|
361
361
|
}>;
|
|
362
362
|
status: z.ZodEnum<{
|
|
363
|
-
in_progress: "in_progress";
|
|
364
|
-
completed: "completed";
|
|
365
363
|
received: "received";
|
|
364
|
+
in_progress: "in_progress";
|
|
366
365
|
discussion_required: "discussion_required";
|
|
366
|
+
completed: "completed";
|
|
367
367
|
no_action: "no_action";
|
|
368
368
|
withdrawn: "withdrawn";
|
|
369
369
|
}>;
|
|
@@ -426,10 +426,10 @@ export declare const zCreateFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFe
|
|
|
426
426
|
my_team: "my_team";
|
|
427
427
|
}>;
|
|
428
428
|
status: z.ZodEnum<{
|
|
429
|
-
in_progress: "in_progress";
|
|
430
|
-
completed: "completed";
|
|
431
429
|
received: "received";
|
|
430
|
+
in_progress: "in_progress";
|
|
432
431
|
discussion_required: "discussion_required";
|
|
432
|
+
completed: "completed";
|
|
433
433
|
no_action: "no_action";
|
|
434
434
|
withdrawn: "withdrawn";
|
|
435
435
|
}>;
|
|
@@ -443,10 +443,10 @@ export declare const zCreateFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFe
|
|
|
443
443
|
statusTimeline: z.ZodArray<z.ZodObject<{
|
|
444
444
|
id: z.ZodString;
|
|
445
445
|
status: z.ZodEnum<{
|
|
446
|
-
in_progress: "in_progress";
|
|
447
|
-
completed: "completed";
|
|
448
446
|
received: "received";
|
|
447
|
+
in_progress: "in_progress";
|
|
449
448
|
discussion_required: "discussion_required";
|
|
449
|
+
completed: "completed";
|
|
450
450
|
no_action: "no_action";
|
|
451
451
|
withdrawn: "withdrawn";
|
|
452
452
|
}>;
|
|
@@ -503,10 +503,10 @@ export declare const zGetFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedb
|
|
|
503
503
|
my_team: "my_team";
|
|
504
504
|
}>;
|
|
505
505
|
status: z.ZodEnum<{
|
|
506
|
-
in_progress: "in_progress";
|
|
507
|
-
completed: "completed";
|
|
508
506
|
received: "received";
|
|
507
|
+
in_progress: "in_progress";
|
|
509
508
|
discussion_required: "discussion_required";
|
|
509
|
+
completed: "completed";
|
|
510
510
|
no_action: "no_action";
|
|
511
511
|
withdrawn: "withdrawn";
|
|
512
512
|
}>;
|
|
@@ -520,10 +520,10 @@ export declare const zGetFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFeedb
|
|
|
520
520
|
statusTimeline: z.ZodArray<z.ZodObject<{
|
|
521
521
|
id: z.ZodString;
|
|
522
522
|
status: z.ZodEnum<{
|
|
523
|
-
in_progress: "in_progress";
|
|
524
|
-
completed: "completed";
|
|
525
523
|
received: "received";
|
|
524
|
+
in_progress: "in_progress";
|
|
526
525
|
discussion_required: "discussion_required";
|
|
526
|
+
completed: "completed";
|
|
527
527
|
no_action: "no_action";
|
|
528
528
|
withdrawn: "withdrawn";
|
|
529
529
|
}>;
|
|
@@ -584,10 +584,10 @@ export declare const zUpdateFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFe
|
|
|
584
584
|
my_team: "my_team";
|
|
585
585
|
}>;
|
|
586
586
|
status: z.ZodEnum<{
|
|
587
|
-
in_progress: "in_progress";
|
|
588
|
-
completed: "completed";
|
|
589
587
|
received: "received";
|
|
588
|
+
in_progress: "in_progress";
|
|
590
589
|
discussion_required: "discussion_required";
|
|
590
|
+
completed: "completed";
|
|
591
591
|
no_action: "no_action";
|
|
592
592
|
withdrawn: "withdrawn";
|
|
593
593
|
}>;
|
|
@@ -601,10 +601,10 @@ export declare const zUpdateFeedbackV1ProjectsProjectIdEnvironmentsEnvironmentFe
|
|
|
601
601
|
statusTimeline: z.ZodArray<z.ZodObject<{
|
|
602
602
|
id: z.ZodString;
|
|
603
603
|
status: z.ZodEnum<{
|
|
604
|
-
in_progress: "in_progress";
|
|
605
|
-
completed: "completed";
|
|
606
604
|
received: "received";
|
|
605
|
+
in_progress: "in_progress";
|
|
607
606
|
discussion_required: "discussion_required";
|
|
607
|
+
completed: "completed";
|
|
608
608
|
no_action: "no_action";
|
|
609
609
|
withdrawn: "withdrawn";
|
|
610
610
|
}>;
|
|
@@ -661,10 +661,10 @@ export declare const zWithdrawFeedbackV1ProjectsProjectIdEnvironmentsEnvironment
|
|
|
661
661
|
my_team: "my_team";
|
|
662
662
|
}>;
|
|
663
663
|
status: z.ZodEnum<{
|
|
664
|
-
in_progress: "in_progress";
|
|
665
|
-
completed: "completed";
|
|
666
664
|
received: "received";
|
|
665
|
+
in_progress: "in_progress";
|
|
667
666
|
discussion_required: "discussion_required";
|
|
667
|
+
completed: "completed";
|
|
668
668
|
no_action: "no_action";
|
|
669
669
|
withdrawn: "withdrawn";
|
|
670
670
|
}>;
|
|
@@ -678,10 +678,10 @@ export declare const zWithdrawFeedbackV1ProjectsProjectIdEnvironmentsEnvironment
|
|
|
678
678
|
statusTimeline: z.ZodArray<z.ZodObject<{
|
|
679
679
|
id: z.ZodString;
|
|
680
680
|
status: z.ZodEnum<{
|
|
681
|
-
in_progress: "in_progress";
|
|
682
|
-
completed: "completed";
|
|
683
681
|
received: "received";
|
|
682
|
+
in_progress: "in_progress";
|
|
684
683
|
discussion_required: "discussion_required";
|
|
684
|
+
completed: "completed";
|
|
685
685
|
no_action: "no_action";
|
|
686
686
|
withdrawn: "withdrawn";
|
|
687
687
|
}>;
|