mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-05 17:48:42 +08:00
64 lines
1.8 KiB
TypeScript
64 lines
1.8 KiB
TypeScript
import {DoubanPluginSetting} from "../douban/setting/model/DoubanPluginSetting";
|
|
import {PersonNameMode, PictureBedSetting_PicGo, PictureBedType, SupportType} from "./Constsant";
|
|
|
|
export const DEFAULT_SETTINGS: DoubanPluginSetting = {
|
|
pictureBedFlag: false,
|
|
pictureBedSetting: PictureBedSetting_PicGo,
|
|
pictureBedType: PictureBedType.PicGo,
|
|
arraySettings: [
|
|
{
|
|
"arrayName": "ArrayType1",
|
|
"arrayStart": "",
|
|
"arrayElementStart": "[[",
|
|
"arraySpiltV2": ",",
|
|
"arrayElementEnd": "]]",
|
|
"arrayEnd": "",
|
|
"index": 1
|
|
}
|
|
],
|
|
onlineSettingsFileName: "obsidian_douban_plugin_online_settings.json",
|
|
onlineSettingsGistId: "35693f9ece9bd6abba98f94e81afde19",
|
|
movieTemplateFile: ``,
|
|
bookTemplateFile: ``,
|
|
musicTemplateFile: ``,
|
|
noteTemplateFile: ``,
|
|
gameTemplateFile: ``,
|
|
teleplayTemplateFile: ``,
|
|
searchUrl: 'https://www.douban.com/search?q=',
|
|
dateFormat: "yyyy-MM-DD",
|
|
timeFormat: "HH:mm:ss",
|
|
arrayStart: "",
|
|
arrayElementStart: "\\n - ",
|
|
arraySpiltV2: "",
|
|
arrayElementEnd: "",
|
|
arrayEnd: "",
|
|
personNameMode: PersonNameMode.CH_NAME,
|
|
dataFilePath: "",
|
|
dataFileNamePath: "/{{type}}/{{title}}",
|
|
statusBar: true,
|
|
debugMode: false,
|
|
customProperties: [
|
|
{name: 'myType', value: 'movie', field: SupportType.MOVIE},
|
|
{name: 'myType', value: 'book', field: SupportType.BOOK},
|
|
{name: 'myType', value: 'music', field: SupportType.MUSIC},
|
|
{name: 'myType', value: 'note', field: SupportType.NOTE},
|
|
{name: 'myType', value: 'game', field: SupportType.GAME},
|
|
{name: 'myType', value: 'teleplay', field: SupportType.TELEPLAY},
|
|
],
|
|
loginCookiesContent: '',
|
|
loginHeadersContent: '',
|
|
cacheImage: true,
|
|
cacheHighQuantityImage: true,
|
|
attachmentPath: 'assets',
|
|
syncHandledDataArray: [],
|
|
scoreSetting: {
|
|
starFull: '⭐',
|
|
starEmpty: '☆',
|
|
displayStarEmpty: false,
|
|
maxStar: 5,
|
|
}
|
|
|
|
}
|
|
|
|
|