"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AllowedEmailDomainProjectRoles = exports.AllowedEmailDomainsRoles = void 0;
exports.isAllowedEmailDomainsRole = isAllowedEmailDomainsRole;
exports.isAllowedEmailDomainProjectRole = isAllowedEmailDomainProjectRole;
const organizationMemberProfile_1 = require("./organizationMemberProfile");
const projectMemberRole_1 = require("./projectMemberRole");
exports.AllowedEmailDomainsRoles = [
    organizationMemberProfile_1.OrganizationMemberRole.EDITOR,
    organizationMemberProfile_1.OrganizationMemberRole.INTERACTIVE_VIEWER,
    organizationMemberProfile_1.OrganizationMemberRole.VIEWER,
    organizationMemberProfile_1.OrganizationMemberRole.MEMBER,
];
function isAllowedEmailDomainsRole(role) {
    return exports.AllowedEmailDomainsRoles.includes(role);
}
exports.AllowedEmailDomainProjectRoles = [
    projectMemberRole_1.ProjectMemberRole.EDITOR,
    projectMemberRole_1.ProjectMemberRole.INTERACTIVE_VIEWER,
    projectMemberRole_1.ProjectMemberRole.VIEWER,
];
function isAllowedEmailDomainProjectRole(role) {
    return exports.AllowedEmailDomainProjectRoles.includes(role);
}
//# sourceMappingURL=organization.js.map