-
Notifications
You must be signed in to change notification settings - Fork 2
/
smart_env.config.js
30 lines (30 loc) · 940 Bytes
/
smart_env.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { AjsonMultiFileCollectionDataAdapter } from "smart-collections/adapters.js";
import { SmartTemplateMarkdownAdapter } from "smart-templates/adapters/markdown.js";
import { SmartTemplateEjsAdapter } from "smart-templates/adapters/ejs.js";
import { SmartTemplates } from "smart-templates";
import { SmartTemplate } from "smart-templates";
import { SmartFs } from 'smart-file-system';
import { SmartFsObsidianAdapter } from 'smart-file-system/adapters/obsidian.js';
export const smart_env_config = {
global_ref: window,
env_path: '',
collections: {
smart_templates: {
class: SmartTemplates,
data_adapter: AjsonMultiFileCollectionDataAdapter,
template_adapters: {
md: SmartTemplateMarkdownAdapter,
ejs: SmartTemplateEjsAdapter,
},
},
},
item_types: {
SmartTemplate,
},
modules: {
smart_fs: {
class: SmartFs,
adapter: SmartFsObsidianAdapter,
},
},
};