@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.
- package/README.md +40 -19
- package/dist/create-servers-D4-NGpKm.d.ts +105 -0
- package/dist/create-servers-DmggzSb3.d.cts +105 -0
- package/dist/{index-BiWZwHS_.d.ts → index-Cvip2Sgt.d.ts} +1 -1
- package/dist/{index-B3-vAYx0.d.cts → index-DpD4DEqH.d.cts} +1 -1
- package/dist/index.cjs +619 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +619 -57
- package/dist/index.js.map +1 -1
- package/dist/openapi-B3P2F8op.d.ts +69 -0
- package/dist/openapi-UJJ1aCFk.d.cts +69 -0
- package/dist/queue-D_-aMf4H.d.ts +52 -0
- package/dist/queue-Dk1Ezhkf.d.cts +52 -0
- package/dist/servers/admin/index.cjs +547 -75
- package/dist/servers/admin/index.cjs.map +1 -1
- package/dist/servers/admin/index.d.cts +1 -1
- package/dist/servers/admin/index.d.ts +1 -1
- package/dist/servers/admin/index.js +547 -75
- package/dist/servers/admin/index.js.map +1 -1
- package/dist/servers/crud/index.d.cts +5 -69
- package/dist/servers/crud/index.d.ts +5 -69
- package/dist/servers/index.cjs +637 -75
- package/dist/servers/index.cjs.map +1 -1
- package/dist/servers/index.d.cts +10 -5
- package/dist/servers/index.d.ts +10 -5
- package/dist/servers/index.js +637 -75
- package/dist/servers/index.js.map +1 -1
- package/dist/sync/bigquery.d.cts +1 -1
- package/dist/sync/bigquery.d.ts +1 -1
- package/dist/sync/index.cjs +33 -33
- package/dist/sync/index.cjs.map +1 -1
- package/dist/sync/index.d.cts +5 -107
- package/dist/sync/index.d.ts +5 -107
- package/dist/sync/index.js +33 -33
- package/dist/sync/index.js.map +1 -1
- package/dist/{types-BbCdscqh.d.cts → types-CX5AbZWV.d.cts} +1 -1
- package/dist/{types-BbCdscqh.d.ts → types-CX5AbZWV.d.ts} +1 -1
- package/package.json +1 -1
package/dist/servers/index.d.cts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export {
|
|
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
|
/**
|
package/dist/servers/index.d.ts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export {
|
|
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
|
/**
|