1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/src/lib/features/change-request-access-service/change-request-access-read-model.ts
2023-08-04 12:23:19 +02:00

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>;
}