@lpdjs/firestore-repo-service 2.6.13 → 2.6.14

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 (55) hide show
  1. package/dist/{create-servers-BV-E4Rp-.d.cts → create-servers-C3CIViuc.d.cts} +5 -5
  2. package/dist/{create-servers-BhUavex0.d.ts → create-servers-O2stZ-yF.d.ts} +5 -5
  3. package/dist/{firebase-auth-t1CAR-lp.d.cts → firebase-auth-DZ8lb2Ec.d.cts} +9 -0
  4. package/dist/{firebase-auth-t1CAR-lp.d.ts → firebase-auth-DZ8lb2Ec.d.ts} +9 -0
  5. package/dist/{index-CXWiqnFs.d.cts → index-D0KRndyL.d.cts} +2 -2
  6. package/dist/{index-4gzZw5m_.d.ts → index-TTSjUi4p.d.ts} +2 -2
  7. package/dist/index.cjs +54 -54
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +8 -8
  10. package/dist/index.d.ts +8 -8
  11. package/dist/index.js +54 -54
  12. package/dist/index.js.map +1 -1
  13. package/dist/{openapi-D71F-INl.d.cts → openapi-BdatGOqK.d.cts} +1 -1
  14. package/dist/{openapi-Bq6KTWCR.d.ts → openapi-uTAic4s0.d.ts} +1 -1
  15. package/dist/{queue-DP7t5Jp7.d.ts → queue-B4uwef6c.d.ts} +1 -1
  16. package/dist/{queue-Bl-S-I-7.d.cts → queue-CQyWCQBk.d.cts} +1 -1
  17. package/dist/servers/admin/index.cjs +46 -46
  18. package/dist/servers/admin/index.cjs.map +1 -1
  19. package/dist/servers/admin/index.d.cts +3 -3
  20. package/dist/servers/admin/index.d.ts +3 -3
  21. package/dist/servers/admin/index.js +46 -46
  22. package/dist/servers/admin/index.js.map +1 -1
  23. package/dist/servers/auth/index.cjs +3 -3
  24. package/dist/servers/auth/index.cjs.map +1 -1
  25. package/dist/servers/auth/index.d.cts +1 -1
  26. package/dist/servers/auth/index.d.ts +1 -1
  27. package/dist/servers/auth/index.js +3 -3
  28. package/dist/servers/auth/index.js.map +1 -1
  29. package/dist/servers/crud/index.cjs +1 -1
  30. package/dist/servers/crud/index.cjs.map +1 -1
  31. package/dist/servers/crud/index.d.cts +5 -5
  32. package/dist/servers/crud/index.d.ts +5 -5
  33. package/dist/servers/crud/index.js +1 -1
  34. package/dist/servers/crud/index.js.map +1 -1
  35. package/dist/servers/hono/index.d.cts +1 -1
  36. package/dist/servers/hono/index.d.ts +1 -1
  37. package/dist/servers/index.cjs +74 -74
  38. package/dist/servers/index.cjs.map +1 -1
  39. package/dist/servers/index.d.cts +8 -8
  40. package/dist/servers/index.d.ts +8 -8
  41. package/dist/servers/index.js +74 -74
  42. package/dist/servers/index.js.map +1 -1
  43. package/dist/sync/bigquery.d.cts +2 -2
  44. package/dist/sync/bigquery.d.ts +2 -2
  45. package/dist/sync/index.cjs +11 -11
  46. package/dist/sync/index.cjs.map +1 -1
  47. package/dist/sync/index.d.cts +5 -5
  48. package/dist/sync/index.d.ts +5 -5
  49. package/dist/sync/index.js +11 -11
  50. package/dist/sync/index.js.map +1 -1
  51. package/dist/{types-BxsdnGDM.d.cts → types-BwH1C-wi.d.cts} +1 -1
  52. package/dist/{types-CmSUreTx.d.ts → types-DT7Nypd_.d.ts} +1 -1
  53. package/dist/{types-C_alF2Xe.d.cts → types-Qd4tuEq9.d.cts} +1 -1
  54. package/dist/{types-C6I3WtJS.d.ts → types-wzqw45jH.d.ts} +1 -1
  55. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { S as SyncQueue } from './queue-Bl-S-I-7.cjs';
2
- import { F as FirestoreSyncConfig, S as SyncEvent } from './types-BxsdnGDM.cjs';
3
- import { O as OpenAPIDocument } from './openapi-D71F-INl.cjs';
1
+ import { S as SyncQueue } from './queue-CQyWCQBk.cjs';
2
+ import { F as FirestoreSyncConfig, S as SyncEvent } from './types-BwH1C-wi.cjs';
3
+ import { O as OpenAPIDocument } from './openapi-BdatGOqK.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 { H as HistoryTriggersConfig } from './read-CTWZjxyh.cjs';
7
- import { C as ConfiguredRepository, a as CrudServerOptions, b as CrudRepoConfig } from './types-C_alF2Xe.cjs';
8
- import { A as AdminServerOptions, a as AdminRepoConfig } from './index-CXWiqnFs.cjs';
7
+ import { C as ConfiguredRepository, a as CrudServerOptions, b as CrudRepoConfig } from './types-Qd4tuEq9.cjs';
8
+ import { A as AdminServerOptions, a as AdminRepoConfig } from './index-D0KRndyL.cjs';
9
9
 
