2023-08-11 19:01:10 +02:00
|
|
|
export const defaultSettings: JSPSettings = {
|
2023-08-17 11:56:40 +02:00
|
|
|
url: "https://jsp.ellpeck.de",
|
2023-08-16 12:47:47 +02:00
|
|
|
shared: [],
|
2023-08-17 16:08:25 +02:00
|
|
|
stripFrontmatter: true,
|
2023-08-17 17:51:11 +02:00
|
|
|
includeNoteName: true,
|
|
|
|
unshareDeletedFiles: true
|
2023-08-11 19:01:10 +02:00
|
|
|
};
|
2023-06-25 18:16:06 +02:00
|
|
|
|
2023-08-16 14:21:40 +02:00
|
|
|
// TODO add a setting for auto-refreshing uploads when saving
|
2023-06-25 18:16:06 +02:00
|
|
|
export interface JSPSettings {
|
|
|
|
|
2023-08-11 19:01:10 +02:00
|
|
|
url: string;
|
|
|
|
shared: SharedItem[];
|
2023-08-16 12:47:47 +02:00
|
|
|
stripFrontmatter: boolean;
|
2023-08-17 16:08:25 +02:00
|
|
|
includeNoteName: boolean;
|
2023-08-17 17:51:11 +02:00
|
|
|
unshareDeletedFiles: boolean;
|
2023-08-11 19:01:10 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface SharedItem {
|
|
|
|
|
|
|
|
id: string;
|
|
|
|
password: string;
|
|
|
|
path: string;
|
2023-06-25 18:16:06 +02:00
|
|
|
|
|
|
|
}
|