@hey-api/shared 0.0.0-next-20260720171903 → 0.0.0-next-20260722143429
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 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -2136,6 +2136,11 @@ var SymbolFactory = class {
|
|
|
2136
2136
|
if (!meta.resource) meta.resource = `${symbol.external}.${name}`;
|
|
2137
2137
|
const existing = this.queryAll(meta).find((s) => s.name === name);
|
|
2138
2138
|
if (existing) return existing;
|
|
2139
|
+
} else if (symbol.global) {
|
|
2140
|
+
if (!meta.category) meta.category = "global";
|
|
2141
|
+
if (!meta.resource) meta.resource = name;
|
|
2142
|
+
const existing = this.queryAll(meta).find((s) => s.name === name);
|
|
2143
|
+
if (existing) return existing;
|
|
2139
2144
|
}
|
|
2140
2145
|
const symbolIn = {
|
|
2141
2146
|
...symbol,
|