synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
33 lines • 1.28 kB
TypeScript
import { RestrictionLevel } from '@sage-bionetworks/synapse-types';
export declare const mockUnmetControlledDataRestrictionInformationACT: {
objectId: number;
restrictionDetails: {
accessRequirementId: number;
isMet: false;
isExempt: false;
isApproved: false;
}[];
restrictionLevel: RestrictionLevel.CONTROLLED_BY_ACT;
hasUnmetAccessRequirement: true;
userEntityPermissions: import("@sage-bionetworks/synapse-types").UserEntityPermissions;
};
export declare const mockUnmetControlledDataRestrictionInformationRestricted: {
objectId: number;
restrictionDetails: {
accessRequirementId: number;
isMet: false;
isExempt: false;
isApproved: false;
}[];
restrictionLevel: RestrictionLevel.RESTRICTED_BY_TERMS_OF_USE;
hasUnmetAccessRequirement: true;
userEntityPermissions: import("@sage-bionetworks/synapse-types").UserEntityPermissions;
};
export declare const mockOpenRestrictionInformation: {
objectId: number;
restrictionDetails: never[];
restrictionLevel: RestrictionLevel.OPEN;
hasUnmetAccessRequirement: false;
userEntityPermissions: import("@sage-bionetworks/synapse-types").UserEntityPermissions;
};
//# sourceMappingURL=mock_has_access_data.d.ts.map