@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.
- package/dist/{create-servers-BV-E4Rp-.d.cts → create-servers-C3CIViuc.d.cts} +5 -5
- package/dist/{create-servers-BhUavex0.d.ts → create-servers-O2stZ-yF.d.ts} +5 -5
- package/dist/{firebase-auth-t1CAR-lp.d.cts → firebase-auth-DZ8lb2Ec.d.cts} +9 -0
- package/dist/{firebase-auth-t1CAR-lp.d.ts → firebase-auth-DZ8lb2Ec.d.ts} +9 -0
- package/dist/{index-CXWiqnFs.d.cts → index-D0KRndyL.d.cts} +2 -2
- package/dist/{index-4gzZw5m_.d.ts → index-TTSjUi4p.d.ts} +2 -2
- package/dist/index.cjs +54 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +54 -54
- package/dist/index.js.map +1 -1
- package/dist/{openapi-D71F-INl.d.cts → openapi-BdatGOqK.d.cts} +1 -1
- package/dist/{openapi-Bq6KTWCR.d.ts → openapi-uTAic4s0.d.ts} +1 -1
- package/dist/{queue-DP7t5Jp7.d.ts → queue-B4uwef6c.d.ts} +1 -1
- package/dist/{queue-Bl-S-I-7.d.cts → queue-CQyWCQBk.d.cts} +1 -1
- package/dist/servers/admin/index.cjs +46 -46
- package/dist/servers/admin/index.cjs.map +1 -1
- package/dist/servers/admin/index.d.cts +3 -3
- package/dist/servers/admin/index.d.ts +3 -3
- package/dist/servers/admin/index.js +46 -46
- package/dist/servers/admin/index.js.map +1 -1
- package/dist/servers/auth/index.cjs +3 -3
- package/dist/servers/auth/index.cjs.map +1 -1
- package/dist/servers/auth/index.d.cts +1 -1
- package/dist/servers/auth/index.d.ts +1 -1
- package/dist/servers/auth/index.js +3 -3
- package/dist/servers/auth/index.js.map +1 -1
- package/dist/servers/crud/index.cjs +1 -1
- package/dist/servers/crud/index.cjs.map +1 -1
- package/dist/servers/crud/index.d.cts +5 -5
- package/dist/servers/crud/index.d.ts +5 -5
- package/dist/servers/crud/index.js +1 -1
- package/dist/servers/crud/index.js.map +1 -1
- package/dist/servers/hono/index.d.cts +1 -1
- package/dist/servers/hono/index.d.ts +1 -1
- package/dist/servers/index.cjs +74 -74
- package/dist/servers/index.cjs.map +1 -1
- package/dist/servers/index.d.cts +8 -8
- package/dist/servers/index.d.ts +8 -8
- package/dist/servers/index.js +74 -74
- package/dist/servers/index.js.map +1 -1
- package/dist/sync/bigquery.d.cts +2 -2
- package/dist/sync/bigquery.d.ts +2 -2
- package/dist/sync/index.cjs +11 -11
- package/dist/sync/index.cjs.map +1 -1
- package/dist/sync/index.d.cts +5 -5
- package/dist/sync/index.d.ts +5 -5
- package/dist/sync/index.js +11 -11
- package/dist/sync/index.js.map +1 -1
- package/dist/{types-BxsdnGDM.d.cts → types-BwH1C-wi.d.cts} +1 -1
- package/dist/{types-CmSUreTx.d.ts → types-DT7Nypd_.d.ts} +1 -1
- package/dist/{types-C_alF2Xe.d.cts → types-Qd4tuEq9.d.cts} +1 -1
- package/dist/{types-C6I3WtJS.d.ts → types-wzqw45jH.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as SyncQueue } from './queue-
|
|
2
|
-
import { F as FirestoreSyncConfig, S as SyncEvent } from './types-
|
|
3
|
-
import { O as OpenAPIDocument } from './openapi-
|
|
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-
|
|
8
|
-
import { A as AdminServerOptions, a as AdminRepoConfig } from './index-
|
|
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-
|
|
2
|
-
import { F as FirestoreSyncConfig, S as SyncEvent } from './types-
|
|
3
|
-
import { O as OpenAPIDocument } from './openapi-
|
|
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-
|
|
8
|
-
import { A as AdminServerOptions, a as AdminRepoConfig } from './index-
|
|
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-
|
|
4
|
-
import { A as AuthExtension, h as Middleware } from './firebase-auth-
|
|
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-
|
|
4
|
-
import { A as AuthExtension, h as Middleware } from './firebase-auth-
|
|
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;
|