@hey-api/shared 0.0.0-next-20260621204633 → 0.0.0-next-20260624065611
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.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -6
package/dist/index.mjs
CHANGED
|
@@ -3696,13 +3696,13 @@ function buildGraph(root, logger) {
|
|
|
3696
3696
|
arr.push(pointer);
|
|
3697
3697
|
}
|
|
3698
3698
|
const { node } = nodeInfo;
|
|
3699
|
-
if (typeof node === "object" && node !== null && !Array.isArray(node)) if ("readOnly" in node && node.readOnly === true) nodeInfo.scopes = new Set(["read"]);
|
|
3700
|
-
else if ("writeOnly" in node && node.writeOnly === true) nodeInfo.scopes = new Set(["write"]);
|
|
3699
|
+
if (typeof node === "object" && node !== null && !Array.isArray(node)) if ("readOnly" in node && node.readOnly === true) nodeInfo.scopes = /* @__PURE__ */ new Set(["read"]);
|
|
3700
|
+
else if ("writeOnly" in node && node.writeOnly === true) nodeInfo.scopes = /* @__PURE__ */ new Set(["write"]);
|
|
3701
3701
|
else {
|
|
3702
3702
|
const lastSlash = pointer.lastIndexOf("/");
|
|
3703
3703
|
if (lastSlash > 0) {
|
|
3704
3704
|
const prevSlash = pointer.lastIndexOf("/", lastSlash - 1);
|
|
3705
|
-
if (prevSlash >= 0 && pointer.slice(prevSlash + 1, lastSlash) === "properties") nodeInfo.scopes = new Set(["normal"]);
|
|
3705
|
+
if (prevSlash >= 0 && pointer.slice(prevSlash + 1, lastSlash) === "properties") nodeInfo.scopes = /* @__PURE__ */ new Set(["normal"]);
|
|
3706
3706
|
}
|
|
3707
3707
|
}
|
|
3708
3708
|
}
|
|
@@ -3723,7 +3723,7 @@ function buildGraph(root, logger) {
|
|
|
3723
3723
|
}
|
|
3724
3724
|
//#endregion
|
|
3725
3725
|
//#region src/openApi/shared/transforms/readWrite.ts
|
|
3726
|
-
const schemaKeys = new Set([
|
|
3726
|
+
const schemaKeys = /* @__PURE__ */ new Set([
|
|
3727
3727
|
"additionalProperties",
|
|
3728
3728
|
"allOf",
|
|
3729
3729
|
"anyOf",
|
|
@@ -8875,7 +8875,7 @@ function resolvePluginsConfig({ defaultPluginConfigs, dependencies, userPlugins,
|
|
|
8875
8875
|
}
|
|
8876
8876
|
};
|
|
8877
8877
|
const finalConfig = defineConfig(configTable)(userConfig, pluginContext);
|
|
8878
|
-
const finalDependencies = new Set([...defaultPlugin?.dependencies || [], ...userPlugin?.dependencies || []]);
|
|
8878
|
+
const finalDependencies = /* @__PURE__ */ new Set([...defaultPlugin?.dependencies || [], ...userPlugin?.dependencies || []]);
|
|
8879
8879
|
const plugin = {
|
|
8880
8880
|
...defaultPlugin,
|
|
8881
8881
|
...userPlugin,
|