API: Add programatically generated Content Sources 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
22df78bffa
commit
74528356fa
12 changed files with 2457 additions and 26 deletions
13
api/config/contentSources.ts
Normal file
13
api/config/contentSources.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import type { ConfigFile } from '@rtk-query/codegen-openapi'
|
||||
|
||||
const config: ConfigFile = {
|
||||
schemaFile: '../schema/contentSources.json',
|
||||
apiFile: '../../src/store/emptyContentSourcesApi.ts',
|
||||
apiImport: 'emptyContentSourcesApi',
|
||||
outputFile: '../../src/store/contentSourcesApi.ts',
|
||||
exportName: 'contentSourcesApi',
|
||||
hooks: true,
|
||||
filterEndpoints: ['listRepositories'],
|
||||
}
|
||||
|
||||
export default config
|
||||
2314
api/schema/contentSources.json
Normal file
2314
api/schema/contentSources.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue