mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Move FetchUtil to util folder.
This commit is contained in:
parent
aec92dd1c3
commit
31dcfbf51e
@ -3,8 +3,8 @@ import { v4 } from 'uuid';
|
||||
import { getLoggerFor } from '../../logging/LogUtil';
|
||||
import type { ExpiringStorage } from '../../storage/keyvalue/ExpiringStorage';
|
||||
import { BadRequestHttpError } from '../../util/errors/BadRequestHttpError';
|
||||
import { fetchDataset } from '../../util/FetchUtil';
|
||||
import { SOLID } from '../../util/Vocabularies';
|
||||
import { fetchDataset } from '../util/FetchUtil';
|
||||
import { OwnershipValidator } from './OwnershipValidator';
|
||||
const { literal, namedNode, quad } = DataFactory;
|
||||
|
||||
|
@ -2,8 +2,8 @@ import { DataFactory } from 'n3';
|
||||
import type { Adapter, AdapterPayload } from 'oidc-provider';
|
||||
import type { Dataset, Quad } from 'rdf-js';
|
||||
import { getLoggerFor } from '../../logging/LogUtil';
|
||||
import { fetchDataset } from '../../util/FetchUtil';
|
||||
import { SOLID } from '../../util/Vocabularies';
|
||||
import { fetchDataset } from '../util/FetchUtil';
|
||||
import type { AdapterFactory } from './AdapterFactory';
|
||||
import namedNode = DataFactory.namedNode;
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
import fetch from '@rdfjs/fetch';
|
||||
import type { DatasetResponse } from '@rdfjs/fetch-lite';
|
||||
import type { Dataset } from 'rdf-js';
|
||||
import { getLoggerFor } from '../../logging/LogUtil';
|
||||
import { createErrorMessage } from '../../util/errors/ErrorUtil';
|
||||
import { getLoggerFor } from '../logging/LogUtil';
|
||||
import { createErrorMessage } from './errors/ErrorUtil';
|
||||
|
||||
const logger = getLoggerFor('FetchUtil');
|
||||
|
@ -1,7 +1,7 @@
|
||||
import fetch from '@rdfjs/fetch';
|
||||
import type { DatasetResponse } from '@rdfjs/fetch-lite';
|
||||
import type { Dataset } from 'rdf-js';
|
||||
import { fetchDataset } from '../../../../src/identity/util/FetchUtil';
|
||||
import { fetchDataset } from '../../../src/util/FetchUtil';
|
||||
|
||||
jest.mock('@rdfjs/fetch');
|
||||
|
Loading…
x
Reference in New Issue
Block a user