mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Move index.ts to src.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
0f56b715ae
commit
f3f0724f83
@@ -2,7 +2,7 @@ import type {
|
||||
DataAccessor,
|
||||
HttpHandler,
|
||||
ResourceStore,
|
||||
} from '../../index';
|
||||
} from '../../src/index';
|
||||
import {
|
||||
AuthenticatedLdpHandler,
|
||||
EmptyCredentialsExtractor,
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
MethodPermissionsExtractor,
|
||||
RdfToQuadConverter,
|
||||
QuadToRdfConverter,
|
||||
} from '../../index';
|
||||
} from '../../src/index';
|
||||
import type { ServerConfig } from './ServerConfig';
|
||||
import {
|
||||
getConvertingStore,
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
import type { HttpHandler,
|
||||
ResourceStore } from '../../index';
|
||||
import type {
|
||||
HttpHandler,
|
||||
ResourceStore,
|
||||
} from '../../src/index';
|
||||
import {
|
||||
AllowEverythingAuthorizer,
|
||||
AuthenticatedLdpHandler,
|
||||
EmptyCredentialsExtractor,
|
||||
MethodPermissionsExtractor,
|
||||
} from '../../index';
|
||||
} from '../../src/index';
|
||||
import type { ServerConfig } from './ServerConfig';
|
||||
import { getOperationHandler, getInMemoryResourceStore, getBasicRequestParser, getResponseWriter } from './Util';
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import type { HttpHandler,
|
||||
ResourceStore } from '../../index';
|
||||
import type {
|
||||
HttpHandler,
|
||||
ResourceStore,
|
||||
} from '../../src/index';
|
||||
import {
|
||||
AllowEverythingAuthorizer,
|
||||
AuthenticatedLdpHandler,
|
||||
@@ -11,7 +13,7 @@ import {
|
||||
RdfToQuadConverter,
|
||||
SparqlUpdateBodyParser,
|
||||
SparqlPatchPermissionsExtractor,
|
||||
} from '../../index';
|
||||
} from '../../src/index';
|
||||
|
||||
import type { ServerConfig } from './ServerConfig';
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import type { HttpHandler,
|
||||
ResourceStore } from '../../index';
|
||||
import type {
|
||||
HttpHandler,
|
||||
ResourceStore,
|
||||
} from '../../src/index';
|
||||
import {
|
||||
AuthenticatedLdpHandler,
|
||||
EmptyCredentialsExtractor,
|
||||
@@ -7,7 +9,7 @@ import {
|
||||
MethodPermissionsExtractor,
|
||||
RdfToQuadConverter,
|
||||
QuadToRdfConverter,
|
||||
} from '../../index';
|
||||
} from '../../src/index';
|
||||
import type { ServerConfig } from './ServerConfig';
|
||||
import {
|
||||
getInMemoryResourceStore,
|
||||
|
||||
@@ -2,7 +2,7 @@ import type {
|
||||
DataAccessor,
|
||||
HttpHandler,
|
||||
ResourceStore,
|
||||
} from '../../index';
|
||||
} from '../../src/index';
|
||||
import {
|
||||
AllowEverythingAuthorizer,
|
||||
AuthenticatedLdpHandler,
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
QuadToRdfConverter,
|
||||
RawBodyParser,
|
||||
RdfToQuadConverter,
|
||||
} from '../../index';
|
||||
} from '../../src/index';
|
||||
import type { ServerConfig } from './ServerConfig';
|
||||
import {
|
||||
getOperationHandler,
|
||||
|
||||
@@ -11,7 +11,7 @@ import type {
|
||||
HttpResponse,
|
||||
ResponseWriter,
|
||||
OperationHandler,
|
||||
} from '../../index';
|
||||
} from '../../src/index';
|
||||
import {
|
||||
AcceptPreferenceParser, AllVoidCompositeHandler,
|
||||
BasicMetadataExtractor,
|
||||
@@ -40,7 +40,7 @@ import {
|
||||
SparqlUpdatePatchHandler,
|
||||
UrlBasedAclManager,
|
||||
WebAclAuthorizer,
|
||||
} from '../../index';
|
||||
} from '../../src/index';
|
||||
import { CONTENT_TYPE, HTTP, RDF } from '../../src/util/UriConstants';
|
||||
|
||||
export const BASE = 'http://test.com';
|
||||
|
||||
@@ -6,11 +6,8 @@ import { Readable } from 'stream';
|
||||
import * as url from 'url';
|
||||
import type { MockResponse } from 'node-mocks-http';
|
||||
import { createResponse } from 'node-mocks-http';
|
||||
import type { ResourceStore } from '../../index';
|
||||
import { guardedStreamFrom, RepresentationMetadata } from '../../index';
|
||||
import type { PermissionSet } from '../../src/ldp/permissions/PermissionSet';
|
||||
import type { HttpHandler } from '../../src/server/HttpHandler';
|
||||
import type { HttpRequest } from '../../src/server/HttpRequest';
|
||||
import type { ResourceStore, PermissionSet, HttpHandler, HttpRequest } from '../../src/index';
|
||||
import { guardedStreamFrom, RepresentationMetadata } from '../../src/index';
|
||||
import { CONTENT_TYPE } from '../../src/util/UriConstants';
|
||||
import { call } from './Util';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user