test/fixtures: Migrate the packages fixture to TypeScript

This migrates the `packages` fixture to TypeScript and adds needed types to `index.ts`
This commit is contained in:
regexowl 2023-07-24 13:31:14 +02:00 committed by Lucas Garfield
parent 9cef49097f
commit e2ffc1705c
7 changed files with 108 additions and 20 deletions

View file

@ -7,7 +7,7 @@ const config: ConfigFile = {
outputFile: '../../src/store/contentSourcesApi.ts',
exportName: 'contentSourcesApi',
hooks: true,
filterEndpoints: ['listRepositories'],
filterEndpoints: ['listRepositories', 'listRepositoriesRpms'],
}
export default config

View file

@ -7,7 +7,7 @@ const config: ConfigFile = {
outputFile: '../../src/store/imageBuilderApi.ts',
exportName: 'imageBuilderApi',
hooks: true,
filterEndpoints: ['getComposes', 'getComposeStatus', 'getComposeClones', 'getCloneStatus', 'getArchitectures'],
filterEndpoints: ['getComposes', 'getComposeStatus', 'getComposeClones', 'getCloneStatus', 'getArchitectures', 'getPackages'],
}
export default config