@web-ts-toolkit/access-router 0.47.1 → 0.49.0
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 +529 -1
- package/advanced.d.mts +110 -13
- package/advanced.d.ts +110 -13
- package/advanced.js +422 -20
- package/advanced.mjs +424 -21
- package/index.d.mts +134 -45
- package/index.d.ts +134 -45
- package/index.js +8837 -4773
- package/index.mjs +8786 -4712
- package/llms.txt +138 -2
- package/package.json +3 -3
- package/{parsers-BidvJUu7.d.mts → parsers-DhUuvj9B.d.mts} +941 -55
- package/{parsers-BidvJUu7.d.ts → parsers-DhUuvj9B.d.ts} +941 -55
package/advanced.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AccessRouterBaseRequest, a as AccessRouterFieldKey, b as AccessRouterLogger, c as AccessRouterRequest, d as AccessRouterRequestExtensions, e as AdvancedCreateBody, f as AdvancedListBody, g as AdvancedReadBody, h as AdvancedReadFilterBody, i as AdvancedUpdateBody, j as AdvancedUpsertBody, k as AfterPersistAccess, l as AjvErrorObjectLike, m as AjvValidationErrorLike, n as AjvValidatorLike, o as ArkTypeErrorsLike, p as ArkTypeLike, q as ArkTypeProblemLike, B as BaseFilterAccess, C as Change, r as Codes, s as CorrelatedCountInclude, t as CorrelatedFilter, u as CorrelatedInclude, v as CorrelatedIncludeArgs, w as CorrelatedListInclude, x as CorrelatedReadByFilterInclude, y as CorrelatedReadByIdInclude, z as CountBody, D as CreateArgs, E as CreateOptions, F as CreateQueryInput, G as CustomHeaders, H as DATA_MIDDLEWARE, I as DataBaseFilterHook, J as DataFilter, K as DataFindArgs, L as DataFindOneArgs, M as DataFindOneOptions, N as DataFindOptions, O as DataHook, P as DataHookContext, Q as DataIdentifierHook, R as DataListHook, S as DataOverrideFilterHook, T as DataRequest, U as DataRequestSchemas, V as DataRouterOptions, W as DecorateAccess, X as DecorateAllAccess, Y as DeepFieldPath, Z as DefaultModelRouterOptions, _ as Defaults, $ as DistinctArgs, a0 as DistinctBody, a1 as DocPermissionsAccess, a2 as ErrorResult, a3 as ExistsOptions, a4 as ExtendedDataRouterOptions, a5 as ExtendedDefaultModelRouterOptions, a6 as ExtendedModelRouterOptions, a7 as
|
|
1
|
+
export { A as AccessRouterBaseRequest, a as AccessRouterFieldKey, b as AccessRouterLogger, c as AccessRouterRequest, d as AccessRouterRequestExtensions, e as AdvancedCreateBody, f as AdvancedListBody, g as AdvancedReadBody, h as AdvancedReadFilterBody, i as AdvancedUpdateBody, j as AdvancedUpsertBody, k as AfterPersistAccess, l as AjvErrorObjectLike, m as AjvValidationErrorLike, n as AjvValidatorLike, o as ArkTypeErrorsLike, p as ArkTypeLike, q as ArkTypeProblemLike, B as BaseFilterAccess, C as Change, r as Codes, s as CorrelatedCountInclude, t as CorrelatedFilter, u as CorrelatedInclude, v as CorrelatedIncludeArgs, w as CorrelatedListInclude, x as CorrelatedReadByFilterInclude, y as CorrelatedReadByIdInclude, z as CountBody, D as CreateArgs, E as CreateOptions, F as CreateQueryInput, G as CustomHeaders, H as DATA_MIDDLEWARE, I as DataBaseFilterHook, J as DataFilter, K as DataFindArgs, L as DataFindOneArgs, M as DataFindOneOptions, N as DataFindOptions, O as DataHook, P as DataHookContext, Q as DataIdentifierHook, R as DataListHook, S as DataOverrideFilterHook, T as DataRequest, U as DataRequestSchemas, V as DataRouterOptions, W as DecorateAccess, X as DecorateAllAccess, Y as DeepFieldPath, Z as DefaultModelRouterOptions, _ as Defaults, $ as DistinctArgs, a0 as DistinctBody, a1 as DocPermissionsAccess, a2 as ErrorResult, a3 as ExistsOptions, a4 as ExtendedDataRouterOptions, a5 as ExtendedDefaultModelRouterOptions, a6 as ExtendedModelRouterOptions, a7 as FieldOperationAccess, a8 as Filter, a9 as FilterOperator, aa as FindAccess, ab as FindArgs, ac as FindByIdArgs, ad as FindByIdOptions, ae as FindOneArgs, af as FindOneOptions, ag as FindOptions, ah as GlobalOptions, ai as GlobalPermissionValue, aj as GuardHook, ak as IdentifierHook, al as Include, am as IoTsContextEntryLike, an as IoTsDecodeErrorLike, ao as IoTsDecoderLike, ap as JoiSchemaLike, aq as JoiValidationErrorDetailLike, ar as KeyValueProjection, as as LegacyInclude, at as ListQueryInput, au as ListResult, av as MIDDLEWARE, aw as MaybePromise, ax as ModelBaseFilterHook, ay as ModelChangeHook, az as ModelDeleteHook, aA as ModelDocPermissionsHook, aB as ModelDocument, aC as ModelDocumentHook, aD as ModelHook, aE as ModelHookContext, aF as ModelIdentifierHook, aG as ModelListHook, aH as ModelOverrideFilterHook, aI as ModelRequest, aJ as ModelRouterOptions, aK as ModelValidateHook, aL as ModelVirtualAccess, aM as ModelVirtualAccessRecord, aN as ModelVirtualContext, aO as ModelVirtualDescriptor, aP as ModelVirtualDoc, aQ as ModelVirtualGetter, aR as ModelVirtualLeaf, aS as ModelVirtualRecordAccess, aT as ModelVirtuals, aU as OperationAccess, aV as PERMISSIONS, aW as PERMISSION_KEYS, aX as PairedRouteAccess, aY as ParentRef, aZ as PathValue, a_ as PermissionSchema, a$ as Populate, b0 as PopulateAccess, b1 as PrepareAccess, b2 as Projection, b3 as PublicCreateArgs, b4 as PublicCreateOptions, b5 as PublicErrorResult, b6 as PublicListArgs, b7 as PublicListOptions, b8 as PublicListResult, b9 as PublicOutput, ba as PublicReadArgs, bb as PublicReadOptions, bc as PublicServiceResult, bd as PublicSingleResult, be as PublicUpdateArgs, bf as PublicUpdateOptions, bg as PublicUpsertArgs, bh as PublicUpsertOptions, bi as ReadQueryInput, bj as Request, bk as RequestSchemaAdapter, bl as RequestSchemaFailure, bm as RequestSchemaIssue, bn as RequestSchemaLike, bo as RequestSchemaOptions, bp as RequestSchemaResult, bq as RequestSchemaSuccess, br as RequestSchemaValidator, bs as RequestSchemas, bt as RootDataListQueryEntry, bu as RootDataOperation, bv as RootDataReadByFilterQueryEntry, bw as RootDataReadByIdQueryEntry, bx as RootModelCountQueryEntry, by as RootModelCreateQueryEntry, bz as RootModelDeleteQueryEntry, bA as RootModelDistinctQueryEntry, bB as RootModelListQueryEntry, bC as RootModelNewQueryEntry, bD as RootModelOperation, bE as RootModelReadByFilterQueryEntry, bF as RootModelReadByIdQueryEntry, bG as RootModelSubBulkUpdateQueryEntry, bH as RootModelSubCreateQueryEntry, bI as RootModelSubDeleteQueryEntry, bJ as RootModelSubListQueryEntry, bK as RootModelSubReadQueryEntry, bL as RootModelSubUpdateQueryEntry, bM as RootModelUpdateQueryEntry, bN as RootModelUpsertQueryEntry, bO as RootOperationResult, bP as RootQueryEntry, bQ as RootRouterOptions, bR as RootSubOperation, bS as RootTarget, bT as RouteBaseAccess, bU as RouteGuardAccess, bV as RouteVariant, bW as RouteVariantAccess, bX as SelectAccess, bY as SelectedPopulatedPublicOutput, bZ as SelectedPublicOutput, b_ as ServiceResult, b$ as SingleResult, c0 as Sort, c1 as SortOrder, c2 as StandardSchemaFailure, c3 as StandardSchemaInferOutput, c4 as StandardSchemaIssue, c5 as StandardSchemaPathSegment, c6 as StandardSchemaResult, c7 as StandardSchemaSuccess, c8 as StandardSchemaV1, c9 as StatusCodes, ca as SubListBody, cb as SubOperationAccess, cc as SubPopulate, cd as SubQueryEntry, ce as SubReadBody, cf as SubRouteGuardOptions, cg as SubdocumentBulkRecord, ch as SubdocumentBulkUpdateInput, ci as SubdocumentCreateInput, cj as SubdocumentCreateOptions, ck as SubdocumentId, cl as SubdocumentListOptions, cm as SubdocumentName, cn as SubdocumentParentArgs, co as SubdocumentParentOptions, cp as SubdocumentReadOptions, cq as SubdocumentRecord, cr as SuperstructFailureLike, cs as SuperstructValidateLike, ct as Task, cu as TaskType, cv as TransformAccess, cw as TypedFilter, cx as UpdateByIdArgs, cy as UpdateByIdOptions, cz as UpdateOneArgs, cA as UpdateOneOptions, cB as UpdateQueryInput, cC as UpsertArgs, cD as UpsertOptions, cE as UpsertQueryInput, cF as ValibotIssueLike, cG as ValibotPathItemLike, cH as ValibotSafeParseLike, cI as ValibotSafeParseResult, cJ as ValidateAccess, cK as ValidateRule, cL as Validation, cM as ValidationError, cN as VineValidationErrorLike, cO as VineValidationMessageLike, cP as VineValidatorLike, cQ as VirtualSubModel, cR as WithVirtuals, cS as YupSchemaLike, cT as YupValidationErrorLike, cU as defineRequestSchema, cV as fromAjv, cW as fromArkType, cX as fromIoTs, cY as fromJoi, cZ as fromStandardSchema, c_ as fromSuperstruct, c$ as fromValibot, d0 as fromVine, d1 as fromYup, d2 as fromZod, d3 as parseBody, d4 as parseBodyWithSchema, d5 as parseNestedBodyWithSchema, d6 as parsePathParam, d7 as parseQuery } from './parsers-DhUuvj9B.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import 'mongoose';
|
|
4
4
|
import 'express';
|
|
@@ -16,6 +16,10 @@ declare const listQuerySchema: z.ZodObject<{
|
|
|
16
16
|
true: "true";
|
|
17
17
|
false: "false";
|
|
18
18
|
}>>;
|
|
19
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
true: "true";
|
|
21
|
+
false: "false";
|
|
22
|
+
}>>;
|
|
19
23
|
include_count: z.ZodOptional<z.ZodEnum<{
|
|
20
24
|
true: "true";
|
|
21
25
|
false: "false";
|
|
@@ -24,22 +28,33 @@ declare const listQuerySchema: z.ZodObject<{
|
|
|
24
28
|
true: "true";
|
|
25
29
|
false: "false";
|
|
26
30
|
}>>;
|
|
31
|
+
select: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
32
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
27
33
|
}, z.core.$loose>;
|
|
28
34
|
declare const createQuerySchema: z.ZodObject<{
|
|
29
35
|
include_permissions: z.ZodOptional<z.ZodEnum<{
|
|
30
36
|
true: "true";
|
|
31
37
|
false: "false";
|
|
32
38
|
}>>;
|
|
39
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
40
|
+
true: "true";
|
|
41
|
+
false: "false";
|
|
42
|
+
}>>;
|
|
33
43
|
}, z.core.$loose>;
|
|
34
44
|
declare const readQuerySchema: z.ZodObject<{
|
|
35
45
|
include_permissions: z.ZodOptional<z.ZodEnum<{
|
|
36
46
|
true: "true";
|
|
37
47
|
false: "false";
|
|
38
48
|
}>>;
|
|
49
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
50
|
+
true: "true";
|
|
51
|
+
false: "false";
|
|
52
|
+
}>>;
|
|
39
53
|
try_list: z.ZodOptional<z.ZodEnum<{
|
|
40
54
|
true: "true";
|
|
41
55
|
false: "false";
|
|
42
56
|
}>>;
|
|
57
|
+
select: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
43
58
|
}, z.core.$loose>;
|
|
44
59
|
declare const updateQuerySchema: z.ZodObject<{
|
|
45
60
|
returning_all: z.ZodOptional<z.ZodEnum<{
|
|
@@ -50,6 +65,11 @@ declare const updateQuerySchema: z.ZodObject<{
|
|
|
50
65
|
true: "true";
|
|
51
66
|
false: "false";
|
|
52
67
|
}>>;
|
|
68
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
69
|
+
true: "true";
|
|
70
|
+
false: "false";
|
|
71
|
+
}>>;
|
|
72
|
+
select: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
53
73
|
}, z.core.$loose>;
|
|
54
74
|
declare const upsertQuerySchema: z.ZodObject<{
|
|
55
75
|
returning_all: z.ZodOptional<z.ZodEnum<{
|
|
@@ -60,6 +80,10 @@ declare const upsertQuerySchema: z.ZodObject<{
|
|
|
60
80
|
true: "true";
|
|
61
81
|
false: "false";
|
|
62
82
|
}>>;
|
|
83
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
84
|
+
true: "true";
|
|
85
|
+
false: "false";
|
|
86
|
+
}>>;
|
|
63
87
|
}, z.core.$loose>;
|
|
64
88
|
declare const listBodySchema: z.ZodObject<{
|
|
65
89
|
filter: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>;
|
|
@@ -231,9 +255,13 @@ declare const listBodySchema: z.ZodObject<{
|
|
|
231
255
|
options: z.ZodOptional<z.ZodObject<{
|
|
232
256
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
233
257
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
234
259
|
includeCount: z.ZodOptional<z.ZodBoolean>;
|
|
235
260
|
includeExtraHeaders: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
-
populateAccess: z.ZodOptional<z.
|
|
261
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
262
|
+
list: "list";
|
|
263
|
+
read: "read";
|
|
264
|
+
}>>;
|
|
237
265
|
}, z.core.$loose>>;
|
|
238
266
|
}, z.core.$loose>;
|
|
239
267
|
declare const countBodySchema: z.ZodObject<{
|
|
@@ -405,8 +433,12 @@ declare const readFilterBodySchema: z.ZodObject<{
|
|
|
405
433
|
options: z.ZodOptional<z.ZodObject<{
|
|
406
434
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
407
435
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
436
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
408
437
|
tryList: z.ZodOptional<z.ZodBoolean>;
|
|
409
|
-
populateAccess: z.ZodOptional<z.
|
|
438
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
439
|
+
list: "list";
|
|
440
|
+
read: "read";
|
|
441
|
+
}>>;
|
|
410
442
|
}, z.core.$loose>>;
|
|
411
443
|
}, z.core.$loose>;
|
|
412
444
|
declare const readByIdBodySchema: z.ZodObject<{
|
|
@@ -573,8 +605,12 @@ declare const readByIdBodySchema: z.ZodObject<{
|
|
|
573
605
|
options: z.ZodOptional<z.ZodObject<{
|
|
574
606
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
575
607
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
608
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
576
609
|
tryList: z.ZodOptional<z.ZodBoolean>;
|
|
577
|
-
populateAccess: z.ZodOptional<z.
|
|
610
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
611
|
+
list: "list";
|
|
612
|
+
read: "read";
|
|
613
|
+
}>>;
|
|
578
614
|
}, z.core.$loose>>;
|
|
579
615
|
}, z.core.$loose>;
|
|
580
616
|
declare const advancedCreateBodySchema: z.ZodObject<{
|
|
@@ -608,7 +644,11 @@ declare const advancedCreateBodySchema: z.ZodObject<{
|
|
|
608
644
|
}, z.core.$strip>>]>>;
|
|
609
645
|
options: z.ZodOptional<z.ZodObject<{
|
|
610
646
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
|
|
647
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
648
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
649
|
+
list: "list";
|
|
650
|
+
read: "read";
|
|
651
|
+
}>>;
|
|
612
652
|
}, z.core.$loose>>;
|
|
613
653
|
}, z.core.$loose>;
|
|
614
654
|
declare const createBodySchema: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>]>;
|
|
@@ -645,7 +685,11 @@ declare const advancedUpdateBodySchema: z.ZodObject<{
|
|
|
645
685
|
options: z.ZodOptional<z.ZodObject<{
|
|
646
686
|
returningAll: z.ZodOptional<z.ZodBoolean>;
|
|
647
687
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
648
|
-
|
|
688
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
689
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
690
|
+
list: "list";
|
|
691
|
+
read: "read";
|
|
692
|
+
}>>;
|
|
649
693
|
}, z.core.$loose>>;
|
|
650
694
|
}, z.core.$loose>;
|
|
651
695
|
declare const upsertBodySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -681,7 +725,11 @@ declare const advancedUpsertBodySchema: z.ZodObject<{
|
|
|
681
725
|
options: z.ZodOptional<z.ZodObject<{
|
|
682
726
|
returningAll: z.ZodOptional<z.ZodBoolean>;
|
|
683
727
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
684
|
-
|
|
728
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
729
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
730
|
+
list: "list";
|
|
731
|
+
read: "read";
|
|
732
|
+
}>>;
|
|
685
733
|
}, z.core.$loose>>;
|
|
686
734
|
}, z.core.$loose>;
|
|
687
735
|
declare const distinctBodySchema: z.ZodObject<{
|
|
@@ -716,6 +764,10 @@ declare const requestSchemas: {
|
|
|
716
764
|
true: "true";
|
|
717
765
|
false: "false";
|
|
718
766
|
}>>;
|
|
767
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
768
|
+
true: "true";
|
|
769
|
+
false: "false";
|
|
770
|
+
}>>;
|
|
719
771
|
include_count: z.ZodOptional<z.ZodEnum<{
|
|
720
772
|
true: "true";
|
|
721
773
|
false: "false";
|
|
@@ -724,22 +776,33 @@ declare const requestSchemas: {
|
|
|
724
776
|
true: "true";
|
|
725
777
|
false: "false";
|
|
726
778
|
}>>;
|
|
779
|
+
select: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
780
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
727
781
|
}, z.core.$loose>;
|
|
728
782
|
createQuery: z.ZodObject<{
|
|
729
783
|
include_permissions: z.ZodOptional<z.ZodEnum<{
|
|
730
784
|
true: "true";
|
|
731
785
|
false: "false";
|
|
732
786
|
}>>;
|
|
787
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
788
|
+
true: "true";
|
|
789
|
+
false: "false";
|
|
790
|
+
}>>;
|
|
733
791
|
}, z.core.$loose>;
|
|
734
792
|
readQuery: z.ZodObject<{
|
|
735
793
|
include_permissions: z.ZodOptional<z.ZodEnum<{
|
|
736
794
|
true: "true";
|
|
737
795
|
false: "false";
|
|
738
796
|
}>>;
|
|
797
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
798
|
+
true: "true";
|
|
799
|
+
false: "false";
|
|
800
|
+
}>>;
|
|
739
801
|
try_list: z.ZodOptional<z.ZodEnum<{
|
|
740
802
|
true: "true";
|
|
741
803
|
false: "false";
|
|
742
804
|
}>>;
|
|
805
|
+
select: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
743
806
|
}, z.core.$loose>;
|
|
744
807
|
updateQuery: z.ZodObject<{
|
|
745
808
|
returning_all: z.ZodOptional<z.ZodEnum<{
|
|
@@ -750,6 +813,11 @@ declare const requestSchemas: {
|
|
|
750
813
|
true: "true";
|
|
751
814
|
false: "false";
|
|
752
815
|
}>>;
|
|
816
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
817
|
+
true: "true";
|
|
818
|
+
false: "false";
|
|
819
|
+
}>>;
|
|
820
|
+
select: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
753
821
|
}, z.core.$loose>;
|
|
754
822
|
upsertQuery: z.ZodObject<{
|
|
755
823
|
returning_all: z.ZodOptional<z.ZodEnum<{
|
|
@@ -760,6 +828,10 @@ declare const requestSchemas: {
|
|
|
760
828
|
true: "true";
|
|
761
829
|
false: "false";
|
|
762
830
|
}>>;
|
|
831
|
+
include_field_permissions: z.ZodOptional<z.ZodEnum<{
|
|
832
|
+
true: "true";
|
|
833
|
+
false: "false";
|
|
834
|
+
}>>;
|
|
763
835
|
}, z.core.$loose>;
|
|
764
836
|
};
|
|
765
837
|
|
|
@@ -793,6 +865,7 @@ declare const rootQuerySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
793
865
|
options: z.ZodOptional<z.ZodObject<{
|
|
794
866
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
795
867
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
868
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
796
869
|
}, z.core.$loose>>;
|
|
797
870
|
name: z.ZodString;
|
|
798
871
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -970,8 +1043,12 @@ declare const rootQuerySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
970
1043
|
options: z.ZodOptional<z.ZodObject<{
|
|
971
1044
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
972
1045
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1046
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
973
1047
|
includeCount: z.ZodOptional<z.ZodBoolean>;
|
|
974
|
-
populateAccess: z.ZodOptional<z.
|
|
1048
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
1049
|
+
list: "list";
|
|
1050
|
+
read: "read";
|
|
1051
|
+
}>>;
|
|
975
1052
|
lean: z.ZodOptional<z.ZodBoolean>;
|
|
976
1053
|
}, z.core.$loose>>;
|
|
977
1054
|
name: z.ZodString;
|
|
@@ -1145,8 +1222,12 @@ declare const rootQuerySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
1145
1222
|
options: z.ZodOptional<z.ZodObject<{
|
|
1146
1223
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
1147
1224
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1225
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1148
1226
|
tryList: z.ZodOptional<z.ZodBoolean>;
|
|
1149
|
-
populateAccess: z.ZodOptional<z.
|
|
1227
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
1228
|
+
list: "list";
|
|
1229
|
+
read: "read";
|
|
1230
|
+
}>>;
|
|
1150
1231
|
lean: z.ZodOptional<z.ZodBoolean>;
|
|
1151
1232
|
}, z.core.$loose>>;
|
|
1152
1233
|
name: z.ZodString;
|
|
@@ -1321,8 +1402,12 @@ declare const rootQuerySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
1321
1402
|
options: z.ZodOptional<z.ZodObject<{
|
|
1322
1403
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
1323
1404
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1405
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1324
1406
|
tryList: z.ZodOptional<z.ZodBoolean>;
|
|
1325
|
-
populateAccess: z.ZodOptional<z.
|
|
1407
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
1408
|
+
list: "list";
|
|
1409
|
+
read: "read";
|
|
1410
|
+
}>>;
|
|
1326
1411
|
lean: z.ZodOptional<z.ZodBoolean>;
|
|
1327
1412
|
}, z.core.$loose>>;
|
|
1328
1413
|
name: z.ZodString;
|
|
@@ -1363,7 +1448,11 @@ declare const rootQuerySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
1363
1448
|
options: z.ZodOptional<z.ZodObject<{
|
|
1364
1449
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
1365
1450
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1366
|
-
|
|
1451
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1452
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
1453
|
+
list: "list";
|
|
1454
|
+
read: "read";
|
|
1455
|
+
}>>;
|
|
1367
1456
|
}, z.core.$loose>>;
|
|
1368
1457
|
name: z.ZodString;
|
|
1369
1458
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1405,7 +1494,11 @@ declare const rootQuerySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
1405
1494
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
1406
1495
|
returningAll: z.ZodOptional<z.ZodBoolean>;
|
|
1407
1496
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1408
|
-
|
|
1497
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1498
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
1499
|
+
list: "list";
|
|
1500
|
+
read: "read";
|
|
1501
|
+
}>>;
|
|
1409
1502
|
}, z.core.$loose>>;
|
|
1410
1503
|
name: z.ZodString;
|
|
1411
1504
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1446,7 +1539,11 @@ declare const rootQuerySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
1446
1539
|
skim: z.ZodOptional<z.ZodBoolean>;
|
|
1447
1540
|
returningAll: z.ZodOptional<z.ZodBoolean>;
|
|
1448
1541
|
includePermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1449
|
-
|
|
1542
|
+
includeFieldPermissions: z.ZodOptional<z.ZodBoolean>;
|
|
1543
|
+
populateAccess: z.ZodOptional<z.ZodEnum<{
|
|
1544
|
+
list: "list";
|
|
1545
|
+
read: "read";
|
|
1546
|
+
}>>;
|
|
1450
1547
|
}, z.core.$loose>>;
|
|
1451
1548
|
name: z.ZodString;
|
|
1452
1549
|
order: z.ZodOptional<z.ZodNumber>;
|