synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
19 lines (18 loc) • 555 B
TypeScript
export declare enum RestrictableObjectType {
ENTITY = "ENTITY",
EVALUATION = "EVALUATION",
TEAM = "TEAM"
}
export declare type RestrictionInformationRequest = {
restrictableObjectType: RestrictableObjectType;
objectId: string;
};
export declare enum RestrictionLevel {
OPEN = "OPEN",
RESTRICTED_BY_TERMS_OF_USE = "RESTRICTED_BY_TERMS_OF_USE",
CONTROLLED_BY_ACT = "CONTROLLED_BY_ACT"
}
export declare type RestrictionInformationResponse = {
restrictionLevel: RestrictionLevel;
hasUnmetAccessRequirement: boolean;
};