-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathd.ts
42 lines (37 loc) · 798 Bytes
/
d.ts
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
31
32
33
34
35
36
37
38
39
40
41
42
declare module 'obsidian' {
interface DataAdapter {
files: any,
basePath: string
}
}
export interface OptionalGeneralModalConfig {
options?: string[]
placeholder?: string
allowEmpty?: boolean
onlySelection?: boolean
initialValue?: string
}
export type Collaborator = {
id: string
created_at: Date,
author: string,
path: string,
path_colab: string,
status: 'ACTIVE' | 'PAUSE'
}
export interface SettingsViewpoint {
token: string
username: string
repo_name: string
project_name: string
email: string
auto: boolean
branch: string
notif: boolean
fetch: boolean
}
// =========storage=========
export type PocketSettings = {
prefix?: string
}
export type HistoryFileViewAction = 'CREATE' | 'RENAME' | 'DELETE' | 'MODIFY' | 'LOCAL CHANGES PUSHED' | 'LOCAL CHANGES PULLED'