orgnote-api 0.40.9 → 0.40.11
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/models/encryption.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ export interface BaseOrgNoteDecryption {
|
|
|
14
14
|
}
|
|
15
15
|
declare const OrgNoteGpgEncryptionSchema: import("valibot").ObjectSchema<{
|
|
16
16
|
readonly type: import("valibot").LiteralSchema<"gpgKeys", undefined>;
|
|
17
|
-
readonly privateKey: import("valibot").SchemaWithPipe<
|
|
17
|
+
readonly privateKey: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MetadataAction<string, {
|
|
18
18
|
readonly textarea: true;
|
|
19
19
|
readonly upload: true;
|
|
20
20
|
}>]>;
|
|
21
|
-
readonly publicKey: import("valibot").SchemaWithPipe<
|
|
21
|
+
readonly publicKey: import("valibot").SchemaWithPipe<[import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").MetadataAction<string, {
|
|
22
22
|
readonly textarea: true;
|
|
23
23
|
readonly upload: true;
|
|
24
24
|
}>]>;
|
|
@@ -30,13 +30,13 @@ declare const OrgNotePasswordEncryptionSchema: import("valibot").ObjectSchema<{
|
|
|
30
30
|
}, undefined>;
|
|
31
31
|
export declare const OrgNoteEncryptionSchema: import("valibot").IntersectSchema<[import("valibot").ObjectSchema<{
|
|
32
32
|
readonly encryptFilesByDefault: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
33
|
-
}, undefined>, import("valibot").SchemaWithPipe<
|
|
33
|
+
}, undefined>, import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
34
34
|
readonly type: import("valibot").LiteralSchema<"gpgKeys", undefined>;
|
|
35
|
-
readonly privateKey: import("valibot").SchemaWithPipe<
|
|
35
|
+
readonly privateKey: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MetadataAction<string, {
|
|
36
36
|
readonly textarea: true;
|
|
37
37
|
readonly upload: true;
|
|
38
38
|
}>]>;
|
|
39
|
-
readonly publicKey: import("valibot").SchemaWithPipe<
|
|
39
|
+
readonly publicKey: import("valibot").SchemaWithPipe<[import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").MetadataAction<string, {
|
|
40
40
|
readonly textarea: true;
|
|
41
41
|
readonly upload: true;
|
|
42
42
|
}>]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
|
-
export declare const ORG_NOTE_CONFIG_SCHEMA: import("valibot").SchemaWithPipe<
|
|
2
|
+
export declare const ORG_NOTE_CONFIG_SCHEMA: import("valibot").SchemaWithPipe<[import("valibot").ObjectWithRestSchema<{
|
|
3
3
|
readonly editor: import("valibot").ObjectSchema<{
|
|
4
4
|
readonly showSpecialSymbols: import("valibot").BooleanSchema<undefined>;
|
|
5
5
|
readonly showPropertyDrawer: import("valibot").BooleanSchema<undefined>;
|
|
@@ -39,13 +39,13 @@ export declare const ORG_NOTE_CONFIG_SCHEMA: import("valibot").SchemaWithPipe<re
|
|
|
39
39
|
}, undefined>;
|
|
40
40
|
readonly encryption: import("valibot").IntersectSchema<[import("valibot").ObjectSchema<{
|
|
41
41
|
readonly encryptFilesByDefault: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
42
|
-
}, undefined>, import("valibot").SchemaWithPipe<
|
|
42
|
+
}, undefined>, import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
43
43
|
readonly type: import("valibot").LiteralSchema<"gpgKeys", undefined>;
|
|
44
|
-
readonly privateKey: import("valibot").SchemaWithPipe<
|
|
44
|
+
readonly privateKey: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MetadataAction<string, {
|
|
45
45
|
readonly textarea: true;
|
|
46
46
|
readonly upload: true;
|
|
47
47
|
}>]>;
|
|
48
|
-
readonly publicKey: import("valibot").SchemaWithPipe<
|
|
48
|
+
readonly publicKey: import("valibot").SchemaWithPipe<[import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").MetadataAction<string, {
|
|
49
49
|
readonly textarea: true;
|
|
50
50
|
readonly upload: true;
|
|
51
51
|
}>]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orgnote-api",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.11",
|
|
4
4
|
"description": "Official API for creating extensions for OrgNote app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"axios": "1.8.4",
|
|
47
47
|
"neverthrow": "^8.2.0",
|
|
48
|
-
"openpgp": "6.
|
|
48
|
+
"openpgp": "6.3.0",
|
|
49
49
|
"org-mode-ast": "0.11.8",
|
|
50
50
|
"partysocket": "1.1.6",
|
|
51
51
|
"smol-toml": "1.5.2"
|