gemi 0.4.70 → 0.4.71
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpReload.d.ts","sourceRoot":"","sources":["../../client/HttpReload.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"HttpReload.d.ts","sourceRoot":"","sources":["../../client/HttpReload.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,mCAuCtB,CAAC"}
|
package/dist/client/index.js
CHANGED
|
@@ -19874,10 +19874,10 @@ function requireNamedTypes() {
|
|
|
19874
19874
|
})(main);
|
|
19875
19875
|
async function customRequestParser(original) {
|
|
19876
19876
|
function isExportedControllerClassDeclaration(body) {
|
|
19877
|
-
return (body.type === "ExportNamedDeclaration" || body.type === "ExportDefaultDeclaration") && body.declaration.type === "ClassDeclaration" && body.
|
|
19877
|
+
return (body.type === "ExportNamedDeclaration" || body.type === "ExportDefaultDeclaration") && body.declaration.type === "ClassDeclaration" && (body.superClass.name === "Controller" || body.superClass.name === "ResourceController");
|
|
19878
19878
|
}
|
|
19879
19879
|
function isController(body) {
|
|
19880
|
-
return body.type === "ClassDeclaration" && body.superClass.name === "Controller";
|
|
19880
|
+
return body.type === "ClassDeclaration" && (body.superClass.name === "Controller" || body.superClass.name === "ResourceController");
|
|
19881
19881
|
}
|
|
19882
19882
|
function isRouterClassDeclaration(body) {
|
|
19883
19883
|
return body.type === "ClassDeclaration" && (body.superClass.name === "ApiRouter" || body.superClass.name === "ViewRouter");
|
|
@@ -19948,7 +19948,7 @@ async function customRequestParser(original) {
|
|
|
19948
19948
|
}
|
|
19949
19949
|
}
|
|
19950
19950
|
const orgFile = await main$2.parse(original, {
|
|
19951
|
-
parser: await import("./typescript-
|
|
19951
|
+
parser: await import("./typescript-CeZcXBr-.mjs").then((n) => n.t)
|
|
19952
19952
|
});
|
|
19953
19953
|
for (const body of orgFile.program.body) {
|
|
19954
19954
|
if (!body || (body == null ? void 0 : body.type) === "ImportDeclaration") {
|
package/dist/vite/index.mjs
CHANGED