@lpdjs/firestore-repo-service 2.6.44 → 2.6.45
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-DDHHOqOW.d.ts → create-servers-BjhepKI6.d.ts} +3 -3
- package/dist/{create-servers-DmQNkgM_.d.cts → create-servers-DSLJF9cm.d.cts} +3 -3
- package/dist/{index-bkOZzCvS.d.cts → index-BwN1OK3P.d.cts} +1 -1
- package/dist/{index-qSs2G4CW.d.ts → index-Df6FAq2n.d.ts} +1 -1
- package/dist/index.cjs +30 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +30 -30
- package/dist/index.js.map +1 -1
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/{openapi-B_2O8iJW.d.cts → openapi-CC8PXZ3R.d.cts} +1 -1
- package/dist/{openapi-DBi6hg2V.d.ts → openapi-DuBKOatd.d.ts} +1 -1
- package/dist/servers/admin/index.d.cts +2 -2
- package/dist/servers/admin/index.d.ts +2 -2
- package/dist/servers/crud/index.d.cts +4 -4
- package/dist/servers/crud/index.d.ts +4 -4
- package/dist/servers/index.d.cts +5 -5
- package/dist/servers/index.d.ts +5 -5
- package/dist/{types-DnycnK_G.d.ts → types-BEel_BJZ.d.ts} +11 -1
- package/dist/{types-BRS75oO7.d.cts → types-BQKFWe40.d.cts} +11 -1
- package/package.json +1 -1
package/dist/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @lpdjs/firestore-repo-service (v2.6.
|
|
1
|
+
# @lpdjs/firestore-repo-service (v2.6.45) — full documentation
|
|
2
2
|
|
|
3
3
|
> ⚡ Type-safe Firestore ORM with auto-generated repositories, advanced queries, relations with typed select, pagination with include, batch/bulk operations, aggregations and transactions.
|
|
4
4
|
|
package/dist/llms.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @lpdjs/firestore-repo-service (v2.6.
|
|
1
|
+
# @lpdjs/firestore-repo-service (v2.6.45)
|
|
2
2
|
|
|
3
3
|
> ⚡ Type-safe Firestore ORM with auto-generated repositories, advanced queries, relations with typed select, pagination with include, batch/bulk operations, aggregations and transactions.
|
|
4
4
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'zod';
|
|
2
2
|
import 'firebase-functions/v2/https';
|
|
3
|
-
import '../../types-
|
|
3
|
+
import '../../types-BQKFWe40.cjs';
|
|
4
4
|
export { h as Middleware, M as MiniRouter, R as RouteHandler } from '../../firebase-auth-DZ8lb2Ec.cjs';
|
|
5
|
-
export { a as AdminRepoConfig, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry, d as createAdminServer } from '../../index-
|
|
5
|
+
export { a as AdminRepoConfig, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry, d as createAdminServer } from '../../index-BwN1OK3P.cjs';
|
|
6
6
|
import '../../types-B4dMmfet.cjs';
|
|
7
7
|
import 'hono';
|
|
8
8
|
import '../../read-CTWZjxyh.cjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'zod';
|
|
2
2
|
import 'firebase-functions/v2/https';
|
|
3
|
-
import '../../types-
|
|
3
|
+
import '../../types-BEel_BJZ.js';
|
|
4
4
|
export { h as Middleware, M as MiniRouter, R as RouteHandler } from '../../firebase-auth-DZ8lb2Ec.js';
|
|
5
|
-
export { a as AdminRepoConfig, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry, d as createAdminServer } from '../../index-
|
|
5
|
+
export { a as AdminRepoConfig, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry, d as createAdminServer } from '../../index-Df6FAq2n.js';
|
|
6
6
|
import '../../types-DyKJJ9UQ.js';
|
|
7
7
|
import 'hono';
|
|
8
8
|
import '../../read-CTWZjxyh.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HttpsOptions } from 'firebase-functions/v2/https';
|
|
2
|
-
import { C as ConfiguredRepository, a as CrudServerOptions } from '../../types-
|
|
3
|
-
export { A as ApiResponse, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, F as FieldRole, L as ListResponseData, O as OpenAPISpecOptions, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, U as UserFieldPath } from '../../types-
|
|
4
|
-
import { O as OpenAPIDocument } from '../../openapi-
|
|
5
|
-
export { g as generateOpenAPISpec } from '../../openapi-
|
|
2
|
+
import { C as ConfiguredRepository, a as CrudServerOptions } from '../../types-BQKFWe40.cjs';
|
|
3
|
+
export { A as ApiResponse, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, F as FieldRole, L as ListResponseData, O as OpenAPISpecOptions, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, U as UserFieldPath } from '../../types-BQKFWe40.cjs';
|
|
4
|
+
import { O as OpenAPIDocument } from '../../openapi-CC8PXZ3R.cjs';
|
|
5
|
+
export { g as generateOpenAPISpec } from '../../openapi-CC8PXZ3R.cjs';
|
|
6
6
|
import '../../firebase-auth-DZ8lb2Ec.cjs';
|
|
7
7
|
import '../../types-B4dMmfet.cjs';
|
|
8
8
|
import 'zod';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HttpsOptions } from 'firebase-functions/v2/https';
|
|
2
|
-
import { C as ConfiguredRepository, a as CrudServerOptions } from '../../types-
|
|
3
|
-
export { A as ApiResponse, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, F as FieldRole, L as ListResponseData, O as OpenAPISpecOptions, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, U as UserFieldPath } from '../../types-
|
|
4
|
-
import { O as OpenAPIDocument } from '../../openapi-
|
|
5
|
-
export { g as generateOpenAPISpec } from '../../openapi-
|
|
2
|
+
import { C as ConfiguredRepository, a as CrudServerOptions } from '../../types-BEel_BJZ.js';
|
|
3
|
+
export { A as ApiResponse, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, F as FieldRole, L as ListResponseData, O as OpenAPISpecOptions, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, U as UserFieldPath } from '../../types-BEel_BJZ.js';
|
|
4
|
+
import { O as OpenAPIDocument } from '../../openapi-DuBKOatd.js';
|
|
5
|
+
export { g as generateOpenAPISpec } from '../../openapi-DuBKOatd.js';
|
|
6
6
|
import '../../firebase-auth-DZ8lb2Ec.js';
|
|
7
7
|
import '../../types-DyKJJ9UQ.js';
|
|
8
8
|
import 'zod';
|
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, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry } from '../index-
|
|
4
|
-
export { A as ApiResponse, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, a as CrudServerOptions, D as DEFAULT_HTML_CSP, F as FieldRole, L as ListResponseData, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, S as SecurityHeadersOptions, U as UserFieldPath, s as securityHeaders } 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-DSLJF9cm.cjs';
|
|
2
|
+
import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-BwN1OK3P.cjs';
|
|
3
|
+
export { a as AdminRepoConfig, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry } from '../index-BwN1OK3P.cjs';
|
|
4
|
+
export { A as ApiResponse, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, a as CrudServerOptions, D as DEFAULT_HTML_CSP, F as FieldRole, L as ListResponseData, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, S as SecurityHeadersOptions, U as UserFieldPath, s as securityHeaders } from '../types-BQKFWe40.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
export { h as Middleware, M as MiniRouter, R as RouteHandler } from '../firebase-auth-DZ8lb2Ec.cjs';
|
|
7
7
|
import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
|
|
@@ -10,7 +10,7 @@ import '../types-BwH1C-wi.cjs';
|
|
|
10
10
|
import 'firebase-functions/v2/firestore';
|
|
11
11
|
import 'firebase-functions/v2/https';
|
|
12
12
|
import 'firebase-functions/v2/pubsub';
|
|
13
|
-
import '../openapi-
|
|
13
|
+
import '../openapi-CC8PXZ3R.cjs';
|
|
14
14
|
import '../read-CTWZjxyh.cjs';
|
|
15
15
|
import 'firebase-admin/firestore';
|
|
16
16
|
import '../types-B4dMmfet.cjs';
|
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, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry } from '../index-
|
|
4
|
-
export { A as ApiResponse, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, a as CrudServerOptions, D as DEFAULT_HTML_CSP, F as FieldRole, L as ListResponseData, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, S as SecurityHeadersOptions, U as UserFieldPath, s as securityHeaders } 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-BjhepKI6.js';
|
|
2
|
+
import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-Df6FAq2n.js';
|
|
3
|
+
export { a as AdminRepoConfig, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry } from '../index-Df6FAq2n.js';
|
|
4
|
+
export { A as ApiResponse, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, a as CrudServerOptions, D as DEFAULT_HTML_CSP, F as FieldRole, L as ListResponseData, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, S as SecurityHeadersOptions, U as UserFieldPath, s as securityHeaders } from '../types-BEel_BJZ.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
export { h as Middleware, M as MiniRouter, R as RouteHandler } from '../firebase-auth-DZ8lb2Ec.js';
|
|
7
7
|
import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
|
|
@@ -10,7 +10,7 @@ import '../types-DT7Nypd_.js';
|
|
|
10
10
|
import 'firebase-functions/v2/firestore';
|
|
11
11
|
import 'firebase-functions/v2/https';
|
|
12
12
|
import 'firebase-functions/v2/pubsub';
|
|
13
|
-
import '../openapi-
|
|
13
|
+
import '../openapi-DuBKOatd.js';
|
|
14
14
|
import '../read-CTWZjxyh.js';
|
|
15
15
|
import 'firebase-admin/firestore';
|
|
16
16
|
import '../types-DyKJJ9UQ.js';
|
|
@@ -477,7 +477,17 @@ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (
|
|
|
477
477
|
* @internal
|
|
478
478
|
*/
|
|
479
479
|
type GenerateGetMethods<TConfig extends RepositoryConfig<any, any, any, any, any, any, any, any, any, any, any>> = {
|
|
480
|
-
[K in TConfig["foreignKeys"][number] as K extends string ? `by${Capitalize<K>}` : never]:
|
|
480
|
+
[K in TConfig["foreignKeys"][number] as K extends string ? `by${Capitalize<K>}` : never]: K extends TConfig["documentKey"] ? <ReturnDoc extends boolean = false>(...args: [
|
|
481
|
+
...Parameters<TConfig["documentRef"]>,
|
|
482
|
+
(ReturnDoc | (GetOptions<TConfig["type"]> & {
|
|
483
|
+
returnDoc?: ReturnDoc;
|
|
484
|
+
}))?
|
|
485
|
+
] | [
|
|
486
|
+
TConfig["type"][K extends keyof TConfig["type"] ? K : never],
|
|
487
|
+
(ReturnDoc | (GetOptions<TConfig["type"]> & {
|
|
488
|
+
returnDoc?: ReturnDoc;
|
|
489
|
+
}))?
|
|
490
|
+
]) => Promise<GetResult<TConfig["type"], ReturnDoc>> : <ReturnDoc extends boolean = false>(value: TConfig["type"][K extends keyof TConfig["type"] ? K : never], options?: ReturnDoc | (GetOptions<TConfig["type"]> & {
|
|
481
491
|
returnDoc?: ReturnDoc;
|
|
482
492
|
})) => Promise<GetResult<TConfig["type"], ReturnDoc>>;
|
|
483
493
|
};
|
|
@@ -477,7 +477,17 @@ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (
|
|
|
477
477
|
* @internal
|
|
478
478
|
*/
|
|
479
479
|
type GenerateGetMethods<TConfig extends RepositoryConfig<any, any, any, any, any, any, any, any, any, any, any>> = {
|
|
480
|
-
[K in TConfig["foreignKeys"][number] as K extends string ? `by${Capitalize<K>}` : never]:
|
|
480
|
+
[K in TConfig["foreignKeys"][number] as K extends string ? `by${Capitalize<K>}` : never]: K extends TConfig["documentKey"] ? <ReturnDoc extends boolean = false>(...args: [
|
|
481
|
+
...Parameters<TConfig["documentRef"]>,
|
|
482
|
+
(ReturnDoc | (GetOptions<TConfig["type"]> & {
|
|
483
|
+
returnDoc?: ReturnDoc;
|
|
484
|
+
}))?
|
|
485
|
+
] | [
|
|
486
|
+
TConfig["type"][K extends keyof TConfig["type"] ? K : never],
|
|
487
|
+
(ReturnDoc | (GetOptions<TConfig["type"]> & {
|
|
488
|
+
returnDoc?: ReturnDoc;
|
|
489
|
+
}))?
|
|
490
|
+
]) => Promise<GetResult<TConfig["type"], ReturnDoc>> : <ReturnDoc extends boolean = false>(value: TConfig["type"][K extends keyof TConfig["type"] ? K : never], options?: ReturnDoc | (GetOptions<TConfig["type"]> & {
|
|
481
491
|
returnDoc?: ReturnDoc;
|
|
482
492
|
})) => Promise<GetResult<TConfig["type"], ReturnDoc>>;
|
|
483
493
|
};
|