@lpdjs/firestore-repo-service 2.2.4 → 2.2.6

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 (40) hide show
  1. package/README.md +40 -19
  2. package/dist/create-servers-D4-NGpKm.d.ts +105 -0
  3. package/dist/create-servers-DmggzSb3.d.cts +105 -0
  4. package/dist/{index-BiWZwHS_.d.ts → index-Cvip2Sgt.d.ts} +1 -1
  5. package/dist/{index-B3-vAYx0.d.cts → index-DpD4DEqH.d.cts} +1 -1
  6. package/dist/index.cjs +619 -57
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +7 -2
  9. package/dist/index.d.ts +7 -2
  10. package/dist/index.js +619 -57
  11. package/dist/index.js.map +1 -1
  12. package/dist/openapi-B3P2F8op.d.ts +69 -0
  13. package/dist/openapi-UJJ1aCFk.d.cts +69 -0
  14. package/dist/queue-D_-aMf4H.d.ts +52 -0
  15. package/dist/queue-Dk1Ezhkf.d.cts +52 -0
  16. package/dist/servers/admin/index.cjs +547 -75
  17. package/dist/servers/admin/index.cjs.map +1 -1
  18. package/dist/servers/admin/index.d.cts +1 -1
  19. package/dist/servers/admin/index.d.ts +1 -1
  20. package/dist/servers/admin/index.js +547 -75
  21. package/dist/servers/admin/index.js.map +1 -1
  22. package/dist/servers/crud/index.d.cts +5 -69
  23. package/dist/servers/crud/index.d.ts +5 -69
  24. package/dist/servers/index.cjs +637 -75
  25. package/dist/servers/index.cjs.map +1 -1
  26. package/dist/servers/index.d.cts +10 -5
  27. package/dist/servers/index.d.ts +10 -5
  28. package/dist/servers/index.js +637 -75
  29. package/dist/servers/index.js.map +1 -1
  30. package/dist/sync/bigquery.d.cts +1 -1
  31. package/dist/sync/bigquery.d.ts +1 -1
  32. package/dist/sync/index.cjs +33 -33
  33. package/dist/sync/index.cjs.map +1 -1
  34. package/dist/sync/index.d.cts +5 -107
  35. package/dist/sync/index.d.ts +5 -107
  36. package/dist/sync/index.js +33 -33
  37. package/dist/sync/index.js.map +1 -1
  38. package/dist/{types-BbCdscqh.d.cts → types-CX5AbZWV.d.cts} +1 -1
  39. package/dist/{types-BbCdscqh.d.ts → types-CX5AbZWV.d.ts} +1 -1
  40. package/package.json +1 -1
@@ -1,10 +1,15 @@
1
- import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-B3-vAYx0.cjs';
2
- export { A as AdminRepoConfig, a as AdminRepoEntry, b as AdminServerOptions, B as BasicAuthConfig, d as Middleware, M as MiniRouter, e as RepoRegistry, f as RouteHandler, c as createAdminServer } from '../index-B3-vAYx0.cjs';
3
- export { createCrudServer } from './crud/index.cjs';
4
- import { z } from 'zod';
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';
5
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';
5
+ import { z } from 'zod';
6
6
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
7
+ import '../queue-Dk1Ezhkf.cjs';
8
+ import '../types-CX5AbZWV.cjs';
9
+ import 'firebase-functions/v2/firestore';
7
10
  import 'firebase-functions/v2/https';
11
+ import 'firebase-functions/v2/pubsub';
12
+ import '../openapi-UJJ1aCFk.cjs';
8
13
  import 'firebase-admin/firestore';
9
14
 
10
15
  declare function ClientScript(): hono_jsx_jsx_dev_runtime.JSX.Element;
@@ -82,7 +87,7 @@ declare function renderList(repoName: string, docs: Record<string, unknown>[], c
82
87
  hasNext: boolean;
83
88
  prevCursor: string;
84
89
  nextCursor: string;
85
- }, flash?: PageOptions["flash"], columnMeta?: ColumnMeta[], activeFilters?: FilterState[], allowDelete?: boolean, relationalMeta?: RelationalFieldMeta[], sortState?: SortState, currentPageSize?: number, queryError?: QueryError, isGroup?: boolean): string;
90
+ }, 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;
86
91
  declare function renderFormPage(repoName: string, formHtml: string, mode: "create" | "edit", docId: string | null, basePath: string, flash?: PageOptions["flash"]): string;
87
92
 
88
93
  /**
@@ -1,10 +1,15 @@
1
- import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-BiWZwHS_.js';
2
- export { A as AdminRepoConfig, a as AdminRepoEntry, b as AdminServerOptions, B as BasicAuthConfig, d as Middleware, M as MiniRouter, e as RepoRegistry, f as RouteHandler, c as createAdminServer } from '../index-BiWZwHS_.js';
3
- export { createCrudServer } from './crud/index.js';
4
- import { z } from 'zod';
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';
5
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';
5
+ import { z } from 'zod';
6
6
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
7
+ import '../queue-D_-aMf4H.js';
8
+ import '../types-CX5AbZWV.js';
9
+ import 'firebase-functions/v2/firestore';
7
10
  import 'firebase-functions/v2/https';
11
+ import 'firebase-functions/v2/pubsub';
12
+ import '../openapi-B3P2F8op.js';
8
13
  import 'firebase-admin/firestore';
9
14
 
10
15
  declare function ClientScript(): hono_jsx_jsx_dev_runtime.JSX.Element;
@@ -82,7 +87,7 @@ declare function renderList(repoName: string, docs: Record<string, unknown>[], c
82
87
  hasNext: boolean;
83
88
  prevCursor: string;
84
89
  nextCursor: string;
85
- }, flash?: PageOptions["flash"], columnMeta?: ColumnMeta[], activeFilters?: FilterState[], allowDelete?: boolean, relationalMeta?: RelationalFieldMeta[], sortState?: SortState, currentPageSize?: number, queryError?: QueryError, isGroup?: boolean): string;
90
+ }, 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;
86
91
  declare function renderFormPage(repoName: string, formHtml: string, mode: "create" | "edit", docId: string | null, basePath: string, flash?: PageOptions["flash"]): string;
87
92
 
88
93
  /**