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.
14 lines
456 B
TypeScript
14 lines
456 B
TypeScript
import type { ConfigFile } from '@rtk-query/codegen-openapi';
|
|
|
|
const config: ConfigFile = {
|
|
schemaFile: '../schema/provisioning.json',
|
|
apiFile: '../../src/store/service/emptyProvisioningApi.ts',
|
|
apiImport: 'emptyProvisioningApi',
|
|
outputFile: '../../src/store/service/provisioningApi.ts',
|
|
exportName: 'provisioningApi',
|
|
hooks: true,
|
|
unionUndefined: true,
|
|
filterEndpoints: ['getSourceList', 'getSourceUploadInfo'],
|
|
};
|
|
|
|
export default config;
|