mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Restructure source code folder
This way the location of certain classes should make more sense
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import type { Operation } from '../../../../../../src/http/Operation';
|
||||
import {
|
||||
ForgotPasswordHandler,
|
||||
} from '../../../../../../src/identity/interaction/email-password/handler/ForgotPasswordHandler';
|
||||
import type { AccountStore } from '../../../../../../src/identity/interaction/email-password/storage/AccountStore';
|
||||
import type { EmailSender } from '../../../../../../src/identity/interaction/util/EmailSender';
|
||||
import type { Operation } from '../../../../../../src/ldp/operations/Operation';
|
||||
import type { TemplateEngine } from '../../../../../../src/util/templates/TemplateEngine';
|
||||
import { createPostJsonOperation } from './Util';
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { BasicRepresentation } from '../../../../../../src/http/representation/BasicRepresentation';
|
||||
import type {
|
||||
InteractionResponseResult,
|
||||
} from '../../../../../../src/identity/interaction/email-password/handler/InteractionHandler';
|
||||
import {
|
||||
InteractionHandler,
|
||||
} from '../../../../../../src/identity/interaction/email-password/handler/InteractionHandler';
|
||||
import { BasicRepresentation } from '../../../../../../src/ldp/representation/BasicRepresentation';
|
||||
import { NotImplementedHttpError } from '../../../../../../src/util/errors/NotImplementedHttpError';
|
||||
|
||||
class SimpleInteractionHandler extends InteractionHandler {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import type { Operation } from '../../../../../../src/http/Operation';
|
||||
import {
|
||||
RegistrationHandler,
|
||||
} from '../../../../../../src/identity/interaction/email-password/handler/RegistrationHandler';
|
||||
import type {
|
||||
RegistrationManager, RegistrationParams, RegistrationResponse,
|
||||
} from '../../../../../../src/identity/interaction/email-password/util/RegistrationManager';
|
||||
import type { Operation } from '../../../../../../src/ldp/operations/Operation';
|
||||
import { createPostJsonOperation } from './Util';
|
||||
|
||||
describe('A RegistrationHandler', (): void => {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Operation } from '../../../../../../src/http/Operation';
|
||||
import {
|
||||
ResetPasswordHandler,
|
||||
} from '../../../../../../src/identity/interaction/email-password/handler/ResetPasswordHandler';
|
||||
import type { AccountStore } from '../../../../../../src/identity/interaction/email-password/storage/AccountStore';
|
||||
import type { Operation } from '../../../../../../src/ldp/operations/Operation';
|
||||
import { createPostJsonOperation } from './Util';
|
||||
|
||||
describe('A ResetPasswordHandler', (): void => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { Operation } from '../../../../../../src/ldp/operations/Operation';
|
||||
import { BasicRepresentation } from '../../../../../../src/ldp/representation/BasicRepresentation';
|
||||
import type { Operation } from '../../../../../../src/http/Operation';
|
||||
import { BasicRepresentation } from '../../../../../../src/http/representation/BasicRepresentation';
|
||||
|
||||
/**
|
||||
* Creates a mock HttpRequest which is a stream of an object encoded as application/json
|
||||
|
||||
Reference in New Issue
Block a user