10
10
  /** Per-repo admin config with `repo` omitted (auto-bound from the registry key). */
11
11
  type BoundAdminRepoConfig<TRepo extends ConfiguredRepository<any>> = Omit<AdminRepoConfig<TRepo>, "repo">;
@@ -1,11 +1,11 @@
1
- import { S as SyncQueue } from './queue-DP7t5Jp7.js';
2
- import { F as FirestoreSyncConfig, S as SyncEvent } from './types-CmSUreTx.js';
3
- import { O as OpenAPIDocument } from './openapi-Bq6KTWCR.js';
1
+ import { S as SyncQueue } from './queue-B4uwef6c.js';
2
+ import { F as FirestoreSyncConfig, S as SyncEvent } from './types-DT7Nypd_.js';
3
+ import { O as OpenAPIDocument } from './openapi-uTAic4s0.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 { H as HistoryTriggersConfig } from './read-CTWZjxyh.js';
7
- import { C as ConfiguredRepository, a as CrudServerOptions, b as CrudRepoConfig } from './types-C6I3WtJS.js';
8
- import { A as AdminServerOptions, a as AdminRepoConfig } from './index-4gzZw5m_.js';
7
+ import { C as ConfiguredRepository, a as CrudServerOptions, b as CrudRepoConfig } from './types-wzqw45jH.js';
8
+ import { A as AdminServerOptions, a as AdminRepoConfig } from './index-TTSjUi4p.js';
9
9
 
10
10
  /** Per-repo admin config with `repo` omitted (auto-bound from the registry key). */
11
11
  type BoundAdminRepoConfig<TRepo extends ConfiguredRepository<any>> = Omit<AdminRepoConfig<TRepo>, "repo">;
@@ -272,6 +272,15 @@ interface FirebaseAuthConfig<TContext = unknown> {
272
272
  secureCookie?: boolean;
273
273
  /** Cookie `SameSite`. Default: `"Lax"`. */
274
274
  sameSite?: "Strict" | "Lax" | "None";
275
+ /**
276
+ * Deployment region (e.g. `"europe-west1"`). Used to build the login page's
277
+ * same-function URLs **under the Firebase emulator**, which does not reliably
278
+ * expose the region via env — without it the emulator prefix falls back to
279
+ * `us-central1`, so the session POST 404s when deployed elsewhere. Has no
280
+ * effect in production (the prefix is derived from the request there). When
281
+ * created via `servers.admin/crud()` this defaults to `httpsOptions.region`.
282
+ */
283
+ region?: string;
275
284
  /**
276
285
  * Firebase Auth emulator host (e.g. `127.0.0.1:9099`). When set, the login
277
286
  * page's client SDK is pointed at the emulator via `connectAuthEmulator`,
@@ -272,6 +272,15 @@ interface FirebaseAuthConfig<TContext = unknown> {
272
272
  secureCookie?: boolean;
273
273
  /** Cookie `SameSite`. Default: `"Lax"`. */
274
274
  sameSite?: "Strict" | "Lax" | "None";
275
+ /**
276
+ * Deployment region (e.g. `"europe-west1"`). Used to build the login page's
277
+ * same-function URLs **under the Firebase emulator**, which does not reliably
278
+ * expose the region via env — without it the emulator prefix falls back to
279
+ * `us-central1`, so the session POST 404s when deployed elsewhere. Has no
280
+ * effect in production (the prefix is derived from the request there). When
281
+ * created via `servers.admin/crud()` this defaults to `httpsOptions.region`.
282
+ */
283
+ region?: string;
275
284
  /**
276
285
  * Firebase Auth emulator host (e.g. `127.0.0.1:9099`). When set, the login
277
286
  * page's client SDK is pointed at the emulator via `connectAuthEmulator`,
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { HttpsOptions } from 'firebase-functions/v2/https';
3
- import { C as ConfiguredRepository, f as RepositoryConfig, g as FieldPath, F as FieldRole, S as SecurityHeadersOptions } from './types-C_alF2Xe.cjs';
4
- import { A as AuthExtension, h as Middleware } from './firebase-auth-t1CAR-lp.cjs';
3
+ import { C as ConfiguredRepository, f as RepositoryConfig, g as FieldPath, F as FieldRole, S as SecurityHeadersOptions } from './types-Qd4tuEq9.cjs';
4
+ import { A as AuthExtension, h as Middleware } from './firebase-auth-DZ8lb2Ec.cjs';
5
5
 
6
6
  interface PageOptions {
7
7
  title: string;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { HttpsOptions } from 'firebase-functions/v2/https';
3
- import { C as ConfiguredRepository, f as RepositoryConfig, g as FieldPath, F as FieldRole, S as SecurityHeadersOptions } from './types-C6I3WtJS.js';
4
- import { A as AuthExtension, h as Middleware } from './firebase-auth-t1CAR-lp.js';
3
+ import { C as ConfiguredRepository, f as RepositoryConfig, g as FieldPath, F as FieldRole, S as SecurityHeadersOptions } from './types-wzqw45jH.js';
4
+ import { A as AuthExtension, h as Middleware } from './firebase-auth-DZ8lb2Ec.js';
5
5
 
6
6
  interface PageOptions {
7
7
  title: string;