Skip to content

Commit

Permalink
#354 Separate the type with alias for entity type and its constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
tngan committed May 13, 2020
1 parent 5d7da43 commit 1a231a9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions index.ts
@@ -1,6 +1,7 @@
// version <= 1.25
export { default as IdentityProvider } from './src/entity-idp';
export { default as ServiceProvider } from './src/entity-sp';
import IdentityProvider, { IdentityProvider as IdentityProviderInstance } from './src/entity-idp';
import ServiceProvider, { ServiceProvider as ServiceProviderInstance } from './src/entity-sp';

export { default as IdPMetadata } from './src/metadata-idp';
export { default as SPMetadata } from './src/metadata-sp';
export { default as Utility } from './src/utility';
Expand All @@ -16,6 +17,11 @@ import { setSchemaValidator } from './src/api';
export {
Constants,
Extractor,
// temp: resolve the conflict after version >= 3.0
IdentityProvider,
IdentityProviderInstance,
ServiceProvider,
ServiceProviderInstance,
// set context
setSchemaValidator
};
};

0 comments on commit 1a231a9

Please sign in to comment.