refactor: Restructure source code folder

This way the location of certain classes should make more sense
This commit is contained in:
Joachim Van Herwegen
2021-10-08 10:58:35 +02:00
parent 012d9e0864
commit b3da9c9fcf
280 changed files with 684 additions and 673 deletions

View File

@@ -1,4 +1,4 @@
import type { ResourceIdentifier } from '../../ldp/representation/ResourceIdentifier';
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
import type { ReadWriteLocker } from './ReadWriteLocker';
import type { ResourceLocker } from './ResourceLocker';

View File

@@ -1,4 +1,4 @@
import type { ResourceIdentifier } from '../../ldp/representation/ResourceIdentifier';
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
import type { ReadWriteLocker } from './ReadWriteLocker';
/**

View File

@@ -1,4 +1,4 @@
import type { ResourceIdentifier } from '../../ldp/representation/ResourceIdentifier';
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
import type { KeyValueStorage } from '../../storage/keyvalue/KeyValueStorage';
import { ForbiddenHttpError } from '../errors/ForbiddenHttpError';
import { InternalServerError } from '../errors/InternalServerError';

View File

@@ -1,4 +1,4 @@
import type { ResourceIdentifier } from '../../ldp/representation/ResourceIdentifier';
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
/**
* Allows the locking of resources which is needed for non-atomic {@link ResourceStore}s.

View File

@@ -3,8 +3,8 @@ import type { RedisClient } from 'redis';
import { createClient } from 'redis';
import type { Lock } from 'redlock';
import Redlock from 'redlock';
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
import type { Finalizable } from '../../init/final/Finalizable';
import type { ResourceIdentifier } from '../../ldp/representation/ResourceIdentifier';
import { getLoggerFor } from '../../logging/LogUtil';
import { InternalServerError } from '../errors/InternalServerError';
import type { ResourceLocker } from './ResourceLocker';

View File

@@ -1,4 +1,4 @@
import type { ResourceIdentifier } from '../../ldp/representation/ResourceIdentifier';
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
/**
* An interface for classes that only have 1 way to lock interfaces.

View File

@@ -1,5 +1,5 @@
import AsyncLock from 'async-lock';
import type { ResourceIdentifier } from '../../ldp/representation/ResourceIdentifier';
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
import { getLoggerFor } from '../../logging/LogUtil';
import { InternalServerError } from '../errors/InternalServerError';
import type { ResourceLocker } from './ResourceLocker';

View File

@@ -1,4 +1,4 @@
import type { ResourceIdentifier } from '../../ldp/representation/ResourceIdentifier';
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
import { getLoggerFor } from '../../logging/LogUtil';
import { InternalServerError } from '../errors/InternalServerError';
import type { ExpiringReadWriteLocker } from './ExpiringReadWriteLocker';