1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

add get and update functionality to project environments change request config

This commit is contained in:
andreas-unleash 2022-11-10 10:37:52 +02:00
parent 1c71ff8965
commit 394023cd31

View File

@ -1,7 +1,9 @@
import { import {
IProjectEnvironmentConfig,
IProjectHealthUpdate, IProjectHealthUpdate,
IProjectInsert, IProjectInsert,
IProjectStore, IProjectStore,
IUpdateProjectEnvironmentConfig,
} from '../../lib/types/stores/project-store'; } from '../../lib/types/stores/project-store';
import { import {
IEnvironment, IEnvironment,
@ -150,4 +152,20 @@ export default class FakeProjectStore implements IProjectStore {
): Promise<void> { ): Promise<void> {
throw new Error('Method not implemented.'); throw new Error('Method not implemented.');
} }
getChangeRequestConfigForProject(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
id: string,
): Promise<IProjectEnvironmentConfig[]> {
throw new Error('Method not implemented.');
}
updateProjectEnvironmentConfig(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
id: string,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
data: IUpdateProjectEnvironmentConfig,
): Promise<void> {
throw new Error('Method not implemented.');
}
} }