prisma 6.3.0-dev.24 → 6.3.0-dev.26
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/build/index.js +5 -5
- package/build/public/assets/index.js +1 -1
- package/build/public/assets/moon.387ab66c.svg +1 -0
- package/build/public/assets/sun.89774753.svg +1 -0
- package/build/public/assets/vendor.js +1 -1
- package/build/public/index.css +1 -1
- package/package.json +12 -12
- package/prisma-client/generator-build/index.js +44 -12
- package/prisma-client/package.json +2 -1
- package/prisma-client/runtime/binary.js +2 -2
- package/prisma-client/runtime/client.d.ts +3447 -0
- package/prisma-client/runtime/client.js +103 -0
- package/prisma-client/runtime/edge-esm.js +2 -2
- package/prisma-client/runtime/edge.js +2 -2
- package/prisma-client/runtime/library.d.ts +57 -22
- package/prisma-client/runtime/library.js +65 -67
- package/prisma-client/runtime/query_compiler_bg.mysql.js +1 -0
- package/prisma-client/runtime/query_compiler_bg.postgresql.js +1 -0
- package/prisma-client/runtime/query_compiler_bg.sqlite.js +1 -0
- package/prisma-client/runtime/react-native.d.ts +57 -22
- package/prisma-client/runtime/react-native.js +14 -14
- package/prisma-client/scripts/default-index.js +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var D=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var O=Object.prototype.hasOwnProperty;var R=(e,t)=>{for(var n in t)D(e,n,{get:t[n],enumerable:!0})},C=(e,t,n,_)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of M(t))!O.call(e,c)&&c!==n&&D(e,c,{get:()=>t[c],enumerable:!(_=F(t,c))||_.enumerable});return e};var U=e=>C(D({},"__esModule",{value:!0}),e);var qe={};R(qe,{QueryCompiler:()=>Q,__wbg_buffer_b7b08af79b0b0974:()=>ce,__wbg_call_1084a111329e68ce:()=>Ee,__wbg_call_89af060b4e1523f2:()=>me,__wbg_crypto_58f13aa23ffcb166:()=>ae,__wbg_getRandomValues_504510b5564925af:()=>oe,__wbg_getTime_91058879093a1589:()=>Z,__wbg_globalThis_86b222e13bdf32ed:()=>Ie,__wbg_global_e5a3fe56f8be9485:()=>Ae,__wbg_keys_7840ae453e408eab:()=>$,__wbg_length_ae22078168b726f5:()=>ee,__wbg_msCrypto_abcb1295e768d1f2:()=>xe,__wbg_new0_65387337a95cf44d:()=>X,__wbg_new_ea1883e1e5e86686:()=>ue,__wbg_newnoargs_76313bd6ff35d0f2:()=>De,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>fe,__wbg_newwithlength_ec548f448387c968:()=>he,__wbg_node_523d7bd03ef69fba:()=>de,__wbg_now_28a6b413aca4a96a:()=>je,__wbg_now_b7a162010a9e75b4:()=>ke,__wbg_process_5b786e71d465a513:()=>be,__wbg_randomFillSync_a0d98aa11c81fe89:()=>se,__wbg_require_2784e593a4674877:()=>we,__wbg_self_3093d5d1f7bcb682:()=>Te,__wbg_set_d1e79e2388520f18:()=>ie,__wbg_set_wasm:()=>V,__wbg_setmessage_698baf5bbc04c9c9:()=>G,__wbg_stringify_bbf45426c92a6bf5:()=>Y,__wbg_subarray_7c2e3576afe181d1:()=>re,__wbg_versions_c2ab80650590b6a2:()=>ge,__wbg_window_3bcfc4d31bc012f8:()=>ve,__wbindgen_error_new:()=>B,__wbindgen_is_function:()=>pe,__wbindgen_is_object:()=>ne,__wbindgen_is_string:()=>le,__wbindgen_is_undefined:()=>J,__wbindgen_memory:()=>_e,__wbindgen_object_clone_ref:()=>H,__wbindgen_object_drop_ref:()=>te,__wbindgen_string_get:()=>K,__wbindgen_string_new:()=>ye,__wbindgen_throw:()=>Se});module.exports=U(qe);var m=()=>{};m.prototype=m;let u;function V(e){u=e}const N=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let E=new N("utf-8",{ignoreBOM:!0,fatal:!0});E.decode();let x=null;function h(){return(x===null||x.byteLength===0)&&(x=new Uint8Array(u.memory.buffer)),x}function l(e,t){return e=e>>>0,E.decode(h().subarray(e,e+t))}const g=new Array(128).fill(void 0);g.push(void 0,null,!0,!1);let y=g.length;function o(e){y===g.length&&g.push(g.length+1);const t=y;return y=g[t],g[t]=e,t}function r(e){return g[e]}let T=0;const W=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let v=new W("utf-8");const z=typeof v.encodeInto=="function"?function(e,t){return v.encodeInto(e,t)}:function(e,t){const n=v.encode(e);return t.set(n),{read:e.length,written:n.length}};function j(e,t,n){if(n===void 0){const f=v.encode(e),b=t(f.length,1)>>>0;return h().subarray(b,b+f.length).set(f),T=f.length,b}let _=e.length,c=t(_,1)>>>0;const a=h();let i=0;for(;i<_;i++){const f=e.charCodeAt(i);if(f>127)break;a[c+i]=f}if(i!==_){i!==0&&(e=e.slice(i)),c=n(c,_,_=i+e.length*3,1)>>>0;const f=h().subarray(c+i,c+_),b=z(e,f);i+=b.written,c=n(c,_,i,1)>>>0}return T=i,c}function L(e){return e==null}let w=null;function d(){return(w===null||w.buffer.detached===!0||w.buffer.detached===void 0&&w.buffer!==u.memory.buffer)&&(w=new DataView(u.memory.buffer)),w}function P(e){e<132||(g[e]=y,y=e)}function I(e){const t=r(e);return P(e),t}function s(e,t){try{return e.apply(this,t)}catch(n){u.__wbindgen_exn_store(o(n))}}const S=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>u.__wbg_querycompiler_free(e>>>0,1));class Q{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),t}free(){const t=this.__destroy_into_raw();u.__wbg_querycompiler_free(t,0)}constructor(t){try{const a=u.__wbindgen_add_to_stack_pointer(-16);u.querycompiler_new(a,o(t));var n=d().getInt32(a+4*0,!0),_=d().getInt32(a+4*1,!0),c=d().getInt32(a+4*2,!0);if(c)throw I(_);return this.__wbg_ptr=n>>>0,S.register(this,this.__wbg_ptr,this),this}finally{u.__wbindgen_add_to_stack_pointer(16)}}compile(t){let n,_;try{const p=u.__wbindgen_add_to_stack_pointer(-16),k=j(t,u.__wbindgen_malloc,u.__wbindgen_realloc),q=T;u.querycompiler_compile(p,this.__wbg_ptr,k,q);var c=d().getInt32(p+4*0,!0),a=d().getInt32(p+4*1,!0),i=d().getInt32(p+4*2,!0),f=d().getInt32(p+4*3,!0),b=c,A=a;if(f)throw b=0,A=0,I(i);return n=b,_=A,l(b,A)}finally{u.__wbindgen_add_to_stack_pointer(16),u.__wbindgen_free(n,_,1)}}}function B(e,t){const n=new Error(l(e,t));return o(n)}function G(e,t){global.PRISMA_WASM_PANIC_REGISTRY.set_message(l(e,t))}function H(e){const t=r(e);return o(t)}function J(e){return r(e)===void 0}function Y(){return s(function(e){const t=JSON.stringify(r(e));return o(t)},arguments)}function K(e,t){const n=r(t),_=typeof n=="string"?n:void 0;var c=L(_)?0:j(_,u.__wbindgen_malloc,u.__wbindgen_realloc),a=T;d().setInt32(e+4*1,a,!0),d().setInt32(e+4*0,c,!0)}function X(){return o(new Date)}function Z(e){return r(e).getTime()}function $(e){const t=Object.keys(r(e));return o(t)}function ee(e){return r(e).length}function te(e){I(e)}function ne(e){const t=r(e);return typeof t=="object"&&t!==null}function re(e,t,n){const _=r(e).subarray(t>>>0,n>>>0);return o(_)}function oe(){return s(function(e,t){r(e).getRandomValues(r(t))},arguments)}function _e(){const e=u.memory;return o(e)}function ce(e){const t=r(e).buffer;return o(t)}function ue(e){const t=new Uint8Array(r(e));return o(t)}function ie(e,t,n){r(e).set(r(t),n>>>0)}function fe(e,t,n){const _=new Uint8Array(r(e),t>>>0,n>>>0);return o(_)}function se(){return s(function(e,t){r(e).randomFillSync(I(t))},arguments)}function ae(e){const t=r(e).crypto;return o(t)}function be(e){const t=r(e).process;return o(t)}function ge(e){const t=r(e).versions;return o(t)}function de(e){const t=r(e).node;return o(t)}function le(e){return typeof r(e)=="string"}function we(){return s(function(){const e=module.require;return o(e)},arguments)}function pe(e){return typeof r(e)=="function"}function ye(e,t){const n=l(e,t);return o(n)}function me(){return s(function(e,t,n){const _=r(e).call(r(t),r(n));return o(_)},arguments)}function xe(e){const t=r(e).msCrypto;return o(t)}function he(e){const t=new Uint8Array(e>>>0);return o(t)}function Te(){return s(function(){const e=self.self;return o(e)},arguments)}function ve(){return s(function(){const e=window.window;return o(e)},arguments)}function Ie(){return s(function(){const e=globalThis.globalThis;return o(e)},arguments)}function Ae(){return s(function(){const e=global.global;return o(e)},arguments)}function De(e,t){const n=new m(l(e,t));return o(n)}function Ee(){return s(function(e,t){const n=r(e).call(r(t));return o(n)},arguments)}function je(){return s(function(){return Date.now()},arguments)}function Se(e,t){throw new Error(l(e,t))}function ke(){return Date.now()}0&&(module.exports={QueryCompiler,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_keys_7840ae453e408eab,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_b7a162010a9e75b4,__wbg_process_5b786e71d465a513,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_self_3093d5d1f7bcb682,__wbg_set_d1e79e2388520f18,__wbg_set_wasm,__wbg_setmessage_698baf5bbc04c9c9,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_error_new,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_memory,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var D=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var O=Object.prototype.hasOwnProperty;var R=(e,t)=>{for(var n in t)D(e,n,{get:t[n],enumerable:!0})},C=(e,t,n,_)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of M(t))!O.call(e,c)&&c!==n&&D(e,c,{get:()=>t[c],enumerable:!(_=F(t,c))||_.enumerable});return e};var U=e=>C(D({},"__esModule",{value:!0}),e);var qe={};R(qe,{QueryCompiler:()=>Q,__wbg_buffer_b7b08af79b0b0974:()=>ce,__wbg_call_1084a111329e68ce:()=>Ee,__wbg_call_89af060b4e1523f2:()=>me,__wbg_crypto_58f13aa23ffcb166:()=>ae,__wbg_getRandomValues_504510b5564925af:()=>oe,__wbg_getTime_91058879093a1589:()=>Z,__wbg_globalThis_86b222e13bdf32ed:()=>Ie,__wbg_global_e5a3fe56f8be9485:()=>Ae,__wbg_keys_7840ae453e408eab:()=>$,__wbg_length_ae22078168b726f5:()=>ee,__wbg_msCrypto_abcb1295e768d1f2:()=>xe,__wbg_new0_65387337a95cf44d:()=>X,__wbg_new_ea1883e1e5e86686:()=>ue,__wbg_newnoargs_76313bd6ff35d0f2:()=>De,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>fe,__wbg_newwithlength_ec548f448387c968:()=>he,__wbg_node_523d7bd03ef69fba:()=>de,__wbg_now_28a6b413aca4a96a:()=>je,__wbg_now_b7a162010a9e75b4:()=>ke,__wbg_process_5b786e71d465a513:()=>be,__wbg_randomFillSync_a0d98aa11c81fe89:()=>se,__wbg_require_2784e593a4674877:()=>we,__wbg_self_3093d5d1f7bcb682:()=>Te,__wbg_set_d1e79e2388520f18:()=>ie,__wbg_set_wasm:()=>V,__wbg_setmessage_698baf5bbc04c9c9:()=>G,__wbg_stringify_bbf45426c92a6bf5:()=>Y,__wbg_subarray_7c2e3576afe181d1:()=>re,__wbg_versions_c2ab80650590b6a2:()=>ge,__wbg_window_3bcfc4d31bc012f8:()=>ve,__wbindgen_error_new:()=>B,__wbindgen_is_function:()=>pe,__wbindgen_is_object:()=>ne,__wbindgen_is_string:()=>le,__wbindgen_is_undefined:()=>J,__wbindgen_memory:()=>_e,__wbindgen_object_clone_ref:()=>H,__wbindgen_object_drop_ref:()=>te,__wbindgen_string_get:()=>K,__wbindgen_string_new:()=>ye,__wbindgen_throw:()=>Se});module.exports=U(qe);var m=()=>{};m.prototype=m;let u;function V(e){u=e}const N=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let E=new N("utf-8",{ignoreBOM:!0,fatal:!0});E.decode();let x=null;function h(){return(x===null||x.byteLength===0)&&(x=new Uint8Array(u.memory.buffer)),x}function l(e,t){return e=e>>>0,E.decode(h().subarray(e,e+t))}const g=new Array(128).fill(void 0);g.push(void 0,null,!0,!1);let y=g.length;function o(e){y===g.length&&g.push(g.length+1);const t=y;return y=g[t],g[t]=e,t}function r(e){return g[e]}let T=0;const W=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let v=new W("utf-8");const z=typeof v.encodeInto=="function"?function(e,t){return v.encodeInto(e,t)}:function(e,t){const n=v.encode(e);return t.set(n),{read:e.length,written:n.length}};function j(e,t,n){if(n===void 0){const f=v.encode(e),b=t(f.length,1)>>>0;return h().subarray(b,b+f.length).set(f),T=f.length,b}let _=e.length,c=t(_,1)>>>0;const a=h();let i=0;for(;i<_;i++){const f=e.charCodeAt(i);if(f>127)break;a[c+i]=f}if(i!==_){i!==0&&(e=e.slice(i)),c=n(c,_,_=i+e.length*3,1)>>>0;const f=h().subarray(c+i,c+_),b=z(e,f);i+=b.written,c=n(c,_,i,1)>>>0}return T=i,c}function L(e){return e==null}let w=null;function d(){return(w===null||w.buffer.detached===!0||w.buffer.detached===void 0&&w.buffer!==u.memory.buffer)&&(w=new DataView(u.memory.buffer)),w}function P(e){e<132||(g[e]=y,y=e)}function I(e){const t=r(e);return P(e),t}function s(e,t){try{return e.apply(this,t)}catch(n){u.__wbindgen_exn_store(o(n))}}const S=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>u.__wbg_querycompiler_free(e>>>0,1));class Q{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),t}free(){const t=this.__destroy_into_raw();u.__wbg_querycompiler_free(t,0)}constructor(t){try{const a=u.__wbindgen_add_to_stack_pointer(-16);u.querycompiler_new(a,o(t));var n=d().getInt32(a+4*0,!0),_=d().getInt32(a+4*1,!0),c=d().getInt32(a+4*2,!0);if(c)throw I(_);return this.__wbg_ptr=n>>>0,S.register(this,this.__wbg_ptr,this),this}finally{u.__wbindgen_add_to_stack_pointer(16)}}compile(t){let n,_;try{const p=u.__wbindgen_add_to_stack_pointer(-16),k=j(t,u.__wbindgen_malloc,u.__wbindgen_realloc),q=T;u.querycompiler_compile(p,this.__wbg_ptr,k,q);var c=d().getInt32(p+4*0,!0),a=d().getInt32(p+4*1,!0),i=d().getInt32(p+4*2,!0),f=d().getInt32(p+4*3,!0),b=c,A=a;if(f)throw b=0,A=0,I(i);return n=b,_=A,l(b,A)}finally{u.__wbindgen_add_to_stack_pointer(16),u.__wbindgen_free(n,_,1)}}}function B(e,t){const n=new Error(l(e,t));return o(n)}function G(e,t){global.PRISMA_WASM_PANIC_REGISTRY.set_message(l(e,t))}function H(e){const t=r(e);return o(t)}function J(e){return r(e)===void 0}function Y(){return s(function(e){const t=JSON.stringify(r(e));return o(t)},arguments)}function K(e,t){const n=r(t),_=typeof n=="string"?n:void 0;var c=L(_)?0:j(_,u.__wbindgen_malloc,u.__wbindgen_realloc),a=T;d().setInt32(e+4*1,a,!0),d().setInt32(e+4*0,c,!0)}function X(){return o(new Date)}function Z(e){return r(e).getTime()}function $(e){const t=Object.keys(r(e));return o(t)}function ee(e){return r(e).length}function te(e){I(e)}function ne(e){const t=r(e);return typeof t=="object"&&t!==null}function re(e,t,n){const _=r(e).subarray(t>>>0,n>>>0);return o(_)}function oe(){return s(function(e,t){r(e).getRandomValues(r(t))},arguments)}function _e(){const e=u.memory;return o(e)}function ce(e){const t=r(e).buffer;return o(t)}function ue(e){const t=new Uint8Array(r(e));return o(t)}function ie(e,t,n){r(e).set(r(t),n>>>0)}function fe(e,t,n){const _=new Uint8Array(r(e),t>>>0,n>>>0);return o(_)}function se(){return s(function(e,t){r(e).randomFillSync(I(t))},arguments)}function ae(e){const t=r(e).crypto;return o(t)}function be(e){const t=r(e).process;return o(t)}function ge(e){const t=r(e).versions;return o(t)}function de(e){const t=r(e).node;return o(t)}function le(e){return typeof r(e)=="string"}function we(){return s(function(){const e=module.require;return o(e)},arguments)}function pe(e){return typeof r(e)=="function"}function ye(e,t){const n=l(e,t);return o(n)}function me(){return s(function(e,t,n){const _=r(e).call(r(t),r(n));return o(_)},arguments)}function xe(e){const t=r(e).msCrypto;return o(t)}function he(e){const t=new Uint8Array(e>>>0);return o(t)}function Te(){return s(function(){const e=self.self;return o(e)},arguments)}function ve(){return s(function(){const e=window.window;return o(e)},arguments)}function Ie(){return s(function(){const e=globalThis.globalThis;return o(e)},arguments)}function Ae(){return s(function(){const e=global.global;return o(e)},arguments)}function De(e,t){const n=new m(l(e,t));return o(n)}function Ee(){return s(function(e,t){const n=r(e).call(r(t));return o(n)},arguments)}function je(){return s(function(){return Date.now()},arguments)}function Se(e,t){throw new Error(l(e,t))}function ke(){return Date.now()}0&&(module.exports={QueryCompiler,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_keys_7840ae453e408eab,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_b7a162010a9e75b4,__wbg_process_5b786e71d465a513,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_self_3093d5d1f7bcb682,__wbg_set_d1e79e2388520f18,__wbg_set_wasm,__wbg_setmessage_698baf5bbc04c9c9,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_error_new,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_memory,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var D=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var O=Object.prototype.hasOwnProperty;var R=(e,t)=>{for(var n in t)D(e,n,{get:t[n],enumerable:!0})},C=(e,t,n,_)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of M(t))!O.call(e,c)&&c!==n&&D(e,c,{get:()=>t[c],enumerable:!(_=F(t,c))||_.enumerable});return e};var U=e=>C(D({},"__esModule",{value:!0}),e);var qe={};R(qe,{QueryCompiler:()=>Q,__wbg_buffer_b7b08af79b0b0974:()=>ce,__wbg_call_1084a111329e68ce:()=>Ee,__wbg_call_89af060b4e1523f2:()=>me,__wbg_crypto_58f13aa23ffcb166:()=>ae,__wbg_getRandomValues_504510b5564925af:()=>oe,__wbg_getTime_91058879093a1589:()=>Z,__wbg_globalThis_86b222e13bdf32ed:()=>Ie,__wbg_global_e5a3fe56f8be9485:()=>Ae,__wbg_keys_7840ae453e408eab:()=>$,__wbg_length_ae22078168b726f5:()=>ee,__wbg_msCrypto_abcb1295e768d1f2:()=>xe,__wbg_new0_65387337a95cf44d:()=>X,__wbg_new_ea1883e1e5e86686:()=>ue,__wbg_newnoargs_76313bd6ff35d0f2:()=>De,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>fe,__wbg_newwithlength_ec548f448387c968:()=>he,__wbg_node_523d7bd03ef69fba:()=>de,__wbg_now_28a6b413aca4a96a:()=>je,__wbg_now_b7a162010a9e75b4:()=>ke,__wbg_process_5b786e71d465a513:()=>be,__wbg_randomFillSync_a0d98aa11c81fe89:()=>se,__wbg_require_2784e593a4674877:()=>we,__wbg_self_3093d5d1f7bcb682:()=>Te,__wbg_set_d1e79e2388520f18:()=>ie,__wbg_set_wasm:()=>V,__wbg_setmessage_698baf5bbc04c9c9:()=>G,__wbg_stringify_bbf45426c92a6bf5:()=>Y,__wbg_subarray_7c2e3576afe181d1:()=>re,__wbg_versions_c2ab80650590b6a2:()=>ge,__wbg_window_3bcfc4d31bc012f8:()=>ve,__wbindgen_error_new:()=>B,__wbindgen_is_function:()=>pe,__wbindgen_is_object:()=>ne,__wbindgen_is_string:()=>le,__wbindgen_is_undefined:()=>J,__wbindgen_memory:()=>_e,__wbindgen_object_clone_ref:()=>H,__wbindgen_object_drop_ref:()=>te,__wbindgen_string_get:()=>K,__wbindgen_string_new:()=>ye,__wbindgen_throw:()=>Se});module.exports=U(qe);var m=()=>{};m.prototype=m;let u;function V(e){u=e}const N=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let E=new N("utf-8",{ignoreBOM:!0,fatal:!0});E.decode();let x=null;function h(){return(x===null||x.byteLength===0)&&(x=new Uint8Array(u.memory.buffer)),x}function l(e,t){return e=e>>>0,E.decode(h().subarray(e,e+t))}const g=new Array(128).fill(void 0);g.push(void 0,null,!0,!1);let y=g.length;function o(e){y===g.length&&g.push(g.length+1);const t=y;return y=g[t],g[t]=e,t}function r(e){return g[e]}let T=0;const W=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let v=new W("utf-8");const z=typeof v.encodeInto=="function"?function(e,t){return v.encodeInto(e,t)}:function(e,t){const n=v.encode(e);return t.set(n),{read:e.length,written:n.length}};function j(e,t,n){if(n===void 0){const f=v.encode(e),b=t(f.length,1)>>>0;return h().subarray(b,b+f.length).set(f),T=f.length,b}let _=e.length,c=t(_,1)>>>0;const a=h();let i=0;for(;i<_;i++){const f=e.charCodeAt(i);if(f>127)break;a[c+i]=f}if(i!==_){i!==0&&(e=e.slice(i)),c=n(c,_,_=i+e.length*3,1)>>>0;const f=h().subarray(c+i,c+_),b=z(e,f);i+=b.written,c=n(c,_,i,1)>>>0}return T=i,c}function L(e){return e==null}let w=null;function d(){return(w===null||w.buffer.detached===!0||w.buffer.detached===void 0&&w.buffer!==u.memory.buffer)&&(w=new DataView(u.memory.buffer)),w}function P(e){e<132||(g[e]=y,y=e)}function I(e){const t=r(e);return P(e),t}function s(e,t){try{return e.apply(this,t)}catch(n){u.__wbindgen_exn_store(o(n))}}const S=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>u.__wbg_querycompiler_free(e>>>0,1));class Q{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),t}free(){const t=this.__destroy_into_raw();u.__wbg_querycompiler_free(t,0)}constructor(t){try{const a=u.__wbindgen_add_to_stack_pointer(-16);u.querycompiler_new(a,o(t));var n=d().getInt32(a+4*0,!0),_=d().getInt32(a+4*1,!0),c=d().getInt32(a+4*2,!0);if(c)throw I(_);return this.__wbg_ptr=n>>>0,S.register(this,this.__wbg_ptr,this),this}finally{u.__wbindgen_add_to_stack_pointer(16)}}compile(t){let n,_;try{const p=u.__wbindgen_add_to_stack_pointer(-16),k=j(t,u.__wbindgen_malloc,u.__wbindgen_realloc),q=T;u.querycompiler_compile(p,this.__wbg_ptr,k,q);var c=d().getInt32(p+4*0,!0),a=d().getInt32(p+4*1,!0),i=d().getInt32(p+4*2,!0),f=d().getInt32(p+4*3,!0),b=c,A=a;if(f)throw b=0,A=0,I(i);return n=b,_=A,l(b,A)}finally{u.__wbindgen_add_to_stack_pointer(16),u.__wbindgen_free(n,_,1)}}}function B(e,t){const n=new Error(l(e,t));return o(n)}function G(e,t){global.PRISMA_WASM_PANIC_REGISTRY.set_message(l(e,t))}function H(e){const t=r(e);return o(t)}function J(e){return r(e)===void 0}function Y(){return s(function(e){const t=JSON.stringify(r(e));return o(t)},arguments)}function K(e,t){const n=r(t),_=typeof n=="string"?n:void 0;var c=L(_)?0:j(_,u.__wbindgen_malloc,u.__wbindgen_realloc),a=T;d().setInt32(e+4*1,a,!0),d().setInt32(e+4*0,c,!0)}function X(){return o(new Date)}function Z(e){return r(e).getTime()}function $(e){const t=Object.keys(r(e));return o(t)}function ee(e){return r(e).length}function te(e){I(e)}function ne(e){const t=r(e);return typeof t=="object"&&t!==null}function re(e,t,n){const _=r(e).subarray(t>>>0,n>>>0);return o(_)}function oe(){return s(function(e,t){r(e).getRandomValues(r(t))},arguments)}function _e(){const e=u.memory;return o(e)}function ce(e){const t=r(e).buffer;return o(t)}function ue(e){const t=new Uint8Array(r(e));return o(t)}function ie(e,t,n){r(e).set(r(t),n>>>0)}function fe(e,t,n){const _=new Uint8Array(r(e),t>>>0,n>>>0);return o(_)}function se(){return s(function(e,t){r(e).randomFillSync(I(t))},arguments)}function ae(e){const t=r(e).crypto;return o(t)}function be(e){const t=r(e).process;return o(t)}function ge(e){const t=r(e).versions;return o(t)}function de(e){const t=r(e).node;return o(t)}function le(e){return typeof r(e)=="string"}function we(){return s(function(){const e=module.require;return o(e)},arguments)}function pe(e){return typeof r(e)=="function"}function ye(e,t){const n=l(e,t);return o(n)}function me(){return s(function(e,t,n){const _=r(e).call(r(t),r(n));return o(_)},arguments)}function xe(e){const t=r(e).msCrypto;return o(t)}function he(e){const t=new Uint8Array(e>>>0);return o(t)}function Te(){return s(function(){const e=self.self;return o(e)},arguments)}function ve(){return s(function(){const e=window.window;return o(e)},arguments)}function Ie(){return s(function(){const e=globalThis.globalThis;return o(e)},arguments)}function Ae(){return s(function(){const e=global.global;return o(e)},arguments)}function De(e,t){const n=new m(l(e,t));return o(n)}function Ee(){return s(function(e,t){const n=r(e).call(r(t));return o(n)},arguments)}function je(){return s(function(){return Date.now()},arguments)}function Se(e,t){throw new Error(l(e,t))}function ke(){return Date.now()}0&&(module.exports={QueryCompiler,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_keys_7840ae453e408eab,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_b7a162010a9e75b4,__wbg_process_5b786e71d465a513,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_self_3093d5d1f7bcb682,__wbg_set_d1e79e2388520f18,__wbg_set_wasm,__wbg_setmessage_698baf5bbc04c9c9,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_error_new,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_memory,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw});
|
|
@@ -193,6 +193,24 @@ declare const ColumnTypeEnum: {
|
|
|
193
193
|
readonly UnknownNumber: 128;
|
|
194
194
|
};
|
|
195
195
|
|
|
196
|
+
declare type CompilerWasmLoadingConfig = {
|
|
197
|
+
/**
|
|
198
|
+
* WASM-bindgen runtime for corresponding module
|
|
199
|
+
*/
|
|
200
|
+
getRuntime: () => {
|
|
201
|
+
__wbg_set_wasm(exports: unknown): any;
|
|
202
|
+
QueryCompiler: QueryCompilerConstructor;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Loads the raw wasm module for the wasm compiler engine. This configuration is
|
|
206
|
+
* generated specifically for each type of client, eg. Node.js client and Edge
|
|
207
|
+
* clients will have different implementations.
|
|
208
|
+
* @remarks this is a callback on purpose, we only load the wasm if needed.
|
|
209
|
+
* @remarks only used by ClientEngine
|
|
210
|
+
*/
|
|
211
|
+
getQueryCompilerWasmModule: () => Promise<unknown>;
|
|
212
|
+
};
|
|
213
|
+
|
|
196
214
|
export declare type Compute<T> = T extends Function ? T : {
|
|
197
215
|
[K in keyof T]: T[K];
|
|
198
216
|
} & unknown;
|
|
@@ -1149,7 +1167,8 @@ declare interface EngineConfig {
|
|
|
1149
1167
|
/**
|
|
1150
1168
|
* Web Assembly module loading configuration
|
|
1151
1169
|
*/
|
|
1152
|
-
engineWasm?:
|
|
1170
|
+
engineWasm?: EngineWasmLoadingConfig;
|
|
1171
|
+
compilerWasm?: CompilerWasmLoadingConfig;
|
|
1153
1172
|
/**
|
|
1154
1173
|
* Allows Accelerate to use runtime utilities from the client. These are
|
|
1155
1174
|
* necessary for the AccelerateEngine to function correctly.
|
|
@@ -1188,6 +1207,24 @@ declare type EngineSpanId = string;
|
|
|
1188
1207
|
|
|
1189
1208
|
declare type EngineSpanKind = 'client' | 'internal';
|
|
1190
1209
|
|
|
1210
|
+
declare type EngineWasmLoadingConfig = {
|
|
1211
|
+
/**
|
|
1212
|
+
* WASM-bindgen runtime for corresponding module
|
|
1213
|
+
*/
|
|
1214
|
+
getRuntime: () => {
|
|
1215
|
+
__wbg_set_wasm(exports: unknown): any;
|
|
1216
|
+
QueryEngine: QueryEngineConstructor;
|
|
1217
|
+
};
|
|
1218
|
+
/**
|
|
1219
|
+
* Loads the raw wasm module for the wasm query engine. This configuration is
|
|
1220
|
+
* generated specifically for each type of client, eg. Node.js client and Edge
|
|
1221
|
+
* clients will have different implementations.
|
|
1222
|
+
* @remarks this is a callback on purpose, we only load the wasm if needed.
|
|
1223
|
+
* @remarks only used by LibraryEngine
|
|
1224
|
+
*/
|
|
1225
|
+
getQueryEngineWasmModule: () => Promise<unknown>;
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1191
1228
|
declare type EnvPaths = {
|
|
1192
1229
|
rootEnvPath: string | null;
|
|
1193
1230
|
schemaEnvPath: string | undefined;
|
|
@@ -1395,6 +1432,8 @@ export declare interface FieldRef<Model, FieldType> {
|
|
|
1395
1432
|
readonly isList: boolean;
|
|
1396
1433
|
}
|
|
1397
1434
|
|
|
1435
|
+
declare type Flavour = 'mysql' | 'postgres' | 'sqlite';
|
|
1436
|
+
|
|
1398
1437
|
export declare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';
|
|
1399
1438
|
|
|
1400
1439
|
export declare interface Fn<Params = unknown, Returns = unknown> {
|
|
@@ -1697,7 +1736,8 @@ declare type GetPrismaClientConfig = {
|
|
|
1697
1736
|
/**
|
|
1698
1737
|
* Optional wasm loading configuration
|
|
1699
1738
|
*/
|
|
1700
|
-
engineWasm?:
|
|
1739
|
+
engineWasm?: EngineWasmLoadingConfig;
|
|
1740
|
+
compilerWasm?: CompilerWasmLoadingConfig;
|
|
1701
1741
|
};
|
|
1702
1742
|
|
|
1703
1743
|
export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', ClientOptions = {}> = {
|
|
@@ -2521,7 +2561,7 @@ declare type Query = {
|
|
|
2521
2561
|
};
|
|
2522
2562
|
|
|
2523
2563
|
declare interface Queryable {
|
|
2524
|
-
readonly provider:
|
|
2564
|
+
readonly provider: Flavour;
|
|
2525
2565
|
readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});
|
|
2526
2566
|
/**
|
|
2527
2567
|
* Execute a query given as SQL, interpolating the given parameters,
|
|
@@ -2540,6 +2580,20 @@ declare interface Queryable {
|
|
|
2540
2580
|
executeRaw(params: Query): Promise<Result_4<number>>;
|
|
2541
2581
|
}
|
|
2542
2582
|
|
|
2583
|
+
declare type QueryCompiler = {
|
|
2584
|
+
compile(request: string): Promise<string>;
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
declare interface QueryCompilerConstructor {
|
|
2588
|
+
new (options: QueryCompilerOptions): QueryCompiler;
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2591
|
+
declare type QueryCompilerOptions = {
|
|
2592
|
+
datamodel: string;
|
|
2593
|
+
flavour: Flavour;
|
|
2594
|
+
connectionInfo: ConnectionInfo;
|
|
2595
|
+
};
|
|
2596
|
+
|
|
2543
2597
|
declare type QueryEngineBatchGraphQLRequest = {
|
|
2544
2598
|
batch: QueryEngineRequest[];
|
|
2545
2599
|
transaction?: boolean;
|
|
@@ -2567,7 +2621,6 @@ declare interface QueryEngineConstructor {
|
|
|
2567
2621
|
declare type QueryEngineInstance = {
|
|
2568
2622
|
connect(headers: string, requestId: string): Promise<void>;
|
|
2569
2623
|
disconnect(headers: string, requestId: string): Promise<void>;
|
|
2570
|
-
compile(request: string, humanReadable: boolean): Promise<string>;
|
|
2571
2624
|
/**
|
|
2572
2625
|
* @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`
|
|
2573
2626
|
* @param headersStr JSON.stringified `QueryEngineRequestHeaders`
|
|
@@ -3391,22 +3444,4 @@ export declare function warnEnvConflicts(envPaths: any): void;
|
|
|
3391
3444
|
|
|
3392
3445
|
export declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;
|
|
3393
3446
|
|
|
3394
|
-
declare type WasmLoadingConfig = {
|
|
3395
|
-
/**
|
|
3396
|
-
* WASM-bindgen runtime for corresponding module
|
|
3397
|
-
*/
|
|
3398
|
-
getRuntime: () => {
|
|
3399
|
-
__wbg_set_wasm(exports: unknown): any;
|
|
3400
|
-
QueryEngine: QueryEngineConstructor;
|
|
3401
|
-
};
|
|
3402
|
-
/**
|
|
3403
|
-
* Loads the raw wasm module for the wasm query engine. This configuration is
|
|
3404
|
-
* generated specifically for each type of client, eg. Node.js client and Edge
|
|
3405
|
-
* clients will have different implementations.
|
|
3406
|
-
* @remarks this is a callback on purpose, we only load the wasm if needed.
|
|
3407
|
-
* @remarks only used by LibraryEngine.ts
|
|
3408
|
-
*/
|
|
3409
|
-
getQueryEngineWasmModule: () => Promise<unknown>;
|
|
3410
|
-
};
|
|
3411
|
-
|
|
3412
3447
|
export { }
|