prisma 6.5.0-integration-engines-6-5-0-45-integration-a9055b89e58b4b5bfb59600785423b1db3d0e75d-e67fd46e9c6cb72c03115ed9625b22f79a80521b.2 → 6.5.0-integration-engines-6-5-0-46-integration-84a848328b0a8928e7495826cfe347b3bb40361c-2e8776a81f94f60e8cd63a61fa6f1d0c2aa4b5d2.1
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 +946 -975
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/config.d.ts +1 -0
- package/config.js +28 -0
- package/dist/cli/src/types.d.ts +1 -0
- package/package.json +41 -14
- package/prisma-client/generator-build/index.js +21 -21
- package/prisma-client/package.json +4 -4
- package/prisma-client/runtime/binary.js +17 -17
- package/prisma-client/runtime/client.d.ts +43 -44
- package/prisma-client/runtime/client.js +4 -4
- package/prisma-client/runtime/edge-esm.js +3 -3
- package/prisma-client/runtime/edge.js +3 -3
- package/prisma-client/runtime/library.d.ts +43 -44
- package/prisma-client/runtime/library.js +20 -20
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/react-native.d.ts +43 -44
- package/prisma-client/runtime/react-native.js +2 -2
- package/prisma-client/scripts/default-index.js +3 -3
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";var
|
2
|
-
${n.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{_.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const c={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(n,t,e){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,t,i(e))}function G(){const n=_.getBuildTimeInfo();return g(n)}function K(n){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),e=a;_.debug_panic(f,t,e);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(n,t){try{return n.apply(this,t)}catch(e){_.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){_.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,t,i(e),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>_.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}constructor(t,e,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(t),i(e),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(t,e,o,c){const f=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const R=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),D=a,M=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,R,D);return g(M)}startTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,e,o);return g(c)}trace(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,e,o);return g(c)}}function Z(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const c=new Promise(o);return i(c)}finally{e.a=e.b=0}}function tn(n,t){return setTimeout(r(n),t>>>0)}function en(n,t){const e=T(n,t);return i(e)}function rn(n,t){const e=new Error(T(n,t));return i(e)}function _n(n){const t=r(n);return i(t)}function on(n){return r(n)===void 0}function cn(){return l(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function un(){return l(function(n,t){const e=JSON.parse(T(n,t));return i(e)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){return r(n).now()}function bn(){return Date.now()}function gn(n){const t=Object.keys(r(n));return i(t)}function ln(n){return r(n).length}function dn(n){g(n)}function wn(n){const t=r(n);return typeof t=="object"&&t!==null}function pn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function xn(){return i(Symbol.iterator)}function mn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;d().setFloat64(n+8*1,y(o)?0:o,!0),d().setInt32(n+4*0,!y(o),!0)}function Tn(n){return i(n)}function In(n,t){return r(n)in r(t)}function Sn(n){const t=BigInt.asUintN(64,n);return i(t)}function jn(n,t){return r(n)===r(t)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=g(e)}function kn(){return i(new Map)}function vn(){const n=new Object;return i(n)}function En(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function Fn(n){return typeof r(n)=="string"}function Rn(n,t,e){r(n)[g(t)]=g(e)}function Dn(n,t){const e=r(n)[r(t)];return i(e)}function Mn(n,t){return r(n).push(r(t))}function Un(){return l(function(n,t){const e=r(n)[g(t)];return i(e)},arguments)}function Bn(n,t){const e=String(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Nn(){const n=_.memory;return i(n)}function Cn(n){const t=r(n).buffer;return i(t)}function $n(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Vn(n){const t=new Uint8Array(r(n));return i(t)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Ln(){return l(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Pn(){return l(function(n,t){r(n).randomFillSync(g(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Qn(n){const t=r(n).versions;return i(t)}function Hn(n){const t=r(n).node;return i(t)}function Gn(){return l(function(){const n=module.require;return i(n)},arguments)}function Kn(n){const t=r(n).msCrypto;return i(t)}function Xn(n){const t=new Uint8Array(n>>>0);return i(t)}function Yn(n){return typeof r(n)=="function"}function Zn(){return l(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return l(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function _t(n){const t=r(n).value;return i(t)}function ot(n){const t=r(n).next;return i(t)}function ct(){return l(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return l(function(){const n=self.self;return i(n)},arguments)}function ut(){return l(function(){const n=window.window;return i(n)},arguments)}function st(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return l(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new S(T(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return l(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return l(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return l(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function xt(n){return r(n).length}function mt(){return l(function(){return Date.now()},arguments)}function yt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function It(n){const t=Object.entries(r(n));return i(t)}function St(n,t){throw new Error(T(n,t))}function jt(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;d().setBigInt64(n+8*1,y(o)?BigInt(0):o,!0),d().setInt32(n+4*0,!y(o),!0)}function At(n,t){const e=k(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Ot(n){const t=g(n).original;return t.cnt--==1?(t.a=0,!0):!1}function qt(n,t){const e=r(n).then(r(t));return i(e)}function kt(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function vt(n){const t=Promise.resolve(r(n));return i(t)}function Et(n,t,e){const o=Q(n,t,547,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7239,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
1
|
+
"use strict";var A=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(t,e)=>{for(var n in e)A(t,n,{get:e[n],enumerable:!0})},$=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let c of B(e))!N.call(t,c)&&c!==n&&A(t,c,{get:()=>e[c],enumerable:!(o=U(e,c))||o.enumerable});return t};var V=t=>$(A({},"__esModule",{value:!0}),t);var Me={};C(Me,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Ut,__wbg_buffer_b7b08af79b0b0974:()=>Nt,__wbg_call_1084a111329e68ce:()=>Yt,__wbg_call_89af060b4e1523f2:()=>be,__wbg_crypto_58f13aa23ffcb166:()=>Pt,__wbg_done_bfda7aa8f252b39f:()=>ne,__wbg_entries_7a0e06255456ebcd:()=>Te,__wbg_getRandomValues_504510b5564925af:()=>zt,__wbg_getTime_91058879093a1589:()=>st,__wbg_get_224d16597dbbfd96:()=>oe,__wbg_get_3baa728f9d58d3f6:()=>Zt,__wbg_get_94990005bd6ca07c:()=>Dt,__wbg_getwithrefkey_5e6d9547403deab8:()=>Mt,__wbg_globalThis_86b222e13bdf32ed:()=>ue,__wbg_global_e5a3fe56f8be9485:()=>se,__wbg_has_4bfbc01db38743f7:()=>ct,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>he,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>wt,__wbg_instanceof_Uint8Array_247a91427532499e:()=>ye,__wbg_isArray_8364a5371e9737d8:()=>ae,__wbg_isSafeInteger_7f1ed56200d90674:()=>ge,__wbg_iterator_888179a48810a9fe:()=>pt,__wbg_keys_7840ae453e408eab:()=>bt,__wbg_length_8339fcf5d8ecd12e:()=>pe,__wbg_length_ae22078168b726f5:()=>gt,__wbg_msCrypto_abcb1295e768d1f2:()=>Gt,__wbg_new0_65387337a95cf44d:()=>ut,__wbg_new_525245e2b9901204:()=>Ot,__wbg_new_8608a2b51a5f6737:()=>At,__wbg_new_a220cf903aa02ca2:()=>jt,__wbg_new_b85e72ed1bfd57f9:()=>tt,__wbg_new_ea1883e1e5e86686:()=>$t,__wbg_newnoargs_76313bd6ff35d0f2:()=>fe,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>Ct,__wbg_newwithlength_ec548f448387c968:()=>Kt,__wbg_next_de3e9db4440638b2:()=>_e,__wbg_next_f9cb570345655b9a:()=>ee,__wbg_node_523d7bd03ef69fba:()=>Qt,__wbg_now_28a6b413aca4a96a:()=>xe,__wbg_now_8ed1a4454e40ecd1:()=>ft,__wbg_now_b7a162010a9e75b4:()=>at,__wbg_parse_52202f117ec9ecfa:()=>it,__wbg_process_5b786e71d465a513:()=>Wt,__wbg_push_37c89022f34c01ca:()=>Rt,__wbg_queueMicrotask_12a30234db4045d3:()=>Ae,__wbg_queueMicrotask_48421b3cc9052b68:()=>ve,__wbg_randomFillSync_a0d98aa11c81fe89:()=>Lt,__wbg_require_2784e593a4674877:()=>Ht,__wbg_resolve_570458cb99d56a43:()=>Ee,__wbg_self_3093d5d1f7bcb682:()=>ce,__wbg_setTimeout_631fe61f31fa2fad:()=>et,__wbg_set_49185437f0ab06f8:()=>vt,__wbg_set_673dda6c73d19609:()=>kt,__wbg_set_841ac57cff3d672b:()=>Ft,__wbg_set_d1e79e2388520f18:()=>we,__wbg_set_eacc7d73fefaafdf:()=>le,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>de,__wbg_subarray_7c2e3576afe181d1:()=>Vt,__wbg_then_876bb3c633745cc6:()=>Oe,__wbg_then_95e6edc0f89b73b1:()=>ke,__wbg_valueOf_c759749a331da0c0:()=>te,__wbg_value_6d39332ab4788d86:()=>re,__wbg_versions_c2ab80650590b6a2:()=>Jt,__wbg_window_3bcfc4d31bc012f8:()=>ie,__wbindgen_bigint_from_i64:()=>ht,__wbindgen_bigint_from_u64:()=>qt,__wbindgen_bigint_get_as_i64:()=>Ie,__wbindgen_boolean_get:()=>xt,__wbindgen_cb_drop:()=>je,__wbindgen_closure_wrapper7251:()=>Fe,__wbindgen_debug_string:()=>Se,__wbindgen_error_new:()=>rt,__wbindgen_in:()=>Tt,__wbindgen_is_bigint:()=>mt,__wbindgen_is_function:()=>Xt,__wbindgen_is_object:()=>dt,__wbindgen_is_string:()=>Et,__wbindgen_is_undefined:()=>ot,__wbindgen_jsval_eq:()=>It,__wbindgen_jsval_loose_eq:()=>me,__wbindgen_memory:()=>Bt,__wbindgen_number_get:()=>yt,__wbindgen_number_new:()=>St,__wbindgen_object_clone_ref:()=>_t,__wbindgen_object_drop_ref:()=>lt,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>nt,__wbindgen_throw:()=>qe,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(Me);var I=()=>{};I.prototype=I;let _;function z(t){_=t}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(t){return p[t]}let a=0,S=null;function j(){return(S===null||S.byteLength===0)&&(S=new Uint8Array(_.memory.buffer)),S}const L=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let k=new L("utf-8");const P=typeof k.encodeInto=="function"?function(t,e){return k.encodeInto(t,e)}:function(t,e){const n=k.encode(t);return e.set(n),{read:t.length,written:n.length}};function b(t,e,n){if(n===void 0){const s=k.encode(t),w=e(s.length,1)>>>0;return j().subarray(w,w+s.length).set(s),a=s.length,w}let o=t.length,c=e(o,1)>>>0;const f=j();let u=0;for(;u<o;u++){const s=t.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==o){u!==0&&(t=t.slice(u)),c=n(c,o,o=u+t.length*3,1)>>>0;const s=j().subarray(c+u,c+o),w=P(t,s);u+=w.written,c=n(c,o,u,1)>>>0}return a=u,c}function y(t){return t==null}let h=null;function d(){return(h===null||h.buffer.detached===!0||h.buffer.detached===void 0&&h.buffer!==_.memory.buffer)&&(h=new DataView(_.memory.buffer)),h}const W=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let v=new W("utf-8",{ignoreBOM:!0,fatal:!0});v.decode();function T(t,e){return t=t>>>0,v.decode(j().subarray(t,t+e))}let q=p.length;function i(t){q===p.length&&p.push(p.length+1);const e=q;return q=p[e],p[e]=t,e}function J(t){t<132||(p[t]=q,q=t)}function g(t){const e=r(t);return J(t),e}function O(t){const e=typeof t;if(e=="number"||e=="boolean"||t==null)return`${t}`;if(e=="string")return`"${t}"`;if(e=="symbol"){const c=t.description;return c==null?"Symbol":`Symbol(${c})`}if(e=="function"){const c=t.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(t)){const c=t.length;let f="[";c>0&&(f+=O(t[0]));for(let u=1;u<c;u++)f+=", "+O(t[u]);return f+="]",f}const n=/\[object ([^\]]+)\]/.exec(toString.call(t));let o;if(n.length>1)o=n[1];else return toString.call(t);if(o=="Object")try{return"Object("+JSON.stringify(t)+")"}catch{return"Object"}return t instanceof Error?`${t.name}: ${t.message}
|
2
|
+
${t.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{_.__wbindgen_export_2.get(t.dtor)(t.a,t.b)});function Q(t,e,n,o){const c={a:t,b:e,cnt:1,dtor:n},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(t,e,n){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3e4f5f2877ffb8ce(t,e,i(n))}function G(){const t=_.getBuildTimeInfo();return g(t)}function K(t){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var e=y(t)?0:b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),n=a;_.debug_panic(f,e,n);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(t,e){try{return t.apply(this,e)}catch(n){_.__wbindgen_exn_store(i(n))}}function X(t,e,n,o){_.wasm_bindgen__convert__closures__invoke2_mut__h15e55f9f7ce55398(t,e,i(n),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>_.__wbg_queryengine_free(t>>>0,1));class Y{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),e}free(){const e=this.__destroy_into_raw();_.__wbg_queryengine_free(e,0)}constructor(e,n,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(e),i(n),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(e,n){const o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(e,n){const o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(e,n,o,c){const f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const M=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),R=a,D=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,M,R);return g(D)}startTransaction(e,n,o){const c=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(e,n,o){const c=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(e,n,o){const c=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(e){const n=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,n,o);return g(c)}trace(e){const n=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,n,o);return g(c)}}function Z(t,e){const n=r(e),o=typeof n=="string"?n:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(t+4*1,f,!0),d().setInt32(t+4*0,c,!0)}function tt(t,e){try{var n={a:t,b:e},o=(f,u)=>{const s=n.a;n.a=0;try{return X(s,n.b,f,u)}finally{n.a=s}};const c=new Promise(o);return i(c)}finally{n.a=n.b=0}}function et(t,e){return setTimeout(r(t),e>>>0)}function nt(t,e){const n=T(t,e);return i(n)}function rt(t,e){const n=new Error(T(t,e));return i(n)}function _t(t){const e=r(t);return i(e)}function ot(t){return r(t)===void 0}function ct(){return l(function(t,e){return Reflect.has(r(t),r(e))},arguments)}function it(){return l(function(t,e){const n=JSON.parse(T(t,e));return i(n)},arguments)}function ut(){return i(new Date)}function st(t){return r(t).getTime()}function ft(t){return r(t).now()}function at(){return Date.now()}function bt(t){const e=Object.keys(r(t));return i(e)}function gt(t){return r(t).length}function lt(t){g(t)}function dt(t){const e=r(t);return typeof e=="object"&&e!==null}function wt(t){let e;try{e=r(t)instanceof Promise}catch{e=!1}return e}function pt(){return i(Symbol.iterator)}function xt(t){const e=r(t);return typeof e=="boolean"?e?1:0:2}function mt(t){return typeof r(t)=="bigint"}function yt(t,e){const n=r(e),o=typeof n=="number"?n:void 0;d().setFloat64(t+8*1,y(o)?0:o,!0),d().setInt32(t+4*0,!y(o),!0)}function ht(t){return i(t)}function Tt(t,e){return r(t)in r(e)}function qt(t){const e=BigInt.asUintN(64,t);return i(e)}function It(t,e){return r(t)===r(e)}function St(t){return i(t)}function jt(){const t=new Array;return i(t)}function kt(t,e,n){r(t)[e>>>0]=g(n)}function At(){return i(new Map)}function Ot(){const t=new Object;return i(t)}function vt(t,e,n){const o=r(t).set(r(e),r(n));return i(o)}function Et(t){return typeof r(t)=="string"}function Ft(t,e,n){r(t)[g(e)]=g(n)}function Mt(t,e){const n=r(t)[r(e)];return i(n)}function Rt(t,e){return r(t).push(r(e))}function Dt(){return l(function(t,e){const n=r(t)[g(e)];return i(n)},arguments)}function Ut(t,e){const n=String(r(e)),o=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(t+4*1,c,!0),d().setInt32(t+4*0,o,!0)}function Bt(){const t=_.memory;return i(t)}function Nt(t){const e=r(t).buffer;return i(e)}function Ct(t,e,n){const o=new Uint8Array(r(t),e>>>0,n>>>0);return i(o)}function $t(t){const e=new Uint8Array(r(t));return i(e)}function Vt(t,e,n){const o=r(t).subarray(e>>>0,n>>>0);return i(o)}function zt(){return l(function(t,e){r(t).getRandomValues(r(e))},arguments)}function Lt(){return l(function(t,e){r(t).randomFillSync(g(e))},arguments)}function Pt(t){const e=r(t).crypto;return i(e)}function Wt(t){const e=r(t).process;return i(e)}function Jt(t){const e=r(t).versions;return i(e)}function Qt(t){const e=r(t).node;return i(e)}function Ht(){return l(function(){const t=module.require;return i(t)},arguments)}function Gt(t){const e=r(t).msCrypto;return i(e)}function Kt(t){const e=new Uint8Array(t>>>0);return i(e)}function Xt(t){return typeof r(t)=="function"}function Yt(){return l(function(t,e){const n=r(t).call(r(e));return i(n)},arguments)}function Zt(t,e){const n=r(t)[e>>>0];return i(n)}function te(t){return r(t).valueOf()}function ee(){return l(function(t){const e=r(t).next();return i(e)},arguments)}function ne(t){return r(t).done}function re(t){const e=r(t).value;return i(e)}function _e(t){const e=r(t).next;return i(e)}function oe(){return l(function(t,e){const n=Reflect.get(r(t),r(e));return i(n)},arguments)}function ce(){return l(function(){const t=self.self;return i(t)},arguments)}function ie(){return l(function(){const t=window.window;return i(t)},arguments)}function ue(){return l(function(){const t=globalThis.globalThis;return i(t)},arguments)}function se(){return l(function(){const t=global.global;return i(t)},arguments)}function fe(t,e){const n=new I(T(t,e));return i(n)}function ae(t){return Array.isArray(r(t))}function be(){return l(function(t,e,n){const o=r(t).call(r(e),r(n));return i(o)},arguments)}function ge(t){return Number.isSafeInteger(r(t))}function le(){return l(function(t,e,n){return Reflect.set(r(t),r(e),r(n))},arguments)}function de(){return l(function(t){const e=JSON.stringify(r(t));return i(e)},arguments)}function we(t,e,n){r(t).set(r(e),n>>>0)}function pe(t){return r(t).length}function xe(){return l(function(){return Date.now()},arguments)}function me(t,e){return r(t)==r(e)}function ye(t){let e;try{e=r(t)instanceof Uint8Array}catch{e=!1}return e}function he(t){let e;try{e=r(t)instanceof ArrayBuffer}catch{e=!1}return e}function Te(t){const e=Object.entries(r(t));return i(e)}function qe(t,e){throw new Error(T(t,e))}function Ie(t,e){const n=r(e),o=typeof n=="bigint"?n:void 0;d().setBigInt64(t+8*1,y(o)?BigInt(0):o,!0),d().setInt32(t+4*0,!y(o),!0)}function Se(t,e){const n=O(r(e)),o=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(t+4*1,c,!0),d().setInt32(t+4*0,o,!0)}function je(t){const e=g(t).original;return e.cnt--==1?(e.a=0,!0):!1}function ke(t,e){const n=r(t).then(r(e));return i(n)}function Ae(t){queueMicrotask(r(t))}function Oe(t,e,n){const o=r(t).then(r(e),r(n));return i(o)}function ve(t){const e=r(t).queueMicrotask;return i(e)}function Ee(t){const e=Promise.resolve(r(t));return i(e)}function Fe(t,e,n){const o=Q(t,e,547,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_queueMicrotask_12a30234db4045d3,__wbg_queueMicrotask_48421b3cc9052b68,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7251,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";var
|
2
|
-
${n.stack}`:_}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{o.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,e,t,_){const c={a:n,b:e,cnt:1,dtor:t},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return _(s,c.b,...u)}finally{--c.cnt===0?(o.__wbindgen_export_2.get(c.dtor)(s,c.b),v.unregister(c)):c.a=s}};return f.original=c,v.register(f,c,c),f}function H(n,e,t){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,e,i(t))}function G(){const n=o.getBuildTimeInfo();return g(n)}function K(n){try{const f=o.__wbindgen_add_to_stack_pointer(-16);var e=x(n)?0:b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),t=a;o.debug_panic(f,e,t);var _=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(_)}finally{o.__wbindgen_add_to_stack_pointer(16)}}function l(n,e){try{return n.apply(this,e)}catch(t){o.__wbindgen_exn_store(i(t))}}function X(n,e,t,_){o.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,e,i(t),i(_))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>o.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),e}free(){const e=this.__destroy_into_raw();o.__wbg_queryengine_free(e,0)}constructor(e,t,_){try{const s=o.__wbindgen_add_to_stack_pointer(-16);o.queryengine_new(s,i(e),i(t),i(_));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{o.__wbindgen_add_to_stack_pointer(16)}}connect(e,t){const _=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_connect(this.__wbg_ptr,_,c,f,u);return g(s)}disconnect(e,t){const _=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_disconnect(this.__wbg_ptr,_,c,f,u);return g(s)}query(e,t,_,c){const f=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),w=a;var y=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),h=a;const R=b(c,o.__wbindgen_malloc,o.__wbindgen_realloc),D=a,M=o.queryengine_query(this.__wbg_ptr,f,u,s,w,y,h,R,D);return g(M)}startTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}commitTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}rollbackTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}metrics(e){const t=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_metrics(this.__wbg_ptr,t,_);return g(c)}trace(e){const t=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_trace(this.__wbg_ptr,t,_);return g(c)}}function Z(n,e){const t=r(e),_=typeof t=="string"?t:void 0;var c=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,e){try{var t={a:n,b:e},_=(f,u)=>{const s=t.a;t.a=0;try{return X(s,t.b,f,u)}finally{t.a=s}};const c=new Promise(_);return i(c)}finally{t.a=t.b=0}}function en(n,e){return setTimeout(r(n),e>>>0)}function tn(n,e){const t=m(n,e);return i(t)}function rn(n,e){const t=new Error(m(n,e));return i(t)}function _n(n){const e=r(n);return i(e)}function on(n){return r(n)===void 0}function cn(){return l(function(n,e){return Reflect.has(r(n),r(e))},arguments)}function un(){return l(function(n,e){const t=JSON.parse(m(n,e));return i(t)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){g(n)}function bn(n){return r(n).now()}function gn(){return Date.now()}function ln(n){const e=Object.keys(r(n));return i(e)}function dn(n){return r(n).length}function wn(n){let e;try{e=r(n)instanceof Promise}catch{e=!1}return e}function pn(n){const e=r(n);return typeof e=="object"&&e!==null}function xn(){return i(Symbol.iterator)}function mn(n){const e=r(n);return typeof e=="boolean"?e?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,e){const t=r(e),_=typeof t=="number"?t:void 0;d().setFloat64(n+8*1,x(_)?0:_,!0),d().setInt32(n+4*0,!x(_),!0)}function Tn(n){return i(n)}function In(n,e){return r(n)in r(e)}function Sn(n){const e=BigInt.asUintN(64,n);return i(e)}function jn(n,e){return r(n)===r(e)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,e,t){r(n)[e>>>0]=g(t)}function kn(){return i(new Map)}function En(){const n=new Object;return i(n)}function vn(n,e,t){const _=r(n).set(r(e),r(t));return i(_)}function Fn(n){return typeof r(n)=="string"}function Rn(n,e,t){r(n)[g(e)]=g(t)}function Dn(n,e){const t=r(n)[r(e)];return i(t)}function Mn(n,e){return r(n).push(r(e))}function Un(n,e,t,_){const c=new RegExp(m(n,e),m(t,_));return i(c)}function Bn(n,e,t){const _=r(n).exec(m(e,t));return x(_)?0:i(_)}function Nn(){return l(function(n,e){const t=r(n)[g(e)];return i(t)},arguments)}function Cn(n,e){const t=String(r(e)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,_,!0)}function $n(){const n=o.memory;return i(n)}function Vn(n){const e=r(n).buffer;return i(e)}function zn(n,e,t){const _=new Uint8Array(r(n),e>>>0,t>>>0);return i(_)}function Ln(n){const e=new Uint8Array(r(n));return i(e)}function Pn(n,e,t){const _=r(n).subarray(e>>>0,t>>>0);return i(_)}function Wn(){return l(function(n,e){r(n).getRandomValues(r(e))},arguments)}function Jn(){return l(function(n,e){r(n).randomFillSync(g(e))},arguments)}function Qn(n){const e=r(n).crypto;return i(e)}function Hn(n){const e=r(n).process;return i(e)}function Gn(n){const e=r(n).versions;return i(e)}function Kn(n){const e=r(n).node;return i(e)}function Xn(){return l(function(){const n=module.require;return i(n)},arguments)}function Yn(n){const e=r(n).msCrypto;return i(e)}function Zn(n){const e=new Uint8Array(n>>>0);return i(e)}function ne(n){return typeof r(n)=="function"}function ee(){return l(function(n,e){const t=r(n).call(r(e));return i(t)},arguments)}function te(n,e){const t=r(n)[e>>>0];return i(t)}function re(n){return r(n).valueOf()}function _e(){return l(function(n){const e=r(n).next();return i(e)},arguments)}function oe(n){return r(n).done}function ce(n){const e=r(n).value;return i(e)}function ie(n){const e=r(n).next;return i(e)}function ue(){return l(function(n,e){const t=Reflect.get(r(n),r(e));return i(t)},arguments)}function se(){return l(function(){const n=self.self;return i(n)},arguments)}function fe(){return l(function(){const n=window.window;return i(n)},arguments)}function ae(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function be(){return l(function(){const n=global.global;return i(n)},arguments)}function ge(n,e){const t=new S(m(n,e));return i(t)}function le(n){return Array.isArray(r(n))}function de(){return l(function(n,e,t){const _=r(n).call(r(e),r(t));return i(_)},arguments)}function we(n){return Number.isSafeInteger(r(n))}function pe(){return l(function(n,e,t){return Reflect.set(r(n),r(e),r(t))},arguments)}function xe(){return l(function(n){const e=JSON.stringify(r(n));return i(e)},arguments)}function me(n,e,t){r(n).set(r(e),t>>>0)}function ye(n){return r(n).length}function he(){return l(function(){return Date.now()},arguments)}function Te(n,e){return r(n)==r(e)}function Ie(n){let e;try{e=r(n)instanceof Uint8Array}catch{e=!1}return e}function Se(n){let e;try{e=r(n)instanceof ArrayBuffer}catch{e=!1}return e}function je(n){const e=Object.entries(r(n));return i(e)}function Ae(n,e){throw new Error(m(n,e))}function Oe(n,e){const t=r(e),_=typeof t=="bigint"?t:void 0;d().setBigInt64(n+8*1,x(_)?BigInt(0):_,!0),d().setInt32(n+4*0,!x(_),!0)}function qe(n,e){const t=k(r(e)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,_,!0)}function ke(n){const e=g(n).original;return e.cnt--==1?(e.a=0,!0):!1}function Ee(n,e){const t=r(n).then(r(e));return i(t)}function ve(n,e,t){const _=r(n).then(r(e),r(t));return i(_)}function Fe(n){const e=Promise.resolve(r(n));return i(e)}function Re(n,e,t){const _=Q(n,e,552,H);return i(_)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_exec_a29a4ce5544bd3be,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_13847c66f41dda63,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7298,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
1
|
+
"use strict";var A=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(e,t)=>{for(var n in t)A(e,n,{get:t[n],enumerable:!0})},$=(e,t,n,_)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of B(t))!N.call(e,c)&&c!==n&&A(e,c,{get:()=>t[c],enumerable:!(_=U(t,c))||_.enumerable});return e};var V=e=>$(A({},"__esModule",{value:!0}),e);var Dt={};C(Dt,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Ne,__wbg_buffer_b7b08af79b0b0974:()=>$e,__wbg_call_1084a111329e68ce:()=>et,__wbg_call_89af060b4e1523f2:()=>lt,__wbg_crypto_58f13aa23ffcb166:()=>Je,__wbg_done_bfda7aa8f252b39f:()=>_t,__wbg_entries_7a0e06255456ebcd:()=>It,__wbg_exec_a29a4ce5544bd3be:()=>Ue,__wbg_getRandomValues_504510b5564925af:()=>Pe,__wbg_getTime_91058879093a1589:()=>se,__wbg_get_224d16597dbbfd96:()=>it,__wbg_get_3baa728f9d58d3f6:()=>tt,__wbg_get_94990005bd6ca07c:()=>Be,__wbg_getwithrefkey_5e6d9547403deab8:()=>Me,__wbg_globalThis_86b222e13bdf32ed:()=>ft,__wbg_global_e5a3fe56f8be9485:()=>at,__wbg_has_4bfbc01db38743f7:()=>ce,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>qt,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>de,__wbg_instanceof_Uint8Array_247a91427532499e:()=>Tt,__wbg_isArray_8364a5371e9737d8:()=>gt,__wbg_isSafeInteger_7f1ed56200d90674:()=>dt,__wbg_iterator_888179a48810a9fe:()=>pe,__wbg_keys_7840ae453e408eab:()=>ge,__wbg_length_8339fcf5d8ecd12e:()=>mt,__wbg_length_ae22078168b726f5:()=>le,__wbg_msCrypto_abcb1295e768d1f2:()=>Xe,__wbg_new0_65387337a95cf44d:()=>ue,__wbg_new_13847c66f41dda63:()=>De,__wbg_new_525245e2b9901204:()=>Oe,__wbg_new_8608a2b51a5f6737:()=>Ae,__wbg_new_a220cf903aa02ca2:()=>je,__wbg_new_b85e72ed1bfd57f9:()=>ee,__wbg_new_ea1883e1e5e86686:()=>ze,__wbg_newnoargs_76313bd6ff35d0f2:()=>bt,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>Ve,__wbg_newwithlength_ec548f448387c968:()=>Ye,__wbg_next_de3e9db4440638b2:()=>ct,__wbg_next_f9cb570345655b9a:()=>rt,__wbg_node_523d7bd03ef69fba:()=>Ge,__wbg_now_28a6b413aca4a96a:()=>yt,__wbg_now_8ed1a4454e40ecd1:()=>ae,__wbg_now_b7a162010a9e75b4:()=>be,__wbg_parse_52202f117ec9ecfa:()=>ie,__wbg_process_5b786e71d465a513:()=>Qe,__wbg_push_37c89022f34c01ca:()=>Re,__wbg_queueMicrotask_12a30234db4045d3:()=>Et,__wbg_queueMicrotask_48421b3cc9052b68:()=>Ft,__wbg_randomFillSync_a0d98aa11c81fe89:()=>We,__wbg_require_2784e593a4674877:()=>Ke,__wbg_resolve_570458cb99d56a43:()=>Mt,__wbg_self_3093d5d1f7bcb682:()=>ut,__wbg_setTimeout_631fe61f31fa2fad:()=>te,__wbg_set_49185437f0ab06f8:()=>Ee,__wbg_set_673dda6c73d19609:()=>ke,__wbg_set_841ac57cff3d672b:()=>Fe,__wbg_set_d1e79e2388520f18:()=>xt,__wbg_set_eacc7d73fefaafdf:()=>wt,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>pt,__wbg_subarray_7c2e3576afe181d1:()=>Le,__wbg_then_876bb3c633745cc6:()=>vt,__wbg_then_95e6edc0f89b73b1:()=>Ot,__wbg_valueOf_c759749a331da0c0:()=>nt,__wbg_value_6d39332ab4788d86:()=>ot,__wbg_versions_c2ab80650590b6a2:()=>He,__wbg_window_3bcfc4d31bc012f8:()=>st,__wbindgen_bigint_from_i64:()=>he,__wbindgen_bigint_from_u64:()=>qe,__wbindgen_bigint_get_as_i64:()=>jt,__wbindgen_boolean_get:()=>xe,__wbindgen_cb_drop:()=>At,__wbindgen_closure_wrapper7304:()=>Rt,__wbindgen_debug_string:()=>kt,__wbindgen_error_new:()=>re,__wbindgen_in:()=>Te,__wbindgen_is_bigint:()=>me,__wbindgen_is_function:()=>Ze,__wbindgen_is_object:()=>we,__wbindgen_is_string:()=>ve,__wbindgen_is_undefined:()=>oe,__wbindgen_jsval_eq:()=>Ie,__wbindgen_jsval_loose_eq:()=>ht,__wbindgen_memory:()=>Ce,__wbindgen_number_get:()=>ye,__wbindgen_number_new:()=>Se,__wbindgen_object_clone_ref:()=>_e,__wbindgen_object_drop_ref:()=>fe,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>ne,__wbindgen_throw:()=>St,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(Dt);var I=()=>{};I.prototype=I;let o;function z(e){o=e}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(e){return p[e]}let a=0,S=null;function j(){return(S===null||S.byteLength===0)&&(S=new Uint8Array(o.memory.buffer)),S}const L=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let k=new L("utf-8");const P=typeof k.encodeInto=="function"?function(e,t){return k.encodeInto(e,t)}:function(e,t){const n=k.encode(e);return t.set(n),{read:e.length,written:n.length}};function b(e,t,n){if(n===void 0){const s=k.encode(e),w=t(s.length,1)>>>0;return j().subarray(w,w+s.length).set(s),a=s.length,w}let _=e.length,c=t(_,1)>>>0;const f=j();let u=0;for(;u<_;u++){const s=e.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==_){u!==0&&(e=e.slice(u)),c=n(c,_,_=u+e.length*3,1)>>>0;const s=j().subarray(c+u,c+_),w=P(e,s);u+=w.written,c=n(c,_,u,1)>>>0}return a=u,c}function x(e){return e==null}let T=null;function d(){return(T===null||T.buffer.detached===!0||T.buffer.detached===void 0&&T.buffer!==o.memory.buffer)&&(T=new DataView(o.memory.buffer)),T}const W=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let E=new W("utf-8",{ignoreBOM:!0,fatal:!0});E.decode();function m(e,t){return e=e>>>0,E.decode(j().subarray(e,e+t))}let q=p.length;function i(e){q===p.length&&p.push(p.length+1);const t=q;return q=p[t],p[t]=e,t}function J(e){e<132||(p[e]=q,q=e)}function g(e){const t=r(e);return J(e),t}function O(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const c=e.description;return c==null?"Symbol":`Symbol(${c})`}if(t=="function"){const c=e.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(e)){const c=e.length;let f="[";c>0&&(f+=O(e[0]));for(let u=1;u<c;u++)f+=", "+O(e[u]);return f+="]",f}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(n.length>1)_=n[1];else return toString.call(e);if(_=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
+
${e.stack}`:_}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{o.__wbindgen_export_2.get(e.dtor)(e.a,e.b)});function Q(e,t,n,_){const c={a:e,b:t,cnt:1,dtor:n},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return _(s,c.b,...u)}finally{--c.cnt===0?(o.__wbindgen_export_2.get(c.dtor)(s,c.b),v.unregister(c)):c.a=s}};return f.original=c,v.register(f,c,c),f}function H(e,t,n){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3e4f5f2877ffb8ce(e,t,i(n))}function G(){const e=o.getBuildTimeInfo();return g(e)}function K(e){try{const f=o.__wbindgen_add_to_stack_pointer(-16);var t=x(e)?0:b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),n=a;o.debug_panic(f,t,n);var _=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(_)}finally{o.__wbindgen_add_to_stack_pointer(16)}}function l(e,t){try{return e.apply(this,t)}catch(n){o.__wbindgen_exn_store(i(n))}}function X(e,t,n,_){o.wasm_bindgen__convert__closures__invoke2_mut__h15e55f9f7ce55398(e,t,i(n),i(_))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>o.__wbg_queryengine_free(e>>>0,1));class Y{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();o.__wbg_queryengine_free(t,0)}constructor(t,n,_){try{const s=o.__wbindgen_add_to_stack_pointer(-16);o.queryengine_new(s,i(t),i(n),i(_));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{o.__wbindgen_add_to_stack_pointer(16)}}connect(t,n){const _=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_connect(this.__wbg_ptr,_,c,f,u);return g(s)}disconnect(t,n){const _=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_disconnect(this.__wbg_ptr,_,c,f,u);return g(s)}query(t,n,_,c){const f=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),w=a;var y=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),h=a;const M=b(c,o.__wbindgen_malloc,o.__wbindgen_realloc),R=a,D=o.queryengine_query(this.__wbg_ptr,f,u,s,w,y,h,M,R);return g(D)}startTransaction(t,n,_){const c=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}commitTransaction(t,n,_){const c=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}rollbackTransaction(t,n,_){const c=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}metrics(t){const n=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_metrics(this.__wbg_ptr,n,_);return g(c)}trace(t){const n=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_trace(this.__wbg_ptr,n,_);return g(c)}}function Z(e,t){const n=r(t),_=typeof n=="string"?n:void 0;var c=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a;d().setInt32(e+4*1,f,!0),d().setInt32(e+4*0,c,!0)}function ee(e,t){try{var n={a:e,b:t},_=(f,u)=>{const s=n.a;n.a=0;try{return X(s,n.b,f,u)}finally{n.a=s}};const c=new Promise(_);return i(c)}finally{n.a=n.b=0}}function te(e,t){return setTimeout(r(e),t>>>0)}function ne(e,t){const n=m(e,t);return i(n)}function re(e,t){const n=new Error(m(e,t));return i(n)}function _e(e){const t=r(e);return i(t)}function oe(e){return r(e)===void 0}function ce(){return l(function(e,t){return Reflect.has(r(e),r(t))},arguments)}function ie(){return l(function(e,t){const n=JSON.parse(m(e,t));return i(n)},arguments)}function ue(){return i(new Date)}function se(e){return r(e).getTime()}function fe(e){g(e)}function ae(e){return r(e).now()}function be(){return Date.now()}function ge(e){const t=Object.keys(r(e));return i(t)}function le(e){return r(e).length}function de(e){let t;try{t=r(e)instanceof Promise}catch{t=!1}return t}function we(e){const t=r(e);return typeof t=="object"&&t!==null}function pe(){return i(Symbol.iterator)}function xe(e){const t=r(e);return typeof t=="boolean"?t?1:0:2}function me(e){return typeof r(e)=="bigint"}function ye(e,t){const n=r(t),_=typeof n=="number"?n:void 0;d().setFloat64(e+8*1,x(_)?0:_,!0),d().setInt32(e+4*0,!x(_),!0)}function he(e){return i(e)}function Te(e,t){return r(e)in r(t)}function qe(e){const t=BigInt.asUintN(64,e);return i(t)}function Ie(e,t){return r(e)===r(t)}function Se(e){return i(e)}function je(){const e=new Array;return i(e)}function ke(e,t,n){r(e)[t>>>0]=g(n)}function Ae(){return i(new Map)}function Oe(){const e=new Object;return i(e)}function Ee(e,t,n){const _=r(e).set(r(t),r(n));return i(_)}function ve(e){return typeof r(e)=="string"}function Fe(e,t,n){r(e)[g(t)]=g(n)}function Me(e,t){const n=r(e)[r(t)];return i(n)}function Re(e,t){return r(e).push(r(t))}function De(e,t,n,_){const c=new RegExp(m(e,t),m(n,_));return i(c)}function Ue(e,t,n){const _=r(e).exec(m(t,n));return x(_)?0:i(_)}function Be(){return l(function(e,t){const n=r(e)[g(t)];return i(n)},arguments)}function Ne(e,t){const n=String(r(t)),_=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(e+4*1,c,!0),d().setInt32(e+4*0,_,!0)}function Ce(){const e=o.memory;return i(e)}function $e(e){const t=r(e).buffer;return i(t)}function Ve(e,t,n){const _=new Uint8Array(r(e),t>>>0,n>>>0);return i(_)}function ze(e){const t=new Uint8Array(r(e));return i(t)}function Le(e,t,n){const _=r(e).subarray(t>>>0,n>>>0);return i(_)}function Pe(){return l(function(e,t){r(e).getRandomValues(r(t))},arguments)}function We(){return l(function(e,t){r(e).randomFillSync(g(t))},arguments)}function Je(e){const t=r(e).crypto;return i(t)}function Qe(e){const t=r(e).process;return i(t)}function He(e){const t=r(e).versions;return i(t)}function Ge(e){const t=r(e).node;return i(t)}function Ke(){return l(function(){const e=module.require;return i(e)},arguments)}function Xe(e){const t=r(e).msCrypto;return i(t)}function Ye(e){const t=new Uint8Array(e>>>0);return i(t)}function Ze(e){return typeof r(e)=="function"}function et(){return l(function(e,t){const n=r(e).call(r(t));return i(n)},arguments)}function tt(e,t){const n=r(e)[t>>>0];return i(n)}function nt(e){return r(e).valueOf()}function rt(){return l(function(e){const t=r(e).next();return i(t)},arguments)}function _t(e){return r(e).done}function ot(e){const t=r(e).value;return i(t)}function ct(e){const t=r(e).next;return i(t)}function it(){return l(function(e,t){const n=Reflect.get(r(e),r(t));return i(n)},arguments)}function ut(){return l(function(){const e=self.self;return i(e)},arguments)}function st(){return l(function(){const e=window.window;return i(e)},arguments)}function ft(){return l(function(){const e=globalThis.globalThis;return i(e)},arguments)}function at(){return l(function(){const e=global.global;return i(e)},arguments)}function bt(e,t){const n=new I(m(e,t));return i(n)}function gt(e){return Array.isArray(r(e))}function lt(){return l(function(e,t,n){const _=r(e).call(r(t),r(n));return i(_)},arguments)}function dt(e){return Number.isSafeInteger(r(e))}function wt(){return l(function(e,t,n){return Reflect.set(r(e),r(t),r(n))},arguments)}function pt(){return l(function(e){const t=JSON.stringify(r(e));return i(t)},arguments)}function xt(e,t,n){r(e).set(r(t),n>>>0)}function mt(e){return r(e).length}function yt(){return l(function(){return Date.now()},arguments)}function ht(e,t){return r(e)==r(t)}function Tt(e){let t;try{t=r(e)instanceof Uint8Array}catch{t=!1}return t}function qt(e){let t;try{t=r(e)instanceof ArrayBuffer}catch{t=!1}return t}function It(e){const t=Object.entries(r(e));return i(t)}function St(e,t){throw new Error(m(e,t))}function jt(e,t){const n=r(t),_=typeof n=="bigint"?n:void 0;d().setBigInt64(e+8*1,x(_)?BigInt(0):_,!0),d().setInt32(e+4*0,!x(_),!0)}function kt(e,t){const n=O(r(t)),_=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(e+4*1,c,!0),d().setInt32(e+4*0,_,!0)}function At(e){const t=g(e).original;return t.cnt--==1?(t.a=0,!0):!1}function Ot(e,t){const n=r(e).then(r(t));return i(n)}function Et(e){queueMicrotask(r(e))}function vt(e,t,n){const _=r(e).then(r(t),r(n));return i(_)}function Ft(e){const t=r(e).queueMicrotask;return i(t)}function Mt(e){const t=Promise.resolve(r(e));return i(t)}function Rt(e,t,n){const _=Q(e,t,552,H);return i(_)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_exec_a29a4ce5544bd3be,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_13847c66f41dda63,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_queueMicrotask_12a30234db4045d3,__wbg_queueMicrotask_48421b3cc9052b68,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7304,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";var
|
2
|
-
${n.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{_.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const c={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(n,t,e){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,t,i(e))}function G(){const n=_.getBuildTimeInfo();return g(n)}function K(n){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),e=a;_.debug_panic(f,t,e);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(n,t){try{return n.apply(this,t)}catch(e){_.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){_.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,t,i(e),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>_.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}constructor(t,e,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(t),i(e),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(t,e,o,c){const f=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const R=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),D=a,M=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,R,D);return g(M)}startTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,e,o);return g(c)}trace(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,e,o);return g(c)}}function Z(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const c=new Promise(o);return i(c)}finally{e.a=e.b=0}}function tn(n,t){return setTimeout(r(n),t>>>0)}function en(n,t){const e=T(n,t);return i(e)}function rn(n,t){const e=new Error(T(n,t));return i(e)}function _n(n){const t=r(n);return i(t)}function on(n){return r(n)===void 0}function cn(){return l(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function un(){return l(function(n,t){const e=JSON.parse(T(n,t));return i(e)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){return r(n).now()}function bn(){return Date.now()}function gn(n){const t=Object.keys(r(n));return i(t)}function ln(n){return r(n).length}function dn(n){g(n)}function wn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function pn(n){const t=r(n);return typeof t=="object"&&t!==null}function xn(){return i(Symbol.iterator)}function mn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;d().setFloat64(n+8*1,y(o)?0:o,!0),d().setInt32(n+4*0,!y(o),!0)}function Tn(n){return i(n)}function In(n,t){return r(n)in r(t)}function Sn(n){const t=BigInt.asUintN(64,n);return i(t)}function jn(n,t){return r(n)===r(t)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=g(e)}function kn(){return i(new Map)}function vn(){const n=new Object;return i(n)}function En(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function Fn(n){return typeof r(n)=="string"}function Rn(n,t,e){r(n)[g(t)]=g(e)}function Dn(n,t){const e=r(n)[r(t)];return i(e)}function Mn(n,t){return r(n).push(r(t))}function Un(){return l(function(n,t){const e=r(n)[g(t)];return i(e)},arguments)}function Bn(n,t){const e=String(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Nn(){const n=_.memory;return i(n)}function Cn(n){const t=r(n).buffer;return i(t)}function $n(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Vn(n){const t=new Uint8Array(r(n));return i(t)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Ln(){return l(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Pn(){return l(function(n,t){r(n).randomFillSync(g(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Qn(n){const t=r(n).versions;return i(t)}function Hn(n){const t=r(n).node;return i(t)}function Gn(){return l(function(){const n=module.require;return i(n)},arguments)}function Kn(n){const t=r(n).msCrypto;return i(t)}function Xn(n){const t=new Uint8Array(n>>>0);return i(t)}function Yn(n){return typeof r(n)=="function"}function Zn(){return l(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return l(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function _t(n){const t=r(n).value;return i(t)}function ot(n){const t=r(n).next;return i(t)}function ct(){return l(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return l(function(){const n=self.self;return i(n)},arguments)}function ut(){return l(function(){const n=window.window;return i(n)},arguments)}function st(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return l(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new S(T(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return l(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return l(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return l(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function xt(n){return r(n).length}function mt(){return l(function(){return Date.now()},arguments)}function yt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function It(n){const t=Object.entries(r(n));return i(t)}function St(n,t){throw new Error(T(n,t))}function jt(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;d().setBigInt64(n+8*1,y(o)?BigInt(0):o,!0),d().setInt32(n+4*0,!y(o),!0)}function At(n,t){const e=k(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Ot(n){const t=g(n).original;return t.cnt--==1?(t.a=0,!0):!1}function qt(n,t){const e=r(n).then(r(t));return i(e)}function kt(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function vt(n){const t=Promise.resolve(r(n));return i(t)}function Et(n,t,e){const o=Q(n,t,540,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper6982,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
1
|
+
"use strict";var A=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(t,e)=>{for(var n in e)A(t,n,{get:e[n],enumerable:!0})},$=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let c of B(e))!N.call(t,c)&&c!==n&&A(t,c,{get:()=>e[c],enumerable:!(o=U(e,c))||o.enumerable});return t};var V=t=>$(A({},"__esModule",{value:!0}),t);var Me={};C(Me,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Ut,__wbg_buffer_b7b08af79b0b0974:()=>Nt,__wbg_call_1084a111329e68ce:()=>Yt,__wbg_call_89af060b4e1523f2:()=>be,__wbg_crypto_58f13aa23ffcb166:()=>Pt,__wbg_done_bfda7aa8f252b39f:()=>ne,__wbg_entries_7a0e06255456ebcd:()=>Te,__wbg_getRandomValues_504510b5564925af:()=>zt,__wbg_getTime_91058879093a1589:()=>st,__wbg_get_224d16597dbbfd96:()=>oe,__wbg_get_3baa728f9d58d3f6:()=>Zt,__wbg_get_94990005bd6ca07c:()=>Dt,__wbg_getwithrefkey_5e6d9547403deab8:()=>Mt,__wbg_globalThis_86b222e13bdf32ed:()=>ue,__wbg_global_e5a3fe56f8be9485:()=>se,__wbg_has_4bfbc01db38743f7:()=>ct,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>he,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>dt,__wbg_instanceof_Uint8Array_247a91427532499e:()=>ye,__wbg_isArray_8364a5371e9737d8:()=>ae,__wbg_isSafeInteger_7f1ed56200d90674:()=>ge,__wbg_iterator_888179a48810a9fe:()=>pt,__wbg_keys_7840ae453e408eab:()=>bt,__wbg_length_8339fcf5d8ecd12e:()=>pe,__wbg_length_ae22078168b726f5:()=>gt,__wbg_msCrypto_abcb1295e768d1f2:()=>Gt,__wbg_new0_65387337a95cf44d:()=>ut,__wbg_new_525245e2b9901204:()=>Ot,__wbg_new_8608a2b51a5f6737:()=>At,__wbg_new_a220cf903aa02ca2:()=>jt,__wbg_new_b85e72ed1bfd57f9:()=>tt,__wbg_new_ea1883e1e5e86686:()=>$t,__wbg_newnoargs_76313bd6ff35d0f2:()=>fe,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>Ct,__wbg_newwithlength_ec548f448387c968:()=>Kt,__wbg_next_de3e9db4440638b2:()=>_e,__wbg_next_f9cb570345655b9a:()=>ee,__wbg_node_523d7bd03ef69fba:()=>Qt,__wbg_now_28a6b413aca4a96a:()=>xe,__wbg_now_8ed1a4454e40ecd1:()=>ft,__wbg_now_b7a162010a9e75b4:()=>at,__wbg_parse_52202f117ec9ecfa:()=>it,__wbg_process_5b786e71d465a513:()=>Wt,__wbg_push_37c89022f34c01ca:()=>Rt,__wbg_queueMicrotask_12a30234db4045d3:()=>Ae,__wbg_queueMicrotask_48421b3cc9052b68:()=>ve,__wbg_randomFillSync_a0d98aa11c81fe89:()=>Lt,__wbg_require_2784e593a4674877:()=>Ht,__wbg_resolve_570458cb99d56a43:()=>Ee,__wbg_self_3093d5d1f7bcb682:()=>ce,__wbg_setTimeout_631fe61f31fa2fad:()=>et,__wbg_set_49185437f0ab06f8:()=>vt,__wbg_set_673dda6c73d19609:()=>kt,__wbg_set_841ac57cff3d672b:()=>Ft,__wbg_set_d1e79e2388520f18:()=>we,__wbg_set_eacc7d73fefaafdf:()=>le,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>de,__wbg_subarray_7c2e3576afe181d1:()=>Vt,__wbg_then_876bb3c633745cc6:()=>Oe,__wbg_then_95e6edc0f89b73b1:()=>ke,__wbg_valueOf_c759749a331da0c0:()=>te,__wbg_value_6d39332ab4788d86:()=>re,__wbg_versions_c2ab80650590b6a2:()=>Jt,__wbg_window_3bcfc4d31bc012f8:()=>ie,__wbindgen_bigint_from_i64:()=>ht,__wbindgen_bigint_from_u64:()=>qt,__wbindgen_bigint_get_as_i64:()=>Ie,__wbindgen_boolean_get:()=>xt,__wbindgen_cb_drop:()=>je,__wbindgen_closure_wrapper6991:()=>Fe,__wbindgen_debug_string:()=>Se,__wbindgen_error_new:()=>rt,__wbindgen_in:()=>Tt,__wbindgen_is_bigint:()=>mt,__wbindgen_is_function:()=>Xt,__wbindgen_is_object:()=>wt,__wbindgen_is_string:()=>Et,__wbindgen_is_undefined:()=>ot,__wbindgen_jsval_eq:()=>It,__wbindgen_jsval_loose_eq:()=>me,__wbindgen_memory:()=>Bt,__wbindgen_number_get:()=>yt,__wbindgen_number_new:()=>St,__wbindgen_object_clone_ref:()=>_t,__wbindgen_object_drop_ref:()=>lt,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>nt,__wbindgen_throw:()=>qe,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(Me);var I=()=>{};I.prototype=I;let _;function z(t){_=t}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(t){return p[t]}let a=0,S=null;function j(){return(S===null||S.byteLength===0)&&(S=new Uint8Array(_.memory.buffer)),S}const L=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let k=new L("utf-8");const P=typeof k.encodeInto=="function"?function(t,e){return k.encodeInto(t,e)}:function(t,e){const n=k.encode(t);return e.set(n),{read:t.length,written:n.length}};function b(t,e,n){if(n===void 0){const s=k.encode(t),w=e(s.length,1)>>>0;return j().subarray(w,w+s.length).set(s),a=s.length,w}let o=t.length,c=e(o,1)>>>0;const f=j();let u=0;for(;u<o;u++){const s=t.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==o){u!==0&&(t=t.slice(u)),c=n(c,o,o=u+t.length*3,1)>>>0;const s=j().subarray(c+u,c+o),w=P(t,s);u+=w.written,c=n(c,o,u,1)>>>0}return a=u,c}function y(t){return t==null}let h=null;function d(){return(h===null||h.buffer.detached===!0||h.buffer.detached===void 0&&h.buffer!==_.memory.buffer)&&(h=new DataView(_.memory.buffer)),h}const W=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let v=new W("utf-8",{ignoreBOM:!0,fatal:!0});v.decode();function T(t,e){return t=t>>>0,v.decode(j().subarray(t,t+e))}let q=p.length;function i(t){q===p.length&&p.push(p.length+1);const e=q;return q=p[e],p[e]=t,e}function J(t){t<132||(p[t]=q,q=t)}function g(t){const e=r(t);return J(t),e}function O(t){const e=typeof t;if(e=="number"||e=="boolean"||t==null)return`${t}`;if(e=="string")return`"${t}"`;if(e=="symbol"){const c=t.description;return c==null?"Symbol":`Symbol(${c})`}if(e=="function"){const c=t.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(t)){const c=t.length;let f="[";c>0&&(f+=O(t[0]));for(let u=1;u<c;u++)f+=", "+O(t[u]);return f+="]",f}const n=/\[object ([^\]]+)\]/.exec(toString.call(t));let o;if(n.length>1)o=n[1];else return toString.call(t);if(o=="Object")try{return"Object("+JSON.stringify(t)+")"}catch{return"Object"}return t instanceof Error?`${t.name}: ${t.message}
|
2
|
+
${t.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{_.__wbindgen_export_2.get(t.dtor)(t.a,t.b)});function Q(t,e,n,o){const c={a:t,b:e,cnt:1,dtor:n},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(t,e,n){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3e4f5f2877ffb8ce(t,e,i(n))}function G(){const t=_.getBuildTimeInfo();return g(t)}function K(t){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var e=y(t)?0:b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),n=a;_.debug_panic(f,e,n);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(t,e){try{return t.apply(this,e)}catch(n){_.__wbindgen_exn_store(i(n))}}function X(t,e,n,o){_.wasm_bindgen__convert__closures__invoke2_mut__h15e55f9f7ce55398(t,e,i(n),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>_.__wbg_queryengine_free(t>>>0,1));class Y{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),e}free(){const e=this.__destroy_into_raw();_.__wbg_queryengine_free(e,0)}constructor(e,n,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(e),i(n),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(e,n){const o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(e,n){const o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(e,n,o,c){const f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const M=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),R=a,D=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,M,R);return g(D)}startTransaction(e,n,o){const c=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(e,n,o){const c=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(e,n,o){const c=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(e){const n=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,n,o);return g(c)}trace(e){const n=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,n,o);return g(c)}}function Z(t,e){const n=r(e),o=typeof n=="string"?n:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(t+4*1,f,!0),d().setInt32(t+4*0,c,!0)}function tt(t,e){try{var n={a:t,b:e},o=(f,u)=>{const s=n.a;n.a=0;try{return X(s,n.b,f,u)}finally{n.a=s}};const c=new Promise(o);return i(c)}finally{n.a=n.b=0}}function et(t,e){return setTimeout(r(t),e>>>0)}function nt(t,e){const n=T(t,e);return i(n)}function rt(t,e){const n=new Error(T(t,e));return i(n)}function _t(t){const e=r(t);return i(e)}function ot(t){return r(t)===void 0}function ct(){return l(function(t,e){return Reflect.has(r(t),r(e))},arguments)}function it(){return l(function(t,e){const n=JSON.parse(T(t,e));return i(n)},arguments)}function ut(){return i(new Date)}function st(t){return r(t).getTime()}function ft(t){return r(t).now()}function at(){return Date.now()}function bt(t){const e=Object.keys(r(t));return i(e)}function gt(t){return r(t).length}function lt(t){g(t)}function dt(t){let e;try{e=r(t)instanceof Promise}catch{e=!1}return e}function wt(t){const e=r(t);return typeof e=="object"&&e!==null}function pt(){return i(Symbol.iterator)}function xt(t){const e=r(t);return typeof e=="boolean"?e?1:0:2}function mt(t){return typeof r(t)=="bigint"}function yt(t,e){const n=r(e),o=typeof n=="number"?n:void 0;d().setFloat64(t+8*1,y(o)?0:o,!0),d().setInt32(t+4*0,!y(o),!0)}function ht(t){return i(t)}function Tt(t,e){return r(t)in r(e)}function qt(t){const e=BigInt.asUintN(64,t);return i(e)}function It(t,e){return r(t)===r(e)}function St(t){return i(t)}function jt(){const t=new Array;return i(t)}function kt(t,e,n){r(t)[e>>>0]=g(n)}function At(){return i(new Map)}function Ot(){const t=new Object;return i(t)}function vt(t,e,n){const o=r(t).set(r(e),r(n));return i(o)}function Et(t){return typeof r(t)=="string"}function Ft(t,e,n){r(t)[g(e)]=g(n)}function Mt(t,e){const n=r(t)[r(e)];return i(n)}function Rt(t,e){return r(t).push(r(e))}function Dt(){return l(function(t,e){const n=r(t)[g(e)];return i(n)},arguments)}function Ut(t,e){const n=String(r(e)),o=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(t+4*1,c,!0),d().setInt32(t+4*0,o,!0)}function Bt(){const t=_.memory;return i(t)}function Nt(t){const e=r(t).buffer;return i(e)}function Ct(t,e,n){const o=new Uint8Array(r(t),e>>>0,n>>>0);return i(o)}function $t(t){const e=new Uint8Array(r(t));return i(e)}function Vt(t,e,n){const o=r(t).subarray(e>>>0,n>>>0);return i(o)}function zt(){return l(function(t,e){r(t).getRandomValues(r(e))},arguments)}function Lt(){return l(function(t,e){r(t).randomFillSync(g(e))},arguments)}function Pt(t){const e=r(t).crypto;return i(e)}function Wt(t){const e=r(t).process;return i(e)}function Jt(t){const e=r(t).versions;return i(e)}function Qt(t){const e=r(t).node;return i(e)}function Ht(){return l(function(){const t=module.require;return i(t)},arguments)}function Gt(t){const e=r(t).msCrypto;return i(e)}function Kt(t){const e=new Uint8Array(t>>>0);return i(e)}function Xt(t){return typeof r(t)=="function"}function Yt(){return l(function(t,e){const n=r(t).call(r(e));return i(n)},arguments)}function Zt(t,e){const n=r(t)[e>>>0];return i(n)}function te(t){return r(t).valueOf()}function ee(){return l(function(t){const e=r(t).next();return i(e)},arguments)}function ne(t){return r(t).done}function re(t){const e=r(t).value;return i(e)}function _e(t){const e=r(t).next;return i(e)}function oe(){return l(function(t,e){const n=Reflect.get(r(t),r(e));return i(n)},arguments)}function ce(){return l(function(){const t=self.self;return i(t)},arguments)}function ie(){return l(function(){const t=window.window;return i(t)},arguments)}function ue(){return l(function(){const t=globalThis.globalThis;return i(t)},arguments)}function se(){return l(function(){const t=global.global;return i(t)},arguments)}function fe(t,e){const n=new I(T(t,e));return i(n)}function ae(t){return Array.isArray(r(t))}function be(){return l(function(t,e,n){const o=r(t).call(r(e),r(n));return i(o)},arguments)}function ge(t){return Number.isSafeInteger(r(t))}function le(){return l(function(t,e,n){return Reflect.set(r(t),r(e),r(n))},arguments)}function de(){return l(function(t){const e=JSON.stringify(r(t));return i(e)},arguments)}function we(t,e,n){r(t).set(r(e),n>>>0)}function pe(t){return r(t).length}function xe(){return l(function(){return Date.now()},arguments)}function me(t,e){return r(t)==r(e)}function ye(t){let e;try{e=r(t)instanceof Uint8Array}catch{e=!1}return e}function he(t){let e;try{e=r(t)instanceof ArrayBuffer}catch{e=!1}return e}function Te(t){const e=Object.entries(r(t));return i(e)}function qe(t,e){throw new Error(T(t,e))}function Ie(t,e){const n=r(e),o=typeof n=="bigint"?n:void 0;d().setBigInt64(t+8*1,y(o)?BigInt(0):o,!0),d().setInt32(t+4*0,!y(o),!0)}function Se(t,e){const n=O(r(e)),o=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(t+4*1,c,!0),d().setInt32(t+4*0,o,!0)}function je(t){const e=g(t).original;return e.cnt--==1?(e.a=0,!0):!1}function ke(t,e){const n=r(t).then(r(e));return i(n)}function Ae(t){queueMicrotask(r(t))}function Oe(t,e,n){const o=r(t).then(r(e),r(n));return i(o)}function ve(t){const e=r(t).queueMicrotask;return i(e)}function Ee(t){const e=Promise.resolve(r(t));return i(e)}function Fe(t,e,n){const o=Q(t,e,540,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_queueMicrotask_12a30234db4045d3,__wbg_queueMicrotask_48421b3cc9052b68,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper6991,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
@@ -152,7 +152,7 @@ export declare type ClientArgs = {
|
|
152
152
|
client: ClientArg;
|
153
153
|
};
|
154
154
|
|
155
|
-
export declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never
|
155
|
+
export declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;
|
156
156
|
|
157
157
|
export declare type ClientOptionDef = undefined | {
|
158
158
|
[K in string]: any;
|
@@ -667,13 +667,13 @@ export declare interface DecimalJsLike {
|
|
667
667
|
|
668
668
|
export declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;
|
669
669
|
|
670
|
-
export declare type DefaultSelection<Payload extends OperationPayload, Args = {},
|
670
|
+
export declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {
|
671
671
|
omit: infer LocalOmit;
|
672
672
|
} ? ApplyOmit<UnwrapPayload<{
|
673
673
|
default: Payload;
|
674
|
-
}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<
|
674
|
+
}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{
|
675
675
|
default: Payload;
|
676
|
-
}>['default'], ExtractGlobalOmit<
|
676
|
+
}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;
|
677
677
|
|
678
678
|
export declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;
|
679
679
|
|
@@ -968,38 +968,38 @@ export declare interface DriverAdapter extends SqlQueryable {
|
|
968
968
|
}
|
969
969
|
|
970
970
|
/** Client */
|
971
|
-
export declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any
|
971
|
+
export declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {
|
972
972
|
[P in keyof C_]: unknown;
|
973
973
|
} & {
|
974
974
|
[K: symbol]: {
|
975
|
-
ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs
|
976
|
-
$parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs
|
975
|
+
ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {
|
976
|
+
$parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;
|
977
977
|
};
|
978
978
|
};
|
979
979
|
};
|
980
980
|
|
981
|
-
export declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any
|
981
|
+
export declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {
|
982
982
|
[P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;
|
983
983
|
} & {
|
984
|
-
[P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs
|
984
|
+
[P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;
|
985
985
|
} & {
|
986
986
|
[P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;
|
987
987
|
} & {
|
988
|
-
[P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs
|
988
|
+
[P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];
|
989
989
|
} & {
|
990
990
|
[K: symbol]: {
|
991
991
|
types: TypeMap['other'];
|
992
992
|
};
|
993
993
|
};
|
994
994
|
|
995
|
-
export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any
|
995
|
+
export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {
|
996
996
|
$extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {
|
997
997
|
extArgs: ExtArgs;
|
998
|
-
}
|
998
|
+
}>>;
|
999
999
|
$transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {
|
1000
1000
|
isolationLevel?: TypeMap['meta']['txIsolationLevel'];
|
1001
1001
|
}): Promise<UnwrapTuple<P>>;
|
1002
|
-
$transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs
|
1002
|
+
$transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {
|
1003
1003
|
maxWait?: number;
|
1004
1004
|
timeout?: number;
|
1005
1005
|
isolationLevel?: TypeMap['meta']['txIsolationLevel'];
|
@@ -1009,7 +1009,7 @@ export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef
|
|
1009
1009
|
};
|
1010
1010
|
|
1011
1011
|
/** Model */
|
1012
|
-
export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any
|
1012
|
+
export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {
|
1013
1013
|
[K in keyof M_]: K extends '$allModels' ? {
|
1014
1014
|
[P in keyof M_[K]]?: unknown;
|
1015
1015
|
} & {
|
@@ -1018,8 +1018,8 @@ export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, Ty
|
|
1018
1018
|
[P in keyof M_[K]]?: unknown;
|
1019
1019
|
} & {
|
1020
1020
|
[K: symbol]: {
|
1021
|
-
ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs
|
1022
|
-
$parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs
|
1021
|
+
ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {
|
1022
|
+
$parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;
|
1023
1023
|
} & {
|
1024
1024
|
$name: ModelKey<TypeMap, K>;
|
1025
1025
|
} & {
|
@@ -1032,26 +1032,26 @@ export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, Ty
|
|
1032
1032
|
} : never;
|
1033
1033
|
};
|
1034
1034
|
|
1035
|
-
export declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null
|
1035
|
+
export declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {
|
1036
1036
|
[K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {
|
1037
1037
|
select: {
|
1038
1038
|
[P in K]: A;
|
1039
1039
|
};
|
1040
|
-
}, P
|
1040
|
+
}, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;
|
1041
1041
|
};
|
1042
1042
|
|
1043
|
-
export declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null
|
1043
|
+
export declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;
|
1044
1044
|
|
1045
|
-
export declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey
|
1045
|
+
export declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, TypeMap['globalOmitOptions']>;
|
1046
1046
|
|
1047
1047
|
export declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;
|
1048
1048
|
|
1049
|
-
export declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey
|
1049
|
+
export declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>>;
|
1050
1050
|
|
1051
|
-
export declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any
|
1051
|
+
export declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {
|
1052
1052
|
[P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;
|
1053
1053
|
} & {
|
1054
|
-
[P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P
|
1054
|
+
[P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;
|
1055
1055
|
} & {
|
1056
1056
|
[P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];
|
1057
1057
|
} & {
|
@@ -1364,7 +1364,7 @@ declare type ExtendedSpanOptions = SpanOptions & {
|
|
1364
1364
|
/** $extends, defineExtension */
|
1365
1365
|
export declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {
|
1366
1366
|
extArgs: ExtArgs;
|
1367
|
-
}
|
1367
|
+
}>> {
|
1368
1368
|
extArgs: ExtArgs;
|
1369
1369
|
<R_ extends {
|
1370
1370
|
[K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;
|
@@ -1374,7 +1374,7 @@ export declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeM
|
|
1374
1374
|
[K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;
|
1375
1375
|
}, C_ extends {
|
1376
1376
|
[K in string]?: unknown;
|
1377
|
-
}, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs
|
1377
|
+
}, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {
|
1378
1378
|
$extends: {
|
1379
1379
|
extArgs: Args;
|
1380
1380
|
};
|
@@ -1382,12 +1382,12 @@ export declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeM
|
|
1382
1382
|
name?: string;
|
1383
1383
|
query?: DynamicQueryExtensionArgs<Q_, TypeMap>;
|
1384
1384
|
result?: DynamicResultExtensionArgs<R_, TypeMap> & R;
|
1385
|
-
model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs
|
1386
|
-
client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs
|
1385
|
+
model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;
|
1386
|
+
client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;
|
1387
1387
|
}): {
|
1388
1388
|
extends: DynamicClientExtensionThis<Call<TypeMapCb, {
|
1389
1389
|
extArgs: MergedArgs;
|
1390
|
-
}>, TypeMapCb, MergedArgs
|
1390
|
+
}>, TypeMapCb, MergedArgs>;
|
1391
1391
|
define: (client: any) => {
|
1392
1392
|
$extends: {
|
1393
1393
|
extArgs: Args;
|
@@ -1511,12 +1511,12 @@ export declare type GetCountResult<A> = A extends {
|
|
1511
1511
|
|
1512
1512
|
declare function getExtensionContext<T>(that: T): Context_2<T>;
|
1513
1513
|
|
1514
|
-
export declare type GetFindResult<P extends OperationPayload, A,
|
1514
|
+
export declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {
|
1515
1515
|
select: infer S extends object;
|
1516
1516
|
} & Record<string, unknown> | {
|
1517
1517
|
include: infer I extends object;
|
1518
1518
|
} & Record<string, unknown> ? {
|
1519
|
-
[K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K],
|
1519
|
+
[K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {
|
1520
1520
|
scalars: {
|
1521
1521
|
[k in K]: infer O;
|
1522
1522
|
};
|
@@ -1525,7 +1525,7 @@ export declare type GetFindResult<P extends OperationPayload, A, ClientOptions>
|
|
1525
1525
|
include: any;
|
1526
1526
|
} & Record<string, unknown> ? DefaultSelection<P, A & {
|
1527
1527
|
omit: A['omit'];
|
1528
|
-
},
|
1528
|
+
}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;
|
1529
1529
|
|
1530
1530
|
export declare type GetGroupByResult<P extends OperationPayload, A> = A extends {
|
1531
1531
|
by: string[];
|
@@ -1771,20 +1771,20 @@ declare type GetPrismaClientConfig = {
|
|
1771
1771
|
compilerWasm?: CompilerWasmLoadingConfig;
|
1772
1772
|
};
|
1773
1773
|
|
1774
|
-
export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow',
|
1775
|
-
findUnique: GetFindResult<Payload, Args,
|
1776
|
-
findUniqueOrThrow: GetFindResult<Payload, Args,
|
1777
|
-
findFirst: GetFindResult<Payload, Args,
|
1778
|
-
findFirstOrThrow: GetFindResult<Payload, Args,
|
1779
|
-
findMany: GetFindResult<Payload, Args,
|
1780
|
-
create: GetFindResult<Payload, Args,
|
1774
|
+
export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {
|
1775
|
+
findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;
|
1776
|
+
findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1777
|
+
findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;
|
1778
|
+
findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1779
|
+
findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];
|
1780
|
+
create: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1781
1781
|
createMany: GetBatchResult;
|
1782
|
-
createManyAndReturn: GetFindResult<Payload, Args,
|
1783
|
-
update: GetFindResult<Payload, Args,
|
1782
|
+
createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];
|
1783
|
+
update: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1784
1784
|
updateMany: GetBatchResult;
|
1785
|
-
updateManyAndReturn: GetFindResult<Payload, Args,
|
1786
|
-
upsert: GetFindResult<Payload, Args,
|
1787
|
-
delete: GetFindResult<Payload, Args,
|
1785
|
+
updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];
|
1786
|
+
upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1787
|
+
delete: GetFindResult<Payload, Args, GlobalOmitOptions>;
|
1788
1788
|
deleteMany: GetBatchResult;
|
1789
1789
|
aggregate: GetAggregateResult<Payload, Args>;
|
1790
1790
|
count: GetCountResult<Args>;
|
@@ -3370,7 +3370,6 @@ export declare class TypedSql<Values extends readonly unknown[], Result> {
|
|
3370
3370
|
|
3371
3371
|
export declare type TypeMapCbDef = Fn<{
|
3372
3372
|
extArgs: InternalArgs;
|
3373
|
-
clientOptions: ClientOptionDef;
|
3374
3373
|
}, TypeMapDef>;
|
3375
3374
|
|
3376
3375
|
/** Shared */
|