File tree Expand file tree Collapse file tree 4 files changed +960
-191
lines changed Expand file tree Collapse file tree 4 files changed +960
-191
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ export const ViewType = Object.freeze({
10
10
METADATA_REDESIGN: 'metadata_redesign',
11
11
SKILLS: 'skills',
12
12
ACTIVITY: 'activity',
13
- VERSIONS: 'versions',
14
13
DOCGEN: 'docgen',
15
14
});
16
15
17
16
export const FeedEntryType = Object.freeze({
18
17
ANNOTATIONS: 'annotations',
19
18
COMMENTS: 'comments',
20
19
TASKS: 'tasks',
20
+ VERSIONS: 'versions',
21
21
});
22
22
23
23
export type ViewTypeValues = $Values<typeof ViewType>;
@@ -34,6 +34,7 @@ export type SidebarNavigation = {
34
34
35
35
export type InternalSidebarNavigation = SidebarNavigation & {
36
36
open?: boolean,
37
+ silent?: boolean,
37
38
};
38
39
39
40
export type SidebarNavigationHandler = (sidebar: SidebarNavigation, replace?: boolean) => void;
Original file line number Diff line number Diff line change @@ -5,24 +5,25 @@ export enum ViewType {
5
5
METADATA_REDESIGN = 'metadata_redesign' ,
6
6
BOXAI = 'boxai' ,
7
7
ACTIVITY = 'activity' ,
8
- VERSIONS = 'versions' ,
9
8
DOCGEN = 'docgen' ,
10
9
}
11
10
12
11
export enum FeedEntryType {
13
12
ANNOTATIONS = 'annotations' ,
14
13
COMMENTS = 'comments' ,
15
14
TASKS = 'tasks' ,
15
+ VERSIONS = 'versions' ,
16
16
}
17
17
18
18
type VersionSidebarView = {
19
19
sidebar : ViewType . ACTIVITY | ViewType . DETAILS ;
20
- versionId : string ;
20
+ activeFeedEntryType : FeedEntryType . VERSIONS ;
21
+ versionId ?: string ;
21
22
} ;
22
23
23
24
export type MetadataSidebarView = {
24
25
sidebar : ViewType . METADATA | ViewType . METADATA_REDESIGN ;
25
- filteredTemplateIds ? : string [ ] ;
26
+ filteredTemplateIds : string [ ] ;
26
27
} ;
27
28
28
29
export type ActivityAnnotationsSidebarView = {
@@ -48,6 +49,7 @@ export type SidebarNavigation =
48
49
49
50
export type InternalSidebarNavigation = SidebarNavigation & {
50
51
open ?: boolean ;
52
+ silent ?: boolean ;
51
53
} ;
52
54
53
55
export type SidebarNavigationHandler = ( sidebar : SidebarNavigation , replace ?: boolean ) => void ;
You can’t perform that action at this time.
0 commit comments