@imenam/mcp-organizer 1.0.20 → 1.0.22
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 +110 -32
- package/dist/shared/logic/attachments.d.ts +28 -0
- package/dist/shared/logic/attachments.js +52 -0
- package/dist/shared/logic/documents.d.ts +20 -0
- package/dist/shared/logic/documents.js +33 -0
- package/dist/shared/logic/line-diff.d.ts +13 -0
- package/dist/shared/logic/line-diff.js +66 -0
- package/dist/shared/logic/notes.d.ts +12 -0
- package/dist/shared/logic/notes.js +23 -0
- package/dist/shared/logic/timer.d.ts +69 -0
- package/dist/shared/logic/timer.js +87 -0
- package/dist/shared/schemas/agent-api.schema.d.ts +10 -29
- package/dist/shared/schemas/agent-api.schema.js +4 -15
- package/dist/shared/schemas/agent-tools.schema.d.ts +648 -2
- package/dist/shared/schemas/agent-tools.schema.js +158 -8
- package/dist/shared/schemas/api.schema.d.ts +7 -0
- package/dist/shared/schemas/api.schema.js +6 -0
- package/dist/shared/schemas/documents-api.schema.d.ts +47 -0
- package/dist/shared/schemas/documents-api.schema.js +36 -0
- package/dist/shared/schemas/entities.schema.d.ts +107 -54
- package/dist/shared/schemas/entities.schema.js +81 -10
- package/dist/shared/schemas/enums.schema.d.ts +19 -3
- package/dist/shared/schemas/enums.schema.js +8 -2
- package/dist/shared/schemas/gui-api.schema.d.ts +1 -0
- package/dist/shared/schemas/gui-api.schema.js +2 -0
- package/dist/shared/schemas/history-api.schema.d.ts +961 -0
- package/dist/shared/schemas/history-api.schema.js +104 -0
- package/dist/shared/schemas/notes-api.schema.d.ts +54 -0
- package/dist/shared/schemas/notes-api.schema.js +38 -0
- package/dist/shared/schemas/notifications-api.schema.d.ts +12 -0
- package/dist/shared/schemas/notifications-api.schema.js +4 -1
- package/dist/shared/schemas/tasks-api.schema.d.ts +39 -0
- package/dist/shared/schemas/tasks-api.schema.js +5 -0
- package/dist/shared/schemas/timers-api.schema.d.ts +119 -0
- package/dist/shared/schemas/timers-api.schema.js +44 -0
- package/dist/shared/schemas/views-api.schema.d.ts +16 -0
- package/dist/shared/schemas/views-api.schema.js +4 -2
- package/dist/src/agent-api/attachments.d.ts +2 -0
- package/dist/src/agent-api/attachments.js +96 -0
- package/dist/src/agent-api/documents.d.ts +3 -0
- package/dist/src/agent-api/documents.js +42 -0
- package/dist/src/agent-api/files.d.ts +35 -0
- package/dist/src/agent-api/files.js +86 -0
- package/dist/src/agent-api/history.d.ts +3 -0
- package/dist/src/agent-api/history.js +103 -0
- package/dist/src/agent-api/notes.d.ts +3 -0
- package/dist/src/agent-api/notes.js +39 -0
- package/dist/src/agent-api/requests.js +2 -1
- package/dist/src/agent-api/router.d.ts +2 -2
- package/dist/src/agent-api/router.js +9 -4
- package/dist/src/agent-api/tasks.js +13 -5
- package/dist/src/agent-api/timers.d.ts +2 -0
- package/dist/src/agent-api/timers.js +170 -0
- package/dist/src/agent-api/types.d.ts +7 -2
- package/dist/src/agent-api/views.js +15 -30
- package/dist/src/cli/backup.js +3 -3
- package/dist/src/core/accounts.d.ts +12 -5
- package/dist/src/core/accounts.js +28 -10
- package/dist/src/core/agent-files.d.ts +41 -0
- package/dist/src/core/agent-files.js +102 -0
- package/dist/src/core/agent.d.ts +29 -3
- package/dist/src/core/agent.js +129 -1
- package/dist/src/core/attachments.d.ts +6 -3
- package/dist/src/core/attachments.js +9 -4
- package/dist/src/core/board-views.js +4 -4
- package/dist/src/core/document-text.d.ts +18 -0
- package/dist/src/core/document-text.js +119 -0
- package/dist/src/core/documents.d.ts +22 -0
- package/dist/src/core/documents.js +167 -0
- package/dist/src/core/history-events.d.ts +34 -0
- package/dist/src/core/history-events.js +236 -0
- package/dist/src/core/history.d.ts +3 -1
- package/dist/src/core/history.js +59 -12
- package/dist/src/core/migrations.js +153 -0
- package/dist/src/core/notes.d.ts +23 -0
- package/dist/src/core/notes.js +78 -0
- package/dist/src/core/notifications.d.ts +48 -5
- package/dist/src/core/notifications.js +209 -33
- package/dist/src/core/password-reset.d.ts +37 -0
- package/dist/src/core/password-reset.js +56 -0
- package/dist/src/core/requests.d.ts +13 -7
- package/dist/src/core/requests.js +26 -14
- package/dist/src/core/snapshots.d.ts +3 -3
- package/dist/src/core/snapshots.js +5 -1
- package/dist/src/core/space-history.d.ts +18 -0
- package/dist/src/core/space-history.js +86 -0
- package/dist/src/core/spaces.d.ts +1 -1
- package/dist/src/core/spaces.js +4 -4
- package/dist/src/core/store.d.ts +154 -11
- package/dist/src/core/store.js +479 -52
- package/dist/src/core/task-history.d.ts +9 -5
- package/dist/src/core/task-history.js +17 -25
- package/dist/src/core/tasks.d.ts +2 -2
- package/dist/src/core/tasks.js +13 -2
- package/dist/src/core/timers.d.ts +33 -0
- package/dist/src/core/timers.js +101 -0
- package/dist/src/core/versions.d.ts +22 -0
- package/dist/src/core/versions.js +106 -0
- package/dist/src/gui-api.d.ts +4 -1
- package/dist/src/gui-api.js +87 -8
- package/dist/src/mcp/client.d.ts +7 -4
- package/dist/src/mcp/client.js +31 -4
- package/dist/src/mcp/start.d.ts +1 -1
- package/dist/src/mcp/start.js +14 -9
- package/dist/src/mcp/tools.d.ts +11 -0
- package/dist/src/mcp/tools.js +182 -5
- package/dist/src/mcp/upload.d.ts +22 -0
- package/dist/src/mcp/upload.js +79 -0
- package/dist/src/server/app.d.ts +4 -2
- package/dist/src/server/app.js +58 -8
- package/dist/src/server/login-limiter.d.ts +27 -1
- package/dist/src/server/login-limiter.js +31 -1
- package/dist/src/server/start.js +1 -0
- package/gui/dist/assets/index-C1f7hOcM.js +104 -0
- package/gui/dist/assets/index-CfMiwPSL.css +1 -0
- package/gui/dist/index.html +2 -2
- package/package.json +3 -1
- package/gui/dist/assets/index-9c9BlfUi.js +0 -99
- package/gui/dist/assets/index-DH23A5aa.css +0 -1
|
@@ -84,6 +84,33 @@ export declare const SearchTasksQuerySchema: z.ZodObject<{
|
|
|
84
84
|
assignee: z.ZodOptional<z.ZodString>;
|
|
85
85
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
86
86
|
}, z.core.$strict>;
|
|
87
|
+
/** `GET history` : événements d'une tâche ou de l'espace, filtrés par auteur et catégorie, paginés par `before`. */
|
|
88
|
+
export declare const GetHistoryQuerySchema: z.ZodObject<{
|
|
89
|
+
task: z.ZodOptional<z.ZodString>;
|
|
90
|
+
author: z.ZodOptional<z.ZodString>;
|
|
91
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
document: "document";
|
|
93
|
+
idea: "idea";
|
|
94
|
+
member: "member";
|
|
95
|
+
note: "note";
|
|
96
|
+
task: "task";
|
|
97
|
+
}>>;
|
|
98
|
+
before: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
99
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
/** `GET notes` : recherche par mots dans le titre et le contenu des notes. */
|
|
102
|
+
export declare const SearchNotesQuerySchema: z.ZodObject<{
|
|
103
|
+
query: z.ZodOptional<z.ZodString>;
|
|
104
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
105
|
+
}, z.core.$strict>;
|
|
106
|
+
/** `GET documents/:ref` : partie du texte à lire, à partir de 1. */
|
|
107
|
+
export declare const GetDocumentQuerySchema: z.ZodObject<{
|
|
108
|
+
part: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
/** `GET attachments/:id` : partie du texte à lire, à partir de 1. */
|
|
111
|
+
export declare const GetAttachmentQuerySchema: z.ZodObject<{
|
|
112
|
+
part: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
113
|
+
}, z.core.$strict>;
|
|
87
114
|
/** `GET tasks/:ref` et `GET context` : sans paramètre. */
|
|
88
115
|
export declare const NoQuerySchema: z.ZodObject<{}, z.core.$strict>;
|
|
89
116
|
export declare const CreateTaskBodySchema: z.ZodObject<{
|
|
@@ -254,6 +281,23 @@ export declare const AddCommentBodySchema: z.ZodObject<{
|
|
|
254
281
|
request_id: z.ZodOptional<z.ZodString>;
|
|
255
282
|
body: z.ZodString;
|
|
256
283
|
}, z.core.$strict>;
|
|
284
|
+
/**
|
|
285
|
+
* `POST tasks/:ref/attachments` : formulaire multipart lu par le serveur web,
|
|
286
|
+
* avec le fichier en octets et les autres champs en texte.
|
|
287
|
+
*/
|
|
288
|
+
export declare const AddAttachmentBodySchema: z.ZodObject<{
|
|
289
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
290
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
291
|
+
append_to_description: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodEnum<{
|
|
292
|
+
false: "false";
|
|
293
|
+
true: "true";
|
|
294
|
+
}>, z.ZodTransform<boolean, "false" | "true">>]>>>;
|
|
295
|
+
file: z.ZodObject<{
|
|
296
|
+
filename: z.ZodString;
|
|
297
|
+
mime: z.ZodString;
|
|
298
|
+
content: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
299
|
+
}, z.core.$strip>;
|
|
300
|
+
}, z.core.$strict>;
|
|
257
301
|
export declare const CreateIdeaBodySchema: z.ZodObject<{
|
|
258
302
|
request_id: z.ZodOptional<z.ZodString>;
|
|
259
303
|
text: z.ZodString;
|
|
@@ -315,6 +359,10 @@ export declare const CreateViewBodySchema: z.ZodObject<{
|
|
|
315
359
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
316
360
|
unassigned: z.ZodOptional<z.ZodBoolean>;
|
|
317
361
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
362
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
363
|
+
standard: "standard";
|
|
364
|
+
test: "test";
|
|
365
|
+
}>>>;
|
|
318
366
|
request_id: z.ZodOptional<z.ZodString>;
|
|
319
367
|
name: z.ZodString;
|
|
320
368
|
}, z.core.$strict>;
|
|
@@ -351,15 +399,55 @@ export declare const UpdateViewBodySchema: z.ZodObject<{
|
|
|
351
399
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
352
400
|
unassigned: z.ZodOptional<z.ZodBoolean>;
|
|
353
401
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
402
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
403
|
+
standard: "standard";
|
|
404
|
+
test: "test";
|
|
405
|
+
}>>>;
|
|
354
406
|
request_id: z.ZodOptional<z.ZodString>;
|
|
355
407
|
}, z.core.$strict>;
|
|
356
408
|
export declare const DeleteViewBodySchema: z.ZodObject<{
|
|
357
409
|
request_id: z.ZodOptional<z.ZodString>;
|
|
358
410
|
}, z.core.$strict>;
|
|
411
|
+
/** `POST tasks/:task/timer` : démarre le chrono de l'auteur de la demande ; réglages pomodoro absents : ceux de ses préférences. */
|
|
412
|
+
export declare const StartTimerBodySchema: z.ZodObject<{
|
|
413
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
414
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
415
|
+
free: "free";
|
|
416
|
+
pomodoro: "pomodoro";
|
|
417
|
+
}>>;
|
|
418
|
+
work_minutes: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
short_break_minutes: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
long_break_minutes: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
cycles: z.ZodOptional<z.ZodNumber>;
|
|
422
|
+
}, z.core.$strict>;
|
|
423
|
+
/** `POST tasks/:task/timer/stop` : arrête le chrono de l'auteur de la demande. */
|
|
424
|
+
export declare const StopTimerBodySchema: z.ZodObject<{
|
|
425
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
426
|
+
}, z.core.$strict>;
|
|
359
427
|
/** Enveloppe de toute réponse réussie : texte pour l'agent et données structurées. */
|
|
428
|
+
/** Image d'une réponse de l'API agent, relayée au client MCP comme bloc de contenu image. */
|
|
429
|
+
export declare const AgentImageContentSchema: z.ZodObject<{
|
|
430
|
+
data: z.ZodString;
|
|
431
|
+
mimeType: z.ZodEnum<{
|
|
432
|
+
"image/gif": "image/gif";
|
|
433
|
+
"image/jpeg": "image/jpeg";
|
|
434
|
+
"image/png": "image/png";
|
|
435
|
+
"image/webp": "image/webp";
|
|
436
|
+
}>;
|
|
437
|
+
}, z.core.$strip>;
|
|
438
|
+
export type AgentImageContent = z.infer<typeof AgentImageContentSchema>;
|
|
360
439
|
export declare const AgentEnvelopeSchema: z.ZodObject<{
|
|
361
440
|
text: z.ZodString;
|
|
362
441
|
data: z.ZodUnknown;
|
|
442
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
443
|
+
data: z.ZodString;
|
|
444
|
+
mimeType: z.ZodEnum<{
|
|
445
|
+
"image/gif": "image/gif";
|
|
446
|
+
"image/jpeg": "image/jpeg";
|
|
447
|
+
"image/png": "image/png";
|
|
448
|
+
"image/webp": "image/webp";
|
|
449
|
+
}>;
|
|
450
|
+
}, z.core.$strip>>>;
|
|
363
451
|
}, z.core.$strip>;
|
|
364
452
|
export type AgentEnvelope = z.infer<typeof AgentEnvelopeSchema>;
|
|
365
453
|
/** Réponse d'erreur : le message dit à l'agent quoi faire. */
|
|
@@ -521,6 +609,21 @@ export declare const ListRequestsDataSchema: z.ZodObject<{
|
|
|
521
609
|
parentRequestId: z.ZodNullable<z.ZodString>;
|
|
522
610
|
}, z.core.$strip>>;
|
|
523
611
|
}, z.core.$strip>;
|
|
612
|
+
/** Document de référence d'un espace tel que l'agent le voit. */
|
|
613
|
+
export declare const AgentDocumentSchema: z.ZodObject<{
|
|
614
|
+
id: z.ZodString;
|
|
615
|
+
filename: z.ZodString;
|
|
616
|
+
description: z.ZodString;
|
|
617
|
+
format: z.ZodString;
|
|
618
|
+
mime: z.ZodString;
|
|
619
|
+
size: z.ZodNumber;
|
|
620
|
+
version: z.ZodNumber;
|
|
621
|
+
uploadedBy: z.ZodString;
|
|
622
|
+
updatedBy: z.ZodString;
|
|
623
|
+
createdAt: z.ZodISODateTime;
|
|
624
|
+
updatedAt: z.ZodISODateTime;
|
|
625
|
+
}, z.core.$strip>;
|
|
626
|
+
export type AgentDocument = z.infer<typeof AgentDocumentSchema>;
|
|
524
627
|
export declare const ClaimRequestDataSchema: z.ZodObject<{
|
|
525
628
|
request: z.ZodObject<{
|
|
526
629
|
id: z.ZodString;
|
|
@@ -748,6 +851,19 @@ export declare const ClaimRequestDataSchema: z.ZodObject<{
|
|
|
748
851
|
promotedTaskKey: z.ZodNullable<z.ZodString>;
|
|
749
852
|
createdAt: z.ZodISODateTime;
|
|
750
853
|
}, z.core.$strip>>;
|
|
854
|
+
documents: z.ZodArray<z.ZodObject<{
|
|
855
|
+
id: z.ZodString;
|
|
856
|
+
filename: z.ZodString;
|
|
857
|
+
description: z.ZodString;
|
|
858
|
+
format: z.ZodString;
|
|
859
|
+
mime: z.ZodString;
|
|
860
|
+
size: z.ZodNumber;
|
|
861
|
+
version: z.ZodNumber;
|
|
862
|
+
uploadedBy: z.ZodString;
|
|
863
|
+
updatedBy: z.ZodString;
|
|
864
|
+
createdAt: z.ZodISODateTime;
|
|
865
|
+
updatedAt: z.ZodISODateTime;
|
|
866
|
+
}, z.core.$strip>>;
|
|
751
867
|
}, z.core.$strip>;
|
|
752
868
|
export declare const FinishRequestDataSchema: z.ZodObject<{
|
|
753
869
|
request: z.ZodObject<{
|
|
@@ -888,6 +1004,19 @@ export declare const ContextDataSchema: z.ZodObject<{
|
|
|
888
1004
|
promotedTaskKey: z.ZodNullable<z.ZodString>;
|
|
889
1005
|
createdAt: z.ZodISODateTime;
|
|
890
1006
|
}, z.core.$strip>>;
|
|
1007
|
+
documents: z.ZodArray<z.ZodObject<{
|
|
1008
|
+
id: z.ZodString;
|
|
1009
|
+
filename: z.ZodString;
|
|
1010
|
+
description: z.ZodString;
|
|
1011
|
+
format: z.ZodString;
|
|
1012
|
+
mime: z.ZodString;
|
|
1013
|
+
size: z.ZodNumber;
|
|
1014
|
+
version: z.ZodNumber;
|
|
1015
|
+
uploadedBy: z.ZodString;
|
|
1016
|
+
updatedBy: z.ZodString;
|
|
1017
|
+
createdAt: z.ZodISODateTime;
|
|
1018
|
+
updatedAt: z.ZodISODateTime;
|
|
1019
|
+
}, z.core.$strip>>;
|
|
891
1020
|
}, z.core.$strip>;
|
|
892
1021
|
export declare const TaskDataSchema: z.ZodObject<{
|
|
893
1022
|
task: z.ZodObject<{
|
|
@@ -1025,8 +1154,17 @@ export declare const TaskDetailDataSchema: z.ZodObject<{
|
|
|
1025
1154
|
byAgent: z.ZodBoolean;
|
|
1026
1155
|
body: z.ZodString;
|
|
1027
1156
|
createdAt: z.ZodISODateTime;
|
|
1157
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1158
|
+
id: z.ZodString;
|
|
1159
|
+
name: z.ZodString;
|
|
1160
|
+
}, z.core.$strip>>;
|
|
1161
|
+
}, z.core.$strip>>;
|
|
1162
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
1163
|
+
id: z.ZodString;
|
|
1164
|
+
filename: z.ZodString;
|
|
1165
|
+
mime: z.ZodString;
|
|
1166
|
+
size: z.ZodNumber;
|
|
1028
1167
|
}, z.core.$strip>>;
|
|
1029
|
-
attachments: z.ZodArray<z.ZodString>;
|
|
1030
1168
|
}, z.core.$strip>;
|
|
1031
1169
|
export declare const SearchTasksDataSchema: z.ZodObject<{
|
|
1032
1170
|
tasks: z.ZodArray<z.ZodObject<{
|
|
@@ -1158,6 +1296,391 @@ export declare const CommentDataSchema: z.ZodObject<{
|
|
|
1158
1296
|
}, z.core.$strip>;
|
|
1159
1297
|
commentId: z.ZodString;
|
|
1160
1298
|
}, z.core.$strip>;
|
|
1299
|
+
/** Note d'un espace telle que l'agent la voit dans une liste ; `link` est le fragment qui la référence dans un texte. */
|
|
1300
|
+
export declare const AgentNoteSchema: z.ZodObject<{
|
|
1301
|
+
id: z.ZodString;
|
|
1302
|
+
title: z.ZodString;
|
|
1303
|
+
link: z.ZodString;
|
|
1304
|
+
authorName: z.ZodString;
|
|
1305
|
+
createdAt: z.ZodISODateTime;
|
|
1306
|
+
updatedAt: z.ZodISODateTime;
|
|
1307
|
+
}, z.core.$strip>;
|
|
1308
|
+
export type AgentNote = z.infer<typeof AgentNoteSchema>;
|
|
1309
|
+
export declare const NoteDetailDataSchema: z.ZodObject<{
|
|
1310
|
+
note: z.ZodObject<{
|
|
1311
|
+
id: z.ZodString;
|
|
1312
|
+
title: z.ZodString;
|
|
1313
|
+
link: z.ZodString;
|
|
1314
|
+
authorName: z.ZodString;
|
|
1315
|
+
createdAt: z.ZodISODateTime;
|
|
1316
|
+
updatedAt: z.ZodISODateTime;
|
|
1317
|
+
}, z.core.$strip>;
|
|
1318
|
+
body: z.ZodString;
|
|
1319
|
+
}, z.core.$strip>;
|
|
1320
|
+
export declare const HistoryDataSchema: z.ZodObject<{
|
|
1321
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1322
|
+
id: z.ZodString;
|
|
1323
|
+
seq: z.ZodNumber;
|
|
1324
|
+
at: z.ZodISODateTime;
|
|
1325
|
+
category: z.ZodEnum<{
|
|
1326
|
+
document: "document";
|
|
1327
|
+
idea: "idea";
|
|
1328
|
+
member: "member";
|
|
1329
|
+
note: "note";
|
|
1330
|
+
task: "task";
|
|
1331
|
+
}>;
|
|
1332
|
+
actor: z.ZodObject<{
|
|
1333
|
+
type: z.ZodEnum<{
|
|
1334
|
+
agent: "agent";
|
|
1335
|
+
user: "user";
|
|
1336
|
+
}>;
|
|
1337
|
+
id: z.ZodNullable<z.ZodString>;
|
|
1338
|
+
name: z.ZodString;
|
|
1339
|
+
}, z.core.$strip>;
|
|
1340
|
+
request: z.ZodNullable<z.ZodObject<{
|
|
1341
|
+
id: z.ZodString;
|
|
1342
|
+
text: z.ZodString;
|
|
1343
|
+
}, z.core.$strip>>;
|
|
1344
|
+
task: z.ZodNullable<z.ZodObject<{
|
|
1345
|
+
id: z.ZodString;
|
|
1346
|
+
key: z.ZodString;
|
|
1347
|
+
title: z.ZodString;
|
|
1348
|
+
deleted: z.ZodBoolean;
|
|
1349
|
+
}, z.core.$strip>>;
|
|
1350
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
1351
|
+
restorable: z.ZodBoolean;
|
|
1352
|
+
changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1353
|
+
kind: z.ZodLiteral<"created">;
|
|
1354
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1355
|
+
kind: z.ZodLiteral<"deleted">;
|
|
1356
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1357
|
+
kind: z.ZodLiteral<"restored">;
|
|
1358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1359
|
+
kind: z.ZodLiteral<"title">;
|
|
1360
|
+
from: z.ZodString;
|
|
1361
|
+
to: z.ZodString;
|
|
1362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1363
|
+
kind: z.ZodLiteral<"status">;
|
|
1364
|
+
from: z.ZodEnum<{
|
|
1365
|
+
doing: "doing";
|
|
1366
|
+
done: "done";
|
|
1367
|
+
review: "review";
|
|
1368
|
+
todo: "todo";
|
|
1369
|
+
}>;
|
|
1370
|
+
to: z.ZodEnum<{
|
|
1371
|
+
doing: "doing";
|
|
1372
|
+
done: "done";
|
|
1373
|
+
review: "review";
|
|
1374
|
+
todo: "todo";
|
|
1375
|
+
}>;
|
|
1376
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1377
|
+
kind: z.ZodLiteral<"priority">;
|
|
1378
|
+
from: z.ZodEnum<{
|
|
1379
|
+
critical: "critical";
|
|
1380
|
+
high: "high";
|
|
1381
|
+
low: "low";
|
|
1382
|
+
medium: "medium";
|
|
1383
|
+
}>;
|
|
1384
|
+
to: z.ZodEnum<{
|
|
1385
|
+
critical: "critical";
|
|
1386
|
+
high: "high";
|
|
1387
|
+
low: "low";
|
|
1388
|
+
medium: "medium";
|
|
1389
|
+
}>;
|
|
1390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1391
|
+
kind: z.ZodLiteral<"type">;
|
|
1392
|
+
from: z.ZodEnum<{
|
|
1393
|
+
standard: "standard";
|
|
1394
|
+
test: "test";
|
|
1395
|
+
}>;
|
|
1396
|
+
to: z.ZodEnum<{
|
|
1397
|
+
standard: "standard";
|
|
1398
|
+
test: "test";
|
|
1399
|
+
}>;
|
|
1400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1401
|
+
kind: z.ZodLiteral<"description">;
|
|
1402
|
+
added: z.ZodNumber;
|
|
1403
|
+
removed: z.ZodNumber;
|
|
1404
|
+
lines: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1405
|
+
kind: z.ZodEnum<{
|
|
1406
|
+
add: "add";
|
|
1407
|
+
del: "del";
|
|
1408
|
+
same: "same";
|
|
1409
|
+
}>;
|
|
1410
|
+
text: z.ZodString;
|
|
1411
|
+
}, z.core.$strip>>>;
|
|
1412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1413
|
+
kind: z.ZodLiteral<"assignees">;
|
|
1414
|
+
added: z.ZodArray<z.ZodObject<{
|
|
1415
|
+
id: z.ZodNullable<z.ZodString>;
|
|
1416
|
+
name: z.ZodString;
|
|
1417
|
+
}, z.core.$strip>>;
|
|
1418
|
+
removed: z.ZodArray<z.ZodObject<{
|
|
1419
|
+
id: z.ZodNullable<z.ZodString>;
|
|
1420
|
+
name: z.ZodString;
|
|
1421
|
+
}, z.core.$strip>>;
|
|
1422
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1423
|
+
kind: z.ZodLiteral<"tags">;
|
|
1424
|
+
added: z.ZodArray<z.ZodString>;
|
|
1425
|
+
removed: z.ZodArray<z.ZodString>;
|
|
1426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1427
|
+
kind: z.ZodLiteral<"parent">;
|
|
1428
|
+
from: z.ZodNullable<z.ZodObject<{
|
|
1429
|
+
id: z.ZodString;
|
|
1430
|
+
key: z.ZodString;
|
|
1431
|
+
title: z.ZodString;
|
|
1432
|
+
deleted: z.ZodBoolean;
|
|
1433
|
+
}, z.core.$strip>>;
|
|
1434
|
+
to: z.ZodNullable<z.ZodObject<{
|
|
1435
|
+
id: z.ZodString;
|
|
1436
|
+
key: z.ZodString;
|
|
1437
|
+
title: z.ZodString;
|
|
1438
|
+
deleted: z.ZodBoolean;
|
|
1439
|
+
}, z.core.$strip>>;
|
|
1440
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1441
|
+
kind: z.ZodLiteral<"tested">;
|
|
1442
|
+
from: z.ZodNullable<z.ZodObject<{
|
|
1443
|
+
id: z.ZodString;
|
|
1444
|
+
key: z.ZodString;
|
|
1445
|
+
title: z.ZodString;
|
|
1446
|
+
deleted: z.ZodBoolean;
|
|
1447
|
+
}, z.core.$strip>>;
|
|
1448
|
+
to: z.ZodNullable<z.ZodObject<{
|
|
1449
|
+
id: z.ZodString;
|
|
1450
|
+
key: z.ZodString;
|
|
1451
|
+
title: z.ZodString;
|
|
1452
|
+
deleted: z.ZodBoolean;
|
|
1453
|
+
}, z.core.$strip>>;
|
|
1454
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1455
|
+
kind: z.ZodLiteral<"checklist">;
|
|
1456
|
+
action: z.ZodEnum<{
|
|
1457
|
+
added: "added";
|
|
1458
|
+
checked: "checked";
|
|
1459
|
+
edited: "edited";
|
|
1460
|
+
removed: "removed";
|
|
1461
|
+
unchecked: "unchecked";
|
|
1462
|
+
}>;
|
|
1463
|
+
text: z.ZodString;
|
|
1464
|
+
previous: z.ZodNullable<z.ZodString>;
|
|
1465
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1466
|
+
kind: z.ZodLiteral<"checkpoint">;
|
|
1467
|
+
action: z.ZodEnum<{
|
|
1468
|
+
added: "added";
|
|
1469
|
+
edited: "edited";
|
|
1470
|
+
removed: "removed";
|
|
1471
|
+
}>;
|
|
1472
|
+
text: z.ZodString;
|
|
1473
|
+
previous: z.ZodNullable<z.ZodString>;
|
|
1474
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1475
|
+
kind: z.ZodLiteral<"idea">;
|
|
1476
|
+
action: z.ZodEnum<{
|
|
1477
|
+
archived: "archived";
|
|
1478
|
+
created: "created";
|
|
1479
|
+
deleted: "deleted";
|
|
1480
|
+
edited: "edited";
|
|
1481
|
+
promoted: "promoted";
|
|
1482
|
+
restored: "restored";
|
|
1483
|
+
unarchived: "unarchived";
|
|
1484
|
+
}>;
|
|
1485
|
+
text: z.ZodString;
|
|
1486
|
+
previous: z.ZodNullable<z.ZodString>;
|
|
1487
|
+
task: z.ZodNullable<z.ZodObject<{
|
|
1488
|
+
id: z.ZodString;
|
|
1489
|
+
key: z.ZodString;
|
|
1490
|
+
title: z.ZodString;
|
|
1491
|
+
deleted: z.ZodBoolean;
|
|
1492
|
+
}, z.core.$strip>>;
|
|
1493
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1494
|
+
kind: z.ZodLiteral<"member">;
|
|
1495
|
+
action: z.ZodEnum<{
|
|
1496
|
+
added: "added";
|
|
1497
|
+
created_space: "created_space";
|
|
1498
|
+
joined: "joined";
|
|
1499
|
+
left: "left";
|
|
1500
|
+
removed: "removed";
|
|
1501
|
+
role: "role";
|
|
1502
|
+
}>;
|
|
1503
|
+
person: z.ZodObject<{
|
|
1504
|
+
id: z.ZodNullable<z.ZodString>;
|
|
1505
|
+
name: z.ZodString;
|
|
1506
|
+
}, z.core.$strip>;
|
|
1507
|
+
role: z.ZodEnum<{
|
|
1508
|
+
member: "member";
|
|
1509
|
+
owner: "owner";
|
|
1510
|
+
}>;
|
|
1511
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1512
|
+
kind: z.ZodLiteral<"invitation">;
|
|
1513
|
+
action: z.ZodEnum<{
|
|
1514
|
+
declined: "declined";
|
|
1515
|
+
invited: "invited";
|
|
1516
|
+
revoked: "revoked";
|
|
1517
|
+
}>;
|
|
1518
|
+
person: z.ZodObject<{
|
|
1519
|
+
id: z.ZodNullable<z.ZodString>;
|
|
1520
|
+
name: z.ZodString;
|
|
1521
|
+
}, z.core.$strip>;
|
|
1522
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1523
|
+
kind: z.ZodLiteral<"note">;
|
|
1524
|
+
action: z.ZodEnum<{
|
|
1525
|
+
created: "created";
|
|
1526
|
+
deleted: "deleted";
|
|
1527
|
+
edited: "edited";
|
|
1528
|
+
renamed: "renamed";
|
|
1529
|
+
restored: "restored";
|
|
1530
|
+
}>;
|
|
1531
|
+
noteId: z.ZodString;
|
|
1532
|
+
title: z.ZodString;
|
|
1533
|
+
previous: z.ZodNullable<z.ZodString>;
|
|
1534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1535
|
+
kind: z.ZodLiteral<"document">;
|
|
1536
|
+
action: z.ZodEnum<{
|
|
1537
|
+
added: "added";
|
|
1538
|
+
deleted: "deleted";
|
|
1539
|
+
described: "described";
|
|
1540
|
+
replaced: "replaced";
|
|
1541
|
+
restored: "restored";
|
|
1542
|
+
}>;
|
|
1543
|
+
filename: z.ZodString;
|
|
1544
|
+
}, z.core.$strip>], "kind">>;
|
|
1545
|
+
}, z.core.$strip>>;
|
|
1546
|
+
total: z.ZodNumber;
|
|
1547
|
+
nextBefore: z.ZodNullable<z.ZodNumber>;
|
|
1548
|
+
}, z.core.$strip>;
|
|
1549
|
+
export declare const SearchNotesDataSchema: z.ZodObject<{
|
|
1550
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
1551
|
+
id: z.ZodString;
|
|
1552
|
+
title: z.ZodString;
|
|
1553
|
+
link: z.ZodString;
|
|
1554
|
+
authorName: z.ZodString;
|
|
1555
|
+
createdAt: z.ZodISODateTime;
|
|
1556
|
+
updatedAt: z.ZodISODateTime;
|
|
1557
|
+
}, z.core.$strip>>;
|
|
1558
|
+
total: z.ZodNumber;
|
|
1559
|
+
}, z.core.$strip>;
|
|
1560
|
+
export declare const ListDocumentsDataSchema: z.ZodObject<{
|
|
1561
|
+
documents: z.ZodArray<z.ZodObject<{
|
|
1562
|
+
id: z.ZodString;
|
|
1563
|
+
filename: z.ZodString;
|
|
1564
|
+
description: z.ZodString;
|
|
1565
|
+
format: z.ZodString;
|
|
1566
|
+
mime: z.ZodString;
|
|
1567
|
+
size: z.ZodNumber;
|
|
1568
|
+
version: z.ZodNumber;
|
|
1569
|
+
uploadedBy: z.ZodString;
|
|
1570
|
+
updatedBy: z.ZodString;
|
|
1571
|
+
createdAt: z.ZodISODateTime;
|
|
1572
|
+
updatedAt: z.ZodISODateTime;
|
|
1573
|
+
}, z.core.$strip>>;
|
|
1574
|
+
}, z.core.$strip>;
|
|
1575
|
+
/** Image envoyée à l'agent : type, dimensions, et vrai si elle a été réduite ou convertie pour l'API de Claude. */
|
|
1576
|
+
export declare const AgentImageInfoSchema: z.ZodObject<{
|
|
1577
|
+
mimeType: z.ZodString;
|
|
1578
|
+
width: z.ZodNumber;
|
|
1579
|
+
height: z.ZodNumber;
|
|
1580
|
+
converted: z.ZodBoolean;
|
|
1581
|
+
}, z.core.$strip>;
|
|
1582
|
+
/** Document ouvert par l'agent. */
|
|
1583
|
+
export declare const DocumentDetailDataSchema: z.ZodObject<{
|
|
1584
|
+
kind: z.ZodEnum<{
|
|
1585
|
+
docx: "docx";
|
|
1586
|
+
image: "image";
|
|
1587
|
+
pdf: "pdf";
|
|
1588
|
+
text: "text";
|
|
1589
|
+
}>;
|
|
1590
|
+
part: z.ZodNumber;
|
|
1591
|
+
partCount: z.ZodNumber;
|
|
1592
|
+
text: z.ZodNullable<z.ZodString>;
|
|
1593
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
1594
|
+
mimeType: z.ZodString;
|
|
1595
|
+
width: z.ZodNumber;
|
|
1596
|
+
height: z.ZodNumber;
|
|
1597
|
+
converted: z.ZodBoolean;
|
|
1598
|
+
}, z.core.$strip>>;
|
|
1599
|
+
pdf: z.ZodNullable<z.ZodObject<{
|
|
1600
|
+
pages: z.ZodNumber;
|
|
1601
|
+
hasText: z.ZodBoolean;
|
|
1602
|
+
}, z.core.$strip>>;
|
|
1603
|
+
document: z.ZodObject<{
|
|
1604
|
+
id: z.ZodString;
|
|
1605
|
+
filename: z.ZodString;
|
|
1606
|
+
description: z.ZodString;
|
|
1607
|
+
format: z.ZodString;
|
|
1608
|
+
mime: z.ZodString;
|
|
1609
|
+
size: z.ZodNumber;
|
|
1610
|
+
version: z.ZodNumber;
|
|
1611
|
+
uploadedBy: z.ZodString;
|
|
1612
|
+
updatedBy: z.ZodString;
|
|
1613
|
+
createdAt: z.ZodISODateTime;
|
|
1614
|
+
updatedAt: z.ZodISODateTime;
|
|
1615
|
+
}, z.core.$strip>;
|
|
1616
|
+
}, z.core.$strip>;
|
|
1617
|
+
/** Pièce jointe envoyée par l'agent, avec le commentaire qui la montre ou sa mention dans la description. */
|
|
1618
|
+
export declare const AttachmentAddedDataSchema: z.ZodObject<{
|
|
1619
|
+
task: z.ZodObject<{
|
|
1620
|
+
id: z.ZodString;
|
|
1621
|
+
key: z.ZodString;
|
|
1622
|
+
title: z.ZodString;
|
|
1623
|
+
type: z.ZodEnum<{
|
|
1624
|
+
standard: "standard";
|
|
1625
|
+
test: "test";
|
|
1626
|
+
}>;
|
|
1627
|
+
status: z.ZodEnum<{
|
|
1628
|
+
doing: "doing";
|
|
1629
|
+
done: "done";
|
|
1630
|
+
review: "review";
|
|
1631
|
+
todo: "todo";
|
|
1632
|
+
}>;
|
|
1633
|
+
priority: z.ZodEnum<{
|
|
1634
|
+
critical: "critical";
|
|
1635
|
+
high: "high";
|
|
1636
|
+
low: "low";
|
|
1637
|
+
medium: "medium";
|
|
1638
|
+
}>;
|
|
1639
|
+
depth: z.ZodNumber;
|
|
1640
|
+
parentKey: z.ZodNullable<z.ZodString>;
|
|
1641
|
+
assigneeIds: z.ZodArray<z.ZodString>;
|
|
1642
|
+
tags: z.ZodArray<z.ZodString>;
|
|
1643
|
+
}, z.core.$strip>;
|
|
1644
|
+
attachment: z.ZodObject<{
|
|
1645
|
+
id: z.ZodString;
|
|
1646
|
+
filename: z.ZodString;
|
|
1647
|
+
mime: z.ZodString;
|
|
1648
|
+
size: z.ZodNumber;
|
|
1649
|
+
}, z.core.$strip>;
|
|
1650
|
+
commentId: z.ZodNullable<z.ZodString>;
|
|
1651
|
+
inDescription: z.ZodBoolean;
|
|
1652
|
+
}, z.core.$strip>;
|
|
1653
|
+
/** Pièce jointe d'une tâche ouverte par l'agent. */
|
|
1654
|
+
export declare const AttachmentDetailDataSchema: z.ZodObject<{
|
|
1655
|
+
kind: z.ZodEnum<{
|
|
1656
|
+
docx: "docx";
|
|
1657
|
+
image: "image";
|
|
1658
|
+
pdf: "pdf";
|
|
1659
|
+
text: "text";
|
|
1660
|
+
}>;
|
|
1661
|
+
part: z.ZodNumber;
|
|
1662
|
+
partCount: z.ZodNumber;
|
|
1663
|
+
text: z.ZodNullable<z.ZodString>;
|
|
1664
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
1665
|
+
mimeType: z.ZodString;
|
|
1666
|
+
width: z.ZodNumber;
|
|
1667
|
+
height: z.ZodNumber;
|
|
1668
|
+
converted: z.ZodBoolean;
|
|
1669
|
+
}, z.core.$strip>>;
|
|
1670
|
+
pdf: z.ZodNullable<z.ZodObject<{
|
|
1671
|
+
pages: z.ZodNumber;
|
|
1672
|
+
hasText: z.ZodBoolean;
|
|
1673
|
+
}, z.core.$strip>>;
|
|
1674
|
+
attachment: z.ZodObject<{
|
|
1675
|
+
id: z.ZodString;
|
|
1676
|
+
filename: z.ZodString;
|
|
1677
|
+
mime: z.ZodString;
|
|
1678
|
+
size: z.ZodNumber;
|
|
1679
|
+
taskKey: z.ZodString;
|
|
1680
|
+
uploadedBy: z.ZodString;
|
|
1681
|
+
createdAt: z.ZodISODateTime;
|
|
1682
|
+
}, z.core.$strip>;
|
|
1683
|
+
}, z.core.$strip>;
|
|
1161
1684
|
export declare const IdeaDataSchema: z.ZodObject<{
|
|
1162
1685
|
idea: z.ZodObject<{
|
|
1163
1686
|
id: z.ZodString;
|
|
@@ -1201,7 +1724,7 @@ export declare const PromoteIdeaDataSchema: z.ZodObject<{
|
|
|
1201
1724
|
tags: z.ZodArray<z.ZodString>;
|
|
1202
1725
|
}, z.core.$strip>;
|
|
1203
1726
|
}, z.core.$strip>;
|
|
1204
|
-
/** Vue du tableau de bord d'un membre ; filtres vides : toutes les valeurs ; `tags` : noms des tags filtrés. */
|
|
1727
|
+
/** Vue du tableau de bord d'un membre ; filtres vides : toutes les valeurs ; `tags` : noms des tags filtrés ; `types` : types de tâche gardés. */
|
|
1205
1728
|
export declare const AgentViewSchema: z.ZodObject<{
|
|
1206
1729
|
id: z.ZodString;
|
|
1207
1730
|
name: z.ZodString;
|
|
@@ -1236,6 +1759,10 @@ export declare const AgentViewSchema: z.ZodObject<{
|
|
|
1236
1759
|
assigneeIds: z.ZodArray<z.ZodString>;
|
|
1237
1760
|
unassigned: z.ZodBoolean;
|
|
1238
1761
|
tags: z.ZodArray<z.ZodString>;
|
|
1762
|
+
types: z.ZodArray<z.ZodEnum<{
|
|
1763
|
+
standard: "standard";
|
|
1764
|
+
test: "test";
|
|
1765
|
+
}>>;
|
|
1239
1766
|
}, z.core.$strip>;
|
|
1240
1767
|
export type AgentView = z.infer<typeof AgentViewSchema>;
|
|
1241
1768
|
/** Vues de l'auteur de la demande, dans l'ordre de ses onglets. */
|
|
@@ -1279,6 +1806,10 @@ export declare const ViewsDataSchema: z.ZodObject<{
|
|
|
1279
1806
|
assigneeIds: z.ZodArray<z.ZodString>;
|
|
1280
1807
|
unassigned: z.ZodBoolean;
|
|
1281
1808
|
tags: z.ZodArray<z.ZodString>;
|
|
1809
|
+
types: z.ZodArray<z.ZodEnum<{
|
|
1810
|
+
standard: "standard";
|
|
1811
|
+
test: "test";
|
|
1812
|
+
}>>;
|
|
1282
1813
|
}, z.core.$strip>>;
|
|
1283
1814
|
}, z.core.$strip>;
|
|
1284
1815
|
export declare const ViewDataSchema: z.ZodObject<{
|
|
@@ -1321,7 +1852,122 @@ export declare const ViewDataSchema: z.ZodObject<{
|
|
|
1321
1852
|
assigneeIds: z.ZodArray<z.ZodString>;
|
|
1322
1853
|
unassigned: z.ZodBoolean;
|
|
1323
1854
|
tags: z.ZodArray<z.ZodString>;
|
|
1855
|
+
types: z.ZodArray<z.ZodEnum<{
|
|
1856
|
+
standard: "standard";
|
|
1857
|
+
test: "test";
|
|
1858
|
+
}>>;
|
|
1859
|
+
}, z.core.$strip>;
|
|
1860
|
+
}, z.core.$strip>;
|
|
1861
|
+
/** Session de chrono d'un membre sur une tâche ; `countedMs` : temps compté (phases de travail seules pour un pomodoro). */
|
|
1862
|
+
export declare const AgentTimeSessionSchema: z.ZodObject<{
|
|
1863
|
+
id: z.ZodString;
|
|
1864
|
+
member: z.ZodString;
|
|
1865
|
+
memberId: z.ZodString;
|
|
1866
|
+
mode: z.ZodEnum<{
|
|
1867
|
+
free: "free";
|
|
1868
|
+
pomodoro: "pomodoro";
|
|
1869
|
+
}>;
|
|
1870
|
+
pomodoro: z.ZodNullable<z.ZodObject<{
|
|
1871
|
+
workMinutes: z.ZodNumber;
|
|
1872
|
+
shortBreakMinutes: z.ZodNumber;
|
|
1873
|
+
longBreakMinutes: z.ZodNumber;
|
|
1874
|
+
cycles: z.ZodNumber;
|
|
1875
|
+
}, z.core.$strip>>;
|
|
1876
|
+
state: z.ZodEnum<{
|
|
1877
|
+
paused: "paused";
|
|
1878
|
+
running: "running";
|
|
1879
|
+
stopped: "stopped";
|
|
1880
|
+
}>;
|
|
1881
|
+
startedAt: z.ZodISODateTime;
|
|
1882
|
+
endedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1883
|
+
countedMs: z.ZodNumber;
|
|
1884
|
+
}, z.core.$strip>;
|
|
1885
|
+
export type AgentTimeSession = z.infer<typeof AgentTimeSessionSchema>;
|
|
1886
|
+
/** Temps passé sur une tâche : total, total par membre, sessions. */
|
|
1887
|
+
export declare const TaskTimeDataSchema: z.ZodObject<{
|
|
1888
|
+
task: z.ZodObject<{
|
|
1889
|
+
id: z.ZodString;
|
|
1890
|
+
key: z.ZodString;
|
|
1891
|
+
title: z.ZodString;
|
|
1324
1892
|
}, z.core.$strip>;
|
|
1893
|
+
totalMs: z.ZodNumber;
|
|
1894
|
+
byMember: z.ZodArray<z.ZodObject<{
|
|
1895
|
+
memberId: z.ZodString;
|
|
1896
|
+
member: z.ZodString;
|
|
1897
|
+
countedMs: z.ZodNumber;
|
|
1898
|
+
}, z.core.$strip>>;
|
|
1899
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
1900
|
+
id: z.ZodString;
|
|
1901
|
+
member: z.ZodString;
|
|
1902
|
+
memberId: z.ZodString;
|
|
1903
|
+
mode: z.ZodEnum<{
|
|
1904
|
+
free: "free";
|
|
1905
|
+
pomodoro: "pomodoro";
|
|
1906
|
+
}>;
|
|
1907
|
+
pomodoro: z.ZodNullable<z.ZodObject<{
|
|
1908
|
+
workMinutes: z.ZodNumber;
|
|
1909
|
+
shortBreakMinutes: z.ZodNumber;
|
|
1910
|
+
longBreakMinutes: z.ZodNumber;
|
|
1911
|
+
cycles: z.ZodNumber;
|
|
1912
|
+
}, z.core.$strip>>;
|
|
1913
|
+
state: z.ZodEnum<{
|
|
1914
|
+
paused: "paused";
|
|
1915
|
+
running: "running";
|
|
1916
|
+
stopped: "stopped";
|
|
1917
|
+
}>;
|
|
1918
|
+
startedAt: z.ZodISODateTime;
|
|
1919
|
+
endedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1920
|
+
countedMs: z.ZodNumber;
|
|
1921
|
+
}, z.core.$strip>>;
|
|
1922
|
+
}, z.core.$strip>;
|
|
1923
|
+
/** Chrono démarré ou arrêté, et chrono mis en pause pour le laisser tourner. */
|
|
1924
|
+
export declare const TimerDataSchema: z.ZodObject<{
|
|
1925
|
+
session: z.ZodObject<{
|
|
1926
|
+
id: z.ZodString;
|
|
1927
|
+
member: z.ZodString;
|
|
1928
|
+
memberId: z.ZodString;
|
|
1929
|
+
mode: z.ZodEnum<{
|
|
1930
|
+
free: "free";
|
|
1931
|
+
pomodoro: "pomodoro";
|
|
1932
|
+
}>;
|
|
1933
|
+
pomodoro: z.ZodNullable<z.ZodObject<{
|
|
1934
|
+
workMinutes: z.ZodNumber;
|
|
1935
|
+
shortBreakMinutes: z.ZodNumber;
|
|
1936
|
+
longBreakMinutes: z.ZodNumber;
|
|
1937
|
+
cycles: z.ZodNumber;
|
|
1938
|
+
}, z.core.$strip>>;
|
|
1939
|
+
state: z.ZodEnum<{
|
|
1940
|
+
paused: "paused";
|
|
1941
|
+
running: "running";
|
|
1942
|
+
stopped: "stopped";
|
|
1943
|
+
}>;
|
|
1944
|
+
startedAt: z.ZodISODateTime;
|
|
1945
|
+
endedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1946
|
+
countedMs: z.ZodNumber;
|
|
1947
|
+
}, z.core.$strip>;
|
|
1948
|
+
paused: z.ZodNullable<z.ZodObject<{
|
|
1949
|
+
id: z.ZodString;
|
|
1950
|
+
member: z.ZodString;
|
|
1951
|
+
memberId: z.ZodString;
|
|
1952
|
+
mode: z.ZodEnum<{
|
|
1953
|
+
free: "free";
|
|
1954
|
+
pomodoro: "pomodoro";
|
|
1955
|
+
}>;
|
|
1956
|
+
pomodoro: z.ZodNullable<z.ZodObject<{
|
|
1957
|
+
workMinutes: z.ZodNumber;
|
|
1958
|
+
shortBreakMinutes: z.ZodNumber;
|
|
1959
|
+
longBreakMinutes: z.ZodNumber;
|
|
1960
|
+
cycles: z.ZodNumber;
|
|
1961
|
+
}, z.core.$strip>>;
|
|
1962
|
+
state: z.ZodEnum<{
|
|
1963
|
+
paused: "paused";
|
|
1964
|
+
running: "running";
|
|
1965
|
+
stopped: "stopped";
|
|
1966
|
+
}>;
|
|
1967
|
+
startedAt: z.ZodISODateTime;
|
|
1968
|
+
endedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1969
|
+
countedMs: z.ZodNumber;
|
|
1970
|
+
}, z.core.$strip>>;
|
|
1325
1971
|
}, z.core.$strip>;
|
|
1326
1972
|
/** Présence d'un veilleur de notifications pour le jeton. */
|
|
1327
1973
|
export declare const AgentWatcherSchema: z.ZodObject<{
|