| 1 | export interface IFoamConfig { |
| 2 | // Files |
| 3 | getFilesInclude(): string[]; |
| 4 | getFilesExclude(): string[]; |
| 5 | getDefaultNoteExtension(): string; |
| 6 | getNotesExtensions(): string[]; |
| 7 | getAttachmentExtensions(): string[]; |
| 8 | getNewNotePath(): 'root' | 'currentDir'; |
| 9 | |
| 10 | // Templates |
| 11 | getTemplatesFolder(): string; |
| 12 | |
| 13 | // Daily notes |
| 14 | getDailyNoteDirectory(): string | null; |
| 15 | getDailyNoteFilenameFormat(): string; |
| 16 | getDailyNoteFileExtension(): string; |
| 17 | getDailyNoteTitleFormat(): string | null; |
| 18 | getOpenDailyNoteOnStartup(): boolean; |
| 19 | |
| 20 | // Date |
| 21 | getDateLocale(): string; |
| 22 | getDateSnippetsAfterCompletion(): 'noop' | 'createNote' | 'navigateToNote'; |
| 23 | |
| 24 | // Links |
| 25 | getLinksDirectoryMode(): 'resolve' | 'disabled'; |
| 26 | getLinksSyncEnable(): boolean; |
| 27 | getLinksHoverEnable(): boolean; |
| 28 | getEditLinkReferenceDefinitions(): 'withExtensions' | 'withoutExtensions' | 'off'; |
| 29 | |
| 30 | // Completion |
| 31 | getCompletionLabel(): 'path' | 'title' | 'identifier'; |
| 32 | getCompletionUseAlias(): 'never' | 'whenPathDiffersFromTitle'; |
| 33 | getCompletionLinkFormat(): 'wikilink' | 'link'; |
| 34 | |
| 35 | // Preview |
| 36 | getPreviewEmbedNoteType(): 'full-inline' | 'full-card' | 'content-inline' | 'content-card'; |
| 37 | |
| 38 | // Graph |
| 39 | getGraphOnStartup(): boolean; |
| 40 | getGraphNavigateToPreview(): boolean; |
| 41 | getGraphTitleMaxLength(): number; |
| 42 | getGraphStyle(): object; |
| 43 | |
| 44 | // Languages |
| 45 | getSupportedLanguages(): string[]; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * A partial config source — represents one layer of a cascade. |
no outgoing calls
no test coverage detected