@bugbug-io/api-schema 13.39.1

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.
Files changed (62) hide show
  1. package/README.md +39 -0
  2. package/dist/generated/v2.d.ts +7989 -0
  3. package/dist/generated/v2.d.ts.map +1 -0
  4. package/dist/generated/v2.js +6 -0
  5. package/dist/generated/v2.js.map +1 -0
  6. package/dist/index.d.ts +12 -0
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +11 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/schemas/_paginated.d.ts +16 -0
  11. package/dist/schemas/_paginated.d.ts.map +1 -0
  12. package/dist/schemas/_paginated.js +12 -0
  13. package/dist/schemas/_paginated.js.map +1 -0
  14. package/dist/schemas/common.d.ts +7 -0
  15. package/dist/schemas/common.d.ts.map +1 -0
  16. package/dist/schemas/common.js +12 -0
  17. package/dist/schemas/common.js.map +1 -0
  18. package/dist/schemas/enums.d.ts +34 -0
  19. package/dist/schemas/enums.d.ts.map +1 -0
  20. package/dist/schemas/enums.js +160 -0
  21. package/dist/schemas/enums.js.map +1 -0
  22. package/dist/schemas/index.d.ts +10 -0
  23. package/dist/schemas/index.d.ts.map +1 -0
  24. package/dist/schemas/index.js +10 -0
  25. package/dist/schemas/index.js.map +1 -0
  26. package/dist/schemas/profiles.d.ts +48 -0
  27. package/dist/schemas/profiles.d.ts.map +1 -0
  28. package/dist/schemas/profiles.js +12 -0
  29. package/dist/schemas/profiles.js.map +1 -0
  30. package/dist/schemas/projects.d.ts +64 -0
  31. package/dist/schemas/projects.d.ts.map +1 -0
  32. package/dist/schemas/projects.js +14 -0
  33. package/dist/schemas/projects.js.map +1 -0
  34. package/dist/schemas/runs.d.ts +524 -0
  35. package/dist/schemas/runs.d.ts.map +1 -0
  36. package/dist/schemas/runs.js +101 -0
  37. package/dist/schemas/runs.js.map +1 -0
  38. package/dist/schemas/selectors.d.ts +308 -0
  39. package/dist/schemas/selectors.d.ts.map +1 -0
  40. package/dist/schemas/selectors.js +43 -0
  41. package/dist/schemas/selectors.js.map +1 -0
  42. package/dist/schemas/steps.d.ts +22022 -0
  43. package/dist/schemas/steps.d.ts.map +1 -0
  44. package/dist/schemas/steps.js +384 -0
  45. package/dist/schemas/steps.js.map +1 -0
  46. package/dist/schemas/suites.d.ts +133 -0
  47. package/dist/schemas/suites.d.ts.map +1 -0
  48. package/dist/schemas/suites.js +30 -0
  49. package/dist/schemas/suites.js.map +1 -0
  50. package/dist/schemas/tests.d.ts +62 -0
  51. package/dist/schemas/tests.d.ts.map +1 -0
  52. package/dist/schemas/tests.js +22 -0
  53. package/dist/schemas/tests.js.map +1 -0
  54. package/dist/step-error-codes.d.ts +11 -0
  55. package/dist/step-error-codes.d.ts.map +1 -0
  56. package/dist/step-error-codes.js +81 -0
  57. package/dist/step-error-codes.js.map +1 -0
  58. package/dist/types.d.ts +124 -0
  59. package/dist/types.d.ts.map +1 -0
  60. package/dist/types.js +7 -0
  61. package/dist/types.js.map +1 -0
  62. package/package.json +91 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../src/schemas/steps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2BxB,QAAA,MAAM,mBAAmB,grHAKxB,CAAC;AACF,QAAA,MAAM,gBAAgB,6BAEoC,CAAC;AAiF3D,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AU,sHAMtB,CAAC;AAaF,eAAO,MAAM,gBAAgB,sHAA2D,CAAC;AACzF,eAAO,MAAM,gBAAgB,sHAA2D,CAAC;AAEzF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAuCV,CAAC;AAEjB,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,384 @@
