From cbe27dbfb1445bac0a5b2c8138b3506f4c009f9f Mon Sep 17 00:00:00 2001 From: Oleg Gun <185285+TrejGun@users.noreply.github.com> Date: Wed, 14 Aug 2024 04:35:14 +0800 Subject: [PATCH 1/2] export ThrottlerRequest --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index bbbc1d51..3810e231 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,6 +3,7 @@ export * from './throttler-storage.interface'; export * from './throttler.decorator'; export * from './throttler.exception'; export * from './throttler.guard'; +export * from './throttler.guard.interface'; export * from './throttler.module'; export { getOptionsToken, getStorageToken } from './throttler.providers'; export * from './throttler.service'; From a14c275a3555a11a6d7273695c7dd602fc253968 Mon Sep 17 00:00:00 2001 From: Jay McDoniel Date: Thu, 22 Aug 2024 10:16:06 -0700 Subject: [PATCH 2/2] chore: add changeset for guard interfaces export --- .changeset/curvy-weeks-smash.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/curvy-weeks-smash.md diff --git a/.changeset/curvy-weeks-smash.md b/.changeset/curvy-weeks-smash.md new file mode 100644 index 00000000..b707aae0 --- /dev/null +++ b/.changeset/curvy-weeks-smash.md @@ -0,0 +1,5 @@ +--- +'@nestjs/throttler': patch +--- + +Add the guard interfaces for export for public use