File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {
1111 DemangleAssemblySchema ,
1212 Editor ,
1313 EditorSchema ,
14+ FileViewSchema ,
1415 OrientationSchema ,
1516 PairCharactersSchema ,
1617 ProcessAssemblySchema ,
@@ -32,6 +33,7 @@ const V2Configuration = z
3233 . partial ( ) ,
3334 configuration : z
3435 . object ( {
36+ fileView : FileViewSchema ,
3537 editor : EditorSchema ,
3638 ace : z
3739 . object ( {
@@ -92,6 +94,7 @@ export function serialize(state: State): string {
9294 visitedAt : state . client . visitedAt ,
9395 } ,
9496 configuration : {
97+ fileView : state . configuration . fileView ,
9598 editor : state . configuration . editor ,
9699 ace : {
97100 keybinding : state . configuration . ace . keybinding ,
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ export const FileView = {
6868 Multiple : 'multiple' ,
6969} as const ;
7070export type FileView = ValuesOf < typeof FileView > ;
71+ export const FileViewSchema = z . enum ( Object . values ( FileView ) ) ;
7172
7273export const Editor = {
7374 Simple : 'simple' ,
You can’t perform that action at this time.
0 commit comments