1
+ /**
2
+ * Step schemas — one literal-typed Zod object per BugBug step type, combined into
3
+ * the discriminated unions `StepSchema` / `StepCreateSchema` / `StepUpdateSchema`.
4
+ *
5
+ * Used by MCP to:
6
+ * - validate step-tool inputs
7
+ * - emit JSON Schemas for LLMs via `zod-to-json-schema`
8
+ *
9
+ * Imported by SDK consumers strictly as types (via `z.infer` re-exports).
10
+ */
11
+ import { z } from 'zod';
12
+ import { STEP_ERROR_CODES } from '../step-error-codes';
13
+ import { StepTimingSecondsSchema, UuidSchema } from './common';
14
+ import { AssertionPropertySchema, AssertionTypeSchema, DragAndDropTargetSchema, InteractionPositionSchema, ScrollDirectionSchema, ScrollEdgeSchema, ScrollInsideSchema, ScrollToSchema, SelectTypeSchema, StatusSchema, WaitingConditionTypeSchema, } from './enums';
15
+ import { SelectorsPresetSchema } from './selectors';
16
+ const WaitingConditionSchema = z
17
+ .object({
18
+ type: WaitingConditionTypeSchema,
19
+ expected: z.string().nullable().describe('Expected value for the waiting condition, if any.'),
20
+ })
21
+ .passthrough();
22
+ const StepErrorCodeSchema = z.enum(STEP_ERROR_CODES);
23
+ const StepSourceSchema = z
24
+ .enum(['api', 'agent'])
25
+ .describe('Creation source for public API step writes.');
26
+ const StepBaseSchema = z
27
+ .object({
28
+ id: UuidSchema.describe('Step UUID. Omit when creating a new step.'),
29
+ atIndex: z.number().nullable().describe('Insert position within the group.'),
30
+ name: z.string().nullable().optional().describe('Human-readable step name.'),
31
+ blockId: UuidSchema.nullable()
32
+ .optional()
33
+ .describe('Id of step representing a block start eg. ifCondition step'),
34
+ groupId: UuidSchema.nullable().describe('Owning group UUID for the step.'),
35
+ originGroupId: UuidSchema.optional().describe('Original group UUID from the API response. Omit when creating a new step.'),
36
+ notes: z.string().nullable().optional().describe('Optional step notes.'),
37
+ isActive: z.boolean().optional().describe('Whether the step is enabled.'),
38
+ runTimeout: StepTimingSecondsSchema.describe('Maximum execution time in seconds before the step times out. If not defined, default project settings will be used.'),
39
+ sleep: StepTimingSecondsSchema.describe('Delay in seconds before running the step. If not defined, default project settings will be used.'),
40
+ continueOnFailure: z
41
+ .boolean()
42
+ .optional()
43
+ .describe('Whether the run should continue after a fail.'),
44
+ waitingConditions: z
45
+ .array(WaitingConditionSchema.extend({
46
+ isActive: z.boolean(),
47
+ isOverridden: z
48
+ .boolean()
49
+ .default(true)
50
+ .describe('Required when overriding default waiting condition config.'),
51
+ timeout: z
52
+ .number()
53
+ .nullable()
54
+ .optional()
55
+ .default(null)
56
+ .describe('Custom waiting condition timeout'),
57
+ }))
58
+ .optional()
59
+ .describe('Optional waiting conditions evaluated around the step.'),
60
+ selectorsPresets: z
61
+ .array(SelectorsPresetSchema)
62
+ .optional()
63
+ .describe('Element selector presets required by element-targeting steps variants.'),
64
+ source: StepSourceSchema.optional().describe('Optional creation source. Direct API and SDK clients should use api; agent/MCP clients should use agent.'),
65
+ })
66
+ .passthrough();
67
+ const omitStepRuntimeFields = (schema) => schema.omit({
68
+ id: true,
69
+ originGroupId: true,
70
+ });
71
+ const toStepPatchSchema = (schema) => {
72
+ const createSchema = omitStepRuntimeFields(schema).omit({
73
+ source: true,
74
+ });
75
+ return createSchema.partial().extend({
76
+ type: createSchema.shape.type,
77
+ });
78
+ };
79
+ const asNonEmptyDiscriminatedOptions = (schemas) => {
80
+ const [first, ...rest] = schemas;
81
+ if (!first) {
82
+ throw new Error('Expected at least one step schema');
83
+ }
84
+ return [first, ...rest];
85
+ };
86
+ export const AnswerPromptStepSchema = StepBaseSchema.extend({
87
+ type: z.literal('answerPrompt').describe('Respond to a browser prompt dialog.'),
88
+ value: z.string().describe('Prompt response value.'),
89
+ });
90
+ export const AssertStepSchema = StepBaseSchema.extend({
91
+ type: z.literal('assert').describe('Create an assertion step.'),
92
+ selectorsPresets: z
93
+ .array(SelectorsPresetSchema)
94
+ .describe('Target selectors used by the element-related assertion.'),
95
+ assertionProperty: AssertionPropertySchema.describe('Assertion property to inspect, for example text or value.'),
96
+ assertionType: AssertionTypeSchema.describe('Assertion operator used by BugBug.'),
97
+ assertionExpectedValue: z
98
+ .string()
99
+ .nullable()
100
+ .describe('Expected assertion value when applicable.'),
101
+ assertionJavaScript: z
102
+ .string()
103
+ .nullable()
104
+ .describe('Custom JavaScript used by script-based assertions.'),
105
+ assertionVariableName: z
106
+ .string()
107
+ .nullable()
108
+ .describe('Variable name used by variable-based assertions.'),
109
+ });
110
+ export const PasteFromClipboardStepSchema = StepBaseSchema.extend({
111
+ type: z
112
+ .literal('pasteFromClipboard')
113
+ .describe('Paste clipboard contents into the active element.'),
114
+ });
115
+ export const ChangeStepSchema = StepBaseSchema.extend({
116
+ type: z.literal('change').describe('Change the value of the targeted element.'),
117
+ value: z.string().describe('Value to set on the target element.'),
118
+ });
119
+ export const ClearStepSchema = StepBaseSchema.extend({
120
+ type: z.literal('clear').describe('Clear the value of the targeted element.'),
121
+ });
122
+ const ClickStepShape = {
123
+ interactionPosition: InteractionPositionSchema.describe('Click position relative to the target element.'),
124
+ selectorsPresets: z
125
+ .array(SelectorsPresetSchema)
126
+ .describe('Target selectors used to locate the element.'),
127
+ };
128
+ export const ClickStepSchema = StepBaseSchema.extend({
129
+ type: z.literal('click').describe('Perform a click on the targeted element.'),
130
+ ...ClickStepShape,
131
+ });
132
+ export const DoubleClickStepSchema = StepBaseSchema.extend({
133
+ type: z.literal('dblClick').describe('Perform a double click on the targeted element.'),
134
+ ...ClickStepShape,
135
+ });
136
+ export const RightClickStepSchema = StepBaseSchema.extend({
137
+ type: z.literal('rightClick').describe('Perform a right click on the targeted element.'),
138
+ ...ClickStepShape,
139
+ });
140
+ export const CloseTabStepSchema = StepBaseSchema.extend({
141
+ type: z.literal('closeTab').describe('Close the current browser tab.'),
142
+ });
143
+ export const DragAndDropStepSchema = StepBaseSchema.extend({
144
+ type: z.literal('dragAndDrop').describe('Drag from one element and drop onto another.'),
145
+ dndDragOn: DragAndDropTargetSchema.describe('Whether dragging starts from coordinates or an element.'),
146
+ interactionPosition: InteractionPositionSchema.describe('Drag start position relative to the target element.'),
147
+ dndDragX: z
148
+ .number()
149
+ .nullable()
150
+ .optional()
151
+ .describe('Drag start X coordinate when dragging by coordinates.'),
152
+ dndDragY: z
153
+ .number()
154
+ .nullable()
155
+ .optional()
156
+ .describe('Drag start Y coordinate when dragging by coordinates.'),
157
+ dndDropOn: DragAndDropTargetSchema.describe('Whether dropping targets coordinates or an element.'),
158
+ dndDropInteractionPosition: InteractionPositionSchema.describe('Drop position relative to the target element.'),
159
+ dndDropX: z
160
+ .number()
161
+ .nullable()
162
+ .optional()
163
+ .describe('Drop X coordinate when dropping by coordinates.'),
164
+ dndDropY: z
165
+ .number()
166
+ .nullable()
167
+ .optional()
168
+ .describe('Drop Y coordinate when dropping by coordinates.'),
169
+ dndDropSelectorsPresets: z
170
+ .array(SelectorsPresetSchema)
171
+ .optional()
172
+ .describe('Target selectors used to locate the drop element.'),
173
+ });
174
+ export const ExecuteStepSchema = StepBaseSchema.extend({
175
+ type: z.literal('execute').describe('Execute custom JavaScript in the page context.'),
176
+ code: z.string().describe('JavaScript source code to execute.'),
177
+ });
178
+ export const GotoStepSchema = StepBaseSchema.extend({
179
+ type: z.literal('goto').describe('Navigate the browser to a URL.'),
180
+ url: z.string().describe('Absolute URL to open.'),
181
+ });
182
+ export const HoverStepSchema = StepBaseSchema.extend({
183
+ type: z.literal('hover').describe('Hover over the targeted element.'),
184
+ interactionPosition: InteractionPositionSchema.describe('Hover position relative to the target element.'),
185
+ selectorsPresets: z
186
+ .array(SelectorsPresetSchema)
187
+ .describe('Target selectors used to locate the element.'),
188
+ });
189
+ export const MouseDownStepSchema = StepBaseSchema.extend({
190
+ type: z.literal('mouseDown').describe('Press the mouse button on the targeted element.'),
191
+ interactionPosition: InteractionPositionSchema.describe('Mouse-down position relative to the target element.'),
192
+ selectorsPresets: z
193
+ .array(SelectorsPresetSchema)
194
+ .describe('Target selectors used to locate the element.'),
195
+ });
196
+ export const MouseUpStepSchema = StepBaseSchema.extend({
197
+ type: z.literal('mouseUp').describe('Release the mouse button on the targeted element.'),
198
+ interactionPosition: InteractionPositionSchema.describe('Mouse-up position relative to the target element.'),
199
+ selectorsPresets: z
200
+ .array(SelectorsPresetSchema)
201
+ .describe('Target selectors used to locate the element.'),
202
+ });
203
+ export const NewTabStepSchema = StepBaseSchema.extend({
204
+ type: z.literal('newTab').describe('Open a new browser tab.'),
205
+ url: z.string().nullable().optional().describe('URL to open in the new tab.'),
206
+ username: z
207
+ .string()
208
+ .nullable()
209
+ .optional()
210
+ .describe('Optional username for basic authentication.'),
211
+ password: z
212
+ .string()
213
+ .nullable()
214
+ .optional()
215
+ .describe('Optional password for basic authentication.'),
216
+ });
217
+ export const ReloadPageStepSchema = StepBaseSchema.extend({
218
+ type: z.literal('reloadPage').describe('Reload the current page.'),
219
+ });
220
+ export const ScrollStepSchema = StepBaseSchema.extend({
221
+ type: z.literal('scroll').describe('Scroll the page or target element.'),
222
+ scrollX: z.number().nullable().optional().describe('Horizontal scroll coordinate.'),
223
+ scrollY: z.number().nullable().optional().describe('Vertical scroll coordinate.'),
224
+ scrollEdge: ScrollEdgeSchema.optional(),
225
+ scrollDirection: ScrollDirectionSchema.optional().describe('Scroll direction.'),
226
+ scrollTo: ScrollToSchema,
227
+ scrollInside: ScrollInsideSchema,
228
+ });
229
+ export const SelectStepSchema = StepBaseSchema.extend({
230
+ type: z.literal('select').describe('Select an option in the targeted select element.'),
231
+ value: z.string().describe('Option value or label to select.'),
232
+ selectType: SelectTypeSchema,
233
+ selectIsMultiple: z.boolean().describe('Whether the target select allows multiple values.'),
234
+ });
235
+ export const SetLocalVariableStepSchema = StepBaseSchema.extend({
236
+ type: z.literal('setLocalVariable').describe('Store a value in a local BugBug variable.'),
237
+ value: z.string().optional().describe('Literal value to store when using the value source.'),
238
+ code: z
239
+ .string()
240
+ .nullable()
241
+ .optional()
242
+ .describe('JavaScript source used when evaluating a variable value.'),
243
+ localVariableName: z.string().describe('Variable name to assign.'),
244
+ localVariableSource: z
245
+ .enum(['element', 'value', 'evaluate'])
246
+ .describe('Source used to populate the variable.'),
247
+ });
248
+ export const SwitchContextStepSchema = StepBaseSchema.extend({
249
+ type: z.literal('switchContext').describe('Switch execution context to another browser tab.'),
250
+ tabNo: z.number().describe('Tab index to activate.'),
251
+ });
252
+ export const TypeStepSchema = StepBaseSchema.extend({
253
+ type: z.literal('type').describe('Type text into the targeted element.'),
254
+ value: z.string().describe('Text to type.'),
255
+ });
256
+ export const UploadStepSchema = StepBaseSchema.extend({
257
+ type: z.literal('uploadFile').describe('Upload a project artifact into the targeted file input.'),
258
+ projectArtifactId: UuidSchema.describe('Project artifact UUID to upload.'),
259
+ });
260
+ export const GoBackStepSchema = StepBaseSchema.extend({
261
+ type: z.literal('goBack').describe('Navigate the browser back in history.'),
262
+ });
263
+ export const GoForwardStepSchema = StepBaseSchema.extend({
264
+ type: z.literal('goForward').describe('Navigate the browser forward in history.'),
265
+ });
266
+ export const IfConditionStepSchema = StepBaseSchema.extend({
267
+ type: z.literal('ifCondition').describe('Branch execution based on an assertion condition.'),
268
+ selectorsPresets: z
269
+ .array(SelectorsPresetSchema)
270
+ .optional()
271
+ .describe('Target selectors used to locate the element for the condition.'),
272
+ assertionProperty: AssertionPropertySchema.describe('Assertion property to inspect for the branch condition.'),
273
+ assertionType: AssertionTypeSchema.describe('Assertion operator used to evaluate the branch condition.'),
274
+ assertionExpectedValue: z
275
+ .string()
276
+ .nullable()
277
+ .describe('Expected assertion value when applicable.'),
278
+ assertionJavaScript: z
279
+ .string()
280
+ .nullable()
281
+ .describe('Custom JavaScript used by script-based conditions.'),
282
+ assertionVariableName: z
283
+ .string()
284
+ .nullable()
285
+ .describe('Variable name used by variable-based conditions.'),
286
+ });
287
+ export const ElementVisualRegressionStepSchema = StepBaseSchema.extend({
288
+ type: z
289
+ .literal('elementVisualRegression')
290
+ .describe('Perform a visual regression check on a targeted element.'),
291
+ selectorsPresets: z
292
+ .array(SelectorsPresetSchema)
293
+ .describe('Target selectors used to locate the element for comparison.'),
294
+ visualRegressionMaxDiff: z
295
+ .number()
296
+ .nullable()
297
+ .optional()
298
+ .describe('Maximum allowed pixel difference percentage (0–100).'),
299
+ });
300
+ export const PageVisualRegressionStepSchema = StepBaseSchema.extend({
301
+ type: z
302
+ .literal('pageVisualRegression')
303
+ .describe('Perform a visual regression check on the full page.'),
304
+ visualRegressionMaxDiff: z
305
+ .number()
306
+ .nullable()
307
+ .optional()
308
+ .describe('Maximum allowed pixel difference percentage (0–100).'),
309
+ });
310
+ const allStepsSchemas = [
311
+ AnswerPromptStepSchema,
312
+ AssertStepSchema,
313
+ PasteFromClipboardStepSchema,
314
+ ChangeStepSchema,
315
+ ClearStepSchema,
316
+ ClickStepSchema,
317
+ DoubleClickStepSchema,
318
+ RightClickStepSchema,
319
+ CloseTabStepSchema,
320
+ DragAndDropStepSchema,
321
+ ElementVisualRegressionStepSchema,
322
+ ExecuteStepSchema,
323
+ GotoStepSchema,
324
+ GoBackStepSchema,
325
+ GoForwardStepSchema,
326
+ HoverStepSchema,
327
+ IfConditionStepSchema,
328
+ MouseDownStepSchema,
329
+ MouseUpStepSchema,
330
+ NewTabStepSchema,
331
+ PageVisualRegressionStepSchema,
332
+ ReloadPageStepSchema,
333
+ ScrollStepSchema,
334
+ SelectStepSchema,
335
+ SetLocalVariableStepSchema,
336
+ SwitchContextStepSchema,
337
+ TypeStepSchema,
338
+ UploadStepSchema,
339
+ ];
340
+ export const StepSchema = z.discriminatedUnion('type', allStepsSchemas);
341
+ const CREATE_STEP_SCHEMA_OPTIONS = asNonEmptyDiscriminatedOptions(allStepsSchemas.map((schema) => omitStepRuntimeFields(schema)));
342
+ const UPDATE_STEP_SCHEMA_OPTIONS = asNonEmptyDiscriminatedOptions(allStepsSchemas.map((schema) => toStepPatchSchema(schema)));
343
+ export const StepCreateSchema = z.discriminatedUnion('type', CREATE_STEP_SCHEMA_OPTIONS);
344
+ export const StepUpdateSchema = z.discriminatedUnion('type', UPDATE_STEP_SCHEMA_OPTIONS);
345
+ export const StepRunSchema = z
346
+ .object({
347
+ id: UuidSchema.describe('Step run UUID.'),
348
+ stepId: UuidSchema.nullable()
349
+ .optional()
350
+ .describe('Original step UUID associated with this run, if available.'),
351
+ type: z.string().optional().describe('Executed step type.'),
352
+ status: StatusSchema.optional().describe('Execution status of the step run.'),
353
+ screenshotUrl: z
354
+ .string()
355
+ .optional()
356
+ .describe('Screenshot URL captured for this step run, when available.'),
357
+ errorCode: StepErrorCodeSchema.nullable()
358
+ .optional()
359
+ .describe('Structured BugBug error code for the failed step run, if any.'),
360
+ error: z
361
+ .string()
362
+ .nullable()
363
+ .optional()
364
+ .describe('Human-readable error message for the step run, if any.'),
365
+ duration: z.string().nullable().optional().describe('Execution duration reported by the API.'),
366
+ waitingConditions: z
367
+ .array(WaitingConditionSchema.extend({
368
+ isSuccess: z.boolean().describe('Whether the condition passed.'),
369
+ isSoftSuccess: z
370
+ .boolean()
371
+ .optional()
372
+ .describe('Whether the condition passed softly with warnings.'),
373
+ isIgnored: z.boolean().optional().describe('Whether the condition result is ignored.'),
374
+ current: z
375
+ .string()
376
+ .nullable()
377
+ .optional()
378
+ .describe('Observed value for the waiting condition, if any.'),
379
+ }))
380
+ .describe('Waiting conditions evaluated during the step run.'),
381
+ })
382
+ .passthrough();
383
+ export { StepErrorCodeSchema, StepSourceSchema };
384
+ //# sourceMappingURL=steps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"steps.js","sourceRoot":"","sources":["../../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AE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;QACtF,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,EAAE;aACV,QAAQ,CAAC,mDAAmD,CAAC;KACjE,CAAC,CACH;SACA,QAAQ,CAAC,mDAAmD,CAAC;CACjE,CAAC;KACD,WAAW,EAAE,CAAC;AAEjB,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,133 @@
1
+ import { z } from 'zod';
2
+ export declare const SuiteSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodNullable<z.ZodString>;
5
+ testsCount: z.ZodNumber;
6
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
7
+ autoAddNewTests: z.ZodBoolean;
8
+ autoRetry: z.ZodNumber;
9
+ notes: z.ZodNullable<z.ZodString>;
10
+ runInParallel: z.ZodBoolean;
11
+ runProfileId: z.ZodNullable<z.ZodString>;
12
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13
+ id: z.ZodString;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ testsCount: z.ZodNumber;
16
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
17
+ autoAddNewTests: z.ZodBoolean;
18
+ autoRetry: z.ZodNumber;
19
+ notes: z.ZodNullable<z.ZodString>;
20
+ runInParallel: z.ZodBoolean;
21
+ runProfileId: z.ZodNullable<z.ZodString>;
22
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
23
+ id: z.ZodString;
24
+ name: z.ZodNullable<z.ZodString>;
25
+ testsCount: z.ZodNumber;
26
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
27
+ autoAddNewTests: z.ZodBoolean;
28
+ autoRetry: z.ZodNumber;
29
+ notes: z.ZodNullable<z.ZodString>;
30
+ runInParallel: z.ZodBoolean;
31
+ runProfileId: z.ZodNullable<z.ZodString>;
32
+ }, z.ZodTypeAny, "passthrough">>;
33
+ export declare const SuiteDetailsSchema: z.ZodObject<{
34
+ id: z.ZodString;
35
+ name: z.ZodNullable<z.ZodString>;
36
+ testsCount: z.ZodNumber;
37
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
38
+ autoAddNewTests: z.ZodBoolean;
39
+ autoRetry: z.ZodNumber;
40
+ notes: z.ZodNullable<z.ZodString>;
41
+ runInParallel: z.ZodBoolean;
42
+ runProfileId: z.ZodNullable<z.ZodString>;
43
+ } & {
44
+ webappUrl: z.ZodString;
45
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
46
+ id: z.ZodString;
47
+ name: z.ZodNullable<z.ZodString>;
48
+ testsCount: z.ZodNumber;
49
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
50
+ autoAddNewTests: z.ZodBoolean;
51
+ autoRetry: z.ZodNumber;
52
+ notes: z.ZodNullable<z.ZodString>;
53
+ runInParallel: z.ZodBoolean;
54
+ runProfileId: z.ZodNullable<z.ZodString>;
55
+ } & {
56
+ webappUrl: z.ZodString;
57
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
58
+ id: z.ZodString;
59
+ name: z.ZodNullable<z.ZodString>;
60
+ testsCount: z.ZodNumber;
61
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
62
+ autoAddNewTests: z.ZodBoolean;
63
+ autoRetry: z.ZodNumber;
64
+ notes: z.ZodNullable<z.ZodString>;
65
+ runInParallel: z.ZodBoolean;
66
+ runProfileId: z.ZodNullable<z.ZodString>;
67
+ } & {
68
+ webappUrl: z.ZodString;
69
+ }, z.ZodTypeAny, "passthrough">>;
70
+ export declare const SuitesListSchema: z.ZodObject<{
71
+ count: z.ZodOptional<z.ZodNumber>;
72
+ nextToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ results: z.ZodArray<z.ZodObject<{
74
+ id: z.ZodString;
75
+ name: z.ZodNullable<z.ZodString>;
76
+ testsCount: z.ZodNumber;
77
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
78
+ autoAddNewTests: z.ZodBoolean;
79
+ autoRetry: z.ZodNumber;
80
+ notes: z.ZodNullable<z.ZodString>;
81
+ runInParallel: z.ZodBoolean;
82
+ runProfileId: z.ZodNullable<z.ZodString>;
83
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
84
+ id: z.ZodString;
85
+ name: z.ZodNullable<z.ZodString>;
86
+ testsCount: z.ZodNumber;
87
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
88
+ autoAddNewTests: z.ZodBoolean;
89
+ autoRetry: z.ZodNumber;
90
+ notes: z.ZodNullable<z.ZodString>;
91
+ runInParallel: z.ZodBoolean;
92
+ runProfileId: z.ZodNullable<z.ZodString>;
93
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94
+ id: z.ZodString;
95
+ name: z.ZodNullable<z.ZodString>;
96
+ testsCount: z.ZodNumber;
97
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
98
+ autoAddNewTests: z.ZodBoolean;
99
+ autoRetry: z.ZodNumber;
100
+ notes: z.ZodNullable<z.ZodString>;
101
+ runInParallel: z.ZodBoolean;
102
+ runProfileId: z.ZodNullable<z.ZodString>;
103
+ }, z.ZodTypeAny, "passthrough">>, "many">;
104
+ }, "strip", z.ZodTypeAny, {
105
+ results: z.objectOutputType<{
106
+ id: z.ZodString;
107
+ name: z.ZodNullable<z.ZodString>;
108
+ testsCount: z.ZodNumber;
109
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
110
+ autoAddNewTests: z.ZodBoolean;
111
+ autoRetry: z.ZodNumber;
112
+ notes: z.ZodNullable<z.ZodString>;
113
+ runInParallel: z.ZodBoolean;
114
+ runProfileId: z.ZodNullable<z.ZodString>;
115
+ }, z.ZodTypeAny, "passthrough">[];
116
+ count?: number | undefined;
117
+ nextToken?: string | null | undefined;
118
+ }, {
119
+ results: z.objectInputType<{
120
+ id: z.ZodString;
121
+ name: z.ZodNullable<z.ZodString>;
122
+ testsCount: z.ZodNumber;
123
+ tests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
124
+ autoAddNewTests: z.ZodBoolean;
125
+ autoRetry: z.ZodNumber;
126
+ notes: z.ZodNullable<z.ZodString>;
127
+ runInParallel: z.ZodBoolean;
128
+ runProfileId: z.ZodNullable<z.ZodString>;
129
+ }, z.ZodTypeAny, "passthrough">[];
130
+ count?: number | undefined;
131
+ nextToken?: string | null | undefined;
132
+ }>;
133
+ //# sourceMappingURL=suites.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suites.d.ts","sourceRoot":"","sources":["../../src/schemas/suites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAqBR,CAAC;AAEjB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAE7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmC,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ import { makePaginatedSchema } from './_paginated';
3
+ import { UuidSchema } from './common';
4
+ export const SuiteSchema = z
5
+ .object({
6
+ id: UuidSchema.describe('Suite UUID.'),
7
+ name: z.string().nullable().describe('Suite name.'),
8
+ testsCount: z.number().describe('Number of tests included in the suite.'),
9
+ tests: z
10
+ .array(z.record(z.unknown()))
11
+ .describe('Raw test entries included in the suite response.'),
12
+ autoAddNewTests: z
13
+ .boolean()
14
+ .describe('Whether newly created tests are automatically added to the suite.'),
15
+ autoRetry: z
16
+ .number()
17
+ .describe('Number of automatic retries configured for failed tests in the suite.'),
18
+ notes: z.string().nullable().describe('Optional suite notes.'),
19
+ runInParallel: z.boolean().describe('Whether suite tests run in parallel.'),
20
+ runProfileId: z
21
+ .string()
22
+ .nullable()
23
+ .describe('Run profile UUID used by default for the suite, if configured.'),
24
+ })
25
+ .passthrough();
26
+ export const SuiteDetailsSchema = SuiteSchema.extend({
27
+ webappUrl: z.string().describe('BugBug web app URL for the suite details page.'),
28
+ });
29
+ export const SuitesListSchema = makePaginatedSchema(SuiteSchema);
30
+ //# sourceMappingURL=suites.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suites.js","sourceRoot":"","sources":["../../src/schemas/suites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC;KACzB,MAAM,CAAC;IACN,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC;IACtC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;IACnD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IACzE,KAAK,EAAE,CAAC;SACL,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;SAC5B,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,CAAC,mEAAmE,CAAC;IAChF,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,uEAAuE,CAAC;IACpF,KAAK,EAAE,CAAC,CAAC,MAAM,E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