@questpie/admin 1.0.2 → 1.0.4

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.
@@ -1,18 +1,19 @@
1
- import { t as adminModule$1 } from "./index-B9Xwk4hi.mjs";
1
+ import { t as adminModule$1 } from "./index-2AfQaXoY.mjs";
2
2
  import { i as ViewConfiguration } from "./saved-views.types-BMsz5mCy.mjs";
3
3
  import * as questpie_shared0 from "questpie/shared";
4
+ import { Prettify, SetProperty, TypeMerge, UnsetProperty } from "questpie/shared";
4
5
  import * as React$2 from "react";
5
6
  import React$1, { ReactElement, ReactNode } from "react";
6
7
  import * as zod169 from "zod";
7
8
  import { z } from "zod";
8
9
  import { Control } from "react-hook-form";
9
- import * as react_jsx_runtime11 from "react/jsx-runtime";
10
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
10
11
  import { Button } from "@base-ui/react/button";
11
12
  import "class-variance-authority";
12
13
  import { Select } from "@base-ui/react/select";
13
14
  import { useRender } from "@base-ui/react/use-render";
14
15
  import { useShallow } from "zustand/shallow";
15
- import * as _tanstack_react_query5 from "@tanstack/react-query";
16
+ import * as _tanstack_react_query3 from "@tanstack/react-query";
16
17
  import { QueryClient, UseMutationOptions, UseQueryOptions } from "@tanstack/react-query";
17
18
  import * as zustand0 from "zustand";
18
19
  import { Checkbox } from "@base-ui/react/checkbox";
@@ -32,7 +33,7 @@ import "@tanstack/react-table";
32
33
  import "@base-ui/react/avatar";
33
34
  import "@base-ui/react";
34
35
  import "@base-ui/react/scroll-area";
35
- import * as questpie102 from "questpie";
36
+ import * as questpie134 from "questpie";
36
37
  import { CollectionInfer, Questpie } from "questpie";
37
38
  import * as drizzle_orm_pg_core116 from "drizzle-orm/pg-core";
38
39
  import * as drizzle_orm57 from "drizzle-orm";
@@ -1199,15 +1200,11 @@ declare class FieldBuilder<TState$1 extends FieldBuilderState> implements FieldD
1199
1200
  /**
1200
1201
  * Override options - returns new builder with updated state
1201
1202
  */
1202
- $options<TNewOptions>(options: TNewOptions): FieldBuilder<Omit<TState$1, "~options"> & {
1203
- "~options": TNewOptions;
1204
- }>;
1203
+ $options<TNewOptions>(options: TNewOptions): FieldBuilder<SetProperty<TState$1, "~options", TNewOptions>>;
1205
1204
  /**
1206
1205
  * Set cell component for table views
1207
1206
  */
1208
- withCell<TNewCellComponent extends MaybeLazyComponent>(component: TNewCellComponent): FieldBuilder<Omit<TState$1, "cellComponent"> & {
1209
- cellComponent: TNewCellComponent;
1210
- }>;
1207
+ withCell<TNewCellComponent extends MaybeLazyComponent>(component: TNewCellComponent): FieldBuilder<SetProperty<TState$1, "cellComponent", TNewCellComponent>>;
1211
1208
  }
1212
1209
  /**
1213
1210
  * Inferred options type for a field
@@ -2410,9 +2407,7 @@ interface PageBuilderState {
2410
2407
  declare class PageBuilder<TState$1 extends PageBuilderState> {
2411
2408
  readonly state: TState$1;
2412
2409
  constructor(state: TState$1);
2413
- path(path: string): PageBuilder<Omit<TState$1, "path"> & {
2414
- path: string;
2415
- }>;
2410
+ path(path: string): PageBuilder<SetProperty<TState$1, "path", string>>;
2416
2411
  }
2417
2412
  /**
2418
2413
  * Create a custom page
@@ -3338,9 +3333,7 @@ declare class ListViewBuilder<TState$1 extends ListViewBuilderState> implements
3338
3333
  *
3339
3334
  * @param config - Optional config value (for runtime) or omit for type-only override
3340
3335
  */
3341
- $config<TNewConfig>(config?: TNewConfig): ListViewBuilder<Omit<TState$1, "~config"> & {
3342
- "~config": TNewConfig;
3343
- }>;
3336
+ $config<TNewConfig>(config?: TNewConfig): ListViewBuilder<SetProperty<TState$1, "~config", TNewConfig>>;
3344
3337
  }
3345
3338
  /**
3346
3339
  * Edit view builder - implements EditViewDefinition for unified type handling
@@ -3357,9 +3350,7 @@ declare class EditViewBuilder<TState$1 extends EditViewBuilderState> implements
3357
3350
  *
3358
3351
  * @param config - Optional config value (for runtime) or omit for type-only override
3359
3352
  */
3360
- $config<TNewConfig>(config?: TNewConfig): EditViewBuilder<Omit<TState$1, "~config"> & {
3361
- "~config": TNewConfig;
3362
- }>;
3353
+ $config<TNewConfig>(config?: TNewConfig): EditViewBuilder<SetProperty<TState$1, "~config", TNewConfig>>;
3363
3354
  }
3364
3355
  /**
3365
3356
  * Create a list view with automatic config type extraction.
@@ -3418,9 +3409,7 @@ interface WidgetBuilderState {
3418
3409
  declare class WidgetBuilder<TState$1 extends WidgetBuilderState> {
3419
3410
  readonly state: TState$1;
3420
3411
  constructor(state: TState$1);
3421
- $config<TNewConfig>(config: TNewConfig): WidgetBuilder<Omit<TState$1, "~config"> & {
3422
- "~config": TNewConfig;
3423
- }>;
3412
+ $config<TNewConfig>(config: TNewConfig): WidgetBuilder<SetProperty<TState$1, "~config", TNewConfig>>;
3424
3413
  }
3425
3414
  /**
3426
3415
  * Create a dashboard widget
@@ -3568,7 +3557,7 @@ declare function AuthLayout({
3568
3557
  footer,
3569
3558
  children,
3570
3559
  className
3571
- }: AuthLayoutProps): react_jsx_runtime11.JSX.Element;
3560
+ }: AuthLayoutProps): react_jsx_runtime10.JSX.Element;
3572
3561
  //#endregion
3573
3562
  //#region src/client/views/auth/login-form.d.ts
3574
3563
  /**
@@ -3637,7 +3626,7 @@ declare function LoginForm({
3637
3626
  defaultValues,
3638
3627
  className,
3639
3628
  error
3640
- }: LoginFormProps): react_jsx_runtime11.JSX.Element;
3629
+ }: LoginFormProps): react_jsx_runtime10.JSX.Element;
3641
3630
  //#endregion
3642
3631
  //#region src/client/views/auth/forgot-password-form.d.ts
3643
3632
  /**
@@ -3692,7 +3681,7 @@ declare function ForgotPasswordForm({
3692
3681
  defaultValues,
3693
3682
  className,
3694
3683
  error
3695
- }: ForgotPasswordFormProps): react_jsx_runtime11.JSX.Element;
3684
+ }: ForgotPasswordFormProps): react_jsx_runtime10.JSX.Element;
3696
3685
  //#endregion
3697
3686
  //#region src/client/views/auth/reset-password-form.d.ts
3698
3687
  /**
@@ -3754,7 +3743,7 @@ declare function ResetPasswordForm({
3754
3743
  minPasswordLength,
3755
3744
  className,
3756
3745
  error
3757
- }: ResetPasswordFormProps): react_jsx_runtime11.JSX.Element;
3746
+ }: ResetPasswordFormProps): react_jsx_runtime10.JSX.Element;
3758
3747
  //#endregion
3759
3748
  //#region src/client/views/auth/accept-invite-form.d.ts
3760
3749
  /**
@@ -3823,7 +3812,7 @@ declare function AcceptInviteForm({
3823
3812
  className,
3824
3813
  error,
3825
3814
  minPasswordLength
3826
- }: AcceptInviteFormProps): react_jsx_runtime11.JSX.Element;
3815
+ }: AcceptInviteFormProps): react_jsx_runtime10.JSX.Element;
3827
3816
  //#endregion
3828
3817
  //#region src/client/views/auth/setup-form.d.ts
3829
3818
  /**
@@ -3877,7 +3866,7 @@ declare function SetupForm({
3877
3866
  defaultValues,
3878
3867
  className,
3879
3868
  error
3880
- }: SetupFormProps): react_jsx_runtime11.JSX.Element;
3869
+ }: SetupFormProps): react_jsx_runtime10.JSX.Element;
3881
3870
  //#endregion
3882
3871
  //#region src/client/views/collection/cells/complex-cells.d.ts
3883
3872
  /**
@@ -3887,7 +3876,7 @@ declare function JsonCell({
3887
3876
  value
3888
3877
  }: {
3889
3878
  value: unknown;
3890
- }): react_jsx_runtime11.JSX.Element;
3879
+ }): react_jsx_runtime10.JSX.Element;
3891
3880
  /**
3892
3881
  * Object cell - displays nested object with hover tooltip preview
3893
3882
  */
@@ -3898,7 +3887,7 @@ declare function ObjectCell({
3898
3887
  value: unknown;
3899
3888
  row?: unknown;
3900
3889
  fieldDef?: FieldDefinition;
3901
- }): react_jsx_runtime11.JSX.Element;
3890
+ }): react_jsx_runtime10.JSX.Element;
3902
3891
  /**
3903
3892
  * Blocks cell - summarizes block tree content with type counts
3904
3893
  */
@@ -3906,7 +3895,7 @@ declare function BlocksCell({
3906
3895
  value
3907
3896
  }: {
3908
3897
  value: unknown;
3909
- }): react_jsx_runtime11.JSX.Element;
3898
+ }): react_jsx_runtime10.JSX.Element;
3910
3899
  //#endregion
3911
3900
  //#region src/client/views/collection/cells/primitive-cells.d.ts
3912
3901
  /**
@@ -3916,12 +3905,12 @@ declare function TextCell({
3916
3905
  value
3917
3906
  }: {
3918
3907
  value: unknown;
3919
- }): react_jsx_runtime11.JSX.Element;
3908
+ }): react_jsx_runtime10.JSX.Element;
3920
3909
  declare function RichTextCell({
3921
3910
  value
3922
3911
  }: {
3923
3912
  value: unknown;
3924
- }): react_jsx_runtime11.JSX.Element;
3913
+ }): react_jsx_runtime10.JSX.Element;
3925
3914
  /**
3926
3915
  * Number cell - right-aligned number display
3927
3916
  */
@@ -3929,7 +3918,7 @@ declare function NumberCell({
3929
3918
  value
3930
3919
  }: {
3931
3920
  value: unknown;
3932
- }): react_jsx_runtime11.JSX.Element;
3921
+ }): react_jsx_runtime10.JSX.Element;
3933
3922
  /**
3934
3923
  * Boolean cell - badge display
3935
3924
  */
@@ -3937,7 +3926,7 @@ declare function BooleanCell({
3937
3926
  value
3938
3927
  }: {
3939
3928
  value: unknown;
3940
- }): react_jsx_runtime11.JSX.Element;
3929
+ }): react_jsx_runtime10.JSX.Element;
3941
3930
  /**
3942
3931
  * Date cell - formatted date display
3943
3932
  */
@@ -3945,7 +3934,7 @@ declare function DateCell({
3945
3934
  value
3946
3935
  }: {
3947
3936
  value: unknown;
3948
- }): react_jsx_runtime11.JSX.Element;
3937
+ }): react_jsx_runtime10.JSX.Element;
3949
3938
  /**
3950
3939
  * DateTime cell - formatted date and time display
3951
3940
  */
@@ -3953,7 +3942,7 @@ declare function DateTimeCell({
3953
3942
  value
3954
3943
  }: {
3955
3944
  value: unknown;
3956
- }): react_jsx_runtime11.JSX.Element;
3945
+ }): react_jsx_runtime10.JSX.Element;
3957
3946
  /**
3958
3947
  * Time cell - formatted time display (for time-only values stored as string)
3959
3948
  */
@@ -3961,7 +3950,7 @@ declare function TimeCell({
3961
3950
  value
3962
3951
  }: {
3963
3952
  value: unknown;
3964
- }): react_jsx_runtime11.JSX.Element;
3953
+ }): react_jsx_runtime10.JSX.Element;
3965
3954
  /**
3966
3955
  * Email cell - displays email with mailto link styling
3967
3956
  */
@@ -3969,7 +3958,7 @@ declare function EmailCell({
3969
3958
  value
3970
3959
  }: {
3971
3960
  value: unknown;
3972
- }): react_jsx_runtime11.JSX.Element;
3961
+ }): react_jsx_runtime10.JSX.Element;
3973
3962
  /**
3974
3963
  * Select/Status cell - badge display
3975
3964
  */
@@ -3977,7 +3966,7 @@ declare function SelectCell({
3977
3966
  value
3978
3967
  }: {
3979
3968
  value: unknown;
3980
- }): react_jsx_runtime11.JSX.Element;
3969
+ }): react_jsx_runtime10.JSX.Element;
3981
3970
  //#endregion
3982
3971
  //#region src/client/views/collection/cells/relation-cells.d.ts
3983
3972
  /**
@@ -3992,7 +3981,7 @@ declare function RelationCell({
3992
3981
  value: unknown;
3993
3982
  row?: unknown;
3994
3983
  fieldDef?: FieldDefinition;
3995
- }): react_jsx_runtime11.JSX.Element;
3984
+ }): react_jsx_runtime10.JSX.Element;
3996
3985
  /**
3997
3986
  * Reverse relation cell - displays related items as clickable chips
3998
3987
  * Shows count badge with tooltip listing all items for navigation
@@ -4005,7 +3994,7 @@ declare function ReverseRelationCell({
4005
3994
  value: unknown;
4006
3995
  row?: unknown;
4007
3996
  fieldDef?: FieldDefinition;
4008
- }): react_jsx_runtime11.JSX.Element;
3997
+ }): react_jsx_runtime10.JSX.Element;
4009
3998
  //#endregion
4010
3999
  //#region src/client/views/collection/cells/upload-cells.d.ts
4011
4000
  /**
@@ -4025,7 +4014,7 @@ declare function UploadCell({
4025
4014
  value
4026
4015
  }: {
4027
4016
  value: unknown;
4028
- }): react_jsx_runtime11.JSX.Element;
4017
+ }): react_jsx_runtime10.JSX.Element;
4029
4018
  /**
4030
4019
  * Upload many cell - displays multiple assets count or thumbnails
4031
4020
  */
@@ -4033,7 +4022,7 @@ declare function UploadManyCell({
4033
4022
  value
4034
4023
  }: {
4035
4024
  value: unknown;
4036
- }): react_jsx_runtime11.JSX.Element;
4025
+ }): react_jsx_runtime10.JSX.Element;
4037
4026
  //#endregion
4038
4027
  //#region src/client/views/collection/form-view.d.ts
4039
4028
  /**
@@ -4757,15 +4746,15 @@ declare function useAdminStore<T$1>(selector: (state: AdminState) => T$1): T$1;
4757
4746
  /** Select admin instance */
4758
4747
  declare const selectAdmin: (s: AdminState) => Admin<AdminBuilderState<any, FieldDefinitionMap, ListViewDefinitionMap, EditViewDefinitionMap, PageDefinitionMap, WidgetDefinitionMap, CollectionConfigMap, GlobalConfigMap, BlockDefinitionMap>>;
4759
4748
  /** Select client instance */
