From 1366258fdab551659e031858ddb403d41185e9d9 Mon Sep 17 00:00:00 2001
From: WojciechGrancow <116577704+WojciechGrancow@users.noreply.github.com>
Date: Wed, 8 Nov 2023 11:28:44 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20hpi-schu?=
=?UTF-8?q?l-cloud/schulcloud-server@e82f2d768ef2fa541205cb5cd25ee27804a0c?=
=?UTF-8?q?68f=20=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
classes/RocketChatUser.html | 504 ++
classes/RocketChatUserFactory.html | 1328 ++++
classes/RocketChatUserMapper.html | 366 +
coverage.html | 122 +-
entities/RocketChatUserEntity.html | 406 ++
graph/dependencies.svg | 6166 ++++++++--------
injectables/DeletionRequestUc.html | 181 +-
injectables/RocketChatUserRepo.html | 454 ++
injectables/RocketChatUserService.html | 401 ++
interfaces/RocketChatUserEntityProps.html | 530 ++
interfaces/RocketChatUserProps.html | 472 ++
js/menu-wc.js | 41 +
js/menu-wc_es5.js | 2 +-
js/search/search_index.js | 4 +-
miscellaneous/enumerations.html | 10 +
miscellaneous/variables.html | 78 +
modules.html | 17 +
modules/AccountModule.html | 120 +-
modules/AccountModule/dependencies.svg | 120 +-
modules/AuthenticationModule.html | 8 +-
modules/AuthenticationModule/dependencies.svg | 8 +-
modules/AuthorizationModule.html | 200 +-
modules/AuthorizationModule/dependencies.svg | 200 +-
modules/AuthorizationReferenceModule.html | 138 +-
.../dependencies.svg | 138 +-
modules/BoardApiModule.html | 70 +-
modules/BoardApiModule/dependencies.svg | 70 +-
modules/BoardModule.html | 232 +-
modules/BoardModule/dependencies.svg | 232 +-
modules/ClassModule.html | 8 +-
modules/ClassModule/dependencies.svg | 8 +-
.../CollaborativeStorageAdapterModule.html | 96 +-
.../dependencies.svg | 96 +-
modules/CollaborativeStorageModule.html | 8 +-
.../dependencies.svg | 8 +-
modules/CommonToolModule.html | 8 +-
modules/CommonToolModule/dependencies.svg | 8 +-
modules/ContextExternalToolModule.html | 114 +-
.../dependencies.svg | 114 +-
modules/CopyHelperModule.html | 8 +-
modules/CopyHelperModule/dependencies.svg | 8 +-
modules/CoreModule.html | 8 +-
modules/CoreModule/dependencies.svg | 8 +-
modules/FeathersModule.html | 8 +-
modules/FeathersModule/dependencies.svg | 8 +-
modules/FilesStorageAMQPModule.html | 46 +-
.../FilesStorageAMQPModule/dependencies.svg | 46 +-
modules/FilesStorageClientModule.html | 72 +-
.../FilesStorageClientModule/dependencies.svg | 72 +-
modules/FilesStorageModule.html | 8 +-
modules/FilesStorageModule/dependencies.svg | 8 +-
modules/FwuLearningContentsTestModule.html | 78 +-
.../dependencies.svg | 78 +-
modules/GroupApiModule.html | 78 +-
modules/GroupApiModule/dependencies.svg | 78 +-
modules/H5PEditorModule.html | 126 +-
modules/H5PEditorModule/dependencies.svg | 126 +-
modules/KeycloakConfigurationModule.html | 114 +-
.../dependencies.svg | 114 +-
modules/LearnroomApiModule.html | 166 +-
modules/LearnroomApiModule/dependencies.svg | 166 +-
modules/LearnroomModule.html | 8 +-
modules/LearnroomModule/dependencies.svg | 8 +-
modules/LegacySchoolApiModule.html | 62 +-
.../LegacySchoolApiModule/dependencies.svg | 62 +-
modules/LegacySchoolModule.html | 8 +-
modules/LegacySchoolModule/dependencies.svg | 8 +-
modules/LessonApiModule.html | 38 +-
modules/LessonApiModule/dependencies.svg | 38 +-
modules/LessonModule.html | 114 +-
modules/LessonModule/dependencies.svg | 114 +-
modules/LoggerModule.html | 8 +-
modules/LoggerModule/dependencies.svg | 8 +-
modules/LtiToolModule.html | 8 +-
modules/LtiToolModule/dependencies.svg | 8 +-
modules/MetaTagExtractorApiModule.html | 38 +-
.../dependencies.svg | 38 +-
modules/MetaTagExtractorModule.html | 64 +-
.../MetaTagExtractorModule/dependencies.svg | 64 +-
modules/OauthModule.html | 136 +-
modules/OauthModule/dependencies.svg | 136 +-
modules/OauthProviderApiModule.html | 110 +-
.../OauthProviderApiModule/dependencies.svg | 110 +-
modules/OauthProviderModule.html | 8 +-
modules/OauthProviderModule/dependencies.svg | 8 +-
modules/PreviewGeneratorProducerModule.html | 50 +-
.../dependencies.svg | 50 +-
modules/ProvisioningModule.html | 8 +-
modules/ProvisioningModule/dependencies.svg | 8 +-
modules/RocketChatUserModule.html | 282 +
modules/RocketChatUserModule/dependencies.svg | 78 +
modules/SchoolExternalToolModule.html | 8 +-
.../SchoolExternalToolModule/dependencies.svg | 8 +-
modules/SharingModule.html | 96 +-
modules/SharingModule/dependencies.svg | 96 +-
modules/SystemApiModule.html | 26 +-
modules/SystemApiModule/dependencies.svg | 26 +-
modules/SystemModule.html | 8 +-
modules/SystemModule/dependencies.svg | 8 +-
modules/TaskApiModule.html | 86 +-
modules/TaskApiModule/dependencies.svg | 86 +-
modules/TaskModule.html | 112 +-
modules/TaskModule/dependencies.svg | 112 +-
modules/ToolApiModule.html | 190 +-
modules/ToolApiModule/dependencies.svg | 190 +-
modules/ToolLaunchModule.html | 8 +-
modules/ToolLaunchModule/dependencies.svg | 8 +-
modules/ToolModule.html | 104 +-
modules/ToolModule/dependencies.svg | 104 +-
modules/UserLoginMigrationApiModule.html | 118 +-
.../dependencies.svg | 118 +-
modules/UserLoginMigrationModule.html | 144 +-
.../UserLoginMigrationModule/dependencies.svg | 144 +-
modules/UserModule.html | 90 +-
modules/UserModule/dependencies.svg | 90 +-
modules/VideoConferenceApiModule.html | 70 +-
.../VideoConferenceApiModule/dependencies.svg | 70 +-
modules/VideoConferenceModule.html | 140 +-
.../VideoConferenceModule/dependencies.svg | 140 +-
overview.html | 6176 +++++++++--------
120 files changed, 15038 insertions(+), 9728 deletions(-)
create mode 100644 classes/RocketChatUser.html
create mode 100644 classes/RocketChatUserFactory.html
create mode 100644 classes/RocketChatUserMapper.html
create mode 100644 entities/RocketChatUserEntity.html
create mode 100644 injectables/RocketChatUserRepo.html
create mode 100644 injectables/RocketChatUserService.html
create mode 100644 interfaces/RocketChatUserEntityProps.html
create mode 100644 interfaces/RocketChatUserProps.html
create mode 100644 modules/RocketChatUserModule.html
create mode 100644 modules/RocketChatUserModule/dependencies.svg
diff --git a/classes/RocketChatUser.html b/classes/RocketChatUser.html
new file mode 100644
index 00000000000..d33726a6166
--- /dev/null
+++ b/classes/RocketChatUser.html
@@ -0,0 +1,504 @@
+
+
+
+
+
+ schulcloud-server documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Classes
+ - RocketChatUser
+
+
+
+
+
+
+
File
+
+
+
+
+
+
Extends
+
+
+
+
+
+
+ Index
+
+
+
+
+ Properties
+ |
+
+
+
+
+ -
+ Protected
+ props
+
+
+ |
+
+
+
+
+ Methods
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+ Accessors
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Protected
+ props
+
+
+ |
+
+
+
+ Type : T
+
+ |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+
+ Public
+ getProps
+
+
+ |
+
+
+
+
+ getProps()
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+ Returns : T
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+ Accessors
+
+
+
+
+
+
+ userId
+ |
+
+
+
+
+ getuserId()
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ username
+ |
+
+
+
+
+ getusername()
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ rcId
+ |
+
+
+
+
+ getrcId()
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ authToken
+ |
+
+
+
+
+ getauthToken()
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ createdAt
+ |
+
+
+
+
+ getcreatedAt()
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ updatedAt
+ |
+
+
+
+
+ getupdatedAt()
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
import { EntityId } from '@shared/domain/types';
+import { AuthorizableObject, DomainObject } from '@shared/domain/domain-object';
+
+export interface RocketChatUserProps extends AuthorizableObject {
+ userId: EntityId;
+ username: string;
+ rcId: string;
+ authToken?: string;
+ createdAt?: Date;
+ updatedAt?: Date;
+}
+
+export class RocketChatUser extends DomainObject<RocketChatUserProps> {
+ get userId(): EntityId {
+ return this.props.userId;
+ }
+
+ get username(): string {
+ return this.props.username;
+ }
+
+ get rcId(): string {
+ return this.props.rcId;
+ }
+
+ get authToken(): string | undefined {
+ return this.props.authToken;
+ }
+
+ get createdAt(): Date | undefined {
+ return this.props.createdAt;
+ }
+
+ get updatedAt(): Date | undefined {
+ return this.props.updatedAt;
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/classes/RocketChatUserFactory.html b/classes/RocketChatUserFactory.html
new file mode 100644
index 00000000000..fbcb869d7f1
--- /dev/null
+++ b/classes/RocketChatUserFactory.html
@@ -0,0 +1,1328 @@
+
+
+
+
+
+ schulcloud-server documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Classes
+ - RocketChatUserFactory
+
+
+
+
+
+
+
File
+
+
+
+
+
+
Extends
+
+
+
+
+
+
+ Index
+
+
+
+
+ Properties
+ |
+
+
+
+
+ |
+
+
+
+
+ Methods
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Protected
+ Readonly
+ propsFactory
+
+
+ |
+
+
+
+ Type : Factory<U | I | C>
+
+ |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+
+ afterBuild
+
+
+ |
+
+
+
+afterBuild(afterBuildFn: HookFn)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+ Extend the factory by adding a function to be called after an object is built.
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+ Description |
+
+
+
+
+ afterBuildFn |
+
+ HookFn<U>
+ |
+
+
+ No
+ |
+
+
+
+
+- the function to call. It accepts your object of type T. The value this function returns gets returned from "build"
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ associations
+
+
+ |
+
+
+
+associations(associations: Partial)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+ Extend the factory by adding default associations to be passed to the factory when "build" is called
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+
+
+
+
+ associations |
+
+ Partial<U>
+ |
+
+
+ No
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ build
+
+
+ |
+
+
+
+build(params?: DeepPartial, options: BuildOptions<U | I>)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+ Build an entity using your factory
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+ Default value |
+
+
+
+
+ params |
+
+ DeepPartial<U>
+ |
+
+
+ Yes
+ |
+
+
+ |
+
+
+
+ options |
+
+ BuildOptions<U | I>
+ |
+
+
+ No
+ |
+
+
+ {}
+ |
+
+
+
+
+
+
+ Returns : T
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ buildList
+
+
+ |
+
+
+
+buildList(number: number, params?: DeepPartial, options: BuildOptions<U | I>)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+ Build a list of entities using your factory
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+ Default value |
+
+
+
+
+ number |
+
+ number
+ |
+
+
+ No
+ |
+
+
+ |
+
+
+
+ params |
+
+ DeepPartial<U>
+ |
+
+
+ Yes
+ |
+
+
+ |
+
+
+
+ options |
+
+ BuildOptions<U | I>
+ |
+
+
+ No
+ |
+
+
+ {}
+ |
+
+
+
+
+
+
+ Returns : T[]
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ buildListWithId
+
+
+ |
+
+
+
+buildListWithId(number: number, params?: DeepPartial, options: BuildOptions<U | I>)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+ Default value |
+
+
+
+
+ number |
+
+ number
+ |
+
+
+ No
+ |
+
+
+ |
+
+
+
+ params |
+
+ DeepPartial<U>
+ |
+
+
+ Yes
+ |
+
+
+ |
+
+
+
+ options |
+
+ BuildOptions<U | I>
+ |
+
+
+ No
+ |
+
+
+ {}
+ |
+
+
+
+
+
+
+ Returns : T[]
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ buildWithId
+
+
+ |
+
+
+
+buildWithId(params?: DeepPartial, id?: string, options: BuildOptions<U | I>)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+ Build an entity using your factory and generate a id for it.
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+ Default value |
+
+
+
+
+ params |
+
+ DeepPartial<U>
+ |
+
+
+ Yes
+ |
+
+
+ |
+
+
+
+ id |
+
+ string
+ |
+
+
+ Yes
+ |
+
+
+ |
+
+
+
+ options |
+
+ BuildOptions<U | I>
+ |
+
+
+ No
+ |
+
+
+ {}
+ |
+
+
+
+
+
+
+ Returns : T
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ Protected
+ clone
+
+
+ |
+
+
+
+
+ clone(this: F, propsFactory: Factory)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+ Type parameters :
+
+ |
+
+
+
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+
+
+
+
+ this |
+
+ F
+ |
+
+
+ No
+ |
+
+
+
+
+ propsFactory |
+
+ Factory<U | I | C>
+ |
+
+
+ No
+ |
+
+
+
+
+
+
+
+ Returns : F
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ Static
+ define
+
+
+ |
+
+
+
+
+ define(this, EntityClass: literal type, generator: GeneratorFn)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+ Type parameters :
+
+ |
+
+
+
+
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+ Description |
+
+
+
+
+ this |
+
+ |
+
+
+ No
+ |
+
+
+
+ |
+
+
+ EntityClass |
+
+ literal type
+ |
+
+
+ No
+ |
+
+
+
+ The constructor of the entity to be built.
+
+ |
+
+
+ generator |
+
+ GeneratorFn<U | I | C>
+ |
+
+
+ No
+ |
+
+
+
+ Your factory function - see Factory.define() in thoughtbot/fishery
+
+ |
+
+
+
+
+
+ Returns : F
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ params
+
+
+ |
+
+
+
+params(params: DeepPartial)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+ Extend the factory by adding default parameters to be passed to the factory when "build" is called
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+
+
+
+
+ params |
+
+ DeepPartial<U>
+ |
+
+
+ No
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ rewindSequence
+
+
+ |
+
+
+
+rewindSequence()
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+ Set sequence back to its default value
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ Protected
+ sequence
+
+
+ |
+
+
+
+
+ sequence()
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+ Get the next sequence value
+
+
+
+
+ the next sequence value
+
+
+ |
+
+
+
+
+
+
+
+
+
+ transient
+
+
+ |
+
+
+
+transient(transient: Partial)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+ Extend the factory by adding default transient parameters to be passed to the factory when "build" is called
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+ Description |
+
+
+
+
+ transient |
+
+ Partial<I>
+ |
+
+
+ No
+ |
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
import { ObjectId } from '@mikro-orm/mongodb';
+import { BaseFactory } from '@shared/testing';
+import { RocketChatUserEntity, RocketChatUserEntityProps } from '../rocket-chat-user.entity';
+
+class RocketChatUserFactory extends BaseFactory<RocketChatUserEntity, RocketChatUserEntityProps> {}
+
+export const rocketChatUserEntityFactory = RocketChatUserFactory.define<
+ RocketChatUserEntity,
+ RocketChatUserEntityProps
+>(RocketChatUserEntity, ({ sequence }) => {
+ return {
+ id: new ObjectId().toHexString(),
+ userId: new ObjectId(),
+ username: `username-${sequence}`,
+ rcId: `rcId-${sequence}`,
+ authToken: `aythToken-${sequence}`,
+ createdAt: new Date(),
+ updatedAt: new Date(),
+ };
+});
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/classes/RocketChatUserMapper.html b/classes/RocketChatUserMapper.html
new file mode 100644
index 00000000000..217739aad2e
--- /dev/null
+++ b/classes/RocketChatUserMapper.html
@@ -0,0 +1,366 @@
+
+
+
+
+
+ schulcloud-server documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Classes
+ - RocketChatUserMapper
+
+
+
+
+
+
+
File
+
+
+
+
+
+
+
+
+
+ Index
+
+
+
+
+
+ Methods
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+
+ Static
+ mapToDO
+
+
+ |
+
+
+
+
+ mapToDO(entity: RocketChatUserEntity)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ Static
+ mapToEntity
+
+
+ |
+
+
+
+
+ mapToEntity(domainObject: RocketChatUser)
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+ Parameters :
+
+
+
+
+ Name |
+ Type |
+ Optional |
+
+
+
+
+ domainObject |
+
+ RocketChatUser
+ |
+
+
+ No
+ |
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
import { ObjectId } from '@mikro-orm/mongodb';
+import { RocketChatUserEntity } from '../../entity';
+import { RocketChatUser } from '../../domain/rocket-chat-user.do';
+
+export class RocketChatUserMapper {
+ static mapToDO(entity: RocketChatUserEntity): RocketChatUser {
+ return new RocketChatUser({
+ id: entity.id,
+ userId: entity.userId.toHexString(),
+ username: entity.username,
+ rcId: entity.rcId,
+ authToken: entity.authToken,
+ createdAt: entity.createdAt,
+ updatedAt: entity.updatedAt,
+ });
+ }
+
+ static mapToEntity(domainObject: RocketChatUser): RocketChatUserEntity {
+ return new RocketChatUserEntity({
+ id: domainObject.id,
+ userId: new ObjectId(domainObject.userId),
+ username: domainObject.username,
+ rcId: domainObject.rcId,
+ authToken: domainObject.authToken,
+ createdAt: domainObject.createdAt,
+ updatedAt: domainObject.updatedAt,
+ });
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/coverage.html b/coverage.html
index 28f9e76e484..10ba80c1626 100644
--- a/coverage.html
+++ b/coverage.html
@@ -4948,7 +4948,7 @@
DeletionRequestUc |
0 %
- (0/17)
+ (0/18)
|
@@ -10483,6 +10483,126 @@
(0/3)
+
+
+
+ apps/server/src/modules/rocketchat-user/domain/rocket-chat-user.do.ts
+ |
+ class |
+ RocketChatUser |
+
+ 0 %
+ (0/3)
+ |
+
+
+
+
+ apps/server/src/modules/rocketchat-user/domain/rocket-chat-user.do.ts
+ |
+ interface |
+ RocketChatUserProps |
+
+ 0 %
+ (0/7)
+ |
+
+
+
+
+ apps/server/src/modules/rocketchat-user/domain/testing/rocket-chat-user.factory.ts
+ |
+ variable |
+ rocketChatUserFactory |
+
+ 0 %
+ (0/1)
+ |
+
+
+
+
+ apps/server/src/modules/rocketchat-user/entity/rocket-chat-user.entity.ts
+ |
+ entity |
+ RocketChatUserEntity |
+
+ 0 %
+ (0/1)
+ |
+
+
+
+
+ apps/server/src/modules/rocketchat-user/entity/rocket-chat-user.entity.ts
+ |
+ interface |
+ RocketChatUserEntityProps |
+
+ 0 %
+ (0/8)
+ |
+
+
+
+
+ apps/server/src/modules/rocketchat-user/entity/testing/rocket-chat-user.entity.factory.ts
+ |
+ class |
+ RocketChatUserFactory |
+
+ 71 %
+ (10/14)
+ |
+
+
+
+
+ apps/server/src/modules/rocketchat-user/entity/testing/rocket-chat-user.entity.factory.ts
+ |
+ variable |
+ rocketChatUserEntityFactory |
+
+ 0 %
+ (0/1)
+ |
+
+
+
+
+ apps/server/src/modules/rocketchat-user/repo/mapper/rocket-chat-user.mapper.ts
+ |
+ class |
+ RocketChatUserMapper |
+
+ 0 %
+ (0/3)
+ |
+
+
+
+
+ apps/server/src/modules/rocketchat-user/repo/rocket-chat-user.repo.ts
+ |
+ injectable |
+ RocketChatUserRepo |
+
+ 0 %
+ (0/4)
+ |
+
+
+
+
+ apps/server/src/modules/rocketchat-user/service/rocket-chat-user.service.ts
+ |
+ injectable |
+ RocketChatUserService |
+
+ 0 %
+ (0/4)
+ |
+
diff --git a/entities/RocketChatUserEntity.html b/entities/RocketChatUserEntity.html
new file mode 100644
index 00000000000..128fd42326b
--- /dev/null
+++ b/entities/RocketChatUserEntity.html
@@ -0,0 +1,406 @@
+
+
+
+
+
+ schulcloud-server documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Entities
+ - RocketChatUserEntity
+
+
+
+
+
+
+ File
+
+
+
+
+
+
+
+ Index
+
+
+
+
+ Properties
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Optional
+ authToken
+
+
+ |
+
+
+
+ Type : string
+
+ |
+
+
+
+ Decorators :
+
+
+ @Property({nullable: true})
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ rcId
+
+
+ |
+
+
+
+ Type : string
+
+ |
+
+
+
+ Decorators :
+
+
+ @Property() @Index()
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ userId
+
+
+ |
+
+
+
+ Type : ObjectId
+
+ |
+
+
+
+ Decorators :
+
+
+ @Property() @Unique()
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ username
+
+
+ |
+
+
+
+ Type : string
+
+ |
+
+
+
+ Decorators :
+
+
+ @Property() @Unique()
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+ import { Entity, Index, Property, Unique } from '@mikro-orm/core';
+import { ObjectId } from '@mikro-orm/mongodb';
+import { BaseEntityWithTimestamps } from '@shared/domain/entity/base.entity';
+import { EntityId } from '@shared/domain';
+
+export interface RocketChatUserEntityProps {
+ id?: EntityId;
+ userId: ObjectId;
+ username: string;
+ rcId: string;
+ authToken?: string;
+ createdAt?: Date;
+ updatedAt?: Date;
+}
+
+@Entity({ tableName: 'rocketchatuser' })
+export class RocketChatUserEntity extends BaseEntityWithTimestamps {
+ @Property()
+ @Unique()
+ username: string;
+
+ @Property()
+ @Unique()
+ userId: ObjectId;
+
+ @Property()
+ @Index()
+ rcId: string;
+
+ @Property({ nullable: true })
+ authToken?: string;
+
+ constructor(props: RocketChatUserEntityProps) {
+ super();
+
+ if (props.id !== undefined) {
+ this.id = props.id;
+ }
+
+ this.userId = props.userId;
+ this.username = props.username;
+ this.rcId = props.rcId;
+
+ if (props.authToken !== undefined) {
+ this.authToken = props.authToken;
+ }
+
+ if (props.createdAt !== undefined) {
+ this.createdAt = props.createdAt;
+ }
+
+ if (props.updatedAt !== undefined) {
+ this.updatedAt = props.updatedAt;
+ }
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ results matching ""
+
+
+
+ No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/graph/dependencies.svg b/graph/dependencies.svg
index b94e0ae1d1b..f55edabae4f 100644
--- a/graph/dependencies.svg
+++ b/graph/dependencies.svg
@@ -4,8205 +4,8259 @@
- |