fix: Remove unused interfaces

This commit is contained in:
Joachim Van Herwegen
2020-08-24 14:56:02 +02:00
parent 5649903226
commit bca4d06c9a
5 changed files with 4 additions and 52 deletions

View File

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

View File

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

View File

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