4760
- declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questpie<{
4761
- locale: questpie102.LocaleConfig | undefined;
4749
+ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questpie<{
4750
+ locale: questpie134.LocaleConfig | undefined;
4762
4751
  email: {
4763
- templates: questpie102.TypeMerge<questpie102.UnsetProperty<{}, keyof TOtherEmailTemplates>, {}>;
4764
- adapter: questpie102.MailAdapter;
4752
+ templates: questpie134.TypeMerge<questpie134.UnsetProperty<{}, keyof TOtherEmailTemplates>, {}>;
4753
+ adapter: questpie134.MailAdapter;
4765
4754
  };
4766
- search: questpie102.SearchAdapter | undefined;
4755
+ search: questpie134.SearchAdapter | undefined;
4767
4756
  collections: {
4768
- user: questpie102.CollectionBuilder<{
4757
+ user: questpie134.CollectionBuilder<{
4769
4758
  options: {
4770
4759
  timestamps: true;
4771
4760
  };
@@ -4782,21 +4771,21 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
4782
4771
  };
4783
4772
  localized: [];
4784
4773
  virtuals: undefined;
4785
- relations: Record<string, questpie102.RelationConfig>;
4774
+ relations: Record<string, questpie134.RelationConfig>;
4786
4775
  indexes: Record<string, any>;
4787
4776
  title: "name";
4788
- hooks: questpie102.CollectionHooks<any, any, any, any>;
4789
- access: questpie102.CollectionAccess<any, any>;
4777
+ hooks: questpie134.CollectionHooks<any, any, any, any>;
4778
+ access: questpie134.CollectionAccess<any, any>;
4790
4779
  functions: {
4791
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4780
+ [x: string]: questpie134.FunctionDefinition<any, any, any>;
4792
4781
  };
4793
4782
  searchable: undefined;
4794
4783
  validation: undefined;
4795
4784
  output: undefined;
4796
4785
  upload: undefined;
4797
4786
  }>;
4798
- session: questpie102.CollectionBuilder<{
4799
- options: questpie102.CollectionOptions;
4787
+ session: questpie134.CollectionBuilder<{
4788
+ options: questpie134.CollectionOptions;
4800
4789
  name: "session";
4801
4790
  fields: {
4802
4791
  userId: drizzle_orm57.NotNull<drizzle_orm_pg_core116.PgVarcharBuilder<[string, ...string[]]>>;
@@ -4808,21 +4797,21 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
4808
4797
  };
4809
4798
  localized: [];
4810
4799
  virtuals: undefined;
4811
- relations: Record<string, questpie102.RelationConfig>;
4800
+ relations: Record<string, questpie134.RelationConfig>;
4812
4801
  indexes: Record<string, any>;
4813
4802
  title: "token";
4814
- hooks: questpie102.CollectionHooks<any, any, any, any>;
4815
- access: questpie102.CollectionAccess<any, any>;
4803
+ hooks: questpie134.CollectionHooks<any, any, any, any>;
4804
+ access: questpie134.CollectionAccess<any, any>;
4816
4805
  functions: {
4817
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4806
+ [x: string]: questpie134.FunctionDefinition<any, any, any>;
4818
4807
  };
4819
4808
  searchable: undefined;
4820
4809
  validation: undefined;
4821
4810
  output: undefined;
4822
4811
  upload: undefined;
4823
4812
  }>;
4824
- account: questpie102.CollectionBuilder<{
4825
- options: questpie102.CollectionOptions;
4813
+ account: questpie134.CollectionBuilder<{
4814
+ options: questpie134.CollectionOptions;
4826
4815
  name: "account";
4827
4816
  fields: {
4828
4817
  userId: drizzle_orm57.NotNull<drizzle_orm_pg_core116.PgVarcharBuilder<[string, ...string[]]>>;
@@ -4838,21 +4827,21 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
4838
4827
  };
4839
4828
  localized: [];
4840
4829
  virtuals: undefined;
4841
- relations: Record<string, questpie102.RelationConfig>;
4830
+ relations: Record<string, questpie134.RelationConfig>;
4842
4831
  indexes: Record<string, any>;
4843
4832
  title: "providerId";
4844
- hooks: questpie102.CollectionHooks<any, any, any, any>;
4845
- access: questpie102.CollectionAccess<any, any>;
4833
+ hooks: questpie134.CollectionHooks<any, any, any, any>;
4834
+ access: questpie134.CollectionAccess<any, any>;
4846
4835
  functions: {
4847
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4836
+ [x: string]: questpie134.FunctionDefinition<any, any, any>;
4848
4837
  };
4849
4838
  searchable: undefined;
4850
4839
  validation: undefined;
4851
4840
  output: undefined;
4852
4841
  upload: undefined;
4853
4842
  }>;
4854
- verification: questpie102.CollectionBuilder<{
4855
- options: questpie102.CollectionOptions;
4843
+ verification: questpie134.CollectionBuilder<{
4844
+ options: questpie134.CollectionOptions;
4856
4845
  name: "verification";
4857
4846
  fields: {
4858
4847
  identifier: drizzle_orm57.NotNull<drizzle_orm_pg_core116.PgVarcharBuilder<[string, ...string[]]>>;
@@ -4861,20 +4850,20 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
4861
4850
  };
4862
4851
  localized: [];
4863
4852
  virtuals: undefined;
4864
- relations: Record<string, questpie102.RelationConfig>;
4853
+ relations: Record<string, questpie134.RelationConfig>;
4865
4854
  indexes: Record<string, any>;
4866
4855
  title: "identifier";
4867
- hooks: questpie102.CollectionHooks<any, any, any, any>;
4868
- access: questpie102.CollectionAccess<any, any>;
4856
+ hooks: questpie134.CollectionHooks<any, any, any, any>;
4857
+ access: questpie134.CollectionAccess<any, any>;
4869
4858
  functions: {
4870
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4859
+ [x: string]: questpie134.FunctionDefinition<any, any, any>;
4871
4860
  };
4872
4861
  searchable: undefined;
4873
4862
  validation: undefined;
4874
4863
  output: undefined;
4875
4864
  upload: undefined;
4876
4865
  }>;
4877
- assets: questpie102.CollectionBuilder<{
4866
+ assets: questpie134.CollectionBuilder<{
4878
4867
  options: {
4879
4868
  timestamps: true;
4880
4869
  };
@@ -4893,14 +4882,14 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
4893
4882
  };
4894
4883
  localized: [];
4895
4884
  virtuals: undefined;
4896
- relations: Record<string, questpie102.RelationConfig>;
4885
+ relations: Record<string, questpie134.RelationConfig>;
4897
4886
  indexes: Record<string, any>;
4898
4887
  title: "filename";
4899
4888
  hooks: {
4900
4889
  afterDelete: ({
4901
4890
  data,
4902
4891
  app
4903
- }: questpie102.HookContext<{
4892
+ }: questpie134.HookContext<{
4904
4893
  width: number | null;
4905
4894
  height: number | null;
4906
4895
  alt: string | null;
@@ -4917,18 +4906,18 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
4917
4906
  url: string;
4918
4907
  }, never, "delete", any>) => Promise<void>;
4919
4908
  };
4920
- access: questpie102.CollectionAccess<any, any>;
4909
+ access: questpie134.CollectionAccess<any, any>;
4921
4910
  functions: {
4922
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4911
+ [x: string]: questpie134.FunctionDefinition<any, any, any>;
4923
4912
  };
4924
4913
  searchable: undefined;
4925
4914
  validation: undefined;
4926
- output: questpie102.TypeMerge<{}, {
4915
+ output: questpie134.TypeMerge<{}, {
4927
4916
  url: string;
4928
4917
  }>;
4929
- upload: questpie102.UploadOptions;
4918
+ upload: questpie134.UploadOptions;
4930
4919
  }>;
4931
- apikey: questpie102.CollectionBuilder<{
4920
+ apikey: questpie134.CollectionBuilder<{
4932
4921
  options: {
4933
4922
  timestamps: true;
4934
4923
  };
@@ -4955,20 +4944,20 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
4955
4944
  };
4956
4945
  localized: [];
4957
4946
  virtuals: undefined;
4958
- relations: Record<string, questpie102.RelationConfig>;
4947
+ relations: Record<string, questpie134.RelationConfig>;
4959
4948
  indexes: Record<string, any>;
4960
4949
  title: "key";
4961
- hooks: questpie102.CollectionHooks<any, any, any, any>;
4962
- access: questpie102.CollectionAccess<any, any>;
4950
+ hooks: questpie134.CollectionHooks<any, any, any, any>;
4951
+ access: questpie134.CollectionAccess<any, any>;
4963
4952
  functions: {
4964
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4953
+ [x: string]: questpie134.FunctionDefinition<any, any, any>;
4965
4954
  };
4966
4955
  searchable: undefined;
4967
4956
  validation: undefined;
4968
4957
  output: undefined;
4969
4958
  upload: undefined;
4970
4959
  }>;
4971
- admin_saved_views: questpie102.CollectionBuilder<{
4960
+ admin_saved_views: questpie134.CollectionBuilder<{
4972
4961
  name: "admin_saved_views";
4973
4962
  localized: [];
4974
4963
  output: undefined;
@@ -4985,17 +4974,17 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
4985
4974
  };
4986
4975
  upload: undefined;
4987
4976
  functions: {
4988
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4977
+ [x: string]: questpie134.FunctionDefinition<any, any, any>;
4989
4978
  };
4990
- hooks: questpie102.CollectionHooks<any, any, any, any>;
4979
+ hooks: questpie134.CollectionHooks<any, any, any, any>;
4991
4980
  indexes: Record<string, any>;
4992
4981
  searchable: undefined;
4993
4982
  virtuals: undefined;
4994
- relations: Record<string, questpie102.RelationConfig>;
4995
- access: questpie102.CollectionAccess<any, any>;
4983
+ relations: Record<string, questpie134.RelationConfig>;
4984
+ access: questpie134.CollectionAccess<any, any>;
4996
4985
  validation: undefined;
4997
4986
  }>;
4998
- admin_preferences: questpie102.CollectionBuilder<{
4987
+ admin_preferences: questpie134.CollectionBuilder<{
4999
4988
  name: "admin_preferences";
5000
4989
  localized: [];
5001
4990
  output: undefined;
@@ -5010,21 +4999,21 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
5010
4999
  };
5011
5000
  upload: undefined;
5012
5001
  functions: {
5013
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
5002
+ [x: string]: questpie134.FunctionDefinition<any, any, any>;
5014
5003
  };
5015
- hooks: questpie102.CollectionHooks<any, any, any, any>;
5004
+ hooks: questpie134.CollectionHooks<any, any, any, any>;
5016
5005
  indexes: drizzle_orm_pg_core116.IndexBuilder[];
5017
5006
  searchable: undefined;
5018
5007
  virtuals: undefined;
5019
- relations: Record<string, questpie102.RelationConfig>;
5020
- access: questpie102.CollectionAccess<any, any>;
5008
+ relations: Record<string, questpie134.RelationConfig>;
5009
+ access: questpie134.CollectionAccess<any, any>;
5021
5010
  validation: undefined;
5022
5011
  }>;
5023
5012
  };
5024
- globals: questpie102.TypeMerge<questpie102.UnsetProperty<{}, keyof TOtherGlobals>, {}>;
5025
- translations: questpie102.TranslationsConfig | undefined;
5013
+ globals: questpie134.TypeMerge<questpie134.UnsetProperty<{}, keyof TOtherGlobals>, {}>;
5014
+ translations: questpie134.TranslationsConfig | undefined;
5026
5015
  "~messageKeys": unknown;
5027
- auth: questpie102.MergeAuthOptions<{}, questpie102.MergeAuthOptions<{}, {
5016
+ auth: questpie134.MergeAuthOptions<{}, questpie134.MergeAuthOptions<{}, {
5028
5017
  baseURL: string | undefined;
5029
5018
  secret: string | undefined;
5030
5019
  advanced: {
@@ -6874,21 +6863,21 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
6874
6863
  url: string;
6875
6864
  };
6876
6865
  functions: {
6877
- mintPreviewToken: questpie102.JsonFunctionDefinition<{
6866
+ mintPreviewToken: questpie134.JsonFunctionDefinition<{
6878
6867
  path: string;
6879
6868
  ttlMs?: number | undefined;
6880
6869
  }, {
6881
6870
  token: string;
6882
6871
  expiresAt: number;
6883
6872
  }, any>;
6884
- verifyPreviewToken: questpie102.JsonFunctionDefinition<{
6873
+ verifyPreviewToken: questpie134.JsonFunctionDefinition<{
6885
6874
  token: string;
6886
6875
  }, {
6887
6876
  valid: boolean;
6888
6877
  path?: string | undefined;
6889
6878
  error?: string | undefined;
6890
6879
  }, any>;
6891
- getContentLocales: questpie102.JsonFunctionDefinition<Record<string, never> | undefined, {
6880
+ getContentLocales: questpie134.JsonFunctionDefinition<Record<string, never> | undefined, {
6892
6881
  locales: {
6893
6882
  code: string;
6894
6883
  label?: string | undefined;
@@ -6898,10 +6887,10 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
6898
6887
  defaultLocale: string;
6899
6888
  fallbacks?: Record<string, string> | undefined;
6900
6889
  }, any>;
6901
- isSetupRequired: questpie102.JsonFunctionDefinition<Record<string, never>, {
6890
+ isSetupRequired: questpie134.JsonFunctionDefinition<Record<string, never>, {
6902
6891
  required: boolean;
6903
6892
  }, any>;
6904
- createFirstAdmin: questpie102.JsonFunctionDefinition<{
6893
+ createFirstAdmin: questpie134.JsonFunctionDefinition<{
6905
6894
  email: string;
6906
6895
  password: string;
6907
6896
  name: string;
@@ -6916,18 +6905,18 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie102.Questp
6916
6905
  }, any>;
6917
6906
  };
6918
6907
  secret: string | undefined;
6919
- storage: questpie102.StorageConfig | undefined;
6908
+ storage: questpie134.StorageConfig | undefined;
6920
6909
  queue: {
6921
- jobs: questpie102.TypeMerge<questpie102.UnsetProperty<{}, keyof TOtherJobs>, {}>;
6922
- adapter: questpie102.QueueAdapter;
6910
+ jobs: questpie134.TypeMerge<questpie134.UnsetProperty<{}, keyof TOtherJobs>, {}>;
6911
+ adapter: questpie134.QueueAdapter;
6923
6912
  };
6924
- searchConfig: questpie102.SearchConfig | undefined;
6925
- realtime: questpie102.RealtimeConfig | undefined;
6913
+ searchConfig: questpie134.SearchConfig | undefined;
6914
+ realtime: questpie134.RealtimeConfig | undefined;
6926
6915
  logger: questpie_shared0.LoggerConfig | undefined;
6927
6916
  kv: questpie_shared0.KVConfig | undefined;
6928
6917
  migrations: {
6929
6918
  directory?: string;
6930
- migrations?: questpie102.Migration[];
6919
+ migrations?: questpie134.Migration[];
6931
6920
  } | undefined;
6932
6921
  }>>;
6933
6922
  /** Select auth client instance */
@@ -7114,7 +7103,7 @@ declare function DashboardPage({
7114
7103
  title,
7115
7104
  description,
7116
7105
  className
7117
- }: DashboardPageProps): react_jsx_runtime11.JSX.Element;
7106
+ }: DashboardPageProps): react_jsx_runtime10.JSX.Element;
7118
7107
  declare namespace login_page_d_exports {
7119
7108
  export { LoginPage, LoginPageProps, LoginPage as default };
7120
7109
  }
@@ -7183,7 +7172,7 @@ declare function LoginPage({
7183
7172
  signUpPath,
7184
7173
  showForgotPassword,
7185
7174
  showSignUp
7186
- }: LoginPageProps): react_jsx_runtime11.JSX.Element;
7175
+ }: LoginPageProps): react_jsx_runtime10.JSX.Element;
7187
7176
  declare namespace forgot_password_page_d_exports {
7188
7177
  export { ForgotPasswordPage, ForgotPasswordPageProps, ForgotPasswordPage as default };
7189
7178
  }
@@ -7235,7 +7224,7 @@ declare function ForgotPasswordPage({
7235
7224
  logo,
7236
7225
  loginPath,
7237
7226
  resetPasswordRedirectUrl
7238
- }: ForgotPasswordPageProps): react_jsx_runtime11.JSX.Element;
7227
+ }: ForgotPasswordPageProps): react_jsx_runtime10.JSX.Element;
7239
7228
  declare namespace reset_password_page_d_exports {
7240
7229
  export { ResetPasswordPage, ResetPasswordPageProps, ResetPasswordPage as default };
7241
7230
  }
@@ -7294,7 +7283,7 @@ declare function ResetPasswordPage({
7294
7283
  loginPath,
7295
7284
  minPasswordLength,
7296
7285
  getToken
7297
- }: ResetPasswordPageProps): react_jsx_runtime11.JSX.Element;
7286
+ }: ResetPasswordPageProps): react_jsx_runtime10.JSX.Element;
7298
7287
  //#endregion
7299
7288
  //#region src/client/views/pages/invite-page.d.ts
7300
7289
  interface InvitePageProps {
@@ -7359,7 +7348,7 @@ declare function InvitePage({
7359
7348
  defaultRole,
7360
7349
  showMessage,
7361
7350
  onSuccess
7362
- }: InvitePageProps): react_jsx_runtime11.JSX.Element;
7351
+ }: InvitePageProps): react_jsx_runtime10.JSX.Element;
7363
7352
  //#endregion
7364
7353
  //#region src/client/views/pages/accept-invite-page.d.ts
7365
7354
  interface AcceptInvitePageProps {
@@ -7420,7 +7409,7 @@ declare function AcceptInvitePage({
7420
7409
  redirectTo,
7421
7410
  loginPath,
7422
7411
  minPasswordLength
7423
- }: AcceptInvitePageProps): react_jsx_runtime11.JSX.Element;
7412
+ }: AcceptInvitePageProps): react_jsx_runtime10.JSX.Element;
7424
7413
  declare namespace setup_page_d_exports {
7425
7414
  export { SetupPage, SetupPageProps, SetupPage as default };
7426
7415
  }
@@ -7477,7 +7466,7 @@ declare function SetupPage({
7477
7466
  redirectTo,
7478
7467
  loginPath,
7479
7468
  showLoginLink
7480
- }: SetupPageProps): react_jsx_runtime11.JSX.Element;
7469
+ }: SetupPageProps): react_jsx_runtime10.JSX.Element;
7481
7470
  //#endregion
7482
7471
  //#region src/client/components/admin-link.d.ts
7483
7472
  interface AdminLinkProps<TApp extends Questpie<any>> extends Omit<React$2.AnchorHTMLAttributes<HTMLAnchorElement>, "href"> {
@@ -7536,7 +7525,7 @@ declare function AdminLink<TApp extends Questpie<any>>({
7536
7525
  children,
7537
7526
  onClick,
7538
7527
  ...rest
7539
- }: AdminLinkProps<TApp>): react_jsx_runtime11.JSX.Element;
7528
+ }: AdminLinkProps<TApp>): react_jsx_runtime10.JSX.Element;
7540
7529
  //#endregion
7541
7530
  //#region src/client/components/auth/auth-guard.d.ts
7542
7531
  interface AuthGuardProps {
@@ -7649,7 +7638,7 @@ declare function ArrayField({
7649
7638
  layout,
7650
7639
  columns,
7651
7640
  itemLabel
7652
- }: ArrayFieldProps): react_jsx_runtime11.JSX.Element;
7641
+ }: ArrayFieldProps): react_jsx_runtime10.JSX.Element;
7653
7642
  //#endregion
7654
7643
  //#region src/client/components/fields/asset-preview-field.d.ts
7655
7644
  interface AssetPreviewFieldProps {
@@ -7695,7 +7684,7 @@ declare function AssetPreviewField({
7695
7684
  mimeTypeField,
7696
7685
  filenameField,
7697
7686
  altField
7698
- }: AssetPreviewFieldProps): react_jsx_runtime11.JSX.Element;
7687
+ }: AssetPreviewFieldProps): react_jsx_runtime10.JSX.Element;
7699
7688
  //#endregion
7700
7689
  //#region src/client/components/fields/blocks-field/blocks-field.d.ts
