orgnote-api 0.40.22 → 0.40.23

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.
@@ -48,6 +48,8 @@ export declare enum i18n {
48
48
  CONFIRM = "confirm",
49
49
  CANCEL = "cancel",
50
50
  CONFIRM_DELETE_ALL_DATA = "are you sure you want to delete all data? this is an irreversible event",
51
+ RESET_SYSTEM = "Reset system",
52
+ RESET_SYSTEM_DESCRIPTION = "Delete all local data, including notes, files, account information, settings, etc.",
51
53
  IRREVERSIBLE_EVENT = "This is an irreversible event",
52
54
  CONFIRM_DELETE_NOTES = "Are you sure you want to delete all notes? This is an irreversible event",
53
55
  CONFIRM_DELETE_ACCOUNT = "Are you sure you want to delete your account? This is an irreversible event",
@@ -185,6 +187,8 @@ export declare const I18N: {
185
187
  READ_WIKI: DefaultCommands.READ_WIKI;
186
188
  SPONSOR: DefaultCommands.SPONSOR;
187
189
  DELETE_ALL_DATA: DefaultCommands.DELETE_ALL_DATA;
190
+ RESET_SYSTEM: DefaultCommands.RESET_SYSTEM;
191
+ RESET_SYSTEM_WARNING: DefaultCommands.RESET_SYSTEM_WARNING;
188
192
  DELETE_ALL_NOTES: DefaultCommands.DELETE_ALL_NOTES;
189
193
  DELETE_ACCOUNT: DefaultCommands.DELETE_ACCOUNT;
190
194
  STORAGE_SETTINGS: DefaultCommands.STORAGE_SETTINGS;
@@ -275,6 +279,7 @@ export declare const I18N: {
275
279
  CONFIRM: i18n.CONFIRM;
276
280
  CANCEL: i18n.CANCEL;
277
281
  CONFIRM_DELETE_ALL_DATA: i18n.CONFIRM_DELETE_ALL_DATA;
282
+ RESET_SYSTEM_DESCRIPTION: i18n.RESET_SYSTEM_DESCRIPTION;
278
283
  IRREVERSIBLE_EVENT: i18n.IRREVERSIBLE_EVENT;
279
284
  CONFIRM_DELETE_NOTES: i18n.CONFIRM_DELETE_NOTES;
280
285
  CONFIRM_DELETE_ACCOUNT: i18n.CONFIRM_DELETE_ACCOUNT;
@@ -49,6 +49,8 @@ export var i18n;
49
49
  i18n["CONFIRM"] = "confirm";
50
50
  i18n["CANCEL"] = "cancel";
51
51
  i18n["CONFIRM_DELETE_ALL_DATA"] = "are you sure you want to delete all data? this is an irreversible event";
52
+ i18n["RESET_SYSTEM"] = "Reset system";
53
+ i18n["RESET_SYSTEM_DESCRIPTION"] = "Delete all local data, including notes, files, account information, settings, etc.";
52
54
  i18n["IRREVERSIBLE_EVENT"] = "This is an irreversible event";
53
55
  i18n["CONFIRM_DELETE_NOTES"] = "Are you sure you want to delete all notes? This is an irreversible event";
54
56
  i18n["CONFIRM_DELETE_ACCOUNT"] = "Are you sure you want to delete your account? This is an irreversible event";
@@ -34,6 +34,8 @@ export declare enum DefaultCommands {
34
34
  READ_WIKI = "read wiki",
35
35
  SPONSOR = "sponsor",
36
36
  DELETE_ALL_DATA = "delete all data",
37
+ RESET_SYSTEM = "Reset system",
38
+ RESET_SYSTEM_WARNING = "A local reset will result in complete local data deletion. Be careful: if there is no backup, it\u2019s impossible to restore the data.",
37
39
  DELETE_ALL_NOTES = "delete all notes",
38
40
  DELETE_ACCOUNT = "delete account",
39
41
  STORAGE_SETTINGS = "storage settings",
@@ -43,6 +43,8 @@ export var DefaultCommands;
43
43
  DefaultCommands["READ_WIKI"] = "read wiki";
44
44
  DefaultCommands["SPONSOR"] = "sponsor";
45
45
  DefaultCommands["DELETE_ALL_DATA"] = "delete all data";
46
+ DefaultCommands["RESET_SYSTEM"] = "Reset system";
47
+ DefaultCommands["RESET_SYSTEM_WARNING"] = "A local reset will result in complete local data deletion. Be careful: if there is no backup, it\u2019s impossible to restore the data.";
46
48
  DefaultCommands["DELETE_ALL_NOTES"] = "delete all notes";
47
49
  DefaultCommands["DELETE_ACCOUNT"] = "delete account";
48
50
  DefaultCommands["STORAGE_SETTINGS"] = "storage settings";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orgnote-api",
3
- "version": "0.40.22",
3
+ "version": "0.40.23",
4
4
  "description": "Official API for creating extensions for OrgNote app",
5
5
  "type": "module",
6
6
  "main": "./index.js",