UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 403 B
import{getLucidRemoteClient as e}from"../client.mjs";import{lucidRemotePaths as t}from"../constants.mjs";const n=async(n,r)=>{let i=e(n),a=new Headers;return a.append(`Authorization`,`Bearer ${r.licenseKey}`),a.append(`idempotency-key`,r.idempotencyKey??``),i.request(t.generateCmsAi,{retries:0,method:`POST`,headers:a,body:r.request})};export{n as default}; //# sourceMappingURL=generate-cms-ai.mjs.map