7701
7690
  /**
@@ -7734,7 +7723,7 @@ declare function BlocksField({
7734
7723
  minBlocks,
7735
7724
  maxBlocks,
7736
7725
  blocks
7737
- }: BlocksFieldProps): react_jsx_runtime11.JSX.Element;
7726
+ }: BlocksFieldProps): react_jsx_runtime10.JSX.Element;
7738
7727
  //#endregion
7739
7728
  //#region src/client/components/fields/checkbox-field.d.ts
7740
7729
  declare function CheckboxField({
@@ -7747,7 +7736,7 @@ declare function CheckboxField({
7747
7736
  locale,
7748
7737
  control,
7749
7738
  className
7750
- }: BooleanFieldProps): react_jsx_runtime11.JSX.Element;
7739
+ }: BooleanFieldProps): react_jsx_runtime10.JSX.Element;
7751
7740
  //#endregion
7752
7741
  //#region src/client/components/fields/date-field.d.ts
7753
7742
  declare function DateField({
@@ -7764,7 +7753,7 @@ declare function DateField({
7764
7753
  minDate,
7765
7754
  maxDate,
7766
7755
  format
7767
- }: DateFieldProps): react_jsx_runtime11.JSX.Element;
7756
+ }: DateFieldProps): react_jsx_runtime10.JSX.Element;
7768
7757
  //#endregion
7769
7758
  //#region src/client/components/fields/datetime-field.d.ts
7770
7759
  declare function DatetimeField({
@@ -7782,7 +7771,7 @@ declare function DatetimeField({
7782
7771
  maxDate,
7783
7772
  format,
7784
7773
  precision
7785
- }: DateTimeFieldProps): react_jsx_runtime11.JSX.Element;
7774
+ }: DateTimeFieldProps): react_jsx_runtime10.JSX.Element;
7786
7775
  //#endregion
7787
7776
  //#region src/client/components/fields/email-field.d.ts
7788
7777
  declare function EmailField({
@@ -7796,7 +7785,7 @@ declare function EmailField({
7796
7785
  locale,
7797
7786
  control,
7798
7787
  className
7799
- }: BaseFieldProps): react_jsx_runtime11.JSX.Element;
7788
+ }: BaseFieldProps): react_jsx_runtime10.JSX.Element;
7800
7789
  //#endregion
7801
7790
  //#region src/client/components/fields/embedded-collection.d.ts
7802
7791
  type RowLabel = ((item: any) => string) | string;
@@ -7825,7 +7814,7 @@ declare function EmbeddedCollectionField({
7825
7814
  renderFields,
7826
7815
  minItems,
7827
7816
  maxItems
7828
- }: EmbeddedCollectionFieldProps): react_jsx_runtime11.JSX.Element;
7817
+ }: EmbeddedCollectionFieldProps): react_jsx_runtime10.JSX.Element;
7829
7818
  //#endregion
7830
7819
  //#region src/client/components/fields/json-field.d.ts
7831
7820
  type JsonFieldMode = "code" | "form";
@@ -7902,7 +7891,7 @@ declare function JsonField({
7902
7891
  renderForm,
7903
7892
  control: controlProp,
7904
7893
  className
7905
- }: JsonFieldProps): react_jsx_runtime11.JSX.Element | null;
7894
+ }: JsonFieldProps): react_jsx_runtime10.JSX.Element | null;
7906
7895
  //#endregion
7907
7896
  //#region src/client/components/fields/number-field.d.ts
7908
7897
  declare function NumberField({
@@ -7920,7 +7909,7 @@ declare function NumberField({
7920
7909
  max,
7921
7910
  step,
7922
7911
  showButtons
7923
- }: NumberFieldProps): react_jsx_runtime11.JSX.Element;
7912
+ }: NumberFieldProps): react_jsx_runtime10.JSX.Element;
7924
7913
  //#endregion
7925
7914
  //#region src/client/components/fields/object-field.d.ts
7926
7915
  interface ObjectFieldProps extends BaseFieldProps, Omit<ObjectFieldConfig, "fields"> {
@@ -7946,7 +7935,7 @@ declare function ObjectField({
7946
7935
  layout,
7947
7936
  columns,
7948
7937
  defaultCollapsed
7949
- }: ObjectFieldProps): react_jsx_runtime11.JSX.Element | null;
7938
+ }: ObjectFieldProps): react_jsx_runtime10.JSX.Element | null;
7950
7939
  //#endregion
7951
7940
  //#region src/client/components/fields/password-field.d.ts
7952
7941
  declare function PasswordField({
@@ -7960,7 +7949,7 @@ declare function PasswordField({
7960
7949
  locale,
7961
7950
  control,
7962
7951
  className
7963
- }: BaseFieldProps): react_jsx_runtime11.JSX.Element;
7952
+ }: BaseFieldProps): react_jsx_runtime10.JSX.Element;
7964
7953
  //#endregion
7965
7954
  //#region src/client/components/fields/relation-field.d.ts
7966
7955
  type RelationFieldProps<T$1 extends Questpie<any>> = {
@@ -8086,7 +8075,7 @@ declare function RelationField<T$1 extends Questpie<any>>({
8086
8075
  renderValue,
8087
8076
  renderItem,
8088
8077
  control: controlProp
8089
- }: RelationFieldProps<T$1>): react_jsx_runtime11.JSX.Element | null;
8078
+ }: RelationFieldProps<T$1>): react_jsx_runtime10.JSX.Element | null;
8090
8079
  //#endregion
8091
8080
  //#region src/client/components/fields/reverse-relation-field.d.ts
8092
8081
  interface ReverseRelationFieldProps extends BaseFieldProps, ReverseRelationFieldConfig {}
@@ -8111,7 +8100,7 @@ declare function ReverseRelationField({
8111
8100
  allowAssign: allowAssignProp,
8112
8101
  createLabel,
8113
8102
  openInSheet
8114
- }: ReverseRelationFieldProps): react_jsx_runtime11.JSX.Element;
8103
+ }: ReverseRelationFieldProps): react_jsx_runtime10.JSX.Element;
8115
8104
  //#endregion
8116
8105
  //#region src/client/components/fields/rich-text-editor/presets.d.ts
8117
8106
  /**
@@ -8199,7 +8188,7 @@ declare function RichTextField({
8199
8188
  control,
8200
8189
  onChange,
8201
8190
  ...props
8202
- }: RichTextEditorProps): react_jsx_runtime11.JSX.Element;
8191
+ }: RichTextEditorProps): react_jsx_runtime10.JSX.Element;
8203
8192
  //#endregion
8204
8193
  //#region src/client/components/fields/select-field.d.ts
8205
8194
  declare function SelectField<TValue extends string = string>({
@@ -8219,7 +8208,7 @@ declare function SelectField<TValue extends string = string>({
8219
8208
  clearable,
8220
8209
  maxSelections,
8221
8210
  emptyMessage
8222
- }: SelectFieldProps<TValue>): react_jsx_runtime11.JSX.Element;
8211
+ }: SelectFieldProps<TValue>): react_jsx_runtime10.JSX.Element;
8223
8212
  //#endregion
8224
8213
  //#region src/client/components/fields/switch-field.d.ts
8225
8214
  declare function SwitchField({
@@ -8232,7 +8221,7 @@ declare function SwitchField({
8232
8221
  locale,
8233
8222
  control,
8234
8223
  className
8235
- }: BooleanFieldProps): react_jsx_runtime11.JSX.Element;
8224
+ }: BooleanFieldProps): react_jsx_runtime10.JSX.Element;
8236
8225
  //#endregion
8237
8226
  //#region src/client/components/fields/text-field.d.ts
8238
8227
  declare function TextField({
@@ -8249,7 +8238,7 @@ declare function TextField({
8249
8238
  type,
8250
8239
  maxLength,
8251
8240
  autoComplete
8252
- }: TextFieldProps): react_jsx_runtime11.JSX.Element;
8241
+ }: TextFieldProps): react_jsx_runtime10.JSX.Element;
8253
8242
  //#endregion
8254
8243
  //#region src/client/components/fields/textarea-field.d.ts
8255
8244
  declare function TextareaField({
@@ -8266,7 +8255,7 @@ declare function TextareaField({
8266
8255
  rows,
8267
8256
  maxLength,
8268
8257
  autoResize
8269
- }: TextareaFieldProps): react_jsx_runtime11.JSX.Element;
8258
+ }: TextareaFieldProps): react_jsx_runtime10.JSX.Element;
8270
8259
  //#endregion
8271
8260
  //#region src/client/components/fields/time-field.d.ts
8272
8261
  declare function TimeField({
@@ -8281,7 +8270,7 @@ declare function TimeField({
8281
8270
  control,
8282
8271
  className,
8283
8272
  precision
8284
- }: TimeFieldProps): react_jsx_runtime11.JSX.Element;
8273
+ }: TimeFieldProps): react_jsx_runtime10.JSX.Element;
8285
8274
  //#endregion
8286
8275
  //#region src/client/hooks/use-upload.d.ts
8287
8276
  /**
@@ -8367,7 +8356,7 @@ declare function UploadField({
8367
8356
  onUploadStart,
8368
8357
  onUploadComplete,
8369
8358
  onUploadError
8370
- }: UploadFieldProps): react_jsx_runtime11.JSX.Element;
8359
+ }: UploadFieldProps): react_jsx_runtime10.JSX.Element;
8371
8360
  //#endregion
8372
8361
  //#region src/client/components/fields/upload-many-field.d.ts
8373
8362
  interface UploadManyFieldProps extends BaseFieldProps {
@@ -8438,7 +8427,7 @@ declare function UploadManyField({
8438
8427
  onUploadStart,
8439
8428
  onUploadComplete,
8440
8429
  onUploadError
8441
- }: UploadManyFieldProps): react_jsx_runtime11.JSX.Element;
8430
+ }: UploadManyFieldProps): react_jsx_runtime10.JSX.Element;
8442
8431
  //#endregion
8443
8432
  //#region src/client/components/filter-builder/types.d.ts
8444
8433
  /**
@@ -8573,9 +8562,7 @@ declare class BlockBuilder<TState$1 extends BlockBuilderState> {
8573
8562
  * }))
8574
8563
  * ```
8575
8564
  */
8576
- use<TAdminApp extends AdminBuilder<any>>(adminApp: TAdminApp): BlockBuilder<Omit<TState$1, "~adminApp"> & {
8577
- "~adminApp": TAdminApp;
8578
- }>;
8565
+ use<TAdminApp extends AdminBuilder<any>>(adminApp: TAdminApp): BlockBuilder<SetProperty<TState$1, "~adminApp", TAdminApp>>;
8579
8566
  /**
8580
8567
  * Set the display label for the block.
8581
8568
  * Shown in the block picker and block tree.
@@ -8767,9 +8754,7 @@ declare class CollectionBuilder<TState$1 extends CollectionBuilderState> {
8767
8754
  /**
8768
8755
  * Merge admin module into state for type-safe field/view access
8769
8756
  */
8770
- use<TAdminApp extends AdminBuilder<any>>(adminApp: TAdminApp): CollectionBuilder<Omit<TState$1, "~adminApp"> & {
8771
- "~adminApp": TAdminApp;
8772
- }>;
8757
+ use<TAdminApp extends AdminBuilder<any>>(adminApp: TAdminApp): CollectionBuilder<SetProperty<TState$1, "~adminApp", TAdminApp>>;
8773
8758
  /**
8774
8759
  * Set collection metadata
8775
8760
  */
@@ -8786,9 +8771,7 @@ declare class CollectionBuilder<TState$1 extends CollectionBuilderState> {
8786
8771
  */
8787
8772
  fields<TNewFields extends Record<string, FieldDefinition<any, any>>>(callback: (ctx: {
8788
8773
  r: FieldRegistryProxy<AdminAppFields$1<TState$1["~adminApp"]>, AdminAppBlocks$1<TState$1["~adminApp"]>>;
8789
- }) => TNewFields): CollectionBuilder<Omit<TState$1, "fields"> & {
8790
- fields: TNewFields;
8791
- }>;
8774
+ }) => TNewFields): CollectionBuilder<SetProperty<TState$1, "fields", TNewFields>>;
8792
8775
  /**
8793
8776
  * Configure list view layout
8794
8777
  *
@@ -8816,9 +8799,7 @@ declare class CollectionBuilder<TState$1 extends CollectionBuilderState> {
8816
8799
  f: TState$1["fields"] extends Record<string, any> ? FieldProxy<TState$1["fields"]> : Record<string, never>;
8817
8800
  a: ActionRegistryProxy<any>;
8818
8801
  r: FieldRegistryProxy<AdminAppFields$1<TState$1["~adminApp"]>, AdminAppBlocks$1<TState$1["~adminApp"]>>;
8819
- }) => TViewResult): CollectionBuilder<Omit<TState$1, "list"> & {
8820
- list: TViewResult;
8821
- }>;
8802
+ }) => TViewResult): CollectionBuilder<SetProperty<TState$1, "list", TViewResult>>;
8822
8803
  /**
8823
8804
  * Configure form view layout
8824
8805
  *
@@ -8857,9 +8838,7 @@ declare class CollectionBuilder<TState$1 extends CollectionBuilderState> {
8857
8838
  f: TState$1["fields"] extends Record<string, any> ? FieldProxy<TState$1["fields"]> : Record<string, never>;
8858
8839
  a: ActionRegistryProxy<any>;
8859
8840
  r: FieldRegistryProxy<AdminAppFields$1<TState$1["~adminApp"]>, AdminAppBlocks$1<TState$1["~adminApp"]>>;
8860
- }) => TViewResult): CollectionBuilder<Omit<TState$1, "form"> & {
8861
- form: TViewResult;
8862
- }>;
8841
+ }) => TViewResult): CollectionBuilder<SetProperty<TState$1, "form", TViewResult>>;
8863
8842
  /**
8864
8843
  * Configure live preview for this collection
8865
8844
  *
@@ -8876,9 +8855,7 @@ declare class CollectionBuilder<TState$1 extends CollectionBuilderState> {
8876
8855
  * })
8877
8856
  * ```
8878
8857
  */
8879
- preview(config: PreviewConfig$1): CollectionBuilder<Omit<TState$1, "preview"> & {
8880
- preview: PreviewConfig$1;
8881
- }>;
8858
+ preview(config: PreviewConfig$1): CollectionBuilder<SetProperty<TState$1, "preview", PreviewConfig$1>>;
8882
8859
  /**
8883
8860
  * Configure autosave behavior for this collection
8884
8861
  *
@@ -8897,9 +8874,7 @@ declare class CollectionBuilder<TState$1 extends CollectionBuilderState> {
8897
8874
  * })
8898
8875
  * ```
8899
8876
  */
8900
- autoSave(config: AutoSaveConfig): CollectionBuilder<Omit<TState$1, "autoSave"> & {
8901
- autoSave: AutoSaveConfig;
8902
- }>;
8877
+ autoSave(config: AutoSaveConfig): CollectionBuilder<SetProperty<TState$1, "autoSave", AutoSaveConfig>>;
8903
8878
  }
8904
8879
  //#endregion
8905
8880
  //#region src/client/builder/global/global-builder.d.ts
@@ -8921,9 +8896,7 @@ declare class GlobalBuilder<TState$1 extends GlobalBuilderState> {
8921
8896
  /**
8922
8897
  * Merge admin module into state
8923
8898
  */
8924
- use<TAdminApp extends AdminBuilder<any>>(adminApp: TAdminApp): GlobalBuilder<Omit<TState$1, "~adminApp"> & {
8925
- "~adminApp": TAdminApp;
8926
- }>;
8899
+ use<TAdminApp extends AdminBuilder<any>>(adminApp: TAdminApp): GlobalBuilder<SetProperty<TState$1, "~adminApp", TAdminApp>>;
8927
8900
  /**
8928
8901
  * Set global metadata
8929
8902
  */
@@ -8938,9 +8911,7 @@ declare class GlobalBuilder<TState$1 extends GlobalBuilderState> {
8938
8911
  */
8939
8912
  fields<TNewFields extends Record<string, any>>(callback: (ctx: {
8940
8913
  r: FieldRegistryProxy<AdminAppFields<TState$1["~adminApp"]>, AdminAppBlocks<TState$1["~adminApp"]>>;
8941
- }) => TNewFields): GlobalBuilder<Omit<TState$1, "fields"> & {
8942
- fields: TNewFields;
8943
- }>;
8914
+ }) => TNewFields): GlobalBuilder<SetProperty<TState$1, "fields", TNewFields>>;
8944
8915
  /**
8945
8916
  * Configure form: ({ v, f }) => v.form({ ... })
8946
8917
  * v = view registry proxy (TState["~adminApp"]["editViews"])
@@ -9171,28 +9142,22 @@ declare class AdminBuilder<TState$1 extends AdminBuilderState> {
9171
9142
  /**
9172
9143
  * Register field definitions
9173
9144
  */
9174
- fields<TNewFields extends Record<string, any>>(fields: TNewFields): AdminBuilder<Omit<TState$1, "fields"> & {
9175
- fields: TState$1["fields"] & TNewFields;
9176
- }>;
9145
+ fields<TNewFields extends Record<string, any>>(fields: TNewFields): AdminBuilder<SetProperty<TState$1, "fields", Prettify<TypeMerge<TState$1["fields"], TNewFields>>>>;
9177
9146
  /**
9178
9147
  * Register view definitions (auto-sorted by kind)
9179
9148
  */
9180
- views<TNewViews extends Record<string, any>>(views: TNewViews): AdminBuilder<Omit<TState$1, "listViews" | "editViews"> & {
9181
- listViews: TState$1["listViews"] & FilterListViews<TNewViews>;
9182
- editViews: TState$1["editViews"] & FilterEditViews<TNewViews>;
9183
- }>;
9149
+ views<TNewViews extends Record<string, any>>(views: TNewViews): AdminBuilder<Prettify<TypeMerge<UnsetProperty<TState$1, "listViews" | "editViews">, {
9150
+ listViews: Prettify<TypeMerge<TState$1["listViews"], FilterListViews<TNewViews>>>;
9151
+ editViews: Prettify<TypeMerge<TState$1["editViews"], FilterEditViews<TNewViews>>>;
9152
+ }>>>;
9184
9153
  /**
9185
9154
  * Register widget definitions
9186
9155
  */
