@mulmoclaude/core 1.3.0 → 1.4.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/README.md +49 -0
- package/assets/helps/google-calendar-collection.md +13 -2
- package/assets/helps/google.md +94 -0
- package/assets/helps/index.md +1 -0
- package/dist/google/calendar.d.ts +28 -0
- package/dist/google/collectionSync.d.ts +58 -4
- package/dist/google/index.cjs +159 -13
- package/dist/google/index.cjs.map +1 -1
- package/dist/google/index.d.ts +3 -3
- package/dist/google/index.js +150 -14
- package/dist/google/index.js.map +1 -1
- package/dist/google/tasks.d.ts +21 -0
- package/package.json +10 -1
package/dist/google/tasks.d.ts
CHANGED
|
@@ -26,10 +26,31 @@ export interface CompleteTaskInput {
|
|
|
26
26
|
taskId: string;
|
|
27
27
|
taskListId?: string;
|
|
28
28
|
}
|
|
29
|
+
export interface UpdateTaskInput {
|
|
30
|
+
taskId: string;
|
|
31
|
+
title?: string;
|
|
32
|
+
/** `""` clears the notes; omit to leave them untouched. */
|
|
33
|
+
notes?: string;
|
|
34
|
+
/** RFC3339. Same DATE-only caveat as `CreateTaskInput.due`. Google rejects
|
|
35
|
+
* `""`, so a due date can be changed but not removed through this call. */
|
|
36
|
+
due?: string;
|
|
37
|
+
taskListId?: string;
|
|
38
|
+
}
|
|
29
39
|
export declare const toTaskListSummary: (value: unknown) => TaskListSummary;
|
|
30
40
|
export declare const toTaskSummary: (value: unknown) => TaskSummary;
|
|
41
|
+
/** Resolve a declared taskListId to the one the API addresses. `||` (not `??`)
|
|
42
|
+
* so a blank string also falls back instead of building a malformed
|
|
43
|
+
* `/lists//tasks` URL — the same rule, and the same reason, as
|
|
44
|
+
* `canonicalCalendarId`. */
|
|
45
|
+
export declare const canonicalTaskListId: (taskListId: string | undefined) => string;
|
|
31
46
|
export declare function listTaskLists(accessToken: string): Promise<TaskListSummary[]>;
|
|
32
47
|
export declare function listTasks(accessToken: string, input?: ListTasksInput): Promise<TaskSummary[]>;
|
|
33
48
|
export declare function createTask(accessToken: string, input: CreateTaskInput): Promise<TaskSummary>;
|
|
49
|
+
/** PATCH body for a task edit — only the fields the caller supplied. As with
|
|
50
|
+
* events, `undefined` means "leave as is" and `""` means "clear it", so the
|
|
51
|
+
* two must stay distinct. `status` is deliberately absent: `completeTask`
|
|
52
|
+
* owns that transition, and two ways to set it would drift apart. */
|
|
53
|
+
export declare const buildTaskPatch: (input: UpdateTaskInput) => Record<string, unknown>;
|
|
54
|
+
export declare function updateTask(accessToken: string, input: UpdateTaskInput): Promise<TaskSummary>;
|
|
34
55
|
export declare function completeTask(accessToken: string, input: CompleteTaskInput): Promise<TaskSummary>;
|
|
35
56
|
export declare function deleteTask(accessToken: string, input: CompleteTaskInput): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mulmoclaude/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Shared server-side core for MulmoClaude and MulmoTerminal — the always-shipped-together subsystems consolidated behind subpath exports so the two hosts can't drift. Server-only except the browser-safe ./artifacts, ./whisper/client, ./workspace-setup/slug, ./translation/client, ./remote-view, ./remote-host and ./plugin-vue entries. All host specifics are injected.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/receptron/mulmoclaude.git",
|
|
8
|
+
"directory": "packages/core"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://receptron.github.io/mulmoterminal/",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/receptron/mulmoclaude/issues"
|
|
13
|
+
},
|
|
5
14
|
"type": "module",
|
|
6
15
|
"exports": {
|
|
7
16
|
"./utils": {
|