These definitions were generated using the RTKQ code generation tool and will replace the existing definitions.
13 lines
376 B
TypeScript
13 lines
376 B
TypeScript
import type { ConfigFile } from '@rtk-query/codegen-openapi'
|
|
|
|
const config: ConfigFile = {
|
|
schemaFile: '../schema/rhsm.json',
|
|
apiFile: '../../src/store/emptyRhsmApi.ts',
|
|
apiImport: 'emptyRhsmApi',
|
|
outputFile: '../../src/store/rhsmApi.ts',
|
|
exportName: 'rhsmApi',
|
|
hooks: true,
|
|
filterEndpoints: ['listActivationKeys', 'showActivationKey'],
|
|
}
|
|
|
|
export default config
|