From 8213d5478be1997bbc8c5c72834421416d4d9810 Mon Sep 17 00:00:00 2001 From: Akalanka Perera Date: Sun, 23 Jun 2024 00:19:19 +0530 Subject: [PATCH] Feat!: added aggregate paginate plugin --- plugins/mongoose-aggregate-paginate-v2/types/index.d.ts | 2 ++ pnpm-lock.yaml | 8 +++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/mongoose-aggregate-paginate-v2/types/index.d.ts b/plugins/mongoose-aggregate-paginate-v2/types/index.d.ts index 31fe5c3..43e1187 100644 --- a/plugins/mongoose-aggregate-paginate-v2/types/index.d.ts +++ b/plugins/mongoose-aggregate-paginate-v2/types/index.d.ts @@ -79,6 +79,8 @@ declare function mongooseAggregatePaginate(schema: mongoose.Schema): void; export default mongooseAggregatePaginate; +export const PREPAGINATION_PLACEHOLDER: string + declare namespace _ { const aggregatePaginate: { options: mongoose.PaginateOptions }; } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4cad6af..c05a323 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3344,8 +3344,7 @@ packages: dev: true /axios-retry@4.1.0(axios@1.6.0): - resolution: - { integrity: sha512-svdth4H00yhlsjBbjfLQ/sMLkXqeLxhiFC1nE1JtkN/CIssGxqk0UwTEdrVjwA2gr3yJkAulwvDSIm4z4HyPvg== } + resolution: {integrity: sha512-svdth4H00yhlsjBbjfLQ/sMLkXqeLxhiFC1nE1JtkN/CIssGxqk0UwTEdrVjwA2gr3yJkAulwvDSIm4z4HyPvg==} peerDependencies: axios: 0.x || 1.x dependencies: @@ -5534,9 +5533,8 @@ packages: dev: false /is-retry-allowed@2.2.0: - resolution: - { integrity: sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg== } - engines: { node: ">=10" } + resolution: {integrity: sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg==} + engines: {node: '>=10'} dev: false /is-shared-array-buffer@1.0.2: