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 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';
@@ -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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orgnote-api",
3
- "version": "0.10.8",
3
+ "version": "0.11.0",
4
4
  "description": "Official API for creating extensions for OrgNote app",
5
5
  "type": "module",
6
6
  "main": "./index.ts",