@ir-kit/openapi-ts-k6 0.1.4 → 0.2.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.
package/dist/config.d.ts CHANGED
@@ -1,6 +1,17 @@
1
1
  import type { K6HeyApiPlugin } from "./types.js";
2
2
  export declare const defaultConfig: K6HeyApiPlugin["Config"];
3
- export declare const defineConfig: (userConfig?: Omit<import("./types.js").UserConfig, "name"> | undefined) => Omit<import("@hey-api/shared").Plugin.Config<import("@hey-api/shared").Plugin.Types<import("./types.js").UserConfig, import("./types.js").Config, never>>, "name"> & {
3
+ export declare const defineConfig: (userConfig?: Omit<import("./types.js").UserConfig, "name"> | undefined) => {
4
+ config: import("@hey-api/shared").ConfigTable<Omit<import("./types.js").UserConfig, "name">, import("./types.js").Config>;
4
5
  name: any;
6
+ api?: {
7
+ [x: string]: unknown;
8
+ } | undefined;
9
+ dependencies?: ReadonlyArray<import("@hey-api/shared").AnyPluginName>;
10
+ handler: (args: {
11
+ plugin: import("@hey-api/shared").PluginInstance<import("@hey-api/shared").Plugin.Types<import("./types.js").UserConfig, import("./types.js").Config, never, Record<never, never>>>;
12
+ }) => void;
13
+ imports?: ((plugin: import("@hey-api/shared").PluginInstance<import("@hey-api/shared").Plugin.Types<import("./types.js").UserConfig, import("./types.js").Config, never, Record<never, never>>>) => Record<never, never>) | undefined;
14
+ symbolMeta?: (symbol: Omit<log, "name">) => log;
15
+ tags?: ReadonlyArray<import("@hey-api/shared").PluginTag>;
5
16
  };
6
17
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,QAAQ,CAQlD,CAAC;AAEF,eAAO,MAAM,YAAY;;CAAoC,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,QAAQ,CAQlD,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;+BACs22G,GAAG,cAAa,GAAI;;CADt12G,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ir-kit/openapi-ts-k6",
3
- "version": "0.1.4",
3
+ "version": "0.2.1",
4
4
  "description": "Thin @hey-api/openapi-ts plugin that delegates to @ir-kit/k6-gen. Use if you already drive codegen through openapi-ts.config.ts; otherwise reach for @ir-kit/k6-toolkit.",
5
5
  "keywords": [
6
6
  "openapi",
@@ -44,15 +44,15 @@
44
44
  "provenance": true
45
45
  },
46
46
  "dependencies": {
47
- "@ir-kit/k6-gen": "0.3.1"
47
+ "@ir-kit/k6-gen": "0.4.1"
48
48
  },
49
49
  "peerDependencies": {
50
- "@hey-api/openapi-ts": ">=0.95.0",
51
- "@hey-api/shared": ">=0.2.0"
50
+ "@hey-api/openapi-ts": ">=0.99.0",
51
+ "@hey-api/shared": ">=0.5.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@hey-api/openapi-ts": "^0.97.0",
55
- "@hey-api/shared": "^0.4.2",
54
+ "@hey-api/openapi-ts": "^0.99.0",
55
+ "@hey-api/shared": "^0.5.0",
56
56
  "@types/node": "^22",
57
57
  "vitest": "^4.0.0",
58
58
  "@ir-kit/tsconfig": "0.0.0"