orgnote-api 0.7.4 → 0.7.6

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.
@@ -1,14 +1,12 @@
1
- import {
2
- ModelsPublicNote,
3
- ModelsPublicNoteEncryptedEnum,
4
- } from 'src/remote-api';
1
+ import { ModelsPublicNote, ModelsPublicNoteEncryptedEnum } from '../remote-api';
2
+
5
3
  import {
6
4
  decryptViaKeys,
7
5
  decryptViaPassword,
8
6
  encryptViaKeys,
9
7
  encryptViaPassword,
10
8
  } from './encryption';
11
- import { OrgNoteEncryption } from 'src/models/encryption';
9
+ import { OrgNoteEncryption } from '../models/encryption';
12
10
  import { parse, withMetaInfo } from 'org-mode-ast';
13
11
 
14
12
  export interface AbstractEncryptedNote {
@@ -1,4 +1,4 @@
1
- import type { ModelsPublicNoteEncryptedEnum } from 'src/remote-api';
1
+ import type { ModelsPublicNoteEncryptedEnum } from '../remote-api';
2
2
 
3
3
  export interface OrgNoteGpgEncryption {
4
4
  type: typeof ModelsPublicNoteEncryptedEnum.GpgKeys;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orgnote-api",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
4
4
  "description": "Official API for creating extensions for OrgNote app",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
package/remote-api/api.ts CHANGED
@@ -579,7 +579,7 @@ export interface ModelsPublicNote {
579
579
  * @type {string}
580
580
  * @memberof ModelsPublicNote
581
581
  */
582
- 'content'?: string;
582
+ 'content': string;
583
583
  /**
584
584
  *
585
585
  * @type {string}
@@ -615,7 +615,7 @@ export interface ModelsPublicNote {
615
615
  * @type {ModelsNoteMeta}
616
616
  * @memberof ModelsPublicNote
617
617
  */
618
- 'meta'?: ModelsNoteMeta;
618
+ 'meta': ModelsNoteMeta;
619
619
  /**
620
620
  *
621
621
  * @type {number}