Source

types/auth/enums.js

/**
 * User role enumeration - matches Auth Service definition
 * Only admin and SME (Subject Matter Expert) roles are supported
 * @category Types
 * @enum {string}
 */
export var UserRole;
(function (UserRole) {
    UserRole["ADMIN"] = "admin";
    UserRole["SME"] = "sme";
})(UserRole || (UserRole = {}));
/**
 * Proto UserRole enum values for gRPC communication with Auth Service
 * @category Types
 * @enum {number}
 */
export var ProtoUserRole;
(function (ProtoUserRole) {
    ProtoUserRole[ProtoUserRole["USER_ROLE_UNSPECIFIED"] = 0] = "USER_ROLE_UNSPECIFIED";
    ProtoUserRole[ProtoUserRole["USER_ROLE_ADMIN"] = 1] = "USER_ROLE_ADMIN";
    ProtoUserRole[ProtoUserRole["USER_ROLE_SME"] = 2] = "USER_ROLE_SME";
})(ProtoUserRole || (ProtoUserRole = {}));