From 6e333643e5ef283d349670bfc245aa3ea581eb68 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Wed, 3 Jan 2024 11:03:05 -0300 Subject: [PATCH] Update index.ts --- src/index.ts | 53 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 46 insertions(+), 7 deletions(-) diff --git a/src/index.ts b/src/index.ts index d876465..2e18295 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,12 +1,10 @@ // Copyright (c) Tribufu. All Rights Reserved. -import { TRIBUFU_VERSION, TRIBUFU_API_URL, TRIBUFU_CDN_URL } from "./constants"; -import { TribufuApi } from "./api"; -import { TribufuApiOptions } from "./options"; -import { TribufuBot } from "./bot"; -import { TribufuClient } from "./client"; -import { TribufuServer } from "./server"; -import { TribufuHttp, TribufuHttpOptions } from "./http"; +import { + TRIBUFU_VERSION, + TRIBUFU_API_URL, + TRIBUFU_CDN_URL +} from "./constants"; export { TRIBUFU_API_URL, @@ -14,6 +12,17 @@ export { TRIBUFU_VERSION, }; +import { TribufuApi } from "./api"; +import { TribufuApiOptions } from "./options"; +import { TribufuBot } from "./bot"; +import { TribufuClient } from "./client"; +import { TribufuServer } from "./server"; + +import { + TribufuHttp, + TribufuHttpOptions +} from "./http"; + export { TribufuApi, TribufuApiOptions, @@ -23,3 +32,33 @@ export { TribufuHttpOptions, TribufuServer, }; + +import { + OAuth2AuthorizeRequest, + OAuth2ClientType, + OAuth2CodeResponse, + OAuth2GrantType, + OAuth2IntrospectionRequest, + OAuth2IntrospectionResponse, + OAuth2ResponseType, + OAuth2RevokeRequest, + OAuth2TokenHintType, + OAuth2TokenRequest, + OAuth2TokenResponse, + OAuth2TokenType +} from "./oauth2"; + +export { + OAuth2AuthorizeRequest, + OAuth2ClientType, + OAuth2CodeResponse, + OAuth2GrantType, + OAuth2IntrospectionRequest, + OAuth2IntrospectionResponse, + OAuth2ResponseType, + OAuth2RevokeRequest, + OAuth2TokenHintType, + OAuth2TokenRequest, + OAuth2TokenResponse, + OAuth2TokenType +};