@lpdjs/firestore-repo-service 2.2.5 → 2.2.7

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 (37) hide show
  1. package/dist/{create-servers-DmggzSb3.d.cts → create-servers-B3Ls46bx.d.cts} +3 -3
  2. package/dist/{create-servers-D4-NGpKm.d.ts → create-servers-CvVZnihM.d.ts} +3 -3
  3. package/dist/history/index.cjs +2 -0
  4. package/dist/history/index.cjs.map +1 -0
  5. package/dist/history/index.d.cts +127 -0
  6. package/dist/history/index.d.ts +127 -0
  7. package/dist/history/index.js +2 -0
  8. package/dist/history/index.js.map +1 -0
  9. package/dist/{index-DpD4DEqH.d.cts → index-Cw9b1crP.d.cts} +1 -1
  10. package/dist/{index-Cvip2Sgt.d.ts → index-DGB3Oemk.d.ts} +1 -1
  11. package/dist/index.cjs +587 -97
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +19 -10
  14. package/dist/index.d.ts +19 -10
  15. package/dist/index.js +587 -97
  16. package/dist/index.js.map +1 -1
  17. package/dist/{openapi-B3P2F8op.d.ts → openapi-BEf4OuG9.d.ts} +1 -1
  18. package/dist/{openapi-UJJ1aCFk.d.cts → openapi-D8UTm0lu.d.cts} +1 -1
  19. package/dist/read-DMvxeFCg.d.cts +232 -0
  20. package/dist/read-DMvxeFCg.d.ts +232 -0
  21. package/dist/servers/admin/index.cjs +566 -76
  22. package/dist/servers/admin/index.cjs.map +1 -1
  23. package/dist/servers/admin/index.d.cts +4 -2
  24. package/dist/servers/admin/index.d.ts +4 -2
  25. package/dist/servers/admin/index.js +566 -76
  26. package/dist/servers/admin/index.js.map +1 -1
  27. package/dist/servers/crud/index.d.cts +6 -4
  28. package/dist/servers/crud/index.d.ts +6 -4
  29. package/dist/servers/index.cjs +597 -107
  30. package/dist/servers/index.cjs.map +1 -1
  31. package/dist/servers/index.d.cts +7 -6
  32. package/dist/servers/index.d.ts +7 -6
  33. package/dist/servers/index.js +597 -107
  34. package/dist/servers/index.js.map +1 -1
  35. package/dist/{types-Z9Qy8Xmx.d.ts → types-CE1dws32.d.cts} +20 -3
  36. package/dist/{types-Z9Qy8Xmx.d.cts → types-CjexXskS.d.ts} +20 -3
  37. package/package.json +14 -1
@@ -1,7 +1,7 @@
1
- export { B as BoundAdminRepoConfig, a as BoundAdminServerOptions, b as BoundCrudRepoConfig, d as BoundCrudServerOptions, e as BoundFirestoreSyncConfig, C as CreateServersDeps, c as createServers } from '../create-servers-DmggzSb3.cjs';
2
- import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-DpD4DEqH.cjs';
3
- export { A as AdminRepoConfig, a as AdminRepoEntry, b as AdminServerOptions, B as BasicAuthConfig, c as Middleware, M as MiniRouter, d as RepoRegistry, e as RouteHandler } from '../index-DpD4DEqH.cjs';
4
- export { A as ApiResponse, l as CrudRepoConfig, r as CrudRepoEntry, s as CrudRepoRegistry, m as CrudServerOptions, n as FieldRole, L as ListResponseData, o as QueryRequestBody, p as RepoFieldPath, q as RepoRelationKeys, U as UserFieldPath } from '../types-Z9Qy8Xmx.cjs';
1
+ export { B as BoundAdminRepoConfig, a as BoundAdminServerOptions, b as BoundCrudRepoConfig, d as BoundCrudServerOptions, e as BoundFirestoreSyncConfig, C as CreateServersDeps, c as createServers } from '../create-servers-B3Ls46bx.cjs';
2
+ import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-Cw9b1crP.cjs';
3
+ export { A as AdminRepoConfig, a as AdminRepoEntry, b as AdminServerOptions, B as BasicAuthConfig, c as Middleware, M as MiniRouter, d as RepoRegistry, e as RouteHandler } from '../index-Cw9b1crP.cjs';
4
+ export { A as ApiResponse, l as CrudRepoConfig, r as CrudRepoEntry, s as CrudRepoRegistry, m as CrudServerOptions, n as FieldRole, L as ListResponseData, o as QueryRequestBody, p as RepoFieldPath, q as RepoRelationKeys, U as UserFieldPath } from '../types-CE1dws32.cjs';
5
5
  import { z } from 'zod';
6
6
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
7
7
  import '../queue-Dk1Ezhkf.cjs';
@@ -9,7 +9,8 @@ import '../types-CX5AbZWV.cjs';
9
9
  import 'firebase-functions/v2/firestore';
10
10
  import 'firebase-functions/v2/https';
11
11
  import 'firebase-functions/v2/pubsub';
