API: Add programatically generated Provisioning API slice definitions
These definitions were generated using the RTKQ code generation tool and will replace the existing definitions.
This commit is contained in:
parent
74528356fa
commit
702b667dc5
20 changed files with 2020 additions and 89 deletions
13
api/config/provisioning.ts
Normal file
13
api/config/provisioning.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import type { ConfigFile } from '@rtk-query/codegen-openapi'
|
||||
|
||||
const config: ConfigFile = {
|
||||
schemaFile: '../schema/provisioning.json',
|
||||
apiFile: '../../src/store/emptyProvisioningApi.ts',
|
||||
apiImport: 'emptyProvisioningApi',
|
||||
outputFile: '../../src/store/provisioningApi.ts',
|
||||
exportName: 'provisioningApi',
|
||||
hooks: true,
|
||||
filterEndpoints: ['getSourceList', 'getSourceUploadInfo'],
|
||||
}
|
||||
|
||||
export default config
|
||||
1870
api/schema/provisioning.json
Normal file
1870
api/schema/provisioning.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue