Skip to content

Commit 14fced7

Browse files
committed
fix(search): metadata type for search result
1 parent 7b76910 commit 14fced7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/search/@types/index.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ type MetaDataType =
2828
name: string;
2929
source: string;
3030
}
31+
| {
32+
type: 'sitemap';
33+
name: string;
34+
source: string;
35+
}
3136
| {
3237
type: 'text-snippet';
3338
name: string;
@@ -37,6 +42,31 @@ type MetaDataType =
3742
type: 'Slack Message';
3843
name: string;
3944
source: string;
45+
}
46+
| {
47+
type: 'confluence';
48+
name: string;
49+
part: number;
50+
source: string;
51+
status: string;
52+
page_id: string;
53+
}
54+
| {
55+
type: 'jira';
56+
id: string;
57+
name: string;
58+
labels: string;
59+
source: string;
60+
epic_key: string;
61+
created_at: string;
62+
updated_at: string;
63+
epic_summary: string;
64+
epic_description: string;
65+
}
66+
| {
67+
type: 'Jira Issue';
68+
name: string;
69+
source: string;
4070
};
4171

4272
export type SearchResultData = {

0 commit comments

Comments
 (0)