@wspc/cli 0.0.12 → 0.0.13
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/cli.js +154 -42
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +51 -14
package/dist/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ type RecurrenceRule = {
|
|
|
30
30
|
* Project id shared by the recurrence rule, its template todo, and materialized instances.
|
|
31
31
|
*/
|
|
32
32
|
project_id: string;
|
|
33
|
+
type_id?: string;
|
|
33
34
|
rrule: string;
|
|
34
35
|
dtstart: string;
|
|
35
36
|
version: number;
|
|
@@ -51,7 +52,7 @@ type CreateTodoBody = {
|
|
|
51
52
|
*/
|
|
52
53
|
description?: string;
|
|
53
54
|
/**
|
|
54
|
-
* Parent todo ID (`tod_<ULID>`) to attach this todo as a child under another todo. Omit or pass `null` to create a root-level todo. Nesting is limited to one level; attempting to set a child todo as a parent will trigger `PARENT_IS_CHILD`.
|
|
55
|
+
* Parent todo ID (`tod_<ULID>`) to attach this todo as a child under another todo. Omit or pass `null` to create a root-level todo. Nesting is limited to one level; attempting to set a child todo as a parent will trigger `PARENT_IS_CHILD`. To make a subtask appear on every occurrence of a recurring rule, set this to that rule's template todo id (the template id returned when the rule is created); the server re-materializes future occurrences so each carries the subtask.
|
|
55
56
|
*/
|
|
56
57
|
parent_id?: string | null;
|
|
57
58
|
/**
|
|
@@ -584,9 +585,9 @@ interface TDataShape {
|
|
|
584
585
|
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
585
586
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
586
587
|
|
|
587
|
-
declare const VERSION = "0.0.
|
|
588
|
-
declare const SPEC_SHA = "
|
|
589
|
-
declare const SPEC_FETCHED_AT = "2026-06-
|
|
588
|
+
declare const VERSION = "0.0.13";
|
|
589
|
+
declare const SPEC_SHA = "7842b7a9";
|
|
590
|
+
declare const SPEC_FETCHED_AT = "2026-06-09T08:10:52.164Z";
|
|
590
591
|
declare const API_BASE = "https://api.wspc.ai";
|
|
591
592
|
|
|
592
593
|
type WspcClientOptions = {
|
package/dist/index.js
CHANGED
|
@@ -902,9 +902,9 @@ var todoUpdate = (options) => (options.client ?? client).patch({
|
|
|
902
902
|
});
|
|
903
903
|
|
|
904
904
|
// src/version.ts
|
|
905
|
-
var VERSION = "0.0.
|
|
906
|
-
var SPEC_SHA = "
|
|
907
|
-
var SPEC_FETCHED_AT = "2026-06-
|
|
905
|
+
var VERSION = "0.0.13";
|
|
906
|
+
var SPEC_SHA = "7842b7a9";
|
|
907
|
+
var SPEC_FETCHED_AT = "2026-06-09T08:10:52.164Z";
|
|
908
908
|
var API_BASE = "https://api.wspc.ai";
|
|
909
909
|
|
|
910
910
|
// src/index.ts
|