@lpdjs/firestore-repo-service 3.0.16 → 3.0.18
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/{actor-context-DQZgWqj3.d.cts → actor-context-zNobm6nG.d.cts} +17 -2
- package/dist/{actor-context-DQZgWqj3.d.ts → actor-context-zNobm6nG.d.ts} +17 -2
- package/dist/{create-servers-BMpE8oAc.d.cts → create-servers-DydjOOOS.d.cts} +3 -3
- package/dist/{create-servers-DSXdPM6o.d.ts → create-servers-bMJVVjPj.d.ts} +3 -3
- package/dist/effects-BYvL8JUK.d.ts +158 -0
- package/dist/effects-DcM19dy4.d.cts +158 -0
- package/dist/history/index.cjs +1 -1
- package/dist/history/index.cjs.map +1 -1
- package/dist/history/index.d.cts +1 -1
- package/dist/history/index.d.ts +1 -1
- package/dist/history/index.js +1 -1
- package/dist/history/index.js.map +1 -1
- package/dist/index.cjs +95 -95
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +95 -95
- package/dist/index.js.map +1 -1
- package/dist/llms-full.txt +139 -2
- package/dist/llms.txt +1 -1
- package/dist/servers/admin/index.d.cts +3 -3
- package/dist/servers/admin/index.d.ts +3 -3
- 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 -7
- package/dist/servers/crud/index.d.ts +6 -7
- package/dist/servers/crud/index.js +2 -2
- package/dist/servers/crud/index.js.map +1 -1
- package/dist/servers/hono/index.cjs +12 -12
- package/dist/servers/hono/index.cjs.map +1 -1
- package/dist/servers/hono/index.d.cts +4 -4
- package/dist/servers/hono/index.d.ts +4 -4
- package/dist/servers/hono/index.js +12 -12
- package/dist/servers/hono/index.js.map +1 -1
- package/dist/servers/index.cjs +101 -101
- package/dist/servers/index.cjs.map +1 -1
- package/dist/servers/index.d.cts +6 -7
- package/dist/servers/index.d.ts +6 -7
- package/dist/servers/index.js +101 -101
- package/dist/servers/index.js.map +1 -1
- package/dist/sync/index.cjs +44 -44
- package/dist/sync/index.cjs.map +1 -1
- package/dist/sync/index.js +44 -44
- package/dist/sync/index.js.map +1 -1
- package/dist/{types-CaCBG76r.d.ts → types-5Q7JDDba.d.ts} +332 -3
- package/dist/{types-w1rEqs0Z.d.ts → types-BJ6MAavL.d.ts} +1 -1
- package/dist/{types-mKcJozu4.d.cts → types-BYPdlGSL.d.cts} +332 -3
- package/dist/{types-BDTx8VPg.d.cts → types-XvVG8_9J.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/openapi-CKTuB2Yz.d.ts +0 -70
- package/dist/openapi-Cb3QMU0Q.d.cts +0 -70
- package/dist/rules-DY5f_wPw.d.ts +0 -30
- package/dist/rules-DhNUzbIl.d.cts +0 -30
package/dist/index.d.cts
CHANGED
|
@@ -4,21 +4,21 @@ import { Query, QuerySnapshot, Firestore } from 'firebase-admin/firestore';
|
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { Q as QueryOptions, R as RepositoryConfig, a as RelationConfig, V as ValidatedPath, E as EffectiveRefCb } from './types-Dc3lX99O.cjs';
|
|
6
6
|
export { D as DeepPartial, b as DotNotationUpdate, c as ExtractDocumentRefSignature, d as ExtractParentParams, e as ExtractPathParams, f as ExtractUpdateSignature, F as FieldPath, G as GetOptions, g as GetResult, I as InvalidPathParams, P as PathParamsToArgsTuple, h as RelationalKeys, S as SynthesizedRefCb, W as WhereClause } from './types-Dc3lX99O.cjs';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
9
|
-
export { a as ActorResolver, b as ActorResolverFieldConfig, A as ActorResolverOption, H as HistoryActor, c as createActorContextMiddleware, d as createActorResolver, e as defaultActorResolver, g as getCurrentActor, s as setRequestActorMeta, w as withActor } from './actor-context-
|
|
10
|
-
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-
|
|
7
|
+
import { a4 as PaginationOptions, C as ConfiguredRepository } from './types-BYPdlGSL.cjs';
|
|
8
|
+
export { b as ApiResponse, c as ApplyEffectsResult, d as CrudAfterBatchContext, e as CrudAfterBatchCreatedItem, f as CrudAfterBatchDeletedItem, g as CrudAfterBatchUpdatedItem, h as CrudAfterCreateContext, i as CrudAfterDeleteContext, j as CrudAfterUpdateContext, k as CrudBeforeCreateContext, l as CrudBeforeUpdateContext, m as CrudEffectOperation, n as CrudHookErrorCallback, o as CrudHookErrorContext, p as CrudHookName, q as CrudHooks, r as CrudRepoConfig, a as CrudServerOptions, w as CrudWriteOperation, D as DeepDiffReturn, E as EffectExecutionResult, x as EffectPredicateArgs, y as EffectsMap, F as FieldRole, a5 as GenerateGetMethods, a6 as GenerateQueryMethods, a7 as IncludeConfigTyped, L as ListResponseData, M as MutationContext, B as MutationRule, G as MutationsMap, O as OpenAPIHeaderParamSpec, H as OpenAPIHistoryHeadersConfig, a8 as PaginationResult, a9 as PaginationWithIncludeOptionsTyped, aa as PopulateOptionsTyped, P as PreWriteMutation, K as PreWriteMutationFn, Q as QueryRequestBody, R as RepoFieldPath, N as RepoRelationKeys, T as RuleEffect, ab as SystemBackfillFailure, ac as SystemBackfillOptions, ad as SystemBackfillResult, ae as UpdatableData, W as UserFieldPath, af as createPaginationIterator, ag as executePaginatedQuery } from './types-BYPdlGSL.cjs';
|
|
9
|
+
export { a as ActorResolver, b as ActorResolverFieldConfig, A as ActorResolverOption, D as DEFAULT_HISTORY_COMMENT_HEADER, f as DEFAULT_HISTORY_REASON_HEADER, H as HistoryActor, R as ResolvedHistoryHeaderNames, c as createActorContextMiddleware, d as createActorResolver, e as defaultActorResolver, h as getActorResolverHeaders, g as getCurrentActor, s as setRequestActorMeta, w as withActor } from './actor-context-zNobm6nG.cjs';
|
|
10
|
+
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-DydjOOOS.cjs';
|
|
11
11
|
export { AdminRepoConfig, AdminRepoEntry, AdminServerOptions, BasicAuthConfig } from './servers/admin/index.cjs';
|
|
12
|
+
export { a as applyEffects, b as applyMutations, c as applyRules, d as computeDeepDiff, e as createAfterUpdateEffects, f as createBeforeCreateMutations, g as createBeforeRules, h as createBeforeUpdateMutations, i as createEffects, j as createMutations, k as createRules } from './effects-DcM19dy4.cjs';
|
|
12
13
|
export { h as MiniRouter } from './firebase-auth-nG3prKoj.cjs';
|
|
13
14
|
import 'firebase-functions/v2/firestore';
|
|
14
|
-
import './types-
|
|
15
|
+
import './types-XvVG8_9J.cjs';
|
|
15
16
|
import 'hono';
|
|
16
17
|
import 'firebase-functions/v2/https';
|
|
17
18
|
import './read-Dfah1PPl.cjs';
|
|
18
19
|
import './queue-zw2B7GPx.cjs';
|
|
19
20
|
import './types-D78FPJeF.cjs';
|
|
20
21
|
import 'firebase-functions/v2/pubsub';
|
|
21
|
-
import './openapi-Cb3QMU0Q.cjs';
|
|
22
22
|
import './sync/meilisearch.cjs';
|
|
23
23
|
|
|
24
24
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -4,21 +4,21 @@ import { Query, QuerySnapshot, Firestore } from 'firebase-admin/firestore';
|
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { Q as QueryOptions, R as RepositoryConfig, a as RelationConfig, V as ValidatedPath, E as EffectiveRefCb } from './types-DgFJLwAu.js';
|
|
6
6
|
export { D as DeepPartial, b as DotNotationUpdate, c as ExtractDocumentRefSignature, d as ExtractParentParams, e as ExtractPathParams, f as ExtractUpdateSignature, F as FieldPath, G as GetOptions, g as GetResult, I as InvalidPathParams, P as PathParamsToArgsTuple, h as RelationalKeys, S as SynthesizedRefCb, W as WhereClause } from './types-DgFJLwAu.js';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
9
|
-
export { a as ActorResolver, b as ActorResolverFieldConfig, A as ActorResolverOption, H as HistoryActor, c as createActorContextMiddleware, d as createActorResolver, e as defaultActorResolver, g as getCurrentActor, s as setRequestActorMeta, w as withActor } from './actor-context-
|
|
10
|
-
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-
|
|
7
|
+
import { a4 as PaginationOptions, C as ConfiguredRepository } from './types-5Q7JDDba.js';
|
|
8
|
+
export { b as ApiResponse, c as ApplyEffectsResult, d as CrudAfterBatchContext, e as CrudAfterBatchCreatedItem, f as CrudAfterBatchDeletedItem, g as CrudAfterBatchUpdatedItem, h as CrudAfterCreateContext, i as CrudAfterDeleteContext, j as CrudAfterUpdateContext, k as CrudBeforeCreateContext, l as CrudBeforeUpdateContext, m as CrudEffectOperation, n as CrudHookErrorCallback, o as CrudHookErrorContext, p as CrudHookName, q as CrudHooks, r as CrudRepoConfig, a as CrudServerOptions, w as CrudWriteOperation, D as DeepDiffReturn, E as EffectExecutionResult, x as EffectPredicateArgs, y as EffectsMap, F as FieldRole, a5 as GenerateGetMethods, a6 as GenerateQueryMethods, a7 as IncludeConfigTyped, L as ListResponseData, M as MutationContext, B as MutationRule, G as MutationsMap, O as OpenAPIHeaderParamSpec, H as OpenAPIHistoryHeadersConfig, a8 as PaginationResult, a9 as PaginationWithIncludeOptionsTyped, aa as PopulateOptionsTyped, P as PreWriteMutation, K as PreWriteMutationFn, Q as QueryRequestBody, R as RepoFieldPath, N as RepoRelationKeys, T as RuleEffect, ab as SystemBackfillFailure, ac as SystemBackfillOptions, ad as SystemBackfillResult, ae as UpdatableData, W as UserFieldPath, af as createPaginationIterator, ag as executePaginatedQuery } from './types-5Q7JDDba.js';
|
|
9
|
+
export { a as ActorResolver, b as ActorResolverFieldConfig, A as ActorResolverOption, D as DEFAULT_HISTORY_COMMENT_HEADER, f as DEFAULT_HISTORY_REASON_HEADER, H as HistoryActor, R as ResolvedHistoryHeaderNames, c as createActorContextMiddleware, d as createActorResolver, e as defaultActorResolver, h as getActorResolverHeaders, g as getCurrentActor, s as setRequestActorMeta, w as withActor } from './actor-context-zNobm6nG.js';
|
|
10
|
+
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-bMJVVjPj.js';
|
|
11
11
|
export { AdminRepoConfig, AdminRepoEntry, AdminServerOptions, BasicAuthConfig } from './servers/admin/index.js';
|
|
12
|
+
export { a as applyEffects, b as applyMutations, c as applyRules, d as computeDeepDiff, e as createAfterUpdateEffects, f as createBeforeCreateMutations, g as createBeforeRules, h as createBeforeUpdateMutations, i as createEffects, j as createMutations, k as createRules } from './effects-BYvL8JUK.js';
|
|
12
13
|
export { h as MiniRouter } from './firebase-auth-nG3prKoj.js';
|
|
13
14
|
import 'firebase-functions/v2/firestore';
|
|
14
|
-
import './types-
|
|
15
|
+
import './types-BJ6MAavL.js';
|
|
15
16
|
import 'hono';
|
|
16
17
|
import 'firebase-functions/v2/https';
|
|
17
18
|
import './read-BPov7lws.js';
|
|
18
19
|
import './queue-NFod6hTT.js';
|
|
19
20
|
import './types-B_FrzmO4.js';
|
|
20
21
|
import 'firebase-functions/v2/pubsub';
|
|
21
|
-
import './openapi-CKTuB2Yz.js';
|
|
22
22
|
import './sync/meilisearch.js';
|
|
23
23
|
|
|
24
24
|
/**
|