gemi 0.9.1 → 0.9.2

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // @bun
2
- import{e as L}from"../chunk-papxj58y.js";import"../chunk-641dtrzq.js";import{nb as Y}from"../chunk-mhs8rp3d.js";import"../chunk-0wqf4729.js";import{Ab as X,qb as T}from"../facades/index.js";import"../http/index.js";import"../chunk-98e4g3z6.js";import"../chunk-0tsd6d6s.js";import{Xb as P,Yb as $}from"../chunk-vvdgy5ba.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:"393aa359c9ad4a4bb28630fb5613f9c281cde053"},V="5.17.0",h=V,k=class{constructor(){throw new 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);else 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{e as L}from"../chunk-hzfj9k0z.js";import"../chunk-641dtrzq.js";import{nb as Y}from"../chunk-vress81a.js";import"../chunk-0wqf4729.js";import{Ab as X,qb as T}from"../facades/index.js";import"../http/index.js";import"../chunk-w8eezrzs.js";import"../chunk-qbvhdtxt.js";import{Xb as P,Yb as $}from"../chunk-vvdgy5ba.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:"393aa359c9ad4a4bb28630fb5613f9c281cde053"},V="5.17.0",h=V,k=class{constructor(){throw new 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);else 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
4
  //# debugId=5766876DB5935B5964756E2164756E21