@powerlines/plugin-openapi 0.2.8 → 0.2.10
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/{index-CyFASIxm.d.cts → index-Bdhheq1B.d.cts} +3 -3
- package/dist/{index-CyFASIxm.d.ts → index-Bdhheq1B.d.ts} +3 -3
- package/dist/{src/index.d.cts → index.d.cts} +2 -2
- package/dist/{src/index.d.ts → index.d.ts} +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +8 -8
- /package/dist/{src/index.cjs → index.cjs} +0 -0
- /package/dist/{src/index.js → index.js} +0 -0
|
@@ -1109,7 +1109,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1109
1109
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1110
1110
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1111
1111
|
|
|
1112
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1112
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1113
1113
|
/**
|
|
1114
1114
|
* The order in which the plugin should be applied.
|
|
1115
1115
|
*/
|
|
@@ -1117,13 +1117,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1117
1117
|
/**
|
|
1118
1118
|
* A filter to determine when the hook should be called.
|
|
1119
1119
|
*/
|
|
1120
|
-
filter?: TFilter
|
|
1120
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1121
1121
|
/**
|
|
1122
1122
|
* The hook function to be called.
|
|
1123
1123
|
*/
|
|
1124
1124
|
handler: THookFunction;
|
|
1125
1125
|
}
|
|
1126
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1126
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1127
1127
|
/**
|
|
1128
1128
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1129
1129
|
*/
|
|
@@ -1109,7 +1109,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1109
1109
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1110
1110
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1111
1111
|
|
|
1112
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1112
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1113
1113
|
/**
|
|
1114
1114
|
* The order in which the plugin should be applied.
|
|
1115
1115
|
*/
|
|
@@ -1117,13 +1117,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1117
1117
|
/**
|
|
1118
1118
|
* A filter to determine when the hook should be called.
|
|
1119
1119
|
*/
|
|
1120
|
-
filter?: TFilter
|
|
1120
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1121
1121
|
/**
|
|
1122
1122
|
* The hook function to be called.
|
|
1123
1123
|
*/
|
|
1124
1124
|
handler: THookFunction;
|
|
1125
1125
|
}
|
|
1126
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1126
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1127
1127
|
/**
|
|
1128
1128
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1129
1129
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, P as Plugin } from '
|
|
2
|
-
export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '
|
|
1
|
+
import { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, P as Plugin } from './index-Bdhheq1B.cjs';
|
|
2
|
+
export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from './index-Bdhheq1B.cjs';
|
|
3
3
|
import 'node:buffer';
|
|
4
4
|
import 'node:stream';
|
|
5
5
|
import 'openapi-typescript';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, P as Plugin } from '
|
|
2
|
-
export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '
|
|
1
|
+
import { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, P as Plugin } from './index-Bdhheq1B.js';
|
|
2
|
+
export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from './index-Bdhheq1B.js';
|
|
3
3
|
import 'node:buffer';
|
|
4
4
|
import 'node:stream';
|
|
5
5
|
import 'openapi-typescript';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-
|
|
1
|
+
export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-Bdhheq1B.cjs';
|
|
2
2
|
import 'node:buffer';
|
|
3
3
|
import 'node:stream';
|
|
4
4
|
import 'openapi-typescript';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-
|
|
1
|
+
export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-Bdhheq1B.js';
|
|
2
2
|
import 'node:buffer';
|
|
3
3
|
import 'node:stream';
|
|
4
4
|
import 'openapi-typescript';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'node:buffer';
|
|
2
2
|
import 'node:stream';
|
|
3
3
|
import 'openapi-typescript';
|
|
4
|
-
export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-
|
|
4
|
+
export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-Bdhheq1B.cjs';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
|
6
6
|
import '@storm-software/config-tools/types';
|
|
7
7
|
import '@storm-software/config/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'node:buffer';
|
|
2
2
|
import 'node:stream';
|
|
3
3
|
import 'openapi-typescript';
|
|
4
|
-
export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-
|
|
4
|
+
export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-Bdhheq1B.js';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
|
6
6
|
import '@storm-software/config-tools/types';
|
|
7
7
|
import '@storm-software/config/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-openapi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code from OpenAPI specifications.",
|
|
6
6
|
"repository": {
|
|
@@ -105,19 +105,19 @@
|
|
|
105
105
|
"powerlines-plugin"
|
|
106
106
|
],
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"@stryke/path": "^0.
|
|
109
|
-
"@stryke/type-checks": "^0.3.
|
|
110
|
-
"@stryke/types": "^0.10.
|
|
108
|
+
"@stryke/path": "^0.19.0",
|
|
109
|
+
"@stryke/type-checks": "^0.3.11",
|
|
110
|
+
"@stryke/types": "^0.10.1",
|
|
111
111
|
"defu": "^6.1.4",
|
|
112
112
|
"jiti": "^2.6.1",
|
|
113
113
|
"openapi-typescript": "^7.10.1",
|
|
114
|
-
"powerlines": "^0.19.
|
|
114
|
+
"powerlines": "^0.19.2"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
|
-
"@powerlines/nx": "^0.10.
|
|
118
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
117
|
+
"@powerlines/nx": "^0.10.6",
|
|
118
|
+
"@powerlines/plugin-plugin": "^0.11.14",
|
|
119
119
|
"@types/node": "^22.19.0"
|
|
120
120
|
},
|
|
121
121
|
"publishConfig": { "access": "public" },
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
|
|
123
123
|
}
|
|
File without changes
|
|
File without changes
|