diff --git a/src/common/types.ts b/src/common/types.ts index 42ae631..e38eb2b 100644 --- a/src/common/types.ts +++ b/src/common/types.ts @@ -161,7 +161,7 @@ export interface SRIBioEntity { // "main" semantic types for this entity, first is always the SRI-preferred type primaryTypes: string[]; semanticTypes: string[]; // all types for this entity, up the hierarchy - attributes: DBIdsObject; // attributes attached to this entity + attributes?: DBIdsObject; // attributes attached to this entity } export interface IdentifierObject { diff --git a/src/index.ts b/src/index.ts index c34283e..43605f0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,6 +7,8 @@ import { _resolveSRI } from './sri'; import { _getAttributes } from './attrs'; import SRIResolverFailiureImport from './exceptions/sri_resolver_failiure'; +export * from './common/types'; + export class Resolver implements IResolver { private _resolver: IResolver; constructor(type: string = undefined) {