@kb-labs/clickup-contracts 2.96.0 → 2.98.0
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 +12 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -109,6 +109,17 @@ interface ClickUpComment {
|
|
|
109
109
|
date: string;
|
|
110
110
|
resolved: boolean;
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Shape actually returned by ClickUp's `POST /task/{id}/comment` endpoint —
|
|
114
|
+
* sparser than the comment shape returned by `GET /task/{id}/comment` (ClickUpComment).
|
|
115
|
+
*/
|
|
116
|
+
interface ClickUpCommentCreateResult {
|
|
117
|
+
id: string;
|
|
118
|
+
hist_id?: string;
|
|
119
|
+
date: string;
|
|
120
|
+
comment_text?: string;
|
|
121
|
+
user?: ClickUpMember;
|
|
122
|
+
}
|
|
112
123
|
interface ClickUpSpaceFeatures {
|
|
113
124
|
due_dates?: {
|
|
114
125
|
enabled: boolean;
|
|
@@ -360,4 +371,4 @@ type SearchTasksQuery = z.infer<typeof SearchTasksQuerySchema>;
|
|
|
360
371
|
type ListTasksQuery = z.infer<typeof ListTasksQuerySchema>;
|
|
361
372
|
type AddCommentInput = z.infer<typeof AddCommentSchema>;
|
|
362
373
|
|
|
363
|
-
export { type AddCommentInput, AddCommentSchema, CLICKUP_BASE_PATH, CLICKUP_FULL_ROUTES, CLICKUP_ROUTES, type ClickUpComment, type ClickUpFolder, type ClickUpList, type ClickUpMember, type ClickUpSpace, type ClickUpSpaceDetail, type ClickUpSpaceFeatures, type ClickUpStatus, type ClickUpTask, type ClickUpWorkspace, type CreateFolderInput, CreateFolderSchema, type CreateListInput, CreateListSchema, type CreateSpaceInput, CreateSpaceSchema, type CreateTaskInput, CreateTaskSchema, type ListTasksQuery, ListTasksQuerySchema, type SearchTasksQuery, SearchTasksQuerySchema, type UpdateFolderInput, UpdateFolderSchema, type UpdateListInput, UpdateListSchema, type UpdateSpaceInput, UpdateSpaceSchema, type UpdateTaskInput, UpdateTaskSchema };
|
|
374
|
+
export { type AddCommentInput, AddCommentSchema, CLICKUP_BASE_PATH, CLICKUP_FULL_ROUTES, CLICKUP_ROUTES, type ClickUpComment, type ClickUpCommentCreateResult, type ClickUpFolder, type ClickUpList, type ClickUpMember, type ClickUpSpace, type ClickUpSpaceDetail, type ClickUpSpaceFeatures, type ClickUpStatus, type ClickUpTask, type ClickUpWorkspace, type CreateFolderInput, CreateFolderSchema, type CreateListInput, CreateListSchema, type CreateSpaceInput, CreateSpaceSchema, type CreateTaskInput, CreateTaskSchema, type ListTasksQuery, ListTasksQuerySchema, type SearchTasksQuery, SearchTasksQuerySchema, type UpdateFolderInput, UpdateFolderSchema, type UpdateListInput, UpdateListSchema, type UpdateSpaceInput, UpdateSpaceSchema, type UpdateTaskInput, UpdateTaskSchema };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kb-labs/clickup-contracts",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.98.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Public types for clickup",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"tsup": "^8.5.0",
|
|
25
25
|
"typescript": "^5.6.3",
|
|
26
26
|
"vitest": "^3.2.6",
|
|
27
|
-
"@kb-labs/devkit": "2.
|
|
27
|
+
"@kb-labs/devkit": "2.98.0"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=20.0.0",
|