mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-06-02 23:43:37 +02:00
27 lines
580 B
TypeScript
27 lines
580 B
TypeScript
export const defaultSettings: JSPSettings = {
|
|
url: "https://jsp.ellpeck.de",
|
|
shared: [],
|
|
stripFrontmatter: true,
|
|
includeNoteName: true
|
|
};
|
|
|
|
// TODO add a setting for auto-refreshing uploads when saving
|
|
// TODO add a setting for auto-removing JSP shares when the original file is deleted
|
|
export interface JSPSettings {
|
|
|
|
url: string;
|
|
shared: SharedItem[];
|
|
stripFrontmatter: boolean;
|
|
includeNoteName: boolean;
|
|
|
|
}
|
|
|
|
export interface SharedItem {
|
|
|
|
id: string;
|
|
password: string;
|
|
// TODO auto-update path when file is moved
|
|
path: string;
|
|
|
|
}
|