mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
add get and update functionality to project environments change request config
This commit is contained in:
parent
1c71ff8965
commit
394023cd31
18
src/test/fixtures/fake-project-store.ts
vendored
18
src/test/fixtures/fake-project-store.ts
vendored
@ -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.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user