@lpdjs/firestore-repo-service 3.0.10 → 3.0.11

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.
Files changed (61) hide show
  1. package/dist/{create-servers-C0znL41U.d.cts → create-servers-DQBvtkBM.d.cts} +10 -9
  2. package/dist/{create-servers-C2mFtWXg.d.ts → create-servers-KRf2J2fi.d.ts} +10 -9
  3. package/dist/{firebase-auth-Ds5P0kXT.d.cts → firebase-auth-nG3prKoj.d.cts} +2 -1
  4. package/dist/{firebase-auth-Ds5P0kXT.d.ts → firebase-auth-nG3prKoj.d.ts} +2 -1
  5. package/dist/history/index.d.cts +3 -3
  6. package/dist/history/index.d.ts +3 -3
  7. package/dist/index.cjs +65 -65
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +14 -13
  10. package/dist/index.d.ts +14 -13
  11. package/dist/index.js +65 -65
  12. package/dist/index.js.map +1 -1
  13. package/dist/llms-full.txt +1 -1
  14. package/dist/llms.txt +1 -1
  15. package/dist/{openapi-C-SpMP9f.d.cts → openapi-CzrvqcOE.d.ts} +3 -2
  16. package/dist/{openapi-DpMY3nFB.d.ts → openapi-DK7pS1zN.d.cts} +3 -2
  17. package/dist/{queue-DwazYsJW.d.cts → queue-CdmBSUNN.d.cts} +3 -2
  18. package/dist/{queue-DJjZ4Wp4.d.ts → queue-HoGBozpD.d.ts} +3 -2
  19. package/dist/{read-2sRlBd8o.d.cts → read-15-TcgCz.d.ts} +3 -2
  20. package/dist/{read-D9TwPubT.d.ts → read-B15YaPyR.d.cts} +3 -2
  21. package/dist/{rules-KFfK2bXW.d.cts → rules-Bu2WJoLI.d.cts} +2 -2
  22. package/dist/{rules-OTj6GamJ.d.ts → rules-gKR5VFhO.d.ts} +2 -2
  23. package/dist/servers/admin/index.cjs +1 -1
  24. package/dist/servers/admin/index.cjs.map +1 -1
  25. package/dist/servers/admin/index.d.cts +12 -8
  26. package/dist/servers/admin/index.d.ts +12 -8
  27. package/dist/servers/admin/index.js +1 -1
  28. package/dist/servers/admin/index.js.map +1 -1
  29. package/dist/servers/auth/index.d.cts +1 -1
  30. package/dist/servers/auth/index.d.ts +1 -1
  31. package/dist/servers/crud/index.cjs +2 -2
  32. package/dist/servers/crud/index.cjs.map +1 -1
  33. package/dist/servers/crud/index.d.cts +11 -10
  34. package/dist/servers/crud/index.d.ts +11 -10
  35. package/dist/servers/crud/index.js +2 -2
  36. package/dist/servers/crud/index.js.map +1 -1
  37. package/dist/servers/hono/index.d.cts +5 -4
  38. package/dist/servers/hono/index.d.ts +5 -4
  39. package/dist/servers/index.cjs +37 -37
  40. package/dist/servers/index.cjs.map +1 -1
  41. package/dist/servers/index.d.cts +14 -13
  42. package/dist/servers/index.d.ts +14 -13
  43. package/dist/servers/index.js +37 -37
  44. package/dist/servers/index.js.map +1 -1
  45. package/dist/sync/bigquery.d.cts +6 -5
  46. package/dist/sync/bigquery.d.ts +6 -5
  47. package/dist/sync/index.d.cts +9 -8
  48. package/dist/sync/index.d.ts +9 -8
  49. package/dist/sync/meilisearch.d.cts +6 -5
  50. package/dist/sync/meilisearch.d.ts +6 -5
  51. package/dist/{types-DS_W0yER.d.cts → types--RamYGF1.d.cts} +1 -1
  52. package/dist/{types-DS_W0yER.d.ts → types--RamYGF1.d.ts} +1 -1
  53. package/dist/{types-DGtmWhDv.d.cts → types-8Yoacm2k.d.cts} +9 -7
  54. package/dist/{types-DSMiiOrU.d.ts → types-D3W_RaDA.d.ts} +3 -2
  55. package/dist/{types-2xVljLn9.d.ts → types-DRKB8gTA.d.ts} +9 -7
  56. package/dist/{types-D7-lMoLj.d.cts → types-DZoEAKT7.d.cts} +24 -5
  57. package/dist/{types-DR1DlYio.d.ts → types-DiGFAWPA.d.ts} +24 -5
  58. package/dist/{types-BCb4TPJZ.d.ts → types-DzJ9WrcY.d.ts} +3 -3
  59. package/dist/{types-DpJMhcY_.d.cts → types-KEVZXCF4.d.cts} +3 -3
  60. package/dist/{types-BIZz3sxN.d.cts → types-o-9qoExc.d.cts} +3 -2
  61. package/package.json +20 -20
