UNPKG

@prisma/client

Version:

Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.

3 lines (2 loc) 1.82 kB
var s=Object.defineProperty;var l=(e,t)=>{for(var o in t)s(e,o,{get:t[o],enumerable:!0})};var i={};l(i,{validator:()=>r});function r(...e){return t=>t}var a=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function d(e){return new Proxy(e,{get(t,o){if(o in t)return t[o];if(!a.has(o))throw new TypeError("Invalid enum value: ".concat(String(o)))}})}var u=()=>{var e,t;return((t=(e=globalThis.process)==null?void 0:e.release)==null?void 0:t.name)==="node"},c=()=>{var e,t;return!!globalThis.Bun||!!((t=(e=globalThis.process)==null?void 0:e.versions)!=null&&t.bun)},m=()=>!!globalThis.Deno,g=()=>typeof globalThis.Netlify=="object",p=()=>typeof globalThis.EdgeRuntime=="object",f=()=>{var e;return((e=globalThis.navigator)==null?void 0:e.userAgent)==="Cloudflare-Workers"};function y(){var o;return(o=[[g,"netlify"],[p,"edge-light"],[f,"workerd"],[m,"deno"],[c,"bun"],[u,"node"]].flatMap(n=>n[0]()?[n[1]]:[]).at(0))!=null?o:""}var x={node:"Node.js",workerd:"Cloudflare Workers",deno:"Deno and Deno Deploy",netlify:"Netlify Edge Functions","edge-light":"Edge Runtime (Vercel Edge Functions, Vercel Edge Middleware, Next.js (Pages Router) Edge API Routes, Next.js (App Router) Edge Route Handlers or Next.js Middleware)"};function b(){let e=y();return{id:e,prettyName:x[e]||e,isEdge:["workerd","deno","netlify","edge-light"].includes(e)}}import{AnyNull as T,DbNull as w,isAnyNull as v,isDbNull as P,isJsonNull as A,JsonNull as D,NullTypes as $}from"@prisma/client-runtime-utils";import{Decimal as V}from"@prisma/client-runtime-utils";export{T as AnyNull,w as DbNull,V as Decimal,D as JsonNull,$ as NullTypes,i as Public,b as getRuntime,v as isAnyNull,P as isDbNull,A as isJsonNull,d as makeStrictEnum}; //# sourceMappingURL=index-browser.mjs.map