fix: intake refactor (#6698)

* fix: refactor

* fix: refactor

* fix: type

* chore: added source data in intake

* fix: css

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
This commit is contained in:
Akshita Goyal
2025-03-20 14:06:36 +05:30
committed by GitHub
parent 075c234385
commit e22265dc93
18 changed files with 104 additions and 94 deletions

View File

@@ -66,8 +66,10 @@ export type TInboxIssueWithPagination = TInboxIssuePaginationInfo & {
results: TInboxIssue[];
};
export type TAnchors = { [key: string]: string };
export type TInboxForm = {
anchor: string;
anchors: TAnchors;
id: string;
is_in_app_enabled: boolean;
is_form_enabled: boolean;

View File

@@ -30,6 +30,13 @@ export type TIssueActivity = {
new_identifier: string | undefined;
epoch: number;
issue_comment: string | null;
source_data: {
source: "IN_APP" | "FORM" | "EMAIL";
source_email?: string;
extra: {
username?: string;
};
};
};
export type TIssueActivityMap = {