@noteplanco/noteplan-mcp 1.1.8 → 1.1.9
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/dist/noteplan/frontmatter-parser.d.ts +2 -2
- package/dist/noteplan/frontmatter-parser.js +2 -2
- package/dist/noteplan/markdown-parser.test.js +92 -0
- package/dist/noteplan/markdown-parser.test.js.map +1 -1
- package/dist/noteplan/sqlite-loader.d.ts +11 -2
- package/dist/noteplan/sqlite-loader.d.ts.map +1 -1
- package/dist/noteplan/sqlite-loader.js +143 -15
- package/dist/noteplan/sqlite-loader.js.map +1 -1
- package/dist/noteplan/sqlite-writer.d.ts.map +1 -1
- package/dist/noteplan/sqlite-writer.js +3 -0
- package/dist/noteplan/sqlite-writer.js.map +1 -1
- package/dist/noteplan/unified-store.d.ts.map +1 -1
- package/dist/noteplan/unified-store.js +8 -1
- package/dist/noteplan/unified-store.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +32 -10
- package/dist/server.js.map +1 -1
- package/dist/tools/events.d.ts +16 -16
- package/dist/tools/events.d.ts.map +1 -1
- package/dist/tools/events.js +17 -2
- package/dist/tools/events.js.map +1 -1
- package/dist/tools/notes.d.ts +253 -30
- package/dist/tools/notes.d.ts.map +1 -1
- package/dist/tools/notes.js +124 -30
- package/dist/tools/notes.js.map +1 -1
- package/dist/tools/notes.test.js +757 -1
- package/dist/tools/notes.test.js.map +1 -1
- package/dist/tools/tasks.d.ts +86 -10
- package/dist/tools/tasks.d.ts.map +1 -1
- package/dist/tools/tasks.js +84 -25
- package/dist/tools/tasks.js.map +1 -1
- package/dist/tools/ui-automation.d.ts +74 -0
- package/dist/tools/ui-automation.d.ts.map +1 -0
- package/dist/tools/ui-automation.js +209 -0
- package/dist/tools/ui-automation.js.map +1 -0
- package/dist/utils/version.d.ts.map +1 -1
- package/dist/utils/version.js +23 -5
- package/dist/utils/version.js.map +1 -1
- package/package.json +1 -1
package/dist/tools/notes.d.ts
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import * as store from '../noteplan/unified-store.js';
|
|
2
3
|
import { NoteType } from '../noteplan/types.js';
|
|
4
|
+
export type WritableNoteReferenceInput = {
|
|
5
|
+
id?: string;
|
|
6
|
+
filename?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
date?: string;
|
|
9
|
+
query?: string;
|
|
10
|
+
space?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function resolveWritableNoteReference(input: WritableNoteReferenceInput): {
|
|
13
|
+
note: ReturnType<typeof store.getNote>;
|
|
14
|
+
error?: string;
|
|
15
|
+
candidates?: Array<{
|
|
16
|
+
id: string;
|
|
17
|
+
title: string;
|
|
18
|
+
filename: string;
|
|
19
|
+
score: number;
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
export declare function getWritableIdentifier(note: NonNullable<ReturnType<typeof store.getNote>>): {
|
|
23
|
+
identifier: string;
|
|
24
|
+
source: 'local' | 'space';
|
|
25
|
+
};
|
|
3
26
|
type IndentationStyle = 'tabs' | 'preserve';
|
|
4
27
|
export declare const getNoteSchema: z.ZodObject<{
|
|
5
28
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -116,8 +139,12 @@ export declare const createNoteSchema: z.ZodObject<{
|
|
|
116
139
|
noteType?: "note" | "template" | undefined;
|
|
117
140
|
templateTypes?: ("empty-note" | "meeting-note" | "project-note" | "calendar-note")[] | undefined;
|
|
118
141
|
}>;
|
|
119
|
-
export declare const updateNoteSchema: z.ZodObject<{
|
|
120
|
-
|
|
142
|
+
export declare const updateNoteSchema: z.ZodEffects<z.ZodObject<{
|
|
143
|
+
id: z.ZodOptional<z.ZodString>;
|
|
144
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
145
|
+
title: z.ZodOptional<z.ZodString>;
|
|
146
|
+
date: z.ZodOptional<z.ZodString>;
|
|
147
|
+
query: z.ZodOptional<z.ZodString>;
|
|
121
148
|
space: z.ZodOptional<z.ZodString>;
|
|
122
149
|
content: z.ZodString;
|
|
123
150
|
fullReplace: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -126,16 +153,48 @@ export declare const updateNoteSchema: z.ZodObject<{
|
|
|
126
153
|
allowEmptyContent: z.ZodOptional<z.ZodBoolean>;
|
|
127
154
|
}, "strip", z.ZodTypeAny, {
|
|
128
155
|
content: string;
|
|
129
|
-
filename: string;
|
|
130
156
|
space?: string | undefined;
|
|
157
|
+
title?: string | undefined;
|
|
158
|
+
id?: string | undefined;
|
|
159
|
+
filename?: string | undefined;
|
|
160
|
+
date?: string | undefined;
|
|
161
|
+
query?: string | undefined;
|
|
162
|
+
fullReplace?: boolean | undefined;
|
|
163
|
+
dryRun?: boolean | undefined;
|
|
164
|
+
confirmationToken?: string | undefined;
|
|
165
|
+
allowEmptyContent?: boolean | undefined;
|
|
166
|
+
}, {
|
|
167
|
+
content: string;
|
|
168
|
+
space?: string | undefined;
|
|
169
|
+
title?: string | undefined;
|
|
170
|
+
id?: string | undefined;
|
|
171
|
+
filename?: string | undefined;
|
|
172
|
+
date?: string | undefined;
|
|
173
|
+
query?: string | undefined;
|
|
174
|
+
fullReplace?: boolean | undefined;
|
|
175
|
+
dryRun?: boolean | undefined;
|
|
176
|
+
confirmationToken?: string | undefined;
|
|
177
|
+
allowEmptyContent?: boolean | undefined;
|
|
178
|
+
}>, {
|
|
179
|
+
content: string;
|
|
180
|
+
space?: string | undefined;
|
|
181
|
+
title?: string | undefined;
|
|
182
|
+
id?: string | undefined;
|
|
183
|
+
filename?: string | undefined;
|
|
184
|
+
date?: string | undefined;
|
|
185
|
+
query?: string | undefined;
|
|
131
186
|
fullReplace?: boolean | undefined;
|
|
132
187
|
dryRun?: boolean | undefined;
|
|
133
188
|
confirmationToken?: string | undefined;
|
|
134
189
|
allowEmptyContent?: boolean | undefined;
|
|
135
190
|
}, {
|
|
136
191
|
content: string;
|
|
137
|
-
filename: string;
|
|
138
192
|
space?: string | undefined;
|
|
193
|
+
title?: string | undefined;
|
|
194
|
+
id?: string | undefined;
|
|
195
|
+
filename?: string | undefined;
|
|
196
|
+
date?: string | undefined;
|
|
197
|
+
query?: string | undefined;
|
|
139
198
|
fullReplace?: boolean | undefined;
|
|
140
199
|
dryRun?: boolean | undefined;
|
|
141
200
|
confirmationToken?: string | undefined;
|
|
@@ -175,6 +234,9 @@ export declare const deleteNoteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
175
234
|
export declare const moveNoteSchema: z.ZodEffects<z.ZodObject<{
|
|
176
235
|
id: z.ZodOptional<z.ZodString>;
|
|
177
236
|
filename: z.ZodOptional<z.ZodString>;
|
|
237
|
+
title: z.ZodOptional<z.ZodString>;
|
|
238
|
+
date: z.ZodOptional<z.ZodString>;
|
|
239
|
+
query: z.ZodOptional<z.ZodString>;
|
|
178
240
|
space: z.ZodOptional<z.ZodString>;
|
|
179
241
|
destinationFolder: z.ZodString;
|
|
180
242
|
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -182,29 +244,41 @@ export declare const moveNoteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
182
244
|
}, "strip", z.ZodTypeAny, {
|
|
183
245
|
destinationFolder: string;
|
|
184
246
|
space?: string | undefined;
|
|
247
|
+
title?: string | undefined;
|
|
185
248
|
id?: string | undefined;
|
|
186
249
|
filename?: string | undefined;
|
|
250
|
+
date?: string | undefined;
|
|
251
|
+
query?: string | undefined;
|
|
187
252
|
dryRun?: boolean | undefined;
|
|
188
253
|
confirmationToken?: string | undefined;
|
|
189
254
|
}, {
|
|
190
255
|
destinationFolder: string;
|
|
191
256
|
space?: string | undefined;
|
|
257
|
+
title?: string | undefined;
|
|
192
258
|
id?: string | undefined;
|
|
193
259
|
filename?: string | undefined;
|
|
260
|
+
date?: string | undefined;
|
|
261
|
+
query?: string | undefined;
|
|
194
262
|
dryRun?: boolean | undefined;
|
|
195
263
|
confirmationToken?: string | undefined;
|
|
196
264
|
}>, {
|
|
197
265
|
destinationFolder: string;
|
|
198
266
|
space?: string | undefined;
|
|
267
|
+
title?: string | undefined;
|
|
199
268
|
id?: string | undefined;
|
|
200
269
|
filename?: string | undefined;
|
|
270
|
+
date?: string | undefined;
|
|
271
|
+
query?: string | undefined;
|
|
201
272
|
dryRun?: boolean | undefined;
|
|
202
273
|
confirmationToken?: string | undefined;
|
|
203
274
|
}, {
|
|
204
275
|
destinationFolder: string;
|
|
205
276
|
space?: string | undefined;
|
|
277
|
+
title?: string | undefined;
|
|
206
278
|
id?: string | undefined;
|
|
207
279
|
filename?: string | undefined;
|
|
280
|
+
date?: string | undefined;
|
|
281
|
+
query?: string | undefined;
|
|
208
282
|
dryRun?: boolean | undefined;
|
|
209
283
|
confirmationToken?: string | undefined;
|
|
210
284
|
}>;
|
|
@@ -350,6 +424,17 @@ export declare function createNote(params: z.infer<typeof createNoteSchema>): {
|
|
|
350
424
|
export declare function updateNote(params: z.infer<typeof updateNoteSchema>): {
|
|
351
425
|
success: boolean;
|
|
352
426
|
error: string;
|
|
427
|
+
candidates?: undefined;
|
|
428
|
+
note?: undefined;
|
|
429
|
+
} | {
|
|
430
|
+
success: boolean;
|
|
431
|
+
error: string;
|
|
432
|
+
candidates: {
|
|
433
|
+
id: string;
|
|
434
|
+
title: string;
|
|
435
|
+
filename: string;
|
|
436
|
+
score: number;
|
|
437
|
+
}[] | undefined;
|
|
353
438
|
note?: undefined;
|
|
354
439
|
} | {
|
|
355
440
|
confirmationToken: string;
|
|
@@ -369,6 +454,7 @@ export declare function updateNote(params: z.infer<typeof updateNoteSchema>): {
|
|
|
369
454
|
currentContentLength: number;
|
|
370
455
|
newContentLength: number;
|
|
371
456
|
error?: undefined;
|
|
457
|
+
candidates?: undefined;
|
|
372
458
|
} | {
|
|
373
459
|
success: boolean;
|
|
374
460
|
note: {
|
|
@@ -381,6 +467,7 @@ export declare function updateNote(params: z.infer<typeof updateNoteSchema>): {
|
|
|
381
467
|
spaceId?: undefined;
|
|
382
468
|
};
|
|
383
469
|
error?: undefined;
|
|
470
|
+
candidates?: undefined;
|
|
384
471
|
};
|
|
385
472
|
export declare function deleteNote(params: z.infer<typeof deleteNoteSchema>): {
|
|
386
473
|
success: boolean;
|
|
@@ -425,6 +512,12 @@ export declare function deleteNote(params: z.infer<typeof deleteNoteSchema>): {
|
|
|
425
512
|
export declare function moveNote(params: z.infer<typeof moveNoteSchema>): {
|
|
426
513
|
success: boolean;
|
|
427
514
|
error: string;
|
|
515
|
+
candidates: {
|
|
516
|
+
id: string;
|
|
517
|
+
title: string;
|
|
518
|
+
filename: string;
|
|
519
|
+
score: number;
|
|
520
|
+
}[] | undefined;
|
|
428
521
|
message?: undefined;
|
|
429
522
|
fromFilename?: undefined;
|
|
430
523
|
toFilename?: undefined;
|
|
@@ -450,7 +543,18 @@ export declare function moveNote(params: z.infer<typeof moveNoteSchema>): {
|
|
|
450
543
|
spaceId: string | undefined;
|
|
451
544
|
};
|
|
452
545
|
error?: undefined;
|
|
546
|
+
candidates?: undefined;
|
|
453
547
|
destinationParentId?: undefined;
|
|
548
|
+
} | {
|
|
549
|
+
success: boolean;
|
|
550
|
+
error: string;
|
|
551
|
+
candidates?: undefined;
|
|
552
|
+
message?: undefined;
|
|
553
|
+
fromFilename?: undefined;
|
|
554
|
+
toFilename?: undefined;
|
|
555
|
+
destinationFolder?: undefined;
|
|
556
|
+
destinationParentId?: undefined;
|
|
557
|
+
note?: undefined;
|
|
454
558
|
} | {
|
|
455
559
|
success: boolean;
|
|
456
560
|
message: string;
|
|
@@ -468,6 +572,7 @@ export declare function moveNote(params: z.infer<typeof moveNoteSchema>): {
|
|
|
468
572
|
spaceId?: undefined;
|
|
469
573
|
};
|
|
470
574
|
error?: undefined;
|
|
575
|
+
candidates?: undefined;
|
|
471
576
|
};
|
|
472
577
|
export declare function restoreNote(params: z.infer<typeof restoreNoteSchema>): {
|
|
473
578
|
success: boolean;
|
|
@@ -617,8 +722,12 @@ export declare function renameNoteFile(params: z.infer<typeof renameNoteFileSche
|
|
|
617
722
|
fromTitle?: undefined;
|
|
618
723
|
toTitle?: undefined;
|
|
619
724
|
};
|
|
620
|
-
export declare const getParagraphsSchema: z.ZodObject<{
|
|
621
|
-
|
|
725
|
+
export declare const getParagraphsSchema: z.ZodEffects<z.ZodObject<{
|
|
726
|
+
id: z.ZodOptional<z.ZodString>;
|
|
727
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
728
|
+
title: z.ZodOptional<z.ZodString>;
|
|
729
|
+
date: z.ZodOptional<z.ZodString>;
|
|
730
|
+
query: z.ZodOptional<z.ZodString>;
|
|
622
731
|
space: z.ZodOptional<z.ZodString>;
|
|
623
732
|
startLine: z.ZodOptional<z.ZodNumber>;
|
|
624
733
|
endLine: z.ZodOptional<z.ZodNumber>;
|
|
@@ -626,17 +735,49 @@ export declare const getParagraphsSchema: z.ZodObject<{
|
|
|
626
735
|
offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
627
736
|
cursor: z.ZodOptional<z.ZodString>;
|
|
628
737
|
}, "strip", z.ZodTypeAny, {
|
|
629
|
-
filename: string;
|
|
630
738
|
limit: number;
|
|
631
739
|
offset: number;
|
|
632
740
|
space?: string | undefined;
|
|
741
|
+
title?: string | undefined;
|
|
742
|
+
id?: string | undefined;
|
|
743
|
+
filename?: string | undefined;
|
|
744
|
+
date?: string | undefined;
|
|
745
|
+
query?: string | undefined;
|
|
633
746
|
cursor?: string | undefined;
|
|
634
747
|
startLine?: number | undefined;
|
|
635
748
|
endLine?: number | undefined;
|
|
636
749
|
}, {
|
|
637
|
-
filename: string;
|
|
638
750
|
space?: string | undefined;
|
|
751
|
+
title?: string | undefined;
|
|
752
|
+
id?: string | undefined;
|
|
753
|
+
filename?: string | undefined;
|
|
754
|
+
date?: string | undefined;
|
|
639
755
|
limit?: number | undefined;
|
|
756
|
+
query?: string | undefined;
|
|
757
|
+
offset?: number | undefined;
|
|
758
|
+
cursor?: string | undefined;
|
|
759
|
+
startLine?: number | undefined;
|
|
760
|
+
endLine?: number | undefined;
|
|
761
|
+
}>, {
|
|
762
|
+
limit: number;
|
|
763
|
+
offset: number;
|
|
764
|
+
space?: string | undefined;
|
|
765
|
+
title?: string | undefined;
|
|
766
|
+
id?: string | undefined;
|
|
767
|
+
filename?: string | undefined;
|
|
768
|
+
date?: string | undefined;
|
|
769
|
+
query?: string | undefined;
|
|
770
|
+
cursor?: string | undefined;
|
|
771
|
+
startLine?: number | undefined;
|
|
772
|
+
endLine?: number | undefined;
|
|
773
|
+
}, {
|
|
774
|
+
space?: string | undefined;
|
|
775
|
+
title?: string | undefined;
|
|
776
|
+
id?: string | undefined;
|
|
777
|
+
filename?: string | undefined;
|
|
778
|
+
date?: string | undefined;
|
|
779
|
+
limit?: number | undefined;
|
|
780
|
+
query?: string | undefined;
|
|
640
781
|
offset?: number | undefined;
|
|
641
782
|
cursor?: string | undefined;
|
|
642
783
|
startLine?: number | undefined;
|
|
@@ -725,34 +866,92 @@ export declare const searchParagraphsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
725
866
|
}>;
|
|
726
867
|
export declare function getParagraphs(params: z.infer<typeof getParagraphsSchema>): Record<string, unknown>;
|
|
727
868
|
export declare function searchParagraphs(params: z.infer<typeof searchParagraphsSchema>): Record<string, unknown>;
|
|
728
|
-
export declare const setPropertySchema: z.ZodObject<{
|
|
729
|
-
|
|
869
|
+
export declare const setPropertySchema: z.ZodEffects<z.ZodObject<{
|
|
870
|
+
id: z.ZodOptional<z.ZodString>;
|
|
871
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
872
|
+
title: z.ZodOptional<z.ZodString>;
|
|
873
|
+
date: z.ZodOptional<z.ZodString>;
|
|
874
|
+
query: z.ZodOptional<z.ZodString>;
|
|
730
875
|
space: z.ZodOptional<z.ZodString>;
|
|
731
876
|
key: z.ZodString;
|
|
732
877
|
value: z.ZodString;
|
|
733
878
|
}, "strip", z.ZodTypeAny, {
|
|
734
879
|
key: string;
|
|
735
880
|
value: string;
|
|
736
|
-
filename: string;
|
|
737
881
|
space?: string | undefined;
|
|
882
|
+
title?: string | undefined;
|
|
883
|
+
id?: string | undefined;
|
|
884
|
+
filename?: string | undefined;
|
|
885
|
+
date?: string | undefined;
|
|
886
|
+
query?: string | undefined;
|
|
887
|
+
}, {
|
|
888
|
+
key: string;
|
|
889
|
+
value: string;
|
|
890
|
+
space?: string | undefined;
|
|
891
|
+
title?: string | undefined;
|
|
892
|
+
id?: string | undefined;
|
|
893
|
+
filename?: string | undefined;
|
|
894
|
+
date?: string | undefined;
|
|
895
|
+
query?: string | undefined;
|
|
896
|
+
}>, {
|
|
897
|
+
key: string;
|
|
898
|
+
value: string;
|
|
899
|
+
space?: string | undefined;
|
|
900
|
+
title?: string | undefined;
|
|
901
|
+
id?: string | undefined;
|
|
902
|
+
filename?: string | undefined;
|
|
903
|
+
date?: string | undefined;
|
|
904
|
+
query?: string | undefined;
|
|
738
905
|
}, {
|
|
739
906
|
key: string;
|
|
740
907
|
value: string;
|
|
741
|
-
filename: string;
|
|
742
908
|
space?: string | undefined;
|
|
909
|
+
title?: string | undefined;
|
|
910
|
+
id?: string | undefined;
|
|
911
|
+
filename?: string | undefined;
|
|
912
|
+
date?: string | undefined;
|
|
913
|
+
query?: string | undefined;
|
|
743
914
|
}>;
|
|
744
|
-
export declare const removePropertySchema: z.ZodObject<{
|
|
745
|
-
|
|
915
|
+
export declare const removePropertySchema: z.ZodEffects<z.ZodObject<{
|
|
916
|
+
id: z.ZodOptional<z.ZodString>;
|
|
917
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
918
|
+
title: z.ZodOptional<z.ZodString>;
|
|
919
|
+
date: z.ZodOptional<z.ZodString>;
|
|
920
|
+
query: z.ZodOptional<z.ZodString>;
|
|
746
921
|
space: z.ZodOptional<z.ZodString>;
|
|
747
922
|
key: z.ZodString;
|
|
748
923
|
}, "strip", z.ZodTypeAny, {
|
|
749
924
|
key: string;
|
|
750
|
-
filename: string;
|
|
751
925
|
space?: string | undefined;
|
|
926
|
+
title?: string | undefined;
|
|
927
|
+
id?: string | undefined;
|
|
928
|
+
filename?: string | undefined;
|
|
929
|
+
date?: string | undefined;
|
|
930
|
+
query?: string | undefined;
|
|
752
931
|
}, {
|
|
753
932
|
key: string;
|
|
754
|
-
filename: string;
|
|
755
933
|
space?: string | undefined;
|
|
934
|
+
title?: string | undefined;
|
|
935
|
+
id?: string | undefined;
|
|
936
|
+
filename?: string | undefined;
|
|
937
|
+
date?: string | undefined;
|
|
938
|
+
query?: string | undefined;
|
|
939
|
+
}>, {
|
|
940
|
+
key: string;
|
|
941
|
+
space?: string | undefined;
|
|
942
|
+
title?: string | undefined;
|
|
943
|
+
id?: string | undefined;
|
|
944
|
+
filename?: string | undefined;
|
|
945
|
+
date?: string | undefined;
|
|
946
|
+
query?: string | undefined;
|
|
947
|
+
}, {
|
|
948
|
+
key: string;
|
|
949
|
+
space?: string | undefined;
|
|
950
|
+
title?: string | undefined;
|
|
951
|
+
id?: string | undefined;
|
|
952
|
+
filename?: string | undefined;
|
|
953
|
+
date?: string | undefined;
|
|
954
|
+
query?: string | undefined;
|
|
756
955
|
}>;
|
|
757
956
|
export declare const insertContentSchema: z.ZodEffects<z.ZodObject<{
|
|
758
957
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1005,20 +1204,44 @@ export declare const replaceLinesSchema: z.ZodObject<{
|
|
|
1005
1204
|
export declare function setProperty(params: z.infer<typeof setPropertySchema>): {
|
|
1006
1205
|
success: boolean;
|
|
1007
1206
|
error: string;
|
|
1207
|
+
candidates: {
|
|
1208
|
+
id: string;
|
|
1209
|
+
title: string;
|
|
1210
|
+
filename: string;
|
|
1211
|
+
score: number;
|
|
1212
|
+
}[] | undefined;
|
|
1008
1213
|
message?: undefined;
|
|
1009
1214
|
} | {
|
|
1010
1215
|
success: boolean;
|
|
1011
1216
|
message: string;
|
|
1012
1217
|
error?: undefined;
|
|
1218
|
+
candidates?: undefined;
|
|
1219
|
+
} | {
|
|
1220
|
+
success: boolean;
|
|
1221
|
+
error: string;
|
|
1222
|
+
candidates?: undefined;
|
|
1223
|
+
message?: undefined;
|
|
1013
1224
|
};
|
|
1014
1225
|
export declare function removeProperty(params: z.infer<typeof removePropertySchema>): {
|
|
1015
1226
|
success: boolean;
|
|
1016
1227
|
error: string;
|
|
1228
|
+
candidates: {
|
|
1229
|
+
id: string;
|
|
1230
|
+
title: string;
|
|
1231
|
+
filename: string;
|
|
1232
|
+
score: number;
|
|
1233
|
+
}[] | undefined;
|
|
1017
1234
|
message?: undefined;
|
|
1018
1235
|
} | {
|
|
1019
1236
|
success: boolean;
|
|
1020
1237
|
message: string;
|
|
1021
1238
|
error?: undefined;
|
|
1239
|
+
candidates?: undefined;
|
|
1240
|
+
} | {
|
|
1241
|
+
success: boolean;
|
|
1242
|
+
error: string;
|
|
1243
|
+
candidates?: undefined;
|
|
1244
|
+
message?: undefined;
|
|
1022
1245
|
};
|
|
1023
1246
|
export declare function insertContent(params: z.infer<typeof insertContentSchema>): {
|
|
1024
1247
|
success: boolean;
|
|
@@ -1094,12 +1317,7 @@ export declare function appendContent(params: z.infer<typeof appendContentSchema
|
|
|
1094
1317
|
export declare function deleteLines(params: z.infer<typeof deleteLinesSchema>): {
|
|
1095
1318
|
success: boolean;
|
|
1096
1319
|
error: string;
|
|
1097
|
-
candidates
|
|
1098
|
-
id: string;
|
|
1099
|
-
title: string;
|
|
1100
|
-
filename: string;
|
|
1101
|
-
score: number;
|
|
1102
|
-
}[] | undefined;
|
|
1320
|
+
candidates?: undefined;
|
|
1103
1321
|
message?: undefined;
|
|
1104
1322
|
lineCountToDelete?: undefined;
|
|
1105
1323
|
removedAttachmentReferences?: undefined;
|
|
@@ -1108,7 +1326,12 @@ export declare function deleteLines(params: z.infer<typeof deleteLinesSchema>):
|
|
|
1108
1326
|
} | {
|
|
1109
1327
|
success: boolean;
|
|
1110
1328
|
error: string;
|
|
1111
|
-
candidates
|
|
1329
|
+
candidates: {
|
|
1330
|
+
id: string;
|
|
1331
|
+
title: string;
|
|
1332
|
+
filename: string;
|
|
1333
|
+
score: number;
|
|
1334
|
+
}[] | undefined;
|
|
1112
1335
|
message?: undefined;
|
|
1113
1336
|
lineCountToDelete?: undefined;
|
|
1114
1337
|
removedAttachmentReferences?: undefined;
|
|
@@ -1198,12 +1421,7 @@ export declare function editLine(params: z.infer<typeof editLineSchema>): {
|
|
|
1198
1421
|
export declare function replaceLines(params: z.infer<typeof replaceLinesSchema>): {
|
|
1199
1422
|
success: boolean;
|
|
1200
1423
|
error: string;
|
|
1201
|
-
candidates
|
|
1202
|
-
id: string;
|
|
1203
|
-
title: string;
|
|
1204
|
-
filename: string;
|
|
1205
|
-
score: number;
|
|
1206
|
-
}[] | undefined;
|
|
1424
|
+
candidates?: undefined;
|
|
1207
1425
|
message?: undefined;
|
|
1208
1426
|
lineCountToReplace?: undefined;
|
|
1209
1427
|
insertedLineCount?: undefined;
|
|
@@ -1218,7 +1436,12 @@ export declare function replaceLines(params: z.infer<typeof replaceLinesSchema>)
|
|
|
1218
1436
|
} | {
|
|
1219
1437
|
success: boolean;
|
|
1220
1438
|
error: string;
|
|
1221
|
-
candidates
|
|
1439
|
+
candidates: {
|
|
1440
|
+
id: string;
|
|
1441
|
+
title: string;
|
|
1442
|
+
filename: string;
|
|
1443
|
+
score: number;
|
|
1444
|
+
}[] | undefined;
|
|
1222
1445
|
message?: undefined;
|
|
1223
1446
|
lineCountToReplace?: undefined;
|
|
1224
1447
|
insertedLineCount?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notes.d.ts","sourceRoot":"","sources":["../../src/tools/notes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"notes.d.ts","sourceRoot":"","sources":["../../src/tools/notes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,KAAK,MAAM,8BAA8B,CAAC;AAQtD,OAAO,E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