This will let the code access the new endpoints to get the OSCAP profiles and OSCAP customizations for the images. HMS-2077
24 lines
607 B
TypeScript
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;
|