gemi 0.31.0 → 0.32.0
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/app/App.d.ts +2 -0
- package/dist/app/App.d.ts.map +1 -1
- package/dist/app/index.js +2 -2
- package/dist/app/index.js.map +3 -3
- package/dist/bin/gemi.js +3 -1
- package/dist/bin/gemi.js.map +3 -3
- package/dist/server/index.js +3 -3
- package/dist/server/index.js.map +3 -3
- package/package.json +1 -1
package/dist/app/App.d.ts
CHANGED
|
@@ -2,9 +2,11 @@ import type { WebSocketHandler } from "bun";
|
|
|
2
2
|
import type { Kernel } from "../kernel";
|
|
3
3
|
interface AppParams {
|
|
4
4
|
kernel: new () => Kernel;
|
|
5
|
+
onException?: (error: Error) => void;
|
|
5
6
|
}
|
|
6
7
|
export declare class App {
|
|
7
8
|
private kernel;
|
|
9
|
+
onException?: (error: Error) => void;
|
|
8
10
|
constructor(params: AppParams);
|
|
9
11
|
getComponentTree(): any;
|
|
10
12
|
getFlatComponentTree(): any;
|
package/dist/app/App.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../app/App.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAMxC,UAAU,SAAS;IACjB,MAAM,EAAE,UAAU,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../app/App.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAMxC,UAAU,SAAS;IACjB,MAAM,EAAE,UAAU,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACtC;AAED,qBAAa,GAAG;IACd,OAAO,CAAC,MAAM,CAAS;IAChB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;gBAEhC,MAAM,EAAE,SAAS;IAUtB,gBAAgB;IAMhB,oBAAoB;IAMpB,gBAAgB;IAMV,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC;IAU5C,SAAS,EAAE,gBAAgB,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CActD;IAEK,SAAS,CACd,EAAE,EAAE,CACF,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,GAAG,eAAe,GAAG,WAAW,GAAG,iBAAiB,EAChE,QAAQ,CAAC,EAAE,OAAO,KACf,IAAI;IAQJ,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAOzC,OAAO;IAIP,KAAK;CAGb"}
|
package/dist/app/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{g as T,o as L,p as X}from"../facades/index.js";import"../http/index.js";import"../chunk-r4a32fcv.js";import"../chunk-9x52jhc8.js";import{Ia as Y}from"../chunk-ztx9hzpd.js";import"../chunk-2a6ha8ae.js";import"../chunk-s0rcvqtv.js";import{Ra as P,Sa as $}from"../chunk-2c7fcfcj.js";var K=$((u,I)=>{var{defineProperty:W,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q}=Object,B=Object.prototype.hasOwnProperty,E=(z,F)=>{for(var G in F)W(z,G,{get:F[G],enumerable:!0})},N=(z,F,G,U)=>{if(F&&typeof F==="object"||typeof F==="function"){for(let H of Q(F))if(!B.call(z,H)&&H!==G)W(z,H,{get:()=>F[H],enumerable:!(U=J(F,H))||U.enumerable})}return z},O=(z)=>N(W({},"__esModule",{value:!0}),z),A={};E(A,{Prisma:()=>D,PrismaClient:()=>k,default:()=>v});I.exports=O(A);var R={enginesVersion:"c2990dca591cba766e3b7ef5d9e8a84796e47ab7"},V="6.19.2",h=V,k=class{constructor(){throw Error('@prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.')}};function q(z){if(typeof z==="function")return z;return(F)=>F.$extends(z)}function y(z){return z}var D={defineExtension:q,getExtensionContext:y,prismaVersion:{client:h,engine:R.enginesVersion}},v={Prisma:D}});var b=$((d,M)=>{M.exports={...K()}});class Z{kernel;constructor(z){this.kernel=new z.kernel,this.kernel.boot.call(this.kernel)}getComponentTree(){return this.kernel.run.call(this.kernel,()=>{return L.use().componentTree})}getFlatComponentTree(){return this.kernel.run.call(this.kernel,()=>{return L.use().flatComponentTree})}getRouteManifest(){return this.kernel.run.call(this.kernel,()=>{return L.use().routeManifest})}async fetch(z){let F=new URL(z.url);return this.kernel.run.call(this.kernel,async()=>{if(F.pathname.startsWith("/api"))return await X.use().handleApiRequest(z);return await L.use().handleViewRequest(z)})}websocket={message:(z,F)=>{this.kernel.run.bind(this.kernel)(()=>{T.use().run(z.data.headers,()=>{T.use().handleMessage(z,F)})})},open:(z)=>{},close:(z)=>{console.log("closed ws"),z.terminate()}};onPublish(z){this.kernel.run.bind(this.kernel)(()=>{T.use().onPublish(z)})}dispatchJob(z,F){return this.kernel.run.bind(this.kernel)(()=>{return Y.use().dispatchJob(z,F)})}destroy(){this.kernel.destroy()}clone(){return Object.assign(Object.create(Object.getPrototypeOf(this)),this)}}var j=P(b(),1),S=j.Prisma.defineExtension({name:"Gemi Policies",query:{async $allOperations({args:z,operation:F,query:G,model:U}){return await G(z)}}});export{S as prismaExtension,Z as App};
|
|
2
|
+
import{g as T,o as L,p as X}from"../facades/index.js";import"../http/index.js";import"../chunk-r4a32fcv.js";import"../chunk-9x52jhc8.js";import{Ia as Y}from"../chunk-ztx9hzpd.js";import"../chunk-2a6ha8ae.js";import"../chunk-s0rcvqtv.js";import{Ra as P,Sa as $}from"../chunk-2c7fcfcj.js";var K=$((u,I)=>{var{defineProperty:W,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q}=Object,B=Object.prototype.hasOwnProperty,E=(z,F)=>{for(var G in F)W(z,G,{get:F[G],enumerable:!0})},N=(z,F,G,U)=>{if(F&&typeof F==="object"||typeof F==="function"){for(let H of Q(F))if(!B.call(z,H)&&H!==G)W(z,H,{get:()=>F[H],enumerable:!(U=J(F,H))||U.enumerable})}return z},O=(z)=>N(W({},"__esModule",{value:!0}),z),A={};E(A,{Prisma:()=>D,PrismaClient:()=>k,default:()=>v});I.exports=O(A);var R={enginesVersion:"c2990dca591cba766e3b7ef5d9e8a84796e47ab7"},V="6.19.2",h=V,k=class{constructor(){throw Error('@prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.')}};function q(z){if(typeof z==="function")return z;return(F)=>F.$extends(z)}function y(z){return z}var D={defineExtension:q,getExtensionContext:y,prismaVersion:{client:h,engine:R.enginesVersion}},v={Prisma:D}});var b=$((d,M)=>{M.exports={...K()}});class Z{kernel;onException;constructor(z){this.kernel=new z.kernel,this.kernel.boot.call(this.kernel),this.onException=z.onException??((F)=>{console.error("Unhandled exception in App:",F)})}getComponentTree(){return this.kernel.run.call(this.kernel,()=>{return L.use().componentTree})}getFlatComponentTree(){return this.kernel.run.call(this.kernel,()=>{return L.use().flatComponentTree})}getRouteManifest(){return this.kernel.run.call(this.kernel,()=>{return L.use().routeManifest})}async fetch(z){let F=new URL(z.url);return this.kernel.run.call(this.kernel,async()=>{if(F.pathname.startsWith("/api"))return await X.use().handleApiRequest(z);return await L.use().handleViewRequest(z)})}websocket={message:(z,F)=>{this.kernel.run.bind(this.kernel)(()=>{T.use().run(z.data.headers,()=>{T.use().handleMessage(z,F)})})},open:(z)=>{},close:(z)=>{console.log("closed ws"),z.terminate()}};onPublish(z){this.kernel.run.bind(this.kernel)(()=>{T.use().onPublish(z)})}dispatchJob(z,F){return this.kernel.run.bind(this.kernel)(()=>{return Y.use().dispatchJob(z,F)})}destroy(){this.kernel.destroy()}clone(){return Object.assign(Object.create(Object.getPrototypeOf(this)),this)}}var j=P(b(),1),S=j.Prisma.defineExtension({name:"Gemi Policies",query:{async $allOperations({args:z,operation:F,query:G,model:U}){return await G(z)}}});export{S as prismaExtension,Z as App};
|
|
3
3
|
|
|
4
|
-
//# debugId=
|
|
4
|
+
//# debugId=3A4371A4A7E8DD4B64756E2164756E21
|
package/dist/app/index.js.map
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/scripts/default-index.ts\nvar default_index_exports = {};\n__export(default_index_exports, {\n Prisma: () => Prisma,\n PrismaClient: () => PrismaClient,\n default: () => default_index_default\n});\nmodule.exports = __toCommonJS(default_index_exports);\n\n// ../../node_modules/.pnpm/@prisma+engines-version@7.1.1-3.c2990dca591cba766e3b7ef5d9e8a84796e47ab7/node_modules/@prisma/engines-version/package.json\nvar prisma = {\n enginesVersion: \"c2990dca591cba766e3b7ef5d9e8a84796e47ab7\"\n};\n\n// package.json\nvar version = \"6.19.2\";\n\n// src/runtime/utils/clientVersion.ts\nvar clientVersion = version;\n\n// src/scripts/default-index.ts\nvar PrismaClient = class {\n constructor() {\n throw new Error('@prisma/client did not initialize yet. Please run \"prisma generate\" and try to import it again.');\n }\n};\nfunction defineExtension(ext) {\n if (typeof ext === \"function\") {\n return ext;\n }\n return (client) => client.$extends(ext);\n}\nfunction getExtensionContext(that) {\n return that;\n}\nvar Prisma = {\n defineExtension,\n getExtensionContext,\n prismaVersion: { client: clientVersion, engine: prisma.enginesVersion }\n};\nvar default_index_default = { Prisma };\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n Prisma,\n PrismaClient\n});\n",
|
|
6
6
|
"module.exports = {\n ...require('.prisma/client/default'),\n}\n",
|
|
7
|
-
"import type { WebSocketHandler } from \"bun\";\nimport type { Kernel } from \"../kernel\";\nimport { ApiRouterServiceContainer } from \"../services/router/ApiRouterServiceContainer\";\nimport { ViewRouterServiceContainer } from \"../services/router/ViewRouterServiceContainer\";\nimport { BroadcastingServiceContainer } from \"../services/pubsub/BroadcastingServiceContainer\";\nimport { QueueServiceContainer } from \"../services/queue/QueueServiceContainer\";\n\ninterface AppParams {\n kernel: new () => Kernel;\n}\n\nexport class App {\n private kernel: Kernel;\n\n constructor(params: AppParams) {\n this.kernel = new params.kernel();\n this.kernel.boot.call(this.kernel);\n }\n\n public getComponentTree() {\n return this.kernel.run.call(this.kernel, () => {\n return ViewRouterServiceContainer.use().componentTree;\n });\n }\n\n public getFlatComponentTree() {\n return this.kernel.run.call(this.kernel, () => {\n return ViewRouterServiceContainer.use().flatComponentTree;\n });\n }\n\n public getRouteManifest() {\n return this.kernel.run.call(this.kernel, () => {\n return ViewRouterServiceContainer.use().routeManifest;\n });\n }\n\n public async fetch(req: Request): Promise<Response> {\n const url = new URL(req.url);\n return this.kernel.run.call(this.kernel, async () => {\n if (url.pathname.startsWith(\"/api\")) {\n return await ApiRouterServiceContainer.use().handleApiRequest(req);\n }\n return await ViewRouterServiceContainer.use().handleViewRequest(req);\n });\n }\n\n public websocket: WebSocketHandler<{ headers: Headers }> = {\n message: (ws, message) => {\n const kernelRun = this.kernel.run.bind(this.kernel);\n kernelRun(() => {\n BroadcastingServiceContainer.use().run(ws.data.headers, () => {\n BroadcastingServiceContainer.use().handleMessage(ws, message);\n });\n });\n },\n open: (_ws) => {},\n close: (ws) => {\n console.log(\"closed ws\");\n ws.terminate();\n },\n };\n\n public onPublish(\n fn: (\n topic: string,\n data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer,\n compress?: boolean,\n ) => void,\n ) {\n const kernelRun = this.kernel.run.bind(this.kernel);\n kernelRun(() => {\n BroadcastingServiceContainer.use().onPublish(fn);\n });\n }\n\n public dispatchJob(jobName: string, args: string) {\n const kernelRun = this.kernel.run.bind(this.kernel);\n return kernelRun(() => {\n return QueueServiceContainer.use().dispatchJob(jobName, args);\n });\n }\n\n public destroy() {\n this.kernel.destroy();\n }\n\n public clone() {\n return Object.assign(Object.create(Object.getPrototypeOf(this)), this);\n }\n}\n",
|
|
7
|
+
"import type { WebSocketHandler } from \"bun\";\nimport type { Kernel } from \"../kernel\";\nimport { ApiRouterServiceContainer } from \"../services/router/ApiRouterServiceContainer\";\nimport { ViewRouterServiceContainer } from \"../services/router/ViewRouterServiceContainer\";\nimport { BroadcastingServiceContainer } from \"../services/pubsub/BroadcastingServiceContainer\";\nimport { QueueServiceContainer } from \"../services/queue/QueueServiceContainer\";\n\ninterface AppParams {\n kernel: new () => Kernel;\n onException?: (error: Error) => void;\n}\n\nexport class App {\n private kernel: Kernel;\n public onException?: (error: Error) => void;\n\n constructor(params: AppParams) {\n this.kernel = new params.kernel();\n this.kernel.boot.call(this.kernel);\n this.onException =\n params.onException ??\n ((error: Error) => {\n console.error(\"Unhandled exception in App:\", error);\n });\n }\n\n public getComponentTree() {\n return this.kernel.run.call(this.kernel, () => {\n return ViewRouterServiceContainer.use().componentTree;\n });\n }\n\n public getFlatComponentTree() {\n return this.kernel.run.call(this.kernel, () => {\n return ViewRouterServiceContainer.use().flatComponentTree;\n });\n }\n\n public getRouteManifest() {\n return this.kernel.run.call(this.kernel, () => {\n return ViewRouterServiceContainer.use().routeManifest;\n });\n }\n\n public async fetch(req: Request): Promise<Response> {\n const url = new URL(req.url);\n return this.kernel.run.call(this.kernel, async () => {\n if (url.pathname.startsWith(\"/api\")) {\n return await ApiRouterServiceContainer.use().handleApiRequest(req);\n }\n return await ViewRouterServiceContainer.use().handleViewRequest(req);\n });\n }\n\n public websocket: WebSocketHandler<{ headers: Headers }> = {\n message: (ws, message) => {\n const kernelRun = this.kernel.run.bind(this.kernel);\n kernelRun(() => {\n BroadcastingServiceContainer.use().run(ws.data.headers, () => {\n BroadcastingServiceContainer.use().handleMessage(ws, message);\n });\n });\n },\n open: (_ws) => {},\n close: (ws) => {\n console.log(\"closed ws\");\n ws.terminate();\n },\n };\n\n public onPublish(\n fn: (\n topic: string,\n data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer,\n compress?: boolean,\n ) => void,\n ) {\n const kernelRun = this.kernel.run.bind(this.kernel);\n kernelRun(() => {\n BroadcastingServiceContainer.use().onPublish(fn);\n });\n }\n\n public dispatchJob(jobName: string, args: string) {\n const kernelRun = this.kernel.run.bind(this.kernel);\n return kernelRun(() => {\n return QueueServiceContainer.use().dispatchJob(jobName, args);\n });\n }\n\n public destroy() {\n this.kernel.destroy();\n }\n\n public clone() {\n return Object.assign(Object.create(Object.getPrototypeOf(this)), this);\n }\n}\n",
|
|
8
8
|
"import { Prisma } from \"@prisma/client\";\nimport { KernelContext } from \"../kernel/KernelContext\";\nimport { InsufficientPermissionsError } from \"../http/errors\";\n\nexport const prismaExtension = Prisma.defineExtension({\n name: \"Gemi Policies\",\n\n query: {\n async $allOperations({ args, operation, query, model }) {\n // const provider = KernelContext.getStore().policiesServiceProvider;\n\n // const policies = provider.policiesList[`${model}Policies`];\n\n // if (!policies) {\n // return await query(args);\n // }\n\n // const isPassed = await policies.all.call(policies, operation, args);\n // if (!isPassed) {\n // throw new InsufficientPermissionsError();\n // }\n\n return await query(args);\n },\n },\n});\n"
|
|
9
9
|
],
|
|
10
|
-
"mappings": ";sVACA,LAAuB,UAAnB,HAC0B,oBAA1B,HAC2B,eAA3B,FADmB,OAEnB,EAAe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,OAAO,EAAG,CACf,KAAK,OAAO,QAAQ,EAGf,KAAK,EAAG,CACb,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,eAAe,IAAI,CAAC,EAAG,IAAI,EAEzE,CCjGA,eAIa,EAAkB,SAAO,gBAAgB,CACpD,KAAM,gBAEN,MAAO,MACC,eAAc,EAAG,OAAM,YAAW,QAAO,SAAS,CActD,OAAO,MAAM,EAAM,CAAI,EAE3B,CACF,CAAC",
|
|
11
|
+
"debugId": "3A4371A4A7E8DD4B64756E2164756E21",
|
|
12
12
|
"names": []
|
|
13
13
|
}
|
package/dist/bin/gemi.js
CHANGED
|
@@ -35209,6 +35209,7 @@ async function startProdServer() {
|
|
|
35209
35209
|
}
|
|
35210
35210
|
});
|
|
35211
35211
|
} catch (error) {
|
|
35212
|
+
app.onException?.(error);
|
|
35212
35213
|
return new Response("Not found", { status: 404 });
|
|
35213
35214
|
}
|
|
35214
35215
|
}
|
|
@@ -35255,6 +35256,7 @@ async function startProdServer() {
|
|
|
35255
35256
|
headers: { "Content-Type": "application/json" }
|
|
35256
35257
|
});
|
|
35257
35258
|
}
|
|
35259
|
+
app.onException?.(err);
|
|
35258
35260
|
return new Response(err.stack, { status: 500 });
|
|
35259
35261
|
}
|
|
35260
35262
|
}
|
|
@@ -35665,5 +35667,5 @@ program.command("app:route-manifest").action(async () => {
|
|
|
35665
35667
|
});
|
|
35666
35668
|
program.parse();
|
|
35667
35669
|
|
|
35668
|
-
//# debugId=
|
|
35670
|
+
//# debugId=2EC2432BD489337164756E2164756E21
|
|
35669
35671
|
//# sourceMappingURL=gemi.js.map
|