@@ -1,13 +1,13 @@
1
- import { S as SyncQueue } from './queue-DwazYsJW.cjs';
2
- import { F as FirestoreSyncConfig, S as SyncEvent } from './types-DpJMhcY_.cjs';
3
- import { O as OpenAPIDocument } from './openapi-C-SpMP9f.cjs';
1
+ import { S as SyncQueue } from './queue-CdmBSUNN.cjs';
2
+ import { F as FirestoreSyncConfig, S as SyncEvent } from './types-KEVZXCF4.cjs';
3
+ import { O as OpenAPIDocument } from './openapi-DK7pS1zN.cjs';
4
4
  import * as firebase_functions_v2_https from 'firebase-functions/v2/https';
5
5
  import { onRequest, HttpsOptions } from 'firebase-functions/v2/https';
6
6
  import { DocumentOptions } from 'firebase-functions/v2/firestore';
7
- import { H as HistoryTriggersConfig } from './types-DS_W0yER.cjs';
8
- import { C as ConfiguredRepository, a as CrudServerOptions, b as CrudRepoConfig } from './types-DGtmWhDv.cjs';
7
+ import { H as HistoryTriggersConfig } from './types--RamYGF1.cjs';
8
+ import { C as ConfiguredRepository, b as CrudRepoConfig, a as CrudServerOptions } from './types-8Yoacm2k.cjs';
9
9
  import { MeilisearchAdapterOptions, MeilisearchAdapter } from './sync/meilisearch.cjs';
10
- import { AdminServerOptions, AdminRepoConfig } from './servers/admin/index.cjs';
10
+ import { AdminRepoConfig, AdminServerOptions } from './servers/admin/index.cjs';
11
11
 
12
12
  /** Per-repo admin config with `repo` omitted (auto-bound from the registry key). */
13
13
  type BoundAdminRepoConfig<TRepo extends ConfiguredRepository<any>> = Omit<AdminRepoConfig<TRepo>, "repo">;
@@ -89,9 +89,9 @@ declare function createServers<TRepos extends Record<string, ConfiguredRepositor
89
89
  * Returns a Cloud Function when `onRequest` was passed to `createServers`,
90
90
  * otherwise the raw HTTP handler.
91
91
  */
