@lpdjs/firestore-repo-service 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
+ import { HttpsOptions } from 'firebase-functions/v2/https';
3
4
  import { DocumentReference, Firestore, DocumentSnapshot, WhereFilterOp, Query, CollectionReference, WriteBatch, Transaction } from 'firebase-admin/firestore';
4
5
 
5
6
  /**
@@ -820,7 +821,7 @@ interface CrudServerOptions<TRepos extends Record<string, ConfiguredRepository<a
820
821
  * export const crud = onRequest(handler.httpsOptions!, handler);
821
822
  * ```
822
823
  */
823
- httpsOptions?: Record<string, unknown>;
824
+ httpsOptions?: HttpsOptions;
824
825
  }
825
826
  /**
826
827
  * Standard API response wrapper.
@@ -1,5 +1,6 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
+ import { HttpsOptions } from 'firebase-functions/v2/https';
3
4
  import { DocumentReference, Firestore, DocumentSnapshot, WhereFilterOp, Query, CollectionReference, WriteBatch, Transaction } from 'firebase-admin/firestore';
4
5
 
5
6
  /**
@@ -820,7 +821,7 @@ interface CrudServerOptions<TRepos extends Record<string, ConfiguredRepository<a
820
821
  * export const crud = onRequest(handler.httpsOptions!, handler);
821
822
  * ```
822
823
  */
823
- httpsOptions?: Record<string, unknown>;
824
+ httpsOptions?: HttpsOptions;
824
825
  }
825
826
  /**
826
827
  * Standard API response wrapper.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lpdjs/firestore-repo-service",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "⚡ Type-safe Firestore ORM with auto-generated repositories, advanced queries, relations with typed select, pagination with include, batch/bulk operations, aggregations and transactions.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",