@gjermundgaraba/wtf-api 0.2.1 → 0.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/dist/index.d.ts CHANGED
@@ -55,13 +55,13 @@ export declare const actions: readonly [import("@gjermundgaraba/effect-actions/A
55
55
  }>, readonly (typeof import("./shared.ts").NotFound | typeof import("./shared.ts").StorageError)[], false, typeof CurrentPrincipal>, import("@gjermundgaraba/effect-actions/Action").Action<"tasks_list", import("effect/Schema").Struct<{
56
56
  readonly areaId: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "AreaId">>;
57
57
  readonly statuses: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>>;
58
- readonly committed: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
58
+ readonly focus: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
59
59
  readonly archived: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
60
60
  }>, import("effect/Schema").$Array<import("effect/Schema").Struct<{
61
61
  readonly title: import("effect/Schema").String;
62
62
  readonly description: import("effect/Schema").String;
63
63
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
64
- readonly committed: import("effect/Schema").Boolean;
64
+ readonly focus: import("effect/Schema").Boolean;
65
65
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
66
66
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
67
67
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -78,7 +78,7 @@ export declare const actions: readonly [import("@gjermundgaraba/effect-actions/A
78
78
  readonly title: import("effect/Schema").String;
79
79
  readonly description: import("effect/Schema").String;
80
80
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
81
- readonly committed: import("effect/Schema").Boolean;
81
+ readonly focus: import("effect/Schema").Boolean;
82
82
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
83
83
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
84
84
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -95,7 +95,7 @@ export declare const actions: readonly [import("@gjermundgaraba/effect-actions/A
95
95
  readonly beforeId: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "TaskId">>>;
96
96
  readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
97
97
  readonly status: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>;
98
- readonly committed: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
98
+ readonly focus: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
99
99
  readonly wakeOn: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>>;
100
100
  readonly dueOn: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>>;
101
101
  readonly owedTo: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -104,7 +104,7 @@ export declare const actions: readonly [import("@gjermundgaraba/effect-actions/A
104
104
  readonly title: import("effect/Schema").String;
105
105
  readonly description: import("effect/Schema").String;
106
106
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
107
- readonly committed: import("effect/Schema").Boolean;
107
+ readonly focus: import("effect/Schema").Boolean;
108
108
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
109
109
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
110
110
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -122,7 +122,7 @@ export declare const actions: readonly [import("@gjermundgaraba/effect-actions/A
122
122
  readonly title: import("effect/Schema").optionalKey<import("effect/Schema").String>;
123
123
  readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
124
124
  readonly status: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>;
125
- readonly committed: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
125
+ readonly focus: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
126
126
  readonly wakeOn: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>>;
127
127
  readonly dueOn: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>>;
128
128
  readonly owedTo: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -131,7 +131,7 @@ export declare const actions: readonly [import("@gjermundgaraba/effect-actions/A
131
131
  readonly title: import("effect/Schema").String;
132
132
  readonly description: import("effect/Schema").String;
133
133
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
134
- readonly committed: import("effect/Schema").Boolean;
134
+ readonly focus: import("effect/Schema").Boolean;
135
135
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
136
136
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
137
137
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -148,7 +148,7 @@ export declare const actions: readonly [import("@gjermundgaraba/effect-actions/A
148
148
  readonly title: import("effect/Schema").String;
149
149
  readonly description: import("effect/Schema").String;
150
150
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
151
- readonly committed: import("effect/Schema").Boolean;
151
+ readonly focus: import("effect/Schema").Boolean;
152
152
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
153
153
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
154
154
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -165,7 +165,7 @@ export declare const actions: readonly [import("@gjermundgaraba/effect-actions/A
165
165
  readonly title: import("effect/Schema").String;
166
166
  readonly description: import("effect/Schema").String;
167
167
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
168
- readonly committed: import("effect/Schema").Boolean;
168
+ readonly focus: import("effect/Schema").Boolean;
169
169
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
170
170
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
171
171
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -231,13 +231,13 @@ export declare const Http: ActionHttp.Binding<readonly [import("@gjermundgaraba/
231
231
  }>, readonly (typeof import("./shared.ts").NotFound | typeof import("./shared.ts").StorageError)[], false, typeof CurrentPrincipal>, import("@gjermundgaraba/effect-actions/Action").Action<"tasks_list", import("effect/Schema").Struct<{
232
232
  readonly areaId: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "AreaId">>;
233
233
  readonly statuses: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>>;
234
- readonly committed: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
234
+ readonly focus: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
235
235
  readonly archived: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
236
236
  }>, import("effect/Schema").$Array<import("effect/Schema").Struct<{
237
237
  readonly title: import("effect/Schema").String;
238
238
  readonly description: import("effect/Schema").String;
239
239
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
240
- readonly committed: import("effect/Schema").Boolean;
240
+ readonly focus: import("effect/Schema").Boolean;
241
241
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
242
242
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
243
243
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -254,7 +254,7 @@ export declare const Http: ActionHttp.Binding<readonly [import("@gjermundgaraba/
254
254
  readonly title: import("effect/Schema").String;
255
255
  readonly description: import("effect/Schema").String;
256
256
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
257
- readonly committed: import("effect/Schema").Boolean;
257
+ readonly focus: import("effect/Schema").Boolean;
258
258
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
259
259
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
260
260
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -271,7 +271,7 @@ export declare const Http: ActionHttp.Binding<readonly [import("@gjermundgaraba/
271
271
  readonly beforeId: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "TaskId">>>;
272
272
  readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
273
273
  readonly status: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>;
274
- readonly committed: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
274
+ readonly focus: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
275
275
  readonly wakeOn: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>>;
276
276
  readonly dueOn: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>>;
277
277
  readonly owedTo: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -280,7 +280,7 @@ export declare const Http: ActionHttp.Binding<readonly [import("@gjermundgaraba/
280
280
  readonly title: import("effect/Schema").String;
281
281
  readonly description: import("effect/Schema").String;
282
282
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
283
- readonly committed: import("effect/Schema").Boolean;
283
+ readonly focus: import("effect/Schema").Boolean;
284
284
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
285
285
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
286
286
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -298,7 +298,7 @@ export declare const Http: ActionHttp.Binding<readonly [import("@gjermundgaraba/
298
298
  readonly title: import("effect/Schema").optionalKey<import("effect/Schema").String>;
299
299
  readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
300
300
  readonly status: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>;
301
- readonly committed: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
301
+ readonly focus: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
302
302
  readonly wakeOn: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>>;
303
303
  readonly dueOn: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>>;
304
304
  readonly owedTo: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -307,7 +307,7 @@ export declare const Http: ActionHttp.Binding<readonly [import("@gjermundgaraba/
307
307
  readonly title: import("effect/Schema").String;
308
308
  readonly description: import("effect/Schema").String;
309
309
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
310
- readonly committed: import("effect/Schema").Boolean;
310
+ readonly focus: import("effect/Schema").Boolean;
311
311
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
312
312
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
313
313
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -324,7 +324,7 @@ export declare const Http: ActionHttp.Binding<readonly [import("@gjermundgaraba/
324
324
  readonly title: import("effect/Schema").String;
325
325
  readonly description: import("effect/Schema").String;
326
326
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
327
- readonly committed: import("effect/Schema").Boolean;
327
+ readonly focus: import("effect/Schema").Boolean;
328
328
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
329
329
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
330
330
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -341,7 +341,7 @@ export declare const Http: ActionHttp.Binding<readonly [import("@gjermundgaraba/
341
341
  readonly title: import("effect/Schema").String;
342
342
  readonly description: import("effect/Schema").String;
343
343
  readonly status: import("effect/Schema").Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
344
- readonly committed: import("effect/Schema").Boolean;
344
+ readonly focus: import("effect/Schema").Boolean;
345
345
  readonly wakeOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
346
346
  readonly dueOn: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "CalendarDate">>;
347
347
  readonly owedTo: import("effect/Schema").NullOr<import("effect/Schema").String>;
package/dist/tasks.d.ts CHANGED
@@ -8,7 +8,7 @@ export declare const Task: Schema.Struct<{
8
8
  readonly title: Schema.String;
9
9
  readonly description: Schema.String;
10
10
  readonly status: Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
11
- readonly committed: Schema.Boolean;
11
+ readonly focus: Schema.Boolean;
12
12
  readonly wakeOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
13
13
  readonly dueOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
14
14
  readonly owedTo: Schema.NullOr<Schema.String>;
@@ -27,7 +27,7 @@ export declare const TaskCreate: Schema.Struct<{
27
27
  readonly beforeId: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "TaskId">>>;
28
28
  readonly description: Schema.optionalKey<Schema.String>;
29
29
  readonly status: Schema.optionalKey<Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>;
30
- readonly committed: Schema.optionalKey<Schema.Boolean>;
30
+ readonly focus: Schema.optionalKey<Schema.Boolean>;
31
31
  readonly wakeOn: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>>;
32
32
  readonly dueOn: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>>;
33
33
  readonly owedTo: Schema.optionalKey<Schema.NullOr<Schema.String>>;
@@ -42,7 +42,7 @@ export declare const TaskUpdate: Schema.Struct<{
42
42
  readonly title: Schema.optionalKey<Schema.String>;
43
43
  readonly description: Schema.optionalKey<Schema.String>;
44
44
  readonly status: Schema.optionalKey<Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>;
45
- readonly committed: Schema.optionalKey<Schema.Boolean>;
45
+ readonly focus: Schema.optionalKey<Schema.Boolean>;
46
46
  readonly wakeOn: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>>;
47
47
  readonly dueOn: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>>;
48
48
  readonly owedTo: Schema.optionalKey<Schema.NullOr<Schema.String>>;
@@ -53,7 +53,7 @@ export interface TaskUpdate extends Schema.Schema.Type<typeof TaskUpdate> {
53
53
  export declare const TaskList: Schema.Struct<{
54
54
  readonly areaId: Schema.optionalKey<Schema.brand<Schema.String, "AreaId">>;
55
55
  readonly statuses: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>>;
56
- readonly committed: Schema.optionalKey<Schema.Boolean>;
56
+ readonly focus: Schema.optionalKey<Schema.Boolean>;
57
57
  readonly archived: Schema.optionalKey<Schema.Boolean>;
58
58
  }>;
59
59
  export interface TaskList extends Schema.Schema.Type<typeof TaskList> {
@@ -66,13 +66,13 @@ export interface TaskRef extends Schema.Schema.Type<typeof TaskRef> {
66
66
  export declare const TaskActions: readonly [Action.Action<"tasks_list", Schema.Struct<{
67
67
  readonly areaId: Schema.optionalKey<Schema.brand<Schema.String, "AreaId">>;
68
68
  readonly statuses: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>>;
69
- readonly committed: Schema.optionalKey<Schema.Boolean>;
69
+ readonly focus: Schema.optionalKey<Schema.Boolean>;
70
70
  readonly archived: Schema.optionalKey<Schema.Boolean>;
71
71
  }>, Schema.$Array<Schema.Struct<{
72
72
  readonly title: Schema.String;
73
73
  readonly description: Schema.String;
74
74
  readonly status: Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
75
- readonly committed: Schema.Boolean;
75
+ readonly focus: Schema.Boolean;
76
76
  readonly wakeOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
77
77
  readonly dueOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
78
78
  readonly owedTo: Schema.NullOr<Schema.String>;
@@ -89,7 +89,7 @@ export declare const TaskActions: readonly [Action.Action<"tasks_list", Schema.S
89
89
  readonly title: Schema.String;
90
90
  readonly description: Schema.String;
91
91
  readonly status: Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
92
- readonly committed: Schema.Boolean;
92
+ readonly focus: Schema.Boolean;
93
93
  readonly wakeOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
94
94
  readonly dueOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
95
95
  readonly owedTo: Schema.NullOr<Schema.String>;
@@ -106,7 +106,7 @@ export declare const TaskActions: readonly [Action.Action<"tasks_list", Schema.S
106
106
  readonly beforeId: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "TaskId">>>;
107
107
  readonly description: Schema.optionalKey<Schema.String>;
108
108
  readonly status: Schema.optionalKey<Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>;
109
- readonly committed: Schema.optionalKey<Schema.Boolean>;
109
+ readonly focus: Schema.optionalKey<Schema.Boolean>;
110
110
  readonly wakeOn: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>>;
111
111
  readonly dueOn: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>>;
112
112
  readonly owedTo: Schema.optionalKey<Schema.NullOr<Schema.String>>;
@@ -115,7 +115,7 @@ export declare const TaskActions: readonly [Action.Action<"tasks_list", Schema.S
115
115
  readonly title: Schema.String;
116
116
  readonly description: Schema.String;
117
117
  readonly status: Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
118
- readonly committed: Schema.Boolean;
118
+ readonly focus: Schema.Boolean;
119
119
  readonly wakeOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
120
120
  readonly dueOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
121
121
  readonly owedTo: Schema.NullOr<Schema.String>;
@@ -133,7 +133,7 @@ export declare const TaskActions: readonly [Action.Action<"tasks_list", Schema.S
133
133
  readonly title: Schema.optionalKey<Schema.String>;
134
134
  readonly description: Schema.optionalKey<Schema.String>;
135
135
  readonly status: Schema.optionalKey<Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>>;
136
- readonly committed: Schema.optionalKey<Schema.Boolean>;
136
+ readonly focus: Schema.optionalKey<Schema.Boolean>;
137
137
  readonly wakeOn: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>>;
138
138
  readonly dueOn: Schema.optionalKey<Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>>;
139
139
  readonly owedTo: Schema.optionalKey<Schema.NullOr<Schema.String>>;
@@ -142,7 +142,7 @@ export declare const TaskActions: readonly [Action.Action<"tasks_list", Schema.S
142
142
  readonly title: Schema.String;
143
143
  readonly description: Schema.String;
144
144
  readonly status: Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
145
- readonly committed: Schema.Boolean;
145
+ readonly focus: Schema.Boolean;
146
146
  readonly wakeOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
147
147
  readonly dueOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
148
148
  readonly owedTo: Schema.NullOr<Schema.String>;
@@ -159,7 +159,7 @@ export declare const TaskActions: readonly [Action.Action<"tasks_list", Schema.S
159
159
  readonly title: Schema.String;
160
160
  readonly description: Schema.String;
161
161
  readonly status: Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
162
- readonly committed: Schema.Boolean;
162
+ readonly focus: Schema.Boolean;
163
163
  readonly wakeOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
164
164
  readonly dueOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
165
165
  readonly owedTo: Schema.NullOr<Schema.String>;
@@ -176,7 +176,7 @@ export declare const TaskActions: readonly [Action.Action<"tasks_list", Schema.S
176
176
  readonly title: Schema.String;
177
177
  readonly description: Schema.String;
178
178
  readonly status: Schema.Literals<readonly ["inbox", "backlog", "todo", "in_progress", "done", "cancelled"]>;
179
- readonly committed: Schema.Boolean;
179
+ readonly focus: Schema.Boolean;
180
180
  readonly wakeOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
181
181
  readonly dueOn: Schema.NullOr<Schema.brand<Schema.String, "CalendarDate">>;
182
182
  readonly owedTo: Schema.NullOr<Schema.String>;
package/dist/tasks.js CHANGED
@@ -14,7 +14,7 @@ const content = {
14
14
  title: Schema.String,
15
15
  description: Schema.String,
16
16
  status: TaskStatus,
17
- committed: Schema.Boolean,
17
+ focus: Schema.Boolean,
18
18
  wakeOn: Schema.NullOr(CalendarDate),
19
19
  dueOn: Schema.NullOr(CalendarDate),
20
20
  owedTo: Schema.NullOr(Schema.String),
@@ -38,7 +38,7 @@ const edits = {
38
38
  title: Schema.optionalKey(Title),
39
39
  description: Schema.optionalKey(Description),
40
40
  status: Schema.optionalKey(content.status),
41
- committed: Schema.optionalKey(content.committed),
41
+ focus: Schema.optionalKey(content.focus),
42
42
  wakeOn: Schema.optionalKey(content.wakeOn),
43
43
  dueOn: Schema.optionalKey(content.dueOn),
44
44
  owedTo: Schema.optionalKey(Schema.NullOr(Schema.String.check(Schema.isBetweenCodePoints(0, 256)))),
@@ -48,7 +48,7 @@ export const TaskUpdate = Schema.Struct({ id: TaskId, ...edits, ...placement });
48
48
  export const TaskList = Schema.Struct({
49
49
  areaId: Schema.optionalKey(AreaId),
50
50
  statuses: Schema.optionalKey(Schema.Array(TaskStatus)),
51
- committed: Schema.optionalKey(Schema.Boolean),
51
+ focus: Schema.optionalKey(Schema.Boolean),
52
52
  archived: Schema.optionalKey(Schema.Boolean),
53
53
  });
54
54
  export const TaskRef = Schema.Struct({ id: TaskId });
@@ -56,7 +56,7 @@ export const TaskActions = [
56
56
  Action.make("tasks_list", {
57
57
  caller: CurrentPrincipal,
58
58
  error: [StorageError],
59
- description: "List tasks in area and outline order, optionally filtering area, status, or commitment. Archived tasks are left out unless archived is true, which lists only archived tasks.",
59
+ description: "List tasks in area and outline order, optionally filtering area, status, or focus. Archived tasks are left out unless archived is true, which lists only archived tasks.",
60
60
  readOnly: true,
61
61
  input: TaskList,
62
62
  success: Schema.Array(Task),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjermundgaraba/wtf-api",
3
- "version": "0.2.1",
3
+ "version": "0.4.0",
4
4
  "description": "The wtf wire contract: the area and task actions, their inputs, records and errors, for a typed HTTP or MCP client.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,15 +23,15 @@
23
23
  "access": "public"
24
24
  },
25
25
  "devDependencies": {
26
- "@gjermundgaraba/clankerauth-sdk": "0.27.0",
27
- "@gjermundgaraba/effect-actions": "0.19.0",
28
- "effect": "4.0.5",
26
+ "@gjermundgaraba/clankerauth-sdk": "0.29.0",
27
+ "@gjermundgaraba/effect-actions": "0.20.0",
28
+ "effect": "4.0.6",
29
29
  "typescript": "7.0.2",
30
- "vite-plus": "1.3.0"
30
+ "vite-plus": "1.4.0"
31
31
  },
32
32
  "peerDependencies": {
33
- "@gjermundgaraba/clankerauth-sdk": "^0.27.0",
34
- "@gjermundgaraba/effect-actions": "^0.19.0",
33
+ "@gjermundgaraba/clankerauth-sdk": "^0.29.0",
34
+ "@gjermundgaraba/effect-actions": "^0.20.0",
35
35
  "effect": "~4.0.4"
36
36
  },
37
37
  "engines": {