92
- admin(options: BoundAdminServerOptions<TRepos>): firebase_functions_v2_https.HttpsFunction | (((req: any, res: any) => Promise<void>) & {
92
+ admin(options: BoundAdminServerOptions<TRepos>): (((req: any, res: any) => Promise<void>) & {
93
93
  httpsOptions?: HttpsOptions;
94
- });
94
+ }) | firebase_functions_v2_https.HttpsFunction;
95
95
  /**
96
96
  * Build the CRUD REST API handler with `repo` auto-injected from each
97
97
  * registry key. Returns a Cloud Function when `onRequest` was passed to
@@ -161,4 +161,5 @@ declare function createServers<TRepos extends Record<string, ConfiguredRepositor
161
161
  history(config: HistoryTriggersConfig<TRepos>): Record<string, any>;
162
162
  };
163
163
 
164
- export { type BoundAdminRepoConfig as B, type CreateServersDeps as C, type TriggerOptions as T, type BoundAdminServerOptions as a, type BoundCrudRepoConfig as b, createServers as c, type BoundCrudServerOptions as d, type BoundFirestoreSyncConfig as e };
164
+ export { createServers as e };
165
+ export type { BoundAdminRepoConfig as B, CreateServersDeps as C, TriggerOptions as T, BoundAdminServerOptions as a, BoundCrudRepoConfig as b, BoundCrudServerOptions as c, BoundFirestoreSyncConfig as d };
@@ -1,13 +1,13 @@
1
- import { S as SyncQueue } from './queue-DJjZ4Wp4.js';
2
- import { F as FirestoreSyncConfig, S as SyncEvent } from './types-BCb4TPJZ.js';
3
- import { O as OpenAPIDocument } from './openapi-DpMY3nFB.js';
1
+ import { S as SyncQueue } from './queue-HoGBozpD.js';
2
+ import { F as FirestoreSyncConfig, S as SyncEvent } from './types-DzJ9WrcY.js';
3
+ import { O as OpenAPIDocument } from './openapi-CzrvqcOE.js';
4
4
  import * as firebase_functions_v2_https from 'firebase-functions/v2/https';
5
5
  import { onRequest, HttpsOptions } from 'firebase-functions/v2/https';
6
6
  import { DocumentOptions } from 'firebase-functions/v2/firestore';
7
- import { H as HistoryTriggersConfig } from './types-DS_W0yER.js';
8
- import { C as ConfiguredRepository, a as CrudServerOptions, b as CrudRepoConfig } from './types-2xVljLn9.js';
7
+ import { H as HistoryTriggersConfig } from './types--RamYGF1.js';
8
+ import { C as ConfiguredRepository, b as CrudRepoConfig, a as CrudServerOptions } from './types-DRKB8gTA.js';
9
9
  import { MeilisearchAdapterOptions, MeilisearchAdapter } from './sync/meilisearch.js';
10
- import { AdminServerOptions, AdminRepoConfig } from './servers/admin/index.js';
10
+ import { AdminRepoConfig, AdminServerOptions } from './servers/admin/index.js';
11
11
 
12
12
  /** Per-repo admin config with `repo` omitted (auto-bound from the registry key). */
13
13
  type BoundAdminRepoConfig<TRepo extends ConfiguredRepository<any>> = Omit<AdminRepoConfig<TRepo>, "repo">;
@@ -89,9 +89,9 @@ declare function createServers<TRepos extends Record<string, ConfiguredRepositor
89
89
  * Returns a Cloud Function when `onRequest` was passed to `createServers`,
90
90
  * otherwise the raw HTTP handler.
91
91
  */
92
- admin(options: BoundAdminServerOptions<TRepos>): firebase_functions_v2_https.HttpsFunction | (((req: any, res: any) => Promise<void>) & {
92
+ admin(options: BoundAdminServerOptions<TRepos>): (((req: any, res: any) => Promise<void>) & {
93
93
  httpsOptions?: HttpsOptions;
94
- });
94
+ }) | firebase_functions_v2_https.HttpsFunction;
95
95
  /**
96
96
  * Build the CRUD REST API handler with `repo` auto-injected from each
97
97
  * registry key. Returns a Cloud Function when `onRequest` was passed to
@@ -161,4 +161,5 @@ declare function createServers<TRepos extends Record<string, ConfiguredRepositor
161
161
  history(config: HistoryTriggersConfig<TRepos>): Record<string, any>;
162
162
  };
163
163
 
164
- export { type BoundAdminRepoConfig as B, type CreateServersDeps as C, type TriggerOptions as T, type BoundAdminServerOptions as a, type BoundCrudRepoConfig as b, createServers as c, type BoundCrudServerOptions as d, type BoundFirestoreSyncConfig as e };
164
+ export { createServers as e };
165
+ export type { BoundAdminRepoConfig as B, CreateServersDeps as C, TriggerOptions as T, BoundAdminServerOptions as a, BoundCrudRepoConfig as b, BoundCrudServerOptions as c, BoundFirestoreSyncConfig as d };
@@ -341,4 +341,5 @@ declare function isAuthExtension(value: unknown): value is AuthExtension;
341
341
  */
342
342
  declare const allowAll: () => true;
343
343
 
344
- export { type AuthUser as A, type DecodedIdTokenLike as D, type FirebaseAdminAuthLike as F, type Middleware as M, type RouteHandler as R, allowAll as a, type AuthExtension as b, type AuthRoute as c, type FirebaseAuthConfig as d, type FirebaseAuthLoginPageConfig as e, firebaseAuth as f, type FirebaseAuthMode as g, MiniRouter as h, isAuthExtension as i };
344
+ export { allowAll as f, firebaseAuth as g, MiniRouter as h, isAuthExtension as i };
345
+ export type { AuthExtension as A, DecodedIdTokenLike as D, FirebaseAdminAuthLike as F, Middleware as M, RouteHandler as R, AuthRoute as a, AuthUser as b, FirebaseAuthConfig as c, FirebaseAuthLoginPageConfig as d, FirebaseAuthMode as e };
@@ -341,4 +341,5 @@ declare function isAuthExtension(value: unknown): value is AuthExtension;
341
341
  */
