Skip to content

Commit b760c8c

Browse files
committed
deps: update API docs
1 parent f3cf353 commit b760c8c

25 files changed

Lines changed: 12629 additions & 18192 deletions

data/api/builder.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "builder",
33
"specifier": "@probitas/builder",
4-
"version": "0.2.7",
4+
"version": "0.2.8",
55
"moduleDoc": "Builder module for creating scenario definitions with a fluent, type-safe API.\n\nThis package provides the {@linkcode scenario} fn function that returns a builder\nfor constructing scenario definitions. The builder uses method chaining to define\nresources, setup functions, and test steps with full TypeScript type inference.\n\n## Links\n\n- [GitHub Repository](https://github.com/jsr-probitas/probitas)\n- [@probitas/probitas](https://jsr.io/@probitas/probitas) - Main package (recommended for most users)\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [@probitas/scenario](https://jsr.io/@probitas/scenario) | Core type definitions used by this builder |\n| [@probitas/runner](https://jsr.io/@probitas/runner) | Executes scenarios built with this package |\n\n## Key Features\n\n- **Fluent API**: Chain methods naturally to build complex scenarios\n- **Type-safe context**: Each step receives typed access to previous step results\n- **Resource management**: Register resources with automatic lifecycle handling\n- **Setup/Cleanup**: Define setup functions with automatic cleanup support\n- **Configurable defaults**: Override timeout and retry settings at any level\n\n## Core Exports\n\n- {@linkcode scenario} - Factory function to create a new scenario builder\n- {@linkcode StepContext} - Type representing the context passed to step functions\n- {@linkcode StepFunction} - Type signature for step functions\n- {@linkcode SetupFunction} - Type signature for setup functions\n- {@linkcode ResourceFunction} - Type signature for resource fn functions\n- {@linkcode BuilderScenarioOptions} - Partial options for scenario configuration\n- {@linkcode BuilderStepOptions} - Partial options for step configuration\n- {@linkcode DEFAULT_SCENARIO_OPTIONS} - Default values for scenario options\n- {@linkcode DEFAULT_STEP_OPTIONS} - Default values for step options\n",
66
"exports": [
77
{
88
"name": "scenario",
99
"isDefault": false,
1010
"location": {
11-
"filename": "https://jsr.io/@probitas/builder/0.2.7/scenario_builder.ts",
11+
"filename": "https://jsr.io/@probitas/builder/0.2.8/scenario_builder.ts",
1212
"line": 554,
1313
"col": 0,
1414
"byteIndex": 17911
@@ -102,7 +102,7 @@
102102
"name": "BuilderStepContext",
103103
"isDefault": false,
104104
"location": {
105-
"filename": "https://jsr.io/@probitas/builder/0.2.7/types.ts",
105+
"filename": "https://jsr.io/@probitas/builder/0.2.8/types.ts",
106106
"line": 40,
107107
"col": 0,
108108
"byteIndex": 1237
@@ -163,7 +163,7 @@
163163
"doc": "Result from the previous step.\n\nFully typed based on what the previous step returned.\nFor the first step, this is `unknown`."
164164
},
165165
"location": {
166-
"filename": "https://jsr.io/@probitas/builder/0.2.7/types.ts",
166+
"filename": "https://jsr.io/@probitas/builder/0.2.8/types.ts",
167167
"line": 51,
168168
"col": 2,
169169
"byteIndex": 1578
@@ -188,7 +188,7 @@
188188
"doc": "All accumulated results as a typed tuple.\n\nAllows accessing any previous result by index:\n```ts\nctx.results[0] // First step's result\nctx.results[1] // Second step's result\n```"
189189
},
190190
"location": {
191-
"filename": "https://jsr.io/@probitas/builder/0.2.7/types.ts",
191+
"filename": "https://jsr.io/@probitas/builder/0.2.8/types.ts",
192192
"line": 62,
193193
"col": 2,
194194
"byteIndex": 1828
@@ -213,7 +213,7 @@
213213
"doc": "Named resources registered with `.resource()`.\n\nResources are typed based on their registration:\n```ts\n.resource(\"db\", () => createDbConnection())\n.step((ctx) => ctx.resources.db.query(...))\n```"
214214
},
215215
"location": {
216-
"filename": "https://jsr.io/@probitas/builder/0.2.7/types.ts",
216+
"filename": "https://jsr.io/@probitas/builder/0.2.8/types.ts",
217217
"line": 73,
218218
"col": 2,
219219
"byteIndex": 2093
@@ -331,7 +331,7 @@
331331
"name": "BuilderStepFunction",
332332
"isDefault": false,
333333
"location": {
334-
"filename": "https://jsr.io/@probitas/builder/0.2.7/types.ts",
334+
"filename": "https://jsr.io/@probitas/builder/0.2.8/types.ts",
335335
"line": 102,
336336
"col": 0,
337337
"byteIndex": 2907
@@ -551,7 +551,7 @@
551551
"name": "BuilderStepDefinition",
552552
"isDefault": false,
553553
"location": {
554-
"filename": "https://jsr.io/@probitas/builder/0.2.7/types.ts",
554+
"filename": "https://jsr.io/@probitas/builder/0.2.8/types.ts",
555555
"line": 124,
556556
"col": 0,
557557
"byteIndex": 3682
@@ -613,7 +613,7 @@
613613
"doc": "Step function to execute"
614614
},
615615
"location": {
616-
"filename": "https://jsr.io/@probitas/builder/0.2.7/types.ts",
616+
"filename": "https://jsr.io/@probitas/builder/0.2.8/types.ts",
617617
"line": 131,
618618
"col": 2,
619619
"byteIndex": 3922
@@ -769,5 +769,5 @@
769769
}
770770
}
771771
],
772-
"generatedAt": "2025-12-09T22:09:47.630Z"
772+
"generatedAt": "2025-12-12T09:23:51.985Z"
773773
}

0 commit comments

Comments
 (0)