Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more exports to oauth/index.ts #1446

Merged
merged 2 commits into from
Mar 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions packages/oauth/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,33 @@
export * from './errors';
export { Logger, LogLevel } from './logger';

// The inputs / outputs of the InstallProvider module
export { AuthorizeResult } from './authorize-result';
export { CallbackOptions } from './callback-options';
export { Installation, OrgInstallation } from './installation';
export { InstallationQuery, OrgInstallationQuery } from './installation-query';

// The errors that can be returned by this module
export * from './errors';

// The core part of this library
export {
InstallProvider,
OAuthV2TokenRefreshResponse,
OAuthV2Response,
} from './install-provider';
export { Installation, OrgInstallation } from './installation';
export { InstallationQuery, OrgInstallationQuery } from './installation-query';

export { InstallProviderOptions } from './install-provider-options';
export { InstallURLOptions } from './install-url-options';
// the callback handlers for the `/slack/install` path
export { InstallPathOptions } from './install-path-options';
export { default as defaultRenderHtmlForInstallPath } from './default-render-html-for-install-path';
// the callback handlers for the `/slack/oauth_redirect` path
export {
CallbackOptions,
defaultCallbackFailure,
defaultCallbackSuccess,
} from './callback-options';

// InstallationStore interface and built-in implementations
export * from './installation-stores';
// StateSTore interface and built-in implementations
seratch marked this conversation as resolved.
Show resolved Hide resolved
export * from './state-stores';