API: Add programatically generated Image Builder 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
87b97b830f
commit
1894a9dcb2
10 changed files with 329 additions and 31 deletions
13
api/config/image-builder.ts
Normal file
13
api/config/image-builder.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import type { ConfigFile } from '@rtk-query/codegen-openapi'
|
||||
|
||||
const config: ConfigFile = {
|
||||
schemaFile: '../schema/image-builder.json',
|
||||
apiFile: '../../src/store/emptyImageBuilderApi.ts',
|
||||
apiImport: 'emptyImageBuilderApi',
|
||||
outputFile: '../../src/store/imageBuilderApi.ts',
|
||||
exportName: 'imageBuilderApi',
|
||||
hooks: true,
|
||||
filterEndpoints: ['getComposes', 'getComposeStatus', 'getComposeClones', 'getCloneStatus', 'getArchitectures'],
|
||||
}
|
||||
|
||||
export default config
|
||||
Loading…
Add table
Add a link
Reference in a new issue