@lpdjs/firestore-repo-service 2.6.37 → 2.6.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1149,5 +1149,5 @@ function initColumnReorder(table) {
1149
1149
  <script id="api-reference" data-url="${n}"></script>
1150
1150
  <script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
1151
1151
  </body>
1152
- </html>`}function Zr(e){return typeof e=="object"&&e!==null&&e.__docsAuthExtension===true}var wn=new async_hooks.AsyncLocalStorage;function Kr(){return async(e,t)=>{await wn.run({c:e},async()=>{await t();});}}var Ys=Object.freeze({}),$t=class{constructor(t){this.cachedSpec=null;this.options=t,this.app=new hono.Hono,this.mountedRoutes=na(t.routes,t.api),t.services&&this.app.use("*",Kr());let n=[...t.middlewares??[],...t.globalMiddlewares??[]];for(let r of n)this.app.use("*",r);this.mountRoutes(),this.mountOpenApi(),t.notFound&&this.app.notFound(t.notFound),t.onError&&this.app.onError(t.onError);}get hono(){return this.app}get nodeHandler(){return nodeServer.getRequestListener(this.app.fetch,{overrideGlobalObjects:false})}toFunction(t,n){let r=this.nodeHandler;return n?t(n,r):t(r)}buildOpenApiSpec(){if(this.cachedSpec)return this.cachedSpec;if(!this.options.openapi)throw new Error("[HonoServer] openapi config not set");return this.cachedSpec=Br(this.mountedRoutes,this.options.basePath??"",this.options.openapi,ta(this.options.interceptor)),this.cachedSpec}mountRoutes(){let t=this.options.basePath??"",n=this.options.validateOutput??false,r=this.options.verbose??false;for(let o of this.mountedRoutes){if(!o.path)throw new Error(`[HonoServer] route "${o.method.toUpperCase()} (no path)" \u2014 missing \`path\`. Run the codegen so the path is derived from the file location, or set it explicitly.`);let s=Pt(t,o.path),a=o.middlewares??[],l=o.source??(o.method==="get"?"query":"json"),i=sa(o,l,n,ea(this.options.interceptor),this.options.services,this.options.errorHandler,this.options.logger),m=o.method.toUpperCase();this.app.on(m,[s],...a,i),r&&console.log(`[HonoServer] ${o.method.toUpperCase().padEnd(6)} ${s}`);}}mountOpenApi(){let t=this.options.openapi;if(!t)return;let n=t.path??"/openapi.json",r=t.docsPath===void 0?"/docs":t.docsPath,o=Pt(this.options.basePath??"",n),s=r===false?null:Pt(this.options.basePath??"",r),a;if(Zr(t.docsAuth)){let l=t.docsAuth;a=[l.middleware];let i=ra(s??o);for(let m of l.routes)this.app.on(m.method,[Pt(i,m.name)],m.handler);}else a=t.docsAuth?Array.isArray(t.docsAuth)?t.docsAuth:[t.docsAuth]:[];if(this.app.on("GET",[o],...a,l=>l.json(this.buildOpenApiSpec())),s){let l=oa(s,o);this.app.on("GET",[s],...a,i=>i.html(qr(l,t.info.title)));}}};function Lr(e){return typeof e=="object"&&e!==null&&typeof e.handler=="function"}function ea(e){if(e)return Lr(e)?e.handler:e}function ta(e){return Lr(e)?e:void 0}function na(e,t){return t?e.filter(n=>Array.isArray(n.api)?n.api.includes(t):n.api===t):e.slice()}function Pt(e,t){let n=e.endsWith("/")?e.slice(0,-1):e,r=t.startsWith("/")?t:`/${t}`,o=`${n}${r}`;return o===""?"/":o}function ra(e){let t=e.lastIndexOf("/");return t<=0?"":e.slice(0,t)}function oa(e,t){let n=e.split("/").filter(Boolean),r=t.split("/").filter(Boolean);n.pop();let o=0;for(;o<n.length&&o<r.length&&n[o]===r[o];)o++;let s=n.length-o;return [...Array(s).fill(".."),...r.slice(o)].join("/")||"./"}function sa(e,t,n,r,o,s,a){let l=e.input,i=e.output,m=e.status??200,p=o??Ys;return async d=>{let b=async R=>{if(s){let h=await s.handle({error:R,c:d,route:e,services:p,logger:a});if(h)return h}return Mr(d,R)},x=async()=>{let R;if(l){let v;try{v=await aa(d,t,e.method);}catch(f){throw new st(f instanceof Error?f.message:String(f))}let c=l.safeParse(v);if(!c.success)throw new Me(c.error,t);R=c.data;}let h=await e.handler({input:R,c:d,services:p,errorHandler:s,logger:a});if(n&&i&&!(h instanceof Response)){let v=i.safeParse(h);if(!v.success)throw new at(v.error);return v.data}return h},g;if(r)try{g=await r({next:x,route:e,c:d,services:p,errorHandler:s,logger:a});}catch(R){let h=await b(R);if(h)return h;throw R}else try{g=await x();}catch(R){let h=await b(R);if(h)return h;throw R}return g instanceof Response?g:d.json(g,m)}}async function aa(e,t,n){switch(t){case "json":{if(n==="get")return e.req.query();let r=await e.req.text();if(!r)return {};try{return JSON.parse(r)}catch(o){throw new Error(`Invalid JSON body: ${o instanceof Error?o.message:String(o)}`)}}case "query":return e.req.query();case "form":return await e.req.parseBody();case "param":return e.req.param();default:return {}}}function Ur(e){let{basePath:t="/",repos:n,parseBody:r=true,securityHeaders:o,verbose:s=false,httpsOptions:a}=e,l=t==="/"?"":t.replace(/\/$/,""),i={};for(let[v,c]of Object.entries(n)){if(!c.repo)throw new Error(`[createCrudServer] Repository "${v}" has no 'repo' defined. Did you forget to pass it or is there a circular import?`);let f=c.schema??c.repo.schema??null;if(!f)throw new Error(`[createCrudServer] Repository "${v}" has no Zod schema.`);let y,u,w,S;if(c.fieldsConfig){let A=c.fieldsConfig;y=[],u=[],w=[],S=[];for(let[k,O]of Object.entries(A))for(let E of O)E==="filterable"?y.push(k):E==="orderable"?u.push(k):E==="mutable"?w.push(k):E==="create"&&S.push(k);u.length===0&&(u=y),y.length===0&&(y=void 0),u&&u.length===0&&(u=void 0),w.length===0&&(w=void 0),S.length===0&&(S=void 0);}let T=(()=>{let A=c.repo._parentKeys;return A&&A.length>0?A:void 0})();if(T&&S)for(let A of T)S.includes(A)||S.push(A);let C={name:v,path:c.path,repo:c.repo,schema:f,systemKeys:c.repo._systemKeys??[c.documentKey??"docId"],documentKey:c.documentKey??"docId",pathKey:c.repo._pathKey??void 0,isGroup:!!c.repo._isGroup,parentKeys:T,createdKey:c.repo._createdKey??void 0,pageSize:c.pageSize??25,filterableFields:y,orderableFields:u,mutableFields:w,createFields:S,allowDelete:c.allowDelete??false,allowedIncludes:c.allowedIncludes,validate:c.validate,rules:c.rules};i[v]=C;}let m=_r(i,l,s),p=e.openapi,d=p&&typeof p=="object"?p:{},b=null;function x(){return b||(b=vn(i,l,{...d,auth:d.auth??false})),b}let g=[];for(let v of Object.keys(i))g.push({api:"crud",method:"get",path:`/${v}`,source:"query",handler:m.handleList}),g.push({api:"crud",method:"post",path:`/${v}/query`,source:"json",handler:m.handleQuery}),g.push({api:"crud",method:"get",path:`/${v}/:id`,source:"query",handler:m.handleGet}),g.push({api:"crud",method:"post",path:`/${v}`,source:"json",handler:m.handleCreate}),g.push({api:"crud",method:"put",path:`/${v}/:id`,source:"json",handler:c=>m.handleUpdate(c,false)}),g.push({api:"crud",method:"patch",path:`/${v}/:id`,source:"json",handler:c=>m.handleUpdate(c,true)}),g.push({api:"crud",method:"delete",path:`/${v}/:id`,source:"query",handler:m.handleDelete}),g.push({api:"crud",method:"post",path:`/${v}/batch`,source:"json",handler:m.handleBatch});let R=new $t({...e,openapi:p!==false?{path:d.path??"/openapi.json",docsPath:d.docsPath??"/docs",info:{title:d.title??"CRUD API",version:d.version??"1.0.0"},docsAuth:d.docsAuth}:void 0,basePath:t,api:"crud",routes:g,middlewares:[async(v,c)=>{if(v.req.method==="OPTIONS")return v.text("",204,{"Access-Control-Allow-Methods":"GET, POST, PUT, PATCH, DELETE, OPTIONS","Access-Control-Allow-Headers":"Content-Type, Authorization","Access-Control-Max-Age":"86400","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":"true"});v.header("Access-Control-Allow-Origin","*"),v.header("Access-Control-Allow-Credentials","true"),await c();},...e.middlewares||[]]});if(p!==false&&(R.buildOpenApiSpec=x),o!==false){let{securityHeaders:v}=(Ct(),so(Er)),c=o===void 0?{csp:false}:o;R.hono.use("*",async(f,y)=>{let u=v(c);await new Promise(w=>{let S=f.req.raw;u(S,{setHeader:(C,A)=>f.header(C,A),removeHeader:C=>f.res.headers.delete(C)},()=>w());}),await y();});}let h=R.nodeHandler;return h.spec=x,a&&(h.httpsOptions=a),h}function Qr(e,t){if(!t.onRequest)return e;let n=e.httpsOptions??t.httpsOptions,r=n?t.onRequest(n,e):t.onRequest(e),o=e.spec;return typeof o=="function"&&(r.spec=o),r}function Vr(e,t,n){let r={},o=e?.rawMapping;for(let[s,a]of Object.entries(t)){if(!a)continue;if(!(o?s in o:!!e[s]))throw new Error(`[createServers.${n}] Unknown repo "${s}" \u2014 not present in the registry passed to createServers().`);let i=o?ht(o[s],()=>e[s]):e[s];r[s]={...a,repo:i};}return r}function Gr(e,t={}){return {admin(n){let r=Vr(e,n.repos,"admin"),o=Pr({...n,repos:r,httpsOptions:n.httpsOptions??t.httpsOptions});return Qr(o,t)},crud(n){let r=Vr(e,n.repos,"crud"),o=Ur({...n,repos:r,httpsOptions:n.httpsOptions??t.httpsOptions});return Qr(o,t)},sync(n){let r={...n};return t.onRequest&&r.admin&&!r.admin.onRequest&&(r.admin={...r.admin,onRequest:t.onRequest,httpsOptions:r.admin.httpsOptions??t.httpsOptions}),or(e,r)},history(n){return qn(e,n)}}}Ct();function Vl(e){return t=>({...t,schema:e,type:null,documentRef:null,update:null})}function Gl(e,t){let n={...e};for(let r in t)t[r]&&(n[r]={...e[r],relationalKeys:t[r]});return n}var Rn=class{constructor(t,n){this.allRepositories={};this.initialized=false;this.dbFactory=t,this.mapping=n;}get db(){return this._db??(this._db=this.dbFactory())}get rawMapping(){return this.mapping}ensureInitialized(){this.initialized||(this.initializeRepositories(),this.initialized=true);}initializeRepositories(){let t=this.db;for(let n of Object.keys(this.mapping))this.allRepositories[n]=Zt(t,this.mapping[n],{});for(let n of Object.keys(this.mapping))this.allRepositories[n]=Zt(t,this.mapping[n],this.allRepositories);}getRepository(t){return this.ensureInitialized(),this.allRepositories[t]}};function Wl(e,t){let n=new Rn(e,t),r=Object.keys(t);return new Proxy(n,{get(o,s){return typeof s=="string"&&s in t?o.getRepository(s):o[s]},ownKeys(){return r},getOwnPropertyDescriptor(o,s){if(typeof s=="string"&&s in t)return {configurable:true,enumerable:true,writable:false}}})}exports.MiniRouter=pe;exports.RepositoryMapping=Rn;exports.applyPaginationQueryOptions=he;exports.buildAndExecuteQuery=Te;exports.buildRepositoryRelations=Gl;exports.coerceToDate=Mt;exports.createPaginationIterator=Ht;exports.createRepositoryConfig=Vl;exports.createRepositoryMapping=Wl;exports.createServers=Gr;exports.executePaginatedQuery=dt;exports.getDateHandling=jt;exports.normalizeTimestamps=lt;exports.setDateHandling=io;//# sourceMappingURL=index.cjs.map
1152
+ </html>`}function Zr(e){return typeof e=="object"&&e!==null&&e.__docsAuthExtension===true}var wn=new async_hooks.AsyncLocalStorage;function Kr(){return async(e,t)=>{await wn.run({c:e},async()=>{await t();});}}var Ys=Object.freeze({}),$t=class{constructor(t){this.cachedSpec=null;this.options=t,this.app=new hono.Hono,this.mountedRoutes=na(t.routes,t.api),t.services&&this.app.use("*",Kr());let n=[...t.middlewares??[],...t.globalMiddlewares??[]];for(let r of n)this.app.use("*",r);this.mountRoutes(),this.mountOpenApi(),t.notFound&&this.app.notFound(t.notFound),t.onError&&this.app.onError(t.onError);}get hono(){return this.app}get nodeHandler(){return nodeServer.getRequestListener(this.app.fetch,{overrideGlobalObjects:false})}toFunction(t,n){let r=this.nodeHandler;return n?t(n,r):t(r)}buildOpenApiSpec(){if(this.cachedSpec)return this.cachedSpec;if(!this.options.openapi)throw new Error("[HonoServer] openapi config not set");return this.cachedSpec=Br(this.mountedRoutes,this.options.basePath??"",this.options.openapi,ta(this.options.interceptor)),this.cachedSpec}mountRoutes(){let t=this.options.basePath??"",n=this.options.validateOutput??false,r=this.options.verbose??false;for(let o of this.mountedRoutes){if(!o.path)throw new Error(`[HonoServer] route "${o.method.toUpperCase()} (no path)" \u2014 missing \`path\`. Run the codegen so the path is derived from the file location, or set it explicitly.`);let s=Pt(t,o.path),a=o.middlewares??[],l=o.source??(o.method==="get"?"query":"json"),i=sa(o,l,n,ea(this.options.interceptor),this.options.services,this.options.errorHandler,this.options.logger),m=o.method.toUpperCase();this.app.on(m,[s],...a,i),r&&console.log(`[HonoServer] ${o.method.toUpperCase().padEnd(6)} ${s}`);}}mountOpenApi(){let t=this.options.openapi;if(!t)return;let n=t.path??"/openapi.json",r=t.docsPath===void 0?"/docs":t.docsPath,o=Pt(this.options.basePath??"",n),s=r===false?null:Pt(this.options.basePath??"",r),a;if(Zr(t.docsAuth)){let l=t.docsAuth;a=[l.middleware];let i=ra(s??o);for(let m of l.routes)this.app.on(m.method,[Pt(i,m.name)],m.handler);}else a=t.docsAuth?Array.isArray(t.docsAuth)?t.docsAuth:[t.docsAuth]:[];if(this.app.on("GET",[o],...a,l=>l.json(this.buildOpenApiSpec())),s){let l=oa(s,o);this.app.on("GET",[s],...a,i=>i.html(qr(l,t.info.title)));}}};function Lr(e){return typeof e=="object"&&e!==null&&typeof e.handler=="function"}function ea(e){if(e)return Lr(e)?e.handler:e}function ta(e){return Lr(e)?e:void 0}function na(e,t){return t?e.filter(n=>Array.isArray(n.api)?n.api.includes(t):n.api===t):e.slice()}function Pt(e,t){let n=e.endsWith("/")?e.slice(0,-1):e,r=t.startsWith("/")?t:`/${t}`,o=`${n}${r}`;return o===""?"/":o}function ra(e){let t=e.lastIndexOf("/");return t<=0?"":e.slice(0,t)}function oa(e,t){let n=e.split("/").filter(Boolean),r=t.split("/").filter(Boolean);n.pop();let o=0;for(;o<n.length&&o<r.length&&n[o]===r[o];)o++;let s=n.length-o;return [...Array(s).fill(".."),...r.slice(o)].join("/")||"./"}function sa(e,t,n,r,o,s,a){let l=e.input,i=e.output,m=e.status??200,p=o??Ys;return async d=>{let b=async R=>{if(s){let h=await s.handle({error:R,c:d,route:e,services:p,logger:a});if(h)return h}return Mr(d,R)},x=async()=>{let R,h;try{h=await aa(d,t,e.method);}catch(c){throw new st(c instanceof Error?c.message:String(c))}if(l){let c=l.safeParse(h);if(!c.success)throw new Me(c.error,t);R=c.data;}else R=h;let v=await e.handler({input:R,c:d,services:p,errorHandler:s,logger:a});if(n&&i&&!(v instanceof Response)){let c=i.safeParse(v);if(!c.success)throw new at(c.error);return c.data}return v},g;if(r)try{g=await r({next:x,route:e,c:d,services:p,errorHandler:s,logger:a});}catch(R){let h=await b(R);if(h)return h;throw R}else try{g=await x();}catch(R){let h=await b(R);if(h)return h;throw R}return g instanceof Response?g:d.json(g,m)}}async function aa(e,t,n){switch(t){case "json":{if(n==="get")return e.req.query();let r=await e.req.text();if(!r)return {};try{return JSON.parse(r)}catch(o){throw new Error(`Invalid JSON body: ${o instanceof Error?o.message:String(o)}`)}}case "query":return e.req.query();case "form":return await e.req.parseBody();case "param":return e.req.param();default:return {}}}function Ur(e){let{basePath:t="/",repos:n,parseBody:r=true,securityHeaders:o,verbose:s=false,httpsOptions:a}=e,l=t==="/"?"":t.replace(/\/$/,""),i={};for(let[v,c]of Object.entries(n)){if(!c.repo)throw new Error(`[createCrudServer] Repository "${v}" has no 'repo' defined. Did you forget to pass it or is there a circular import?`);let f=c.schema??c.repo.schema??null;if(!f)throw new Error(`[createCrudServer] Repository "${v}" has no Zod schema.`);let y,u,w,S;if(c.fieldsConfig){let A=c.fieldsConfig;y=[],u=[],w=[],S=[];for(let[k,O]of Object.entries(A))for(let E of O)E==="filterable"?y.push(k):E==="orderable"?u.push(k):E==="mutable"?w.push(k):E==="create"&&S.push(k);u.length===0&&(u=y),y.length===0&&(y=void 0),u&&u.length===0&&(u=void 0),w.length===0&&(w=void 0),S.length===0&&(S=void 0);}let T=(()=>{let A=c.repo._parentKeys;return A&&A.length>0?A:void 0})();if(T&&S)for(let A of T)S.includes(A)||S.push(A);let C={name:v,path:c.path,repo:c.repo,schema:f,systemKeys:c.repo._systemKeys??[c.documentKey??"docId"],documentKey:c.documentKey??"docId",pathKey:c.repo._pathKey??void 0,isGroup:!!c.repo._isGroup,parentKeys:T,createdKey:c.repo._createdKey??void 0,pageSize:c.pageSize??25,filterableFields:y,orderableFields:u,mutableFields:w,createFields:S,allowDelete:c.allowDelete??false,allowedIncludes:c.allowedIncludes,validate:c.validate,rules:c.rules};i[v]=C;}let m=_r(i,l,s),p=e.openapi,d=p&&typeof p=="object"?p:{},b=null;function x(){return b||(b=vn(i,l,{...d,auth:d.auth??false})),b}let g=[];for(let v of Object.keys(i))g.push({api:"crud",method:"get",path:`/${v}`,source:"query",handler:m.handleList}),g.push({api:"crud",method:"post",path:`/${v}/query`,source:"json",handler:m.handleQuery}),g.push({api:"crud",method:"get",path:`/${v}/:id`,source:"query",handler:m.handleGet}),g.push({api:"crud",method:"post",path:`/${v}`,source:"json",handler:m.handleCreate}),g.push({api:"crud",method:"put",path:`/${v}/:id`,source:"json",handler:c=>m.handleUpdate(c,false)}),g.push({api:"crud",method:"patch",path:`/${v}/:id`,source:"json",handler:c=>m.handleUpdate(c,true)}),g.push({api:"crud",method:"delete",path:`/${v}/:id`,source:"query",handler:m.handleDelete}),g.push({api:"crud",method:"post",path:`/${v}/batch`,source:"json",handler:m.handleBatch});let R=new $t({...e,openapi:p!==false?{path:d.path??"/openapi.json",docsPath:d.docsPath??"/docs",info:{title:d.title??"CRUD API",version:d.version??"1.0.0"},docsAuth:d.docsAuth}:void 0,basePath:t,api:"crud",routes:g,middlewares:[async(v,c)=>{if(v.req.method==="OPTIONS")return v.text("",204,{"Access-Control-Allow-Methods":"GET, POST, PUT, PATCH, DELETE, OPTIONS","Access-Control-Allow-Headers":"Content-Type, Authorization","Access-Control-Max-Age":"86400","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":"true"});v.header("Access-Control-Allow-Origin","*"),v.header("Access-Control-Allow-Credentials","true"),await c();},...e.middlewares||[]]});if(p!==false&&(R.buildOpenApiSpec=x),o!==false){let{securityHeaders:v}=(Ct(),so(Er)),c=o===void 0?{csp:false}:o;R.hono.use("*",async(f,y)=>{let u=v(c);await new Promise(w=>{let S=f.req.raw;u(S,{setHeader:(C,A)=>f.header(C,A),removeHeader:C=>f.res.headers.delete(C)},()=>w());}),await y();});}let h=R.nodeHandler;return h.spec=x,a&&(h.httpsOptions=a),h}function Qr(e,t){if(!t.onRequest)return e;let n=e.httpsOptions??t.httpsOptions,r=n?t.onRequest(n,e):t.onRequest(e),o=e.spec;return typeof o=="function"&&(r.spec=o),r}function Vr(e,t,n){let r={},o=e?.rawMapping;for(let[s,a]of Object.entries(t)){if(!a)continue;if(!(o?s in o:!!e[s]))throw new Error(`[createServers.${n}] Unknown repo "${s}" \u2014 not present in the registry passed to createServers().`);let i=o?ht(o[s],()=>e[s]):e[s];r[s]={...a,repo:i};}return r}function Gr(e,t={}){return {admin(n){let r=Vr(e,n.repos,"admin"),o=Pr({...n,repos:r,httpsOptions:n.httpsOptions??t.httpsOptions});return Qr(o,t)},crud(n){let r=Vr(e,n.repos,"crud"),o=Ur({...n,repos:r,httpsOptions:n.httpsOptions??t.httpsOptions});return Qr(o,t)},sync(n){let r={...n};return t.onRequest&&r.admin&&!r.admin.onRequest&&(r.admin={...r.admin,onRequest:t.onRequest,httpsOptions:r.admin.httpsOptions??t.httpsOptions}),or(e,r)},history(n){return qn(e,n)}}}Ct();function Vl(e){return t=>({...t,schema:e,type:null,documentRef:null,update:null})}function Gl(e,t){let n={...e};for(let r in t)t[r]&&(n[r]={...e[r],relationalKeys:t[r]});return n}var Rn=class{constructor(t,n){this.allRepositories={};this.initialized=false;this.dbFactory=t,this.mapping=n;}get db(){return this._db??(this._db=this.dbFactory())}get rawMapping(){return this.mapping}ensureInitialized(){this.initialized||(this.initializeRepositories(),this.initialized=true);}initializeRepositories(){let t=this.db;for(let n of Object.keys(this.mapping))this.allRepositories[n]=Zt(t,this.mapping[n],{});for(let n of Object.keys(this.mapping))this.allRepositories[n]=Zt(t,this.mapping[n],this.allRepositories);}getRepository(t){return this.ensureInitialized(),this.allRepositories[t]}};function Wl(e,t){let n=new Rn(e,t),r=Object.keys(t);return new Proxy(n,{get(o,s){return typeof s=="string"&&s in t?o.getRepository(s):o[s]},ownKeys(){return r},getOwnPropertyDescriptor(o,s){if(typeof s=="string"&&s in t)return {configurable:true,enumerable:true,writable:false}}})}exports.MiniRouter=pe;exports.RepositoryMapping=Rn;exports.applyPaginationQueryOptions=he;exports.buildAndExecuteQuery=Te;exports.buildRepositoryRelations=Gl;exports.coerceToDate=Mt;exports.createPaginationIterator=Ht;exports.createRepositoryConfig=Vl;exports.createRepositoryMapping=Wl;exports.createServers=Gr;exports.executePaginatedQuery=dt;exports.getDateHandling=jt;exports.normalizeTimestamps=lt;exports.setDateHandling=io;//# sourceMappingURL=index.cjs.map
1153
1153
  //# sourceMappingURL=index.cjs.map