9187
- widgets<TNewWidgets extends Record<string, any>>(widgets: TNewWidgets): AdminBuilder<Omit<TState$1, "widgets"> & {
9188
- widgets: TState$1["widgets"] & TNewWidgets;
9189
- }>;
9156
+ widgets<TNewWidgets extends Record<string, any>>(widgets: TNewWidgets): AdminBuilder<SetProperty<TState$1, "widgets", Prettify<TypeMerge<TState$1["widgets"], TNewWidgets>>>>;
9190
9157
  /**
9191
9158
  * Register page definitions
9192
9159
  */
9193
- pages<TNewPages extends Record<string, any>>(pages: TNewPages): AdminBuilder<Omit<TState$1, "pages"> & {
9194
- pages: TState$1["pages"] & TNewPages;
9195
- }>;
9160
+ pages<TNewPages extends Record<string, any>>(pages: TNewPages): AdminBuilder<SetProperty<TState$1, "pages", Prettify<TypeMerge<TState$1["pages"], TNewPages>>>>;
9196
9161
  /**
9197
9162
  * Register block definitions for the visual page builder.
9198
9163
  *
@@ -9217,9 +9182,7 @@ declare class AdminBuilder<TState$1 extends AdminBuilderState> {
9217
9182
  * .sidebar({ ... });
9218
9183
  * ```
9219
9184
  */
9220
- blocks<TNewBlocks extends Record<string, any>>(blocks: TNewBlocks): AdminBuilder<Omit<TState$1, "blocks"> & {
9221
- blocks: TState$1["blocks"] & TNewBlocks;
9222
- }>;
9185
+ blocks<TNewBlocks extends Record<string, any>>(blocks: TNewBlocks): AdminBuilder<SetProperty<TState$1, "blocks", Prettify<TypeMerge<TState$1["blocks"], TNewBlocks>>>>;
9223
9186
  /**
9224
9187
  * Register translations for i18n
9225
9188
  *
@@ -9234,9 +9197,7 @@ declare class AdminBuilder<TState$1 extends AdminBuilderState> {
9234
9197
  * })
9235
9198
  * ```
9236
9199
  */
9237
- translations<TNewTranslations extends TranslationsMap>(translations: TNewTranslations): AdminBuilder<Omit<TState$1, "translations"> & {
9238
- translations: TState$1["translations"] & TNewTranslations;
9239
- }>;
9200
+ translations<TNewTranslations extends TranslationsMap>(translations: TNewTranslations): AdminBuilder<SetProperty<TState$1, "translations", Prettify<TypeMerge<TState$1["translations"], TNewTranslations>>>>;
9240
9201
  /**
9241
9202
  * Add translated messages for admin UI (simple API)
9242
9203
  *
@@ -9267,21 +9228,19 @@ declare class AdminBuilder<TState$1 extends AdminBuilderState> {
9267
9228
  * // In components, t() has full autocomplete
9268
9229
  * ```
9269
9230
  */
9270
- messages<TNewMessages extends TranslationsMap>(messages: TNewMessages): AdminBuilder<Omit<TState$1, "translations"> & {
9271
- translations: TState$1["translations"] & TNewMessages;
9272
- }>;
9231
+ messages<TNewMessages extends TranslationsMap>(messages: TNewMessages): AdminBuilder<SetProperty<TState$1, "translations", Prettify<TypeMerge<TState$1["translations"], TNewMessages>>>>;
9273
9232
  /**
9274
9233
  * Compose another builder (merge modules)
9275
9234
  */
9276
- use<TOther extends AdminBuilder<any>>(other: TOther): AdminBuilder<Omit<TState$1, "fields" | "listViews" | "editViews" | "widgets" | "pages" | "blocks" | "collections" | "globals" | "sidebar" | "translations"> & {
9277
- fields: TState$1["fields"] & TOther["state"]["fields"];
9278
- listViews: TState$1["listViews"] & TOther["state"]["listViews"];
9279
- editViews: TState$1["editViews"] & TOther["state"]["editViews"];
9280
- widgets: TState$1["widgets"] & TOther["state"]["widgets"];
9281
- pages: TState$1["pages"] & TOther["state"]["pages"];
9282
- blocks: TState$1["blocks"] & TOther["state"]["blocks"];
9283
- collections: TState$1["collections"] & TOther["state"]["collections"];
9284
- globals: TState$1["globals"] & TOther["state"]["globals"];
9235
+ use<TOther extends AdminBuilder<any>>(other: TOther): AdminBuilder<Prettify<TypeMerge<UnsetProperty<TState$1, "fields" | "listViews" | "editViews" | "widgets" | "pages" | "blocks" | "collections" | "globals" | "sidebar" | "translations">, {
9236
+ fields: Prettify<TypeMerge<TState$1["fields"], TOther["state"]["fields"]>>;
9237
+ listViews: Prettify<TypeMerge<TState$1["listViews"], TOther["state"]["listViews"]>>;
9238
+ editViews: Prettify<TypeMerge<TState$1["editViews"], TOther["state"]["editViews"]>>;
9239
+ widgets: Prettify<TypeMerge<TState$1["widgets"], TOther["state"]["widgets"]>>;
9240
+ pages: Prettify<TypeMerge<TState$1["pages"], TOther["state"]["pages"]>>;
9241
+ blocks: Prettify<TypeMerge<TState$1["blocks"], TOther["state"]["blocks"]>>;
9242
+ collections: Prettify<TypeMerge<TState$1["collections"], TOther["state"]["collections"]>>;
9243
+ globals: Prettify<TypeMerge<TState$1["globals"], TOther["state"]["globals"]>>;
9285
9244
  sidebar: TOther["state"]["sidebar"] extends {
9286
9245
  sections: any[];
9287
9246
  } ? {
@@ -9291,20 +9250,16 @@ declare class AdminBuilder<TState$1 extends AdminBuilderState> {
9291
9250
  sections: infer S;
9292
9251
  } ? S extends any[] ? S : [] : [])];
9293
9252
  } : TState$1["sidebar"];
9294
- translations: TState$1["translations"] & TOther["state"]["translations"];
9295
- }>;
9253
+ translations: Prettify<TypeMerge<TState$1["translations"], TOther["state"]["translations"]>>;
9254
+ }>>>;
9296
9255
  /**
9297
9256
  * Register collection configs
9298
9257
  */
9299
- collections<TNewCollections extends Record<string, any>>(collections: TNewCollections): AdminBuilder<Omit<TState$1, "collections"> & {
9300
- collections: TState$1["collections"] & TNewCollections;
9301
- }>;
9258
+ collections<TNewCollections extends Record<string, any>>(collections: TNewCollections): AdminBuilder<SetProperty<TState$1, "collections", Prettify<TypeMerge<TState$1["collections"], TNewCollections>>>>;
9302
9259
  /**
9303
9260
  * Register global configs
9304
9261
  */
9305
- globals<TNewGlobals extends Record<string, any>>(globals: TNewGlobals): AdminBuilder<Omit<TState$1, "globals"> & {
9306
- globals: TState$1["globals"] & TNewGlobals;
9307
- }>;
9262
+ globals<TNewGlobals extends Record<string, any>>(globals: TNewGlobals): AdminBuilder<SetProperty<TState$1, "globals", Prettify<TypeMerge<TState$1["globals"], TNewGlobals>>>>;
9308
9263
  /**
9309
9264
  * Set dashboard config
9310
9265
  */
@@ -9328,9 +9283,7 @@ declare class AdminBuilder<TState$1 extends AdminBuilderState> {
9328
9283
  * )
9329
9284
  * ```
9330
9285
  */
9331
- sidebar<TSectionIds extends string>(config: SidebarConfig<TSectionIds> | SidebarBuilder<TSectionIds>): AdminBuilder<Omit<TState$1, "sidebar"> & {
9332
- sidebar: SidebarConfig<(TState$1["sidebar"] extends SidebarConfig<infer TIds> ? TIds : never) | TSectionIds>;
9333
- }>;
9286
+ sidebar<TSectionIds extends string>(config: SidebarConfig<TSectionIds> | SidebarBuilder<TSectionIds>): AdminBuilder<SetProperty<TState$1, "sidebar", SidebarConfig<(TState$1["sidebar"] extends SidebarConfig<infer TIds> ? TIds : never) | TSectionIds>>>;
9334
9287
  /**
9335
9288
  * Extend existing sidebar configuration
9336
9289
  *
@@ -9359,9 +9312,7 @@ declare class AdminBuilder<TState$1 extends AdminBuilderState> {
9359
9312
  * )
9360
9313
  * ```
9361
9314
  */
9362
- extendSidebar<TNewSectionIds extends string>(configure: (builder: SidebarBuilder<TState$1["sidebar"] extends SidebarConfig<infer TIds> ? TIds : never>) => SidebarBuilder<TNewSectionIds>): AdminBuilder<Omit<TState$1, "sidebar"> & {
9363
- sidebar: SidebarConfig<(TState$1["sidebar"] extends SidebarConfig<infer TIds> ? TIds : never) | TNewSectionIds>;
9364
- }>;
9315
+ extendSidebar<TNewSectionIds extends string>(configure: (builder: SidebarBuilder<TState$1["sidebar"] extends SidebarConfig<infer TIds> ? TIds : never>) => SidebarBuilder<TNewSectionIds>): AdminBuilder<SetProperty<TState$1, "sidebar", SidebarConfig<(TState$1["sidebar"] extends SidebarConfig<infer TIds> ? TIds : never) | TNewSectionIds>>>;
9365
9316
  /**
9366
9317
  * Set branding config
9367
9318
  */
