Files
klz-cables.com/.pnpm-store/v10/files/31/c2ca23134608fa12cfdb125dd9cc2a7ee89aabb1ac253d9978ff22325ec43769c15a25b483ced4bc4f623831cbf4b998e990a901f6e70fce5bb6067f287744
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

1 line
1000 B
Plaintext

{"version":3,"file":"export.js","names":[],"sources":["../../../../src/rest/commands/utils/export.ts"],"sourcesContent":["import type { Query } from '../../../index.js';\nimport type { DirectusFile } from '../../../schema/file.js';\nimport type { RestCommand } from '../../types.js';\n\nexport type FileFormat = 'csv' | 'csv_utf8' | 'json' | 'xml' | 'yaml';\n\n/**\n * Export a larger data set to a file in the File Library\n * @returns Nothing\n */\nexport const utilsExport =\n\t<Schema, TQuery extends Query<Schema, Schema[Collection]>, Collection extends keyof Schema>(\n\t\tcollection: Collection,\n\t\tformat: FileFormat,\n\t\tquery: TQuery,\n\t\tfile: Partial<DirectusFile<Schema>>,\n\t): RestCommand<void, Schema> =>\n\t() => ({\n\t\tmethod: 'POST',\n\t\tpath: `/utils/export/${collection as string}`,\n\t\tbody: JSON.stringify({ format, query, file }),\n\t});\n"],"mappings":"AAUA,MAAa,GAEX,EACA,EACA,EACA,SAEM,CACN,OAAQ,OACR,KAAM,iBAAiB,IACvB,KAAM,KAAK,UAAU,CAAE,SAAQ,QAAO,OAAM,CAAC,CAC7C"}