debian-image-builder-frontend/api/config/imageBuilder.ts
Thomas Lavocat 273aa52711 api: update to latest image builder
This will let the code access the new endpoints to get the OSCAP
profiles and OSCAP customizations for the images.

HMS-2077
2023-10-06 16:26:09 +02:00

24 lines
607 B
TypeScript

import type { ConfigFile } from '@rtk-query/codegen-openapi';
const config: ConfigFile = {
schemaFile: '../schema/imageBuilder.yaml',
apiFile: '../../src/store/emptyImageBuilderApi.ts',
apiImport: 'emptyImageBuilderApi',
outputFile: '../../src/store/imageBuilderApi.ts',
exportName: 'imageBuilderApi',
hooks: true,
filterEndpoints: [
'cloneCompose',
'composeImage',
'getComposes',
'getComposeStatus',
'getComposeClones',
'getCloneStatus',
'getArchitectures',
'getPackages',
'getOscapProfiles',
'getOscapCustomizations',
],
};
export default config;