-
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 #4134 from alkem-io/develop
Release: AI Services, Forum, Invitations
- Loading branch information
Showing
311 changed files
with
6,218 additions
and
2,565 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
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,8 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
export enum AiPersonaBodyOfKnowledgeType { | ||
ALKEMIO_SPACE = 'space', // TODO: rename to alkemio-space as value | ||
OTHER = 'other', | ||
} | ||
registerEnumType(AiPersonaBodyOfKnowledgeType, { | ||
name: 'AiPersonaBodyOfKnowledgeType', | ||
}); |
6 changes: 3 additions & 3 deletions
6
...mmon/enums/virtual.persona.access.mode.ts → ...mmon/enums/ai.persona.data.access.mode.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,11 +1,11 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum VirtualPersonaAccessMode { | ||
export enum AiPersonaDataAccessMode { | ||
NONE = 'none', | ||
SPACE_PROFILE = 'space_profile', | ||
SPACE_PROFILE_AND_CONTENTS = 'space_profile_and_contents', | ||
} | ||
|
||
registerEnumType(VirtualPersonaAccessMode, { | ||
name: 'VirtualPersonaAccessMode', | ||
registerEnumType(AiPersonaDataAccessMode, { | ||
name: 'AiPersonaDataAccessMode', | ||
}); |
6 changes: 3 additions & 3 deletions
6
...ommon/enums/virtual.contributor.engine.ts → src/common/enums/ai.persona.engine.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,11 +1,11 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum VirtualContributorEngine { | ||
export enum AiPersonaEngine { | ||
GUIDANCE = 'guidance', | ||
EXPERT = 'expert', | ||
COMMUNITY_MANAGER = 'community-manager', | ||
} | ||
|
||
registerEnumType(VirtualContributorEngine, { | ||
name: 'VirtualContributorEngine', | ||
registerEnumType(AiPersonaEngine, { | ||
name: 'AiPersonaEngine', | ||
}); |
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,9 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum AiPersonaInteractionMode { | ||
DISCUSSION_TAGGING = 'discussion-tagging', | ||
} | ||
|
||
registerEnumType(AiPersonaInteractionMode, { | ||
name: 'AiPersonaInteractionMode', | ||
}); |
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,9 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum AiServerAuthorizationPrivilege { | ||
AI_SERVER_ADMIN = 'ai-server-admin', | ||
} | ||
|
||
registerEnumType(AiServerAuthorizationPrivilege, { | ||
name: 'AiServerAuthorizationPrivilege', | ||
}); |
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,10 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum AiServerRole { | ||
GLOBAL_ADMIN = 'global-admin', | ||
SUPPORT = 'support', | ||
} | ||
|
||
registerEnumType(AiServerRole, { | ||
name: 'AiServerRole', | ||
}); |
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
13 changes: 0 additions & 13 deletions
13
src/common/enums/communication.discussion.category.community.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum CommunityContributorType { | ||
USER = 'user', | ||
ORGANIZATION = 'organization', | ||
VIRTUAL = 'virtual', | ||
} | ||
|
||
registerEnumType(CommunityContributorType, { | ||
name: 'CommunityContributorType', | ||
}); |
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,11 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum ForumDiscussionPrivacy { | ||
AUTHOR = 'author', | ||
AUTHENTICATED = 'authenticated', | ||
PUBLIC = 'public', | ||
} | ||
|
||
registerEnumType(ForumDiscussionPrivacy, { | ||
name: 'ForumDiscussionPrivacy', | ||
}); |
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum LicensePlanType { | ||
SPACE_PLAN = 'space-plan', | ||
SPACE_FEATURE_FLAG = 'space-feature-flag', | ||
} | ||
|
||
registerEnumType(LicensePlanType, { | ||
name: 'LicensePlanType', | ||
}); |
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
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,11 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum SearchVisibility { | ||
HIDDEN = 'hidden', // only shows up when directly accessed e.g. by provider | ||
ACCOUNT = 'account', // only shows up on searches within the scope of an account | ||
PUBLIC = 'public', // shows up globally | ||
} | ||
|
||
registerEnumType(SearchVisibility, { | ||
name: 'SearchVisibility', | ||
}); |
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,5 +1,11 @@ | ||
import { registerEnumType } from '@nestjs/graphql'; | ||
|
||
export enum SpaceLevel { | ||
SPACE = 0, | ||
CHALLENGE = 1, | ||
OPPORTUNITY = 2, | ||
} | ||
|
||
registerEnumType(SpaceLevel, { | ||
name: 'SpaceLevel', | ||
}); |
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
8 changes: 0 additions & 8 deletions
8
src/common/enums/virtual.contributor.body.of.knowledge.type.ts
This file was deleted.
Oops, something went wrong.
8 changes: 2 additions & 6 deletions
8
...nication.discussion.category.exception.ts → ...ns/forum.discussion.category.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,8 @@ | ||
import { LogContext, AlkemioErrorStatus } from '@common/enums'; | ||
import { BaseException } from './base.exception'; | ||
|
||
export class CommunicationDiscussionCategoryException extends BaseException { | ||
export class ForumDiscussionCategoryException extends BaseException { | ||
constructor(error: string, context: LogContext, code?: AlkemioErrorStatus) { | ||
super( | ||
error, | ||
context, | ||
code ?? AlkemioErrorStatus.COMMUNICATION_DISCUSSION_CATEGORY | ||
); | ||
super(error, context, code ?? AlkemioErrorStatus.FORUM_DISCUSSION_CATEGORY); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.