mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
19 lines
508 B
TypeScript
19 lines
508 B
TypeScript
import User from '../../types/user';
|
|
|
|
export interface IChangeRequestAccessReadModel {
|
|
canBypassChangeRequest(
|
|
project: string,
|
|
environment: string,
|
|
user?: User,
|
|
): Promise<boolean>;
|
|
canBypassChangeRequestForProject(
|
|
project: string,
|
|
user?: User,
|
|
): Promise<boolean>;
|
|
isChangeRequestsEnabled(
|
|
project: string,
|
|
environment: string,
|
|
): Promise<boolean>;
|
|
isChangeRequestsEnabledForProject(project: string): Promise<boolean>;
|
|
}
|