@powerlines/plugin-hey-api 0.1.622 → 0.1.624
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/create-operation-id-DWWadAfJ.d.cts +11 -0
- package/dist/create-operation-id-DWWadAfJ.d.cts.map +1 -0
- package/dist/create-operation-id-DWWadAfJ.d.mts +11 -0
- package/dist/create-operation-id-DWWadAfJ.d.mts.map +1 -0
- package/dist/helpers/create-operation-id.d.cts +2 -11
- package/dist/helpers/create-operation-id.d.mts +2 -11
- package/dist/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.mts +1 -1
- package/dist/index.cjs +31 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -0
- package/package.json +7 -7
- package/dist/_virtual/_rolldown/runtime.cjs +0 -28
- package/dist/helpers/create-operation-id.d.cts.map +0 -1
- package/dist/helpers/create-operation-id.d.mts.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/helpers/create-operation-id.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Create an Operation Id from a summary string
|
|
4
|
+
*
|
|
5
|
+
* @param summary - The summary string from the specification
|
|
6
|
+
* @returns The generated operation ID
|
|
7
|
+
*/
|
|
8
|
+
declare function createOperationId(summary: string): string;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { createOperationId as t };
|
|
11
|
+
//# sourceMappingURL=create-operation-id-DWWadAfJ.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-operation-id-DWWadAfJ.d.cts","names":[],"sources":["../src/helpers/create-operation-id.ts"],"mappings":";;;;;;;iBA0BgB,kBAAkB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/helpers/create-operation-id.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Create an Operation Id from a summary string
|
|
4
|
+
*
|
|
5
|
+
* @param summary - The summary string from the specification
|
|
6
|
+
* @returns The generated operation ID
|
|
7
|
+
*/
|
|
8
|
+
declare function createOperationId(summary: string): string;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { createOperationId as t };
|
|
11
|
+
//# sourceMappingURL=create-operation-id-DWWadAfJ.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-operation-id-DWWadAfJ.d.mts","names":[],"sources":["../src/helpers/create-operation-id.ts"],"mappings":""}
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Create an Operation Id from a summary string
|
|
4
|
-
*
|
|
5
|
-
* @param summary - The summary string from the specification
|
|
6
|
-
* @returns The generated operation ID
|
|
7
|
-
*/
|
|
8
|
-
declare function createOperationId(summary: string): string;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { createOperationId };
|
|
11
|
-
//# sourceMappingURL=create-operation-id.d.cts.map
|
|
1
|
+
import { t as createOperationId } from "../create-operation-id-DWWadAfJ.cjs";
|
|
2
|
+
export { createOperationId };
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Create an Operation Id from a summary string
|
|
4
|
-
*
|
|
5
|
-
* @param summary - The summary string from the specification
|
|
6
|
-
* @returns The generated operation ID
|
|
7
|
-
*/
|
|
8
|
-
declare function createOperationId(summary: string): string;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { createOperationId };
|
|
11
|
-
//# sourceMappingURL=create-operation-id.d.mts.map
|
|
1
|
+
import { t as createOperationId } from "../create-operation-id-DWWadAfJ.mjs";
|
|
2
|
+
export { createOperationId };
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { createOperationId } from "
|
|
1
|
+
import { t as createOperationId } from "../create-operation-id-DWWadAfJ.cjs";
|
|
2
2
|
export { createOperationId };
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { createOperationId } from "
|
|
1
|
+
import { t as createOperationId } from "../create-operation-id-DWWadAfJ.mjs";
|
|
2
2
|
export { createOperationId };
|
package/dist/index.cjs
CHANGED
|
@@ -1,16 +1,43 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
+
key = keys[i];
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: ((k) => from[k]).bind(null, key),
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
24
|
+
value: mod,
|
|
25
|
+
enumerable: true
|
|
26
|
+
}) : target, mod));
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
3
29
|
const require_helpers_create_operation_id = require('./helpers/create-operation-id.cjs');
|
|
4
30
|
require('./helpers/index.cjs');
|
|
31
|
+
require('./types/index.cjs');
|
|
5
32
|
let _power_plant_hey_api = require("@power-plant/hey-api");
|
|
6
|
-
_power_plant_hey_api =
|
|
33
|
+
_power_plant_hey_api = __toESM(_power_plant_hey_api, 1);
|
|
7
34
|
let _powerlines_plugin_power_plant = require("@powerlines/plugin-power-plant");
|
|
8
|
-
_powerlines_plugin_power_plant =
|
|
35
|
+
_powerlines_plugin_power_plant = __toESM(_powerlines_plugin_power_plant, 1);
|
|
9
36
|
let _stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
10
37
|
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
11
38
|
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
12
39
|
let defu = require("defu");
|
|
13
|
-
defu =
|
|
40
|
+
defu = __toESM(defu, 1);
|
|
14
41
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
15
42
|
|
|
16
43
|
//#region src/index.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createOperationId } from "./
|
|
1
|
+
import { t as createOperationId } from "./create-operation-id-DWWadAfJ.cjs";
|
|
2
2
|
import { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, PowerPlantHeyAPIOptions } from "./types/plugin.cjs";
|
|
3
3
|
import "./types/index.cjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createOperationId } from "./
|
|
1
|
+
import { t as createOperationId } from "./create-operation-id-DWWadAfJ.mjs";
|
|
2
2
|
import { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, PowerPlantHeyAPIOptions } from "./types/plugin.mjs";
|
|
3
3
|
import "./types/index.mjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createOperationId } from "./helpers/create-operation-id.mjs";
|
|
2
2
|
import "./helpers/index.mjs";
|
|
3
|
+
import "./types/index.mjs";
|
|
3
4
|
import heyApiGenerator from "@power-plant/hey-api";
|
|
4
5
|
import powerPlant from "@powerlines/plugin-power-plant";
|
|
5
6
|
import { joinPaths } from "@stryke/path/join-paths";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-hey-api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.624",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code using Hey API.",
|
|
6
6
|
"repository": {
|
|
@@ -118,22 +118,22 @@
|
|
|
118
118
|
"keywords": ["hey-api", "powerlines", "storm-software", "powerlines-plugin"],
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"@hey-api/openapi-ts": "^0.88.2",
|
|
121
|
-
"@power-plant/core": "^0.0.
|
|
122
|
-
"@power-plant/hey-api": "^0.0.
|
|
123
|
-
"@powerlines/plugin-power-plant": "^0.1.
|
|
121
|
+
"@power-plant/core": "^0.0.89",
|
|
122
|
+
"@power-plant/hey-api": "^0.0.84",
|
|
123
|
+
"@powerlines/plugin-power-plant": "^0.1.65",
|
|
124
124
|
"@stryke/path": "^0.29.35",
|
|
125
125
|
"@stryke/string-format": "^0.17.50",
|
|
126
126
|
"@stryke/type-checks": "^0.6.41",
|
|
127
127
|
"@stryke/types": "^0.12.36",
|
|
128
128
|
"defu": "^6.1.7",
|
|
129
129
|
"jiti": "^2.7.0",
|
|
130
|
-
"powerlines": "^0.47.
|
|
130
|
+
"powerlines": "^0.47.208"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
133
|
+
"@powerlines/plugin-plugin": "^0.12.621",
|
|
134
134
|
"@types/node": "^25.9.5"
|
|
135
135
|
},
|
|
136
136
|
"publishConfig": { "access": "public" },
|
|
137
137
|
"types": "./dist/index.d.cts",
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "a060bb776b719e7628c30f82d4fb4305fbcd1581"
|
|
139
139
|
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
-
key = keys[i];
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
-
__defProp(to, key, {
|
|
14
|
-
get: ((k) => from[k]).bind(null, key),
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
exports.__toESM = __toESM;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-operation-id.d.cts","names":[],"sources":["../../src/helpers/create-operation-id.ts"],"mappings":";;;;;;;iBA0BgB,kBAAkB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-operation-id.d.mts","names":[],"sources":["../../src/helpers/create-operation-id.ts"],"mappings":""}
|