orgnote-api 0.10.8 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +5 -0
- package/models/completion.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -85,6 +85,7 @@ export interface OrgNoteApi {
|
|
|
85
85
|
configuration: () => OrgNoteConfig;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
// TODO: master move model to the backend service
|
|
88
89
|
export interface OrgNoteConfig {
|
|
89
90
|
editor: {
|
|
90
91
|
showSpecialSymbols: boolean;
|
|
@@ -101,6 +102,10 @@ export interface OrgNoteConfig {
|
|
|
101
102
|
system: {
|
|
102
103
|
language: string;
|
|
103
104
|
};
|
|
105
|
+
synchronization: {
|
|
106
|
+
type: 'none' | 'api' | 'filesystem';
|
|
107
|
+
path?: string;
|
|
108
|
+
};
|
|
104
109
|
ui: {
|
|
105
110
|
showUserProfiles: boolean;
|
|
106
111
|
theme: 'light' | 'dark' | 'auto';
|
package/models/completion.ts
CHANGED
|
@@ -2,7 +2,7 @@ export interface CompletionCandidate<T = unknown> {
|
|
|
2
2
|
icon?: string | (() => string);
|
|
3
3
|
group?: string;
|
|
4
4
|
title?: string | (() => string);
|
|
5
|
-
description?: string;
|
|
5
|
+
description?: string | (() => string);
|
|
6
6
|
command: string;
|
|
7
7
|
data: T;
|
|
8
8
|
/* Command handler could be used instead of command string */
|