mirror of
https://github.com/decaf-dev/obsidian-vault-explorer.git
synced 2026-07-22 10:10:31 +00:00
38 lines
710 B
TypeScript
38 lines
710 B
TypeScript
import { generateUUID } from "./svelte/shared/services/uuid";
|
|
import { VaultExplorerPluginSettings } from "./types";
|
|
|
|
export const VAULT_EXPLORER_VIEW = "vault-explorer";
|
|
|
|
const uuid = generateUUID();
|
|
export const DEFAULT_SETTINGS: VaultExplorerPluginSettings = {
|
|
properties: {
|
|
favorite: "",
|
|
url: "",
|
|
custom1: "",
|
|
custom2: "",
|
|
custom3: ""
|
|
},
|
|
filters: {
|
|
folder: "/",
|
|
search: "",
|
|
onlyFavorites: false,
|
|
timestamp: "all",
|
|
sort: "file-name-asc",
|
|
properties: {
|
|
selectedGroupId: uuid,
|
|
groups:
|
|
[
|
|
{
|
|
id: uuid,
|
|
name: "Group 1",
|
|
filters: [],
|
|
position: 0,
|
|
isEnabled: true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
currentView: "grid",
|
|
pageSize: 50,
|
|
pluginVersion: null
|
|
}
|