21 lines
418 B
TypeScript
21 lines
418 B
TypeScript
export type Preferences = {
|
|
markdown: MarkdownPreferences,
|
|
canvas: CanvasPreferences,
|
|
} & GeneralPreferences;
|
|
|
|
type GeneralPreferences = {
|
|
|
|
};
|
|
type MarkdownPreferences = {
|
|
editing: 'split' |'reading' | 'editing';
|
|
};
|
|
type CanvasPreferences = {
|
|
gridSnap: boolean;
|
|
spacing?: number;
|
|
neighborSnap: boolean;
|
|
};
|
|
export type Localized = {
|
|
fr_FR?: string;
|
|
en_US?: string;
|
|
default: string;
|
|
} |