mirror of
https://github.com/benstuart0/on-this-day-i-obsidian.git
synced 2026-07-22 05:38:19 +00:00
30 lines
713 B
TypeScript
30 lines
713 B
TypeScript
//
|
|
// Settings Interfaces & Defaults
|
|
//
|
|
export interface OnThisDayPluginSettings {
|
|
// OpenAI settings
|
|
openaiApiKey: string;
|
|
model: string;
|
|
// General settings
|
|
dailyNotesFolder: string;
|
|
dateFormat: string;
|
|
horizontalRules: string;
|
|
customPrompt: string;
|
|
placeholder: string;
|
|
throughTheYearsHeader: string;
|
|
shouldOutputLinkToNotes: boolean;
|
|
outputLengthSentences: number;
|
|
}
|
|
|
|
export const DEFAULT_SETTINGS: OnThisDayPluginSettings = {
|
|
openaiApiKey: "",
|
|
model: "gpt-4",
|
|
dailyNotesFolder: "010 Daily Notes",
|
|
dateFormat: "MMMM D, YYYY",
|
|
horizontalRules: "",
|
|
customPrompt: "",
|
|
placeholder: "<!OTDI>",
|
|
throughTheYearsHeader: "On This Day",
|
|
shouldOutputLinkToNotes: true,
|
|
outputLengthSentences: 3,
|
|
};
|