api: Add osbuild-composer's cloudapi
This commit is contained in:
parent
76044ddccd
commit
a65d17ba4e
4 changed files with 2538 additions and 0 deletions
17
api/config/composerCloudApi.ts
Normal file
17
api/config/composerCloudApi.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import type { ConfigFile } from '@rtk-query/codegen-openapi';
|
||||
|
||||
const config: ConfigFile = {
|
||||
schemaFile: '../schema/composerCloudApi.v2.yaml',
|
||||
apiFile: '../../src/store/cockpit/emptyComposerCloudApi.ts',
|
||||
apiImport: 'emptyComposerCloudApi',
|
||||
outputFile: '../../src/store/cockpit/composerCloudApi.ts',
|
||||
exportName: 'composerCloudApi',
|
||||
hooks: false,
|
||||
unionUndefined: true,
|
||||
filterEndpoints: [
|
||||
'postCompose',
|
||||
'getComposeStatus',
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
||||
Loading…
Add table
Add a link
Reference in a new issue