Files
klz-cables.com/.pnpm-store/v10/files/5a/e3ff3feff050d050566fffe6db7855e256335a655303f26f1a039630197926db898f7d21cd5326f77e589894a4a4cf987c1967081ea67129a077eecf5642aa
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
793 B
Plaintext

{"version":3,"file":"snapshot.js","names":[],"sources":["../../../../src/rest/commands/schema/snapshot.ts"],"sourcesContent":["import type { RestCommand } from '../../types.js';\n\n// TODO improve typing\nexport type SchemaSnapshotOutput = {\n\tversion: number;\n\tdirectus: string;\n\tvendor: string;\n\tcollections: Record<string, any>[];\n\tfields: Record<string, any>[];\n\trelations: Record<string, any>[];\n};\n\n/**\n * Retrieve the current schema. This endpoint is only available to admin users.\n * @returns Returns the JSON object containing schema details.\n */\nexport const schemaSnapshot =\n\t<Schema>(): RestCommand<SchemaSnapshotOutput, Schema> =>\n\t() => ({\n\t\tmethod: 'GET',\n\t\tpath: '/schema/snapshot',\n\t});\n"],"mappings":"AAgBA,MAAa,WAEL,CACN,OAAQ,MACR,KAAM,mBACN"}