12
- import '../openapi-UJJ1aCFk.cjs';
12
+ import '../openapi-D8UTm0lu.cjs';
13
+ import '../read-DMvxeFCg.cjs';
13
14
  import 'firebase-admin/firestore';
14
15
 
15
16
  declare function ClientScript(): hono_jsx_jsx_dev_runtime.JSX.Element;
@@ -87,7 +88,7 @@ declare function renderList(repoName: string, docs: Record<string, unknown>[], c
87
88
  hasNext: boolean;
88
89
  prevCursor: string;
89
90
  nextCursor: string;
90
- }, flash?: PageOptions["flash"], columnMeta?: ColumnMeta[], activeFilters?: FilterState[], allowDelete?: boolean, relationalMeta?: RelationalFieldMeta[], sortState?: SortState, currentPageSize?: number, queryError?: QueryError, isGroup?: boolean): string;
91
+ }, flash?: PageOptions["flash"], columnMeta?: ColumnMeta[], activeFilters?: FilterState[], allowDelete?: boolean, relationalMeta?: RelationalFieldMeta[], sortState?: SortState, currentPageSize?: number, queryError?: QueryError, isGroup?: boolean, totalCount?: number, mutableFields?: string[], schema?: z.ZodObject<any>): string;
91
92
  declare function renderFormPage(repoName: string, formHtml: string, mode: "create" | "edit", docId: string | null, basePath: string, flash?: PageOptions["flash"]): string;
92
93
 
93
94
  /**
@@ -1,7 +1,7 @@
1
- export { B as BoundAdminRepoConfig, a as BoundAdminServerOptions, b as BoundCrudRepoConfig, d as BoundCrudServerOptions, e as BoundFirestoreSyncConfig, C as CreateServersDeps, c as createServers } from '../create-servers-D4-NGpKm.js';
2
- import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-Cvip2Sgt.js';
3
- export { A as AdminRepoConfig, a as AdminRepoEntry, b as AdminServerOptions, B as BasicAuthConfig, c as Middleware, M as MiniRouter, d as RepoRegistry, e as RouteHandler } from '../index-Cvip2Sgt.js';
4
- export { A as ApiResponse, l as CrudRepoConfig, r as CrudRepoEntry, s as CrudRepoRegistry, m as CrudServerOptions, n as FieldRole, L as ListResponseData, o as QueryRequestBody, p as RepoFieldPath, q as RepoRelationKeys, U as UserFieldPath } from '../types-Z9Qy8Xmx.js';
1
+ export { B as BoundAdminRepoConfig, a as BoundAdminServerOptions, b as BoundCrudRepoConfig, d as BoundCrudServerOptions, e as BoundFirestoreSyncConfig, C as CreateServersDeps, c as createServers } from '../create-servers-CvVZnihM.js';
2
+ import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-DGB3Oemk.js';
3
+ export { A as AdminRepoConfig, a as AdminRepoEntry, b as AdminServerOptions, B as BasicAuthConfig, c as Middleware, M as MiniRouter, d as RepoRegistry, e as RouteHandler } from '../index-DGB3Oemk.js';
4
+ export { A as ApiResponse, l as CrudRepoConfig, r as CrudRepoEntry, s as CrudRepoRegistry, m as CrudServerOptions, n as FieldRole, L as ListResponseData, o as QueryRequestBody, p as RepoFieldPath, q as RepoRelationKeys, U as UserFieldPath } from '../types-CjexXskS.js';
5
5
  import { z } from 'zod';
6
6
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
7
7
  import '../queue-D_-aMf4H.js';
@@ -9,7 +9,8 @@ import '../types-CX5AbZWV.js';
9
9
  import 'firebase-functions/v2/firestore';
10
10
  import 'firebase-functions/v2/https';
11
11
  import 'firebase-functions/v2/pubsub';
12
- import '../openapi-B3P2F8op.js';
12
+ import '../openapi-BEf4OuG9.js';
13
+ import '../read-DMvxeFCg.js';
13
14
  import 'firebase-admin/firestore';
14
15
 
15
16
  declare function ClientScript(): hono_jsx_jsx_dev_runtime.JSX.Element;
@@ -87,7 +88,7 @@ declare function renderList(repoName: string, docs: Record<string, unknown>[], c
87
88
  hasNext: boolean;
88
89
  prevCursor: string;
89
90
  nextCursor: string;
90
- }, flash?: PageOptions["flash"], columnMeta?: ColumnMeta[], activeFilters?: FilterState[], allowDelete?: boolean, relationalMeta?: RelationalFieldMeta[], sortState?: SortState, currentPageSize?: number, queryError?: QueryError, isGroup?: boolean): string;
91
+ }, flash?: PageOptions["flash"], columnMeta?: ColumnMeta[], activeFilters?: FilterState[], allowDelete?: boolean, relationalMeta?: RelationalFieldMeta[], sortState?: SortState, currentPageSize?: number, queryError?: QueryError, isGroup?: boolean, totalCount?: number, mutableFields?: string[], schema?: z.ZodObject<any>): string;
91
92
  declare function renderFormPage(repoName: string, formHtml: string, mode: "create" | "edit", docId: string | null, basePath: string, flash?: PageOptions["flash"]): string;
92
93
 
93
94
  /**