From bb9583732157c12ee9987e5005f9cc5040894206 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 27 Mar 2025 13:02:03 +0100 Subject: [PATCH 1/5] feat: bump API version to v9.218 - Remove commentCount field from Task and Project types as it's no longer available in the API - Update test defaults and task converter to match the new API schema --- src/consts/endpoints.ts | 2 +- src/testUtils/testDefaults.ts | 2 -- src/types/entities.ts | 2 -- src/utils/taskConverters.ts | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/consts/endpoints.ts b/src/consts/endpoints.ts index e9602bb..3788689 100644 --- a/src/consts/endpoints.ts +++ b/src/consts/endpoints.ts @@ -3,7 +3,7 @@ const TODOIST_URI = 'https://todoist.com' // The API version is not configurable, to ensure // compatibility between the API and the client. -export const API_VERSION = 'v9.217' +export const API_VERSION = 'v9.218' export const API_BASE_URI = `/api/${API_VERSION}/` const API_AUTHORIZATION_BASE_URI = '/oauth/' diff --git a/src/testUtils/testDefaults.ts b/src/testUtils/testDefaults.ts index fc51978..95bda9f 100644 --- a/src/testUtils/testDefaults.ts +++ b/src/testUtils/testDefaults.ts @@ -95,7 +95,6 @@ export const DEFAULT_TASK: Task = { isCompleted: false, labels: DEFAULT_LABELS, priority: DEFAULT_TASK_PRIORITY, - commentCount: 0, createdAt: DEFAULT_DATE, url: 'https://todoist.com/showTask?id=1234', due: DEFAULT_DUE_DATE, @@ -127,7 +126,6 @@ export const DEFAULT_PROJECT: Project = { color: DEFAULT_ENTITY_COLOR, order: DEFAULT_ORDER, parentId: DEFAULT_PROJECT_ID, - commentCount: 0, isFavorite: false, isShared: false, isInboxProject: false, diff --git a/src/types/entities.ts b/src/types/entities.ts index 00e10ba..1c79b9c 100644 --- a/src/types/entities.ts +++ b/src/types/entities.ts @@ -49,7 +49,6 @@ export const TaskSchema = z.object({ isCompleted: z.boolean(), labels: z.array(z.string()), priority: z.number().int(), - commentCount: z.number().int(), creatorId: z.string(), createdAt: z.string(), due: DueDateSchema.nullable(), @@ -69,7 +68,6 @@ export const ProjectSchema = z.object({ order: z.number().int().nullable(), color: z.string(), name: z.string(), - commentCount: z.number().int(), isShared: z.boolean(), isFavorite: z.boolean(), isInboxProject: z.boolean(), diff --git a/src/utils/taskConverters.ts b/src/utils/taskConverters.ts index ae8e579..3b4c1c1 100644 --- a/src/utils/taskConverters.ts +++ b/src/utils/taskConverters.ts @@ -17,7 +17,6 @@ export function getTaskFromQuickAddResponse(responseData: QuickAddTaskResponse): isCompleted: responseData.checked, labels: responseData.labels, priority: responseData.priority, - commentCount: 0, // Will always be 0 for a quick add createdAt: responseData.addedAt, url: getTaskUrlFromQuickAddResponse(responseData), creatorId: responseData.addedByUid ?? '', From b7afc09dee4f85cdb5e54a6862e62b0a22fccf05 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 27 Mar 2025 13:03:38 +0100 Subject: [PATCH 2/5] docs: update API documentation for v9.218 --- website/docs/api/.md | 2 + website/docs/api/classes/TodoistApi.md | 27 ++++++++++ website/docs/api/interfaces/Project.md | 1 - website/docs/api/interfaces/Task.md | 1 - website/docs/api/type-aliases/MoveTaskArgs.md | 13 +++++ .../api/type-aliases/QuickAddTaskResponse.md | 42 +--------------- website/docs/api/type-aliases/SyncTask.md | 49 +++++++++++++++++++ website/docs/api/typedoc-sidebar.cjs | 2 +- 8 files changed, 93 insertions(+), 44 deletions(-) create mode 100644 website/docs/api/type-aliases/MoveTaskArgs.md create mode 100644 website/docs/api/type-aliases/SyncTask.md diff --git a/website/docs/api/.md b/website/docs/api/.md index 778fff0..6f6f186 100644 --- a/website/docs/api/.md +++ b/website/docs/api/.md @@ -49,6 +49,7 @@ | [GetTaskCommentsArgs](type-aliases/GetTaskCommentsArgs.md) | - | | [GetTasksArgs](type-aliases/GetTasksArgs.md) | - | | [GetTasksResponse](type-aliases/GetTasksResponse.md) | - | +| [MoveTaskArgs](type-aliases/MoveTaskArgs.md) | - | | [Permission](type-aliases/Permission.md) | Permission scopes that can be requested during OAuth2 authorization. | | [ProjectViewStyle](type-aliases/ProjectViewStyle.md) | - | | [QuickAddTaskArgs](type-aliases/QuickAddTaskArgs.md) | - | @@ -56,6 +57,7 @@ | [RemoveSharedLabelArgs](type-aliases/RemoveSharedLabelArgs.md) | - | | [RenameSharedLabelArgs](type-aliases/RenameSharedLabelArgs.md) | - | | [RevokeAuthTokenRequestArgs](type-aliases/RevokeAuthTokenRequestArgs.md) | Parameters required to revoke an access token. | +| [SyncTask](type-aliases/SyncTask.md) | - | | [TaskWithSanitizedContent](type-aliases/TaskWithSanitizedContent.md) | - | | [UpdateCommentArgs](type-aliases/UpdateCommentArgs.md) | - | | [UpdateLabelArgs](type-aliases/UpdateLabelArgs.md) | - | diff --git a/website/docs/api/classes/TodoistApi.md b/website/docs/api/classes/TodoistApi.md index 71b4ea9..afcfbe0 100644 --- a/website/docs/api/classes/TodoistApi.md +++ b/website/docs/api/classes/TodoistApi.md @@ -559,6 +559,33 @@ A promise that resolves to an array of tasks. *** +### moveTasks() + +```ts +moveTasks( + ids: string[], + args: MoveTaskArgs, +requestId?: string): Promise +``` + +Moves existing tasks by their ID to either a different parent/section/project. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `ids` | `string`[] | The unique identifier of the tasks to be moved. | +| `args` | [`MoveTaskArgs`](../type-aliases/MoveTaskArgs.md) | The paramets that should contain only one of projectId, sectionId, or parentId | +| `requestId`? | `string` | Optional unique identifier for idempotency. | + +#### Returns + +`Promise`\<[`Task`](../interfaces/Task.md)[]\> + +- A promise that resolves to an array of the updated tasks. + +*** + ### quickAddTask() ```ts diff --git a/website/docs/api/interfaces/Project.md b/website/docs/api/interfaces/Project.md index 2db314a..b496a20 100644 --- a/website/docs/api/interfaces/Project.md +++ b/website/docs/api/interfaces/Project.md @@ -15,7 +15,6 @@ https://developer.todoist.com/sync/v9/#projects | Property | Type | | ------ | ------ | | `color` | `string` | -| `commentCount` | `number` | | `id` | `string` | | `isFavorite` | `boolean` | | `isInboxProject` | `boolean` | diff --git a/website/docs/api/interfaces/Task.md b/website/docs/api/interfaces/Task.md index 3f762d7..a78b5b2 100644 --- a/website/docs/api/interfaces/Task.md +++ b/website/docs/api/interfaces/Task.md @@ -16,7 +16,6 @@ https://developer.todoist.com/sync/v9/#items | ------ | ------ | | `assigneeId` | `null` \| `string` | | `assignerId` | `null` \| `string` | -| `commentCount` | `number` | | `content` | `string` | | `createdAt` | `string` | | `creatorId` | `string` | diff --git a/website/docs/api/type-aliases/MoveTaskArgs.md b/website/docs/api/type-aliases/MoveTaskArgs.md new file mode 100644 index 0000000..c4b5ec1 --- /dev/null +++ b/website/docs/api/type-aliases/MoveTaskArgs.md @@ -0,0 +1,13 @@ +# MoveTaskArgs + +```ts +type MoveTaskArgs = RequireExactlyOne<{ + parentId: string; + projectId: string; + sectionId: string; +}>; +``` + +## See + +https://developer.todoist.com/sync/v9/#move-an-item diff --git a/website/docs/api/type-aliases/QuickAddTaskResponse.md b/website/docs/api/type-aliases/QuickAddTaskResponse.md index 580cb12..95f520d 100644 --- a/website/docs/api/type-aliases/QuickAddTaskResponse.md +++ b/website/docs/api/type-aliases/QuickAddTaskResponse.md @@ -1,49 +1,9 @@ # QuickAddTaskResponse ```ts -type QuickAddTaskResponse = { - addedAt: string; - addedByUid: string | null; - assignedByUid: string | null; - checked: boolean; - childOrder: number; - content: string; - deadline: Deadline | null; - description: string; - due: DueDate | null; - duration: Duration | null; - id: string; - labels: string[]; - parentId: string | null; - priority: number; - projectId: string; - responsibleUid: string | null; - sectionId: string | null; -}; +type QuickAddTaskResponse = SyncTask; ``` -## Type declaration - -| Name | Type | -| ------ | ------ | -| `addedAt` | `string` | -| `addedByUid` | `string` \| `null` | -| `assignedByUid` | `string` \| `null` | -| `checked` | `boolean` | -| `childOrder` | `number` | -| `content` | `string` | -| `deadline` | [`Deadline`](../interfaces/Deadline.md) \| `null` | -| `description` | `string` | -| `due` | [`DueDate`](../interfaces/DueDate.md) \| `null` | -| `duration` | [`Duration`](../interfaces/Duration.md) \| `null` | -| `id` | `string` | -| `labels` | `string`[] | -| `parentId` | `string` \| `null` | -| `priority` | `number` | -| `projectId` | `string` | -| `responsibleUid` | `string` \| `null` | -| `sectionId` | `string` \| `null` | - ## See https://developer.todoist.com/rest/v2/#quick-add-task diff --git a/website/docs/api/type-aliases/SyncTask.md b/website/docs/api/type-aliases/SyncTask.md new file mode 100644 index 0000000..806d7a9 --- /dev/null +++ b/website/docs/api/type-aliases/SyncTask.md @@ -0,0 +1,49 @@ +# SyncTask + +```ts +type SyncTask = { + addedAt: string; + addedByUid: string | null; + assignedByUid: string | null; + checked: boolean; + childOrder: number; + content: string; + deadline: Deadline | null; + description: string; + due: DueDate | null; + duration: Duration | null; + id: string; + labels: string[]; + parentId: string | null; + priority: number; + projectId: string; + responsibleUid: string | null; + sectionId: string | null; +}; +``` + +## Type declaration + +| Name | Type | +| ------ | ------ | +| `addedAt` | `string` | +| `addedByUid` | `string` \| `null` | +| `assignedByUid` | `string` \| `null` | +| `checked` | `boolean` | +| `childOrder` | `number` | +| `content` | `string` | +| `deadline` | [`Deadline`](../interfaces/Deadline.md) \| `null` | +| `description` | `string` | +| `due` | [`DueDate`](../interfaces/DueDate.md) \| `null` | +| `duration` | [`Duration`](../interfaces/Duration.md) \| `null` | +| `id` | `string` | +| `labels` | `string`[] | +| `parentId` | `string` \| `null` | +| `priority` | `number` | +| `projectId` | `string` | +| `responsibleUid` | `string` \| `null` | +| `sectionId` | `string` \| `null` | + +## See + +https://developer.todoist.com/rest/v2/#quick-add-task diff --git a/website/docs/api/typedoc-sidebar.cjs b/website/docs/api/typedoc-sidebar.cjs index 7257247..d8d7529 100644 --- a/website/docs/api/typedoc-sidebar.cjs +++ b/website/docs/api/typedoc-sidebar.cjs @@ -1,4 +1,4 @@ // @ts-check /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ -const typedocSidebar = { items: [{"type":"category","label":"Classes","items":[{"type":"doc","id":"api/classes/TodoistApi","label":"TodoistApi"},{"type":"doc","id":"api/classes/TodoistRequestError","label":"TodoistRequestError"}]},{"type":"category","label":"Interfaces","items":[{"type":"doc","id":"api/interfaces/Attachment","label":"Attachment"},{"type":"doc","id":"api/interfaces/Color","label":"Color"},{"type":"doc","id":"api/interfaces/Comment","label":"Comment"},{"type":"doc","id":"api/interfaces/Deadline","label":"Deadline"},{"type":"doc","id":"api/interfaces/DueDate","label":"DueDate"},{"type":"doc","id":"api/interfaces/Duration","label":"Duration"},{"type":"doc","id":"api/interfaces/Label","label":"Label"},{"type":"doc","id":"api/interfaces/Project","label":"Project"},{"type":"doc","id":"api/interfaces/Section","label":"Section"},{"type":"doc","id":"api/interfaces/Task","label":"Task"},{"type":"doc","id":"api/interfaces/User","label":"User"}]},{"type":"category","label":"Type Aliases","items":[{"type":"doc","id":"api/type-aliases/AddCommentArgs","label":"AddCommentArgs"},{"type":"doc","id":"api/type-aliases/AddLabelArgs","label":"AddLabelArgs"},{"type":"doc","id":"api/type-aliases/AddProjectArgs","label":"AddProjectArgs"},{"type":"doc","id":"api/type-aliases/AddSectionArgs","label":"AddSectionArgs"},{"type":"doc","id":"api/type-aliases/AddTaskArgs","label":"AddTaskArgs"},{"type":"doc","id":"api/type-aliases/AuthTokenRequestArgs","label":"AuthTokenRequestArgs"},{"type":"doc","id":"api/type-aliases/AuthTokenResponse","label":"AuthTokenResponse"},{"type":"doc","id":"api/type-aliases/GetCommentsResponse","label":"GetCommentsResponse"},{"type":"doc","id":"api/type-aliases/GetLabelsArgs","label":"GetLabelsArgs"},{"type":"doc","id":"api/type-aliases/GetLabelsResponse","label":"GetLabelsResponse"},{"type":"doc","id":"api/type-aliases/GetProjectCollaboratorsArgs","label":"GetProjectCollaboratorsArgs"},{"type":"doc","id":"api/type-aliases/GetProjectCollaboratorsResponse","label":"GetProjectCollaboratorsResponse"},{"type":"doc","id":"api/type-aliases/GetProjectCommentsArgs","label":"GetProjectCommentsArgs"},{"type":"doc","id":"api/type-aliases/GetProjectsArgs","label":"GetProjectsArgs"},{"type":"doc","id":"api/type-aliases/GetProjectsResponse","label":"GetProjectsResponse"},{"type":"doc","id":"api/type-aliases/GetSectionsArgs","label":"GetSectionsArgs"},{"type":"doc","id":"api/type-aliases/GetSectionsResponse","label":"GetSectionsResponse"},{"type":"doc","id":"api/type-aliases/GetSharedLabelsArgs","label":"GetSharedLabelsArgs"},{"type":"doc","id":"api/type-aliases/GetSharedLabelsResponse","label":"GetSharedLabelsResponse"},{"type":"doc","id":"api/type-aliases/GetTaskCommentsArgs","label":"GetTaskCommentsArgs"},{"type":"doc","id":"api/type-aliases/GetTasksArgs","label":"GetTasksArgs"},{"type":"doc","id":"api/type-aliases/GetTasksResponse","label":"GetTasksResponse"},{"type":"doc","id":"api/type-aliases/Permission","label":"Permission"},{"type":"doc","id":"api/type-aliases/ProjectViewStyle","label":"ProjectViewStyle"},{"type":"doc","id":"api/type-aliases/QuickAddTaskArgs","label":"QuickAddTaskArgs"},{"type":"doc","id":"api/type-aliases/QuickAddTaskResponse","label":"QuickAddTaskResponse"},{"type":"doc","id":"api/type-aliases/RemoveSharedLabelArgs","label":"RemoveSharedLabelArgs"},{"type":"doc","id":"api/type-aliases/RenameSharedLabelArgs","label":"RenameSharedLabelArgs"},{"type":"doc","id":"api/type-aliases/RevokeAuthTokenRequestArgs","label":"RevokeAuthTokenRequestArgs"},{"type":"doc","id":"api/type-aliases/TaskWithSanitizedContent","label":"TaskWithSanitizedContent"},{"type":"doc","id":"api/type-aliases/UpdateCommentArgs","label":"UpdateCommentArgs"},{"type":"doc","id":"api/type-aliases/UpdateLabelArgs","label":"UpdateLabelArgs"},{"type":"doc","id":"api/type-aliases/UpdateProjectArgs","label":"UpdateProjectArgs"},{"type":"doc","id":"api/type-aliases/UpdateSectionArgs","label":"UpdateSectionArgs"},{"type":"doc","id":"api/type-aliases/UpdateTaskArgs","label":"UpdateTaskArgs"}]},{"type":"category","label":"Functions","items":[{"type":"doc","id":"api/functions/getAuthorizationUrl","label":"getAuthorizationUrl"},{"type":"doc","id":"api/functions/getAuthStateParameter","label":"getAuthStateParameter"},{"type":"doc","id":"api/functions/getAuthToken","label":"getAuthToken"},{"type":"doc","id":"api/functions/getColorByKey","label":"getColorByKey"},{"type":"doc","id":"api/functions/getSanitizedContent","label":"getSanitizedContent"},{"type":"doc","id":"api/functions/getSanitizedTasks","label":"getSanitizedTasks"},{"type":"doc","id":"api/functions/revokeAuthToken","label":"revokeAuthToken"}]}]}; +const typedocSidebar = { items: [{"type":"category","label":"Classes","items":[{"type":"doc","id":"api/classes/TodoistApi","label":"TodoistApi"},{"type":"doc","id":"api/classes/TodoistRequestError","label":"TodoistRequestError"}]},{"type":"category","label":"Interfaces","items":[{"type":"doc","id":"api/interfaces/Attachment","label":"Attachment"},{"type":"doc","id":"api/interfaces/Color","label":"Color"},{"type":"doc","id":"api/interfaces/Comment","label":"Comment"},{"type":"doc","id":"api/interfaces/Deadline","label":"Deadline"},{"type":"doc","id":"api/interfaces/DueDate","label":"DueDate"},{"type":"doc","id":"api/interfaces/Duration","label":"Duration"},{"type":"doc","id":"api/interfaces/Label","label":"Label"},{"type":"doc","id":"api/interfaces/Project","label":"Project"},{"type":"doc","id":"api/interfaces/Section","label":"Section"},{"type":"doc","id":"api/interfaces/Task","label":"Task"},{"type":"doc","id":"api/interfaces/User","label":"User"}]},{"type":"category","label":"Type Aliases","items":[{"type":"doc","id":"api/type-aliases/AddCommentArgs","label":"AddCommentArgs"},{"type":"doc","id":"api/type-aliases/AddLabelArgs","label":"AddLabelArgs"},{"type":"doc","id":"api/type-aliases/AddProjectArgs","label":"AddProjectArgs"},{"type":"doc","id":"api/type-aliases/AddSectionArgs","label":"AddSectionArgs"},{"type":"doc","id":"api/type-aliases/AddTaskArgs","label":"AddTaskArgs"},{"type":"doc","id":"api/type-aliases/AuthTokenRequestArgs","label":"AuthTokenRequestArgs"},{"type":"doc","id":"api/type-aliases/AuthTokenResponse","label":"AuthTokenResponse"},{"type":"doc","id":"api/type-aliases/GetCommentsResponse","label":"GetCommentsResponse"},{"type":"doc","id":"api/type-aliases/GetLabelsArgs","label":"GetLabelsArgs"},{"type":"doc","id":"api/type-aliases/GetLabelsResponse","label":"GetLabelsResponse"},{"type":"doc","id":"api/type-aliases/GetProjectCollaboratorsArgs","label":"GetProjectCollaboratorsArgs"},{"type":"doc","id":"api/type-aliases/GetProjectCollaboratorsResponse","label":"GetProjectCollaboratorsResponse"},{"type":"doc","id":"api/type-aliases/GetProjectCommentsArgs","label":"GetProjectCommentsArgs"},{"type":"doc","id":"api/type-aliases/GetProjectsArgs","label":"GetProjectsArgs"},{"type":"doc","id":"api/type-aliases/GetProjectsResponse","label":"GetProjectsResponse"},{"type":"doc","id":"api/type-aliases/GetSectionsArgs","label":"GetSectionsArgs"},{"type":"doc","id":"api/type-aliases/GetSectionsResponse","label":"GetSectionsResponse"},{"type":"doc","id":"api/type-aliases/GetSharedLabelsArgs","label":"GetSharedLabelsArgs"},{"type":"doc","id":"api/type-aliases/GetSharedLabelsResponse","label":"GetSharedLabelsResponse"},{"type":"doc","id":"api/type-aliases/GetTaskCommentsArgs","label":"GetTaskCommentsArgs"},{"type":"doc","id":"api/type-aliases/GetTasksArgs","label":"GetTasksArgs"},{"type":"doc","id":"api/type-aliases/GetTasksResponse","label":"GetTasksResponse"},{"type":"doc","id":"api/type-aliases/MoveTaskArgs","label":"MoveTaskArgs"},{"type":"doc","id":"api/type-aliases/Permission","label":"Permission"},{"type":"doc","id":"api/type-aliases/ProjectViewStyle","label":"ProjectViewStyle"},{"type":"doc","id":"api/type-aliases/QuickAddTaskArgs","label":"QuickAddTaskArgs"},{"type":"doc","id":"api/type-aliases/QuickAddTaskResponse","label":"QuickAddTaskResponse"},{"type":"doc","id":"api/type-aliases/RemoveSharedLabelArgs","label":"RemoveSharedLabelArgs"},{"type":"doc","id":"api/type-aliases/RenameSharedLabelArgs","label":"RenameSharedLabelArgs"},{"type":"doc","id":"api/type-aliases/RevokeAuthTokenRequestArgs","label":"RevokeAuthTokenRequestArgs"},{"type":"doc","id":"api/type-aliases/SyncTask","label":"SyncTask"},{"type":"doc","id":"api/type-aliases/TaskWithSanitizedContent","label":"TaskWithSanitizedContent"},{"type":"doc","id":"api/type-aliases/UpdateCommentArgs","label":"UpdateCommentArgs"},{"type":"doc","id":"api/type-aliases/UpdateLabelArgs","label":"UpdateLabelArgs"},{"type":"doc","id":"api/type-aliases/UpdateProjectArgs","label":"UpdateProjectArgs"},{"type":"doc","id":"api/type-aliases/UpdateSectionArgs","label":"UpdateSectionArgs"},{"type":"doc","id":"api/type-aliases/UpdateTaskArgs","label":"UpdateTaskArgs"}]},{"type":"category","label":"Functions","items":[{"type":"doc","id":"api/functions/getAuthorizationUrl","label":"getAuthorizationUrl"},{"type":"doc","id":"api/functions/getAuthStateParameter","label":"getAuthStateParameter"},{"type":"doc","id":"api/functions/getAuthToken","label":"getAuthToken"},{"type":"doc","id":"api/functions/getColorByKey","label":"getColorByKey"},{"type":"doc","id":"api/functions/getSanitizedContent","label":"getSanitizedContent"},{"type":"doc","id":"api/functions/getSanitizedTasks","label":"getSanitizedTasks"},{"type":"doc","id":"api/functions/revokeAuthToken","label":"revokeAuthToken"}]}]}; module.exports = typedocSidebar.items; \ No newline at end of file From 42cb4947518b85006603a45b2985f024762df2c6 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 27 Mar 2025 13:11:04 +0100 Subject: [PATCH 3/5] feat: bump API version to v9.220 --- src/consts/endpoints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consts/endpoints.ts b/src/consts/endpoints.ts index 3788689..51e05af 100644 --- a/src/consts/endpoints.ts +++ b/src/consts/endpoints.ts @@ -3,7 +3,7 @@ const TODOIST_URI = 'https://todoist.com' // The API version is not configurable, to ensure // compatibility between the API and the client. -export const API_VERSION = 'v9.218' +export const API_VERSION = 'v9.220' export const API_BASE_URI = `/api/${API_VERSION}/` const API_AUTHORIZATION_BASE_URI = '/oauth/' From 0ee3fb05b41ba345f8c4043deb9d8c4429811808 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 27 Mar 2025 13:16:52 +0100 Subject: [PATCH 4/5] chore: bump version to 4.0.0-alpha.6 --- package-lock.json | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9d105cf..a206933 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@doist/todoist-api-typescript", - "version": "4.0.0-alpha.4", + "version": "4.0.0-alpha.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@doist/todoist-api-typescript", - "version": "4.0.0-alpha.4", + "version": "4.0.0-alpha.6", "license": "MIT", "dependencies": { "axios": "^1.0.0", diff --git a/package.json b/package.json index b81ae23..69f7bd4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@doist/todoist-api-typescript", - "version": "4.0.0-alpha.5", + "version": "4.0.0-alpha.6", "description": "A typescript wrapper for the Todoist REST API.", "author": "Doist developers", "repository": "git@github.com:doist/todoist-api-typescript.git", @@ -72,4 +72,4 @@ "!dist/**/*.test.js", "!dist/**/*.test.d.ts" ] -} +} \ No newline at end of file From fe2ad8b562b4439a2cece1bcaf2117c6eac1e1f3 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 27 Mar 2025 13:22:27 +0100 Subject: [PATCH 5/5] style: run prettier fix --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 69f7bd4..6ef77fc 100644 --- a/package.json +++ b/package.json @@ -72,4 +72,4 @@ "!dist/**/*.test.js", "!dist/**/*.test.d.ts" ] -} \ No newline at end of file +}