@edicarlos.lds/businessmap-mcp 1.3.0 → 1.3.4
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 +6 -0
- package/dist/client/businessmap-client.d.ts +3 -0
- package/dist/client/businessmap-client.d.ts.map +1 -1
- package/dist/client/businessmap-client.js +11 -1
- package/dist/client/businessmap-client.js.map +1 -1
- package/dist/client/modules/index.d.ts +1 -0
- package/dist/client/modules/index.d.ts.map +1 -1
- package/dist/client/modules/index.js +1 -0
- package/dist/client/modules/index.js.map +1 -1
- package/dist/client/modules/workflow-client.d.ts +13 -0
- package/dist/client/modules/workflow-client.d.ts.map +1 -0
- package/dist/client/modules/workflow-client.js +18 -0
- package/dist/client/modules/workflow-client.js.map +1 -0
- package/dist/schemas/board-schemas.d.ts +103 -0
- package/dist/schemas/board-schemas.d.ts.map +1 -0
- package/dist/schemas/board-schemas.js +79 -0
- package/dist/schemas/board-schemas.js.map +1 -0
- package/dist/schemas/card-schemas.d.ts +1162 -0
- package/dist/schemas/card-schemas.d.ts.map +1 -0
- package/dist/schemas/card-schemas.js +450 -0
- package/dist/schemas/card-schemas.js.map +1 -0
- package/dist/schemas/common-schemas.d.ts +47 -0
- package/dist/schemas/common-schemas.d.ts.map +1 -0
- package/dist/schemas/common-schemas.js +53 -0
- package/dist/schemas/common-schemas.js.map +1 -0
- package/dist/schemas/custom-field-schemas.d.ts +9 -0
- package/dist/schemas/custom-field-schemas.d.ts.map +1 -0
- package/dist/schemas/custom-field-schemas.js +6 -0
- package/dist/schemas/custom-field-schemas.js.map +1 -0
- package/dist/schemas/index.d.ts +9 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +10 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/user-schemas.d.ts +11 -0
- package/dist/schemas/user-schemas.d.ts.map +1 -0
- package/dist/schemas/user-schemas.js +10 -0
- package/dist/schemas/user-schemas.js.map +1 -0
- package/dist/schemas/utility-schemas.d.ts +4 -0
- package/dist/schemas/utility-schemas.d.ts.map +1 -0
- package/dist/schemas/utility-schemas.js +6 -0
- package/dist/schemas/utility-schemas.js.map +1 -0
- package/dist/schemas/workflow-schemas.d.ts +22 -0
- package/dist/schemas/workflow-schemas.d.ts.map +1 -0
- package/dist/schemas/workflow-schemas.js +12 -0
- package/dist/schemas/workflow-schemas.js.map +1 -0
- package/dist/schemas/workspace-schemas.d.ts +20 -0
- package/dist/schemas/workspace-schemas.d.ts.map +1 -0
- package/dist/schemas/workspace-schemas.js +13 -0
- package/dist/schemas/workspace-schemas.js.map +1 -0
- package/dist/server/mcp-server.d.ts.map +1 -1
- package/dist/server/mcp-server.js +2 -1
- package/dist/server/mcp-server.js.map +1 -1
- package/dist/server/tools/board-tools.d.ts.map +1 -1
- package/dist/server/tools/board-tools.js +9 -70
- package/dist/server/tools/board-tools.js.map +1 -1
- package/dist/server/tools/card-tools.d.ts.map +1 -1
- package/dist/server/tools/card-tools.js +12 -502
- package/dist/server/tools/card-tools.js.map +1 -1
- package/dist/server/tools/custom-field-tools.d.ts.map +1 -1
- package/dist/server/tools/custom-field-tools.js +2 -4
- package/dist/server/tools/custom-field-tools.js.map +1 -1
- package/dist/server/tools/index.d.ts +1 -0
- package/dist/server/tools/index.d.ts.map +1 -1
- package/dist/server/tools/index.js +1 -0
- package/dist/server/tools/index.js.map +1 -1
- package/dist/server/tools/user-tools.d.ts.map +1 -1
- package/dist/server/tools/user-tools.js +4 -6
- package/dist/server/tools/user-tools.js.map +1 -1
- package/dist/server/tools/utility-tools.d.ts.map +1 -1
- package/dist/server/tools/utility-tools.js +3 -2
- package/dist/server/tools/utility-tools.js.map +1 -1
- package/dist/server/tools/{cycle-time-tools.d.ts → workflow-tools.d.ts} +2 -2
- package/dist/server/tools/workflow-tools.d.ts.map +1 -0
- package/dist/server/tools/workflow-tools.js +42 -0
- package/dist/server/tools/workflow-tools.js.map +1 -0
- package/dist/server/tools/workspace-tools.d.ts.map +1 -1
- package/dist/server/tools/workspace-tools.js +4 -9
- package/dist/server/tools/workspace-tools.js.map +1 -1
- package/dist/types/board.d.ts +1 -1
- package/dist/types/board.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/workflow.d.ts +8 -0
- package/dist/types/workflow.d.ts.map +1 -0
- package/dist/types/workflow.js +2 -0
- package/dist/types/workflow.js.map +1 -0
- package/package.json +1 -1
- package/dist/client/modules/analytics-client.d.ts +0 -13
- package/dist/client/modules/analytics-client.d.ts.map +0 -1
- package/dist/client/modules/analytics-client.js +0 -18
- package/dist/client/modules/analytics-client.js.map +0 -1
- package/dist/client/modules/card-metrics.d.ts +0 -61
- package/dist/client/modules/card-metrics.d.ts.map +0 -1
- package/dist/client/modules/card-metrics.js +0 -197
- package/dist/client/modules/card-metrics.js.map +0 -1
- package/dist/server/tools/cycle-time-tools.d.ts.map +0 -1
- package/dist/server/tools/cycle-time-tools.js +0 -43
- package/dist/server/tools/cycle-time-tools.js.map +0 -1
- package/dist/types/analytics.d.ts +0 -32
- package/dist/types/analytics.d.ts.map +0 -1
- package/dist/types/analytics.js +0 -3
- package/dist/types/analytics.js.map +0 -1
- package/dist/types/businessmap.d.ts +0 -192
- package/dist/types/businessmap.d.ts.map +0 -1
- package/dist/types/businessmap.js +0 -3
- package/dist/types/businessmap.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/card-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0G3B,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAKzB,CAAC;AAGH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa3B,CAAC"}
|
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { fileAttachmentSchema, fileAttachmentWithIdSchema, idArrayFilters, paginationSchema, } from './common-schemas.js';
|
|
3
|
+
// List cards schema - extraído do card-tools.ts
|
|
4
|
+
export const listCardsSchema = z.object({
|
|
5
|
+
board_id: z.number().describe('The ID of the board'),
|
|
6
|
+
// Date and time filters usando o schema comum e estendendo para casos específicos
|
|
7
|
+
archived_from: z
|
|
8
|
+
.string()
|
|
9
|
+
.optional()
|
|
10
|
+
.describe('The first date and time of archived cards for which you want results'),
|
|
11
|
+
archived_from_date: z
|
|
12
|
+
.string()
|
|
13
|
+
.optional()
|
|
14
|
+
.describe('The first date of archived cards for which you want results'),
|
|
15
|
+
archived_to: z
|
|
16
|
+
.string()
|
|
17
|
+
.optional()
|
|
18
|
+
.describe('The last date and time of archived cards for which you want results'),
|
|
19
|
+
archived_to_date: z
|
|
20
|
+
.string()
|
|
21
|
+
.optional()
|
|
22
|
+
.describe('The last date of archived cards for which you want results'),
|
|
23
|
+
created_from: z
|
|
24
|
+
.string()
|
|
25
|
+
.optional()
|
|
26
|
+
.describe('The first date and time of created cards for which you want results'),
|
|
27
|
+
created_from_date: z
|
|
28
|
+
.string()
|
|
29
|
+
.optional()
|
|
30
|
+
.describe('The first date of created cards for which you want results'),
|
|
31
|
+
created_to: z
|
|
32
|
+
.string()
|
|
33
|
+
.optional()
|
|
34
|
+
.describe('The last date and time of created cards for which you want results'),
|
|
35
|
+
created_to_date: z
|
|
36
|
+
.string()
|
|
37
|
+
.optional()
|
|
38
|
+
.describe('The last date of created cards for which you want results'),
|
|
39
|
+
deadline_from: z
|
|
40
|
+
.string()
|
|
41
|
+
.optional()
|
|
42
|
+
.describe('The first date and time of deadline cards for which you want results'),
|
|
43
|
+
deadline_from_date: z
|
|
44
|
+
.string()
|
|
45
|
+
.optional()
|
|
46
|
+
.describe('The first date of deadline cards for which you want results'),
|
|
47
|
+
deadline_to: z
|
|
48
|
+
.string()
|
|
49
|
+
.optional()
|
|
50
|
+
.describe('The last date and time of deadline cards for which you want results'),
|
|
51
|
+
deadline_to_date: z
|
|
52
|
+
.string()
|
|
53
|
+
.optional()
|
|
54
|
+
.describe('The last date of deadline cards for which you want results'),
|
|
55
|
+
discarded_from: z
|
|
56
|
+
.string()
|
|
57
|
+
.optional()
|
|
58
|
+
.describe('The first date and time of discarded cards for which you want results'),
|
|
59
|
+
discarded_from_date: z
|
|
60
|
+
.string()
|
|
61
|
+
.optional()
|
|
62
|
+
.describe('The first date of discarded cards for which you want results'),
|
|
63
|
+
discarded_to: z
|
|
64
|
+
.string()
|
|
65
|
+
.optional()
|
|
66
|
+
.describe('The last date and time of discarded cards for which you want results'),
|
|
67
|
+
discarded_to_date: z
|
|
68
|
+
.string()
|
|
69
|
+
.optional()
|
|
70
|
+
.describe('The last date of discarded cards for which you want results'),
|
|
71
|
+
first_end_from: z
|
|
72
|
+
.string()
|
|
73
|
+
.optional()
|
|
74
|
+
.describe('The first date and time of first end cards for which you want results'),
|
|
75
|
+
first_end_from_date: z
|
|
76
|
+
.string()
|
|
77
|
+
.optional()
|
|
78
|
+
.describe('The first date of first end cards for which you want results'),
|
|
79
|
+
first_end_to: z
|
|
80
|
+
.string()
|
|
81
|
+
.optional()
|
|
82
|
+
.describe('The last date and time of first end cards for which you want results'),
|
|
83
|
+
first_end_to_date: z
|
|
84
|
+
.string()
|
|
85
|
+
.optional()
|
|
86
|
+
.describe('The last date of first end cards for which you want results'),
|
|
87
|
+
first_start_from: z
|
|
88
|
+
.string()
|
|
89
|
+
.optional()
|
|
90
|
+
.describe('The first date and time of first start cards for which you want results'),
|
|
91
|
+
first_start_from_date: z
|
|
92
|
+
.string()
|
|
93
|
+
.optional()
|
|
94
|
+
.describe('The first date of first start cards for which you want results'),
|
|
95
|
+
first_start_to: z
|
|
96
|
+
.string()
|
|
97
|
+
.optional()
|
|
98
|
+
.describe('The last date and time of first start cards for which you want results'),
|
|
99
|
+
first_start_to_date: z
|
|
100
|
+
.string()
|
|
101
|
+
.optional()
|
|
102
|
+
.describe('The last date of first start cards for which you want results'),
|
|
103
|
+
in_current_position_since_from: z
|
|
104
|
+
.string()
|
|
105
|
+
.optional()
|
|
106
|
+
.describe('The first date and time of in current position since cards for which you want results'),
|
|
107
|
+
in_current_position_since_from_date: z
|
|
108
|
+
.string()
|
|
109
|
+
.optional()
|
|
110
|
+
.describe('The first date of in current position since cards for which you want results'),
|
|
111
|
+
in_current_position_since_to: z
|
|
112
|
+
.string()
|
|
113
|
+
.optional()
|
|
114
|
+
.describe('The last date and time of in current position since cards for which you want results'),
|
|
115
|
+
in_current_position_since_to_date: z
|
|
116
|
+
.string()
|
|
117
|
+
.optional()
|
|
118
|
+
.describe('The last date of in current position since cards for which you want results'),
|
|
119
|
+
last_end_from: z
|
|
120
|
+
.string()
|
|
121
|
+
.optional()
|
|
122
|
+
.describe('The first date and time of last end cards for which you want results'),
|
|
123
|
+
last_end_from_date: z
|
|
124
|
+
.string()
|
|
125
|
+
.optional()
|
|
126
|
+
.describe('The first date of last end cards for which you want results'),
|
|
127
|
+
last_end_to: z
|
|
128
|
+
.string()
|
|
129
|
+
.optional()
|
|
130
|
+
.describe('The last date and time of last end cards for which you want results'),
|
|
131
|
+
last_end_to_date: z
|
|
132
|
+
.string()
|
|
133
|
+
.optional()
|
|
134
|
+
.describe('The last date of last end cards for which you want results'),
|
|
135
|
+
last_modified_from: z
|
|
136
|
+
.string()
|
|
137
|
+
.optional()
|
|
138
|
+
.describe('The first date and time of last modified cards for which you want results'),
|
|
139
|
+
last_modified_from_date: z
|
|
140
|
+
.string()
|
|
141
|
+
.optional()
|
|
142
|
+
.describe('The first date of last modified cards for which you want results'),
|
|
143
|
+
last_modified_to: z
|
|
144
|
+
.string()
|
|
145
|
+
.optional()
|
|
146
|
+
.describe('The last date and time of last modified cards for which you want results'),
|
|
147
|
+
last_modified_to_date: z
|
|
148
|
+
.string()
|
|
149
|
+
.optional()
|
|
150
|
+
.describe('The last date of last modified cards for which you want results'),
|
|
151
|
+
last_start_from: z
|
|
152
|
+
.string()
|
|
153
|
+
.optional()
|
|
154
|
+
.describe('The first date and time of last start cards for which you want results'),
|
|
155
|
+
last_start_from_date: z
|
|
156
|
+
.string()
|
|
157
|
+
.optional()
|
|
158
|
+
.describe('The first date of last start cards for which you want results'),
|
|
159
|
+
last_start_to: z
|
|
160
|
+
.string()
|
|
161
|
+
.optional()
|
|
162
|
+
.describe('The last date and time of last start cards for which you want results'),
|
|
163
|
+
last_start_to_date: z
|
|
164
|
+
.string()
|
|
165
|
+
.optional()
|
|
166
|
+
.describe('The last date of last start cards for which you want results'),
|
|
167
|
+
// ID filters (arrays) - usando schemas comuns e estendendo
|
|
168
|
+
...idArrayFilters,
|
|
169
|
+
card_ids: z.array(z.number()).optional().describe('A list of the card ids that you want to get'),
|
|
170
|
+
last_column_ids: z
|
|
171
|
+
.array(z.number())
|
|
172
|
+
.optional()
|
|
173
|
+
.describe('A list of the last column ids for which you want to get the results. Applied only if state parameter is archived or discarded'),
|
|
174
|
+
last_lane_ids: z
|
|
175
|
+
.array(z.number())
|
|
176
|
+
.optional()
|
|
177
|
+
.describe('A list of the last lane ids for which you want to get the results. Applied only if state parameter is archived or discarded'),
|
|
178
|
+
owner_user_ids: z
|
|
179
|
+
.array(z.number())
|
|
180
|
+
.optional()
|
|
181
|
+
.describe('A list of the user ids of assignees for which you want to get the results'),
|
|
182
|
+
priorities: z
|
|
183
|
+
.array(z.number())
|
|
184
|
+
.optional()
|
|
185
|
+
.describe('A list of the priorities for which you want to get the results'),
|
|
186
|
+
reason_ids: z
|
|
187
|
+
.array(z.number())
|
|
188
|
+
.optional()
|
|
189
|
+
.describe('A list of the reasons ids for which you want to get the results'),
|
|
190
|
+
sections: z
|
|
191
|
+
.array(z.number())
|
|
192
|
+
.optional()
|
|
193
|
+
.describe('A list of the sections for which you want to get the results'),
|
|
194
|
+
sizes: z
|
|
195
|
+
.array(z.number())
|
|
196
|
+
.optional()
|
|
197
|
+
.describe('A list of the sizes for which you want to get the results'),
|
|
198
|
+
type_ids: z
|
|
199
|
+
.array(z.number())
|
|
200
|
+
.optional()
|
|
201
|
+
.describe('A list of the type ids for which you want to get the results'),
|
|
202
|
+
version_ids: z
|
|
203
|
+
.array(z.number())
|
|
204
|
+
.optional()
|
|
205
|
+
.describe('A list of the version ids for which you want to get the results'),
|
|
206
|
+
// String array filters
|
|
207
|
+
colors: z
|
|
208
|
+
.array(z.string())
|
|
209
|
+
.optional()
|
|
210
|
+
.describe('A list of the colors for which you want to get the results'),
|
|
211
|
+
custom_ids: z
|
|
212
|
+
.array(z.string())
|
|
213
|
+
.optional()
|
|
214
|
+
.describe('A list of the custom ids for which you want to get the results'),
|
|
215
|
+
// Configuration options
|
|
216
|
+
include_logged_time_for_child_cards: z
|
|
217
|
+
.number()
|
|
218
|
+
.optional()
|
|
219
|
+
.describe('Controls whether this include logged times for child cards (0 or 1)'),
|
|
220
|
+
include_logged_time_for_subtasks: z
|
|
221
|
+
.number()
|
|
222
|
+
.optional()
|
|
223
|
+
.describe('Controls whether this include logged times for subtasks (0 or 1)'),
|
|
224
|
+
// Pagination usando schema comum
|
|
225
|
+
...paginationSchema,
|
|
226
|
+
// Legacy compatibility
|
|
227
|
+
assignee_user_id: z
|
|
228
|
+
.number()
|
|
229
|
+
.optional()
|
|
230
|
+
.describe('Optional assignee user ID to filter cards (legacy parameter)'),
|
|
231
|
+
tag_ids: z
|
|
232
|
+
.array(z.number())
|
|
233
|
+
.optional()
|
|
234
|
+
.describe('Optional array of tag IDs to filter cards (legacy parameter)'),
|
|
235
|
+
});
|
|
236
|
+
// Schema básico para get card
|
|
237
|
+
export const getCardSchema = z.object({
|
|
238
|
+
card_id: z.number().describe('The ID of the card'),
|
|
239
|
+
});
|
|
240
|
+
// Schema para tamanho do card
|
|
241
|
+
export const cardSizeSchema = z.object({
|
|
242
|
+
card_id: z.number().describe('The ID of the card'),
|
|
243
|
+
size: z.number().optional().describe('The new size/points for the card'),
|
|
244
|
+
});
|
|
245
|
+
// Schema para comentários do card
|
|
246
|
+
export const cardCommentsSchema = z.object({
|
|
247
|
+
card_id: z.number().describe('The ID of the card'),
|
|
248
|
+
});
|
|
249
|
+
// Schema para obter um comentário específico
|
|
250
|
+
export const getCardCommentSchema = z.object({
|
|
251
|
+
card_id: z.number().describe('The ID of the card'),
|
|
252
|
+
comment_id: z.number().describe('The ID of the comment'),
|
|
253
|
+
});
|
|
254
|
+
// Schema para get card types (sem parâmetros)
|
|
255
|
+
export const getCardTypesSchema = z.object({});
|
|
256
|
+
// Schemas complexos para criação de cards
|
|
257
|
+
export const blockReasonSchema = z.object({
|
|
258
|
+
reason_id: z.number(),
|
|
259
|
+
comment: z.string(),
|
|
260
|
+
users: z.array(z.number()),
|
|
261
|
+
date: z.string(),
|
|
262
|
+
cards: z.array(z.number()),
|
|
263
|
+
});
|
|
264
|
+
export const stickerSchema = z.object({
|
|
265
|
+
sticker_id: z.number(),
|
|
266
|
+
if_not_present: z.number(),
|
|
267
|
+
});
|
|
268
|
+
export const customFieldValueSchema = z.object({
|
|
269
|
+
value_id: z.number(),
|
|
270
|
+
position: z.number(),
|
|
271
|
+
});
|
|
272
|
+
export const customFieldCardSchema = z.object({
|
|
273
|
+
selected_card_id: z.number(),
|
|
274
|
+
position: z.number(),
|
|
275
|
+
});
|
|
276
|
+
export const customFieldSchema = z.object({
|
|
277
|
+
field_id: z.number(),
|
|
278
|
+
value: z.string(),
|
|
279
|
+
selected_values_to_add_or_update: z.array(customFieldValueSchema).optional(),
|
|
280
|
+
selected_value_ids_to_remove: z.array(z.number()).optional(),
|
|
281
|
+
other_value: z.string().optional(),
|
|
282
|
+
contributor_ids_to_add: z.array(z.number()).optional(),
|
|
283
|
+
contributor_ids_to_remove: z.array(z.number()).optional(),
|
|
284
|
+
files_to_add: z.array(fileAttachmentSchema).optional(),
|
|
285
|
+
files_to_update: z.array(fileAttachmentWithIdSchema).optional(),
|
|
286
|
+
file_ids_to_remove: z.array(z.number()).optional(),
|
|
287
|
+
vote: z.number().optional(),
|
|
288
|
+
comment: z.string().optional(),
|
|
289
|
+
selected_cards_to_add_or_update: z.array(customFieldCardSchema).optional(),
|
|
290
|
+
selected_card_ids_to_remove: z.array(z.number()).optional(),
|
|
291
|
+
});
|
|
292
|
+
export const subtaskSchema = z.object({
|
|
293
|
+
description: z.string(),
|
|
294
|
+
owner_user_id: z.number(),
|
|
295
|
+
is_finished: z.number(),
|
|
296
|
+
deadline: z.string(),
|
|
297
|
+
position: z.number(),
|
|
298
|
+
attachments_to_add: z.array(fileAttachmentSchema),
|
|
299
|
+
});
|
|
300
|
+
export const annotationSchema = z.object({
|
|
301
|
+
comment_id: z.string(),
|
|
302
|
+
thread_id: z.string(),
|
|
303
|
+
content: z.string(),
|
|
304
|
+
});
|
|
305
|
+
export const cardLinkSchema = z.object({
|
|
306
|
+
linked_card_id: z.number(),
|
|
307
|
+
link_type: z.string(),
|
|
308
|
+
linked_card_position: z.number(),
|
|
309
|
+
card_position: z.number(),
|
|
310
|
+
});
|
|
311
|
+
export const newCardLinkSchema = z.object({
|
|
312
|
+
linked_new_card_reference: z.string(),
|
|
313
|
+
link_type: z.string(),
|
|
314
|
+
linked_card_position: z.number(),
|
|
315
|
+
card_position: z.number(),
|
|
316
|
+
});
|
|
317
|
+
export const cardPropertyToCopySchema = z.object({
|
|
318
|
+
properties: z.array(z.string()),
|
|
319
|
+
card_id: z.number(),
|
|
320
|
+
});
|
|
321
|
+
export const customFieldToCopySchema = z.object({
|
|
322
|
+
field_ids: z.array(z.number()),
|
|
323
|
+
card_id: z.number(),
|
|
324
|
+
});
|
|
325
|
+
export const columnChecklistItemSchema = z.object({
|
|
326
|
+
item_id: z.number(),
|
|
327
|
+
comment: z.string(),
|
|
328
|
+
});
|
|
329
|
+
// Schema principal para criação de cards
|
|
330
|
+
export const createCardSchema = z.object({
|
|
331
|
+
title: z.string().describe('The title of the card'),
|
|
332
|
+
column_id: z.number().describe('The ID of the column'),
|
|
333
|
+
// Campos opcionais básicos
|
|
334
|
+
template_id: z.number().optional().describe('Optional template ID'),
|
|
335
|
+
lane_id: z.number().optional().describe('Optional lane ID'),
|
|
336
|
+
position: z.number().optional().describe('Optional position'),
|
|
337
|
+
track: z.number().optional().describe('Optional track'),
|
|
338
|
+
description: z.string().optional().describe('Optional description for the card'),
|
|
339
|
+
custom_id: z.string().optional().describe('Optional custom ID'),
|
|
340
|
+
owner_user_id: z.number().optional().describe('Optional owner user ID'),
|
|
341
|
+
type_id: z.number().optional().describe('Optional card type ID'),
|
|
342
|
+
size: z.number().optional().describe('Optional card size/points'),
|
|
343
|
+
priority: z.number().optional().describe('Optional priority level'),
|
|
344
|
+
color: z.string().optional().describe('Optional color'),
|
|
345
|
+
deadline: z.string().optional().describe('Optional deadline (ISO date string)'),
|
|
346
|
+
reference: z.string().optional().describe('Optional reference'),
|
|
347
|
+
// Datas
|
|
348
|
+
planned_start_date_sync_type: z
|
|
349
|
+
.number()
|
|
350
|
+
.optional()
|
|
351
|
+
.describe('Optional planned start date sync type'),
|
|
352
|
+
planned_start_date: z.string().optional().describe('Optional planned start date'),
|
|
353
|
+
planned_end_date_sync_type: z.number().optional().describe('Optional planned end date sync type'),
|
|
354
|
+
planned_end_date: z.string().optional().describe('Optional planned end date'),
|
|
355
|
+
actual_start_time: z.string().optional().describe('Optional actual start time'),
|
|
356
|
+
actual_end_time: z.string().optional().describe('Optional actual end time'),
|
|
357
|
+
created_at: z.string().optional().describe('Optional creation date'),
|
|
358
|
+
archived_at: z.string().optional().describe('Optional archived date'),
|
|
359
|
+
discarded_at: z.string().optional().describe('Optional discarded date'),
|
|
360
|
+
// Status e flags
|
|
361
|
+
is_archived: z.number().optional().describe('Optional archived flag'),
|
|
362
|
+
is_discarded: z.number().optional().describe('Optional discarded flag'),
|
|
363
|
+
watch: z.number().optional().describe('Optional watch flag'),
|
|
364
|
+
version_id: z.number().optional().describe('Optional version ID'),
|
|
365
|
+
// Razões e comentários
|
|
366
|
+
block_reason: blockReasonSchema.optional().describe('Optional block reason'),
|
|
367
|
+
discard_reason_id: z.number().optional().describe('Optional discard reason ID'),
|
|
368
|
+
discard_comment: z.string().optional().describe('Optional discard comment'),
|
|
369
|
+
exceeding_reason: z.string().optional().describe('Optional exceeding reason'),
|
|
370
|
+
// Reporter
|
|
371
|
+
reporter_user_id: z.number().optional().describe('Optional reporter user ID'),
|
|
372
|
+
reporter_email: z.string().optional().describe('Optional reporter email'),
|
|
373
|
+
// Arrays de relacionamentos
|
|
374
|
+
card_properties_to_copy: z
|
|
375
|
+
.array(cardPropertyToCopySchema)
|
|
376
|
+
.optional()
|
|
377
|
+
.describe('Optional card properties to copy'),
|
|
378
|
+
custom_fields_to_copy: z
|
|
379
|
+
.array(customFieldToCopySchema)
|
|
380
|
+
.optional()
|
|
381
|
+
.describe('Optional custom fields to copy'),
|
|
382
|
+
co_owner_ids_to_add: z.array(z.number()).optional().describe('Optional co-owner IDs to add'),
|
|
383
|
+
co_owner_ids_to_remove: z
|
|
384
|
+
.array(z.number())
|
|
385
|
+
.optional()
|
|
386
|
+
.describe('Optional co-owner IDs to remove'),
|
|
387
|
+
watcher_ids_to_add: z.array(z.number()).optional().describe('Optional watcher IDs to add'),
|
|
388
|
+
watcher_ids_to_remove: z.array(z.number()).optional().describe('Optional watcher IDs to remove'),
|
|
389
|
+
stickers_to_add: z.array(stickerSchema).optional().describe('Optional stickers to add'),
|
|
390
|
+
tag_ids_to_add: z.array(z.number()).optional().describe('Optional tag IDs to add'),
|
|
391
|
+
tag_ids_to_remove: z.array(z.number()).optional().describe('Optional tag IDs to remove'),
|
|
392
|
+
milestone_ids_to_add: z.array(z.number()).optional().describe('Optional milestone IDs to add'),
|
|
393
|
+
milestone_ids_to_remove: z
|
|
394
|
+
.array(z.number())
|
|
395
|
+
.optional()
|
|
396
|
+
.describe('Optional milestone IDs to remove'),
|
|
397
|
+
// Campos customizados e anexos
|
|
398
|
+
custom_fields_to_add_or_update: z
|
|
399
|
+
.array(customFieldSchema)
|
|
400
|
+
.optional()
|
|
401
|
+
.describe('Optional custom fields to add or update'),
|
|
402
|
+
custom_field_ids_to_remove: z
|
|
403
|
+
.array(z.number())
|
|
404
|
+
.optional()
|
|
405
|
+
.describe('Optional custom field IDs to remove'),
|
|
406
|
+
attachments_to_add: z
|
|
407
|
+
.array(fileAttachmentSchema)
|
|
408
|
+
.optional()
|
|
409
|
+
.describe('Optional attachments to add'),
|
|
410
|
+
cover_image_link: z.string().optional().describe('Optional cover image link'),
|
|
411
|
+
// Subtasks e checklists
|
|
412
|
+
subtasks_to_add: z.array(subtaskSchema).optional().describe('Optional subtasks to add'),
|
|
413
|
+
column_checklist_items_to_check_or_update: z
|
|
414
|
+
.array(columnChecklistItemSchema)
|
|
415
|
+
.optional()
|
|
416
|
+
.describe('Optional column checklist items to check or update'),
|
|
417
|
+
// Anotações e links
|
|
418
|
+
annotations_to_add: z.array(annotationSchema).optional().describe('Optional annotations to add'),
|
|
419
|
+
links_to_existing_cards_to_add_or_update: z
|
|
420
|
+
.array(cardLinkSchema)
|
|
421
|
+
.optional()
|
|
422
|
+
.describe('Optional links to existing cards to add or update'),
|
|
423
|
+
links_to_new_cards_to_add: z
|
|
424
|
+
.array(newCardLinkSchema)
|
|
425
|
+
.optional()
|
|
426
|
+
.describe('Optional links to new cards to add'),
|
|
427
|
+
});
|
|
428
|
+
// Schema para movimentação de cards
|
|
429
|
+
export const moveCardSchema = z.object({
|
|
430
|
+
card_id: z.number().describe('The ID of the card to move'),
|
|
431
|
+
column_id: z.number().describe('The target column ID'),
|
|
432
|
+
lane_id: z.number().optional().describe('Optional target lane ID'),
|
|
433
|
+
position: z.number().optional().describe('Optional position in the column'),
|
|
434
|
+
});
|
|
435
|
+
// Schema para atualização de cards
|
|
436
|
+
export const updateCardSchema = z.object({
|
|
437
|
+
card_id: z.number().describe('The ID of the card to update'),
|
|
438
|
+
id: z.number().optional().describe('Alternative ID field'),
|
|
439
|
+
title: z.string().optional().describe('New title for the card'),
|
|
440
|
+
description: z.string().optional().describe('New description for the card'),
|
|
441
|
+
column_id: z.number().optional().describe('New column ID'),
|
|
442
|
+
lane_id: z.number().optional().describe('New lane ID'),
|
|
443
|
+
position: z.number().optional().describe('New position'),
|
|
444
|
+
owner_user_id: z.number().optional().describe('New owner user ID'),
|
|
445
|
+
assignee_user_id: z.number().optional().describe('New assignee user ID'),
|
|
446
|
+
size: z.number().optional().describe('New card size/points'),
|
|
447
|
+
priority: z.string().optional().describe('New priority level'),
|
|
448
|
+
deadline: z.string().optional().describe('New deadline (ISO date string)'),
|
|
449
|
+
});
|
|
450
|
+
//# sourceMappingURL=card-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-schemas.js","source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MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IAC/D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAC3E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC;IAC1D,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;IACtD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;IACxD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAClE,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IACxE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAC5D,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC9D,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CAC3E,CAAC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const dateTimeFilterSchema: {
|
|
3
|
+
from: z.ZodOptional<z.ZodString>;
|
|
4
|
+
from_date: z.ZodOptional<z.ZodString>;
|
|
5
|
+
to: z.ZodOptional<z.ZodString>;
|
|
6
|
+
to_date: z.ZodOptional<z.ZodString>;
|
|
7
|
+
};
|
|
8
|
+
export declare const paginationSchema: {
|
|
9
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
};
|
|
12
|
+
export declare const idArrayFilters: {
|
|
13
|
+
board_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
14
|
+
column_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
15
|
+
lane_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
16
|
+
workflow_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
17
|
+
};
|
|
18
|
+
export declare const fileAttachmentSchema: z.ZodObject<{
|
|
19
|
+
file_name: z.ZodString;
|
|
20
|
+
link: z.ZodString;
|
|
21
|
+
position: z.ZodNumber;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
position: number;
|
|
24
|
+
link: string;
|
|
25
|
+
file_name: string;
|
|
26
|
+
}, {
|
|
27
|
+
position: number;
|
|
28
|
+
link: string;
|
|
29
|
+
file_name: string;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const fileAttachmentWithIdSchema: z.ZodObject<{
|
|
32
|
+
id: z.ZodNumber;
|
|
33
|
+
file_name: z.ZodString;
|
|
34
|
+
link: z.ZodString;
|
|
35
|
+
position: z.ZodNumber;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
id: number;
|
|
38
|
+
position: number;
|
|
39
|
+
link: string;
|
|
40
|
+
file_name: string;
|
|
41
|
+
}, {
|
|
42
|
+
id: number;
|
|
43
|
+
position: number;
|
|
44
|
+
link: string;
|
|
45
|
+
file_name: string;
|
|
46
|
+
}>;
|
|
47
|
+
//# sourceMappingURL=common-schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/common-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,oBAAoB;;;;;CAKhC,CAAC;AAGF,eAAO,MAAM,gBAAgB;;;CAa5B,CAAC;AAGF,eAAO,MAAM,cAAc;;;;;CAqB1B,CAAC;AAGF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAGH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKrC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
// Common schemas that are reused across different modules
|
|
3
|
+
// Date and time filters
|
|
4
|
+
export const dateTimeFilterSchema = {
|
|
5
|
+
from: z.string().optional(),
|
|
6
|
+
from_date: z.string().optional(),
|
|
7
|
+
to: z.string().optional(),
|
|
8
|
+
to_date: z.string().optional(),
|
|
9
|
+
};
|
|
10
|
+
// Pagination
|
|
11
|
+
export const paginationSchema = {
|
|
12
|
+
page: z
|
|
13
|
+
.number()
|
|
14
|
+
.optional()
|
|
15
|
+
.describe('Results are always paginated and returned in pages. This parameter controls which page is returned'),
|
|
16
|
+
per_page: z
|
|
17
|
+
.number()
|
|
18
|
+
.optional()
|
|
19
|
+
.describe('Controls how many results are returned per page. The default value is 200 and the maximum is 1000'),
|
|
20
|
+
};
|
|
21
|
+
// ID array filters
|
|
22
|
+
export const idArrayFilters = {
|
|
23
|
+
board_ids: z
|
|
24
|
+
.array(z.number())
|
|
25
|
+
.optional()
|
|
26
|
+
.describe('A list of the board ids for which you want to get the results'),
|
|
27
|
+
column_ids: z
|
|
28
|
+
.array(z.number())
|
|
29
|
+
.optional()
|
|
30
|
+
.describe('A list of the column ids for which you want to get the results. Applied only if state parameter is active'),
|
|
31
|
+
lane_ids: z
|
|
32
|
+
.array(z.number())
|
|
33
|
+
.optional()
|
|
34
|
+
.describe('A list of the lane ids for which you want to get the results. Applied only if state parameter is active'),
|
|
35
|
+
workflow_ids: z
|
|
36
|
+
.array(z.number())
|
|
37
|
+
.optional()
|
|
38
|
+
.describe('A list of the workflows ids for which you want to get the results'),
|
|
39
|
+
};
|
|
40
|
+
// File attachment schema
|
|
41
|
+
export const fileAttachmentSchema = z.object({
|
|
42
|
+
file_name: z.string(),
|
|
43
|
+
link: z.string(),
|
|
44
|
+
position: z.number(),
|
|
45
|
+
});
|
|
46
|
+
// File attachment with ID schema
|
|
47
|
+
export const fileAttachmentWithIdSchema = z.object({
|
|
48
|
+
id: z.number(),
|
|
49
|
+
file_name: z.string(),
|
|
50
|
+
link: z.string(),
|
|
51
|
+
position: z.number(),
|
|
52
|
+
});
|
|
53
|
+
//# sourceMappingURL=common-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common-schemas.js","sourceRoot":"","sources":["../../src/schemas/common-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,0DAA0D;AAE1D,wBAAwB;AACxB,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC;AAEF,aAAa;AACb,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,oGAAoG,CACrG;IACH,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mGAAmG,CACpG;CACJ,CAAC;AAEF,mBAAmB;AACnB,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,+DAA+D,CAAC;IAC5E,UAAU,EAAE,CAAC;SACV,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,2GAA2G,CAC5G;IACH,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,yGAAyG,CAC1G;IACH,YAAY,EAAE,CAAC;SACZ,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,mEAAmE,CAAC;CACjF,CAAC;AAEF,yBAAyB;AACzB,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC;AAEH,iCAAiC;AACjC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const getCustomFieldSchema: z.ZodObject<{
|
|
3
|
+
custom_field_id: z.ZodNumber;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
custom_field_id: number;
|
|
6
|
+
}, {
|
|
7
|
+
custom_field_id: number;
|
|
8
|
+
}>;
|
|
9
|
+
//# sourceMappingURL=custom-field-schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/custom-field-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field-schemas.js","sourceRoot":"","sources":["../../src/schemas/custom-field-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,2DAA2D;AAC3D,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;CACnE,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './board-schemas.js';
|
|
2
|
+
export * from './card-schemas.js';
|
|
3
|
+
export * from './common-schemas.js';
|
|
4
|
+
export * from './custom-field-schemas.js';
|
|
5
|
+
export * from './user-schemas.js';
|
|
6
|
+
export * from './utility-schemas.js';
|
|
7
|
+
export * from './workflow-schemas.js';
|
|
8
|
+
export * from './workspace-schemas.js';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AACA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Re-export all schemas for easy importing
|
|
2
|
+
export * from './board-schemas.js';
|
|
3
|
+
export * from './card-schemas.js';
|
|
4
|
+
export * from './common-schemas.js';
|
|
5
|
+
export * from './custom-field-schemas.js';
|
|
6
|
+
export * from './user-schemas.js';
|
|
7
|
+
export * from './utility-schemas.js';
|
|
8
|
+
export * from './workflow-schemas.js';
|
|
9
|
+
export * from './workspace-schemas.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"}
|