@lpdjs/firestore-repo-service 2.6.24 → 2.6.27

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.
@@ -76,9 +76,9 @@ declare function createServers<TRepos extends Record<string, ConfiguredRepositor
76
76
  * Returns a Cloud Function when `onRequest` was passed to `createServers`,
77
77
  * otherwise the raw HTTP handler.
78
78
  */
79
- admin(options: BoundAdminServerOptions<TRepos>): firebase_functions_v2_https.HttpsFunction | (((req: any, res: any) => Promise<void>) & {
79
+ admin(options: BoundAdminServerOptions<TRepos>): (((req: any, res: any) => Promise<void>) & {
80
80
  httpsOptions?: HttpsOptions;
81
- });
81
+ }) | firebase_functions_v2_https.HttpsFunction;
82
82
  /**
83
83
  * Build the CRUD REST API handler with `repo` auto-injected from each
84
84
  * registry key. Returns a Cloud Function when `onRequest` was passed to
@@ -76,9 +76,9 @@ declare function createServers<TRepos extends Record<string, ConfiguredRepositor
76
76
  * Returns a Cloud Function when `onRequest` was passed to `createServers`,
77
77
  * otherwise the raw HTTP handler.
78
78
  */
79
- admin(options: BoundAdminServerOptions<TRepos>): firebase_functions_v2_https.HttpsFunction | (((req: any, res: any) => Promise<void>) & {
79
+ admin(options: BoundAdminServerOptions<TRepos>): (((req: any, res: any) => Promise<void>) & {
80
80
  httpsOptions?: HttpsOptions;
81
- });
81
+ }) | firebase_functions_v2_https.HttpsFunction;
82
82
  /**
83
83
  * Build the CRUD REST API handler with `repo` auto-injected from each
84
84
  * registry key. Returns a Cloud Function when `onRequest` was passed to