API: generate more RTK query for edge

This commit adds more RTQ query in preparation of porting edge source code to image-builder-frontend
This commit is contained in:
mgold1234 2023-09-05 13:31:32 +03:00 committed by Thomas Lavocat
parent 9fe77c5e67
commit e998dd802b
2 changed files with 468 additions and 3 deletions

View file

@ -7,7 +7,27 @@ const config: ConfigFile = {
outputFile: '../../src/store/edgeApi.ts',
exportName: 'edgeApi',
hooks: true,
filterEndpoints: ['getAllImages', 'getImageStatusByID', 'getImageByID'],
filterEndpoints: [
'createImage',
'createImageUpdate',
'getAllImages',
'getImageStatusByID',
'getImageByID',
'getImageDetailsByID',
'getImageByOstree',
'createInstallerForImage',
'getRepoForImage',
'getMetadataForImage',
'createKickStartForImage',
'checkImageName',
'retryCreateImage',
'listAllImageSets',
'getImageSetsByID',
'getImageSetsView',
'getImageSetViewByID',
'getAllImageSetImagesView',
'getImageSetsDevicesByID',
],
};
export default config;