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 { ErrorHandler } from '../ldp/http/ErrorHandler';
|
||||
import { RedirectResponseDescription } from '../ldp/http/response/RedirectResponseDescription';
|
||||
import { ResponseDescription } from '../ldp/http/response/ResponseDescription';
|
||||
import type { Operation } from '../ldp/operations/Operation';
|
||||
import { BasicRepresentation } from '../ldp/representation/BasicRepresentation';
|
||||
import type { Representation } from '../ldp/representation/Representation';
|
||||
import type { Operation } from '../http/Operation';
|
||||
import type { ErrorHandler } from '../http/output/error/ErrorHandler';
|
||||
import { RedirectResponseDescription } from '../http/output/response/RedirectResponseDescription';
|
||||
import { ResponseDescription } from '../http/output/response/ResponseDescription';
|
||||
import { BasicRepresentation } from '../http/representation/BasicRepresentation';
|
||||
import type { Representation } from '../http/representation/Representation';
|
||||
import { getLoggerFor } from '../logging/LogUtil';
|
||||
import type { HttpRequest } from '../server/HttpRequest';
|
||||
import type { OperationHttpHandlerInput } from '../server/OperationHttpHandler';
|
||||
|
||||
@@ -10,10 +10,11 @@ import type { AnyObject,
|
||||
KoaContextWithOIDC,
|
||||
Configuration,
|
||||
Account,
|
||||
ErrorOut, Adapter } from 'oidc-provider';
|
||||
ErrorOut,
|
||||
Adapter } from 'oidc-provider';
|
||||
import { Provider } from 'oidc-provider';
|
||||
import type { ErrorHandler } from '../../ldp/http/ErrorHandler';
|
||||
import type { ResponseWriter } from '../../ldp/http/ResponseWriter';
|
||||
import type { ErrorHandler } from '../../http/output/error/ErrorHandler';
|
||||
import type { ResponseWriter } from '../../http/output/ResponseWriter';
|
||||
import type { KeyValueStorage } from '../../storage/keyvalue/KeyValueStorage';
|
||||
import { ensureTrailingSlash, joinUrl } from '../../util/PathUtil';
|
||||
import type { AdapterFactory } from '../storage/AdapterFactory';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { KoaContextWithOIDC } from 'oidc-provider';
|
||||
import type { Operation } from '../../../../ldp/operations/Operation';
|
||||
import type { Operation } from '../../../../http/Operation';
|
||||
import { APPLICATION_JSON } from '../../../../util/ContentTypes';
|
||||
import { NotImplementedHttpError } from '../../../../util/errors/NotImplementedHttpError';
|
||||
import { AsyncHandler } from '../../../../util/handlers/AsyncHandler';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import assert from 'assert';
|
||||
import type { Operation } from '../../../../ldp/operations/Operation';
|
||||
import type { Operation } from '../../../../http/Operation';
|
||||
import { getLoggerFor } from '../../../../logging/LogUtil';
|
||||
import { BadRequestHttpError } from '../../../../util/errors/BadRequestHttpError';
|
||||
import { readJsonStream } from '../../../../util/StreamUtil';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import assert from 'assert';
|
||||
import type { ResourceIdentifier } from '../../../../ldp/representation/ResourceIdentifier';
|
||||
import type { ResourceIdentifier } from '../../../../http/representation/ResourceIdentifier';
|
||||
import { getLoggerFor } from '../../../../logging/LogUtil';
|
||||
import type { IdentifierGenerator } from '../../../../pods/generate/IdentifierGenerator';
|
||||
import type { PodManager } from '../../../../pods/PodManager';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Operation } from '../../../ldp/operations/Operation';
|
||||
import type { Operation } from '../../../http/Operation';
|
||||
import { BadRequestHttpError } from '../../../util/errors/BadRequestHttpError';
|
||||
import { createErrorMessage, isError } from '../../../util/errors/ErrorUtil';
|
||||
import { InternalServerError } from '../../../util/errors/InternalServerError';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Operation } from '../../../ldp/operations/Operation';
|
||||
import type { Operation } from '../../../http/Operation';
|
||||
import type { Interaction, InteractionHandlerResult } from '../email-password/handler/InteractionHandler';
|
||||
|
||||
export type TemplatedInteractionResult<T extends InteractionHandlerResult = InteractionHandlerResult> = T & {
|
||||
|
||||
Reference in New Issue
Block a user