@coveo/thermidor-schema 1.0.0-beta.40 → 1.0.0-beta.41
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/generated/schemas.d.ts +166 -47
- package/dist/generated/schemas.js +21 -14
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +1330 -510
- package/dist/generated/zod3/schemas.js +21 -14
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/schema/components/sort.schema.json +9 -3
- package/schema/definitions/sort-field.schema.json +26 -0
|
@@ -5,6 +5,8 @@ export declare const SelectActionPayloadTypeSchema: z.ZodEnum<["followup", "sear
|
|
|
5
5
|
export type SelectActionPayloadType = z.infer<typeof SelectActionPayloadTypeSchema>;
|
|
6
6
|
export declare const ActionItemTypeSchema: z.ZodEnum<["followup", "search", "searchOption"]>;
|
|
7
7
|
export type ActionItemType = z.infer<typeof ActionItemTypeSchema>;
|
|
8
|
+
export declare const SortDirectionSchema: z.ZodEnum<["asc", "desc"]>;
|
|
9
|
+
export type SortDirection = z.infer<typeof SortDirectionSchema>;
|
|
8
10
|
export declare const FacetValueStateSchema: z.ZodEnum<["idle", "selected"]>;
|
|
9
11
|
export type FacetValueState = z.infer<typeof FacetValueStateSchema>;
|
|
10
12
|
export declare const BreadboxFacetTypeSchema: z.ZodEnum<["dateRange", "hierarchical", "numericalRange", "regular"]>;
|
|
@@ -1302,25 +1304,48 @@ export declare const PaginationStateSchema: z.ZodObject<{
|
|
|
1302
1304
|
totalPages: number;
|
|
1303
1305
|
}>;
|
|
1304
1306
|
export type PaginationState = z.infer<typeof PaginationStateSchema>;
|
|
1305
|
-
export declare const
|
|
1306
|
-
|
|
1307
|
-
|
|
1307
|
+
export declare const SortFieldSchema: z.ZodObject<{
|
|
1308
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
1309
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1310
|
+
field: z.ZodString;
|
|
1308
1311
|
}, "strict", z.ZodTypeAny, {
|
|
1309
|
-
|
|
1310
|
-
|
|
1312
|
+
direction: "asc" | "desc";
|
|
1313
|
+
displayName?: string | undefined;
|
|
1314
|
+
field: string;
|
|
1311
1315
|
}, {
|
|
1312
|
-
|
|
1313
|
-
|
|
1316
|
+
direction: "asc" | "desc";
|
|
1317
|
+
displayName?: string | undefined;
|
|
1318
|
+
field: string;
|
|
1314
1319
|
}>;
|
|
1315
|
-
export type
|
|
1320
|
+
export type SortField = z.infer<typeof SortFieldSchema>;
|
|
1316
1321
|
export declare const SortCriterionSchema: z.ZodObject<{
|
|
1317
|
-
fields: z.ZodArray<z.
|
|
1322
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
1323
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
1324
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
field: z.ZodString;
|
|
1326
|
+
}, "strict", z.ZodTypeAny, {
|
|
1327
|
+
direction: "asc" | "desc";
|
|
1328
|
+
displayName?: string | undefined;
|
|
1329
|
+
field: string;
|
|
1330
|
+
}, {
|
|
1331
|
+
direction: "asc" | "desc";
|
|
1332
|
+
displayName?: string | undefined;
|
|
1333
|
+
field: string;
|
|
1334
|
+
}>, "many">;
|
|
1318
1335
|
sortCriteria: z.ZodString;
|
|
1319
1336
|
}, "strict", z.ZodTypeAny, {
|
|
1320
|
-
fields:
|
|
1337
|
+
fields: {
|
|
1338
|
+
direction: "asc" | "desc";
|
|
1339
|
+
displayName?: string | undefined;
|
|
1340
|
+
field: string;
|
|
1341
|
+
}[];
|
|
1321
1342
|
sortCriteria: string;
|
|
1322
1343
|
}, {
|
|
1323
|
-
fields:
|
|
1344
|
+
fields: {
|
|
1345
|
+
direction: "asc" | "desc";
|
|
1346
|
+
displayName?: string | undefined;
|
|
1347
|
+
field: string;
|
|
1348
|
+
}[];
|
|
1324
1349
|
sortCriteria: string;
|
|
1325
1350
|
}>;
|
|
1326
1351
|
export type SortCriterion = z.infer<typeof SortCriterionSchema>;
|
|
@@ -3702,66 +3727,130 @@ export declare const ShowMoreSchema: z.ZodObject<{
|
|
|
3702
3727
|
payload: {};
|
|
3703
3728
|
}>;
|
|
3704
3729
|
export type ShowMore = z.infer<typeof ShowMoreSchema>;
|
|
3705
|
-
export declare const
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3730
|
+
export declare const SelectSortPayloadSchema: z.ZodObject<{
|
|
3731
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3732
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
3733
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3734
|
+
field: z.ZodString;
|
|
3709
3735
|
}, "strict", z.ZodTypeAny, {
|
|
3710
|
-
|
|
3711
|
-
|
|
3736
|
+
direction: "asc" | "desc";
|
|
3737
|
+
displayName?: string | undefined;
|
|
3738
|
+
field: string;
|
|
3712
3739
|
}, {
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3740
|
+
direction: "asc" | "desc";
|
|
3741
|
+
displayName?: string | undefined;
|
|
3742
|
+
field: string;
|
|
3743
|
+
}>, "many">;
|
|
3744
|
+
sortCriteria: z.ZodString;
|
|
3716
3745
|
}, "strict", z.ZodTypeAny, {
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3746
|
+
fields: {
|
|
3747
|
+
direction: "asc" | "desc";
|
|
3748
|
+
displayName?: string | undefined;
|
|
3749
|
+
field: string;
|
|
3750
|
+
}[];
|
|
3751
|
+
sortCriteria: string;
|
|
3721
3752
|
}, {
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3753
|
+
fields: {
|
|
3754
|
+
direction: "asc" | "desc";
|
|
3755
|
+
displayName?: string | undefined;
|
|
3756
|
+
field: string;
|
|
3757
|
+
}[];
|
|
3758
|
+
sortCriteria: string;
|
|
3726
3759
|
}>;
|
|
3727
|
-
export type
|
|
3760
|
+
export type SelectSortPayload = z.infer<typeof SelectSortPayloadSchema>;
|
|
3728
3761
|
export declare const SortStateSchema: z.ZodObject<{
|
|
3729
3762
|
appliedSort: z.ZodObject<{
|
|
3730
|
-
fields: z.ZodArray<z.
|
|
3763
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3764
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
3765
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3766
|
+
field: z.ZodString;
|
|
3767
|
+
}, "strict", z.ZodTypeAny, {
|
|
3768
|
+
direction: "asc" | "desc";
|
|
3769
|
+
displayName?: string | undefined;
|
|
3770
|
+
field: string;
|
|
3771
|
+
}, {
|
|
3772
|
+
direction: "asc" | "desc";
|
|
3773
|
+
displayName?: string | undefined;
|
|
3774
|
+
field: string;
|
|
3775
|
+
}>, "many">;
|
|
3731
3776
|
sortCriteria: z.ZodString;
|
|
3732
3777
|
}, "strict", z.ZodTypeAny, {
|
|
3733
|
-
fields:
|
|
3778
|
+
fields: {
|
|
3779
|
+
direction: "asc" | "desc";
|
|
3780
|
+
displayName?: string | undefined;
|
|
3781
|
+
field: string;
|
|
3782
|
+
}[];
|
|
3734
3783
|
sortCriteria: string;
|
|
3735
3784
|
}, {
|
|
3736
|
-
fields:
|
|
3785
|
+
fields: {
|
|
3786
|
+
direction: "asc" | "desc";
|
|
3787
|
+
displayName?: string | undefined;
|
|
3788
|
+
field: string;
|
|
3789
|
+
}[];
|
|
3737
3790
|
sortCriteria: string;
|
|
3738
3791
|
}>;
|
|
3739
3792
|
availableSorts: z.ZodArray<z.ZodObject<{
|
|
3740
|
-
fields: z.ZodArray<z.
|
|
3793
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3794
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
3795
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3796
|
+
field: z.ZodString;
|
|
3797
|
+
}, "strict", z.ZodTypeAny, {
|
|
3798
|
+
direction: "asc" | "desc";
|
|
3799
|
+
displayName?: string | undefined;
|
|
3800
|
+
field: string;
|
|
3801
|
+
}, {
|
|
3802
|
+
direction: "asc" | "desc";
|
|
3803
|
+
displayName?: string | undefined;
|
|
3804
|
+
field: string;
|
|
3805
|
+
}>, "many">;
|
|
3741
3806
|
sortCriteria: z.ZodString;
|
|
3742
3807
|
}, "strict", z.ZodTypeAny, {
|
|
3743
|
-
fields:
|
|
3808
|
+
fields: {
|
|
3809
|
+
direction: "asc" | "desc";
|
|
3810
|
+
displayName?: string | undefined;
|
|
3811
|
+
field: string;
|
|
3812
|
+
}[];
|
|
3744
3813
|
sortCriteria: string;
|
|
3745
3814
|
}, {
|
|
3746
|
-
fields:
|
|
3815
|
+
fields: {
|
|
3816
|
+
direction: "asc" | "desc";
|
|
3817
|
+
displayName?: string | undefined;
|
|
3818
|
+
field: string;
|
|
3819
|
+
}[];
|
|
3747
3820
|
sortCriteria: string;
|
|
3748
3821
|
}>, "many">;
|
|
3749
3822
|
}, "strict", z.ZodTypeAny, {
|
|
3750
3823
|
appliedSort: {
|
|
3751
|
-
fields:
|
|
3824
|
+
fields: {
|
|
3825
|
+
direction: "asc" | "desc";
|
|
3826
|
+
displayName?: string | undefined;
|
|
3827
|
+
field: string;
|
|
3828
|
+
}[];
|
|
3752
3829
|
sortCriteria: string;
|
|
3753
3830
|
};
|
|
3754
3831
|
availableSorts: {
|
|
3755
|
-
fields:
|
|
3832
|
+
fields: {
|
|
3833
|
+
direction: "asc" | "desc";
|
|
3834
|
+
displayName?: string | undefined;
|
|
3835
|
+
field: string;
|
|
3836
|
+
}[];
|
|
3756
3837
|
sortCriteria: string;
|
|
3757
3838
|
}[];
|
|
3758
3839
|
}, {
|
|
3759
3840
|
appliedSort: {
|
|
3760
|
-
fields:
|
|
3841
|
+
fields: {
|
|
3842
|
+
direction: "asc" | "desc";
|
|
3843
|
+
displayName?: string | undefined;
|
|
3844
|
+
field: string;
|
|
3845
|
+
}[];
|
|
3761
3846
|
sortCriteria: string;
|
|
3762
3847
|
};
|
|
3763
3848
|
availableSorts: {
|
|
3764
|
-
fields:
|
|
3849
|
+
fields: {
|
|
3850
|
+
direction: "asc" | "desc";
|
|
3851
|
+
displayName?: string | undefined;
|
|
3852
|
+
field: string;
|
|
3853
|
+
}[];
|
|
3765
3854
|
sortCriteria: string;
|
|
3766
3855
|
}[];
|
|
3767
3856
|
}>;
|
|
@@ -5954,45 +6043,57 @@ export declare const PaginationActionsSchema: z.ZodObject<{
|
|
|
5954
6043
|
};
|
|
5955
6044
|
}>;
|
|
5956
6045
|
export type PaginationActions = z.infer<typeof PaginationActionsSchema>;
|
|
5957
|
-
export declare const
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
6046
|
+
export declare const SelectSortSchema: z.ZodObject<{
|
|
6047
|
+
payload: z.ZodObject<{
|
|
6048
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
6049
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
6050
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
6051
|
+
field: z.ZodString;
|
|
5962
6052
|
}, "strict", z.ZodTypeAny, {
|
|
5963
|
-
|
|
5964
|
-
|
|
6053
|
+
direction: "asc" | "desc";
|
|
6054
|
+
displayName?: string | undefined;
|
|
6055
|
+
field: string;
|
|
5965
6056
|
}, {
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
6057
|
+
direction: "asc" | "desc";
|
|
6058
|
+
displayName?: string | undefined;
|
|
6059
|
+
field: string;
|
|
6060
|
+
}>, "many">;
|
|
6061
|
+
sortCriteria: z.ZodString;
|
|
5969
6062
|
}, "strict", z.ZodTypeAny, {
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
6063
|
+
fields: {
|
|
6064
|
+
direction: "asc" | "desc";
|
|
6065
|
+
displayName?: string | undefined;
|
|
6066
|
+
field: string;
|
|
6067
|
+
}[];
|
|
6068
|
+
sortCriteria: string;
|
|
5974
6069
|
}, {
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
6070
|
+
fields: {
|
|
6071
|
+
direction: "asc" | "desc";
|
|
6072
|
+
displayName?: string | undefined;
|
|
6073
|
+
field: string;
|
|
6074
|
+
}[];
|
|
6075
|
+
sortCriteria: string;
|
|
5979
6076
|
}>;
|
|
5980
6077
|
}, "strict", z.ZodTypeAny, {
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
6078
|
+
payload: {
|
|
6079
|
+
fields: {
|
|
6080
|
+
direction: "asc" | "desc";
|
|
6081
|
+
displayName?: string | undefined;
|
|
6082
|
+
field: string;
|
|
6083
|
+
}[];
|
|
6084
|
+
sortCriteria: string;
|
|
5986
6085
|
};
|
|
5987
6086
|
}, {
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
6087
|
+
payload: {
|
|
6088
|
+
fields: {
|
|
6089
|
+
direction: "asc" | "desc";
|
|
6090
|
+
displayName?: string | undefined;
|
|
6091
|
+
field: string;
|
|
6092
|
+
}[];
|
|
6093
|
+
sortCriteria: string;
|
|
5993
6094
|
};
|
|
5994
6095
|
}>;
|
|
5995
|
-
export type
|
|
6096
|
+
export type SelectSort = z.infer<typeof SelectSortSchema>;
|
|
5996
6097
|
export declare const RegularFacetActionsSchema: z.ZodObject<{
|
|
5997
6098
|
clearAllActiveValues: z.ZodObject<{
|
|
5998
6099
|
payload: z.ZodUnknown;
|
|
@@ -9990,295 +10091,125 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9990
10091
|
}>>;
|
|
9991
10092
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9992
10093
|
export type Pagination = z.infer<typeof PaginationSchema>;
|
|
9993
|
-
export declare const
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
sortCriteria: string;
|
|
10010
|
-
};
|
|
10011
|
-
}, {
|
|
10012
|
-
payload: {
|
|
10013
|
-
fields: unknown[];
|
|
10014
|
-
sortCriteria: string;
|
|
10015
|
-
};
|
|
10016
|
-
}>;
|
|
10017
|
-
}, "strict", z.ZodTypeAny, {
|
|
10018
|
-
selectSort: {
|
|
10019
|
-
payload: {
|
|
10020
|
-
fields: unknown[];
|
|
10021
|
-
sortCriteria: string;
|
|
10022
|
-
};
|
|
10023
|
-
};
|
|
10024
|
-
}, {
|
|
10025
|
-
selectSort: {
|
|
10026
|
-
payload: {
|
|
10027
|
-
fields: unknown[];
|
|
10028
|
-
sortCriteria: string;
|
|
10029
|
-
};
|
|
10030
|
-
};
|
|
10031
|
-
}>>;
|
|
10032
|
-
component: z.ZodLiteral<"Sort">;
|
|
10033
|
-
id: z.ZodString;
|
|
10034
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
10035
|
-
appliedSort: z.ZodObject<{
|
|
10036
|
-
fields: z.ZodArray<z.ZodUnknown, "many">;
|
|
10094
|
+
export declare const SortActionsSchema: z.ZodObject<{
|
|
10095
|
+
selectSort: z.ZodObject<{
|
|
10096
|
+
payload: z.ZodObject<{
|
|
10097
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
10098
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
10099
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
10100
|
+
field: z.ZodString;
|
|
10101
|
+
}, "strict", z.ZodTypeAny, {
|
|
10102
|
+
direction: "asc" | "desc";
|
|
10103
|
+
displayName?: string | undefined;
|
|
10104
|
+
field: string;
|
|
10105
|
+
}, {
|
|
10106
|
+
direction: "asc" | "desc";
|
|
10107
|
+
displayName?: string | undefined;
|
|
10108
|
+
field: string;
|
|
10109
|
+
}>, "many">;
|
|
10037
10110
|
sortCriteria: z.ZodString;
|
|
10038
10111
|
}, "strict", z.ZodTypeAny, {
|
|
10039
|
-
fields:
|
|
10112
|
+
fields: {
|
|
10113
|
+
direction: "asc" | "desc";
|
|
10114
|
+
displayName?: string | undefined;
|
|
10115
|
+
field: string;
|
|
10116
|
+
}[];
|
|
10040
10117
|
sortCriteria: string;
|
|
10041
10118
|
}, {
|
|
10042
|
-
fields:
|
|
10119
|
+
fields: {
|
|
10120
|
+
direction: "asc" | "desc";
|
|
10121
|
+
displayName?: string | undefined;
|
|
10122
|
+
field: string;
|
|
10123
|
+
}[];
|
|
10043
10124
|
sortCriteria: string;
|
|
10044
10125
|
}>;
|
|
10045
|
-
availableSorts: z.ZodArray<z.ZodObject<{
|
|
10046
|
-
fields: z.ZodArray<z.ZodUnknown, "many">;
|
|
10047
|
-
sortCriteria: z.ZodString;
|
|
10048
|
-
}, "strict", z.ZodTypeAny, {
|
|
10049
|
-
fields: unknown[];
|
|
10050
|
-
sortCriteria: string;
|
|
10051
|
-
}, {
|
|
10052
|
-
fields: unknown[];
|
|
10053
|
-
sortCriteria: string;
|
|
10054
|
-
}>, "many">;
|
|
10055
10126
|
}, "strict", z.ZodTypeAny, {
|
|
10056
|
-
|
|
10057
|
-
fields:
|
|
10127
|
+
payload: {
|
|
10128
|
+
fields: {
|
|
10129
|
+
direction: "asc" | "desc";
|
|
10130
|
+
displayName?: string | undefined;
|
|
10131
|
+
field: string;
|
|
10132
|
+
}[];
|
|
10058
10133
|
sortCriteria: string;
|
|
10059
10134
|
};
|
|
10060
|
-
availableSorts: {
|
|
10061
|
-
fields: unknown[];
|
|
10062
|
-
sortCriteria: string;
|
|
10063
|
-
}[];
|
|
10064
10135
|
}, {
|
|
10065
|
-
|
|
10066
|
-
fields:
|
|
10136
|
+
payload: {
|
|
10137
|
+
fields: {
|
|
10138
|
+
direction: "asc" | "desc";
|
|
10139
|
+
displayName?: string | undefined;
|
|
10140
|
+
field: string;
|
|
10141
|
+
}[];
|
|
10067
10142
|
sortCriteria: string;
|
|
10068
10143
|
};
|
|
10069
|
-
|
|
10070
|
-
|
|
10144
|
+
}>;
|
|
10145
|
+
}, "strict", z.ZodTypeAny, {
|
|
10146
|
+
selectSort: {
|
|
10147
|
+
payload: {
|
|
10148
|
+
fields: {
|
|
10149
|
+
direction: "asc" | "desc";
|
|
10150
|
+
displayName?: string | undefined;
|
|
10151
|
+
field: string;
|
|
10152
|
+
}[];
|
|
10071
10153
|
sortCriteria: string;
|
|
10072
|
-
}
|
|
10073
|
-
}
|
|
10074
|
-
},
|
|
10154
|
+
};
|
|
10155
|
+
};
|
|
10156
|
+
}, {
|
|
10157
|
+
selectSort: {
|
|
10158
|
+
payload: {
|
|
10159
|
+
fields: {
|
|
10160
|
+
direction: "asc" | "desc";
|
|
10161
|
+
displayName?: string | undefined;
|
|
10162
|
+
field: string;
|
|
10163
|
+
}[];
|
|
10164
|
+
sortCriteria: string;
|
|
10165
|
+
};
|
|
10166
|
+
};
|
|
10167
|
+
}>;
|
|
10168
|
+
export type SortActions = z.infer<typeof SortActionsSchema>;
|
|
10169
|
+
export declare const RegularFacetSchema: z.ZodObject<{
|
|
10075
10170
|
actions: z.ZodOptional<z.ZodObject<{
|
|
10076
|
-
|
|
10171
|
+
clearAllActiveValues: z.ZodObject<{
|
|
10172
|
+
payload: z.ZodUnknown;
|
|
10173
|
+
}, "strict", z.ZodTypeAny, {
|
|
10174
|
+
payload?: unknown;
|
|
10175
|
+
}, {
|
|
10176
|
+
payload?: unknown;
|
|
10177
|
+
}>;
|
|
10178
|
+
clearSearch: z.ZodObject<{
|
|
10179
|
+
payload: z.ZodUnknown;
|
|
10180
|
+
}, "strict", z.ZodTypeAny, {
|
|
10181
|
+
payload?: unknown;
|
|
10182
|
+
}, {
|
|
10183
|
+
payload?: unknown;
|
|
10184
|
+
}>;
|
|
10185
|
+
search: z.ZodObject<{
|
|
10077
10186
|
payload: z.ZodObject<{
|
|
10078
|
-
|
|
10079
|
-
sortCriteria: z.ZodString;
|
|
10187
|
+
query: z.ZodString;
|
|
10080
10188
|
}, "strict", z.ZodTypeAny, {
|
|
10081
|
-
|
|
10082
|
-
sortCriteria: string;
|
|
10189
|
+
query: string;
|
|
10083
10190
|
}, {
|
|
10084
|
-
|
|
10085
|
-
sortCriteria: string;
|
|
10191
|
+
query: string;
|
|
10086
10192
|
}>;
|
|
10087
10193
|
}, "strict", z.ZodTypeAny, {
|
|
10088
10194
|
payload: {
|
|
10089
|
-
|
|
10090
|
-
sortCriteria: string;
|
|
10195
|
+
query: string;
|
|
10091
10196
|
};
|
|
10092
10197
|
}, {
|
|
10093
10198
|
payload: {
|
|
10094
|
-
|
|
10095
|
-
sortCriteria: string;
|
|
10199
|
+
query: string;
|
|
10096
10200
|
};
|
|
10097
10201
|
}>;
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
payload: {
|
|
10101
|
-
fields: unknown[];
|
|
10102
|
-
sortCriteria: string;
|
|
10103
|
-
};
|
|
10104
|
-
};
|
|
10105
|
-
}, {
|
|
10106
|
-
selectSort: {
|
|
10107
|
-
payload: {
|
|
10108
|
-
fields: unknown[];
|
|
10109
|
-
sortCriteria: string;
|
|
10110
|
-
};
|
|
10111
|
-
};
|
|
10112
|
-
}>>;
|
|
10113
|
-
component: z.ZodLiteral<"Sort">;
|
|
10114
|
-
id: z.ZodString;
|
|
10115
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
10116
|
-
appliedSort: z.ZodObject<{
|
|
10117
|
-
fields: z.ZodArray<z.ZodUnknown, "many">;
|
|
10118
|
-
sortCriteria: z.ZodString;
|
|
10202
|
+
showLessValues: z.ZodObject<{
|
|
10203
|
+
payload: z.ZodUnknown;
|
|
10119
10204
|
}, "strict", z.ZodTypeAny, {
|
|
10120
|
-
|
|
10121
|
-
sortCriteria: string;
|
|
10205
|
+
payload?: unknown;
|
|
10122
10206
|
}, {
|
|
10123
|
-
|
|
10124
|
-
sortCriteria: string;
|
|
10207
|
+
payload?: unknown;
|
|
10125
10208
|
}>;
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
sortCriteria: z.ZodString;
|
|
10209
|
+
showMoreSearchResults: z.ZodObject<{
|
|
10210
|
+
payload: z.ZodUnknown;
|
|
10129
10211
|
}, "strict", z.ZodTypeAny, {
|
|
10130
|
-
|
|
10131
|
-
sortCriteria: string;
|
|
10132
|
-
}, {
|
|
10133
|
-
fields: unknown[];
|
|
10134
|
-
sortCriteria: string;
|
|
10135
|
-
}>, "many">;
|
|
10136
|
-
}, "strict", z.ZodTypeAny, {
|
|
10137
|
-
appliedSort: {
|
|
10138
|
-
fields: unknown[];
|
|
10139
|
-
sortCriteria: string;
|
|
10140
|
-
};
|
|
10141
|
-
availableSorts: {
|
|
10142
|
-
fields: unknown[];
|
|
10143
|
-
sortCriteria: string;
|
|
10144
|
-
}[];
|
|
10145
|
-
}, {
|
|
10146
|
-
appliedSort: {
|
|
10147
|
-
fields: unknown[];
|
|
10148
|
-
sortCriteria: string;
|
|
10149
|
-
};
|
|
10150
|
-
availableSorts: {
|
|
10151
|
-
fields: unknown[];
|
|
10152
|
-
sortCriteria: string;
|
|
10153
|
-
}[];
|
|
10154
|
-
}>>;
|
|
10155
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10156
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
10157
|
-
selectSort: z.ZodObject<{
|
|
10158
|
-
payload: z.ZodObject<{
|
|
10159
|
-
fields: z.ZodArray<z.ZodUnknown, "many">;
|
|
10160
|
-
sortCriteria: z.ZodString;
|
|
10161
|
-
}, "strict", z.ZodTypeAny, {
|
|
10162
|
-
fields: unknown[];
|
|
10163
|
-
sortCriteria: string;
|
|
10164
|
-
}, {
|
|
10165
|
-
fields: unknown[];
|
|
10166
|
-
sortCriteria: string;
|
|
10167
|
-
}>;
|
|
10168
|
-
}, "strict", z.ZodTypeAny, {
|
|
10169
|
-
payload: {
|
|
10170
|
-
fields: unknown[];
|
|
10171
|
-
sortCriteria: string;
|
|
10172
|
-
};
|
|
10173
|
-
}, {
|
|
10174
|
-
payload: {
|
|
10175
|
-
fields: unknown[];
|
|
10176
|
-
sortCriteria: string;
|
|
10177
|
-
};
|
|
10178
|
-
}>;
|
|
10179
|
-
}, "strict", z.ZodTypeAny, {
|
|
10180
|
-
selectSort: {
|
|
10181
|
-
payload: {
|
|
10182
|
-
fields: unknown[];
|
|
10183
|
-
sortCriteria: string;
|
|
10184
|
-
};
|
|
10185
|
-
};
|
|
10186
|
-
}, {
|
|
10187
|
-
selectSort: {
|
|
10188
|
-
payload: {
|
|
10189
|
-
fields: unknown[];
|
|
10190
|
-
sortCriteria: string;
|
|
10191
|
-
};
|
|
10192
|
-
};
|
|
10193
|
-
}>>;
|
|
10194
|
-
component: z.ZodLiteral<"Sort">;
|
|
10195
|
-
id: z.ZodString;
|
|
10196
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
10197
|
-
appliedSort: z.ZodObject<{
|
|
10198
|
-
fields: z.ZodArray<z.ZodUnknown, "many">;
|
|
10199
|
-
sortCriteria: z.ZodString;
|
|
10200
|
-
}, "strict", z.ZodTypeAny, {
|
|
10201
|
-
fields: unknown[];
|
|
10202
|
-
sortCriteria: string;
|
|
10203
|
-
}, {
|
|
10204
|
-
fields: unknown[];
|
|
10205
|
-
sortCriteria: string;
|
|
10206
|
-
}>;
|
|
10207
|
-
availableSorts: z.ZodArray<z.ZodObject<{
|
|
10208
|
-
fields: z.ZodArray<z.ZodUnknown, "many">;
|
|
10209
|
-
sortCriteria: z.ZodString;
|
|
10210
|
-
}, "strict", z.ZodTypeAny, {
|
|
10211
|
-
fields: unknown[];
|
|
10212
|
-
sortCriteria: string;
|
|
10213
|
-
}, {
|
|
10214
|
-
fields: unknown[];
|
|
10215
|
-
sortCriteria: string;
|
|
10216
|
-
}>, "many">;
|
|
10217
|
-
}, "strict", z.ZodTypeAny, {
|
|
10218
|
-
appliedSort: {
|
|
10219
|
-
fields: unknown[];
|
|
10220
|
-
sortCriteria: string;
|
|
10221
|
-
};
|
|
10222
|
-
availableSorts: {
|
|
10223
|
-
fields: unknown[];
|
|
10224
|
-
sortCriteria: string;
|
|
10225
|
-
}[];
|
|
10226
|
-
}, {
|
|
10227
|
-
appliedSort: {
|
|
10228
|
-
fields: unknown[];
|
|
10229
|
-
sortCriteria: string;
|
|
10230
|
-
};
|
|
10231
|
-
availableSorts: {
|
|
10232
|
-
fields: unknown[];
|
|
10233
|
-
sortCriteria: string;
|
|
10234
|
-
}[];
|
|
10235
|
-
}>>;
|
|
10236
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
10237
|
-
export type Sort = z.infer<typeof SortSchema>;
|
|
10238
|
-
export declare const RegularFacetSchema: z.ZodObject<{
|
|
10239
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
10240
|
-
clearAllActiveValues: z.ZodObject<{
|
|
10241
|
-
payload: z.ZodUnknown;
|
|
10242
|
-
}, "strict", z.ZodTypeAny, {
|
|
10243
|
-
payload?: unknown;
|
|
10244
|
-
}, {
|
|
10245
|
-
payload?: unknown;
|
|
10246
|
-
}>;
|
|
10247
|
-
clearSearch: z.ZodObject<{
|
|
10248
|
-
payload: z.ZodUnknown;
|
|
10249
|
-
}, "strict", z.ZodTypeAny, {
|
|
10250
|
-
payload?: unknown;
|
|
10251
|
-
}, {
|
|
10252
|
-
payload?: unknown;
|
|
10253
|
-
}>;
|
|
10254
|
-
search: z.ZodObject<{
|
|
10255
|
-
payload: z.ZodObject<{
|
|
10256
|
-
query: z.ZodString;
|
|
10257
|
-
}, "strict", z.ZodTypeAny, {
|
|
10258
|
-
query: string;
|
|
10259
|
-
}, {
|
|
10260
|
-
query: string;
|
|
10261
|
-
}>;
|
|
10262
|
-
}, "strict", z.ZodTypeAny, {
|
|
10263
|
-
payload: {
|
|
10264
|
-
query: string;
|
|
10265
|
-
};
|
|
10266
|
-
}, {
|
|
10267
|
-
payload: {
|
|
10268
|
-
query: string;
|
|
10269
|
-
};
|
|
10270
|
-
}>;
|
|
10271
|
-
showLessValues: z.ZodObject<{
|
|
10272
|
-
payload: z.ZodUnknown;
|
|
10273
|
-
}, "strict", z.ZodTypeAny, {
|
|
10274
|
-
payload?: unknown;
|
|
10275
|
-
}, {
|
|
10276
|
-
payload?: unknown;
|
|
10277
|
-
}>;
|
|
10278
|
-
showMoreSearchResults: z.ZodObject<{
|
|
10279
|
-
payload: z.ZodUnknown;
|
|
10280
|
-
}, "strict", z.ZodTypeAny, {
|
|
10281
|
-
payload?: unknown;
|
|
10212
|
+
payload?: unknown;
|
|
10282
10213
|
}, {
|
|
10283
10214
|
payload?: unknown;
|
|
10284
10215
|
}>;
|
|
@@ -14944,146 +14875,667 @@ export declare const CartSchema: z.ZodObject<{
|
|
|
14944
14875
|
revenue: number;
|
|
14945
14876
|
}>;
|
|
14946
14877
|
}, "strict", z.ZodTypeAny, {
|
|
14947
|
-
products: {
|
|
14948
|
-
name?: string | undefined;
|
|
14949
|
-
price?: number | null | undefined;
|
|
14950
|
-
productId: string;
|
|
14951
|
-
quantity: number;
|
|
14878
|
+
products: {
|
|
14879
|
+
name?: string | undefined;
|
|
14880
|
+
price?: number | null | undefined;
|
|
14881
|
+
productId: string;
|
|
14882
|
+
quantity: number;
|
|
14883
|
+
}[];
|
|
14884
|
+
transaction: {
|
|
14885
|
+
id: string;
|
|
14886
|
+
revenue: number;
|
|
14887
|
+
};
|
|
14888
|
+
}, {
|
|
14889
|
+
products: {
|
|
14890
|
+
name?: string | undefined;
|
|
14891
|
+
price?: number | null | undefined;
|
|
14892
|
+
productId: string;
|
|
14893
|
+
quantity: number;
|
|
14894
|
+
}[];
|
|
14895
|
+
transaction: {
|
|
14896
|
+
id: string;
|
|
14897
|
+
revenue: number;
|
|
14898
|
+
};
|
|
14899
|
+
}>;
|
|
14900
|
+
}, "strict", z.ZodTypeAny, {
|
|
14901
|
+
payload: {
|
|
14902
|
+
products: {
|
|
14903
|
+
name?: string | undefined;
|
|
14904
|
+
price?: number | null | undefined;
|
|
14905
|
+
productId: string;
|
|
14906
|
+
quantity: number;
|
|
14907
|
+
}[];
|
|
14908
|
+
transaction: {
|
|
14909
|
+
id: string;
|
|
14910
|
+
revenue: number;
|
|
14911
|
+
};
|
|
14912
|
+
};
|
|
14913
|
+
}, {
|
|
14914
|
+
payload: {
|
|
14915
|
+
products: {
|
|
14916
|
+
name?: string | undefined;
|
|
14917
|
+
price?: number | null | undefined;
|
|
14918
|
+
productId: string;
|
|
14919
|
+
quantity: number;
|
|
14920
|
+
}[];
|
|
14921
|
+
transaction: {
|
|
14922
|
+
id: string;
|
|
14923
|
+
revenue: number;
|
|
14924
|
+
};
|
|
14925
|
+
};
|
|
14926
|
+
}>;
|
|
14927
|
+
updateCart: z.ZodObject<{
|
|
14928
|
+
payload: z.ZodObject<{
|
|
14929
|
+
name: z.ZodOptional<z.ZodString>;
|
|
14930
|
+
operation: z.ZodEnum<["add", "remove", "setQuantity"]>;
|
|
14931
|
+
price: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
14932
|
+
productId: z.ZodString;
|
|
14933
|
+
quantity: z.ZodNumber;
|
|
14934
|
+
}, "strict", z.ZodTypeAny, {
|
|
14935
|
+
name?: string | undefined;
|
|
14936
|
+
operation: "add" | "remove" | "setQuantity";
|
|
14937
|
+
price?: number | null | undefined;
|
|
14938
|
+
productId: string;
|
|
14939
|
+
quantity: number;
|
|
14940
|
+
}, {
|
|
14941
|
+
name?: string | undefined;
|
|
14942
|
+
operation: "add" | "remove" | "setQuantity";
|
|
14943
|
+
price?: number | null | undefined;
|
|
14944
|
+
productId: string;
|
|
14945
|
+
quantity: number;
|
|
14946
|
+
}>;
|
|
14947
|
+
}, "strict", z.ZodTypeAny, {
|
|
14948
|
+
payload: {
|
|
14949
|
+
name?: string | undefined;
|
|
14950
|
+
operation: "add" | "remove" | "setQuantity";
|
|
14951
|
+
price?: number | null | undefined;
|
|
14952
|
+
productId: string;
|
|
14953
|
+
quantity: number;
|
|
14954
|
+
};
|
|
14955
|
+
}, {
|
|
14956
|
+
payload: {
|
|
14957
|
+
name?: string | undefined;
|
|
14958
|
+
operation: "add" | "remove" | "setQuantity";
|
|
14959
|
+
price?: number | null | undefined;
|
|
14960
|
+
productId: string;
|
|
14961
|
+
quantity: number;
|
|
14962
|
+
};
|
|
14963
|
+
}>;
|
|
14964
|
+
}, "strict", z.ZodTypeAny, {
|
|
14965
|
+
purchase: {
|
|
14966
|
+
payload: {
|
|
14967
|
+
products: {
|
|
14968
|
+
name?: string | undefined;
|
|
14969
|
+
price?: number | null | undefined;
|
|
14970
|
+
productId: string;
|
|
14971
|
+
quantity: number;
|
|
14972
|
+
}[];
|
|
14973
|
+
transaction: {
|
|
14974
|
+
id: string;
|
|
14975
|
+
revenue: number;
|
|
14976
|
+
};
|
|
14977
|
+
};
|
|
14978
|
+
};
|
|
14979
|
+
updateCart: {
|
|
14980
|
+
payload: {
|
|
14981
|
+
name?: string | undefined;
|
|
14982
|
+
operation: "add" | "remove" | "setQuantity";
|
|
14983
|
+
price?: number | null | undefined;
|
|
14984
|
+
productId: string;
|
|
14985
|
+
quantity: number;
|
|
14986
|
+
};
|
|
14987
|
+
};
|
|
14988
|
+
}, {
|
|
14989
|
+
purchase: {
|
|
14990
|
+
payload: {
|
|
14991
|
+
products: {
|
|
14992
|
+
name?: string | undefined;
|
|
14993
|
+
price?: number | null | undefined;
|
|
14994
|
+
productId: string;
|
|
14995
|
+
quantity: number;
|
|
14996
|
+
}[];
|
|
14997
|
+
transaction: {
|
|
14998
|
+
id: string;
|
|
14999
|
+
revenue: number;
|
|
15000
|
+
};
|
|
15001
|
+
};
|
|
15002
|
+
};
|
|
15003
|
+
updateCart: {
|
|
15004
|
+
payload: {
|
|
15005
|
+
name?: string | undefined;
|
|
15006
|
+
operation: "add" | "remove" | "setQuantity";
|
|
15007
|
+
price?: number | null | undefined;
|
|
15008
|
+
productId: string;
|
|
15009
|
+
quantity: number;
|
|
15010
|
+
};
|
|
15011
|
+
};
|
|
15012
|
+
}>>;
|
|
15013
|
+
component: z.ZodLiteral<"Cart">;
|
|
15014
|
+
id: z.ZodString;
|
|
15015
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
15016
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
15017
|
+
export type Cart = z.infer<typeof CartSchema>;
|
|
15018
|
+
export declare const SortSchema: z.ZodObject<{
|
|
15019
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
15020
|
+
selectSort: z.ZodObject<{
|
|
15021
|
+
payload: z.ZodObject<{
|
|
15022
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
15023
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
15024
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
15025
|
+
field: z.ZodString;
|
|
15026
|
+
}, "strict", z.ZodTypeAny, {
|
|
15027
|
+
direction: "asc" | "desc";
|
|
15028
|
+
displayName?: string | undefined;
|
|
15029
|
+
field: string;
|
|
15030
|
+
}, {
|
|
15031
|
+
direction: "asc" | "desc";
|
|
15032
|
+
displayName?: string | undefined;
|
|
15033
|
+
field: string;
|
|
15034
|
+
}>, "many">;
|
|
15035
|
+
sortCriteria: z.ZodString;
|
|
15036
|
+
}, "strict", z.ZodTypeAny, {
|
|
15037
|
+
fields: {
|
|
15038
|
+
direction: "asc" | "desc";
|
|
15039
|
+
displayName?: string | undefined;
|
|
15040
|
+
field: string;
|
|
15041
|
+
}[];
|
|
15042
|
+
sortCriteria: string;
|
|
15043
|
+
}, {
|
|
15044
|
+
fields: {
|
|
15045
|
+
direction: "asc" | "desc";
|
|
15046
|
+
displayName?: string | undefined;
|
|
15047
|
+
field: string;
|
|
15048
|
+
}[];
|
|
15049
|
+
sortCriteria: string;
|
|
15050
|
+
}>;
|
|
15051
|
+
}, "strict", z.ZodTypeAny, {
|
|
15052
|
+
payload: {
|
|
15053
|
+
fields: {
|
|
15054
|
+
direction: "asc" | "desc";
|
|
15055
|
+
displayName?: string | undefined;
|
|
15056
|
+
field: string;
|
|
15057
|
+
}[];
|
|
15058
|
+
sortCriteria: string;
|
|
15059
|
+
};
|
|
15060
|
+
}, {
|
|
15061
|
+
payload: {
|
|
15062
|
+
fields: {
|
|
15063
|
+
direction: "asc" | "desc";
|
|
15064
|
+
displayName?: string | undefined;
|
|
15065
|
+
field: string;
|
|
15066
|
+
}[];
|
|
15067
|
+
sortCriteria: string;
|
|
15068
|
+
};
|
|
15069
|
+
}>;
|
|
15070
|
+
}, "strict", z.ZodTypeAny, {
|
|
15071
|
+
selectSort: {
|
|
15072
|
+
payload: {
|
|
15073
|
+
fields: {
|
|
15074
|
+
direction: "asc" | "desc";
|
|
15075
|
+
displayName?: string | undefined;
|
|
15076
|
+
field: string;
|
|
15077
|
+
}[];
|
|
15078
|
+
sortCriteria: string;
|
|
15079
|
+
};
|
|
15080
|
+
};
|
|
15081
|
+
}, {
|
|
15082
|
+
selectSort: {
|
|
15083
|
+
payload: {
|
|
15084
|
+
fields: {
|
|
15085
|
+
direction: "asc" | "desc";
|
|
15086
|
+
displayName?: string | undefined;
|
|
15087
|
+
field: string;
|
|
15088
|
+
}[];
|
|
15089
|
+
sortCriteria: string;
|
|
15090
|
+
};
|
|
15091
|
+
};
|
|
15092
|
+
}>>;
|
|
15093
|
+
component: z.ZodLiteral<"Sort">;
|
|
15094
|
+
id: z.ZodString;
|
|
15095
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
15096
|
+
appliedSort: z.ZodObject<{
|
|
15097
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
15098
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
15099
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
15100
|
+
field: z.ZodString;
|
|
15101
|
+
}, "strict", z.ZodTypeAny, {
|
|
15102
|
+
direction: "asc" | "desc";
|
|
15103
|
+
displayName?: string | undefined;
|
|
15104
|
+
field: string;
|
|
15105
|
+
}, {
|
|
15106
|
+
direction: "asc" | "desc";
|
|
15107
|
+
displayName?: string | undefined;
|
|
15108
|
+
field: string;
|
|
15109
|
+
}>, "many">;
|
|
15110
|
+
sortCriteria: z.ZodString;
|
|
15111
|
+
}, "strict", z.ZodTypeAny, {
|
|
15112
|
+
fields: {
|
|
15113
|
+
direction: "asc" | "desc";
|
|
15114
|
+
displayName?: string | undefined;
|
|
15115
|
+
field: string;
|
|
15116
|
+
}[];
|
|
15117
|
+
sortCriteria: string;
|
|
15118
|
+
}, {
|
|
15119
|
+
fields: {
|
|
15120
|
+
direction: "asc" | "desc";
|
|
15121
|
+
displayName?: string | undefined;
|
|
15122
|
+
field: string;
|
|
15123
|
+
}[];
|
|
15124
|
+
sortCriteria: string;
|
|
15125
|
+
}>;
|
|
15126
|
+
availableSorts: z.ZodArray<z.ZodObject<{
|
|
15127
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
15128
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
15129
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
15130
|
+
field: z.ZodString;
|
|
15131
|
+
}, "strict", z.ZodTypeAny, {
|
|
15132
|
+
direction: "asc" | "desc";
|
|
15133
|
+
displayName?: string | undefined;
|
|
15134
|
+
field: string;
|
|
15135
|
+
}, {
|
|
15136
|
+
direction: "asc" | "desc";
|
|
15137
|
+
displayName?: string | undefined;
|
|
15138
|
+
field: string;
|
|
15139
|
+
}>, "many">;
|
|
15140
|
+
sortCriteria: z.ZodString;
|
|
15141
|
+
}, "strict", z.ZodTypeAny, {
|
|
15142
|
+
fields: {
|
|
15143
|
+
direction: "asc" | "desc";
|
|
15144
|
+
displayName?: string | undefined;
|
|
15145
|
+
field: string;
|
|
15146
|
+
}[];
|
|
15147
|
+
sortCriteria: string;
|
|
15148
|
+
}, {
|
|
15149
|
+
fields: {
|
|
15150
|
+
direction: "asc" | "desc";
|
|
15151
|
+
displayName?: string | undefined;
|
|
15152
|
+
field: string;
|
|
15153
|
+
}[];
|
|
15154
|
+
sortCriteria: string;
|
|
15155
|
+
}>, "many">;
|
|
15156
|
+
}, "strict", z.ZodTypeAny, {
|
|
15157
|
+
appliedSort: {
|
|
15158
|
+
fields: {
|
|
15159
|
+
direction: "asc" | "desc";
|
|
15160
|
+
displayName?: string | undefined;
|
|
15161
|
+
field: string;
|
|
15162
|
+
}[];
|
|
15163
|
+
sortCriteria: string;
|
|
15164
|
+
};
|
|
15165
|
+
availableSorts: {
|
|
15166
|
+
fields: {
|
|
15167
|
+
direction: "asc" | "desc";
|
|
15168
|
+
displayName?: string | undefined;
|
|
15169
|
+
field: string;
|
|
15170
|
+
}[];
|
|
15171
|
+
sortCriteria: string;
|
|
15172
|
+
}[];
|
|
15173
|
+
}, {
|
|
15174
|
+
appliedSort: {
|
|
15175
|
+
fields: {
|
|
15176
|
+
direction: "asc" | "desc";
|
|
15177
|
+
displayName?: string | undefined;
|
|
15178
|
+
field: string;
|
|
15179
|
+
}[];
|
|
15180
|
+
sortCriteria: string;
|
|
15181
|
+
};
|
|
15182
|
+
availableSorts: {
|
|
15183
|
+
fields: {
|
|
15184
|
+
direction: "asc" | "desc";
|
|
15185
|
+
displayName?: string | undefined;
|
|
15186
|
+
field: string;
|
|
15187
|
+
}[];
|
|
15188
|
+
sortCriteria: string;
|
|
15189
|
+
}[];
|
|
15190
|
+
}>>;
|
|
15191
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15192
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
15193
|
+
selectSort: z.ZodObject<{
|
|
15194
|
+
payload: z.ZodObject<{
|
|
15195
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
15196
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
15197
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
15198
|
+
field: z.ZodString;
|
|
15199
|
+
}, "strict", z.ZodTypeAny, {
|
|
15200
|
+
direction: "asc" | "desc";
|
|
15201
|
+
displayName?: string | undefined;
|
|
15202
|
+
field: string;
|
|
15203
|
+
}, {
|
|
15204
|
+
direction: "asc" | "desc";
|
|
15205
|
+
displayName?: string | undefined;
|
|
15206
|
+
field: string;
|
|
15207
|
+
}>, "many">;
|
|
15208
|
+
sortCriteria: z.ZodString;
|
|
15209
|
+
}, "strict", z.ZodTypeAny, {
|
|
15210
|
+
fields: {
|
|
15211
|
+
direction: "asc" | "desc";
|
|
15212
|
+
displayName?: string | undefined;
|
|
15213
|
+
field: string;
|
|
15214
|
+
}[];
|
|
15215
|
+
sortCriteria: string;
|
|
15216
|
+
}, {
|
|
15217
|
+
fields: {
|
|
15218
|
+
direction: "asc" | "desc";
|
|
15219
|
+
displayName?: string | undefined;
|
|
15220
|
+
field: string;
|
|
15221
|
+
}[];
|
|
15222
|
+
sortCriteria: string;
|
|
15223
|
+
}>;
|
|
15224
|
+
}, "strict", z.ZodTypeAny, {
|
|
15225
|
+
payload: {
|
|
15226
|
+
fields: {
|
|
15227
|
+
direction: "asc" | "desc";
|
|
15228
|
+
displayName?: string | undefined;
|
|
15229
|
+
field: string;
|
|
15230
|
+
}[];
|
|
15231
|
+
sortCriteria: string;
|
|
15232
|
+
};
|
|
15233
|
+
}, {
|
|
15234
|
+
payload: {
|
|
15235
|
+
fields: {
|
|
15236
|
+
direction: "asc" | "desc";
|
|
15237
|
+
displayName?: string | undefined;
|
|
15238
|
+
field: string;
|
|
15239
|
+
}[];
|
|
15240
|
+
sortCriteria: string;
|
|
15241
|
+
};
|
|
15242
|
+
}>;
|
|
15243
|
+
}, "strict", z.ZodTypeAny, {
|
|
15244
|
+
selectSort: {
|
|
15245
|
+
payload: {
|
|
15246
|
+
fields: {
|
|
15247
|
+
direction: "asc" | "desc";
|
|
15248
|
+
displayName?: string | undefined;
|
|
15249
|
+
field: string;
|
|
15250
|
+
}[];
|
|
15251
|
+
sortCriteria: string;
|
|
15252
|
+
};
|
|
15253
|
+
};
|
|
15254
|
+
}, {
|
|
15255
|
+
selectSort: {
|
|
15256
|
+
payload: {
|
|
15257
|
+
fields: {
|
|
15258
|
+
direction: "asc" | "desc";
|
|
15259
|
+
displayName?: string | undefined;
|
|
15260
|
+
field: string;
|
|
15261
|
+
}[];
|
|
15262
|
+
sortCriteria: string;
|
|
15263
|
+
};
|
|
15264
|
+
};
|
|
15265
|
+
}>>;
|
|
15266
|
+
component: z.ZodLiteral<"Sort">;
|
|
15267
|
+
id: z.ZodString;
|
|
15268
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
15269
|
+
appliedSort: z.ZodObject<{
|
|
15270
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
15271
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
15272
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
15273
|
+
field: z.ZodString;
|
|
15274
|
+
}, "strict", z.ZodTypeAny, {
|
|
15275
|
+
direction: "asc" | "desc";
|
|
15276
|
+
displayName?: string | undefined;
|
|
15277
|
+
field: string;
|
|
15278
|
+
}, {
|
|
15279
|
+
direction: "asc" | "desc";
|
|
15280
|
+
displayName?: string | undefined;
|
|
15281
|
+
field: string;
|
|
15282
|
+
}>, "many">;
|
|
15283
|
+
sortCriteria: z.ZodString;
|
|
15284
|
+
}, "strict", z.ZodTypeAny, {
|
|
15285
|
+
fields: {
|
|
15286
|
+
direction: "asc" | "desc";
|
|
15287
|
+
displayName?: string | undefined;
|
|
15288
|
+
field: string;
|
|
15289
|
+
}[];
|
|
15290
|
+
sortCriteria: string;
|
|
15291
|
+
}, {
|
|
15292
|
+
fields: {
|
|
15293
|
+
direction: "asc" | "desc";
|
|
15294
|
+
displayName?: string | undefined;
|
|
15295
|
+
field: string;
|
|
15296
|
+
}[];
|
|
15297
|
+
sortCriteria: string;
|
|
15298
|
+
}>;
|
|
15299
|
+
availableSorts: z.ZodArray<z.ZodObject<{
|
|
15300
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
15301
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
15302
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
15303
|
+
field: z.ZodString;
|
|
15304
|
+
}, "strict", z.ZodTypeAny, {
|
|
15305
|
+
direction: "asc" | "desc";
|
|
15306
|
+
displayName?: string | undefined;
|
|
15307
|
+
field: string;
|
|
15308
|
+
}, {
|
|
15309
|
+
direction: "asc" | "desc";
|
|
15310
|
+
displayName?: string | undefined;
|
|
15311
|
+
field: string;
|
|
15312
|
+
}>, "many">;
|
|
15313
|
+
sortCriteria: z.ZodString;
|
|
15314
|
+
}, "strict", z.ZodTypeAny, {
|
|
15315
|
+
fields: {
|
|
15316
|
+
direction: "asc" | "desc";
|
|
15317
|
+
displayName?: string | undefined;
|
|
15318
|
+
field: string;
|
|
15319
|
+
}[];
|
|
15320
|
+
sortCriteria: string;
|
|
15321
|
+
}, {
|
|
15322
|
+
fields: {
|
|
15323
|
+
direction: "asc" | "desc";
|
|
15324
|
+
displayName?: string | undefined;
|
|
15325
|
+
field: string;
|
|
15326
|
+
}[];
|
|
15327
|
+
sortCriteria: string;
|
|
15328
|
+
}>, "many">;
|
|
15329
|
+
}, "strict", z.ZodTypeAny, {
|
|
15330
|
+
appliedSort: {
|
|
15331
|
+
fields: {
|
|
15332
|
+
direction: "asc" | "desc";
|
|
15333
|
+
displayName?: string | undefined;
|
|
15334
|
+
field: string;
|
|
15335
|
+
}[];
|
|
15336
|
+
sortCriteria: string;
|
|
15337
|
+
};
|
|
15338
|
+
availableSorts: {
|
|
15339
|
+
fields: {
|
|
15340
|
+
direction: "asc" | "desc";
|
|
15341
|
+
displayName?: string | undefined;
|
|
15342
|
+
field: string;
|
|
15343
|
+
}[];
|
|
15344
|
+
sortCriteria: string;
|
|
15345
|
+
}[];
|
|
15346
|
+
}, {
|
|
15347
|
+
appliedSort: {
|
|
15348
|
+
fields: {
|
|
15349
|
+
direction: "asc" | "desc";
|
|
15350
|
+
displayName?: string | undefined;
|
|
15351
|
+
field: string;
|
|
15352
|
+
}[];
|
|
15353
|
+
sortCriteria: string;
|
|
15354
|
+
};
|
|
15355
|
+
availableSorts: {
|
|
15356
|
+
fields: {
|
|
15357
|
+
direction: "asc" | "desc";
|
|
15358
|
+
displayName?: string | undefined;
|
|
15359
|
+
field: string;
|
|
15360
|
+
}[];
|
|
15361
|
+
sortCriteria: string;
|
|
15362
|
+
}[];
|
|
15363
|
+
}>>;
|
|
15364
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15365
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
15366
|
+
selectSort: z.ZodObject<{
|
|
15367
|
+
payload: z.ZodObject<{
|
|
15368
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
15369
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
15370
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
15371
|
+
field: z.ZodString;
|
|
15372
|
+
}, "strict", z.ZodTypeAny, {
|
|
15373
|
+
direction: "asc" | "desc";
|
|
15374
|
+
displayName?: string | undefined;
|
|
15375
|
+
field: string;
|
|
15376
|
+
}, {
|
|
15377
|
+
direction: "asc" | "desc";
|
|
15378
|
+
displayName?: string | undefined;
|
|
15379
|
+
field: string;
|
|
15380
|
+
}>, "many">;
|
|
15381
|
+
sortCriteria: z.ZodString;
|
|
15382
|
+
}, "strict", z.ZodTypeAny, {
|
|
15383
|
+
fields: {
|
|
15384
|
+
direction: "asc" | "desc";
|
|
15385
|
+
displayName?: string | undefined;
|
|
15386
|
+
field: string;
|
|
14952
15387
|
}[];
|
|
14953
|
-
|
|
14954
|
-
id: string;
|
|
14955
|
-
revenue: number;
|
|
14956
|
-
};
|
|
15388
|
+
sortCriteria: string;
|
|
14957
15389
|
}, {
|
|
14958
|
-
|
|
14959
|
-
|
|
14960
|
-
|
|
14961
|
-
|
|
14962
|
-
quantity: number;
|
|
15390
|
+
fields: {
|
|
15391
|
+
direction: "asc" | "desc";
|
|
15392
|
+
displayName?: string | undefined;
|
|
15393
|
+
field: string;
|
|
14963
15394
|
}[];
|
|
14964
|
-
|
|
14965
|
-
id: string;
|
|
14966
|
-
revenue: number;
|
|
14967
|
-
};
|
|
15395
|
+
sortCriteria: string;
|
|
14968
15396
|
}>;
|
|
14969
15397
|
}, "strict", z.ZodTypeAny, {
|
|
14970
15398
|
payload: {
|
|
14971
|
-
|
|
14972
|
-
|
|
14973
|
-
|
|
14974
|
-
|
|
14975
|
-
quantity: number;
|
|
15399
|
+
fields: {
|
|
15400
|
+
direction: "asc" | "desc";
|
|
15401
|
+
displayName?: string | undefined;
|
|
15402
|
+
field: string;
|
|
14976
15403
|
}[];
|
|
14977
|
-
|
|
14978
|
-
id: string;
|
|
14979
|
-
revenue: number;
|
|
14980
|
-
};
|
|
15404
|
+
sortCriteria: string;
|
|
14981
15405
|
};
|
|
14982
15406
|
}, {
|
|
14983
15407
|
payload: {
|
|
14984
|
-
|
|
14985
|
-
|
|
14986
|
-
|
|
14987
|
-
|
|
14988
|
-
quantity: number;
|
|
15408
|
+
fields: {
|
|
15409
|
+
direction: "asc" | "desc";
|
|
15410
|
+
displayName?: string | undefined;
|
|
15411
|
+
field: string;
|
|
14989
15412
|
}[];
|
|
14990
|
-
|
|
14991
|
-
id: string;
|
|
14992
|
-
revenue: number;
|
|
14993
|
-
};
|
|
14994
|
-
};
|
|
14995
|
-
}>;
|
|
14996
|
-
updateCart: z.ZodObject<{
|
|
14997
|
-
payload: z.ZodObject<{
|
|
14998
|
-
name: z.ZodOptional<z.ZodString>;
|
|
14999
|
-
operation: z.ZodEnum<["add", "remove", "setQuantity"]>;
|
|
15000
|
-
price: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
15001
|
-
productId: z.ZodString;
|
|
15002
|
-
quantity: z.ZodNumber;
|
|
15003
|
-
}, "strict", z.ZodTypeAny, {
|
|
15004
|
-
name?: string | undefined;
|
|
15005
|
-
operation: "add" | "remove" | "setQuantity";
|
|
15006
|
-
price?: number | null | undefined;
|
|
15007
|
-
productId: string;
|
|
15008
|
-
quantity: number;
|
|
15009
|
-
}, {
|
|
15010
|
-
name?: string | undefined;
|
|
15011
|
-
operation: "add" | "remove" | "setQuantity";
|
|
15012
|
-
price?: number | null | undefined;
|
|
15013
|
-
productId: string;
|
|
15014
|
-
quantity: number;
|
|
15015
|
-
}>;
|
|
15016
|
-
}, "strict", z.ZodTypeAny, {
|
|
15017
|
-
payload: {
|
|
15018
|
-
name?: string | undefined;
|
|
15019
|
-
operation: "add" | "remove" | "setQuantity";
|
|
15020
|
-
price?: number | null | undefined;
|
|
15021
|
-
productId: string;
|
|
15022
|
-
quantity: number;
|
|
15023
|
-
};
|
|
15024
|
-
}, {
|
|
15025
|
-
payload: {
|
|
15026
|
-
name?: string | undefined;
|
|
15027
|
-
operation: "add" | "remove" | "setQuantity";
|
|
15028
|
-
price?: number | null | undefined;
|
|
15029
|
-
productId: string;
|
|
15030
|
-
quantity: number;
|
|
15413
|
+
sortCriteria: string;
|
|
15031
15414
|
};
|
|
15032
15415
|
}>;
|
|
15033
15416
|
}, "strict", z.ZodTypeAny, {
|
|
15034
|
-
|
|
15417
|
+
selectSort: {
|
|
15035
15418
|
payload: {
|
|
15036
|
-
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
quantity: number;
|
|
15419
|
+
fields: {
|
|
15420
|
+
direction: "asc" | "desc";
|
|
15421
|
+
displayName?: string | undefined;
|
|
15422
|
+
field: string;
|
|
15041
15423
|
}[];
|
|
15042
|
-
|
|
15043
|
-
id: string;
|
|
15044
|
-
revenue: number;
|
|
15045
|
-
};
|
|
15046
|
-
};
|
|
15047
|
-
};
|
|
15048
|
-
updateCart: {
|
|
15049
|
-
payload: {
|
|
15050
|
-
name?: string | undefined;
|
|
15051
|
-
operation: "add" | "remove" | "setQuantity";
|
|
15052
|
-
price?: number | null | undefined;
|
|
15053
|
-
productId: string;
|
|
15054
|
-
quantity: number;
|
|
15424
|
+
sortCriteria: string;
|
|
15055
15425
|
};
|
|
15056
15426
|
};
|
|
15057
15427
|
}, {
|
|
15058
|
-
|
|
15428
|
+
selectSort: {
|
|
15059
15429
|
payload: {
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
|
|
15064
|
-
quantity: number;
|
|
15430
|
+
fields: {
|
|
15431
|
+
direction: "asc" | "desc";
|
|
15432
|
+
displayName?: string | undefined;
|
|
15433
|
+
field: string;
|
|
15065
15434
|
}[];
|
|
15066
|
-
|
|
15067
|
-
id: string;
|
|
15068
|
-
revenue: number;
|
|
15069
|
-
};
|
|
15070
|
-
};
|
|
15071
|
-
};
|
|
15072
|
-
updateCart: {
|
|
15073
|
-
payload: {
|
|
15074
|
-
name?: string | undefined;
|
|
15075
|
-
operation: "add" | "remove" | "setQuantity";
|
|
15076
|
-
price?: number | null | undefined;
|
|
15077
|
-
productId: string;
|
|
15078
|
-
quantity: number;
|
|
15435
|
+
sortCriteria: string;
|
|
15079
15436
|
};
|
|
15080
15437
|
};
|
|
15081
15438
|
}>>;
|
|
15082
|
-
component: z.ZodLiteral<"
|
|
15439
|
+
component: z.ZodLiteral<"Sort">;
|
|
15083
15440
|
id: z.ZodString;
|
|
15084
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
15441
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
15442
|
+
appliedSort: z.ZodObject<{
|
|
15443
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
15444
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
15445
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
15446
|
+
field: z.ZodString;
|
|
15447
|
+
}, "strict", z.ZodTypeAny, {
|
|
15448
|
+
direction: "asc" | "desc";
|
|
15449
|
+
displayName?: string | undefined;
|
|
15450
|
+
field: string;
|
|
15451
|
+
}, {
|
|
15452
|
+
direction: "asc" | "desc";
|
|
15453
|
+
displayName?: string | undefined;
|
|
15454
|
+
field: string;
|
|
15455
|
+
}>, "many">;
|
|
15456
|
+
sortCriteria: z.ZodString;
|
|
15457
|
+
}, "strict", z.ZodTypeAny, {
|
|
15458
|
+
fields: {
|
|
15459
|
+
direction: "asc" | "desc";
|
|
15460
|
+
displayName?: string | undefined;
|
|
15461
|
+
field: string;
|
|
15462
|
+
}[];
|
|
15463
|
+
sortCriteria: string;
|
|
15464
|
+
}, {
|
|
15465
|
+
fields: {
|
|
15466
|
+
direction: "asc" | "desc";
|
|
15467
|
+
displayName?: string | undefined;
|
|
15468
|
+
field: string;
|
|
15469
|
+
}[];
|
|
15470
|
+
sortCriteria: string;
|
|
15471
|
+
}>;
|
|
15472
|
+
availableSorts: z.ZodArray<z.ZodObject<{
|
|
15473
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
15474
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
15475
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
15476
|
+
field: z.ZodString;
|
|
15477
|
+
}, "strict", z.ZodTypeAny, {
|
|
15478
|
+
direction: "asc" | "desc";
|
|
15479
|
+
displayName?: string | undefined;
|
|
15480
|
+
field: string;
|
|
15481
|
+
}, {
|
|
15482
|
+
direction: "asc" | "desc";
|
|
15483
|
+
displayName?: string | undefined;
|
|
15484
|
+
field: string;
|
|
15485
|
+
}>, "many">;
|
|
15486
|
+
sortCriteria: z.ZodString;
|
|
15487
|
+
}, "strict", z.ZodTypeAny, {
|
|
15488
|
+
fields: {
|
|
15489
|
+
direction: "asc" | "desc";
|
|
15490
|
+
displayName?: string | undefined;
|
|
15491
|
+
field: string;
|
|
15492
|
+
}[];
|
|
15493
|
+
sortCriteria: string;
|
|
15494
|
+
}, {
|
|
15495
|
+
fields: {
|
|
15496
|
+
direction: "asc" | "desc";
|
|
15497
|
+
displayName?: string | undefined;
|
|
15498
|
+
field: string;
|
|
15499
|
+
}[];
|
|
15500
|
+
sortCriteria: string;
|
|
15501
|
+
}>, "many">;
|
|
15502
|
+
}, "strict", z.ZodTypeAny, {
|
|
15503
|
+
appliedSort: {
|
|
15504
|
+
fields: {
|
|
15505
|
+
direction: "asc" | "desc";
|
|
15506
|
+
displayName?: string | undefined;
|
|
15507
|
+
field: string;
|
|
15508
|
+
}[];
|
|
15509
|
+
sortCriteria: string;
|
|
15510
|
+
};
|
|
15511
|
+
availableSorts: {
|
|
15512
|
+
fields: {
|
|
15513
|
+
direction: "asc" | "desc";
|
|
15514
|
+
displayName?: string | undefined;
|
|
15515
|
+
field: string;
|
|
15516
|
+
}[];
|
|
15517
|
+
sortCriteria: string;
|
|
15518
|
+
}[];
|
|
15519
|
+
}, {
|
|
15520
|
+
appliedSort: {
|
|
15521
|
+
fields: {
|
|
15522
|
+
direction: "asc" | "desc";
|
|
15523
|
+
displayName?: string | undefined;
|
|
15524
|
+
field: string;
|
|
15525
|
+
}[];
|
|
15526
|
+
sortCriteria: string;
|
|
15527
|
+
};
|
|
15528
|
+
availableSorts: {
|
|
15529
|
+
fields: {
|
|
15530
|
+
direction: "asc" | "desc";
|
|
15531
|
+
displayName?: string | undefined;
|
|
15532
|
+
field: string;
|
|
15533
|
+
}[];
|
|
15534
|
+
sortCriteria: string;
|
|
15535
|
+
}[];
|
|
15536
|
+
}>>;
|
|
15085
15537
|
}, z.ZodTypeAny, "passthrough">>;
|
|
15086
|
-
export type
|
|
15538
|
+
export type Sort = z.infer<typeof SortSchema>;
|
|
15087
15539
|
export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
15088
15540
|
restoreState: z.ZodObject<{
|
|
15089
15541
|
payload: z.ZodObject<{
|
|
@@ -20733,37 +21185,73 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20733
21185
|
actions: z.ZodOptional<z.ZodObject<{
|
|
20734
21186
|
selectSort: z.ZodObject<{
|
|
20735
21187
|
payload: z.ZodObject<{
|
|
20736
|
-
fields: z.ZodArray<z.
|
|
21188
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
21189
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
21190
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
21191
|
+
field: z.ZodString;
|
|
21192
|
+
}, "strict", z.ZodTypeAny, {
|
|
21193
|
+
direction: "asc" | "desc";
|
|
21194
|
+
displayName?: string | undefined;
|
|
21195
|
+
field: string;
|
|
21196
|
+
}, {
|
|
21197
|
+
direction: "asc" | "desc";
|
|
21198
|
+
displayName?: string | undefined;
|
|
21199
|
+
field: string;
|
|
21200
|
+
}>, "many">;
|
|
20737
21201
|
sortCriteria: z.ZodString;
|
|
20738
21202
|
}, "strict", z.ZodTypeAny, {
|
|
20739
|
-
fields:
|
|
21203
|
+
fields: {
|
|
21204
|
+
direction: "asc" | "desc";
|
|
21205
|
+
displayName?: string | undefined;
|
|
21206
|
+
field: string;
|
|
21207
|
+
}[];
|
|
20740
21208
|
sortCriteria: string;
|
|
20741
21209
|
}, {
|
|
20742
|
-
fields:
|
|
21210
|
+
fields: {
|
|
21211
|
+
direction: "asc" | "desc";
|
|
21212
|
+
displayName?: string | undefined;
|
|
21213
|
+
field: string;
|
|
21214
|
+
}[];
|
|
20743
21215
|
sortCriteria: string;
|
|
20744
21216
|
}>;
|
|
20745
21217
|
}, "strict", z.ZodTypeAny, {
|
|
20746
21218
|
payload: {
|
|
20747
|
-
fields:
|
|
21219
|
+
fields: {
|
|
21220
|
+
direction: "asc" | "desc";
|
|
21221
|
+
displayName?: string | undefined;
|
|
21222
|
+
field: string;
|
|
21223
|
+
}[];
|
|
20748
21224
|
sortCriteria: string;
|
|
20749
21225
|
};
|
|
20750
21226
|
}, {
|
|
20751
21227
|
payload: {
|
|
20752
|
-
fields:
|
|
21228
|
+
fields: {
|
|
21229
|
+
direction: "asc" | "desc";
|
|
21230
|
+
displayName?: string | undefined;
|
|
21231
|
+
field: string;
|
|
21232
|
+
}[];
|
|
20753
21233
|
sortCriteria: string;
|
|
20754
21234
|
};
|
|
20755
21235
|
}>;
|
|
20756
21236
|
}, "strict", z.ZodTypeAny, {
|
|
20757
21237
|
selectSort: {
|
|
20758
21238
|
payload: {
|
|
20759
|
-
fields:
|
|
21239
|
+
fields: {
|
|
21240
|
+
direction: "asc" | "desc";
|
|
21241
|
+
displayName?: string | undefined;
|
|
21242
|
+
field: string;
|
|
21243
|
+
}[];
|
|
20760
21244
|
sortCriteria: string;
|
|
20761
21245
|
};
|
|
20762
21246
|
};
|
|
20763
21247
|
}, {
|
|
20764
21248
|
selectSort: {
|
|
20765
21249
|
payload: {
|
|
20766
|
-
fields:
|
|
21250
|
+
fields: {
|
|
21251
|
+
direction: "asc" | "desc";
|
|
21252
|
+
displayName?: string | undefined;
|
|
21253
|
+
field: string;
|
|
21254
|
+
}[];
|
|
20767
21255
|
sortCriteria: string;
|
|
20768
21256
|
};
|
|
20769
21257
|
};
|
|
@@ -20772,41 +21260,97 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20772
21260
|
id: z.ZodString;
|
|
20773
21261
|
state: z.ZodOptional<z.ZodObject<{
|
|
20774
21262
|
appliedSort: z.ZodObject<{
|
|
20775
|
-
fields: z.ZodArray<z.
|
|
21263
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
21264
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
21265
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
21266
|
+
field: z.ZodString;
|
|
21267
|
+
}, "strict", z.ZodTypeAny, {
|
|
21268
|
+
direction: "asc" | "desc";
|
|
21269
|
+
displayName?: string | undefined;
|
|
21270
|
+
field: string;
|
|
21271
|
+
}, {
|
|
21272
|
+
direction: "asc" | "desc";
|
|
21273
|
+
displayName?: string | undefined;
|
|
21274
|
+
field: string;
|
|
21275
|
+
}>, "many">;
|
|
20776
21276
|
sortCriteria: z.ZodString;
|
|
20777
21277
|
}, "strict", z.ZodTypeAny, {
|
|
20778
|
-
fields:
|
|
21278
|
+
fields: {
|
|
21279
|
+
direction: "asc" | "desc";
|
|
21280
|
+
displayName?: string | undefined;
|
|
21281
|
+
field: string;
|
|
21282
|
+
}[];
|
|
20779
21283
|
sortCriteria: string;
|
|
20780
21284
|
}, {
|
|
20781
|
-
fields:
|
|
21285
|
+
fields: {
|
|
21286
|
+
direction: "asc" | "desc";
|
|
21287
|
+
displayName?: string | undefined;
|
|
21288
|
+
field: string;
|
|
21289
|
+
}[];
|
|
20782
21290
|
sortCriteria: string;
|
|
20783
21291
|
}>;
|
|
20784
21292
|
availableSorts: z.ZodArray<z.ZodObject<{
|
|
20785
|
-
fields: z.ZodArray<z.
|
|
21293
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
21294
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
21295
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
21296
|
+
field: z.ZodString;
|
|
21297
|
+
}, "strict", z.ZodTypeAny, {
|
|
21298
|
+
direction: "asc" | "desc";
|
|
21299
|
+
displayName?: string | undefined;
|
|
21300
|
+
field: string;
|
|
21301
|
+
}, {
|
|
21302
|
+
direction: "asc" | "desc";
|
|
21303
|
+
displayName?: string | undefined;
|
|
21304
|
+
field: string;
|
|
21305
|
+
}>, "many">;
|
|
20786
21306
|
sortCriteria: z.ZodString;
|
|
20787
21307
|
}, "strict", z.ZodTypeAny, {
|
|
20788
|
-
fields:
|
|
21308
|
+
fields: {
|
|
21309
|
+
direction: "asc" | "desc";
|
|
21310
|
+
displayName?: string | undefined;
|
|
21311
|
+
field: string;
|
|
21312
|
+
}[];
|
|
20789
21313
|
sortCriteria: string;
|
|
20790
21314
|
}, {
|
|
20791
|
-
fields:
|
|
21315
|
+
fields: {
|
|
21316
|
+
direction: "asc" | "desc";
|
|
21317
|
+
displayName?: string | undefined;
|
|
21318
|
+
field: string;
|
|
21319
|
+
}[];
|
|
20792
21320
|
sortCriteria: string;
|
|
20793
21321
|
}>, "many">;
|
|
20794
21322
|
}, "strict", z.ZodTypeAny, {
|
|
20795
21323
|
appliedSort: {
|
|
20796
|
-
fields:
|
|
21324
|
+
fields: {
|
|
21325
|
+
direction: "asc" | "desc";
|
|
21326
|
+
displayName?: string | undefined;
|
|
21327
|
+
field: string;
|
|
21328
|
+
}[];
|
|
20797
21329
|
sortCriteria: string;
|
|
20798
21330
|
};
|
|
20799
21331
|
availableSorts: {
|
|
20800
|
-
fields:
|
|
21332
|
+
fields: {
|
|
21333
|
+
direction: "asc" | "desc";
|
|
21334
|
+
displayName?: string | undefined;
|
|
21335
|
+
field: string;
|
|
21336
|
+
}[];
|
|
20801
21337
|
sortCriteria: string;
|
|
20802
21338
|
}[];
|
|
20803
21339
|
}, {
|
|
20804
21340
|
appliedSort: {
|
|
20805
|
-
fields:
|
|
21341
|
+
fields: {
|
|
21342
|
+
direction: "asc" | "desc";
|
|
21343
|
+
displayName?: string | undefined;
|
|
21344
|
+
field: string;
|
|
21345
|
+
}[];
|
|
20806
21346
|
sortCriteria: string;
|
|
20807
21347
|
};
|
|
20808
21348
|
availableSorts: {
|
|
20809
|
-
fields:
|
|
21349
|
+
fields: {
|
|
21350
|
+
direction: "asc" | "desc";
|
|
21351
|
+
displayName?: string | undefined;
|
|
21352
|
+
field: string;
|
|
21353
|
+
}[];
|
|
20810
21354
|
sortCriteria: string;
|
|
20811
21355
|
}[];
|
|
20812
21356
|
}>>;
|
|
@@ -20814,37 +21358,73 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20814
21358
|
actions: z.ZodOptional<z.ZodObject<{
|
|
20815
21359
|
selectSort: z.ZodObject<{
|
|
20816
21360
|
payload: z.ZodObject<{
|
|
20817
|
-
fields: z.ZodArray<z.
|
|
21361
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
21362
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
21363
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
21364
|
+
field: z.ZodString;
|
|
21365
|
+
}, "strict", z.ZodTypeAny, {
|
|
21366
|
+
direction: "asc" | "desc";
|
|
21367
|
+
displayName?: string | undefined;
|
|
21368
|
+
field: string;
|
|
21369
|
+
}, {
|
|
21370
|
+
direction: "asc" | "desc";
|
|
21371
|
+
displayName?: string | undefined;
|
|
21372
|
+
field: string;
|
|
21373
|
+
}>, "many">;
|
|
20818
21374
|
sortCriteria: z.ZodString;
|
|
20819
21375
|
}, "strict", z.ZodTypeAny, {
|
|
20820
|
-
fields:
|
|
21376
|
+
fields: {
|
|
21377
|
+
direction: "asc" | "desc";
|
|
21378
|
+
displayName?: string | undefined;
|
|
21379
|
+
field: string;
|
|
21380
|
+
}[];
|
|
20821
21381
|
sortCriteria: string;
|
|
20822
21382
|
}, {
|
|
20823
|
-
fields:
|
|
21383
|
+
fields: {
|
|
21384
|
+
direction: "asc" | "desc";
|
|
21385
|
+
displayName?: string | undefined;
|
|
21386
|
+
field: string;
|
|
21387
|
+
}[];
|
|
20824
21388
|
sortCriteria: string;
|
|
20825
21389
|
}>;
|
|
20826
21390
|
}, "strict", z.ZodTypeAny, {
|
|
20827
21391
|
payload: {
|
|
20828
|
-
fields:
|
|
21392
|
+
fields: {
|
|
21393
|
+
direction: "asc" | "desc";
|
|
21394
|
+
displayName?: string | undefined;
|
|
21395
|
+
field: string;
|
|
21396
|
+
}[];
|
|
20829
21397
|
sortCriteria: string;
|
|
20830
21398
|
};
|
|
20831
21399
|
}, {
|
|
20832
21400
|
payload: {
|
|
20833
|
-
fields:
|
|
21401
|
+
fields: {
|
|
21402
|
+
direction: "asc" | "desc";
|
|
21403
|
+
displayName?: string | undefined;
|
|
21404
|
+
field: string;
|
|
21405
|
+
}[];
|
|
20834
21406
|
sortCriteria: string;
|
|
20835
21407
|
};
|
|
20836
21408
|
}>;
|
|
20837
21409
|
}, "strict", z.ZodTypeAny, {
|
|
20838
21410
|
selectSort: {
|
|
20839
21411
|
payload: {
|
|
20840
|
-
fields:
|
|
21412
|
+
fields: {
|
|
21413
|
+
direction: "asc" | "desc";
|
|
21414
|
+
displayName?: string | undefined;
|
|
21415
|
+
field: string;
|
|
21416
|
+
}[];
|
|
20841
21417
|
sortCriteria: string;
|
|
20842
21418
|
};
|
|
20843
21419
|
};
|
|
20844
21420
|
}, {
|
|
20845
21421
|
selectSort: {
|
|
20846
21422
|
payload: {
|
|
20847
|
-
fields:
|
|
21423
|
+
fields: {
|
|
21424
|
+
direction: "asc" | "desc";
|
|
21425
|
+
displayName?: string | undefined;
|
|
21426
|
+
field: string;
|
|
21427
|
+
}[];
|
|
20848
21428
|
sortCriteria: string;
|
|
20849
21429
|
};
|
|
20850
21430
|
};
|
|
@@ -20853,41 +21433,97 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20853
21433
|
id: z.ZodString;
|
|
20854
21434
|
state: z.ZodOptional<z.ZodObject<{
|
|
20855
21435
|
appliedSort: z.ZodObject<{
|
|
20856
|
-
fields: z.ZodArray<z.
|
|
21436
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
21437
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
21438
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
21439
|
+
field: z.ZodString;
|
|
21440
|
+
}, "strict", z.ZodTypeAny, {
|
|
21441
|
+
direction: "asc" | "desc";
|
|
21442
|
+
displayName?: string | undefined;
|
|
21443
|
+
field: string;
|
|
21444
|
+
}, {
|
|
21445
|
+
direction: "asc" | "desc";
|
|
21446
|
+
displayName?: string | undefined;
|
|
21447
|
+
field: string;
|
|
21448
|
+
}>, "many">;
|
|
20857
21449
|
sortCriteria: z.ZodString;
|
|
20858
21450
|
}, "strict", z.ZodTypeAny, {
|
|
20859
|
-
fields:
|
|
21451
|
+
fields: {
|
|
21452
|
+
direction: "asc" | "desc";
|
|
21453
|
+
displayName?: string | undefined;
|
|
21454
|
+
field: string;
|
|
21455
|
+
}[];
|
|
20860
21456
|
sortCriteria: string;
|
|
20861
21457
|
}, {
|
|
20862
|
-
fields:
|
|
21458
|
+
fields: {
|
|
21459
|
+
direction: "asc" | "desc";
|
|
21460
|
+
displayName?: string | undefined;
|
|
21461
|
+
field: string;
|
|
21462
|
+
}[];
|
|
20863
21463
|
sortCriteria: string;
|
|
20864
21464
|
}>;
|
|
20865
21465
|
availableSorts: z.ZodArray<z.ZodObject<{
|
|
20866
|
-
fields: z.ZodArray<z.
|
|
21466
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
21467
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
21468
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
21469
|
+
field: z.ZodString;
|
|
21470
|
+
}, "strict", z.ZodTypeAny, {
|
|
21471
|
+
direction: "asc" | "desc";
|
|
21472
|
+
displayName?: string | undefined;
|
|
21473
|
+
field: string;
|
|
21474
|
+
}, {
|
|
21475
|
+
direction: "asc" | "desc";
|
|
21476
|
+
displayName?: string | undefined;
|
|
21477
|
+
field: string;
|
|
21478
|
+
}>, "many">;
|
|
20867
21479
|
sortCriteria: z.ZodString;
|
|
20868
21480
|
}, "strict", z.ZodTypeAny, {
|
|
20869
|
-
fields:
|
|
21481
|
+
fields: {
|
|
21482
|
+
direction: "asc" | "desc";
|
|
21483
|
+
displayName?: string | undefined;
|
|
21484
|
+
field: string;
|
|
21485
|
+
}[];
|
|
20870
21486
|
sortCriteria: string;
|
|
20871
21487
|
}, {
|
|
20872
|
-
fields:
|
|
21488
|
+
fields: {
|
|
21489
|
+
direction: "asc" | "desc";
|
|
21490
|
+
displayName?: string | undefined;
|
|
21491
|
+
field: string;
|
|
21492
|
+
}[];
|
|
20873
21493
|
sortCriteria: string;
|
|
20874
21494
|
}>, "many">;
|
|
20875
21495
|
}, "strict", z.ZodTypeAny, {
|
|
20876
21496
|
appliedSort: {
|
|
20877
|
-
fields:
|
|
21497
|
+
fields: {
|
|
21498
|
+
direction: "asc" | "desc";
|
|
21499
|
+
displayName?: string | undefined;
|
|
21500
|
+
field: string;
|
|
21501
|
+
}[];
|
|
20878
21502
|
sortCriteria: string;
|
|
20879
21503
|
};
|
|
20880
21504
|
availableSorts: {
|
|
20881
|
-
fields:
|
|
21505
|
+
fields: {
|
|
21506
|
+
direction: "asc" | "desc";
|
|
21507
|
+
displayName?: string | undefined;
|
|
21508
|
+
field: string;
|
|
21509
|
+
}[];
|
|
20882
21510
|
sortCriteria: string;
|
|
20883
21511
|
}[];
|
|
20884
21512
|
}, {
|
|
20885
21513
|
appliedSort: {
|
|
20886
|
-
fields:
|
|
21514
|
+
fields: {
|
|
21515
|
+
direction: "asc" | "desc";
|
|
21516
|
+
displayName?: string | undefined;
|
|
21517
|
+
field: string;
|
|
21518
|
+
}[];
|
|
20887
21519
|
sortCriteria: string;
|
|
20888
21520
|
};
|
|
20889
21521
|
availableSorts: {
|
|
20890
|
-
fields:
|
|
21522
|
+
fields: {
|
|
21523
|
+
direction: "asc" | "desc";
|
|
21524
|
+
displayName?: string | undefined;
|
|
21525
|
+
field: string;
|
|
21526
|
+
}[];
|
|
20891
21527
|
sortCriteria: string;
|
|
20892
21528
|
}[];
|
|
20893
21529
|
}>>;
|
|
@@ -20895,37 +21531,73 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20895
21531
|
actions: z.ZodOptional<z.ZodObject<{
|
|
20896
21532
|
selectSort: z.ZodObject<{
|
|
20897
21533
|
payload: z.ZodObject<{
|
|
20898
|
-
fields: z.ZodArray<z.
|
|
21534
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
21535
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
21536
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
21537
|
+
field: z.ZodString;
|
|
21538
|
+
}, "strict", z.ZodTypeAny, {
|
|
21539
|
+
direction: "asc" | "desc";
|
|
21540
|
+
displayName?: string | undefined;
|
|
21541
|
+
field: string;
|
|
21542
|
+
}, {
|
|
21543
|
+
direction: "asc" | "desc";
|
|
21544
|
+
displayName?: string | undefined;
|
|
21545
|
+
field: string;
|
|
21546
|
+
}>, "many">;
|
|
20899
21547
|
sortCriteria: z.ZodString;
|
|
20900
21548
|
}, "strict", z.ZodTypeAny, {
|
|
20901
|
-
fields:
|
|
21549
|
+
fields: {
|
|
21550
|
+
direction: "asc" | "desc";
|
|
21551
|
+
displayName?: string | undefined;
|
|
21552
|
+
field: string;
|
|
21553
|
+
}[];
|
|
20902
21554
|
sortCriteria: string;
|
|
20903
21555
|
}, {
|
|
20904
|
-
fields:
|
|
21556
|
+
fields: {
|
|
21557
|
+
direction: "asc" | "desc";
|
|
21558
|
+
displayName?: string | undefined;
|
|
21559
|
+
field: string;
|
|
21560
|
+
}[];
|
|
20905
21561
|
sortCriteria: string;
|
|
20906
21562
|
}>;
|
|
20907
21563
|
}, "strict", z.ZodTypeAny, {
|
|
20908
21564
|
payload: {
|
|
20909
|
-
fields:
|
|
21565
|
+
fields: {
|
|
21566
|
+
direction: "asc" | "desc";
|
|
21567
|
+
displayName?: string | undefined;
|
|
21568
|
+
field: string;
|
|
21569
|
+
}[];
|
|
20910
21570
|
sortCriteria: string;
|
|
20911
21571
|
};
|
|
20912
21572
|
}, {
|
|
20913
21573
|
payload: {
|
|
20914
|
-
fields:
|
|
21574
|
+
fields: {
|
|
21575
|
+
direction: "asc" | "desc";
|
|
21576
|
+
displayName?: string | undefined;
|
|
21577
|
+
field: string;
|
|
21578
|
+
}[];
|
|
20915
21579
|
sortCriteria: string;
|
|
20916
21580
|
};
|
|
20917
21581
|
}>;
|
|
20918
21582
|
}, "strict", z.ZodTypeAny, {
|
|
20919
21583
|
selectSort: {
|
|
20920
21584
|
payload: {
|
|
20921
|
-
fields:
|
|
21585
|
+
fields: {
|
|
21586
|
+
direction: "asc" | "desc";
|
|
21587
|
+
displayName?: string | undefined;
|
|
21588
|
+
field: string;
|
|
21589
|
+
}[];
|
|
20922
21590
|
sortCriteria: string;
|
|
20923
21591
|
};
|
|
20924
21592
|
};
|
|
20925
21593
|
}, {
|
|
20926
21594
|
selectSort: {
|
|
20927
21595
|
payload: {
|
|
20928
|
-
fields:
|
|
21596
|
+
fields: {
|
|
21597
|
+
direction: "asc" | "desc";
|
|
21598
|
+
displayName?: string | undefined;
|
|
21599
|
+
field: string;
|
|
21600
|
+
}[];
|
|
20929
21601
|
sortCriteria: string;
|
|
20930
21602
|
};
|
|
20931
21603
|
};
|
|
@@ -20934,41 +21606,97 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20934
21606
|
id: z.ZodString;
|
|
20935
21607
|
state: z.ZodOptional<z.ZodObject<{
|
|
20936
21608
|
appliedSort: z.ZodObject<{
|
|
20937
|
-
fields: z.ZodArray<z.
|
|
21609
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
21610
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
21611
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
21612
|
+
field: z.ZodString;
|
|
21613
|
+
}, "strict", z.ZodTypeAny, {
|
|
21614
|
+
direction: "asc" | "desc";
|
|
21615
|
+
displayName?: string | undefined;
|
|
21616
|
+
field: string;
|
|
21617
|
+
}, {
|
|
21618
|
+
direction: "asc" | "desc";
|
|
21619
|
+
displayName?: string | undefined;
|
|
21620
|
+
field: string;
|
|
21621
|
+
}>, "many">;
|
|
20938
21622
|
sortCriteria: z.ZodString;
|
|
20939
21623
|
}, "strict", z.ZodTypeAny, {
|
|
20940
|
-
fields:
|
|
21624
|
+
fields: {
|
|
21625
|
+
direction: "asc" | "desc";
|
|
21626
|
+
displayName?: string | undefined;
|
|
21627
|
+
field: string;
|
|
21628
|
+
}[];
|
|
20941
21629
|
sortCriteria: string;
|
|
20942
21630
|
}, {
|
|
20943
|
-
fields:
|
|
21631
|
+
fields: {
|
|
21632
|
+
direction: "asc" | "desc";
|
|
21633
|
+
displayName?: string | undefined;
|
|
21634
|
+
field: string;
|
|
21635
|
+
}[];
|
|
20944
21636
|
sortCriteria: string;
|
|
20945
21637
|
}>;
|
|
20946
21638
|
availableSorts: z.ZodArray<z.ZodObject<{
|
|
20947
|
-
fields: z.ZodArray<z.
|
|
21639
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
21640
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
21641
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
21642
|
+
field: z.ZodString;
|
|
21643
|
+
}, "strict", z.ZodTypeAny, {
|
|
21644
|
+
direction: "asc" | "desc";
|
|
21645
|
+
displayName?: string | undefined;
|
|
21646
|
+
field: string;
|
|
21647
|
+
}, {
|
|
21648
|
+
direction: "asc" | "desc";
|
|
21649
|
+
displayName?: string | undefined;
|
|
21650
|
+
field: string;
|
|
21651
|
+
}>, "many">;
|
|
20948
21652
|
sortCriteria: z.ZodString;
|
|
20949
21653
|
}, "strict", z.ZodTypeAny, {
|
|
20950
|
-
fields:
|
|
21654
|
+
fields: {
|
|
21655
|
+
direction: "asc" | "desc";
|
|
21656
|
+
displayName?: string | undefined;
|
|
21657
|
+
field: string;
|
|
21658
|
+
}[];
|
|
20951
21659
|
sortCriteria: string;
|
|
20952
21660
|
}, {
|
|
20953
|
-
fields:
|
|
21661
|
+
fields: {
|
|
21662
|
+
direction: "asc" | "desc";
|
|
21663
|
+
displayName?: string | undefined;
|
|
21664
|
+
field: string;
|
|
21665
|
+
}[];
|
|
20954
21666
|
sortCriteria: string;
|
|
20955
21667
|
}>, "many">;
|
|
20956
21668
|
}, "strict", z.ZodTypeAny, {
|
|
20957
21669
|
appliedSort: {
|
|
20958
|
-
fields:
|
|
21670
|
+
fields: {
|
|
21671
|
+
direction: "asc" | "desc";
|
|
21672
|
+
displayName?: string | undefined;
|
|
21673
|
+
field: string;
|
|
21674
|
+
}[];
|
|
20959
21675
|
sortCriteria: string;
|
|
20960
21676
|
};
|
|
20961
21677
|
availableSorts: {
|
|
20962
|
-
fields:
|
|
21678
|
+
fields: {
|
|
21679
|
+
direction: "asc" | "desc";
|
|
21680
|
+
displayName?: string | undefined;
|
|
21681
|
+
field: string;
|
|
21682
|
+
}[];
|
|
20963
21683
|
sortCriteria: string;
|
|
20964
21684
|
}[];
|
|
20965
21685
|
}, {
|
|
20966
21686
|
appliedSort: {
|
|
20967
|
-
fields:
|
|
21687
|
+
fields: {
|
|
21688
|
+
direction: "asc" | "desc";
|
|
21689
|
+
displayName?: string | undefined;
|
|
21690
|
+
field: string;
|
|
21691
|
+
}[];
|
|
20968
21692
|
sortCriteria: string;
|
|
20969
21693
|
};
|
|
20970
21694
|
availableSorts: {
|
|
20971
|
-
fields:
|
|
21695
|
+
fields: {
|
|
21696
|
+
direction: "asc" | "desc";
|
|
21697
|
+
displayName?: string | undefined;
|
|
21698
|
+
field: string;
|
|
21699
|
+
}[];
|
|
20972
21700
|
sortCriteria: string;
|
|
20973
21701
|
}[];
|
|
20974
21702
|
}>>;
|
|
@@ -29749,13 +30477,33 @@ export declare const SessionShellPropsSchema: z.ZodObject<{
|
|
|
29749
30477
|
}>;
|
|
29750
30478
|
export declare const SortPropsSchema: z.ZodObject<{
|
|
29751
30479
|
appliedSort: z.ZodUnion<[z.ZodObject<{
|
|
29752
|
-
fields: z.ZodArray<z.
|
|
30480
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
30481
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
30482
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
30483
|
+
field: z.ZodString;
|
|
30484
|
+
}, "strict", z.ZodTypeAny, {
|
|
30485
|
+
direction: "asc" | "desc";
|
|
30486
|
+
displayName?: string | undefined;
|
|
30487
|
+
field: string;
|
|
30488
|
+
}, {
|
|
30489
|
+
direction: "asc" | "desc";
|
|
30490
|
+
displayName?: string | undefined;
|
|
30491
|
+
field: string;
|
|
30492
|
+
}>, "many">;
|
|
29753
30493
|
sortCriteria: z.ZodString;
|
|
29754
30494
|
}, "strict", z.ZodTypeAny, {
|
|
29755
|
-
fields:
|
|
30495
|
+
fields: {
|
|
30496
|
+
direction: "asc" | "desc";
|
|
30497
|
+
displayName?: string | undefined;
|
|
30498
|
+
field: string;
|
|
30499
|
+
}[];
|
|
29756
30500
|
sortCriteria: string;
|
|
29757
30501
|
}, {
|
|
29758
|
-
fields:
|
|
30502
|
+
fields: {
|
|
30503
|
+
direction: "asc" | "desc";
|
|
30504
|
+
displayName?: string | undefined;
|
|
30505
|
+
field: string;
|
|
30506
|
+
}[];
|
|
29759
30507
|
sortCriteria: string;
|
|
29760
30508
|
}>, z.ZodObject<{
|
|
29761
30509
|
path: z.ZodString;
|
|
@@ -29777,13 +30525,33 @@ export declare const SortPropsSchema: z.ZodObject<{
|
|
|
29777
30525
|
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29778
30526
|
}>]>;
|
|
29779
30527
|
availableSorts: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
29780
|
-
fields: z.ZodArray<z.
|
|
30528
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
30529
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
30530
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
30531
|
+
field: z.ZodString;
|
|
30532
|
+
}, "strict", z.ZodTypeAny, {
|
|
30533
|
+
direction: "asc" | "desc";
|
|
30534
|
+
displayName?: string | undefined;
|
|
30535
|
+
field: string;
|
|
30536
|
+
}, {
|
|
30537
|
+
direction: "asc" | "desc";
|
|
30538
|
+
displayName?: string | undefined;
|
|
30539
|
+
field: string;
|
|
30540
|
+
}>, "many">;
|
|
29781
30541
|
sortCriteria: z.ZodString;
|
|
29782
30542
|
}, "strict", z.ZodTypeAny, {
|
|
29783
|
-
fields:
|
|
30543
|
+
fields: {
|
|
30544
|
+
direction: "asc" | "desc";
|
|
30545
|
+
displayName?: string | undefined;
|
|
30546
|
+
field: string;
|
|
30547
|
+
}[];
|
|
29784
30548
|
sortCriteria: string;
|
|
29785
30549
|
}, {
|
|
29786
|
-
fields:
|
|
30550
|
+
fields: {
|
|
30551
|
+
direction: "asc" | "desc";
|
|
30552
|
+
displayName?: string | undefined;
|
|
30553
|
+
field: string;
|
|
30554
|
+
}[];
|
|
29787
30555
|
sortCriteria: string;
|
|
29788
30556
|
}>, "many">, z.ZodObject<{
|
|
29789
30557
|
path: z.ZodString;
|
|
@@ -29808,7 +30576,11 @@ export declare const SortPropsSchema: z.ZodObject<{
|
|
|
29808
30576
|
appliedSort: {
|
|
29809
30577
|
path: string;
|
|
29810
30578
|
} | {
|
|
29811
|
-
fields:
|
|
30579
|
+
fields: {
|
|
30580
|
+
direction: "asc" | "desc";
|
|
30581
|
+
displayName?: string | undefined;
|
|
30582
|
+
field: string;
|
|
30583
|
+
}[];
|
|
29812
30584
|
sortCriteria: string;
|
|
29813
30585
|
} | {
|
|
29814
30586
|
call: string;
|
|
@@ -29816,7 +30588,11 @@ export declare const SortPropsSchema: z.ZodObject<{
|
|
|
29816
30588
|
returnType: "any" | "array" | "boolean" | "number" | "object" | "string" | "void";
|
|
29817
30589
|
};
|
|
29818
30590
|
availableSorts: {
|
|
29819
|
-
fields:
|
|
30591
|
+
fields: {
|
|
30592
|
+
direction: "asc" | "desc";
|
|
30593
|
+
displayName?: string | undefined;
|
|
30594
|
+
field: string;
|
|
30595
|
+
}[];
|
|
29820
30596
|
sortCriteria: string;
|
|
29821
30597
|
}[] | {
|
|
29822
30598
|
path: string;
|
|
@@ -29829,7 +30605,11 @@ export declare const SortPropsSchema: z.ZodObject<{
|
|
|
29829
30605
|
appliedSort: {
|
|
29830
30606
|
path: string;
|
|
29831
30607
|
} | {
|
|
29832
|
-
fields:
|
|
30608
|
+
fields: {
|
|
30609
|
+
direction: "asc" | "desc";
|
|
30610
|
+
displayName?: string | undefined;
|
|
30611
|
+
field: string;
|
|
30612
|
+
}[];
|
|
29833
30613
|
sortCriteria: string;
|
|
29834
30614
|
} | {
|
|
29835
30615
|
call: string;
|
|
@@ -29837,7 +30617,11 @@ export declare const SortPropsSchema: z.ZodObject<{
|
|
|
29837
30617
|
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29838
30618
|
};
|
|
29839
30619
|
availableSorts: {
|
|
29840
|
-
fields:
|
|
30620
|
+
fields: {
|
|
30621
|
+
direction: "asc" | "desc";
|
|
30622
|
+
displayName?: string | undefined;
|
|
30623
|
+
field: string;
|
|
30624
|
+
}[];
|
|
29841
30625
|
sortCriteria: string;
|
|
29842
30626
|
}[] | {
|
|
29843
30627
|
path: string;
|
|
@@ -31425,25 +32209,53 @@ export declare const SortActionSchema: z.ZodObject<{
|
|
|
31425
32209
|
name: z.ZodLiteral<"selectSort">;
|
|
31426
32210
|
context: z.ZodObject<{
|
|
31427
32211
|
sortCriteria: z.ZodString;
|
|
31428
|
-
fields: z.ZodArray<z.
|
|
32212
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
32213
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
32214
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
32215
|
+
field: z.ZodString;
|
|
32216
|
+
}, "strict", z.ZodTypeAny, {
|
|
32217
|
+
direction: "asc" | "desc";
|
|
32218
|
+
displayName?: string | undefined;
|
|
32219
|
+
field: string;
|
|
32220
|
+
}, {
|
|
32221
|
+
direction: "asc" | "desc";
|
|
32222
|
+
displayName?: string | undefined;
|
|
32223
|
+
field: string;
|
|
32224
|
+
}>, "many">;
|
|
31429
32225
|
}, "strict", z.ZodTypeAny, {
|
|
31430
32226
|
sortCriteria: string;
|
|
31431
|
-
fields:
|
|
32227
|
+
fields: {
|
|
32228
|
+
direction: "asc" | "desc";
|
|
32229
|
+
displayName?: string | undefined;
|
|
32230
|
+
field: string;
|
|
32231
|
+
}[];
|
|
31432
32232
|
}, {
|
|
31433
32233
|
sortCriteria: string;
|
|
31434
|
-
fields:
|
|
32234
|
+
fields: {
|
|
32235
|
+
direction: "asc" | "desc";
|
|
32236
|
+
displayName?: string | undefined;
|
|
32237
|
+
field: string;
|
|
32238
|
+
}[];
|
|
31435
32239
|
}>;
|
|
31436
32240
|
}, "strip", z.ZodTypeAny, {
|
|
31437
32241
|
name: "selectSort";
|
|
31438
32242
|
context: {
|
|
31439
32243
|
sortCriteria: string;
|
|
31440
|
-
fields:
|
|
32244
|
+
fields: {
|
|
32245
|
+
direction: "asc" | "desc";
|
|
32246
|
+
displayName?: string | undefined;
|
|
32247
|
+
field: string;
|
|
32248
|
+
}[];
|
|
31441
32249
|
};
|
|
31442
32250
|
}, {
|
|
31443
32251
|
name: "selectSort";
|
|
31444
32252
|
context: {
|
|
31445
32253
|
sortCriteria: string;
|
|
31446
|
-
fields:
|
|
32254
|
+
fields: {
|
|
32255
|
+
direction: "asc" | "desc";
|
|
32256
|
+
displayName?: string | undefined;
|
|
32257
|
+
field: string;
|
|
32258
|
+
}[];
|
|
31447
32259
|
};
|
|
31448
32260
|
}>;
|
|
31449
32261
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -31451,7 +32263,11 @@ export declare const SortActionSchema: z.ZodObject<{
|
|
|
31451
32263
|
name: "selectSort";
|
|
31452
32264
|
context: {
|
|
31453
32265
|
sortCriteria: string;
|
|
31454
|
-
fields:
|
|
32266
|
+
fields: {
|
|
32267
|
+
direction: "asc" | "desc";
|
|
32268
|
+
displayName?: string | undefined;
|
|
32269
|
+
field: string;
|
|
32270
|
+
}[];
|
|
31455
32271
|
};
|
|
31456
32272
|
};
|
|
31457
32273
|
}, {
|
|
@@ -31459,7 +32275,11 @@ export declare const SortActionSchema: z.ZodObject<{
|
|
|
31459
32275
|
name: "selectSort";
|
|
31460
32276
|
context: {
|
|
31461
32277
|
sortCriteria: string;
|
|
31462
|
-
fields:
|
|
32278
|
+
fields: {
|
|
32279
|
+
direction: "asc" | "desc";
|
|
32280
|
+
displayName?: string | undefined;
|
|
32281
|
+
field: string;
|
|
32282
|
+
}[];
|
|
31463
32283
|
};
|
|
31464
32284
|
};
|
|
31465
32285
|
}>;
|