import { AccessControlAccessType } from 'wherehows-web/utils/datasets/acl-access'; import { IDropDownOption } from 'wherehows-web/typings/app/dataset-compliance'; /** * Describes the interface for an AccessControlEntry object * @interface IAccessControlEntry */ export interface IAccessControlEntry { principal: string; accessType: Array; businessJustification: string; expiresAt: number | null; } /** * Describes the interface for an AccessControl AccessType dropdown * @interface IAccessControlAccessTypeOption */ export interface IAccessControlAccessTypeOption extends IDropDownOption {} /** * Describes the interface for an IRequestAccessControlEntry object * @interface IRequestAccessControlEntry */ export type IRequestAccessControlEntry = Pick & { expiresAt?: IAccessControlEntry['expiresAt']; accessType: string; }; export type IGetAclsResponse = Array;