-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4609 from alkem-io/conflict
[v0.93.0] Roles API, Unauthenticated Explore page (Merge conflict fix)
- Loading branch information
Showing
186 changed files
with
8,598 additions
and
3,840 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum AuthenticationType { | ||
LINKEDIN = 'linkedin', | ||
MICROSOFT = 'microsoft', | ||
EMAIL = 'email', | ||
UNKNOWN = 'unknown', | ||
} | ||
|
||
registerEnumType(AuthenticationType, { | ||
name: 'AuthenticationType', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum CommunityRole { | ||
export enum CommunityRoleType { | ||
MEMBER = 'member', | ||
LEAD = 'lead', | ||
ADMIN = 'admin', | ||
} | ||
|
||
registerEnumType(CommunityRole, { | ||
name: 'CommunityRole', | ||
registerEnumType(CommunityRoleType, { | ||
name: 'CommunityRoleType', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...eptions/community.invitation.exception.ts → ...ceptions/role.set.invitation.exception.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { LogContext, AlkemioErrorStatus } from '@common/enums'; | ||
import { BaseException } from './base.exception'; | ||
|
||
export class CommunityInvitationException extends BaseException { | ||
export class RoleSetInvitationException extends BaseException { | ||
constructor(error: string, context: LogContext, code?: AlkemioErrorStatus) { | ||
super(error, context, code ?? AlkemioErrorStatus.COMMUNITY_INVITATION); | ||
super(error, context, code ?? AlkemioErrorStatus.ROLE_SET_INVITATION); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...eptions/community.membership.exception.ts → ...ceptions/role.set.membership.exception.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { LogContext, AlkemioErrorStatus } from '@common/enums'; | ||
import { BaseException } from './base.exception'; | ||
|
||
export class CommunityMembershipException extends BaseException { | ||
export class RoleSetMembershipException extends BaseException { | ||
constructor(error: string, context: LogContext, code?: AlkemioErrorStatus) { | ||
super(error, context, code ?? AlkemioErrorStatus.COMMUNITY_MEMBERSHIP); | ||
super(error, context, code ?? AlkemioErrorStatus.ROLE_SET_MEMBERSHIP); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...community.policy.role.limits.exception.ts → .../role.set.policy.role.limits.exception.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { LogContext, AlkemioErrorStatus } from '@common/enums'; | ||
import { BaseException } from './base.exception'; | ||
|
||
export class CommunityPolicyRoleLimitsException extends BaseException { | ||
export class RoleSetPolicyRoleLimitsException extends BaseException { | ||
constructor(error: string, context: LogContext, code?: AlkemioErrorStatus) { | ||
super( | ||
error, | ||
context, | ||
code ?? AlkemioErrorStatus.COMMUNITY_POLICY_ROLE_LIMITS_VIOLATED | ||
code ?? AlkemioErrorStatus.ROLE_SET_POLICY_ROLE_LIMITS_VIOLATED | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.