@http-forge/core 0.6.31 → 0.6.35

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.
@@ -35,7 +35,12 @@ export declare class ResultStorageService implements IResultStorageService {
35
35
  /**
36
36
  * Initialize a new run
37
37
  */
38
- initializeRun(suiteId: string, suiteName: string, environment: string, config: RunConfig): Promise<string>;
38
+ initializeRun(suiteId: string, suiteName: string, environment: string, config: RunConfig, metadata?: {
39
+ targetType?: 'suite' | 'collection' | 'folder';
40
+ targetName?: string;
41
+ collectionName?: string;
42
+ folderPath?: string;
43
+ }): Promise<string>;
39
44
  /**
40
45
  * Save a request result
41
46
  * Returns lightweight summary for UI
@@ -150,6 +150,14 @@ export interface RunManifest {
150
150
  suiteId: string;
151
151
  /** Suite name */
152
152
  suiteName: string;
153
+ /** What kind of target produced the run */
154
+ targetType?: 'suite' | 'collection' | 'folder';
155
+ /** Human-readable target label */
156
+ targetName?: string;
157
+ /** Collection name for collection/folder runs */
158
+ collectionName?: string;
159
+ /** Folder path for folder runs */
160
+ folderPath?: string;
153
161
  /** Environment used */
154
162
  environment: string;
155
163
  /** Run start time */
@@ -295,7 +303,12 @@ export interface IResultStorageService {
295
303
  /**
296
304
  * Initialize a new run
297
305
  */
298
- initializeRun(suiteId: string, suiteName: string, environment: string, config: RunConfig): Promise<string>;
306
+ initializeRun(suiteId: string, suiteName: string, environment: string, config: RunConfig, metadata?: {
307
+ targetType?: 'suite' | 'collection' | 'folder';
308
+ targetName?: string;
309
+ collectionName?: string;
310
+ folderPath?: string;
311
+ }): Promise<string>;
299
312
  /**
300
313
  * Save a request result
301
314
  * Returns lightweight summary for UI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@http-forge/core",
3
- "version": "0.6.31",
3
+ "version": "0.6.35",
4
4
  "description": "Headless Postman-compatible API testing engine for Node.js, CI/CD, OpenAPI workflows, and HTTP Forge automation",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",