Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant changes to the authentication module, backoffice service, and the addition of a new file ingestion feature. The most important changes include adding a new custom passport strategy, refactoring the backoffice service, and implementing a file ingestion page in the backoffice.
Authentication Module Updates:
passport-custom
dependency inapi/package.json
to support custom authentication strategies.BackofficeService
fromauth.module.ts
and updated its import path inauthentication.controller.ts
. [1] [2] [3]BackofficeSessionStrategy
and integrated it into theauthentication.module.ts
. [1] [2] [3] [4]JwtCookieAuthGuard
to handle JWT and backoffice session authentication.import.controller.ts
to useJwtCookieAuthGuard
instead ofJwtAuthGuard
. [1] [2]Backoffice Service Refactoring:
backoffice.service.ts
and added a new one with enhanced functionality, including cookie generation and session retrieval. [1] [2]backoffice.module.ts
to encapsulate the backoffice service and its dependencies.File Ingestion Feature:
backoffice/index.ts
to include the new file ingestion page and ensure it is properly loaded and watched. [1] [2] [3]Dependency and Configuration Updates:
styled-components
,react
, and related type definitions tobackoffice/package.json
andpnpm-lock.yaml
to support the new file ingestion feature. [1] [2] [3] [4] [5] [6]tsconfig.json
in the backoffice to include.tsx
files.