@@ -9373,9 +9324,7 @@ declare class AdminBuilder<TState$1 extends AdminBuilderState> {
9373
9324
  /**
9374
9325
  * Set default views config
9375
9326
  */
9376
- defaultViews<TDefaultViews extends DefaultViewsConfig>(config: TDefaultViews): AdminBuilder<Omit<TState$1, "defaultViews"> & {
9377
- defaultViews: TState$1["defaultViews"] & TDefaultViews;
9378
- }>;
9327
+ defaultViews<TDefaultViews extends DefaultViewsConfig>(config: TDefaultViews): AdminBuilder<SetProperty<TState$1, "defaultViews", Prettify<TypeMerge<TState$1["defaultViews"], TDefaultViews>>>>;
9379
9328
  /**
9380
9329
  * Create a collection builder bound to this admin
9381
9330
  *
@@ -9880,124 +9829,118 @@ type GlobalNames$2<TApp extends Questpie<any>> = TApp extends Questpie<infer TCo
9880
9829
  * const builder = qa<AppCMS>().use(coreAdminModule);
9881
9830
  * ```
9882
9831
  */
9883
- declare const coreAdminModule: AdminBuilder<Omit<Omit<Omit<{
9884
- "~app": any;
9885
- fields: {};
9886
- listViews: {};
9887
- editViews: {};
9888
- pages: {};
9889
- widgets: {};
9890
- blocks: {};
9891
- collections: {};
9892
- globals: {};
9893
- dashboard: {
9894
- layout: "grid";
9895
- widgets: [];
9896
- };
9897
- sidebar: {
9898
- sections: [];
9899
- };
9900
- branding: {};
9832
+ declare const coreAdminModule: AdminBuilder<questpie134.SetProperty<{
9901
9833
  locale: {
9902
9834
  default: string;
9903
9835
  supported: string[];
9904
9836
  };
9905
- defaultViews: {};
9906
- translations: {};
9907
- }, "fields"> & {
9908
9837
  fields: {
9909
- readonly text: FieldBuilder<{
9910
- name: "text";
9911
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9912
- component: typeof TextField;
9913
- cellComponent: typeof TextCell;
9914
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9915
- }>;
9916
- readonly number: FieldBuilder<{
9838
+ number: FieldBuilder<{
9917
9839
  name: "number";
9918
9840
  "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9919
9841
  component: typeof NumberField;
9920
9842
  cellComponent: typeof NumberCell;
9921
9843
  createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9922
9844
  }>;
9923
- readonly email: FieldBuilder<{
9845
+ object: FieldBuilder<{
9846
+ name: "object";
9847
+ "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9848
+ component: typeof ObjectField;
9849
+ cellComponent: typeof ObjectCell;
9850
+ createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9851
+ }>;
9852
+ text: FieldBuilder<{
9853
+ name: "text";
9854
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9855
+ component: typeof TextField;
9856
+ cellComponent: typeof TextCell;
9857
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9858
+ }>;
9859
+ email: FieldBuilder<{
9924
9860
  name: "email";
9925
9861
  "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9926
9862
  component: typeof EmailField;
9927
9863
  cellComponent: typeof EmailCell;
9928
9864
  createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9929
9865
  }>;
9930
- readonly password: FieldBuilder<{
9866
+ password: FieldBuilder<{
9931
9867
  name: "password";
9932
9868
  "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9933
9869
  component: typeof PasswordField;
9934
9870
  cellComponent: typeof TextCell;
9935
9871
  createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9936
9872
  }>;
9937
- readonly textarea: FieldBuilder<{
9873
+ date: FieldBuilder<{
9874
+ name: "date";
9875
+ "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9876
+ component: typeof DateField;
9877
+ cellComponent: typeof DateCell;
9878
+ createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9879
+ }>;
9880
+ array: FieldBuilder<{
9881
+ name: "array";
9882
+ "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9883
+ component: typeof ArrayField;
9884
+ cellComponent: typeof JsonCell;
9885
+ createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9886
+ }>;
9887
+ textarea: FieldBuilder<{
9938
9888
  name: "textarea";
9939
9889
  "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9940
9890
  component: typeof TextareaField;
9941
9891
  cellComponent: typeof TextCell;
9942
9892
  createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9943
9893
  }>;
9944
- readonly checkbox: FieldBuilder<{
9894
+ checkbox: FieldBuilder<{
9945
9895
  name: "checkbox";
9946
9896
  "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9947
9897
  component: typeof CheckboxField;
9948
9898
  cellComponent: typeof BooleanCell;
9949
9899
  createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9950
9900
  }>;
9951
- readonly switch: FieldBuilder<{
9901
+ switch: FieldBuilder<{
9952
9902
  name: "switch";
9953
9903
  "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9954
9904
  component: typeof SwitchField;
9955
9905
  cellComponent: typeof BooleanCell;
9956
9906
  createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9957
9907
  }>;
9958
- readonly select: FieldBuilder<{
9908
+ select: FieldBuilder<{
9959
9909
  name: "select";
9960
9910
  "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9961
9911
  component: typeof SelectField;
9962
9912
  cellComponent: typeof SelectCell;
9963
9913
  createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9964
9914
  }>;
9965
- readonly date: FieldBuilder<{
9966
- name: "date";
9967
- "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9968
- component: typeof DateField;
9969
- cellComponent: typeof DateCell;
9970
- createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9971
- }>;
9972
- readonly datetime: FieldBuilder<{
9915
+ datetime: FieldBuilder<{
9973
9916
  name: "datetime";
9974
9917
  "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9975
9918
  component: typeof DatetimeField;
9976
9919
  cellComponent: typeof DateTimeCell;
9977
9920
  createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9978
9921
  }>;
9979
- readonly time: FieldBuilder<{
9922
+ time: FieldBuilder<{
9980
9923
  name: "time";
9981
9924
  "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9982
9925
  component: typeof TimeField;
9983
9926
  cellComponent: typeof TimeCell;
9984
9927
  createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9985
9928
  }>;
9986
- readonly relation: FieldBuilder<{
9929
+ relation: FieldBuilder<{
9987
9930
  name: "relation";
9988
9931
  "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9989
9932
  component: typeof RelationField;
9990
9933
  cellComponent: typeof RelationCell;
9991
9934
  createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9992
9935
  }>;
9993
- readonly reverseRelation: FieldBuilder<{
9936
+ reverseRelation: FieldBuilder<{
9994
9937
  name: "reverseRelation";
9995
9938
  "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9996
9939
  component: typeof ReverseRelationField;
9997
9940
  cellComponent: typeof ReverseRelationCell;
9998
9941
  createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9999
9942
  }>;
10000
- readonly json: FieldBuilder<{
9943
+ json: FieldBuilder<{
10001
9944
  name: "json";
10002
9945
  "~options": Omit<BaseFieldProps & {
10003
9946
  readOnly?: boolean;
@@ -10028,28 +9971,14 @@ declare const coreAdminModule: AdminBuilder<Omit<Omit<Omit<{
10028
9971
  }) => React.ReactNode;
10029
9972
  }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10030
9973
  }>;
10031
- readonly object: FieldBuilder<{
10032
- name: "object";
10033
- "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10034
- component: typeof ObjectField;
10035
- cellComponent: typeof ObjectCell;
10036
- createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10037
- }>;
10038
- readonly array: FieldBuilder<{
10039
- name: "array";
10040
- "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10041
- component: typeof ArrayField;
10042
- cellComponent: typeof JsonCell;
10043
- createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10044
- }>;
10045
- readonly upload: FieldBuilder<{
9974
+ upload: FieldBuilder<{
10046
9975
  name: "upload";
10047
9976
  "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10048
9977
  component: typeof UploadField;
10049
9978
  cellComponent: typeof UploadCell;
10050
9979
  createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10051
9980
  }>;
10052
- readonly uploadMany: FieldBuilder<{
9981
+ uploadMany: FieldBuilder<{
10053
9982
  name: "uploadMany";
10054
9983
  "~options": UploadFieldConfig & {
10055
9984
  maxItems?: number;
@@ -10064,7 +9993,7 @@ declare const coreAdminModule: AdminBuilder<Omit<Omit<Omit<{
10064
9993
  layout?: "grid" | "list";
10065
9994
  } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10066
9995
  }>;
10067
- readonly assetPreview: FieldBuilder<{
9996
+ assetPreview: FieldBuilder<{
10068
9997
  name: "assetPreview";
10069
9998
  "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10070
9999
  component: typeof AssetPreviewField;
@@ -10073,24 +10002,24 @@ declare const coreAdminModule: AdminBuilder<Omit<Omit<Omit<{
10073
10002
  }: {
10074
10003
  value: unknown;
10075
10004
  row?: any;
10076
- }) => react_jsx_runtime11.JSX.Element;
10005
+ }) => react_jsx_runtime10.JSX.Element;
10077
10006
  createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10078
10007
  }>;
10079
- readonly richText: FieldBuilder<{
10008
+ richText: FieldBuilder<{
10080
10009
  name: "richText";
10081
10010
  "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10082
10011
  component: typeof RichTextField;
10083
10012
  cellComponent: typeof RichTextCell;
10084
10013
  createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10085
10014
  }>;
10086
- readonly embedded: FieldBuilder<{
10015
+ embedded: FieldBuilder<{
10087
10016
  name: "embedded";
10088
10017
  "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10089
10018
  component: typeof EmbeddedCollectionField;
10090
10019
  cellComponent: typeof JsonCell;
10091
10020
  createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10092
10021
  }>;
10093
- readonly blocks: FieldBuilder<{
10022
+ blocks: FieldBuilder<{
10094
10023
  name: "blocks";
10095
10024
  "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10096
10025
  component: typeof BlocksField;
@@ -10098,74 +10027,65 @@ declare const coreAdminModule: AdminBuilder<Omit<Omit<Omit<{
10098
10027
  createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10099
10028
  }>;
10100
10029
  };
10101
- }, "listViews" | "editViews"> & {
10102
- listViews: FilterListViews<{
10103
- readonly table: ListViewBuilder<{
10104
- name: "table";
10105
- kind: "list";
10106
- "~config": TableViewConfig;
10107
- component: typeof TableView;
10108
- }>;
10109
- readonly form: EditViewBuilder<{
10110
- name: "form";
10111
- kind: "edit";
10112
- "~config": FormViewConfig;
10113
- component: typeof FormView;
10114
- }>;
10115
- }>;
10116
- editViews: FilterEditViews<{
10117
- readonly table: ListViewBuilder<{
10030
+ blocks: {};
10031
+ "~app": any;
10032
+ listViews: {
10033
+ table: ListViewBuilder<{
10118
10034
  name: "table";
10119
10035
  kind: "list";
10120
10036
  "~config": TableViewConfig;
10121
10037
  component: typeof TableView;
10122
10038
  }>;
10123
- readonly form: EditViewBuilder<{
10039
+ };
10040
+ editViews: {
10041
+ form: EditViewBuilder<{
10124
10042
  name: "form";
10125
10043
  kind: "edit";
10126
10044
  "~config": FormViewConfig;
10127
10045
  component: typeof FormView;
10128
10046
  }>;
10129
- }>;
10130
- }, "pages"> & {
10131
- pages: {
10132
- readonly login: PageBuilder<Omit<{
10133
- name: "login";
10134
- component: () => Promise<typeof login_page_d_exports>;
10135
- path: undefined;
10136
- }, "path"> & {
10137
- path: string;
10138
- }>;
10139
- readonly forgotPassword: PageBuilder<Omit<{
10140
- name: "forgot-password";
10141
- component: () => Promise<typeof forgot_password_page_d_exports>;
10142
- path: undefined;
10143
- }, "path"> & {
10144
- path: string;
10145
- }>;
10146
- readonly resetPassword: PageBuilder<Omit<{
10147
- name: "reset-password";
10148
- component: () => Promise<typeof reset_password_page_d_exports>;
10149
- path: undefined;
10150
- }, "path"> & {
10151
- path: string;
10152
- }>;
10153
- readonly setup: PageBuilder<Omit<{
10154
- name: "setup";
10155
- component: () => Promise<typeof setup_page_d_exports>;
10156
- path: undefined;
10157
- }, "path"> & {
10158
- path: string;
10159
- }>;
10160
- readonly dashboard: PageBuilder<Omit<{
10161
- name: "dashboard";
10162
- component: () => Promise<typeof dashboard_page_d_exports>;
10163
- path: undefined;
10164
- }, "path"> & {
10165
- path: string;
10166
- }>;
10167
10047
  };
10168
- }>;
10048
+ pages: {};
10049
+ widgets: {};
10050
+ collections: {};
10051
+ globals: {};
10052
+ dashboard: {
10053
+ layout: "grid";
10054
+ widgets: [];
10055
+ };
10056
+ sidebar: {
10057
+ sections: [];
10058
+ };
10059
+ branding: {};
10060
+ defaultViews: {};
10061
+ translations: {};
10062
+ }, "pages", {
10063
+ dashboard: PageBuilder<questpie134.SetProperty<{
10064
+ name: "dashboard";
10065
+ component: () => Promise<typeof dashboard_page_d_exports>;
10066
+ path: undefined;
10067
+ }, "path", string>>;
10068
+ login: PageBuilder<questpie134.SetProperty<{
10069
+ name: "login";
10070
+ component: () => Promise<typeof login_page_d_exports>;
10071
+ path: undefined;
10072
+ }, "path", string>>;
10073
+ setup: PageBuilder<questpie134.SetProperty<{
10074
+ name: "setup";
10075
+ component: () => Promise<typeof setup_page_d_exports>;
10076
+ path: undefined;
10077
+ }, "path", string>>;
10078
+ forgotPassword: PageBuilder<questpie134.SetProperty<{
10079
+ name: "forgot-password";
10080
+ component: () => Promise<typeof forgot_password_page_d_exports>;
10081
+ path: undefined;
10082
+ }, "path", string>>;
10083
+ resetPassword: PageBuilder<questpie134.SetProperty<{
10084
+ name: "reset-password";
10085
+ component: () => Promise<typeof reset_password_page_d_exports>;
10086
+ path: undefined;
10087
+ }, "path", string>>;
10088
+ }>>;
10169
10089
  /**
10170
10090
  * Type of core admin module state
10171
10091
  */
@@ -10213,124 +10133,118 @@ type CoreAdminModule = typeof coreAdminModule;
10213
10133
  * });
10214
10134
  * ```
10215
10135
  */
10216
- declare const adminModule: AdminBuilder<Omit<Omit<Omit<Omit<Omit<{
10217
- "~app": any;
10218
- fields: {};
10219
- listViews: {};
10220
- editViews: {};
10221
- pages: {};
10222
- widgets: {};
10223
- blocks: {};
10224
- collections: {};
10225
- globals: {};
10226
- dashboard: {
10227
- layout: "grid";
10228
- widgets: [];
10229
- };
10230
- sidebar: {
10231
- sections: [];
10232
- };
10233
- branding: {};
10136
+ declare const adminModule: AdminBuilder<questpie134.SetProperty<questpie134.SetProperty<questpie134.SetProperty<{
10234
10137
  locale: {
10235
10138
  default: string;
10236
10139
  supported: string[];
10237
10140
  };
10238
- defaultViews: {};
10239
- translations: {};
10240
- }, "fields"> & {
10241
10141
  fields: {
10242
- readonly text: FieldBuilder<{
10243
- name: "text";
10244
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10245
- component: typeof TextField;
10246
- cellComponent: typeof TextCell;
10247
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10248
- }>;
10249
- readonly number: FieldBuilder<{
10142
+ number: FieldBuilder<{
10250
10143
  name: "number";
10251
10144
  "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10252
10145
  component: typeof NumberField;
10253
10146
  cellComponent: typeof NumberCell;
10254
10147
  createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10255
10148
  }>;
10256
- readonly email: FieldBuilder<{
10149
+ object: FieldBuilder<{
10150
+ name: "object";
10151
+ "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10152
+ component: typeof ObjectField;
10153
+ cellComponent: typeof ObjectCell;
10154
+ createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10155
+ }>;
10156
+ text: FieldBuilder<{
10157
+ name: "text";
10158
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10159
+ component: typeof TextField;
10160
+ cellComponent: typeof TextCell;
10161
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10162
+ }>;
10163
+ email: FieldBuilder<{
10257
10164
  name: "email";
10258
10165
  "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10259
10166
  component: typeof EmailField;
10260
10167
  cellComponent: typeof EmailCell;
10261
10168
  createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10262
10169
  }>;
10263
- readonly password: FieldBuilder<{
10170
+ password: FieldBuilder<{
10264
10171
  name: "password";
10265
10172
  "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10266
10173
  component: typeof PasswordField;
10267
10174
  cellComponent: typeof TextCell;
10268
10175
  createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10269
10176
  }>;
10270
- readonly textarea: FieldBuilder<{
10177
+ date: FieldBuilder<{
10178
+ name: "date";
10179
+ "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10180
+ component: typeof DateField;
10181
+ cellComponent: typeof DateCell;
10182
+ createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10183
+ }>;
10184
+ array: FieldBuilder<{
10185
+ name: "array";
10186
+ "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10187
+ component: typeof ArrayField;
10188
+ cellComponent: typeof JsonCell;
10189
+ createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10190
+ }>;
10191
+ textarea: FieldBuilder<{
10271
10192
  name: "textarea";
10272
10193
  "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10273
10194
  component: typeof TextareaField;
10274
10195
  cellComponent: typeof TextCell;
10275
10196
  createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10276
10197
  }>;
10277
- readonly checkbox: FieldBuilder<{
10198
+ checkbox: FieldBuilder<{
10278
10199
  name: "checkbox";
10279
10200
  "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10280
10201
  component: typeof CheckboxField;
10281
10202
  cellComponent: typeof BooleanCell;
10282
10203
  createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10283
10204
  }>;
10284
- readonly switch: FieldBuilder<{
10205
+ switch: FieldBuilder<{
10285
10206
  name: "switch";
10286
10207
  "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10287
10208
  component: typeof SwitchField;
10288
10209
  cellComponent: typeof BooleanCell;
10289
10210
  createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10290
10211
  }>;
10291
- readonly select: FieldBuilder<{
10212
+ select: FieldBuilder<{
10292
10213
  name: "select";
10293
10214
  "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10294
10215
  component: typeof SelectField;
10295
10216
  cellComponent: typeof SelectCell;
10296
10217
  createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10297
10218
  }>;
10298
- readonly date: FieldBuilder<{
10299
- name: "date";
10300
- "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10301
- component: typeof DateField;
10302
- cellComponent: typeof DateCell;
10303
- createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10304
- }>;
10305
- readonly datetime: FieldBuilder<{
10219
+ datetime: FieldBuilder<{
10306
10220
  name: "datetime";
10307
10221
  "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10308
10222
  component: typeof DatetimeField;
10309
10223
  cellComponent: typeof DateTimeCell;
10310
10224
  createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10311
10225
  }>;
10312
- readonly time: FieldBuilder<{
10226
+ time: FieldBuilder<{
10313
10227
  name: "time";
10314
10228
  "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10315
10229
  component: typeof TimeField;
10316
10230
  cellComponent: typeof TimeCell;
10317
10231
  createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10318
10232
  }>;
10319
- readonly relation: FieldBuilder<{
10233
+ relation: FieldBuilder<{
10320
10234
  name: "relation";
10321
10235
  "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10322
10236
  component: typeof RelationField;
10323
10237
  cellComponent: typeof RelationCell;
10324
10238
  createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10325
10239
  }>;
10326
- readonly reverseRelation: FieldBuilder<{
10240
+ reverseRelation: FieldBuilder<{
10327
10241
  name: "reverseRelation";
10328
10242
  "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10329
10243
  component: typeof ReverseRelationField;
10330
10244
  cellComponent: typeof ReverseRelationCell;
10331
10245
  createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10332
10246
  }>;
10333
- readonly json: FieldBuilder<{
10247
+ json: FieldBuilder<{
10334
10248
  name: "json";
10335
10249
  "~options": Omit<BaseFieldProps & {
10336
10250
  readOnly?: boolean;
@@ -10361,28 +10275,14 @@ declare const adminModule: AdminBuilder<Omit<Omit<Omit<Omit<Omit<{
10361
10275
  }) => React.ReactNode;
10362
10276
  }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10363
10277
  }>;
10364
- readonly object: FieldBuilder<{
10365
- name: "object";
10366
- "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10367
- component: typeof ObjectField;
10368
- cellComponent: typeof ObjectCell;
10369
- createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10370
- }>;
10371
- readonly array: FieldBuilder<{
10372
- name: "array";
10373
- "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10374
- component: typeof ArrayField;
10375
- cellComponent: typeof JsonCell;
10376
- createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10377
- }>;
10378
- readonly upload: FieldBuilder<{
10278
+ upload: FieldBuilder<{
10379
10279
  name: "upload";
10380
10280
  "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10381
10281
  component: typeof UploadField;
10382
10282
  cellComponent: typeof UploadCell;
10383
10283
  createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10384
10284
  }>;
10385
- readonly uploadMany: FieldBuilder<{
10285
+ uploadMany: FieldBuilder<{
10386
10286
  name: "uploadMany";
10387
10287
  "~options": UploadFieldConfig & {
10388
10288
  maxItems?: number;
@@ -10397,7 +10297,7 @@ declare const adminModule: AdminBuilder<Omit<Omit<Omit<Omit<Omit<{
10397
10297
  layout?: "grid" | "list";
10398
10298
  } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10399
10299
  }>;
10400
- readonly assetPreview: FieldBuilder<{
10300
+ assetPreview: FieldBuilder<{
10401
10301
  name: "assetPreview";
10402
10302
  "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10403
10303
  component: typeof AssetPreviewField;
@@ -10406,24 +10306,24 @@ declare const adminModule: AdminBuilder<Omit<Omit<Omit<Omit<Omit<{
10406
10306
  }: {
10407
10307
  value: unknown;
10408
10308
  row?: any;
10409
- }) => react_jsx_runtime11.JSX.Element;
10309
+ }) => react_jsx_runtime10.JSX.Element;
10410
10310
  createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10411
10311
  }>;
10412
- readonly richText: FieldBuilder<{
10312
+ richText: FieldBuilder<{
10413
10313
  name: "richText";
10414
10314
  "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10415
10315
  component: typeof RichTextField;
10416
10316
  cellComponent: typeof RichTextCell;
10417
10317
  createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10418
10318
  }>;
10419
- readonly embedded: FieldBuilder<{
10319
+ embedded: FieldBuilder<{
10420
10320
  name: "embedded";
10421
10321
  "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10422
10322
  component: typeof EmbeddedCollectionField;
10423
10323
  cellComponent: typeof JsonCell;
10424
10324
  createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10425
10325
  }>;
10426
- readonly blocks: FieldBuilder<{
10326
+ blocks: FieldBuilder<{
10427
10327
  name: "blocks";
10428
10328
  "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10429
10329
  component: typeof BlocksField;
@@ -10431,704 +10331,621 @@ declare const adminModule: AdminBuilder<Omit<Omit<Omit<Omit<Omit<{
10431
10331
  createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10432
10332
  }>;
10433
10333
  };
10434
- }, "listViews" | "editViews"> & {
10435
- listViews: FilterListViews<{
10436
- readonly table: ListViewBuilder<{
10437
- name: "table";
10438
- kind: "list";
10439
- "~config": TableViewConfig;
10440
- component: typeof TableView;
10441
- }>;
10442
- readonly form: EditViewBuilder<{
10443
- name: "form";
10444
- kind: "edit";
10445
- "~config": FormViewConfig;
10446
- component: typeof FormView;
10447
- }>;
10448
- }>;
10449
- editViews: FilterEditViews<{
10450
- readonly table: ListViewBuilder<{
10334
+ blocks: {};
10335
+ "~app": any;
10336
+ listViews: {
10337
+ table: ListViewBuilder<{
10451
10338
  name: "table";
10452
10339
  kind: "list";
10453
10340
  "~config": TableViewConfig;
10454
10341
  component: typeof TableView;
10455
10342
  }>;
10456
- readonly form: EditViewBuilder<{
10343
+ };
10344
+ editViews: {
10345
+ form: EditViewBuilder<{
10457
10346
  name: "form";
10458
10347
  kind: "edit";
10459
10348
  "~config": FormViewConfig;
10460
10349
  component: typeof FormView;
10461
10350
  }>;
10462
- }>;
10463
- }, "pages"> & {
10464
- pages: {
10465
- readonly login: PageBuilder<Omit<{
10466
- name: "login";
10467
- component: () => Promise<typeof login_page_d_exports>;
10468
- path: undefined;
10469
- }, "path"> & {
10470
- path: string;
10471
- }>;
10472
- readonly forgotPassword: PageBuilder<Omit<{
10473
- name: "forgot-password";
10474
- component: () => Promise<typeof forgot_password_page_d_exports>;
10475
- path: undefined;
10476
- }, "path"> & {
10477
- path: string;
10478
- }>;
10479
- readonly resetPassword: PageBuilder<Omit<{
10480
- name: "reset-password";
10481
- component: () => Promise<typeof reset_password_page_d_exports>;
10482
- path: undefined;
10483
- }, "path"> & {
10484
- path: string;
10485
- }>;
10486
- readonly setup: PageBuilder<Omit<{
10487
- name: "setup";
10488
- component: () => Promise<typeof setup_page_d_exports>;
10489
- path: undefined;
10490
- }, "path"> & {
10491
- path: string;
10492
- }>;
10493
- readonly dashboard: PageBuilder<Omit<{
10494
- name: "dashboard";
10495
- component: () => Promise<typeof dashboard_page_d_exports>;
10496
- path: undefined;
10497
- }, "path"> & {
10498
- path: string;
10499
- }>;
10500
10351
  };
10501
- }, "collections"> & {
10502
- collections: {
10503
- user: CollectionBuilder<Omit<Omit<Omit<{
10504
- name: "user";
10505
- "~adminApp": AdminBuilder<Omit<Omit<Omit<{
10506
- "~app": any;
10507
- fields: {};
10508
- listViews: {};
10509
- editViews: {};
10510
- pages: {};
10511
- widgets: {};
10512
- blocks: {};
10513
- collections: {};
10514
- globals: {};
10515
- dashboard: {
10516
- layout: "grid";
10517
- widgets: [];
10518
- };
10519
- sidebar: {
10520
- sections: [];
10521
- };
10522
- branding: {};
10523
- locale: {
10524
- default: string;
10525
- supported: string[];
10526
- };
10527
- defaultViews: {};
10528
- translations: {};
10529
- }, "fields"> & {
10530
- fields: {
10531
- readonly text: FieldBuilder<{
10532
- name: "text";
10533
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10534
- component: typeof TextField;
10535
- cellComponent: typeof TextCell;
10536
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10537
- }>;
10538
- readonly number: FieldBuilder<{
10539
- name: "number";
10540
- "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10541
- component: typeof NumberField;
10542
- cellComponent: typeof NumberCell;
10543
- createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10544
- }>;
10545
- readonly email: FieldBuilder<{
10546
- name: "email";
10547
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10548
- component: typeof EmailField;
10549
- cellComponent: typeof EmailCell;
10550
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10551
- }>;
10552
- readonly password: FieldBuilder<{
10553
- name: "password";
10554
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10555
- component: typeof PasswordField;
10556
- cellComponent: typeof TextCell;
10557
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10558
- }>;
10559
- readonly textarea: FieldBuilder<{
10560
- name: "textarea";
10561
- "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10562
- component: typeof TextareaField;
10563
- cellComponent: typeof TextCell;
10564
- createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10565
- }>;
10566
- readonly checkbox: FieldBuilder<{
10567
- name: "checkbox";
10568
- "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10569
- component: typeof CheckboxField;
10570
- cellComponent: typeof BooleanCell;
10571
- createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10572
- }>;
10573
- readonly switch: FieldBuilder<{
10574
- name: "switch";
10575
- "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10576
- component: typeof SwitchField;
10577
- cellComponent: typeof BooleanCell;
10578
- createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10579
- }>;
10580
- readonly select: FieldBuilder<{
10581
- name: "select";
10582
- "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10583
- component: typeof SelectField;
10584
- cellComponent: typeof SelectCell;
10585
- createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10586
- }>;
10587
- readonly date: FieldBuilder<{
10588
- name: "date";
10589
- "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10590
- component: typeof DateField;
10591
- cellComponent: typeof DateCell;
10592
- createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10593
- }>;
10594
- readonly datetime: FieldBuilder<{
10595
- name: "datetime";
10596
- "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10597
- component: typeof DatetimeField;
10598
- cellComponent: typeof DateTimeCell;
10599
- createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10600
- }>;
10601
- readonly time: FieldBuilder<{
10602
- name: "time";
10603
- "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10604
- component: typeof TimeField;
10605
- cellComponent: typeof TimeCell;
10606
- createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10607
- }>;
10608
- readonly relation: FieldBuilder<{
10609
- name: "relation";
10610
- "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10611
- component: typeof RelationField;
10612
- cellComponent: typeof RelationCell;
10613
- createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10614
- }>;
10615
- readonly reverseRelation: FieldBuilder<{
10616
- name: "reverseRelation";
10617
- "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10618
- component: typeof ReverseRelationField;
10619
- cellComponent: typeof ReverseRelationCell;
10620
- createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10621
- }>;
10622
- readonly json: FieldBuilder<{
10623
- name: "json";
10624
- "~options": Omit<BaseFieldProps & {
10352
+ pages: {};
10353
+ widgets: {};
10354
+ collections: {};
10355
+ globals: {};
10356
+ dashboard: {
10357
+ layout: "grid";
10358
+ widgets: [];
10359
+ };
10360
+ sidebar: {
10361
+ sections: [];
10362
+ };
10363
+ branding: {};
10364
+ defaultViews: {};
10365
+ translations: {};
10366
+ }, "pages", {
10367
+ dashboard: PageBuilder<questpie134.SetProperty<{
10368
+ name: "dashboard";
10369
+ component: () => Promise<typeof dashboard_page_d_exports>;
10370
+ path: undefined;
10371
+ }, "path", string>>;
10372
+ login: PageBuilder<questpie134.SetProperty<{
10373
+ name: "login";
10374
+ component: () => Promise<typeof login_page_d_exports>;
10375
+ path: undefined;
10376
+ }, "path", string>>;
10377
+ setup: PageBuilder<questpie134.SetProperty<{
10378
+ name: "setup";
10379
+ component: () => Promise<typeof setup_page_d_exports>;
10380
+ path: undefined;
10381
+ }, "path", string>>;
10382
+ forgotPassword: PageBuilder<questpie134.SetProperty<{
10383
+ name: "forgot-password";
10384
+ component: () => Promise<typeof forgot_password_page_d_exports>;
10385
+ path: undefined;
10386
+ }, "path", string>>;
10387
+ resetPassword: PageBuilder<questpie134.SetProperty<{
10388
+ name: "reset-password";
10389
+ component: () => Promise<typeof reset_password_page_d_exports>;
10390
+ path: undefined;
10391
+ }, "path", string>>;
10392
+ }>, "collections", {
10393
+ user: CollectionBuilder<questpie134.SetProperty<questpie134.SetProperty<questpie134.SetProperty<{
10394
+ name: "user";
10395
+ "~adminApp": AdminBuilder<questpie134.SetProperty<{
10396
+ locale: {
10397
+ default: string;
10398
+ supported: string[];
10399
+ };
10400
+ fields: {
10401
+ number: FieldBuilder<{
10402
+ name: "number";
10403
+ "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10404
+ component: typeof NumberField;
10405
+ cellComponent: typeof NumberCell;
10406
+ createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10407
+ }>;
10408
+ object: FieldBuilder<{
10409
+ name: "object";
10410
+ "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10411
+ component: typeof ObjectField;
10412
+ cellComponent: typeof ObjectCell;
10413
+ createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10414
+ }>;
10415
+ text: FieldBuilder<{
10416
+ name: "text";
10417
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10418
+ component: typeof TextField;
10419
+ cellComponent: typeof TextCell;
10420
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10421
+ }>;
10422
+ email: FieldBuilder<{
10423
+ name: "email";
10424
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10425
+ component: typeof EmailField;
10426
+ cellComponent: typeof EmailCell;
10427
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10428
+ }>;
10429
+ password: FieldBuilder<{
10430
+ name: "password";
10431
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10432
+ component: typeof PasswordField;
10433
+ cellComponent: typeof TextCell;
10434
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10435
+ }>;
10436
+ date: FieldBuilder<{
10437
+ name: "date";
10438
+ "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10439
+ component: typeof DateField;
10440
+ cellComponent: typeof DateCell;
10441
+ createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10442
+ }>;
10443
+ array: FieldBuilder<{
10444
+ name: "array";
10445
+ "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10446
+ component: typeof ArrayField;
10447
+ cellComponent: typeof JsonCell;
10448
+ createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10449
+ }>;
10450
+ textarea: FieldBuilder<{
10451
+ name: "textarea";
10452
+ "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10453
+ component: typeof TextareaField;
10454
+ cellComponent: typeof TextCell;
10455
+ createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10456
+ }>;
10457
+ checkbox: FieldBuilder<{
10458
+ name: "checkbox";
10459
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10460
+ component: typeof CheckboxField;
10461
+ cellComponent: typeof BooleanCell;
10462
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10463
+ }>;
10464
+ switch: FieldBuilder<{
10465
+ name: "switch";
10466
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10467
+ component: typeof SwitchField;
10468
+ cellComponent: typeof BooleanCell;
10469
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10470
+ }>;
10471
+ select: FieldBuilder<{
10472
+ name: "select";
10473
+ "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10474
+ component: typeof SelectField;
10475
+ cellComponent: typeof SelectCell;
10476
+ createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10477
+ }>;
10478
+ datetime: FieldBuilder<{
10479
+ name: "datetime";
10480
+ "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10481
+ component: typeof DatetimeField;
10482
+ cellComponent: typeof DateTimeCell;
10483
+ createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10484
+ }>;
10485
+ time: FieldBuilder<{
10486
+ name: "time";
10487
+ "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10488
+ component: typeof TimeField;
10489
+ cellComponent: typeof TimeCell;
10490
+ createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10491
+ }>;
10492
+ relation: FieldBuilder<{
10493
+ name: "relation";
10494
+ "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10495
+ component: typeof RelationField;
10496
+ cellComponent: typeof RelationCell;
10497
+ createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10498
+ }>;
10499
+ reverseRelation: FieldBuilder<{
10500
+ name: "reverseRelation";
10501
+ "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10502
+ component: typeof ReverseRelationField;
10503
+ cellComponent: typeof ReverseRelationCell;
10504
+ createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10505
+ }>;
10506
+ json: FieldBuilder<{
10507
+ name: "json";
10508
+ "~options": Omit<BaseFieldProps & {
10509
+ readOnly?: boolean;
10510
+ defaultMode?: JsonFieldMode;
10511
+ allowModeSwitch?: boolean;
10512
+ minHeight?: number;
10513
+ maxHeight?: number;
10514
+ renderForm?: (props: {
10515
+ value: any;
10516
+ onChange: (value: any) => void;
10517
+ disabled?: boolean;
10625
10518
  readOnly?: boolean;
10626
- defaultMode?: JsonFieldMode;
10627
- allowModeSwitch?: boolean;
10628
- minHeight?: number;
10629
- maxHeight?: number;
10630
- renderForm?: (props: {
10631
- value: any;
10632
- onChange: (value: any) => void;
10633
- disabled?: boolean;
10634
- readOnly?: boolean;
10635
- }) => React.ReactNode;
10636
- }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10637
- component: typeof JsonField;
10638
- cellComponent: typeof JsonCell;
10639
- createZod: CreateZodFn<Omit<BaseFieldProps & {
10519
+ }) => React.ReactNode;
10520
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10521
+ component: typeof JsonField;
10522
+ cellComponent: typeof JsonCell;
10523
+ createZod: CreateZodFn<Omit<BaseFieldProps & {
10524
+ readOnly?: boolean;
10525
+ defaultMode?: JsonFieldMode;
10526
+ allowModeSwitch?: boolean;
10527
+ minHeight?: number;
10528
+ maxHeight?: number;
10529
+ renderForm?: (props: {
10530
+ value: any;
10531
+ onChange: (value: any) => void;
10532
+ disabled?: boolean;
10640
10533
  readOnly?: boolean;
10641
- defaultMode?: JsonFieldMode;
10642
- allowModeSwitch?: boolean;
10643
- minHeight?: number;
10644
- maxHeight?: number;
10645
- renderForm?: (props: {
10646
- value: any;
10647
- onChange: (value: any) => void;
10648
- disabled?: boolean;
10649
- readOnly?: boolean;
10650
- }) => React.ReactNode;
10651
- }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10652
- }>;
10653
- readonly object: FieldBuilder<{
10654
- name: "object";
10655
- "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10656
- component: typeof ObjectField;
10657
- cellComponent: typeof ObjectCell;
10658
- createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10659
- }>;
10660
- readonly array: FieldBuilder<{
10661
- name: "array";
10662
- "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10663
- component: typeof ArrayField;
10664
- cellComponent: typeof JsonCell;
10665
- createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10666
- }>;
10667
- readonly upload: FieldBuilder<{
10668
- name: "upload";
10669
- "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10670
- component: typeof UploadField;
10671
- cellComponent: typeof UploadCell;
10672
- createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10673
- }>;
10674
- readonly uploadMany: FieldBuilder<{
10675
- name: "uploadMany";
10676
- "~options": UploadFieldConfig & {
10677
- maxItems?: number;
10678
- orderable?: boolean;
10679
- layout?: "grid" | "list";
10680
- } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10681
- component: typeof UploadManyField;
10682
- cellComponent: typeof UploadManyCell;
10683
- createZod: CreateZodFn<UploadFieldConfig & {
10684
- maxItems?: number;
10685
- orderable?: boolean;
10686
- layout?: "grid" | "list";
10687
- } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10688
- }>;
10689
- readonly assetPreview: FieldBuilder<{
10690
- name: "assetPreview";
10691
- "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10692
- component: typeof AssetPreviewField;
10693
- cellComponent: ({
10694
- row
10695
- }: {
10696
- value: unknown;
10697
- row?: any;
10698
- }) => react_jsx_runtime11.JSX.Element;
10699
- createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10700
- }>;
10701
- readonly richText: FieldBuilder<{
10702
- name: "richText";
10703
- "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10704
- component: typeof RichTextField;
10705
- cellComponent: typeof RichTextCell;
10706
- createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10707
- }>;
10708
- readonly embedded: FieldBuilder<{
10709
- name: "embedded";
10710
- "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10711
- component: typeof EmbeddedCollectionField;
10712
- cellComponent: typeof JsonCell;
10713
- createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10714
- }>;
10715
- readonly blocks: FieldBuilder<{
10716
- name: "blocks";
10717
- "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10718
- component: typeof BlocksField;
10719
- cellComponent: typeof BlocksCell;
10720
- createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10721
- }>;
10722
- };
10723
- }, "listViews" | "editViews"> & {
10724
- listViews: FilterListViews<{
10725
- readonly table: ListViewBuilder<{
10726
- name: "table";
10727
- kind: "list";
10728
- "~config": TableViewConfig;
10729
- component: typeof TableView;
10730
- }>;
10731
- readonly form: EditViewBuilder<{
10732
- name: "form";
10733
- kind: "edit";
10734
- "~config": FormViewConfig;
10735
- component: typeof FormView;
10736
- }>;
10534
+ }) => React.ReactNode;
10535
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10737
10536
  }>;
10738
- editViews: FilterEditViews<{
10739
- readonly table: ListViewBuilder<{
10740
- name: "table";
10741
- kind: "list";
10742
- "~config": TableViewConfig;
10743
- component: typeof TableView;
10744
- }>;
10745
- readonly form: EditViewBuilder<{
10746
- name: "form";
10747
- kind: "edit";
10748
- "~config": FormViewConfig;
10749
- component: typeof FormView;
10750
- }>;
10537
+ upload: FieldBuilder<{
10538
+ name: "upload";
10539
+ "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10540
+ component: typeof UploadField;
10541
+ cellComponent: typeof UploadCell;
10542
+ createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10543
+ }>;
10544
+ uploadMany: FieldBuilder<{
10545
+ name: "uploadMany";
10546
+ "~options": UploadFieldConfig & {
10547
+ maxItems?: number;
10548
+ orderable?: boolean;
10549
+ layout?: "grid" | "list";
10550
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10551
+ component: typeof UploadManyField;
10552
+ cellComponent: typeof UploadManyCell;
10553
+ createZod: CreateZodFn<UploadFieldConfig & {
10554
+ maxItems?: number;
10555
+ orderable?: boolean;
10556
+ layout?: "grid" | "list";
10557
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10558
+ }>;
10559
+ assetPreview: FieldBuilder<{
10560
+ name: "assetPreview";
10561
+ "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10562
+ component: typeof AssetPreviewField;
10563
+ cellComponent: ({
10564
+ row
10565
+ }: {
10566
+ value: unknown;
10567
+ row?: any;
10568
+ }) => react_jsx_runtime10.JSX.Element;
10569
+ createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10570
+ }>;
10571
+ richText: FieldBuilder<{
10572
+ name: "richText";
10573
+ "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10574
+ component: typeof RichTextField;
10575
+ cellComponent: typeof RichTextCell;
10576
+ createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10577
+ }>;
10578
+ embedded: FieldBuilder<{
10579
+ name: "embedded";
10580
+ "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10581
+ component: typeof EmbeddedCollectionField;
10582
+ cellComponent: typeof JsonCell;
10583
+ createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10584
+ }>;
10585
+ blocks: FieldBuilder<{
10586
+ name: "blocks";
10587
+ "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10588
+ component: typeof BlocksField;
10589
+ cellComponent: typeof BlocksCell;
10590
+ createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10751
10591
  }>;
10752
- }, "pages"> & {
10753
- pages: {
10754
- readonly login: PageBuilder<Omit<{
10755
- name: "login";
10756
- component: () => Promise<typeof login_page_d_exports>;
10757
- path: undefined;
10758
- }, "path"> & {
10759
- path: string;
10760
- }>;
10761
- readonly forgotPassword: PageBuilder<Omit<{
10762
- name: "forgot-password";
10763
- component: () => Promise<typeof forgot_password_page_d_exports>;
10764
- path: undefined;
10765
- }, "path"> & {
10766
- path: string;
10767
- }>;
10768
- readonly resetPassword: PageBuilder<Omit<{
10769
- name: "reset-password";
10770
- component: () => Promise<typeof reset_password_page_d_exports>;
10771
- path: undefined;
10772
- }, "path"> & {
10773
- path: string;
10774
- }>;
10775
- readonly setup: PageBuilder<Omit<{
10776
- name: "setup";
10777
- component: () => Promise<typeof setup_page_d_exports>;
10778
- path: undefined;
10779
- }, "path"> & {
10780
- path: string;
10781
- }>;
10782
- readonly dashboard: PageBuilder<Omit<{
10783
- name: "dashboard";
10784
- component: () => Promise<typeof dashboard_page_d_exports>;
10785
- path: undefined;
10786
- }, "path"> & {
10787
- path: string;
10788
- }>;
10789
- };
10790
- }>;
10791
- }, "fields"> & {
10792
- fields: {
10793
- name: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10794
- email: FieldDefinition<"email", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10795
- role: FieldDefinition<"select", SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10796
- emailVerified: FieldDefinition<"checkbox", Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10797
- banned: FieldDefinition<"checkbox", Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10798
- banReason: FieldDefinition<"textarea", TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10799
10592
  };
10800
- }, "list"> & {
10801
- list: ListViewBuilder<{
10802
- name: "table";
10803
- kind: "list";
10804
- "~config": TableViewConfig;
10805
- component: typeof TableView;
10806
- }>;
10807
- }, "form"> & {
10808
- form: EditViewBuilder<{
10809
- name: "form";
10810
- kind: "edit";
10811
- "~config": FormViewConfig;
10812
- component: typeof FormView;
10813
- }>;
10814
- }>;
10815
- assets: CollectionBuilder<Omit<Omit<Omit<{
10816
- name: "assets";
10817
- "~adminApp": AdminBuilder<Omit<Omit<Omit<{
10818
- "~app": any;
10819
- fields: {};
10820
- listViews: {};
10821
- editViews: {};
10822
- pages: {};
10823
- widgets: {};
10824
- blocks: {};
10825
- collections: {};
10826
- globals: {};
10827
- dashboard: {
10828
- layout: "grid";
10829
- widgets: [];
10830
- };
10831
- sidebar: {
10832
- sections: [];
10833
- };
10834
- branding: {};
10835
- locale: {
10836
- default: string;
10837
- supported: string[];
10838
- };
10839
- defaultViews: {};
10840
- translations: {};
10841
- }, "fields"> & {
10842
- fields: {
10843
- readonly text: FieldBuilder<{
10844
- name: "text";
10845
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10846
- component: typeof TextField;
10847
- cellComponent: typeof TextCell;
10848
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10849
- }>;
10850
- readonly number: FieldBuilder<{
10851
- name: "number";
10852
- "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10853
- component: typeof NumberField;
10854
- cellComponent: typeof NumberCell;
10855
- createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10856
- }>;
10857
- readonly email: FieldBuilder<{
10858
- name: "email";
10859
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10860
- component: typeof EmailField;
10861
- cellComponent: typeof EmailCell;
10862
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10863
- }>;
10864
- readonly password: FieldBuilder<{
10865
- name: "password";
10866
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10867
- component: typeof PasswordField;
10868
- cellComponent: typeof TextCell;
10869
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10870
- }>;
10871
- readonly textarea: FieldBuilder<{
10872
- name: "textarea";
10873
- "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10874
- component: typeof TextareaField;
10875
- cellComponent: typeof TextCell;
10876
- createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10877
- }>;
10878
- readonly checkbox: FieldBuilder<{
10879
- name: "checkbox";
10880
- "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10881
- component: typeof CheckboxField;
10882
- cellComponent: typeof BooleanCell;
10883
- createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10884
- }>;
10885
- readonly switch: FieldBuilder<{
10886
- name: "switch";
10887
- "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10888
- component: typeof SwitchField;
10889
- cellComponent: typeof BooleanCell;
10890
- createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10891
- }>;
10892
- readonly select: FieldBuilder<{
10893
- name: "select";
10894
- "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10895
- component: typeof SelectField;
10896
- cellComponent: typeof SelectCell;
10897
- createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10898
- }>;
10899
- readonly date: FieldBuilder<{
10900
- name: "date";
10901
- "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10902
- component: typeof DateField;
10903
- cellComponent: typeof DateCell;
10904
- createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10905
- }>;
10906
- readonly datetime: FieldBuilder<{
10907
- name: "datetime";
10908
- "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10909
- component: typeof DatetimeField;
10910
- cellComponent: typeof DateTimeCell;
10911
- createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10912
- }>;
10913
- readonly time: FieldBuilder<{
10914
- name: "time";
10915
- "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10916
- component: typeof TimeField;
10917
- cellComponent: typeof TimeCell;
10918
- createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10919
- }>;
10920
- readonly relation: FieldBuilder<{
10921
- name: "relation";
10922
- "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10923
- component: typeof RelationField;
10924
- cellComponent: typeof RelationCell;
10925
- createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10926
- }>;
10927
- readonly reverseRelation: FieldBuilder<{
10928
- name: "reverseRelation";
10929
- "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10930
- component: typeof ReverseRelationField;
10931
- cellComponent: typeof ReverseRelationCell;
10932
- createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10933
- }>;
10934
- readonly json: FieldBuilder<{
10935
- name: "json";
10936
- "~options": Omit<BaseFieldProps & {
10593
+ blocks: {};
10594
+ "~app": any;
10595
+ listViews: {
10596
+ table: ListViewBuilder<{
10597
+ name: "table";
10598
+ kind: "list";
10599
+ "~config": TableViewConfig;
10600
+ component: typeof TableView;
10601
+ }>;
10602
+ };
10603
+ editViews: {
10604
+ form: EditViewBuilder<{
10605
+ name: "form";
10606
+ kind: "edit";
10607
+ "~config": FormViewConfig;
10608
+ component: typeof FormView;
10609
+ }>;
10610
+ };
10611
+ pages: {};
10612
+ widgets: {};
10613
+ collections: {};
10614
+ globals: {};
10615
+ dashboard: {
10616
+ layout: "grid";
10617
+ widgets: [];
10618
+ };
10619
+ sidebar: {
10620
+ sections: [];
10621
+ };
10622
+ branding: {};
10623
+ defaultViews: {};
10624
+ translations: {};
10625
+ }, "pages", {
10626
+ dashboard: PageBuilder<questpie134.SetProperty<{
10627
+ name: "dashboard";
10628
+ component: () => Promise<typeof dashboard_page_d_exports>;
10629
+ path: undefined;
10630
+ }, "path", string>>;
10631
+ login: PageBuilder<questpie134.SetProperty<{
10632
+ name: "login";
10633
+ component: () => Promise<typeof login_page_d_exports>;
10634
+ path: undefined;
10635
+ }, "path", string>>;
10636
+ setup: PageBuilder<questpie134.SetProperty<{
10637
+ name: "setup";
10638
+ component: () => Promise<typeof setup_page_d_exports>;
10639
+ path: undefined;
10640
+ }, "path", string>>;
10641
+ forgotPassword: PageBuilder<questpie134.SetProperty<{
10642
+ name: "forgot-password";
10643
+ component: () => Promise<typeof forgot_password_page_d_exports>;
10644
+ path: undefined;
10645
+ }, "path", string>>;
10646
+ resetPassword: PageBuilder<questpie134.SetProperty<{
10647
+ name: "reset-password";
10648
+ component: () => Promise<typeof reset_password_page_d_exports>;
10649
+ path: undefined;
10650
+ }, "path", string>>;
10651
+ }>>;
10652
+ }, "fields", {
10653
+ name: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10654
+ email: FieldDefinition<"email", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10655
+ role: FieldDefinition<"select", SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10656
+ emailVerified: FieldDefinition<"checkbox", Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10657
+ banned: FieldDefinition<"checkbox", Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10658
+ banReason: FieldDefinition<"textarea", TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10659
+ }>, "list", ListViewBuilder<{
10660
+ name: "table";
10661
+ kind: "list";
10662
+ "~config": TableViewConfig;
10663
+ component: typeof TableView;
10664
+ }>>, "form", EditViewBuilder<{
10665
+ name: "form";
10666
+ kind: "edit";
10667
+ "~config": FormViewConfig;
10668
+ component: typeof FormView;
10669
+ }>>>;
10670
+ assets: CollectionBuilder<questpie134.SetProperty<questpie134.SetProperty<questpie134.SetProperty<{
10671
+ name: "assets";
10672
+ "~adminApp": AdminBuilder<questpie134.SetProperty<{
10673
+ locale: {
10674
+ default: string;
10675
+ supported: string[];
10676
+ };
10677
+ fields: {
10678
+ number: FieldBuilder<{
10679
+ name: "number";
10680
+ "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10681
+ component: typeof NumberField;
10682
+ cellComponent: typeof NumberCell;
10683
+ createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10684
+ }>;
10685
+ object: FieldBuilder<{
10686
+ name: "object";
10687
+ "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10688
+ component: typeof ObjectField;
10689
+ cellComponent: typeof ObjectCell;
10690
+ createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10691
+ }>;
10692
+ text: FieldBuilder<{
10693
+ name: "text";
10694
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10695
+ component: typeof TextField;
10696
+ cellComponent: typeof TextCell;
10697
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10698
+ }>;
10699
+ email: FieldBuilder<{
10700
+ name: "email";
10701
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10702
+ component: typeof EmailField;
10703
+ cellComponent: typeof EmailCell;
10704
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10705
+ }>;
10706
+ password: FieldBuilder<{
10707
+ name: "password";
10708
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10709
+ component: typeof PasswordField;
10710
+ cellComponent: typeof TextCell;
10711
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10712
+ }>;
10713
+ date: FieldBuilder<{
10714
+ name: "date";
10715
+ "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10716
+ component: typeof DateField;
10717
+ cellComponent: typeof DateCell;
10718
+ createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10719
+ }>;
10720
+ array: FieldBuilder<{
10721
+ name: "array";
10722
+ "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10723
+ component: typeof ArrayField;
10724
+ cellComponent: typeof JsonCell;
10725
+ createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10726
+ }>;
10727
+ textarea: FieldBuilder<{
10728
+ name: "textarea";
10729
+ "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10730
+ component: typeof TextareaField;
10731
+ cellComponent: typeof TextCell;
10732
+ createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10733
+ }>;
10734
+ checkbox: FieldBuilder<{
10735
+ name: "checkbox";
10736
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10737
+ component: typeof CheckboxField;
10738
+ cellComponent: typeof BooleanCell;
10739
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10740
+ }>;
10741
+ switch: FieldBuilder<{
10742
+ name: "switch";
10743
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10744
+ component: typeof SwitchField;
10745
+ cellComponent: typeof BooleanCell;
10746
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10747
+ }>;
10748
+ select: FieldBuilder<{
10749
+ name: "select";
10750
+ "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10751
+ component: typeof SelectField;
10752
+ cellComponent: typeof SelectCell;
10753
+ createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10754
+ }>;
10755
+ datetime: FieldBuilder<{
10756
+ name: "datetime";
10757
+ "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10758
+ component: typeof DatetimeField;
10759
+ cellComponent: typeof DateTimeCell;
10760
+ createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10761
+ }>;
10762
+ time: FieldBuilder<{
10763
+ name: "time";
10764
+ "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10765
+ component: typeof TimeField;
10766
+ cellComponent: typeof TimeCell;
10767
+ createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10768
+ }>;
10769
+ relation: FieldBuilder<{
10770
+ name: "relation";
10771
+ "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10772
+ component: typeof RelationField;
10773
+ cellComponent: typeof RelationCell;
10774
+ createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10775
+ }>;
10776
+ reverseRelation: FieldBuilder<{
10777
+ name: "reverseRelation";
10778
+ "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10779
+ component: typeof ReverseRelationField;
10780
+ cellComponent: typeof ReverseRelationCell;
10781
+ createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10782
+ }>;
10783
+ json: FieldBuilder<{
10784
+ name: "json";
10785
+ "~options": Omit<BaseFieldProps & {
10786
+ readOnly?: boolean;
10787
+ defaultMode?: JsonFieldMode;
10788
+ allowModeSwitch?: boolean;
10789
+ minHeight?: number;
10790
+ maxHeight?: number;
10791
+ renderForm?: (props: {
10792
+ value: any;
10793
+ onChange: (value: any) => void;
10794
+ disabled?: boolean;
10937
10795
  readOnly?: boolean;
10938
- defaultMode?: JsonFieldMode;
10939
- allowModeSwitch?: boolean;
10940
- minHeight?: number;
10941
- maxHeight?: number;
10942
- renderForm?: (props: {
10943
- value: any;
10944
- onChange: (value: any) => void;
10945
- disabled?: boolean;
10946
- readOnly?: boolean;
10947
- }) => React.ReactNode;
10948
- }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10949
- component: typeof JsonField;
10950
- cellComponent: typeof JsonCell;
10951
- createZod: CreateZodFn<Omit<BaseFieldProps & {
10796
+ }) => React.ReactNode;
10797
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10798
+ component: typeof JsonField;
10799
+ cellComponent: typeof JsonCell;
10800
+ createZod: CreateZodFn<Omit<BaseFieldProps & {
10801
+ readOnly?: boolean;
10802
+ defaultMode?: JsonFieldMode;
10803
+ allowModeSwitch?: boolean;
10804
+ minHeight?: number;
10805
+ maxHeight?: number;
10806
+ renderForm?: (props: {
10807
+ value: any;
10808
+ onChange: (value: any) => void;
10809
+ disabled?: boolean;
10952
10810
  readOnly?: boolean;
10953
- defaultMode?: JsonFieldMode;
10954
- allowModeSwitch?: boolean;
10955
- minHeight?: number;
10956
- maxHeight?: number;
10957
- renderForm?: (props: {
10958
- value: any;
10959
- onChange: (value: any) => void;
10960
- disabled?: boolean;
10961
- readOnly?: boolean;
10962
- }) => React.ReactNode;
10963
- }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10964
- }>;
10965
- readonly object: FieldBuilder<{
10966
- name: "object";
10967
- "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10968
- component: typeof ObjectField;
10969
- cellComponent: typeof ObjectCell;
10970
- createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10971
- }>;
10972
- readonly array: FieldBuilder<{
10973
- name: "array";
10974
- "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10975
- component: typeof ArrayField;
10976
- cellComponent: typeof JsonCell;
10977
- createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10978
- }>;
10979
- readonly upload: FieldBuilder<{
10980
- name: "upload";
10981
- "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10982
- component: typeof UploadField;
10983
- cellComponent: typeof UploadCell;
10984
- createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10985
- }>;
10986
- readonly uploadMany: FieldBuilder<{
10987
- name: "uploadMany";
10988
- "~options": UploadFieldConfig & {
10989
- maxItems?: number;
10990
- orderable?: boolean;
10991
- layout?: "grid" | "list";
10992
- } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10993
- component: typeof UploadManyField;
10994
- cellComponent: typeof UploadManyCell;
10995
- createZod: CreateZodFn<UploadFieldConfig & {
10996
- maxItems?: number;
10997
- orderable?: boolean;
10998
- layout?: "grid" | "list";
10999
- } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
11000
- }>;
11001
- readonly assetPreview: FieldBuilder<{
11002
- name: "assetPreview";
11003
- "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
11004
- component: typeof AssetPreviewField;
11005
- cellComponent: ({
11006
- row
11007
- }: {
11008
- value: unknown;
11009
- row?: any;
11010
- }) => react_jsx_runtime11.JSX.Element;
11011
- createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
11012
- }>;
11013
- readonly richText: FieldBuilder<{
11014
- name: "richText";
11015
- "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
11016
- component: typeof RichTextField;
11017
- cellComponent: typeof RichTextCell;
11018
- createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
11019
- }>;
11020
- readonly embedded: FieldBuilder<{
11021
- name: "embedded";
11022
- "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
11023
- component: typeof EmbeddedCollectionField;
11024
- cellComponent: typeof JsonCell;
11025
- createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
11026
- }>;
11027
- readonly blocks: FieldBuilder<{
11028
- name: "blocks";
11029
- "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
11030
- component: typeof BlocksField;
11031
- cellComponent: typeof BlocksCell;
11032
- createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
11033
- }>;
11034
- };
11035
- }, "listViews" | "editViews"> & {
11036
- listViews: FilterListViews<{
11037
- readonly table: ListViewBuilder<{
11038
- name: "table";
11039
- kind: "list";
11040
- "~config": TableViewConfig;
11041
- component: typeof TableView;
11042
- }>;
11043
- readonly form: EditViewBuilder<{
11044
- name: "form";
11045
- kind: "edit";
11046
- "~config": FormViewConfig;
11047
- component: typeof FormView;
11048
- }>;
10811
+ }) => React.ReactNode;
10812
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
11049
10813
  }>;
11050
- editViews: FilterEditViews<{
11051
- readonly table: ListViewBuilder<{
11052
- name: "table";
11053
- kind: "list";
11054
- "~config": TableViewConfig;
11055
- component: typeof TableView;
11056
- }>;
11057
- readonly form: EditViewBuilder<{
11058
- name: "form";
11059
- kind: "edit";
11060
- "~config": FormViewConfig;
11061
- component: typeof FormView;
11062
- }>;
10814
+ upload: FieldBuilder<{
10815
+ name: "upload";
10816
+ "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10817
+ component: typeof UploadField;
10818
+ cellComponent: typeof UploadCell;
10819
+ createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10820
+ }>;
10821
+ uploadMany: FieldBuilder<{
10822
+ name: "uploadMany";
10823
+ "~options": UploadFieldConfig & {
10824
+ maxItems?: number;
10825
+ orderable?: boolean;
10826
+ layout?: "grid" | "list";
10827
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10828
+ component: typeof UploadManyField;
10829
+ cellComponent: typeof UploadManyCell;
10830
+ createZod: CreateZodFn<UploadFieldConfig & {
10831
+ maxItems?: number;
10832
+ orderable?: boolean;
10833
+ layout?: "grid" | "list";
10834
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10835
+ }>;
10836
+ assetPreview: FieldBuilder<{
10837
+ name: "assetPreview";
10838
+ "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10839
+ component: typeof AssetPreviewField;
10840
+ cellComponent: ({
10841
+ row
10842
+ }: {
10843
+ value: unknown;
10844
+ row?: any;
10845
+ }) => react_jsx_runtime10.JSX.Element;
10846
+ createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10847
+ }>;
10848
+ richText: FieldBuilder<{
10849
+ name: "richText";
10850
+ "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10851
+ component: typeof RichTextField;
10852
+ cellComponent: typeof RichTextCell;
10853
+ createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10854
+ }>;
10855
+ embedded: FieldBuilder<{
10856
+ name: "embedded";
10857
+ "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10858
+ component: typeof EmbeddedCollectionField;
10859
+ cellComponent: typeof JsonCell;
10860
+ createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10861
+ }>;
10862
+ blocks: FieldBuilder<{
10863
+ name: "blocks";
10864
+ "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10865
+ component: typeof BlocksField;
10866
+ cellComponent: typeof BlocksCell;
10867
+ createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
11063
10868
  }>;
11064
- }, "pages"> & {
11065
- pages: {
11066
- readonly login: PageBuilder<Omit<{
11067
- name: "login";
11068
- component: () => Promise<typeof login_page_d_exports>;
11069
- path: undefined;
11070
- }, "path"> & {
11071
- path: string;
11072
- }>;
11073
- readonly forgotPassword: PageBuilder<Omit<{
11074
- name: "forgot-password";
11075
- component: () => Promise<typeof forgot_password_page_d_exports>;
11076
- path: undefined;
11077
- }, "path"> & {
11078
- path: string;
11079
- }>;
11080
- readonly resetPassword: PageBuilder<Omit<{
11081
- name: "reset-password";
11082
- component: () => Promise<typeof reset_password_page_d_exports>;
11083
- path: undefined;
11084
- }, "path"> & {
11085
- path: string;
11086
- }>;
11087
- readonly setup: PageBuilder<Omit<{
11088
- name: "setup";
11089
- component: () => Promise<typeof setup_page_d_exports>;
11090
- path: undefined;
11091
- }, "path"> & {
11092
- path: string;
11093
- }>;
11094
- readonly dashboard: PageBuilder<Omit<{
11095
- name: "dashboard";
11096
- component: () => Promise<typeof dashboard_page_d_exports>;
11097
- path: undefined;
11098
- }, "path"> & {
11099
- path: string;
11100
- }>;
11101
- };
11102
- }>;
11103
- }, "fields"> & {
11104
- fields: {
11105
- preview: FieldDefinition<"assetPreview", AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
11106
- filename: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
11107
- mimeType: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
11108
- size: FieldDefinition<"number", NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
11109
- alt: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
11110
- caption: FieldDefinition<"textarea", TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
11111
- visibility: FieldDefinition<"select", SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
11112
10869
  };
11113
- }, "list"> & {
11114
- list: ListViewBuilder<{
11115
- name: "table";
11116
- kind: "list";
11117
- "~config": TableViewConfig;
11118
- component: typeof TableView;
11119
- }>;
11120
- }, "form"> & {
11121
- form: EditViewBuilder<{
11122
- name: "form";
11123
- kind: "edit";
11124
- "~config": FormViewConfig;
11125
- component: typeof FormView;
11126
- }>;
11127
- }>;
11128
- };
11129
- }, "sidebar"> & {
11130
- sidebar: SidebarConfig<string>;
11131
- }>;
10870
+ blocks: {};
10871
+ "~app": any;
10872
+ listViews: {
10873
+ table: ListViewBuilder<{
10874
+ name: "table";
10875
+ kind: "list";
10876
+ "~config": TableViewConfig;
10877
+ component: typeof TableView;
10878
+ }>;
10879
+ };
10880
+ editViews: {
10881
+ form: EditViewBuilder<{
10882
+ name: "form";
10883
+ kind: "edit";
10884
+ "~config": FormViewConfig;
10885
+ component: typeof FormView;
10886
+ }>;
10887
+ };
10888
+ pages: {};
10889
+ widgets: {};
10890
+ collections: {};
10891
+ globals: {};
10892
+ dashboard: {
10893
+ layout: "grid";
10894
+ widgets: [];
10895
+ };
10896
+ sidebar: {
10897
+ sections: [];
10898
+ };
10899
+ branding: {};
10900
+ defaultViews: {};
10901
+ translations: {};
10902
+ }, "pages", {
10903
+ dashboard: PageBuilder<questpie134.SetProperty<{
10904
+ name: "dashboard";
10905
+ component: () => Promise<typeof dashboard_page_d_exports>;
10906
+ path: undefined;
10907
+ }, "path", string>>;
10908
+ login: PageBuilder<questpie134.SetProperty<{
10909
+ name: "login";
10910
+ component: () => Promise<typeof login_page_d_exports>;
10911
+ path: undefined;
10912
+ }, "path", string>>;
10913
+ setup: PageBuilder<questpie134.SetProperty<{
10914
+ name: "setup";
10915
+ component: () => Promise<typeof setup_page_d_exports>;
10916
+ path: undefined;
10917
+ }, "path", string>>;
10918
+ forgotPassword: PageBuilder<questpie134.SetProperty<{
10919
+ name: "forgot-password";
10920
+ component: () => Promise<typeof forgot_password_page_d_exports>;
10921
+ path: undefined;
10922
+ }, "path", string>>;
10923
+ resetPassword: PageBuilder<questpie134.SetProperty<{
10924
+ name: "reset-password";
10925
+ component: () => Promise<typeof reset_password_page_d_exports>;
10926
+ path: undefined;
10927
+ }, "path", string>>;
10928
+ }>>;
10929
+ }, "fields", {
10930
+ preview: FieldDefinition<"assetPreview", AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10931
+ filename: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10932
+ mimeType: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10933
+ size: FieldDefinition<"number", NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10934
+ alt: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10935
+ caption: FieldDefinition<"textarea", TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10936
+ visibility: FieldDefinition<"select", SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10937
+ }>, "list", ListViewBuilder<{
10938
+ name: "table";
10939
+ kind: "list";
10940
+ "~config": TableViewConfig;
10941
+ component: typeof TableView;
10942
+ }>>, "form", EditViewBuilder<{
10943
+ name: "form";
10944
+ kind: "edit";
10945
+ "~config": FormViewConfig;
10946
+ component: typeof FormView;
10947
+ }>>>;
10948
+ }>, "sidebar", SidebarConfig<string>>>;
11132
10949
  /**
11133
10950
  * Type of admin module state
11134
10951
  */
@@ -12382,7 +12199,7 @@ declare function useGlobalUpdate<K$1 extends ResolvedGlobalNames>(globalName: K$
12382
12199
  * Note: This hook requires the adminModule to be used in your CMS setup.
12383
12200
  * If admin_saved_views collection is not available, returns empty array.
12384
12201
  */
12385
- declare function useSavedViews(collectionName: string): _tanstack_react_query5.UseQueryResult<{
12202
+ declare function useSavedViews(collectionName: string): _tanstack_react_query3.UseQueryResult<{
12386
12203
  docs: SavedView[];
12387
12204
  }, Error>;
12388
12205
  //#endregion
@@ -12418,7 +12235,7 @@ interface SetupStatus {
12418
12235
  * }
12419
12236
  * ```
12420
12237
  */
12421
- declare function useSetupStatus(): _tanstack_react_query5.UseQueryResult<SetupStatus, Error>;
12238
+ declare function useSetupStatus(): _tanstack_react_query3.UseQueryResult<SetupStatus, Error>;
12422
12239
  //#endregion
12423
12240
  //#region src/client/hooks/use-media-query.d.ts
12424
12241
  /**
@@ -12539,7 +12356,7 @@ declare function RichTextRenderer({
12539
12356
  content,
12540
12357
  styles: customStyles,
12541
12358
  className
12542
- }: RichTextRendererProps): react_jsx_runtime11.JSX.Element | null;
12359
+ }: RichTextRendererProps): react_jsx_runtime10.JSX.Element | null;
12543
12360
  //#endregion
12544
12361
  //#region src/client/views/dashboard/dashboard-grid.d.ts
12545
12362
  interface DashboardGridProps {
@@ -12779,7 +12596,7 @@ declare function AdminTopbar({
12779
12596
  theme,
12780
12597
  setTheme,
12781
12598
  showThemeToggle
12782
- }: AdminTopbarProps): react_jsx_runtime11.JSX.Element;
12599
+ }: AdminTopbarProps): react_jsx_runtime10.JSX.Element;
12783
12600
  //#endregion
12784
12601
  //#region src/client/utils/locale-to-flag.d.ts
12785
12602
  /**
@@ -12929,7 +12746,7 @@ declare function BlockRenderer({
12929
12746
  selectedBlockId,
12930
12747
  onBlockClick,
12931
12748
  className
12932
- }: BlockRendererProps): react_jsx_runtime11.JSX.Element | null;
12749
+ }: BlockRendererProps): react_jsx_runtime10.JSX.Element | null;
12933
12750
  //#endregion
12934
12751
  //#region src/client/blocks/prefetch.d.ts
12935
12752
  /**
@@ -13082,7 +12899,7 @@ declare function PreviewToggleButton({
13082
12899
  isPreviewVisible,
13083
12900
  onToggle,
13084
12901
  className
13085
- }: PreviewToggleButtonProps): react_jsx_runtime11.JSX.Element;
12902
+ }: PreviewToggleButtonProps): react_jsx_runtime10.JSX.Element;
13086
12903
  //#endregion
13087
12904
  //#region src/client/preview/preview-field.d.ts
13088
12905
  type PreviewFieldProps = {
@@ -13127,7 +12944,7 @@ declare function PreviewProvider({
13127
12944
  fieldType?: "regular" | "block" | "relation";
13128
12945
  }) => void;
13129
12946
  children: React$2.ReactNode;
13130
- }): react_jsx_runtime11.JSX.Element;
12947
+ }): react_jsx_runtime10.JSX.Element;
13131
12948
  /**
13132
12949
  * Hook to access preview context.
13133
12950
  */
@@ -13163,7 +12980,7 @@ declare function PreviewField({
13163
12980
  as: Component,
13164
12981
  className,
13165
12982
  onClick
13166
- }: PreviewFieldProps): react_jsx_runtime11.JSX.Element;
12983
+ }: PreviewFieldProps): react_jsx_runtime10.JSX.Element;
13167
12984
  /**
13168
12985
  * Standalone PreviewField that works without context.
13169
12986
  * Useful when you can't use PreviewProvider.
@@ -13184,7 +13001,7 @@ declare function StandalonePreviewField({
13184
13001
  blockId?: string;
13185
13002
  fieldType?: "regular" | "block" | "relation";
13186
13003
  }) => void;
13187
- }): react_jsx_runtime11.JSX.Element;
13004
+ }): react_jsx_runtime10.JSX.Element;
13188
13005
  //#endregion
13189
13006
  //#region src/client/preview/preview-banner.d.ts
13190
13007
  /**
@@ -13225,7 +13042,7 @@ declare function PreviewBanner({
13225
13042
  isPreviewMode,
13226
13043
  className,
13227
13044
  exitPreviewUrl
13228
- }: PreviewBannerProps): react_jsx_runtime11.JSX.Element | null;
13045
+ }: PreviewBannerProps): react_jsx_runtime10.JSX.Element | null;
13229
13046
  //#endregion
13230
13047
  //#region src/client/preview/block-scope-context.d.ts
13231
13048
  type BlockScopeContextValue = {
@@ -13260,7 +13077,7 @@ declare function BlockScopeProvider({
13260
13077
  blockId,
13261
13078
  basePath,
13262
13079
  children
13263
- }: BlockScopeProviderProps): react_jsx_runtime11.JSX.Element;
13080
+ }: BlockScopeProviderProps): react_jsx_runtime10.JSX.Element;
13264
13081
  /**
13265
13082
  * Get current block scope context.
13266
13083
  *
@@ -13523,7 +13340,7 @@ type FocusProviderProps = {
13523
13340
  declare function FocusProvider({
13524
13341
  children,
13525
13342
  onFocusChange
13526
- }: FocusProviderProps): react_jsx_runtime11.JSX.Element;
13343
+ }: FocusProviderProps): react_jsx_runtime10.JSX.Element;
13527
13344
  /**
13528
13345
  * Use the focus context
13529
13346
  */
@@ -13582,4 +13399,4 @@ type CollectionFieldKeys<TApp extends Questpie<any>, TCollectionName extends str
13582
13399
  } ? keyof TSelect : never : never : never;
13583
13400
  //#endregion
13584
13401
  export { BlockRenderer as $, LoginForm as $n, BlockDefinition as $r, SectionBuilderState as $t, BlockScopeContextValue as A, BaseFieldProps$1 as Ai, selectAuthClient as An, DashboardWidgetConfig as Ar, useShallow as At, StandalonePreviewField as B, AdminLayout as Bn, PageBuilder as Br, global$1 as Bt, PreviewReadyMessage as C, RelationFieldConfig$1 as Ci, AdminRouter as Cn, SidebarLinkItem as Cr, useCollectionItem as Ct, SelectBlockMessage as D, TabConfig as Di, AdminState as Dn, BaseWidgetConfig as Dr, useAuthClient as Dt, RefreshCompleteMessage as E, SelectOption$1 as Ei, AdminProviderProps as En, AnyWidgetConfig as Er, createAdminAuthClient as Et, PreviewBanner as F, selectNavigate as Fn, StatsWidgetConfig as Fr, CoreAdminModule as Ft, PreviewToggleButton as G, FormView as Gn, GlobalConfig as Gr, AdminTypeRegistry as Gt, PreviewPane as H, TableView as Hn, PageDefinition as Hr, Admin as Ht, PreviewBannerProps as I, selectNavigation as In, WidgetAction as Ir, coreAdminModule as It, BlockPrefetchError as J, SetupForm as Jn, CollectionConfig as Jr, RegisteredCMS as Jt, PreviewToggleButtonProps as K, FormViewProps as Kn, AutoSaveConfig as Kr, IsRegistered as Kt, PreviewField as L, selectSetContentLocale as Ln, WidgetComponentProps as Lr, qa as Lt, BlockScopeProviderProps as M, MaybeLazyComponent as Mi, selectBrandName as Mn, KnownWidgetType as Mr, adminMessagesEN as Mt, useBlockScope as N, I18nContext as Ni, selectClient as Nn, QuickActionsWidgetConfig as Nr, AdminModule as Nt, isAdminToPreviewMessage as O, TabsLayout as Oi, AdminStore as On, ChartWidgetConfig as Or, TypedHooks as Ot, useResolveFieldPath as P, I18nText as Pi, selectContentLocale as Pn, RecentItemsWidgetConfig as Pr, adminModule as Pt, prefetchBlockData as Q, ForgotPasswordForm as Qn, BlockBuilderState as Qr, SectionBuilder as Qt, PreviewFieldProps as R, useAdminStore as Rn, WidgetConfig as Rr, AdminHelpers as Rt, PreviewConfig as S, LayoutMode$1 as Si, DashboardPage as Sn, SidebarItem as Sr, useCollectionDelete as St, PreviewToAdminMessage as T, SectionLayout as Ti, AdminProvider as Tn, SidebarSection as Tr, useCollectionUpdate as Tt, PreviewPaneProps as U, TableViewConfig as Un, page as Ur, AppAdmin as Ut, usePreviewContext as V, AdminSidebar as Vn, PageBuilderState as Vr, collection$1 as Vt, PreviewPaneRef as W, TableViewProps as Wn, GlobalBuilderState as Wr, InferAdminCMS as Wt, BlockPrefetchResult as X, AcceptInviteForm as Xn, ColumnConfigObject as Xr, RegisteredGlobalNames as Xt, BlockPrefetchParams as Y, SetupFormValues as Yn, ColumnConfig as Yr, RegisteredCollectionNames as Yt, TypedBlockPrefetch as Z, ResetPasswordForm as Zn, ListViewConfig as Zr, AdminBuilder as Zt, useCollectionPreview as _, FieldComponentProps as _i, AcceptInvitePage as _n, LocaleConfig as _r, useSavedViews as _t, FocusContextValue as a, BlockRendererProps$1 as ai, TypedSidebarItem as an, widget as ar, AdminTopbar as at, FieldClickedMessage as b, FormSidebarConfig as bi, ForgotPasswordPage as bn, SidebarDividerItem as br, useCurrentUser as bt, FocusState as c, isBlockContent as ci, GlobalBuilder as cn, EditViewDefinition as cr, DashboardGrid as ct, useFocus as d, FieldDefinition as di, block as dn, ListViewDefinition as dr, TipTapDoc as dt, InferBlockValues as ei, SidebarBuilder as en, AuthLayout as er, BlockRendererProps as et, useFocusOptional as f, field$1 as fi, AuthLoading as fn, editView as fr, TipTapNode as ft, UseCollectionPreviewResult as g, EmbeddedFieldConfig$1 as gi, SetupPageProps as gn, DashboardConfig as gr, useSetupStatus as gt, UseCollectionPreviewOptions as h, EmbeddedCollectionProps as hi, SetupPage as hn, BrandingConfig as hr, useMediaQuery as ht, GlobalNames as i, BlockPrefetch as ii, TypedSidebarGlobalItem as in, WidgetDefinition as ir, getFlagUrl as it, BlockScopeProvider as j, IconComponent as ji, selectBasePath as jn, GenericWidgetConfig as jr, adminMessagesSK as jt, isPreviewToAdminMessage as k, WrapperMode as ki, selectAdmin as kn, CustomWidgetConfig as kr, createTypedHooks as kt, parsePreviewFieldPath as l, FieldBuilder as li, CollectionBuilder as ln, ListViewBuilder as lr, RichTextRenderer as lt, useIsFieldFocused as m, ComponentRegistry as mi, AdminLink as mn, DefaultViewsConfig as mr, useIsMobile as mt, CollectionItem as n, BlockContent as ni, SidebarItemForApp as nn, WidgetBuilder as nr, getCountryCode as nt, FocusProvider as o, EMPTY_BLOCK_CONTENT as oi, section as on, EditViewBuilder as or, GlobalForm as ot, useIsBlockFocused as p, ArrayFieldConfig$1 as pi, AuthGuard as pn, listView as pr, useIsDesktop as pt, BlockPrefetchContext as q, FormViewRegistryConfig as qn, CollectionBuilderState as qr, RegisteredAdmin as qt, CollectionNames as r, BlockNode as ri, TypedSidebarCollectionItem as rn, WidgetBuilderState as rr, getFlagConfig as rt, FocusProviderProps as s, createBlockNode as si, sidebar$1 as sn, EditViewBuilderState as sr, DashboardWidget as st, CollectionFieldKeys as t, BlockCategory as ti, SidebarBuilderState as tn, AdminBuilderState as tr, FlagConfig as tt, scrollFieldIntoView as u, FieldBuilderState as ui, BlockBuilder as un, ListViewBuilderState as ur, RichTextStyles as ut, AdminToPreviewMessage as v, FieldLayoutItem as vi, InvitePage as vn, SidebarCollectionItem as vr, useGlobal as vt, PreviewRefreshMessage as w, RichTextConfig as wi, AdminRouterProps as wn, SidebarPageItem as wr, useCollectionList as wt, FocusFieldMessage as x, FormViewConfig as xi, LoginPage as xn, SidebarGlobalItem as xr, useCollectionCreate as xt, BlockClickedMessage as y, FieldUIConfig as yi, ResetPasswordPage as yn, SidebarConfig as yr, useGlobalUpdate as yt, PreviewProvider as z, AdminLayoutProvider as zn, WidgetDataSource as zr, createAdminHelpers as zt };
13585
- //# sourceMappingURL=client-COb2f2pl.d.mts.map
13402
+ //# sourceMappingURL=client-DCKQuHYi.d.mts.map