@lpdjs/firestore-repo-service 2.6.6 → 2.6.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-BlxW-09M.d.ts → create-servers-DA8xV-aT.d.ts} +3 -3
- package/dist/{create-servers-DoOU7VMv.d.cts → create-servers-k4vH90mn.d.cts} +3 -3
- package/dist/{index-BuxFmMV8.d.cts → index-BOYhux7q.d.cts} +1 -1
- package/dist/{index-BM1mgnpJ.d.ts → index-BRjxlxWa.d.ts} +1 -1
- package/dist/index.cjs +69 -69
- 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 +69 -69
- package/dist/index.js.map +1 -1
- package/dist/{openapi-ChZojCEO.d.ts → openapi-BnVlzg59.d.ts} +1 -1
- package/dist/{openapi-DpMtzJGo.d.cts → openapi-Cci3oqin.d.cts} +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-KYdNUffK.d.cts → types-B7KFW9S9.d.cts} +54 -1
- package/dist/{types-CeyFvYXO.d.ts → types-n7q6N_Zw.d.ts} +54 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'zod';
|
|
2
2
|
import 'firebase-functions/v2/https';
|
|
3
|
-
import '../../types-
|
|
3
|
+
import '../../types-B7KFW9S9.cjs';
|
|
4
4
|
export { h as Middleware, M as MiniRouter, R as RouteHandler } from '../../firebase-auth-BTclYg-c.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-BOYhux7q.cjs';
|
|
6
6
|
import '../../read-CTWZjxyh.cjs';
|
|
7
7
|
import 'firebase-admin/firestore';
|
|
8
8
|
import 'firebase-functions/v2/firestore';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'zod';
|
|
2
2
|
import 'firebase-functions/v2/https';
|
|
3
|
-
import '../../types-
|
|
3
|
+
import '../../types-n7q6N_Zw.js';
|
|
4
4
|
export { h as Middleware, M as MiniRouter, R as RouteHandler } from '../../firebase-auth-BTclYg-c.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-BRjxlxWa.js';
|
|
6
6
|
import '../../read-CTWZjxyh.js';
|
|
7
7
|
import 'firebase-admin/firestore';
|
|
8
8
|
import 'firebase-functions/v2/firestore';
|
|
@@ -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 BasicAuthConfig, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, F as FieldRole, L as ListResponseData, M as Middleware, 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-B7KFW9S9.cjs';
|
|
3
|
+
export { A as ApiResponse, B as BasicAuthConfig, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, F as FieldRole, L as ListResponseData, M as Middleware, O as OpenAPISpecOptions, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, U as UserFieldPath } from '../../types-B7KFW9S9.cjs';
|
|
4
|
+
import { O as OpenAPIDocument } from '../../openapi-Cci3oqin.cjs';
|
|
5
|
+
export { g as generateOpenAPISpec } from '../../openapi-Cci3oqin.cjs';
|
|
6
6
|
import '../../firebase-auth-BTclYg-c.cjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../../read-CTWZjxyh.cjs';
|
|
@@ -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 BasicAuthConfig, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, F as FieldRole, L as ListResponseData, M as Middleware, 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-n7q6N_Zw.js';
|
|
3
|
+
export { A as ApiResponse, B as BasicAuthConfig, b as CrudRepoConfig, c as CrudRepoEntry, d as CrudRepoRegistry, F as FieldRole, L as ListResponseData, M as Middleware, O as OpenAPISpecOptions, Q as QueryRequestBody, R as RepoFieldPath, e as RepoRelationKeys, U as UserFieldPath } from '../../types-n7q6N_Zw.js';
|
|
4
|
+
import { O as OpenAPIDocument } from '../../openapi-BnVlzg59.js';
|
|
5
|
+
export { g as generateOpenAPISpec } from '../../openapi-BnVlzg59.js';
|
|
6
6
|
import '../../firebase-auth-BTclYg-c.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../../read-CTWZjxyh.js';
|
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-k4vH90mn.cjs';
|
|
2
|
+
import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-BOYhux7q.cjs';
|
|
3
|
+
export { a as AdminRepoConfig, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry } from '../index-BOYhux7q.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-B7KFW9S9.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
export { h as Middleware, M as MiniRouter, R as RouteHandler } from '../firebase-auth-BTclYg-c.cjs';
|
|
7
7
|
import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
|
|
@@ -10,7 +10,7 @@ import '../types-CCREogoy.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-Cci3oqin.cjs';
|
|
14
14
|
import '../read-CTWZjxyh.cjs';
|
|
15
15
|
import 'firebase-admin/firestore';
|
|
16
16
|
|
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-DA8xV-aT.js';
|
|
2
|
+
import { P as PageOptions, C as ColumnMeta, F as FilterState, R as RelationalFieldMeta, S as SortState, Q as QueryError } from '../index-BRjxlxWa.js';
|
|
3
|
+
export { a as AdminRepoConfig, b as AdminRepoEntry, A as AdminServerOptions, B as BasicAuthConfig, c as RepoRegistry } from '../index-BRjxlxWa.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-n7q6N_Zw.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
export { h as Middleware, M as MiniRouter, R as RouteHandler } from '../firebase-auth-BTclYg-c.js';
|
|
7
7
|
import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
|
|
@@ -10,7 +10,7 @@ import '../types-CMrrjq1V.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-BnVlzg59.js';
|
|
14
14
|
import '../read-CTWZjxyh.js';
|
|
15
15
|
import 'firebase-admin/firestore';
|
|
16
16
|
|
|
@@ -330,6 +330,51 @@ declare function executePaginatedQuery<T>(baseQuery: Query, options: PaginationO
|
|
|
330
330
|
*/
|
|
331
331
|
declare function createPaginationIterator<T>(baseQuery: Query, options: Omit<PaginationOptions<T>, "cursor" | "direction">): AsyncGenerator<PaginationResult<T>, void, unknown>;
|
|
332
332
|
|
|
333
|
+
/** Per-document failure surfaced by a system maintenance operation. */
|
|
334
|
+
interface SystemBackfillFailure {
|
|
335
|
+
path: string;
|
|
336
|
+
error: Error;
|
|
337
|
+
}
|
|
338
|
+
/** Result returned by {@link SystemMethods.backfillKeys}. */
|
|
339
|
+
interface SystemBackfillResult {
|
|
340
|
+
/** Documents inspected. */
|
|
341
|
+
scanned: number;
|
|
342
|
+
/** Documents that actually needed (and received) a patch. */
|
|
343
|
+
written: number;
|
|
344
|
+
/** Documents skipped because every managed key was already present. */
|
|
345
|
+
skipped: number;
|
|
346
|
+
/** Per-document permanent failures (after retries). Empty on full success. */
|
|
347
|
+
failures: SystemBackfillFailure[];
|
|
348
|
+
}
|
|
349
|
+
/** Options accepted by {@link SystemMethods.backfillKeys}. */
|
|
350
|
+
interface SystemBackfillOptions {
|
|
351
|
+
/**
|
|
352
|
+
* Overwrite `createdKey` even when already present. Default `false` —
|
|
353
|
+
* existing creation timestamps are preserved.
|
|
354
|
+
*/
|
|
355
|
+
overwriteCreated?: boolean;
|
|
356
|
+
/**
|
|
357
|
+
* Set `updatedKey` to now when missing. Existing values are preserved.
|
|
358
|
+
* Default `true`.
|
|
359
|
+
*/
|
|
360
|
+
touchUpdated?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* Always rewrite `pathKey` from the document's live reference path, even if
|
|
363
|
+
* a value is already stored. Default `false` — only filled when missing.
|
|
364
|
+
*/
|
|
365
|
+
overwritePath?: boolean;
|
|
366
|
+
/** Page size used to stream the collection. Default `300`. */
|
|
367
|
+
pageSize?: number;
|
|
368
|
+
/** Inspect and count only, without writing. Default `false`. */
|
|
369
|
+
dryRun?: boolean;
|
|
370
|
+
/** Called once per document that fails permanently (after retries). */
|
|
371
|
+
onError?: (failure: SystemBackfillFailure) => void;
|
|
372
|
+
/** Called once per document successfully patched. */
|
|
373
|
+
onSuccess?: (path: string) => void;
|
|
374
|
+
/** Max attempts per document for retryable errors. Default `5`. */
|
|
375
|
+
maxAttempts?: number;
|
|
376
|
+
}
|
|
377
|
+
|
|
333
378
|
/**
|
|
334
379
|
* Extract the target model type from a relation config
|
|
335
380
|
* @internal
|
|
@@ -521,6 +566,14 @@ type ConfiguredRepository<T extends RepositoryConfig<any, any, any, any, any, an
|
|
|
521
566
|
}>) => Promise<void>;
|
|
522
567
|
delete: (docRefs: DocumentReference[]) => Promise<void>;
|
|
523
568
|
};
|
|
569
|
+
/**
|
|
570
|
+
* Collection-wide maintenance helpers. `backfillKeys` fills the auto-managed
|
|
571
|
+
* system fields (documentKey, pathKey, createdKey, updatedKey) on legacy
|
|
572
|
+
* documents written outside this package — idempotent and write-minimal.
|
|
573
|
+
*/
|
|
574
|
+
system: {
|
|
575
|
+
backfillKeys: (options?: SystemBackfillOptions) => Promise<SystemBackfillResult>;
|
|
576
|
+
};
|
|
524
577
|
populate: <K extends keyof NonNullable<T["relationalKeys"]>, TDoc extends Pick<T["type"], K & keyof T["type"]>>(document: TDoc, relationKeyOrOptions: K | K[] | PopulateOptionsTyped<NonNullable<T["relationalKeys"]>, K>) => Promise<TDoc & {
|
|
525
578
|
populated: UnionToIntersection<K extends keyof NonNullable<T["relationalKeys"]> ? ExtractPopulatedFromRelation<NonNullable<T["relationalKeys"]>[K], K & string> : Record<string, never>>;
|
|
526
579
|
}>;
|
|
@@ -1037,4 +1090,4 @@ interface QueryRequestBody {
|
|
|
1037
1090
|
})[];
|
|
1038
1091
|
}
|
|
1039
1092
|
|
|
1040
|
-
export { type ApiResponse as A, type BasicAuthConfig as B, type ConfiguredRepository as C, DEFAULT_HTML_CSP as D, type ExtractDocumentRefSignature as E, type FieldRole as F, type GetOptions as G, type IncludeConfigTyped as I, type ListResponseData as L, type Middleware as M, type OpenAPISpecOptions as O, type PaginationOptions as P, type QueryRequestBody as Q, type RepoFieldPath as R, type SecurityHeadersOptions as S, type UserFieldPath as U, type WhereClause as W, type CrudServerOptions as a, type CrudRepoConfig as b, type CrudRepoEntry as c, type CrudRepoRegistry as d, type RepoRelationKeys as e, type RepositoryConfig as f, type FieldPath as g, type QueryOptions as h, type RelationConfig as i, type ExtractUpdateSignature as j, type GetResult as k, type RelationalKeys as l, createPaginationIterator as m, executePaginatedQuery as n, type PaginationResult as o, type
|
|
1093
|
+
export { type ApiResponse as A, type BasicAuthConfig as B, type ConfiguredRepository as C, DEFAULT_HTML_CSP as D, type ExtractDocumentRefSignature as E, type FieldRole as F, type GetOptions as G, type IncludeConfigTyped as I, type ListResponseData as L, type Middleware as M, type OpenAPISpecOptions as O, type PaginationOptions as P, type QueryRequestBody as Q, type RepoFieldPath as R, type SecurityHeadersOptions as S, type UserFieldPath as U, type WhereClause as W, type CrudServerOptions as a, type CrudRepoConfig as b, type CrudRepoEntry as c, type CrudRepoRegistry as d, type RepoRelationKeys as e, type RepositoryConfig as f, type FieldPath as g, type QueryOptions as h, type RelationConfig as i, type ExtractUpdateSignature as j, type GetResult as k, type RelationalKeys as l, createPaginationIterator as m, executePaginatedQuery as n, type PaginationResult as o, type SystemBackfillFailure as p, type SystemBackfillOptions as q, type SystemBackfillResult as r, securityHeaders as s, type GenerateGetMethods as t, type GenerateQueryMethods as u, type PaginationWithIncludeOptionsTyped as v, type PopulateOptionsTyped as w };
|
|
@@ -330,6 +330,51 @@ declare function executePaginatedQuery<T>(baseQuery: Query, options: PaginationO
|
|
|
330
330
|
*/
|
|
331
331
|
declare function createPaginationIterator<T>(baseQuery: Query, options: Omit<PaginationOptions<T>, "cursor" | "direction">): AsyncGenerator<PaginationResult<T>, void, unknown>;
|
|
332
332
|
|
|
333
|
+
/** Per-document failure surfaced by a system maintenance operation. */
|
|
334
|
+
interface SystemBackfillFailure {
|
|
335
|
+
path: string;
|
|
336
|
+
error: Error;
|
|
337
|
+
}
|
|
338
|
+
/** Result returned by {@link SystemMethods.backfillKeys}. */
|
|
339
|
+
interface SystemBackfillResult {
|
|
340
|
+
/** Documents inspected. */
|
|
341
|
+
scanned: number;
|
|
342
|
+
/** Documents that actually needed (and received) a patch. */
|
|
343
|
+
written: number;
|
|
344
|
+
/** Documents skipped because every managed key was already present. */
|
|
345
|
+
skipped: number;
|
|
346
|
+
/** Per-document permanent failures (after retries). Empty on full success. */
|
|
347
|
+
failures: SystemBackfillFailure[];
|
|
348
|
+
}
|
|
349
|
+
/** Options accepted by {@link SystemMethods.backfillKeys}. */
|
|
350
|
+
interface SystemBackfillOptions {
|
|
351
|
+
/**
|
|
352
|
+
* Overwrite `createdKey` even when already present. Default `false` —
|
|
353
|
+
* existing creation timestamps are preserved.
|
|
354
|
+
*/
|
|
355
|
+
overwriteCreated?: boolean;
|
|
356
|
+
/**
|
|
357
|
+
* Set `updatedKey` to now when missing. Existing values are preserved.
|
|
358
|
+
* Default `true`.
|
|
359
|
+
*/
|
|
360
|
+
touchUpdated?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* Always rewrite `pathKey` from the document's live reference path, even if
|
|
363
|
+
* a value is already stored. Default `false` — only filled when missing.
|
|
364
|
+
*/
|
|
365
|
+
overwritePath?: boolean;
|
|
366
|
+
/** Page size used to stream the collection. Default `300`. */
|
|
367
|
+
pageSize?: number;
|
|
368
|
+
/** Inspect and count only, without writing. Default `false`. */
|
|
369
|
+
dryRun?: boolean;
|
|
370
|
+
/** Called once per document that fails permanently (after retries). */
|
|
371
|
+
onError?: (failure: SystemBackfillFailure) => void;
|
|
372
|
+
/** Called once per document successfully patched. */
|
|
373
|
+
onSuccess?: (path: string) => void;
|
|
374
|
+
/** Max attempts per document for retryable errors. Default `5`. */
|
|
375
|
+
maxAttempts?: number;
|
|
376
|
+
}
|
|
377
|
+
|
|
333
378
|
/**
|
|
334
379
|
* Extract the target model type from a relation config
|
|
335
380
|
* @internal
|
|
@@ -521,6 +566,14 @@ type ConfiguredRepository<T extends RepositoryConfig<any, any, any, any, any, an
|
|
|
521
566
|
}>) => Promise<void>;
|
|
522
567
|
delete: (docRefs: DocumentReference[]) => Promise<void>;
|
|
523
568
|
};
|
|
569
|
+
/**
|
|
570
|
+
* Collection-wide maintenance helpers. `backfillKeys` fills the auto-managed
|
|
571
|
+
* system fields (documentKey, pathKey, createdKey, updatedKey) on legacy
|
|
572
|
+
* documents written outside this package — idempotent and write-minimal.
|
|
573
|
+
*/
|
|
574
|
+
system: {
|
|
575
|
+
backfillKeys: (options?: SystemBackfillOptions) => Promise<SystemBackfillResult>;
|
|
576
|
+
};
|
|
524
577
|
populate: <K extends keyof NonNullable<T["relationalKeys"]>, TDoc extends Pick<T["type"], K & keyof T["type"]>>(document: TDoc, relationKeyOrOptions: K | K[] | PopulateOptionsTyped<NonNullable<T["relationalKeys"]>, K>) => Promise<TDoc & {
|
|
525
578
|
populated: UnionToIntersection<K extends keyof NonNullable<T["relationalKeys"]> ? ExtractPopulatedFromRelation<NonNullable<T["relationalKeys"]>[K], K & string> : Record<string, never>>;
|
|
526
579
|
}>;
|
|
@@ -1037,4 +1090,4 @@ interface QueryRequestBody {
|
|
|
1037
1090
|
})[];
|
|
1038
1091
|
}
|
|
1039
1092
|
|
|
1040
|
-
export { type ApiResponse as A, type BasicAuthConfig as B, type ConfiguredRepository as C, DEFAULT_HTML_CSP as D, type ExtractDocumentRefSignature as E, type FieldRole as F, type GetOptions as G, type IncludeConfigTyped as I, type ListResponseData as L, type Middleware as M, type OpenAPISpecOptions as O, type PaginationOptions as P, type QueryRequestBody as Q, type RepoFieldPath as R, type SecurityHeadersOptions as S, type UserFieldPath as U, type WhereClause as W, type CrudServerOptions as a, type CrudRepoConfig as b, type CrudRepoEntry as c, type CrudRepoRegistry as d, type RepoRelationKeys as e, type RepositoryConfig as f, type FieldPath as g, type QueryOptions as h, type RelationConfig as i, type ExtractUpdateSignature as j, type GetResult as k, type RelationalKeys as l, createPaginationIterator as m, executePaginatedQuery as n, type PaginationResult as o, type
|
|
1093
|
+
export { type ApiResponse as A, type BasicAuthConfig as B, type ConfiguredRepository as C, DEFAULT_HTML_CSP as D, type ExtractDocumentRefSignature as E, type FieldRole as F, type GetOptions as G, type IncludeConfigTyped as I, type ListResponseData as L, type Middleware as M, type OpenAPISpecOptions as O, type PaginationOptions as P, type QueryRequestBody as Q, type RepoFieldPath as R, type SecurityHeadersOptions as S, type UserFieldPath as U, type WhereClause as W, type CrudServerOptions as a, type CrudRepoConfig as b, type CrudRepoEntry as c, type CrudRepoRegistry as d, type RepoRelationKeys as e, type RepositoryConfig as f, type FieldPath as g, type QueryOptions as h, type RelationConfig as i, type ExtractUpdateSignature as j, type GetResult as k, type RelationalKeys as l, createPaginationIterator as m, executePaginatedQuery as n, type PaginationResult as o, type SystemBackfillFailure as p, type SystemBackfillOptions as q, type SystemBackfillResult as r, securityHeaders as s, type GenerateGetMethods as t, type GenerateQueryMethods as u, type PaginationWithIncludeOptionsTyped as v, type PopulateOptionsTyped as w };
|