Skip to content

Commit

Permalink
chore: export types
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Oct 6, 2023
1 parent b994a4c commit 611fad4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 611fad4

Please sign in to comment.