@lpdjs/firestore-repo-service 3.0.12 → 3.0.13
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 +27 -14
- package/dist/{create-servers-BaCe3x4U.d.ts → create-servers-Db1xUY2N.d.ts} +4 -4
- package/dist/{create-servers-C_UOfc_Z.d.cts → create-servers-LyRLAOh3.d.cts} +4 -4
- package/dist/history/index.cjs +1 -1
- package/dist/history/index.cjs.map +1 -1
- package/dist/history/index.js +1 -1
- package/dist/history/index.js.map +1 -1
- package/dist/index.cjs +62 -62
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -15
- package/dist/index.d.ts +19 -15
- package/dist/index.js +62 -62
- package/dist/index.js.map +1 -1
- package/dist/llms-full.txt +36 -23
- package/dist/llms.txt +2 -2
- package/dist/{openapi-BJdsB8kh.d.ts → openapi-CNIA7QRw.d.ts} +1 -1
- package/dist/{openapi-D4xT2ilq.d.cts → openapi-QVpqnnes.d.cts} +1 -1
- package/dist/{queue-CVnFz30E.d.ts → queue-BEB-ujA3.d.ts} +1 -1
- package/dist/{queue-z04IR_Jq.d.cts → queue-CpHe6M5j.d.cts} +1 -1
- package/dist/{rules-CEYrlE4J.d.cts → rules-Bu2NB7Eb.d.cts} +1 -1
- package/dist/{rules-Dw-Pz8p3.d.ts → rules-Cafrkb9v.d.ts} +1 -1
- package/dist/servers/admin/index.cjs +26 -26
- package/dist/servers/admin/index.cjs.map +1 -1
- package/dist/servers/admin/index.d.cts +3 -1
- package/dist/servers/admin/index.d.ts +3 -1
- package/dist/servers/admin/index.js +26 -26
- package/dist/servers/admin/index.js.map +1 -1
- package/dist/servers/crud/index.cjs +2 -2
- package/dist/servers/crud/index.cjs.map +1 -1
- package/dist/servers/crud/index.d.cts +6 -6
- package/dist/servers/crud/index.d.ts +6 -6
- package/dist/servers/crud/index.js +2 -2
- package/dist/servers/crud/index.js.map +1 -1
- package/dist/servers/index.cjs +55 -55
- package/dist/servers/index.cjs.map +1 -1
- package/dist/servers/index.d.cts +8 -8
- package/dist/servers/index.d.ts +8 -8
- package/dist/servers/index.js +55 -55
- 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 +41 -41
- package/dist/sync/index.cjs.map +1 -1
- package/dist/sync/index.d.cts +5 -5
- package/dist/sync/index.d.ts +5 -5
- package/dist/sync/index.js +41 -41
- package/dist/sync/index.js.map +1 -1
- package/dist/sync/meilisearch.d.cts +1 -1
- package/dist/sync/meilisearch.d.ts +1 -1
- package/dist/{types-BFbzLuFf.d.cts → types-B51LYvQZ.d.cts} +48 -5
- package/dist/{types-DsTJZOfr.d.cts → types-CNseHqF7.d.cts} +4 -2
- package/dist/{types-Ds9DUc21.d.ts → types-Ci0dGbuW.d.ts} +48 -5
- package/dist/{types-fY1XOBeT.d.ts → types-DGQURFSq.d.ts} +1 -1
- package/dist/{types-YP53OtiU.d.ts → types-DmXW_fVz.d.ts} +4 -2
- package/dist/{types-_lql12Ez.d.cts → types-VVuLlmfc.d.cts} +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HistoryConfigForModel } from './history/index.cjs';
|
|
2
2
|
import { Query, QuerySnapshot, Firestore } from 'firebase-admin/firestore';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { Q as QueryOptions, R as RepositoryConfig, a as RelationConfig } from './types-
|
|
5
|
-
export { D as DeepPartial, b as DotNotationUpdate, E as ExtractDocumentRefSignature, c as ExtractUpdateSignature, F as FieldPath, G as GetOptions,
|
|
6
|
-
import { r as PaginationOptions, C as ConfiguredRepository } from './types-
|
|
7
|
-
export { A as ApiResponse, b as CrudRepoConfig, a as CrudServerOptions, F as FieldRole, G as GenerateGetMethods, t as GenerateQueryMethods, u as IncludeConfigTyped, L as ListResponseData, v as PaginationResult, w as PaginationWithIncludeOptionsTyped, x as PopulateOptionsTyped, Q as QueryRequestBody, R as RepoFieldPath, h as RepoRelationKeys, y as SystemBackfillFailure, z as SystemBackfillOptions, B as SystemBackfillResult, E as UpdatableData, U as UserFieldPath, H as createPaginationIterator, J as executePaginatedQuery } from './types-
|
|
8
|
-
export { B as BoundAdminRepoConfig, a as BoundAdminServerOptions, b as BoundCrudRepoConfig, c as BoundCrudServerOptions, d as BoundFirestoreSyncConfig, C as CreateServersDeps, e as createServers } from './create-servers-
|
|
4
|
+
import { Q as QueryOptions, R as RepositoryConfig, a as RelationConfig, V as ValidatedPath } from './types-B51LYvQZ.cjs';
|
|
5
|
+
export { D as DeepPartial, b as DotNotationUpdate, E as ExtractDocumentRefSignature, c as ExtractParentParams, d as ExtractPathParams, e as ExtractUpdateSignature, F as FieldPath, G as GetOptions, f as GetResult, I as InvalidPathParams, P as PathParamsToArgsTuple, g as RelationalKeys, W as WhereClause } from './types-B51LYvQZ.cjs';
|
|
6
|
+
import { r as PaginationOptions, C as ConfiguredRepository } from './types-CNseHqF7.cjs';
|
|
7
|
+
export { A as ApiResponse, b as CrudRepoConfig, a as CrudServerOptions, F as FieldRole, G as GenerateGetMethods, t as GenerateQueryMethods, u as IncludeConfigTyped, L as ListResponseData, v as PaginationResult, w as PaginationWithIncludeOptionsTyped, x as PopulateOptionsTyped, Q as QueryRequestBody, R as RepoFieldPath, h as RepoRelationKeys, y as SystemBackfillFailure, z as SystemBackfillOptions, B as SystemBackfillResult, E as UpdatableData, U as UserFieldPath, H as createPaginationIterator, J as executePaginatedQuery } from './types-CNseHqF7.cjs';
|
|
8
|
+
export { B as BoundAdminRepoConfig, a as BoundAdminServerOptions, b as BoundCrudRepoConfig, c as BoundCrudServerOptions, d as BoundFirestoreSyncConfig, C as CreateServersDeps, e as createServers } from './create-servers-LyRLAOh3.cjs';
|
|
9
9
|
export { AdminRepoConfig, AdminRepoEntry, AdminServerOptions, BasicAuthConfig } from './servers/admin/index.cjs';
|
|
10
10
|
export { h as MiniRouter } from './firebase-auth-nG3prKoj.cjs';
|
|
11
11
|
import 'firebase-functions/v2/firestore';
|
|
@@ -13,10 +13,10 @@ import './types-o-9qoExc.cjs';
|
|
|
13
13
|
import 'hono';
|
|
14
14
|
import 'firebase-functions/v2/https';
|
|
15
15
|
import './read-B15YaPyR.cjs';
|
|
16
|
-
import './queue-
|
|
17
|
-
import './types-
|
|
16
|
+
import './queue-CpHe6M5j.cjs';
|
|
17
|
+
import './types-VVuLlmfc.cjs';
|
|
18
18
|
import 'firebase-functions/v2/pubsub';
|
|
19
|
-
import './openapi-
|
|
19
|
+
import './openapi-QVpqnnes.cjs';
|
|
20
20
|
import './sync/meilisearch.cjs';
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -129,8 +129,8 @@ declare function normalizeTimestamps<T>(value: T): T;
|
|
|
129
129
|
* const repos = createRepositoryMapping(() => db, mapping);
|
|
130
130
|
* ```
|
|
131
131
|
*/
|
|
132
|
-
declare function createRepositoryConfig<TSchema extends z.ZodObject<any>>(schema: TSchema): <const TForeignKeys extends readonly (keyof z.infer<TSchema>)[], const TQueryKeys extends readonly (keyof z.infer<TSchema>)[], const TIsGroup extends boolean, const TDocumentKey extends keyof z.infer<TSchema>, const TPathKey extends keyof z.infer<TSchema> | undefined = undefined, const TCreatedKey extends keyof z.infer<TSchema> | undefined = undefined, const TUpdatedKey extends keyof z.infer<TSchema> | undefined = undefined, const THistoryEnabled extends boolean = false, TRefCb = undefined>(config: {
|
|
133
|
-
path:
|
|
132
|
+
declare function createRepositoryConfig<TSchema extends z.ZodObject<any>>(schema: TSchema): <const TForeignKeys extends readonly (keyof z.infer<TSchema>)[], const TQueryKeys extends readonly (keyof z.infer<TSchema>)[], const TIsGroup extends boolean, const TDocumentKey extends keyof z.infer<TSchema>, const TPath extends string = string, const TPathKey extends keyof z.infer<TSchema> | undefined = undefined, const TCreatedKey extends keyof z.infer<TSchema> | undefined = undefined, const TUpdatedKey extends keyof z.infer<TSchema> | undefined = undefined, const THistoryEnabled extends boolean = false, TRefCb = undefined>(config: {
|
|
133
|
+
path: ValidatedPath<TPath, z.infer<TSchema>>;
|
|
134
134
|
isGroup: TIsGroup;
|
|
135
135
|
foreignKeys: TForeignKeys;
|
|
136
136
|
queryKeys: TQueryKeys;
|
|
@@ -138,7 +138,11 @@ declare function createRepositoryConfig<TSchema extends z.ZodObject<any>>(schema
|
|
|
138
138
|
pathKey?: TPathKey;
|
|
139
139
|
createdKey?: TCreatedKey;
|
|
140
140
|
updatedKey?: TUpdatedKey;
|
|
141
|
-
|
|
141
|
+
/**
|
|
142
|
+
* @deprecated `refCb` is no longer needed — `documentRef` is automatically generated from `path`
|
|
143
|
+
* (e.g. `path: "residences/{residenceId}/res_events"`). Kept optional for backward compatibility.
|
|
144
|
+
*/
|
|
145
|
+
refCb?: TRefCb;
|
|
142
146
|
/**
|
|
143
147
|
* Optional change-history configuration. Set `enabled: true` to expose
|
|
144
148
|
* `repo.history.*` and have `createHistoryTriggers(...)` register a trigger
|
|
@@ -147,7 +151,7 @@ declare function createRepositoryConfig<TSchema extends z.ZodObject<any>>(schema
|
|
|
147
151
|
history?: HistoryConfigForModel<z.infer<TSchema>> & {
|
|
148
152
|
enabled: THistoryEnabled;
|
|
149
153
|
};
|
|
150
|
-
}) => RepositoryConfig<z.infer<TSchema>, TForeignKeys, TQueryKeys, TIsGroup, TRefCb, {}, TDocumentKey, TPathKey, TCreatedKey, TUpdatedKey, THistoryEnabled> & {
|
|
154
|
+
}) => RepositoryConfig<z.infer<TSchema>, TForeignKeys, TQueryKeys, TIsGroup, TRefCb, {}, TDocumentKey, TPathKey, TCreatedKey, TUpdatedKey, THistoryEnabled, TPath> & {
|
|
151
155
|
schema: TSchema;
|
|
152
156
|
};
|
|
153
157
|
/**
|
|
@@ -214,9 +218,9 @@ declare function buildRepositoryRelations<TMapping extends Record<string, any>,
|
|
|
214
218
|
}[keyof TMapping];
|
|
215
219
|
} : never;
|
|
216
220
|
}>(mapping: TMapping, relations: TRelations): {
|
|
217
|
-
[K in keyof TMapping]: K extends keyof TRelations ? TMapping[K] extends RepositoryConfig<infer T, infer TForeignKeys, infer TQueryKeys, infer TIsGroup, infer TRefCb, any, infer TDocumentKey, infer TPathKey, infer TCreatedKey, infer TUpdatedKey, infer THistoryEnabled> ? RepositoryConfig<T, TForeignKeys, TQueryKeys, TIsGroup, TRefCb, {
|
|
221
|
+
[K in keyof TMapping]: K extends keyof TRelations ? TMapping[K] extends RepositoryConfig<infer T, infer TForeignKeys, infer TQueryKeys, infer TIsGroup, infer TRefCb, any, infer TDocumentKey, infer TPathKey, infer TCreatedKey, infer TUpdatedKey, infer THistoryEnabled, infer TPath> ? RepositoryConfig<T, TForeignKeys, TQueryKeys, TIsGroup, TRefCb, {
|
|
218
222
|
[RK in keyof TRelations[K]]: ResolveRelation<TMapping, TRelations[K][RK]>;
|
|
219
|
-
}, TDocumentKey, TPathKey, TCreatedKey, TUpdatedKey, THistoryEnabled> : TMapping[K] : TMapping[K];
|
|
223
|
+
}, TDocumentKey, TPathKey, TCreatedKey, TUpdatedKey, THistoryEnabled, TPath> : TMapping[K] : TMapping[K];
|
|
220
224
|
};
|
|
221
225
|
/**
|
|
222
226
|
* Repository mapping class that manages Firestore repositories with type safety
|
|
@@ -303,5 +307,5 @@ declare function createRepositoryMapping<T extends Record<string, any>>(dbFactor
|
|
|
303
307
|
[K in keyof T]: ConfiguredRepository<T[K]>;
|
|
304
308
|
};
|
|
305
309
|
|
|
306
|
-
export { ConfiguredRepository, PaginationOptions, QueryOptions, RelationConfig, RepositoryConfig, RepositoryMapping, applyQueryOptions as applyPaginationQueryOptions, buildAndCountQuery, buildAndExecuteQuery, buildRepositoryRelations, coerceToDate, createRepositoryConfig, createRepositoryMapping, getDateHandling, normalizeTimestamps, setDateHandling };
|
|
310
|
+
export { ConfiguredRepository, PaginationOptions, QueryOptions, RelationConfig, RepositoryConfig, RepositoryMapping, ValidatedPath, applyQueryOptions as applyPaginationQueryOptions, buildAndCountQuery, buildAndExecuteQuery, buildRepositoryRelations, coerceToDate, createRepositoryConfig, createRepositoryMapping, getDateHandling, normalizeTimestamps, setDateHandling };
|
|
307
311
|
export type { DateHandlingMode, IncludeConfig, PaginationWithIncludeOptions, PopulateOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HistoryConfigForModel } from './history/index.js';
|
|
2
2
|
import { Query, QuerySnapshot, Firestore } from 'firebase-admin/firestore';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { Q as QueryOptions, R as RepositoryConfig, a as RelationConfig } from './types-
|
|
5
|
-
export { D as DeepPartial, b as DotNotationUpdate, E as ExtractDocumentRefSignature, c as ExtractUpdateSignature, F as FieldPath, G as GetOptions,
|
|
6
|
-
import { r as PaginationOptions, C as ConfiguredRepository } from './types-
|
|
7
|
-
export { A as ApiResponse, b as CrudRepoConfig, a as CrudServerOptions, F as FieldRole, G as GenerateGetMethods, t as GenerateQueryMethods, u as IncludeConfigTyped, L as ListResponseData, v as PaginationResult, w as PaginationWithIncludeOptionsTyped, x as PopulateOptionsTyped, Q as QueryRequestBody, R as RepoFieldPath, h as RepoRelationKeys, y as SystemBackfillFailure, z as SystemBackfillOptions, B as SystemBackfillResult, E as UpdatableData, U as UserFieldPath, H as createPaginationIterator, J as executePaginatedQuery } from './types-
|
|
8
|
-
export { B as BoundAdminRepoConfig, a as BoundAdminServerOptions, b as BoundCrudRepoConfig, c as BoundCrudServerOptions, d as BoundFirestoreSyncConfig, C as CreateServersDeps, e as createServers } from './create-servers-
|
|
4
|
+
import { Q as QueryOptions, R as RepositoryConfig, a as RelationConfig, V as ValidatedPath } from './types-Ci0dGbuW.js';
|
|
5
|
+
export { D as DeepPartial, b as DotNotationUpdate, E as ExtractDocumentRefSignature, c as ExtractParentParams, d as ExtractPathParams, e as ExtractUpdateSignature, F as FieldPath, G as GetOptions, f as GetResult, I as InvalidPathParams, P as PathParamsToArgsTuple, g as RelationalKeys, W as WhereClause } from './types-Ci0dGbuW.js';
|
|
6
|
+
import { r as PaginationOptions, C as ConfiguredRepository } from './types-DmXW_fVz.js';
|
|
7
|
+
export { A as ApiResponse, b as CrudRepoConfig, a as CrudServerOptions, F as FieldRole, G as GenerateGetMethods, t as GenerateQueryMethods, u as IncludeConfigTyped, L as ListResponseData, v as PaginationResult, w as PaginationWithIncludeOptionsTyped, x as PopulateOptionsTyped, Q as QueryRequestBody, R as RepoFieldPath, h as RepoRelationKeys, y as SystemBackfillFailure, z as SystemBackfillOptions, B as SystemBackfillResult, E as UpdatableData, U as UserFieldPath, H as createPaginationIterator, J as executePaginatedQuery } from './types-DmXW_fVz.js';
|
|
8
|
+
export { B as BoundAdminRepoConfig, a as BoundAdminServerOptions, b as BoundCrudRepoConfig, c as BoundCrudServerOptions, d as BoundFirestoreSyncConfig, C as CreateServersDeps, e as createServers } from './create-servers-Db1xUY2N.js';
|
|
9
9
|
export { AdminRepoConfig, AdminRepoEntry, AdminServerOptions, BasicAuthConfig } from './servers/admin/index.js';
|
|
10
10
|
export { h as MiniRouter } from './firebase-auth-nG3prKoj.js';
|
|
11
11
|
import 'firebase-functions/v2/firestore';
|
|
@@ -13,10 +13,10 @@ import './types-D3W_RaDA.js';
|
|
|
13
13
|
import 'hono';
|
|
14
14
|
import 'firebase-functions/v2/https';
|
|
15
15
|
import './read-15-TcgCz.js';
|
|
16
|
-
import './queue-
|
|
17
|
-
import './types-
|
|
16
|
+
import './queue-BEB-ujA3.js';
|
|
17
|
+
import './types-DGQURFSq.js';
|
|
18
18
|
import 'firebase-functions/v2/pubsub';
|
|
19
|
-
import './openapi-
|
|
19
|
+
import './openapi-CNIA7QRw.js';
|
|
20
20
|
import './sync/meilisearch.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -129,8 +129,8 @@ declare function normalizeTimestamps<T>(value: T): T;
|
|
|
129
129
|
* const repos = createRepositoryMapping(() => db, mapping);
|
|
130
130
|
* ```
|
|
131
131
|
*/
|
|
132
|
-
declare function createRepositoryConfig<TSchema extends z.ZodObject<any>>(schema: TSchema): <const TForeignKeys extends readonly (keyof z.infer<TSchema>)[], const TQueryKeys extends readonly (keyof z.infer<TSchema>)[], const TIsGroup extends boolean, const TDocumentKey extends keyof z.infer<TSchema>, const TPathKey extends keyof z.infer<TSchema> | undefined = undefined, const TCreatedKey extends keyof z.infer<TSchema> | undefined = undefined, const TUpdatedKey extends keyof z.infer<TSchema> | undefined = undefined, const THistoryEnabled extends boolean = false, TRefCb = undefined>(config: {
|
|
133
|
-
path:
|
|
132
|
+
declare function createRepositoryConfig<TSchema extends z.ZodObject<any>>(schema: TSchema): <const TForeignKeys extends readonly (keyof z.infer<TSchema>)[], const TQueryKeys extends readonly (keyof z.infer<TSchema>)[], const TIsGroup extends boolean, const TDocumentKey extends keyof z.infer<TSchema>, const TPath extends string = string, const TPathKey extends keyof z.infer<TSchema> | undefined = undefined, const TCreatedKey extends keyof z.infer<TSchema> | undefined = undefined, const TUpdatedKey extends keyof z.infer<TSchema> | undefined = undefined, const THistoryEnabled extends boolean = false, TRefCb = undefined>(config: {
|
|
133
|
+
path: ValidatedPath<TPath, z.infer<TSchema>>;
|
|
134
134
|
isGroup: TIsGroup;
|
|
135
135
|
foreignKeys: TForeignKeys;
|
|
136
136
|
queryKeys: TQueryKeys;
|
|
@@ -138,7 +138,11 @@ declare function createRepositoryConfig<TSchema extends z.ZodObject<any>>(schema
|
|
|
138
138
|
pathKey?: TPathKey;
|
|
139
139
|
createdKey?: TCreatedKey;
|
|
140
140
|
updatedKey?: TUpdatedKey;
|
|
141
|
-
|
|
141
|
+
/**
|
|
142
|
+
* @deprecated `refCb` is no longer needed — `documentRef` is automatically generated from `path`
|
|
143
|
+
* (e.g. `path: "residences/{residenceId}/res_events"`). Kept optional for backward compatibility.
|
|
144
|
+
*/
|
|
145
|
+
refCb?: TRefCb;
|
|
142
146
|
/**
|
|
143
147
|
* Optional change-history configuration. Set `enabled: true` to expose
|
|
144
148
|
* `repo.history.*` and have `createHistoryTriggers(...)` register a trigger
|
|
@@ -147,7 +151,7 @@ declare function createRepositoryConfig<TSchema extends z.ZodObject<any>>(schema
|
|
|
147
151
|
history?: HistoryConfigForModel<z.infer<TSchema>> & {
|
|
148
152
|
enabled: THistoryEnabled;
|
|
149
153
|
};
|
|
150
|
-
}) => RepositoryConfig<z.infer<TSchema>, TForeignKeys, TQueryKeys, TIsGroup, TRefCb, {}, TDocumentKey, TPathKey, TCreatedKey, TUpdatedKey, THistoryEnabled> & {
|
|
154
|
+
}) => RepositoryConfig<z.infer<TSchema>, TForeignKeys, TQueryKeys, TIsGroup, TRefCb, {}, TDocumentKey, TPathKey, TCreatedKey, TUpdatedKey, THistoryEnabled, TPath> & {
|
|
151
155
|
schema: TSchema;
|
|
152
156
|
};
|
|
153
157
|
/**
|
|
@@ -214,9 +218,9 @@ declare function buildRepositoryRelations<TMapping extends Record<string, any>,
|
|
|
214
218
|
}[keyof TMapping];
|
|
215
219
|
} : never;
|
|
216
220
|
}>(mapping: TMapping, relations: TRelations): {
|
|
217
|
-
[K in keyof TMapping]: K extends keyof TRelations ? TMapping[K] extends RepositoryConfig<infer T, infer TForeignKeys, infer TQueryKeys, infer TIsGroup, infer TRefCb, any, infer TDocumentKey, infer TPathKey, infer TCreatedKey, infer TUpdatedKey, infer THistoryEnabled> ? RepositoryConfig<T, TForeignKeys, TQueryKeys, TIsGroup, TRefCb, {
|
|
221
|
+
[K in keyof TMapping]: K extends keyof TRelations ? TMapping[K] extends RepositoryConfig<infer T, infer TForeignKeys, infer TQueryKeys, infer TIsGroup, infer TRefCb, any, infer TDocumentKey, infer TPathKey, infer TCreatedKey, infer TUpdatedKey, infer THistoryEnabled, infer TPath> ? RepositoryConfig<T, TForeignKeys, TQueryKeys, TIsGroup, TRefCb, {
|
|
218
222
|
[RK in keyof TRelations[K]]: ResolveRelation<TMapping, TRelations[K][RK]>;
|
|
219
|
-
}, TDocumentKey, TPathKey, TCreatedKey, TUpdatedKey, THistoryEnabled> : TMapping[K] : TMapping[K];
|
|
223
|
+
}, TDocumentKey, TPathKey, TCreatedKey, TUpdatedKey, THistoryEnabled, TPath> : TMapping[K] : TMapping[K];
|
|
220
224
|
};
|
|
221
225
|
/**
|
|
222
226
|
* Repository mapping class that manages Firestore repositories with type safety
|
|
@@ -303,5 +307,5 @@ declare function createRepositoryMapping<T extends Record<string, any>>(dbFactor
|
|
|
303
307
|
[K in keyof T]: ConfiguredRepository<T[K]>;
|
|
304
308
|
};
|
|
305
309
|
|
|
306
|
-
export { ConfiguredRepository, PaginationOptions, QueryOptions, RelationConfig, RepositoryConfig, RepositoryMapping, applyQueryOptions as applyPaginationQueryOptions, buildAndCountQuery, buildAndExecuteQuery, buildRepositoryRelations, coerceToDate, createRepositoryConfig, createRepositoryMapping, getDateHandling, normalizeTimestamps, setDateHandling };
|
|
310
|
+
export { ConfiguredRepository, PaginationOptions, QueryOptions, RelationConfig, RepositoryConfig, RepositoryMapping, ValidatedPath, applyQueryOptions as applyPaginationQueryOptions, buildAndCountQuery, buildAndExecuteQuery, buildRepositoryRelations, coerceToDate, createRepositoryConfig, createRepositoryMapping, getDateHandling, normalizeTimestamps, setDateHandling };
|
|
307
311
|
export type { DateHandlingMode, IncludeConfig, PaginationWithIncludeOptions, PopulateOptions };
|