Since we will need to add other api endpoints, e.g. `contentSourcesApi` for the on-prem frontend, this PR restructures the store directory to make future changes more manageable.
18 lines
460 B
TypeScript
18 lines
460 B
TypeScript
import type { ConfigFile } from '@rtk-query/codegen-openapi';
|
|
|
|
const config: ConfigFile = {
|
|
schemaFile: '../schema/rhsm.json',
|
|
apiFile: '../../src/store/service/emptyRhsmApi.ts',
|
|
apiImport: 'emptyRhsmApi',
|
|
outputFile: '../../src/store/service/rhsmApi.ts',
|
|
exportName: 'rhsmApi',
|
|
hooks: true,
|
|
unionUndefined: true,
|
|
filterEndpoints: [
|
|
'listActivationKeys',
|
|
'showActivationKey',
|
|
'createActivationKeys',
|
|
],
|
|
};
|
|
|
|
export default config;
|