-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
64 changed files
with
260 additions
and
84 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...src/core/interfaces/core-module-config.ts → apps/server/src/core/core.config.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,4 +1,4 @@ | ||
import { InterceptorConfig } from '@shared/common'; | ||
import { LoggerConfig } from '../logger'; | ||
import { LoggerConfig } from './logger'; | ||
|
||
export interface CoreModuleConfig extends InterceptorConfig, LoggerConfig {} |
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,3 +1,3 @@ | ||
export { CoreModule } from './core.module'; | ||
export { DomainErrorHandler } from './error'; | ||
export * from './interfaces'; | ||
export { CoreModuleConfig } from './core.config'; |
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
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,3 +1,2 @@ | ||
export * from './logger-config'; | ||
export * from './legacy-logger.interface'; | ||
export * from './loggable'; |
2 changes: 1 addition & 1 deletion
2
...c/core/logger/interfaces/logger-config.ts → apps/server/src/core/logger/logger.config.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,4 +1,4 @@ | ||
export interface LoggerConfig { | ||
NEST_LOG_LEVEL: string; | ||
EXIT_ON_ERROR?: boolean; | ||
EXIT_ON_ERROR: boolean; | ||
} |
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,6 @@ | ||
export interface AuthGuardConfig { | ||
ADMIN_API__ALLOWED_API_KEYS: string[]; | ||
JWT_AUD: string; | ||
JWT_LIFETIME: string; | ||
AUTHENTICATION: string; | ||
} |
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,3 @@ | ||
import { LoggerConfig } from '@src/core/logger'; | ||
|
||
export interface CalendarConfig extends LoggerConfig {} |
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,3 +1,4 @@ | ||
export * from './calendar.module'; | ||
export { CalendarModule } from './calendar.module'; | ||
export * from './service/calendar.service'; | ||
export * from './dto/calendar-event.dto'; | ||
export { CalendarConfig } from './calendar.config'; |
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
3 changes: 3 additions & 0 deletions
3
apps/server/src/modules/authorization/authorization.config.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { LoggerConfig } from '@src/core/logger'; | ||
|
||
export interface AuthorizationConfig extends LoggerConfig {} |
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,2 @@ | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
export interface ClassConfig {} |
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,3 +1,4 @@ | ||
export * from './class.module'; | ||
export { ClassModule } from './class.module'; | ||
export * from './domain'; | ||
export * from './service'; | ||
export { ClassConfig } from './class.config'; | ||
export { ClassService } from './service'; |
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,24 @@ | ||
import { LoggerConfig } from '@src/core/logger'; | ||
import { CalendarConfig } from '@src/infra/calendar'; | ||
import { ClassConfig } from '@modules/class'; | ||
import { XApiKeyConfig } from '@infra/auth-guard'; | ||
import { NewsConfig } from '@modules/news'; | ||
import { TeamsConfig } from '@modules/teams'; | ||
import { PseudonymConfig } from '@modules/pseudonym'; | ||
import { FilesConfig } from '@modules/files'; | ||
import { RocketChatUserConfig } from '@modules/rocketchat-user'; | ||
|
||
export interface DeletionConfig | ||
extends LoggerConfig, | ||
CalendarConfig, | ||
ClassConfig, | ||
NewsConfig, | ||
TeamsConfig, | ||
PseudonymConfig, | ||
FilesConfig, | ||
RocketChatUserConfig, | ||
XApiKeyConfig { | ||
ADMIN_API__MODIFICATION_THRESHOLD_MS: number; | ||
ADMIN_API__MAX_CONCURRENT_DELETION_REQUESTS: number; | ||
ADMIN_API__DELETION_DELAY_MILLISECONDS: number; | ||
} |
5 changes: 0 additions & 5 deletions
5
apps/server/src/modules/deletion/domain/interface/deletion-config.ts
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
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,9 +1,9 @@ | ||
export { DeletionModule } from './deletion.module'; | ||
export { DeletionConfig } from './deletion.config'; | ||
export { DataDeletedEvent, UserDeletedEvent } from './domain/event'; | ||
export { DomainDeletionReportBuilder, DomainOperationReportBuilder } from './domain/builder'; | ||
export { DomainName, OperationType, StatusModel } from './domain/types'; | ||
export { DeletionService, DomainDeletionReport, DomainOperationReport } from './domain/interface'; | ||
export { DataDeletionDomainOperationLoggable } from './domain/loggable'; | ||
export { DeletionErrorLoggableException } from './domain/loggable-exception'; | ||
export { OperationReportHelper } from './domain/helper'; | ||
export { DeletionConfig } from './domain/interface'; |
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,3 @@ | ||
import { LoggerConfig } from '@src/core/logger'; | ||
|
||
export interface FilesConfig extends LoggerConfig {} |
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,2 +1,3 @@ | ||
export * from './files.module'; | ||
export { FilesModule } from './files.module'; | ||
export { FilesConfig } from './files.config'; | ||
export * from './service'; |
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,2 @@ | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
export interface GroupConfig {} |
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,3 +1,4 @@ | ||
export * from './group.module'; | ||
export { GroupModule } from './group.module'; | ||
export { GroupConfig } from './group.config'; | ||
export * from './domain'; | ||
export { GroupService } from './service'; |
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
4 changes: 4 additions & 0 deletions
4
apps/server/src/modules/legacy-school/legacy-school.config.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { GroupConfig } from '@modules/group'; | ||
import { LoggerConfig } from '@src/core/logger'; | ||
|
||
export interface LegacySchoolConfig extends GroupConfig, LoggerConfig {} |
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 +1,2 @@ | ||
export * from './news.module'; | ||
export { NewsModule } from './news.module'; | ||
export { NewsConfig } from './news.config'; |
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,4 @@ | ||
import { AuthorizationConfig } from '@modules/authorization'; | ||
import { LoggerConfig } from '@src/core/logger'; | ||
|
||
export interface NewsConfig extends AuthorizationConfig, LoggerConfig {} |
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,2 +1,3 @@ | ||
export * from './pseudonym.module'; | ||
export { PseudonymModule } from './pseudonym.module'; | ||
export { PseudonymConfig } from './pseudonym.config'; | ||
export * from './service'; |
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,6 @@ | ||
import { LoggerConfig } from '@src/core/logger'; | ||
import { LearnroomConfig } from '@modules/learnroom'; | ||
import { ToolConfig } from '@modules/tool'; | ||
import { UserConfig } from '@modules/user'; | ||
|
||
export interface PseudonymConfig extends UserConfig, LearnroomConfig, ToolConfig, LoggerConfig {} |
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,2 +1,3 @@ | ||
export * from './registration-pin.module'; | ||
export { RegistrationPinModule } from './registration-pin.module'; | ||
export { RegistrationPinConfig } from './registration-pin.config'; | ||
export { RegistrationPinService } from './service'; |
3 changes: 3 additions & 0 deletions
3
apps/server/src/modules/registration-pin/registration-pin.config.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { LoggerConfig } from '@src/core/logger'; | ||
|
||
export interface RegistrationPinConfig extends LoggerConfig {} |
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,3 +1,4 @@ | ||
export * from './rocketchat-user.module'; | ||
export { RocketChatUserModule } from './rocketchat-user.module'; | ||
export { RocketChatUserConfig } from './rocketchat-user.config'; | ||
export * from './service'; | ||
export * from './domain'; |
9 changes: 9 additions & 0 deletions
9
apps/server/src/modules/rocketchat-user/rocketchat-user.config.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { LoggerConfig } from '@src/core/logger'; | ||
|
||
export interface RocketChatUserConfig extends LoggerConfig { | ||
ROCKET_CHAT_URI: string; | ||
ROCKET_CHAT_ADMIN_ID: string; | ||
ROCKET_CHAT_ADMIN_TOKEN: string; | ||
ROCKET_CHAT_ADMIN_USER: string; | ||
ROCKET_CHAT_ADMIN_PASSWORD: string; | ||
} |
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,2 +1,3 @@ | ||
export { RoleModule } from './role.module'; | ||
export { RoleService, RoleDto } from './service'; | ||
export { RoleConfig } from './role.config'; |
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,2 @@ | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
export interface RoleConfig {} |
Oops, something went wrong.