Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
1 line
578 B
Plaintext
1 line
578 B
Plaintext
{"version":3,"file":"cache.cjs","names":[],"sources":["../../../../src/rest/commands/utils/cache.ts"],"sourcesContent":["import type { RestCommand } from '../../types.js';\n\n/**\n * Resets both the data and schema cache of Directus. This endpoint is only available to admin users.\n * @returns Nothing\n */\nexport const clearCache =\n\t<Schema>(): RestCommand<void, Schema> =>\n\t(system = false) => ({\n\t\tmethod: 'POST',\n\t\tpath: `/utils/cache/clear${system ? '?system' : ''}`,\n\t});\n"],"mappings":"AAMA,MAAa,OAEX,EAAS,MAAW,CACpB,OAAQ,OACR,KAAM,qBAAqB,EAAS,UAAY,KAChD"} |