@lpdjs/firestore-repo-service 2.6.2-beta.0 → 2.6.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.
- package/dist/{create-servers-CVudVM8e.d.ts → create-servers-BlxW-09M.d.ts} +5 -5
- package/dist/{create-servers-B4GrBqdA.d.cts → create-servers-DoOU7VMv.d.cts} +5 -5
- package/dist/{firebase-auth-Dpvrd8MP.d.cts → firebase-auth-BTclYg-c.d.cts} +8 -4
- package/dist/{firebase-auth-Dpvrd8MP.d.ts → firebase-auth-BTclYg-c.d.ts} +8 -4
- package/dist/{index-oFhGCBrY.d.ts → index-BM1mgnpJ.d.ts} +2 -2
- package/dist/{index-DzO9MfNI.d.cts → index-BuxFmMV8.d.cts} +2 -2
- 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.map +1 -1
- package/dist/{openapi-DB8bXZB-.d.ts → openapi-ChZojCEO.d.ts} +1 -1
- package/dist/{openapi-B2w5tVRR.d.cts → openapi-DpMtzJGo.d.cts} +1 -1
- package/dist/{queue-DYmbVDu5.d.ts → queue-B7uCIF1O.d.ts} +1 -1
- package/dist/{queue-B8YUTnBT.d.cts → queue-QISiqmAy.d.cts} +1 -1
- 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.map +1 -1
- package/dist/servers/auth/index.cjs +2 -2
- 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 +2 -2
- package/dist/servers/auth/index.js.map +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.map +1 -1
- package/dist/servers/index.cjs +34 -34
- 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 +34 -34
- 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.map +1 -1
- package/dist/sync/index.d.cts +5 -5
- package/dist/sync/index.d.ts +5 -5
- package/dist/sync/index.js.map +1 -1
- package/dist/{types-wcX7xfdo.d.cts → types-CCREogoy.d.cts} +1 -1
- package/dist/{types-FLGn8CAI.d.ts → types-CMrrjq1V.d.ts} +1 -1
- package/dist/{types-BHZ-Gk-s.d.ts → types-CeyFvYXO.d.ts} +1 -1
- package/dist/{types-GvexCqrq.d.cts → types-KYdNUffK.d.cts} +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-B7uCIF1O.js';
|
|
2
|
+
import { F as FirestoreSyncConfig, S as SyncEvent } from './types-CMrrjq1V.js';
|
|
3
|
+
import { O as OpenAPIDocument } from './openapi-ChZojCEO.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-CeyFvYXO.js';
|
|
8
|
+
import { A as AdminServerOptions, a as AdminRepoConfig } from './index-BM1mgnpJ.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">;
|
|
@@ -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-QISiqmAy.cjs';
|
|
2
|
+
import { F as FirestoreSyncConfig, S as SyncEvent } from './types-CCREogoy.cjs';
|
|
3
|
+
import { O as OpenAPIDocument } from './openapi-DpMtzJGo.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-KYdNUffK.cjs';
|
|
8
|
+
import { A as AdminServerOptions, a as AdminRepoConfig } from './index-BuxFmMV8.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">;
|
|
@@ -279,10 +279,14 @@ interface FirebaseAuthConfig<TContext = unknown> {
|
|
|
279
279
|
* requests are exempt (a browser never auto-attaches an `Authorization`
|
|
280
280
|
* header, so they are not CSRF-able).
|
|
281
281
|
*
|
|
282
|
-
* Defaults to `true`
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
282
|
+
* **Defaults to `true` only when `sameSite: "None"`** (and not in `bearer`
|
|
283
|
+
* mode). With the default `Lax`/`Strict` cookie the browser already blocks
|
|
284
|
+
* the session cookie on cross-site mutations, so the check is unnecessary
|
|
285
|
+
* and is left off to avoid false positives behind proxies whose `Host`
|
|
286
|
+
* differs from the public origin (e.g. Cloud Functions v2 / Cloud Run).
|
|
287
|
+
* Set to `true` to force the check on regardless of `sameSite`, or `false`
|
|
288
|
+
* to disable it even with `sameSite: "None"` (only if you implement your
|
|
289
|
+
* own CSRF protection upstream).
|
|
286
290
|
*/
|
|
287
291
|
csrfProtection?: boolean;
|
|
288
292
|
/**
|
|
@@ -279,10 +279,14 @@ interface FirebaseAuthConfig<TContext = unknown> {
|
|
|
279
279
|
* requests are exempt (a browser never auto-attaches an `Authorization`
|
|
280
280
|
* header, so they are not CSRF-able).
|
|
281
281
|
*
|
|
282
|
-
* Defaults to `true`
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
282
|
+
* **Defaults to `true` only when `sameSite: "None"`** (and not in `bearer`
|
|
283
|
+
* mode). With the default `Lax`/`Strict` cookie the browser already blocks
|
|
284
|
+
* the session cookie on cross-site mutations, so the check is unnecessary
|
|
285
|
+
* and is left off to avoid false positives behind proxies whose `Host`
|
|
286
|
+
* differs from the public origin (e.g. Cloud Functions v2 / Cloud Run).
|
|
287
|
+
* Set to `true` to force the check on regardless of `sameSite`, or `false`
|
|
288
|
+
* to disable it even with `sameSite: "None"` (only if you implement your
|
|
289
|
+
* own CSRF protection upstream).
|
|
286
290
|
*/
|
|
287
291
|
csrfProtection?: boolean;
|
|
288
292
|
/**
|
|
@@ -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-CeyFvYXO.js';
|
|
4
|
+
import { A as AuthExtension, h as Middleware } from './firebase-auth-BTclYg-c.js';
|
|
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-KYdNUffK.cjs';
|
|
4
|
+
import { A as AuthExtension, h as Middleware } from './firebase-auth-BTclYg-c.cjs';
|
|
5
5
|
|
|
6
6
|
interface PageOptions {
|
|
7
7
|
title: string;
|