@todoist/mcp 20.1.0 → 21.0.1
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/index.d.ts +38 -25
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{mcp-server-evoO2bJn.js → mcp-server-CSzZga3y.js} +1245 -1266
- package/dist/{require-valid-todoist-token-a9fHse9A.js → require-valid-todoist-token-DJ9E5D9Y.js} +1 -1
- package/dist/tool-registry.d.ts +38 -25
- package/dist/tool-registry.d.ts.map +1 -1
- package/dist/tools/add-template.d.ts +9 -9
- package/dist/tools/fetch-object.d.ts +3 -3
- package/dist/tools/manage-assignments.d.ts +20 -7
- package/dist/tools/manage-assignments.d.ts.map +1 -1
- package/dist/tools/update-template.d.ts +6 -6
- package/dist/utils/template-content.d.ts +3 -3
- package/dist/utils/template-content.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/{require-valid-todoist-token-a9fHse9A.js → require-valid-todoist-token-DJ9E5D9Y.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ot as e, st as t } from "./mcp-server-
|
|
1
|
+
import { ot as e, st as t } from "./mcp-server-CSzZga3y.js";
|
|
2
2
|
import { buildBearerChallenge as n, createTokenVerdictCache as r, getValidationRateLimit as i, validateBearerToken as a } from "@todoist/mcp-core/host";
|
|
3
3
|
// src/utils/validate-todoist-token.ts
|
|
4
4
|
var o = "https://api.todoist.com", s = (n, r) => a({
|
package/dist/tool-registry.d.ts
CHANGED
|
@@ -4090,15 +4090,15 @@ declare const toolRegistry: {
|
|
|
4090
4090
|
taskId: string;
|
|
4091
4091
|
postedUid?: string | undefined;
|
|
4092
4092
|
postedAt?: string | undefined;
|
|
4093
|
-
fileAttachment?: string | undefined;
|
|
4093
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4094
4094
|
}[];
|
|
4095
4095
|
projectComments: {
|
|
4096
4096
|
content: string;
|
|
4097
4097
|
postedUid?: string | undefined;
|
|
4098
4098
|
postedAt?: string | undefined;
|
|
4099
|
-
fileAttachment?: string | undefined;
|
|
4099
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4100
4100
|
}[];
|
|
4101
|
-
projectViewOptionsDefaults: string[];
|
|
4101
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
4102
4102
|
} | undefined;
|
|
4103
4103
|
};
|
|
4104
4104
|
};
|
|
@@ -4383,6 +4383,11 @@ declare const toolRegistry: {
|
|
|
4383
4383
|
dryRun: import('zod').ZodDefault<import('zod').ZodOptional<import('zod').ZodBoolean>>;
|
|
4384
4384
|
};
|
|
4385
4385
|
outputSchema: {
|
|
4386
|
+
operation: import('zod').ZodEnum<{
|
|
4387
|
+
assign: "assign";
|
|
4388
|
+
unassign: "unassign";
|
|
4389
|
+
reassign: "reassign";
|
|
4390
|
+
}>;
|
|
4386
4391
|
results: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4387
4392
|
taskId: import('zod').ZodString;
|
|
4388
4393
|
success: import('zod').ZodBoolean;
|
|
@@ -4390,12 +4395,10 @@ declare const toolRegistry: {
|
|
|
4390
4395
|
originalAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4391
4396
|
newAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4392
4397
|
}, import('zod/v4/core').$strip>>;
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
dryRun: import('zod').ZodBoolean;
|
|
4398
|
-
}, import('zod/v4/core').$strip>>;
|
|
4398
|
+
totalRequested: import('zod').ZodNumber;
|
|
4399
|
+
successful: import('zod').ZodNumber;
|
|
4400
|
+
failed: import('zod').ZodNumber;
|
|
4401
|
+
dryRun: import('zod').ZodBoolean;
|
|
4399
4402
|
};
|
|
4400
4403
|
annotations: {
|
|
4401
4404
|
readOnlyHint: false;
|
|
@@ -4417,7 +4420,17 @@ declare const toolRegistry: {
|
|
|
4417
4420
|
totalRequested: number;
|
|
4418
4421
|
successful: number;
|
|
4419
4422
|
failed: number;
|
|
4420
|
-
dryRun:
|
|
4423
|
+
dryRun: true;
|
|
4424
|
+
};
|
|
4425
|
+
} | {
|
|
4426
|
+
textContent: string;
|
|
4427
|
+
structuredContent: {
|
|
4428
|
+
operation: "unassign";
|
|
4429
|
+
results: import('./tools/manage-assignments.js').OperationResult[];
|
|
4430
|
+
totalRequested: number;
|
|
4431
|
+
successful: number;
|
|
4432
|
+
failed: number;
|
|
4433
|
+
dryRun: false;
|
|
4421
4434
|
};
|
|
4422
4435
|
} | {
|
|
4423
4436
|
textContent: string;
|
|
@@ -4682,16 +4695,16 @@ declare const toolRegistry: {
|
|
|
4682
4695
|
content: import('zod').ZodString;
|
|
4683
4696
|
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4684
4697
|
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4685
|
-
fileAttachment: import('zod').ZodOptional<import('zod').ZodString
|
|
4698
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4686
4699
|
taskId: import('zod').ZodString;
|
|
4687
4700
|
}, import('zod/v4/core').$strip>>;
|
|
4688
4701
|
projectComments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4689
4702
|
content: import('zod').ZodString;
|
|
4690
4703
|
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4691
4704
|
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4692
|
-
fileAttachment: import('zod').ZodOptional<import('zod').ZodString
|
|
4705
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4693
4706
|
}, import('zod/v4/core').$strip>>;
|
|
4694
|
-
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodString
|
|
4707
|
+
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4695
4708
|
}, import('zod/v4/core').$strip>>;
|
|
4696
4709
|
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4697
4710
|
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -4782,15 +4795,15 @@ declare const toolRegistry: {
|
|
|
4782
4795
|
taskId: string;
|
|
4783
4796
|
postedUid?: string | undefined;
|
|
4784
4797
|
postedAt?: string | undefined;
|
|
4785
|
-
fileAttachment?: string | undefined;
|
|
4798
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4786
4799
|
}[];
|
|
4787
4800
|
projectComments: {
|
|
4788
4801
|
content: string;
|
|
4789
4802
|
postedUid?: string | undefined;
|
|
4790
4803
|
postedAt?: string | undefined;
|
|
4791
|
-
fileAttachment?: string | undefined;
|
|
4804
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4792
4805
|
}[];
|
|
4793
|
-
projectViewOptionsDefaults: string[];
|
|
4806
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
4794
4807
|
} | undefined;
|
|
4795
4808
|
name?: string | undefined;
|
|
4796
4809
|
description?: string | undefined;
|
|
@@ -4845,15 +4858,15 @@ declare const toolRegistry: {
|
|
|
4845
4858
|
taskId: string;
|
|
4846
4859
|
postedUid?: string | undefined;
|
|
4847
4860
|
postedAt?: string | undefined;
|
|
4848
|
-
fileAttachment?: string | undefined;
|
|
4861
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4849
4862
|
}[];
|
|
4850
4863
|
projectComments: {
|
|
4851
4864
|
content: string;
|
|
4852
4865
|
postedUid?: string | undefined;
|
|
4853
4866
|
postedAt?: string | undefined;
|
|
4854
|
-
fileAttachment?: string | undefined;
|
|
4867
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4855
4868
|
}[];
|
|
4856
|
-
projectViewOptionsDefaults: string[];
|
|
4869
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
4857
4870
|
};
|
|
4858
4871
|
};
|
|
4859
4872
|
} | {
|
|
@@ -5006,16 +5019,16 @@ declare const toolRegistry: {
|
|
|
5006
5019
|
content: import('zod').ZodString;
|
|
5007
5020
|
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5008
5021
|
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5009
|
-
fileAttachment: import('zod').ZodOptional<import('zod').ZodString
|
|
5022
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
5010
5023
|
taskId: import('zod').ZodString;
|
|
5011
5024
|
}, import('zod/v4/core').$strip>>;
|
|
5012
5025
|
projectComments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
5013
5026
|
content: import('zod').ZodString;
|
|
5014
5027
|
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5015
5028
|
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5016
|
-
fileAttachment: import('zod').ZodOptional<import('zod').ZodString
|
|
5029
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
5017
5030
|
}, import('zod/v4/core').$strip>>;
|
|
5018
|
-
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodString
|
|
5031
|
+
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
5019
5032
|
}, import('zod/v4/core').$strip>>;
|
|
5020
5033
|
workspace: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5021
5034
|
sharedWithWorkspaceMembers: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
@@ -5083,15 +5096,15 @@ declare const toolRegistry: {
|
|
|
5083
5096
|
taskId: string;
|
|
5084
5097
|
postedUid?: string | undefined;
|
|
5085
5098
|
postedAt?: string | undefined;
|
|
5086
|
-
fileAttachment?: string | undefined;
|
|
5099
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
5087
5100
|
}[];
|
|
5088
5101
|
projectComments: {
|
|
5089
5102
|
content: string;
|
|
5090
5103
|
postedUid?: string | undefined;
|
|
5091
5104
|
postedAt?: string | undefined;
|
|
5092
|
-
fileAttachment?: string | undefined;
|
|
5105
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
5093
5106
|
}[];
|
|
5094
|
-
projectViewOptionsDefaults: string[];
|
|
5107
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
5095
5108
|
} | undefined;
|
|
5096
5109
|
workspace?: string | undefined;
|
|
5097
5110
|
sharedWithWorkspaceMembers?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../src/tool-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAwEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../src/tool-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAwEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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odString
|
|
67
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
68
68
|
taskId: z.ZodString;
|
|
69
69
|
}, z.core.$strip>>;
|
|
70
70
|
projectComments: z.ZodArray<z.ZodObject<{
|
|
71
71
|
content: z.ZodString;
|
|
72
72
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
73
73
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
74
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
74
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
75
75
|
}, z.core.$strip>>;
|
|
76
|
-
projectViewOptionsDefaults: z.ZodArray<z.ZodString
|
|
76
|
+
projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77
77
|
}, z.core.$strip>>;
|
|
78
78
|
name: z.ZodOptional<z.ZodString>;
|
|
79
79
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -164,15 +164,15 @@ declare const addTemplate: {
|
|
|
164
164
|
taskId: string;
|
|
165
165
|
postedUid?: string | undefined;
|
|
166
166
|
postedAt?: string | undefined;
|
|
167
|
-
fileAttachment?: string | undefined;
|
|
167
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
168
168
|
}[];
|
|
169
169
|
projectComments: {
|
|
170
170
|
content: string;
|
|
171
171
|
postedUid?: string | undefined;
|
|
172
172
|
postedAt?: string | undefined;
|
|
173
|
-
fileAttachment?: string | undefined;
|
|
173
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
174
174
|
}[];
|
|
175
|
-
projectViewOptionsDefaults: string[];
|
|
175
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
176
176
|
} | undefined;
|
|
177
177
|
name?: string | undefined;
|
|
178
178
|
description?: string | undefined;
|
|
@@ -227,15 +227,15 @@ declare const addTemplate: {
|
|
|
227
227
|
taskId: string;
|
|
228
228
|
postedUid?: string | undefined;
|
|
229
229
|
postedAt?: string | undefined;
|
|
230
|
-
fileAttachment?: string | undefined;
|
|
230
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
231
231
|
}[];
|
|
232
232
|
projectComments: {
|
|
233
233
|
content: string;
|
|
234
234
|
postedUid?: string | undefined;
|
|
235
235
|
postedAt?: string | undefined;
|
|
236
|
-
fileAttachment?: string | undefined;
|
|
236
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
237
237
|
}[];
|
|
238
|
-
projectViewOptionsDefaults: string[];
|
|
238
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
239
239
|
};
|
|
240
240
|
};
|
|
241
241
|
} | {
|
|
@@ -334,15 +334,15 @@ declare const fetchObject: {
|
|
|
334
334
|
taskId: string;
|
|
335
335
|
postedUid?: string | undefined;
|
|
336
336
|
postedAt?: string | undefined;
|
|
337
|
-
fileAttachment?: string | undefined;
|
|
337
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
338
338
|
}[];
|
|
339
339
|
projectComments: {
|
|
340
340
|
content: string;
|
|
341
341
|
postedUid?: string | undefined;
|
|
342
342
|
postedAt?: string | undefined;
|
|
343
|
-
fileAttachment?: string | undefined;
|
|
343
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
344
344
|
}[];
|
|
345
|
-
projectViewOptionsDefaults: string[];
|
|
345
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
346
346
|
} | undefined;
|
|
347
347
|
};
|
|
348
348
|
};
|
|
@@ -21,6 +21,11 @@ declare const manageAssignments: {
|
|
|
21
21
|
dryRun: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
22
22
|
};
|
|
23
23
|
outputSchema: {
|
|
24
|
+
operation: z.ZodEnum<{
|
|
25
|
+
assign: "assign";
|
|
26
|
+
unassign: "unassign";
|
|
27
|
+
reassign: "reassign";
|
|
28
|
+
}>;
|
|
24
29
|
results: z.ZodArray<z.ZodObject<{
|
|
25
30
|
taskId: z.ZodString;
|
|
26
31
|
success: z.ZodBoolean;
|
|
@@ -28,12 +33,10 @@ declare const manageAssignments: {
|
|
|
28
33
|
originalAssigneeId: z.ZodOptional<z.ZodString>;
|
|
29
34
|
newAssigneeId: z.ZodOptional<z.ZodString>;
|
|
30
35
|
}, z.core.$strip>>;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
dryRun: z.ZodBoolean;
|
|
36
|
-
}, z.core.$strip>>;
|
|
36
|
+
totalRequested: z.ZodNumber;
|
|
37
|
+
successful: z.ZodNumber;
|
|
38
|
+
failed: z.ZodNumber;
|
|
39
|
+
dryRun: z.ZodBoolean;
|
|
37
40
|
};
|
|
38
41
|
annotations: {
|
|
39
42
|
readOnlyHint: false;
|
|
@@ -55,7 +58,17 @@ declare const manageAssignments: {
|
|
|
55
58
|
totalRequested: number;
|
|
56
59
|
successful: number;
|
|
57
60
|
failed: number;
|
|
58
|
-
dryRun:
|
|
61
|
+
dryRun: true;
|
|
62
|
+
};
|
|
63
|
+
} | {
|
|
64
|
+
textContent: string;
|
|
65
|
+
structuredContent: {
|
|
66
|
+
operation: "unassign";
|
|
67
|
+
results: OperationResult[];
|
|
68
|
+
totalRequested: number;
|
|
69
|
+
successful: number;
|
|
70
|
+
failed: number;
|
|
71
|
+
dryRun: false;
|
|
59
72
|
};
|
|
60
73
|
} | {
|
|
61
74
|
textContent: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage-assignments.d.ts","sourceRoot":"","sources":["../../src/tools/manage-assignments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"manage-assignments.d.ts","sourceRoot":"","sources":["../../src/tools/manage-assignments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA6CvB,MAAM,MAAM,eAAe,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AA+BD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0RwC,CAAA;AAuF/D,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -87,16 +87,16 @@ declare const updateTemplate: {
|
|
|
87
87
|
content: z.ZodString;
|
|
88
88
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
89
89
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
90
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
90
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
91
91
|
taskId: z.ZodString;
|
|
92
92
|
}, z.core.$strip>>;
|
|
93
93
|
projectComments: z.ZodArray<z.ZodObject<{
|
|
94
94
|
content: z.ZodString;
|
|
95
95
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
96
96
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
97
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
97
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
98
98
|
}, z.core.$strip>>;
|
|
99
|
-
projectViewOptionsDefaults: z.ZodArray<z.ZodString
|
|
99
|
+
projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
100
100
|
}, z.core.$strip>>;
|
|
101
101
|
workspace: z.ZodOptional<z.ZodString>;
|
|
102
102
|
sharedWithWorkspaceMembers: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -164,15 +164,15 @@ declare const updateTemplate: {
|
|
|
164
164
|
taskId: string;
|
|
165
165
|
postedUid?: string | undefined;
|
|
166
166
|
postedAt?: string | undefined;
|
|
167
|
-
fileAttachment?: string | undefined;
|
|
167
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
168
168
|
}[];
|
|
169
169
|
projectComments: {
|
|
170
170
|
content: string;
|
|
171
171
|
postedUid?: string | undefined;
|
|
172
172
|
postedAt?: string | undefined;
|
|
173
|
-
fileAttachment?: string | undefined;
|
|
173
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
174
174
|
}[];
|
|
175
|
-
projectViewOptionsDefaults: string[];
|
|
175
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
176
176
|
} | undefined;
|
|
177
177
|
workspace?: string | undefined;
|
|
178
178
|
sharedWithWorkspaceMembers?: boolean | undefined;
|
|
@@ -61,16 +61,16 @@ declare const TemplateContentSchema: z.ZodObject<{
|
|
|
61
61
|
content: z.ZodString;
|
|
62
62
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
63
63
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
64
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
64
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
65
65
|
taskId: z.ZodString;
|
|
66
66
|
}, z.core.$strip>>;
|
|
67
67
|
projectComments: z.ZodArray<z.ZodObject<{
|
|
68
68
|
content: z.ZodString;
|
|
69
69
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
70
70
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
71
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
71
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
72
72
|
}, z.core.$strip>>;
|
|
73
|
-
projectViewOptionsDefaults: z.ZodArray<z.ZodString
|
|
73
|
+
projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
74
74
|
}, z.core.$strip>;
|
|
75
75
|
type ToolTemplateContent = z.infer<typeof TemplateContentSchema>;
|
|
76
76
|
/** Turns the SDK's template content into the tools' shape: "p1"–"p4" priorities, no nulls. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-content.d.ts","sourceRoot":"","sources":["../../src/utils/template-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,eAAe,EAEvB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"template-content.d.ts","sourceRoot":"","sources":["../../src/utils/template-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,eAAe,EAEvB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqBvB;;;GAGG;AACH,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0CzB,CAAA;AAEF,KAAK,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEhE,8FAA8F;AAC9F,iBAAS,qBAAqB,CAAC,OAAO,EAAE,eAAe,GAAG,mBAAmB,CAkC5E;AAwBD,mEAAmE;AACnE,iBAAS,oBAAoB,CAAC,OAAO,EAAE,mBAAmB,GAAG,eAAe,CAQ3E;AAYD;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,CAStF;AAED;;;;GAIG;AACH,iBAAS,sBAAsB,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAOjG;AAID;;;GAGG;AACH,iBAAS,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAoBpE;AAED,OAAO,EACH,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,KAAK,mBAAmB,GAC3B,CAAA"}
|