{"version":3,"file":"extensions.cjs","names":[],"sources":["../../../../src/rest/commands/read/extensions.ts"],"sourcesContent":["import type { DirectusExtension } from '../../../schema/extension.js';\nimport type { RestCommand } from '../../types.js';\n\n/**\n * List the available extensions in the project.\n * @returns An array of extensions.\n */\nexport const readExtensions =\n\t<Schema>(): RestCommand<DirectusExtension<Schema>[], Schema> =>\n\t() => ({\n\t\tpath: `/extensions/`,\n\t\tmethod: 'GET',\n\t});\n"],"mappings":"AAOA,MAAa,WAEL,CACN,KAAM,eACN,OAAQ,MACR"}