@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.
- package/dist/{create-servers-DmggzSb3.d.cts → create-servers-B3Ls46bx.d.cts} +3 -3
- package/dist/{create-servers-D4-NGpKm.d.ts → create-servers-CvVZnihM.d.ts} +3 -3
- package/dist/history/index.cjs +2 -0
- package/dist/history/index.cjs.map +1 -0
- package/dist/history/index.d.cts +127 -0
- package/dist/history/index.d.ts +127 -0
- package/dist/history/index.js +2 -0
- package/dist/history/index.js.map +1 -0
- package/dist/{index-DpD4DEqH.d.cts → index-Cw9b1crP.d.cts} +1 -1
- package/dist/{index-Cvip2Sgt.d.ts → index-DGB3Oemk.d.ts} +1 -1
- package/dist/index.cjs +587 -97
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -10
- package/dist/index.d.ts +19 -10
- package/dist/index.js +587 -97
- package/dist/index.js.map +1 -1
- package/dist/{openapi-B3P2F8op.d.ts → openapi-BEf4OuG9.d.ts} +1 -1
- package/dist/{openapi-UJJ1aCFk.d.cts → openapi-D8UTm0lu.d.cts} +1 -1
- package/dist/read-DMvxeFCg.d.cts +232 -0
- package/dist/read-DMvxeFCg.d.ts +232 -0
- package/dist/servers/admin/index.cjs +566 -76
- package/dist/servers/admin/index.cjs.map +1 -1
- package/dist/servers/admin/index.d.cts +4 -2
- package/dist/servers/admin/index.d.ts +4 -2
- package/dist/servers/admin/index.js +566 -76
- package/dist/servers/admin/index.js.map +1 -1
- package/dist/servers/crud/index.d.cts +6 -4
- package/dist/servers/crud/index.d.ts +6 -4
- package/dist/servers/index.cjs +597 -107
- package/dist/servers/index.cjs.map +1 -1
- package/dist/servers/index.d.cts +7 -6
- package/dist/servers/index.d.ts +7 -6
- package/dist/servers/index.js +597 -107
- package/dist/servers/index.js.map +1 -1
- package/dist/{types-Z9Qy8Xmx.d.ts → types-CE1dws32.d.cts} +20 -3
- package/dist/{types-Z9Qy8Xmx.d.cts → types-CjexXskS.d.ts} +20 -3
- package/package.json +14 -1
package/dist/servers/index.d.cts
CHANGED
|
@@ -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-
|
|
2
|
-
import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
/**
|
package/dist/servers/index.d.ts
CHANGED
|
@@ -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-
|
|
2
|
-
import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
/**
|