mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Remove unused interfaces
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { Readable } from 'stream';
|
||||
import { Representation } from './Representation';
|
||||
import { TypedReadable } from '../../util/TypedReadable';
|
||||
|
||||
/**
|
||||
* A representation containing binary data.
|
||||
*/
|
||||
export interface BinaryRepresentation extends Representation {
|
||||
dataType: 'binary';
|
||||
data: TypedReadable<Buffer>;
|
||||
data: Readable;
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
import { Representation } from './Representation';
|
||||
import { ResourceIdentifier } from './ResourceIdentifier';
|
||||
|
||||
/**
|
||||
* A {@link Representation} with an identifier.
|
||||
*/
|
||||
export interface NamedRepresentation extends Representation {
|
||||
/**
|
||||
* The identifier of this representation.
|
||||
*/
|
||||
identifier?: ResourceIdentifier;
|
||||
}
|
||||
@@ -1,11 +1,10 @@
|
||||
import { Quad } from 'rdf-js';
|
||||
import { Readable } from 'stream';
|
||||
import { Representation } from './Representation';
|
||||
import { TypedReadable } from '../../util/TypedReadable';
|
||||
|
||||
/**
|
||||
* A representation containing quads as data.
|
||||
*/
|
||||
export interface QuadRepresentation extends Representation {
|
||||
dataType: 'quad';
|
||||
data: TypedReadable<Quad>;
|
||||
data: Readable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user