342
342
  declare const allowAll: () => true;
343
343
 
344
- export { type AuthUser as A, type DecodedIdTokenLike as D, type FirebaseAdminAuthLike as F, type Middleware as M, type RouteHandler as R, allowAll as a, type AuthExtension as b, type AuthRoute as c, type FirebaseAuthConfig as d, type FirebaseAuthLoginPageConfig as e, firebaseAuth as f, type FirebaseAuthMode as g, MiniRouter as h, isAuthExtension as i };
344
+ export { allowAll as f, firebaseAuth as g, MiniRouter as h, isAuthExtension as i };
345
+ export type { AuthExtension as A, DecodedIdTokenLike as D, FirebaseAdminAuthLike as F, Middleware as M, RouteHandler as R, AuthRoute as a, AuthUser as b, FirebaseAuthConfig as c, FirebaseAuthLoginPageConfig as d, FirebaseAuthMode as e };
@@ -1,6 +1,6 @@
1
- import { H as HistoryTriggersConfig, f as HistoryOperation, h as HistoryFieldChange, g as HistoryMeta, a as HistoryConfigForModel, e as V2HistoryDoc, i as HistoryValueType, V as V1HistoryDoc, c as HistoryEntry } from '../types-DS_W0yER.cjs';
2
- export { j as HistoryConfigBase, k as HistoryFirestoreTriggersDep, b as HistoryListOptions, d as HistoryRawListOptions, l as HistoryTriggerOptions, m as HistoryTriggerRepoOverride, T as TriggerOptions } from '../types-DS_W0yER.cjs';
3
- export { H as HistoryMethods, c as createHistoryMethods } from '../read-2sRlBd8o.cjs';
1
+ import { H as HistoryTriggersConfig, e as HistoryOperation, h as HistoryFieldChange, f as HistoryMeta, g as HistoryConfigForModel, d as V2HistoryDoc, i as HistoryValueType, V as V1HistoryDoc, b as HistoryEntry } from '../types--RamYGF1.cjs';
2
+ export { j as HistoryConfigBase, k as HistoryFirestoreTriggersDep, a as HistoryListOptions, c as HistoryRawListOptions, l as HistoryTriggerOptions, m as HistoryTriggerRepoOverride, T as TriggerOptions } from '../types--RamYGF1.cjs';
3
+ export { H as HistoryMethods, c as createHistoryMethods } from '../read-B15YaPyR.cjs';
4
4
  import { CollectionReference } from 'firebase-admin/firestore';
5
5
  import 'firebase-functions/v2/firestore';
6
6
 
@@ -1,6 +1,6 @@
1
- import { H as HistoryTriggersConfig, f as HistoryOperation, h as HistoryFieldChange, g as HistoryMeta, a as HistoryConfigForModel, e as V2HistoryDoc, i as HistoryValueType, V as V1HistoryDoc, c as HistoryEntry } from '../types-DS_W0yER.js';
2
- export { j as HistoryConfigBase, k as HistoryFirestoreTriggersDep, b as HistoryListOptions, d as HistoryRawListOptions, l as HistoryTriggerOptions, m as HistoryTriggerRepoOverride, T as TriggerOptions } from '../types-DS_W0yER.js';
3
- export { H as HistoryMethods, c as createHistoryMethods } from '../read-D9TwPubT.js';
1
+ import { H as HistoryTriggersConfig, e as HistoryOperation, h as HistoryFieldChange, f as HistoryMeta, g as HistoryConfigForModel, d as V2HistoryDoc, i as HistoryValueType, V as V1HistoryDoc, b as HistoryEntry } from '../types--RamYGF1.js';
2
+ export { j as HistoryConfigBase, k as HistoryFirestoreTriggersDep, a as HistoryListOptions, c as HistoryRawListOptions, l as HistoryTriggerOptions, m as HistoryTriggerRepoOverride, T as TriggerOptions } from '../types--RamYGF1.js';
3
+ export { H as HistoryMethods, c as createHistoryMethods } from '../read-15-TcgCz.js';
4
4
  import { CollectionReference } from 'firebase-admin/firestore';
5
5
  import 'firebase-functions/v2/firestore';
6
6