@lpdjs/firestore-repo-service 3.0.19 → 3.0.21

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 (44) hide show
  1. package/README.md +1 -1
  2. package/dist/{create-servers-DydjOOOS.d.cts → create-servers-TfGVAXBQ.d.cts} +3 -3
  3. package/dist/{create-servers-bMJVVjPj.d.ts → create-servers-z-dCkmv2.d.ts} +3 -3
  4. package/dist/{effects-BYvL8JUK.d.ts → effects-DLBSYKuA.d.ts} +1 -1
  5. package/dist/{effects-DcM19dy4.d.cts → effects-DsI4cSpI.d.cts} +1 -1
  6. package/dist/index.cjs +108 -102
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +11 -7
  9. package/dist/index.d.ts +11 -7
  10. package/dist/index.js +108 -102
  11. package/dist/index.js.map +1 -1
  12. package/dist/llms-full.txt +5 -5
  13. package/dist/llms.txt +1 -1
  14. package/dist/queue-Bh7O8NnJ.d.ts +117 -0
  15. package/dist/queue-CEg5KSo1.d.cts +117 -0
  16. package/dist/servers/admin/index.cjs +51 -51
  17. package/dist/servers/admin/index.cjs.map +1 -1
  18. package/dist/servers/admin/index.d.cts +9 -1
  19. package/dist/servers/admin/index.d.ts +9 -1
  20. package/dist/servers/admin/index.js +51 -51
  21. package/dist/servers/admin/index.js.map +1 -1
  22. package/dist/servers/crud/index.cjs +1 -1
  23. package/dist/servers/crud/index.cjs.map +1 -1
  24. package/dist/servers/crud/index.d.cts +4 -4
  25. package/dist/servers/crud/index.d.ts +4 -4
  26. package/dist/servers/crud/index.js +1 -1
  27. package/dist/servers/crud/index.js.map +1 -1
  28. package/dist/servers/index.cjs +115 -109
  29. package/dist/servers/index.cjs.map +1 -1
  30. package/dist/servers/index.d.cts +6 -6
  31. package/dist/servers/index.d.ts +6 -6
  32. package/dist/servers/index.js +115 -109
  33. package/dist/servers/index.js.map +1 -1
  34. package/dist/sync/index.cjs +67 -61
  35. package/dist/sync/index.cjs.map +1 -1
  36. package/dist/sync/index.d.cts +2 -2
  37. package/dist/sync/index.d.ts +2 -2
  38. package/dist/sync/index.js +67 -61
  39. package/dist/sync/index.js.map +1 -1
  40. package/dist/{types-5Q7JDDba.d.ts → types-6jjeTvcm.d.ts} +7 -2
  41. package/dist/{types-BYPdlGSL.d.cts → types-BLHo_PdM.d.cts} +7 -2
  42. package/package.json +1 -1
  43. package/dist/queue-NFod6hTT.d.ts +0 -62
  44. package/dist/queue-zw2B7GPx.d.cts +0 -62
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { HttpsOptions } from 'firebase-functions/v2/https';
3
- import { X as RelationalFieldMeta } from '../../types-BYPdlGSL.cjs';
3
+ import { X as RelationalFieldMeta } from '../../types-BLHo_PdM.cjs';
4
4
  import { ConfiguredRepository, FieldRole } from '../../index.cjs';
5
5
  import { SecurityHeadersOptions } from '../index.cjs';
6
6
  import { RepositoryConfig, FieldPath } from '../../index.cjs';
@@ -57,6 +57,8 @@ interface AdminRepoEntry {
57
57
  createFields?: string[];
58
58
  /** Whether delete is allowed (default: false) */
59
59
  allowDelete?: boolean;
60
+ /** Whether bulk backfill is allowed (default: true) */
61
+ allowBackfill?: boolean;
60
62
  /**
61
63
  * Fields that link to another repository.
62
64
  * Populated automatically from the repo's relationalKeys.
@@ -183,6 +185,12 @@ interface AdminRepoConfig<TRepo extends ConfiguredRepository<any> = ConfiguredRe
183
185
  * Default: false — delete is disabled unless explicitly set to true.
184
186
  */
185
187
  allowDelete?: boolean;
188
+ /**
189
+ * Whether to allow bulk system-key backfill for this repository (shows the
190
+ * Backfill action in the list view and enables `POST /:repoName/_bulk/backfill`).
191
+ * Default: true — set to `false` to disable backfill in production.
192
+ */
193
+ allowBackfill?: boolean;
186
194
  /**
187
195
  * Relational action columns appended to the list table.
188
196
  * Each entry adds a dedicated button that navigates to the linked repository.
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { HttpsOptions } from 'firebase-functions/v2/https';
3
- import { X as RelationalFieldMeta } from '../../types-5Q7JDDba.js';
3
+ import { X as RelationalFieldMeta } from '../../types-6jjeTvcm.js';
4
4
  import { ConfiguredRepository, FieldRole } from '../../index.js';
5
5
  import { SecurityHeadersOptions } from '../index.js';
6
6
  import { RepositoryConfig, FieldPath } from '../../index.js';
@@ -57,6 +57,8 @@ interface AdminRepoEntry {
57
57
  createFields?: string[];
58
58
  /** Whether delete is allowed (default: false) */
59
59
  allowDelete?: boolean;
60
+ /** Whether bulk backfill is allowed (default: true) */
61
+ allowBackfill?: boolean;
60
62
  /**
61
63
  * Fields that link to another repository.
62
64
  * Populated automatically from the repo's relationalKeys.
@@ -183,6 +185,12 @@ interface AdminRepoConfig<TRepo extends ConfiguredRepository<any> = ConfiguredRe
183
185
  * Default: false — delete is disabled unless explicitly set to true.
184
186
  */
185
187
  allowDelete?: boolean;
188
+ /**
189
+ * Whether to allow bulk system-key backfill for this repository (shows the
190
+ * Backfill action in the list view and enables `POST /:repoName/_bulk/backfill`).
191
+ * Default: true — set to `false` to disable backfill in production.
192
+ */
193
+ allowBackfill?: boolean;
186
194
  /**
187
195
  * Relational action columns appended to the list table.
188
196
  * Each entry adds a dedicated button that navigates to the linked repository.