chore: Move index.ts to src.

This commit is contained in:
Ruben Verborgh
2020-12-07 18:01:37 +01:00
committed by Joachim Van Herwegen
parent 0f56b715ae
commit f3f0724f83
11 changed files with 212 additions and 212 deletions

View File

@@ -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,

View File

@@ -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';

View File

@@ -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 {

View File

@@ -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,

View File

@@ -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,

View File

@@ -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';

View File

@@ -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';