@questpie/admin 1.0.2 → 1.0.3

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,6 +1,7 @@
1
- import { t as adminModule$1 } from "./index-B9Xwk4hi.mjs";
1
+ import { t as adminModule$1 } from "./index-CV4ppE7U.mjs";
2
2
  import { i as ViewConfiguration } from "./saved-views.types-BMsz5mCy.mjs";
3
3
  import * as questpie_shared0 from "questpie/shared";
4
+ import { 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";
@@ -12,7 +13,7 @@ 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 questpie163 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
@@ -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<questpie163.Questpie<{
4750
+ locale: questpie163.LocaleConfig | undefined;
4762
4751
  email: {
4763
- templates: questpie102.TypeMerge<questpie102.UnsetProperty<{}, keyof TOtherEmailTemplates>, {}>;
4764
- adapter: questpie102.MailAdapter;
4752
+ templates: questpie163.TypeMerge<questpie163.UnsetProperty<{}, keyof TOtherEmailTemplates>, {}>;
4753
+ adapter: questpie163.MailAdapter;
4765
4754
  };
4766
- search: questpie102.SearchAdapter | undefined;
4755
+ search: questpie163.SearchAdapter | undefined;
4767
4756
  collections: {
4768
- user: questpie102.CollectionBuilder<{
4757
+ user: questpie163.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, questpie163.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: questpie163.CollectionHooks<any, any, any, any>;
4778
+ access: questpie163.CollectionAccess<any, any>;
4790
4779
  functions: {
4791
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4780
+ [x: string]: questpie163.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: questpie163.CollectionBuilder<{
4788
+ options: questpie163.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, questpie163.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: questpie163.CollectionHooks<any, any, any, any>;
4804
+ access: questpie163.CollectionAccess<any, any>;
4816
4805
  functions: {
4817
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4806
+ [x: string]: questpie163.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: questpie163.CollectionBuilder<{
4814
+ options: questpie163.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, questpie163.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: questpie163.CollectionHooks<any, any, any, any>;
4834
+ access: questpie163.CollectionAccess<any, any>;
4846
4835
  functions: {
4847
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4836
+ [x: string]: questpie163.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: questpie163.CollectionBuilder<{
4844
+ options: questpie163.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, questpie163.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: questpie163.CollectionHooks<any, any, any, any>;
4857
+ access: questpie163.CollectionAccess<any, any>;
4869
4858
  functions: {
4870
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4859
+ [x: string]: questpie163.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: questpie163.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, questpie163.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
+ }: questpie163.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: questpie163.CollectionAccess<any, any>;
4921
4910
  functions: {
4922
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4911
+ [x: string]: questpie163.FunctionDefinition<any, any, any>;
4923
4912
  };
4924
4913
  searchable: undefined;
4925
4914
  validation: undefined;
4926
- output: questpie102.TypeMerge<{}, {
4915
+ output: questpie163.TypeMerge<{}, {
4927
4916
  url: string;
4928
4917
  }>;
4929
- upload: questpie102.UploadOptions;
4918
+ upload: questpie163.UploadOptions;
4930
4919
  }>;
4931
- apikey: questpie102.CollectionBuilder<{
4920
+ apikey: questpie163.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, questpie163.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: questpie163.CollectionHooks<any, any, any, any>;
4951
+ access: questpie163.CollectionAccess<any, any>;
4963
4952
  functions: {
4964
- [x: string]: questpie102.FunctionDefinition<any, any, any>;
4953
+ [x: string]: questpie163.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: questpie163.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]: questpie163.FunctionDefinition<any, any, any>;
4989
4978
  };
4990
- hooks: questpie102.CollectionHooks<any, any, any, any>;
4979
+ hooks: questpie163.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, questpie163.RelationConfig>;
4984
+ access: questpie163.CollectionAccess<any, any>;
4996
4985
  validation: undefined;
4997
4986
  }>;
4998
- admin_preferences: questpie102.CollectionBuilder<{
4987
+ admin_preferences: questpie163.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]: questpie163.FunctionDefinition<any, any, any>;
5014
5003
  };
5015
- hooks: questpie102.CollectionHooks<any, any, any, any>;
5004
+ hooks: questpie163.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, questpie163.RelationConfig>;
5009
+ access: questpie163.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: questpie163.TypeMerge<questpie163.UnsetProperty<{}, keyof TOtherGlobals>, {}>;
5014
+ translations: questpie163.TranslationsConfig | undefined;
5026
5015
  "~messageKeys": unknown;
5027
- auth: questpie102.MergeAuthOptions<{}, questpie102.MergeAuthOptions<{}, {
5016
+ auth: questpie163.MergeAuthOptions<{}, questpie163.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: questpie163.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: questpie163.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: questpie163.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: questpie163.JsonFunctionDefinition<Record<string, never>, {
6902
6891
  required: boolean;
6903
6892
  }, any>;
6904
- createFirstAdmin: questpie102.JsonFunctionDefinition<{
6893
+ createFirstAdmin: questpie163.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: questpie163.StorageConfig | undefined;
6920
6909
  queue: {
6921
- jobs: questpie102.TypeMerge<questpie102.UnsetProperty<{}, keyof TOtherJobs>, {}>;
6922
- adapter: questpie102.QueueAdapter;
6910
+ jobs: questpie163.TypeMerge<questpie163.UnsetProperty<{}, keyof TOtherJobs>, {}>;
6911
+ adapter: questpie163.QueueAdapter;
6923
6912
  };
6924
- searchConfig: questpie102.SearchConfig | undefined;
6925
- realtime: questpie102.RealtimeConfig | undefined;
6913
+ searchConfig: questpie163.SearchConfig | undefined;
6914
+ realtime: questpie163.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?: questpie163.Migration[];
6931
6920
  } | undefined;
6932
6921
  }>>;
6933
6922
  /** Select auth client instance */
@@ -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", 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<TypeMerge<UnsetProperty<TState$1, "listViews" | "editViews">, {
9150
+ listViews: TypeMerge<TState$1["listViews"], FilterListViews<TNewViews>>;
9151
+ editViews: 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", 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", 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", 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", 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", 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<TypeMerge<UnsetProperty<TState$1, "fields" | "listViews" | "editViews" | "widgets" | "pages" | "blocks" | "collections" | "globals" | "sidebar" | "translations">, {
9236
+ fields: TypeMerge<TState$1["fields"], TOther["state"]["fields"]>;
9237
+ listViews: TypeMerge<TState$1["listViews"], TOther["state"]["listViews"]>;
9238
+ editViews: TypeMerge<TState$1["editViews"], TOther["state"]["editViews"]>;
9239
+ widgets: TypeMerge<TState$1["widgets"], TOther["state"]["widgets"]>;
9240
+ pages: TypeMerge<TState$1["pages"], TOther["state"]["pages"]>;
9241
+ blocks: TypeMerge<TState$1["blocks"], TOther["state"]["blocks"]>;
9242
+ collections: TypeMerge<TState$1["collections"], TOther["state"]["collections"]>;
9243
+ globals: 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: 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", 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", 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", TypeMerge<TState$1["defaultViews"], TDefaultViews>>>;
9379
9328
  /**
9380
9329
  * Create a collection builder bound to this admin
9381
9330
  *
@@ -9880,7 +9829,7 @@ 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<{
9832
+ declare const coreAdminModule: AdminBuilder<questpie163.SetProperty<questpie163.TypeMerge<questpie163.UnsetProperty<questpie163.SetProperty<{
9884
9833
  "~app": any;
9885
9834
  fields: {};
9886
9835
  listViews: {};
@@ -9904,202 +9853,200 @@ declare const coreAdminModule: AdminBuilder<Omit<Omit<Omit<{
9904
9853
  };
9905
9854
  defaultViews: {};
9906
9855
  translations: {};
9907
- }, "fields"> & {
9908
- 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<{
9917
- name: "number";
9918
- "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9919
- component: typeof NumberField;
9920
- cellComponent: typeof NumberCell;
9921
- createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9922
- }>;
9923
- readonly email: FieldBuilder<{
9924
- name: "email";
9925
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9926
- component: typeof EmailField;
9927
- cellComponent: typeof EmailCell;
9928
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9929
- }>;
9930
- readonly password: FieldBuilder<{
9931
- name: "password";
9932
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9933
- component: typeof PasswordField;
9934
- cellComponent: typeof TextCell;
9935
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9936
- }>;
9937
- readonly textarea: FieldBuilder<{
9938
- name: "textarea";
9939
- "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9940
- component: typeof TextareaField;
9941
- cellComponent: typeof TextCell;
9942
- createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9943
- }>;
9944
- readonly checkbox: FieldBuilder<{
9945
- name: "checkbox";
9946
- "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9947
- component: typeof CheckboxField;
9948
- cellComponent: typeof BooleanCell;
9949
- createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9950
- }>;
9951
- readonly switch: FieldBuilder<{
9952
- name: "switch";
9953
- "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9954
- component: typeof SwitchField;
9955
- cellComponent: typeof BooleanCell;
9956
- createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9957
- }>;
9958
- readonly select: FieldBuilder<{
9959
- name: "select";
9960
- "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9961
- component: typeof SelectField;
9962
- cellComponent: typeof SelectCell;
9963
- createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9964
- }>;
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<{
9973
- name: "datetime";
9974
- "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9975
- component: typeof DatetimeField;
9976
- cellComponent: typeof DateTimeCell;
9977
- createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9978
- }>;
9979
- readonly time: FieldBuilder<{
9980
- name: "time";
9981
- "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9982
- component: typeof TimeField;
9983
- cellComponent: typeof TimeCell;
9984
- createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9985
- }>;
9986
- readonly relation: FieldBuilder<{
9987
- name: "relation";
9988
- "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9989
- component: typeof RelationField;
9990
- cellComponent: typeof RelationCell;
9991
- createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9992
- }>;
9993
- readonly reverseRelation: FieldBuilder<{
9994
- name: "reverseRelation";
9995
- "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9996
- component: typeof ReverseRelationField;
9997
- cellComponent: typeof ReverseRelationCell;
9998
- createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9999
- }>;
10000
- readonly json: FieldBuilder<{
10001
- name: "json";
10002
- "~options": Omit<BaseFieldProps & {
9856
+ }, "fields", questpie163.TypeMerge<{}, {
9857
+ readonly text: FieldBuilder<{
9858
+ name: "text";
9859
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9860
+ component: typeof TextField;
9861
+ cellComponent: typeof TextCell;
9862
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9863
+ }>;
9864
+ readonly number: FieldBuilder<{
9865
+ name: "number";
9866
+ "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9867
+ component: typeof NumberField;
9868
+ cellComponent: typeof NumberCell;
9869
+ createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9870
+ }>;
9871
+ readonly email: FieldBuilder<{
9872
+ name: "email";
9873
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9874
+ component: typeof EmailField;
9875
+ cellComponent: typeof EmailCell;
9876
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9877
+ }>;
9878
+ readonly password: FieldBuilder<{
9879
+ name: "password";
9880
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9881
+ component: typeof PasswordField;
9882
+ cellComponent: typeof TextCell;
9883
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9884
+ }>;
9885
+ readonly textarea: FieldBuilder<{
9886
+ name: "textarea";
9887
+ "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9888
+ component: typeof TextareaField;
9889
+ cellComponent: typeof TextCell;
9890
+ createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9891
+ }>;
9892
+ readonly checkbox: FieldBuilder<{
9893
+ name: "checkbox";
9894
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9895
+ component: typeof CheckboxField;
9896
+ cellComponent: typeof BooleanCell;
9897
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9898
+ }>;
9899
+ readonly switch: FieldBuilder<{
9900
+ name: "switch";
9901
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9902
+ component: typeof SwitchField;
9903
+ cellComponent: typeof BooleanCell;
9904
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9905
+ }>;
9906
+ readonly select: FieldBuilder<{
9907
+ name: "select";
9908
+ "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9909
+ component: typeof SelectField;
9910
+ cellComponent: typeof SelectCell;
9911
+ createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9912
+ }>;
9913
+ readonly date: FieldBuilder<{
9914
+ name: "date";
9915
+ "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9916
+ component: typeof DateField;
9917
+ cellComponent: typeof DateCell;
9918
+ createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9919
+ }>;
9920
+ readonly datetime: FieldBuilder<{
9921
+ name: "datetime";
9922
+ "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9923
+ component: typeof DatetimeField;
9924
+ cellComponent: typeof DateTimeCell;
9925
+ createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9926
+ }>;
9927
+ readonly time: FieldBuilder<{
9928
+ name: "time";
9929
+ "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9930
+ component: typeof TimeField;
9931
+ cellComponent: typeof TimeCell;
9932
+ createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9933
+ }>;
9934
+ readonly relation: FieldBuilder<{
9935
+ name: "relation";
9936
+ "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9937
+ component: typeof RelationField;
9938
+ cellComponent: typeof RelationCell;
9939
+ createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9940
+ }>;
9941
+ readonly reverseRelation: FieldBuilder<{
9942
+ name: "reverseRelation";
9943
+ "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9944
+ component: typeof ReverseRelationField;
9945
+ cellComponent: typeof ReverseRelationCell;
9946
+ createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9947
+ }>;
9948
+ readonly json: FieldBuilder<{
9949
+ name: "json";
9950
+ "~options": Omit<BaseFieldProps & {
9951
+ readOnly?: boolean;
9952
+ defaultMode?: JsonFieldMode;
9953
+ allowModeSwitch?: boolean;
9954
+ minHeight?: number;
9955
+ maxHeight?: number;
9956
+ renderForm?: (props: {
9957
+ value: any;
9958
+ onChange: (value: any) => void;
9959
+ disabled?: boolean;
10003
9960
  readOnly?: boolean;
10004
- defaultMode?: JsonFieldMode;
10005
- allowModeSwitch?: boolean;
10006
- minHeight?: number;
10007
- maxHeight?: number;
10008
- renderForm?: (props: {
10009
- value: any;
10010
- onChange: (value: any) => void;
10011
- disabled?: boolean;
10012
- readOnly?: boolean;
10013
- }) => React.ReactNode;
10014
- }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10015
- component: typeof JsonField;
10016
- cellComponent: typeof JsonCell;
10017
- createZod: CreateZodFn<Omit<BaseFieldProps & {
9961
+ }) => React.ReactNode;
9962
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9963
+ component: typeof JsonField;
9964
+ cellComponent: typeof JsonCell;
9965
+ createZod: CreateZodFn<Omit<BaseFieldProps & {
9966
+ readOnly?: boolean;
9967
+ defaultMode?: JsonFieldMode;
9968
+ allowModeSwitch?: boolean;
9969
+ minHeight?: number;
9970
+ maxHeight?: number;
9971
+ renderForm?: (props: {
9972
+ value: any;
9973
+ onChange: (value: any) => void;
9974
+ disabled?: boolean;
10018
9975
  readOnly?: boolean;
10019
- defaultMode?: JsonFieldMode;
10020
- allowModeSwitch?: boolean;
10021
- minHeight?: number;
10022
- maxHeight?: number;
10023
- renderForm?: (props: {
10024
- value: any;
10025
- onChange: (value: any) => void;
10026
- disabled?: boolean;
10027
- readOnly?: boolean;
10028
- }) => React.ReactNode;
10029
- }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10030
- }>;
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<{
10046
- name: "upload";
10047
- "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10048
- component: typeof UploadField;
10049
- cellComponent: typeof UploadCell;
10050
- createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10051
- }>;
10052
- readonly uploadMany: FieldBuilder<{
10053
- name: "uploadMany";
10054
- "~options": UploadFieldConfig & {
10055
- maxItems?: number;
10056
- orderable?: boolean;
10057
- layout?: "grid" | "list";
10058
- } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10059
- component: typeof UploadManyField;
10060
- cellComponent: typeof UploadManyCell;
10061
- createZod: CreateZodFn<UploadFieldConfig & {
10062
- maxItems?: number;
10063
- orderable?: boolean;
10064
- layout?: "grid" | "list";
10065
- } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10066
- }>;
10067
- readonly assetPreview: FieldBuilder<{
10068
- name: "assetPreview";
10069
- "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10070
- component: typeof AssetPreviewField;
10071
- cellComponent: ({
10072
- row
10073
- }: {
10074
- value: unknown;
10075
- row?: any;
10076
- }) => react_jsx_runtime11.JSX.Element;
10077
- createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10078
- }>;
10079
- readonly richText: FieldBuilder<{
10080
- name: "richText";
10081
- "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10082
- component: typeof RichTextField;
10083
- cellComponent: typeof RichTextCell;
10084
- createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10085
- }>;
10086
- readonly embedded: FieldBuilder<{
10087
- name: "embedded";
10088
- "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10089
- component: typeof EmbeddedCollectionField;
10090
- cellComponent: typeof JsonCell;
10091
- createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10092
- }>;
10093
- readonly blocks: FieldBuilder<{
10094
- name: "blocks";
10095
- "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10096
- component: typeof BlocksField;
10097
- cellComponent: typeof BlocksCell;
10098
- createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10099
- }>;
10100
- };
10101
- }, "listViews" | "editViews"> & {
10102
- listViews: FilterListViews<{
9976
+ }) => React.ReactNode;
9977
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9978
+ }>;
9979
+ readonly object: FieldBuilder<{
9980
+ name: "object";
9981
+ "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9982
+ component: typeof ObjectField;
9983
+ cellComponent: typeof ObjectCell;
9984
+ createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9985
+ }>;
9986
+ readonly array: FieldBuilder<{
9987
+ name: "array";
9988
+ "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9989
+ component: typeof ArrayField;
9990
+ cellComponent: typeof JsonCell;
9991
+ createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9992
+ }>;
9993
+ readonly upload: FieldBuilder<{
9994
+ name: "upload";
9995
+ "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
9996
+ component: typeof UploadField;
9997
+ cellComponent: typeof UploadCell;
9998
+ createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
9999
+ }>;
10000
+ readonly uploadMany: FieldBuilder<{
10001
+ name: "uploadMany";
10002
+ "~options": UploadFieldConfig & {
10003
+ maxItems?: number;
10004
+ orderable?: boolean;
10005
+ layout?: "grid" | "list";
10006
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10007
+ component: typeof UploadManyField;
10008
+ cellComponent: typeof UploadManyCell;
10009
+ createZod: CreateZodFn<UploadFieldConfig & {
10010
+ maxItems?: number;
10011
+ orderable?: boolean;
10012
+ layout?: "grid" | "list";
10013
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10014
+ }>;
10015
+ readonly assetPreview: FieldBuilder<{
10016
+ name: "assetPreview";
10017
+ "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10018
+ component: typeof AssetPreviewField;
10019
+ cellComponent: ({
10020
+ row
10021
+ }: {
10022
+ value: unknown;
10023
+ row?: any;
10024
+ }) => react_jsx_runtime11.JSX.Element;
10025
+ createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10026
+ }>;
10027
+ readonly richText: FieldBuilder<{
10028
+ name: "richText";
10029
+ "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10030
+ component: typeof RichTextField;
10031
+ cellComponent: typeof RichTextCell;
10032
+ createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10033
+ }>;
10034
+ readonly embedded: FieldBuilder<{
10035
+ name: "embedded";
10036
+ "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10037
+ component: typeof EmbeddedCollectionField;
10038
+ cellComponent: typeof JsonCell;
10039
+ createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10040
+ }>;
10041
+ readonly blocks: FieldBuilder<{
10042
+ name: "blocks";
10043
+ "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10044
+ component: typeof BlocksField;
10045
+ cellComponent: typeof BlocksCell;
10046
+ createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10047
+ }>;
10048
+ }>>, "listViews" | "editViews">, {
10049
+ listViews: questpie163.TypeMerge<{}, FilterListViews<{
10103
10050
  readonly table: ListViewBuilder<{
10104
10051
  name: "table";
10105
10052
  kind: "list";
@@ -10112,8 +10059,8 @@ declare const coreAdminModule: AdminBuilder<Omit<Omit<Omit<{
10112
10059
  "~config": FormViewConfig;
10113
10060
  component: typeof FormView;
10114
10061
  }>;
10115
- }>;
10116
- editViews: FilterEditViews<{
10062
+ }>>;
10063
+ editViews: questpie163.TypeMerge<{}, FilterEditViews<{
10117
10064
  readonly table: ListViewBuilder<{
10118
10065
  name: "table";
10119
10066
  kind: "list";
@@ -10126,46 +10073,34 @@ declare const coreAdminModule: AdminBuilder<Omit<Omit<Omit<{
10126
10073
  "~config": FormViewConfig;
10127
10074
  component: typeof FormView;
10128
10075
  }>;
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
- };
10168
- }>;
10076
+ }>>;
10077
+ }>, "pages", questpie163.TypeMerge<{}, {
10078
+ readonly login: PageBuilder<questpie163.SetProperty<{
10079
+ name: "login";
10080
+ component: () => Promise<typeof login_page_d_exports>;
10081
+ path: undefined;
10082
+ }, "path", string>>;
10083
+ readonly forgotPassword: PageBuilder<questpie163.SetProperty<{
10084
+ name: "forgot-password";
10085
+ component: () => Promise<typeof forgot_password_page_d_exports>;
10086
+ path: undefined;
10087
+ }, "path", string>>;
10088
+ readonly resetPassword: PageBuilder<questpie163.SetProperty<{
10089
+ name: "reset-password";
10090
+ component: () => Promise<typeof reset_password_page_d_exports>;
10091
+ path: undefined;
10092
+ }, "path", string>>;
10093
+ readonly setup: PageBuilder<questpie163.SetProperty<{
10094
+ name: "setup";
10095
+ component: () => Promise<typeof setup_page_d_exports>;
10096
+ path: undefined;
10097
+ }, "path", string>>;
10098
+ readonly dashboard: PageBuilder<questpie163.SetProperty<{
10099
+ name: "dashboard";
10100
+ component: () => Promise<typeof dashboard_page_d_exports>;
10101
+ path: undefined;
10102
+ }, "path", string>>;
10103
+ }>>>;
10169
10104
  /**
10170
10105
  * Type of core admin module state
10171
10106
  */
@@ -10213,7 +10148,7 @@ type CoreAdminModule = typeof coreAdminModule;
10213
10148
  * });
10214
10149
  * ```
10215
10150
  */
10216
- declare const adminModule: AdminBuilder<Omit<Omit<Omit<Omit<Omit<{
10151
+ declare const adminModule: AdminBuilder<questpie163.SetProperty<questpie163.SetProperty<questpie163.SetProperty<questpie163.TypeMerge<questpie163.UnsetProperty<questpie163.SetProperty<{
10217
10152
  "~app": any;
10218
10153
  fields: {};
10219
10154
  listViews: {};
@@ -10237,202 +10172,200 @@ declare const adminModule: AdminBuilder<Omit<Omit<Omit<Omit<Omit<{
10237
10172
  };
10238
10173
  defaultViews: {};
10239
10174
  translations: {};
10240
- }, "fields"> & {
10241
- 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<{
10250
- name: "number";
10251
- "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10252
- component: typeof NumberField;
10253
- cellComponent: typeof NumberCell;
10254
- createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10255
- }>;
10256
- readonly email: FieldBuilder<{
10257
- name: "email";
10258
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10259
- component: typeof EmailField;
10260
- cellComponent: typeof EmailCell;
10261
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10262
- }>;
10263
- readonly password: FieldBuilder<{
10264
- name: "password";
10265
- "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10266
- component: typeof PasswordField;
10267
- cellComponent: typeof TextCell;
10268
- createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10269
- }>;
10270
- readonly textarea: FieldBuilder<{
10271
- name: "textarea";
10272
- "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10273
- component: typeof TextareaField;
10274
- cellComponent: typeof TextCell;
10275
- createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10276
- }>;
10277
- readonly checkbox: FieldBuilder<{
10278
- name: "checkbox";
10279
- "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10280
- component: typeof CheckboxField;
10281
- cellComponent: typeof BooleanCell;
10282
- createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10283
- }>;
10284
- readonly switch: FieldBuilder<{
10285
- name: "switch";
10286
- "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10287
- component: typeof SwitchField;
10288
- cellComponent: typeof BooleanCell;
10289
- createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10290
- }>;
10291
- readonly select: FieldBuilder<{
10292
- name: "select";
10293
- "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10294
- component: typeof SelectField;
10295
- cellComponent: typeof SelectCell;
10296
- createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10297
- }>;
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<{
10306
- name: "datetime";
10307
- "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10308
- component: typeof DatetimeField;
10309
- cellComponent: typeof DateTimeCell;
10310
- createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10311
- }>;
10312
- readonly time: FieldBuilder<{
10313
- name: "time";
10314
- "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10315
- component: typeof TimeField;
10316
- cellComponent: typeof TimeCell;
10317
- createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10318
- }>;
10319
- readonly relation: FieldBuilder<{
10320
- name: "relation";
10321
- "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10322
- component: typeof RelationField;
10323
- cellComponent: typeof RelationCell;
10324
- createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10325
- }>;
10326
- readonly reverseRelation: FieldBuilder<{
10327
- name: "reverseRelation";
10328
- "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10329
- component: typeof ReverseRelationField;
10330
- cellComponent: typeof ReverseRelationCell;
10331
- createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10332
- }>;
10333
- readonly json: FieldBuilder<{
10334
- name: "json";
10335
- "~options": Omit<BaseFieldProps & {
10175
+ }, "fields", questpie163.TypeMerge<{}, {
10176
+ readonly text: FieldBuilder<{
10177
+ name: "text";
10178
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10179
+ component: typeof TextField;
10180
+ cellComponent: typeof TextCell;
10181
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10182
+ }>;
10183
+ readonly number: FieldBuilder<{
10184
+ name: "number";
10185
+ "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10186
+ component: typeof NumberField;
10187
+ cellComponent: typeof NumberCell;
10188
+ createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10189
+ }>;
10190
+ readonly email: FieldBuilder<{
10191
+ name: "email";
10192
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10193
+ component: typeof EmailField;
10194
+ cellComponent: typeof EmailCell;
10195
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10196
+ }>;
10197
+ readonly password: FieldBuilder<{
10198
+ name: "password";
10199
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10200
+ component: typeof PasswordField;
10201
+ cellComponent: typeof TextCell;
10202
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10203
+ }>;
10204
+ readonly textarea: FieldBuilder<{
10205
+ name: "textarea";
10206
+ "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10207
+ component: typeof TextareaField;
10208
+ cellComponent: typeof TextCell;
10209
+ createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10210
+ }>;
10211
+ readonly checkbox: FieldBuilder<{
10212
+ name: "checkbox";
10213
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10214
+ component: typeof CheckboxField;
10215
+ cellComponent: typeof BooleanCell;
10216
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10217
+ }>;
10218
+ readonly switch: FieldBuilder<{
10219
+ name: "switch";
10220
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10221
+ component: typeof SwitchField;
10222
+ cellComponent: typeof BooleanCell;
10223
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10224
+ }>;
10225
+ readonly select: FieldBuilder<{
10226
+ name: "select";
10227
+ "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10228
+ component: typeof SelectField;
10229
+ cellComponent: typeof SelectCell;
10230
+ createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10231
+ }>;
10232
+ readonly date: FieldBuilder<{
10233
+ name: "date";
10234
+ "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10235
+ component: typeof DateField;
10236
+ cellComponent: typeof DateCell;
10237
+ createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10238
+ }>;
10239
+ readonly datetime: FieldBuilder<{
10240
+ name: "datetime";
10241
+ "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10242
+ component: typeof DatetimeField;
10243
+ cellComponent: typeof DateTimeCell;
10244
+ createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10245
+ }>;
10246
+ readonly time: FieldBuilder<{
10247
+ name: "time";
10248
+ "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10249
+ component: typeof TimeField;
10250
+ cellComponent: typeof TimeCell;
10251
+ createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10252
+ }>;
10253
+ readonly relation: FieldBuilder<{
10254
+ name: "relation";
10255
+ "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10256
+ component: typeof RelationField;
10257
+ cellComponent: typeof RelationCell;
10258
+ createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10259
+ }>;
10260
+ readonly reverseRelation: FieldBuilder<{
10261
+ name: "reverseRelation";
10262
+ "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10263
+ component: typeof ReverseRelationField;
10264
+ cellComponent: typeof ReverseRelationCell;
10265
+ createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10266
+ }>;
10267
+ readonly json: FieldBuilder<{
10268
+ name: "json";
10269
+ "~options": Omit<BaseFieldProps & {
10270
+ readOnly?: boolean;
10271
+ defaultMode?: JsonFieldMode;
10272
+ allowModeSwitch?: boolean;
10273
+ minHeight?: number;
10274
+ maxHeight?: number;
10275
+ renderForm?: (props: {
10276
+ value: any;
10277
+ onChange: (value: any) => void;
10278
+ disabled?: boolean;
10336
10279
  readOnly?: boolean;
10337
- defaultMode?: JsonFieldMode;
10338
- allowModeSwitch?: boolean;
10339
- minHeight?: number;
10340
- maxHeight?: number;
10341
- renderForm?: (props: {
10342
- value: any;
10343
- onChange: (value: any) => void;
10344
- disabled?: boolean;
10345
- readOnly?: boolean;
10346
- }) => React.ReactNode;
10347
- }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10348
- component: typeof JsonField;
10349
- cellComponent: typeof JsonCell;
10350
- createZod: CreateZodFn<Omit<BaseFieldProps & {
10280
+ }) => React.ReactNode;
10281
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10282
+ component: typeof JsonField;
10283
+ cellComponent: typeof JsonCell;
10284
+ createZod: CreateZodFn<Omit<BaseFieldProps & {
10285
+ readOnly?: boolean;
10286
+ defaultMode?: JsonFieldMode;
10287
+ allowModeSwitch?: boolean;
10288
+ minHeight?: number;
10289
+ maxHeight?: number;
10290
+ renderForm?: (props: {
10291
+ value: any;
10292
+ onChange: (value: any) => void;
10293
+ disabled?: boolean;
10351
10294
  readOnly?: boolean;
10352
- defaultMode?: JsonFieldMode;
10353
- allowModeSwitch?: boolean;
10354
- minHeight?: number;
10355
- maxHeight?: number;
10356
- renderForm?: (props: {
10357
- value: any;
10358
- onChange: (value: any) => void;
10359
- disabled?: boolean;
10360
- readOnly?: boolean;
10361
- }) => React.ReactNode;
10362
- }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10363
- }>;
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<{
10379
- name: "upload";
10380
- "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10381
- component: typeof UploadField;
10382
- cellComponent: typeof UploadCell;
10383
- createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10384
- }>;
10385
- readonly uploadMany: FieldBuilder<{
10386
- name: "uploadMany";
10387
- "~options": UploadFieldConfig & {
10388
- maxItems?: number;
10389
- orderable?: boolean;
10390
- layout?: "grid" | "list";
10391
- } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10392
- component: typeof UploadManyField;
10393
- cellComponent: typeof UploadManyCell;
10394
- createZod: CreateZodFn<UploadFieldConfig & {
10395
- maxItems?: number;
10396
- orderable?: boolean;
10397
- layout?: "grid" | "list";
10398
- } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10399
- }>;
10400
- readonly assetPreview: FieldBuilder<{
10401
- name: "assetPreview";
10402
- "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10403
- component: typeof AssetPreviewField;
10404
- cellComponent: ({
10405
- row
10406
- }: {
10407
- value: unknown;
10408
- row?: any;
10409
- }) => react_jsx_runtime11.JSX.Element;
10410
- createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10411
- }>;
10412
- readonly richText: FieldBuilder<{
10413
- name: "richText";
10414
- "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10415
- component: typeof RichTextField;
10416
- cellComponent: typeof RichTextCell;
10417
- createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10418
- }>;
10419
- readonly embedded: FieldBuilder<{
10420
- name: "embedded";
10421
- "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10422
- component: typeof EmbeddedCollectionField;
10423
- cellComponent: typeof JsonCell;
10424
- createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10425
- }>;
10426
- readonly blocks: FieldBuilder<{
10427
- name: "blocks";
10428
- "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10429
- component: typeof BlocksField;
10430
- cellComponent: typeof BlocksCell;
10431
- createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10432
- }>;
10433
- };
10434
- }, "listViews" | "editViews"> & {
10435
- listViews: FilterListViews<{
10295
+ }) => React.ReactNode;
10296
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10297
+ }>;
10298
+ readonly object: FieldBuilder<{
10299
+ name: "object";
10300
+ "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10301
+ component: typeof ObjectField;
10302
+ cellComponent: typeof ObjectCell;
10303
+ createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10304
+ }>;
10305
+ readonly array: FieldBuilder<{
10306
+ name: "array";
10307
+ "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10308
+ component: typeof ArrayField;
10309
+ cellComponent: typeof JsonCell;
10310
+ createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10311
+ }>;
10312
+ readonly upload: FieldBuilder<{
10313
+ name: "upload";
10314
+ "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10315
+ component: typeof UploadField;
10316
+ cellComponent: typeof UploadCell;
10317
+ createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10318
+ }>;
10319
+ readonly uploadMany: FieldBuilder<{
10320
+ name: "uploadMany";
10321
+ "~options": UploadFieldConfig & {
10322
+ maxItems?: number;
10323
+ orderable?: boolean;
10324
+ layout?: "grid" | "list";
10325
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10326
+ component: typeof UploadManyField;
10327
+ cellComponent: typeof UploadManyCell;
10328
+ createZod: CreateZodFn<UploadFieldConfig & {
10329
+ maxItems?: number;
10330
+ orderable?: boolean;
10331
+ layout?: "grid" | "list";
10332
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10333
+ }>;
10334
+ readonly assetPreview: FieldBuilder<{
10335
+ name: "assetPreview";
10336
+ "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10337
+ component: typeof AssetPreviewField;
10338
+ cellComponent: ({
10339
+ row
10340
+ }: {
10341
+ value: unknown;
10342
+ row?: any;
10343
+ }) => react_jsx_runtime11.JSX.Element;
10344
+ createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10345
+ }>;
10346
+ readonly richText: FieldBuilder<{
10347
+ name: "richText";
10348
+ "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10349
+ component: typeof RichTextField;
10350
+ cellComponent: typeof RichTextCell;
10351
+ createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10352
+ }>;
10353
+ readonly embedded: FieldBuilder<{
10354
+ name: "embedded";
10355
+ "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10356
+ component: typeof EmbeddedCollectionField;
10357
+ cellComponent: typeof JsonCell;
10358
+ createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10359
+ }>;
10360
+ readonly blocks: FieldBuilder<{
10361
+ name: "blocks";
10362
+ "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10363
+ component: typeof BlocksField;
10364
+ cellComponent: typeof BlocksCell;
10365
+ createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10366
+ }>;
10367
+ }>>, "listViews" | "editViews">, {
10368
+ listViews: questpie163.TypeMerge<{}, FilterListViews<{
10436
10369
  readonly table: ListViewBuilder<{
10437
10370
  name: "table";
10438
10371
  kind: "list";
@@ -10445,8 +10378,8 @@ declare const adminModule: AdminBuilder<Omit<Omit<Omit<Omit<Omit<{
10445
10378
  "~config": FormViewConfig;
10446
10379
  component: typeof FormView;
10447
10380
  }>;
10448
- }>;
10449
- editViews: FilterEditViews<{
10381
+ }>>;
10382
+ editViews: questpie163.TypeMerge<{}, FilterEditViews<{
10450
10383
  readonly table: ListViewBuilder<{
10451
10384
  name: "table";
10452
10385
  kind: "list";
@@ -10459,676 +10392,620 @@ declare const adminModule: AdminBuilder<Omit<Omit<Omit<Omit<Omit<{
10459
10392
  "~config": FormViewConfig;
10460
10393
  component: typeof FormView;
10461
10394
  }>;
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
- };
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 & {
10625
- 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 & {
10640
- 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
- }>;
10737
- }>;
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
- }>;
10751
- }>;
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>;
10395
+ }>>;
10396
+ }>, "pages", questpie163.TypeMerge<{}, {
10397
+ readonly login: PageBuilder<questpie163.SetProperty<{
10398
+ name: "login";
10399
+ component: () => Promise<typeof login_page_d_exports>;
10400
+ path: undefined;
10401
+ }, "path", string>>;
10402
+ readonly forgotPassword: PageBuilder<questpie163.SetProperty<{
10403
+ name: "forgot-password";
10404
+ component: () => Promise<typeof forgot_password_page_d_exports>;
10405
+ path: undefined;
10406
+ }, "path", string>>;
10407
+ readonly resetPassword: PageBuilder<questpie163.SetProperty<{
10408
+ name: "reset-password";
10409
+ component: () => Promise<typeof reset_password_page_d_exports>;
10410
+ path: undefined;
10411
+ }, "path", string>>;
10412
+ readonly setup: PageBuilder<questpie163.SetProperty<{
10413
+ name: "setup";
10414
+ component: () => Promise<typeof setup_page_d_exports>;
10415
+ path: undefined;
10416
+ }, "path", string>>;
10417
+ readonly dashboard: PageBuilder<questpie163.SetProperty<{
10418
+ name: "dashboard";
10419
+ component: () => Promise<typeof dashboard_page_d_exports>;
10420
+ path: undefined;
10421
+ }, "path", string>>;
10422
+ }>>, "collections", questpie163.TypeMerge<{}, {
10423
+ user: CollectionBuilder<questpie163.SetProperty<questpie163.SetProperty<questpie163.SetProperty<{
10424
+ name: "user";
10425
+ "~adminApp": AdminBuilder<questpie163.SetProperty<questpie163.TypeMerge<questpie163.UnsetProperty<questpie163.SetProperty<{
10426
+ "~app": any;
10427
+ fields: {};
10428
+ listViews: {};
10429
+ editViews: {};
10430
+ pages: {};
10431
+ widgets: {};
10432
+ blocks: {};
10433
+ collections: {};
10434
+ globals: {};
10435
+ dashboard: {
10436
+ layout: "grid";
10437
+ widgets: [];
10438
+ };
10439
+ sidebar: {
10440
+ sections: [];
10441
+ };
10442
+ branding: {};
10443
+ locale: {
10444
+ default: string;
10445
+ supported: string[];
10799
10446
  };
10800
- }, "list"> & {
10801
- list: ListViewBuilder<{
10802
- name: "table";
10803
- kind: "list";
10804
- "~config": TableViewConfig;
10805
- component: typeof TableView;
10447
+ defaultViews: {};
10448
+ translations: {};
10449
+ }, "fields", questpie163.TypeMerge<{}, {
10450
+ readonly text: FieldBuilder<{
10451
+ name: "text";
10452
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10453
+ component: typeof TextField;
10454
+ cellComponent: typeof TextCell;
10455
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10806
10456
  }>;
10807
- }, "form"> & {
10808
- form: EditViewBuilder<{
10809
- name: "form";
10810
- kind: "edit";
10811
- "~config": FormViewConfig;
10812
- component: typeof FormView;
10457
+ readonly number: FieldBuilder<{
10458
+ name: "number";
10459
+ "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10460
+ component: typeof NumberField;
10461
+ cellComponent: typeof NumberCell;
10462
+ createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10813
10463
  }>;
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 & {
10937
- 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 & {
10952
- 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
- }>;
10464
+ readonly email: FieldBuilder<{
10465
+ name: "email";
10466
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10467
+ component: typeof EmailField;
10468
+ cellComponent: typeof EmailCell;
10469
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10470
+ }>;
10471
+ readonly password: FieldBuilder<{
10472
+ name: "password";
10473
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10474
+ component: typeof PasswordField;
10475
+ cellComponent: typeof TextCell;
10476
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10477
+ }>;
10478
+ readonly textarea: FieldBuilder<{
10479
+ name: "textarea";
10480
+ "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10481
+ component: typeof TextareaField;
10482
+ cellComponent: typeof TextCell;
10483
+ createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10484
+ }>;
10485
+ readonly checkbox: FieldBuilder<{
10486
+ name: "checkbox";
10487
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10488
+ component: typeof CheckboxField;
10489
+ cellComponent: typeof BooleanCell;
10490
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10491
+ }>;
10492
+ readonly switch: FieldBuilder<{
10493
+ name: "switch";
10494
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10495
+ component: typeof SwitchField;
10496
+ cellComponent: typeof BooleanCell;
10497
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10498
+ }>;
10499
+ readonly select: FieldBuilder<{
10500
+ name: "select";
10501
+ "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10502
+ component: typeof SelectField;
10503
+ cellComponent: typeof SelectCell;
10504
+ createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10505
+ }>;
10506
+ readonly date: FieldBuilder<{
10507
+ name: "date";
10508
+ "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10509
+ component: typeof DateField;
10510
+ cellComponent: typeof DateCell;
10511
+ createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10512
+ }>;
10513
+ readonly datetime: FieldBuilder<{
10514
+ name: "datetime";
10515
+ "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10516
+ component: typeof DatetimeField;
10517
+ cellComponent: typeof DateTimeCell;
10518
+ createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10519
+ }>;
10520
+ readonly time: FieldBuilder<{
10521
+ name: "time";
10522
+ "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10523
+ component: typeof TimeField;
10524
+ cellComponent: typeof TimeCell;
10525
+ createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10526
+ }>;
10527
+ readonly relation: FieldBuilder<{
10528
+ name: "relation";
10529
+ "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10530
+ component: typeof RelationField;
10531
+ cellComponent: typeof RelationCell;
10532
+ createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10533
+ }>;
10534
+ readonly reverseRelation: FieldBuilder<{
10535
+ name: "reverseRelation";
10536
+ "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10537
+ component: typeof ReverseRelationField;
10538
+ cellComponent: typeof ReverseRelationCell;
10539
+ createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10540
+ }>;
10541
+ readonly json: FieldBuilder<{
10542
+ name: "json";
10543
+ "~options": Omit<BaseFieldProps & {
10544
+ readOnly?: boolean;
10545
+ defaultMode?: JsonFieldMode;
10546
+ allowModeSwitch?: boolean;
10547
+ minHeight?: number;
10548
+ maxHeight?: number;
10549
+ renderForm?: (props: {
10550
+ value: any;
10551
+ onChange: (value: any) => void;
10552
+ disabled?: boolean;
10553
+ readOnly?: boolean;
10554
+ }) => React.ReactNode;
10555
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10556
+ component: typeof JsonField;
10557
+ cellComponent: typeof JsonCell;
10558
+ createZod: CreateZodFn<Omit<BaseFieldProps & {
10559
+ readOnly?: boolean;
10560
+ defaultMode?: JsonFieldMode;
10561
+ allowModeSwitch?: boolean;
10562
+ minHeight?: number;
10563
+ maxHeight?: number;
10564
+ renderForm?: (props: {
10565
+ value: any;
10566
+ onChange: (value: any) => void;
10567
+ disabled?: boolean;
10568
+ readOnly?: boolean;
10569
+ }) => React.ReactNode;
10570
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10571
+ }>;
10572
+ readonly object: FieldBuilder<{
10573
+ name: "object";
10574
+ "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10575
+ component: typeof ObjectField;
10576
+ cellComponent: typeof ObjectCell;
10577
+ createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10578
+ }>;
10579
+ readonly array: FieldBuilder<{
10580
+ name: "array";
10581
+ "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10582
+ component: typeof ArrayField;
10583
+ cellComponent: typeof JsonCell;
10584
+ createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10585
+ }>;
10586
+ readonly upload: FieldBuilder<{
10587
+ name: "upload";
10588
+ "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10589
+ component: typeof UploadField;
10590
+ cellComponent: typeof UploadCell;
10591
+ createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10592
+ }>;
10593
+ readonly uploadMany: FieldBuilder<{
10594
+ name: "uploadMany";
10595
+ "~options": UploadFieldConfig & {
10596
+ maxItems?: number;
10597
+ orderable?: boolean;
10598
+ layout?: "grid" | "list";
10599
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10600
+ component: typeof UploadManyField;
10601
+ cellComponent: typeof UploadManyCell;
10602
+ createZod: CreateZodFn<UploadFieldConfig & {
10603
+ maxItems?: number;
10604
+ orderable?: boolean;
10605
+ layout?: "grid" | "list";
10606
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10607
+ }>;
10608
+ readonly assetPreview: FieldBuilder<{
10609
+ name: "assetPreview";
10610
+ "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10611
+ component: typeof AssetPreviewField;
10612
+ cellComponent: ({
10613
+ row
10614
+ }: {
10615
+ value: unknown;
10616
+ row?: any;
10617
+ }) => react_jsx_runtime11.JSX.Element;
10618
+ createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10619
+ }>;
10620
+ readonly richText: FieldBuilder<{
10621
+ name: "richText";
10622
+ "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10623
+ component: typeof RichTextField;
10624
+ cellComponent: typeof RichTextCell;
10625
+ createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10626
+ }>;
10627
+ readonly embedded: FieldBuilder<{
10628
+ name: "embedded";
10629
+ "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10630
+ component: typeof EmbeddedCollectionField;
10631
+ cellComponent: typeof JsonCell;
10632
+ createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10633
+ }>;
10634
+ readonly blocks: FieldBuilder<{
10635
+ name: "blocks";
10636
+ "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10637
+ component: typeof BlocksField;
10638
+ cellComponent: typeof BlocksCell;
10639
+ createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10640
+ }>;
10641
+ }>>, "listViews" | "editViews">, {
10642
+ listViews: questpie163.TypeMerge<{}, FilterListViews<{
10643
+ readonly table: ListViewBuilder<{
10644
+ name: "table";
10645
+ kind: "list";
10646
+ "~config": TableViewConfig;
10647
+ component: typeof TableView;
11049
10648
  }>;
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
- }>;
10649
+ readonly form: EditViewBuilder<{
10650
+ name: "form";
10651
+ kind: "edit";
10652
+ "~config": FormViewConfig;
10653
+ component: typeof FormView;
11063
10654
  }>;
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>;
10655
+ }>>;
10656
+ editViews: questpie163.TypeMerge<{}, FilterEditViews<{
10657
+ readonly table: ListViewBuilder<{
10658
+ name: "table";
10659
+ kind: "list";
10660
+ "~config": TableViewConfig;
10661
+ component: typeof TableView;
10662
+ }>;
10663
+ readonly form: EditViewBuilder<{
10664
+ name: "form";
10665
+ kind: "edit";
10666
+ "~config": FormViewConfig;
10667
+ component: typeof FormView;
10668
+ }>;
10669
+ }>>;
10670
+ }>, "pages", questpie163.TypeMerge<{}, {
10671
+ readonly login: PageBuilder<questpie163.SetProperty<{
10672
+ name: "login";
10673
+ component: () => Promise<typeof login_page_d_exports>;
10674
+ path: undefined;
10675
+ }, "path", string>>;
10676
+ readonly forgotPassword: PageBuilder<questpie163.SetProperty<{
10677
+ name: "forgot-password";
10678
+ component: () => Promise<typeof forgot_password_page_d_exports>;
10679
+ path: undefined;
10680
+ }, "path", string>>;
10681
+ readonly resetPassword: PageBuilder<questpie163.SetProperty<{
10682
+ name: "reset-password";
10683
+ component: () => Promise<typeof reset_password_page_d_exports>;
10684
+ path: undefined;
10685
+ }, "path", string>>;
10686
+ readonly setup: PageBuilder<questpie163.SetProperty<{
10687
+ name: "setup";
10688
+ component: () => Promise<typeof setup_page_d_exports>;
10689
+ path: undefined;
10690
+ }, "path", string>>;
10691
+ readonly dashboard: PageBuilder<questpie163.SetProperty<{
10692
+ name: "dashboard";
10693
+ component: () => Promise<typeof dashboard_page_d_exports>;
10694
+ path: undefined;
10695
+ }, "path", string>>;
10696
+ }>>>;
10697
+ }, "fields", {
10698
+ name: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10699
+ email: FieldDefinition<"email", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10700
+ role: FieldDefinition<"select", SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10701
+ emailVerified: FieldDefinition<"checkbox", Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10702
+ banned: FieldDefinition<"checkbox", Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10703
+ banReason: FieldDefinition<"textarea", TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10704
+ }>, "list", ListViewBuilder<{
10705
+ name: "table";
10706
+ kind: "list";
10707
+ "~config": TableViewConfig;
10708
+ component: typeof TableView;
10709
+ }>>, "form", EditViewBuilder<{
10710
+ name: "form";
10711
+ kind: "edit";
10712
+ "~config": FormViewConfig;
10713
+ component: typeof FormView;
10714
+ }>>>;
10715
+ assets: CollectionBuilder<questpie163.SetProperty<questpie163.SetProperty<questpie163.SetProperty<{
10716
+ name: "assets";
10717
+ "~adminApp": AdminBuilder<questpie163.SetProperty<questpie163.TypeMerge<questpie163.UnsetProperty<questpie163.SetProperty<{
10718
+ "~app": any;
10719
+ fields: {};
10720
+ listViews: {};
10721
+ editViews: {};
10722
+ pages: {};
10723
+ widgets: {};
10724
+ blocks: {};
10725
+ collections: {};
10726
+ globals: {};
10727
+ dashboard: {
10728
+ layout: "grid";
10729
+ widgets: [];
10730
+ };
10731
+ sidebar: {
10732
+ sections: [];
11112
10733
  };
11113
- }, "list"> & {
11114
- list: ListViewBuilder<{
11115
- name: "table";
11116
- kind: "list";
11117
- "~config": TableViewConfig;
11118
- component: typeof TableView;
10734
+ branding: {};
10735
+ locale: {
10736
+ default: string;
10737
+ supported: string[];
10738
+ };
10739
+ defaultViews: {};
10740
+ translations: {};
10741
+ }, "fields", questpie163.TypeMerge<{}, {
10742
+ readonly text: FieldBuilder<{
10743
+ name: "text";
10744
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10745
+ component: typeof TextField;
10746
+ cellComponent: typeof TextCell;
10747
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
11119
10748
  }>;
11120
- }, "form"> & {
11121
- form: EditViewBuilder<{
11122
- name: "form";
11123
- kind: "edit";
11124
- "~config": FormViewConfig;
11125
- component: typeof FormView;
10749
+ readonly number: FieldBuilder<{
10750
+ name: "number";
10751
+ "~options": NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10752
+ component: typeof NumberField;
10753
+ cellComponent: typeof NumberCell;
10754
+ createZod: CreateZodFn<NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
11126
10755
  }>;
11127
- }>;
11128
- };
11129
- }, "sidebar"> & {
11130
- sidebar: SidebarConfig<string>;
11131
- }>;
10756
+ readonly email: FieldBuilder<{
10757
+ name: "email";
10758
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10759
+ component: typeof EmailField;
10760
+ cellComponent: typeof EmailCell;
10761
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10762
+ }>;
10763
+ readonly password: FieldBuilder<{
10764
+ name: "password";
10765
+ "~options": TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10766
+ component: typeof PasswordField;
10767
+ cellComponent: typeof TextCell;
10768
+ createZod: CreateZodFn<TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10769
+ }>;
10770
+ readonly textarea: FieldBuilder<{
10771
+ name: "textarea";
10772
+ "~options": TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10773
+ component: typeof TextareaField;
10774
+ cellComponent: typeof TextCell;
10775
+ createZod: CreateZodFn<TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10776
+ }>;
10777
+ readonly checkbox: FieldBuilder<{
10778
+ name: "checkbox";
10779
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10780
+ component: typeof CheckboxField;
10781
+ cellComponent: typeof BooleanCell;
10782
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10783
+ }>;
10784
+ readonly switch: FieldBuilder<{
10785
+ name: "switch";
10786
+ "~options": Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10787
+ component: typeof SwitchField;
10788
+ cellComponent: typeof BooleanCell;
10789
+ createZod: CreateZodFn<Omit<BaseFieldProps, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10790
+ }>;
10791
+ readonly select: FieldBuilder<{
10792
+ name: "select";
10793
+ "~options": SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10794
+ component: typeof SelectField;
10795
+ cellComponent: typeof SelectCell;
10796
+ createZod: CreateZodFn<SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10797
+ }>;
10798
+ readonly date: FieldBuilder<{
10799
+ name: "date";
10800
+ "~options": DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10801
+ component: typeof DateField;
10802
+ cellComponent: typeof DateCell;
10803
+ createZod: CreateZodFn<DateFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10804
+ }>;
10805
+ readonly datetime: FieldBuilder<{
10806
+ name: "datetime";
10807
+ "~options": DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10808
+ component: typeof DatetimeField;
10809
+ cellComponent: typeof DateTimeCell;
10810
+ createZod: CreateZodFn<DateTimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10811
+ }>;
10812
+ readonly time: FieldBuilder<{
10813
+ name: "time";
10814
+ "~options": TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10815
+ component: typeof TimeField;
10816
+ cellComponent: typeof TimeCell;
10817
+ createZod: CreateZodFn<TimeFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10818
+ }>;
10819
+ readonly relation: FieldBuilder<{
10820
+ name: "relation";
10821
+ "~options": RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10822
+ component: typeof RelationField;
10823
+ cellComponent: typeof RelationCell;
10824
+ createZod: CreateZodFn<RelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10825
+ }>;
10826
+ readonly reverseRelation: FieldBuilder<{
10827
+ name: "reverseRelation";
10828
+ "~options": ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10829
+ component: typeof ReverseRelationField;
10830
+ cellComponent: typeof ReverseRelationCell;
10831
+ createZod: CreateZodFn<ReverseRelationFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10832
+ }>;
10833
+ readonly json: FieldBuilder<{
10834
+ name: "json";
10835
+ "~options": Omit<BaseFieldProps & {
10836
+ readOnly?: boolean;
10837
+ defaultMode?: JsonFieldMode;
10838
+ allowModeSwitch?: boolean;
10839
+ minHeight?: number;
10840
+ maxHeight?: number;
10841
+ renderForm?: (props: {
10842
+ value: any;
10843
+ onChange: (value: any) => void;
10844
+ disabled?: boolean;
10845
+ readOnly?: boolean;
10846
+ }) => React.ReactNode;
10847
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10848
+ component: typeof JsonField;
10849
+ cellComponent: typeof JsonCell;
10850
+ createZod: CreateZodFn<Omit<BaseFieldProps & {
10851
+ readOnly?: boolean;
10852
+ defaultMode?: JsonFieldMode;
10853
+ allowModeSwitch?: boolean;
10854
+ minHeight?: number;
10855
+ maxHeight?: number;
10856
+ renderForm?: (props: {
10857
+ value: any;
10858
+ onChange: (value: any) => void;
10859
+ disabled?: boolean;
10860
+ readOnly?: boolean;
10861
+ }) => React.ReactNode;
10862
+ }, keyof BaseFieldProps$1> & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10863
+ }>;
10864
+ readonly object: FieldBuilder<{
10865
+ name: "object";
10866
+ "~options": ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10867
+ component: typeof ObjectField;
10868
+ cellComponent: typeof ObjectCell;
10869
+ createZod: CreateZodFn<ObjectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10870
+ }>;
10871
+ readonly array: FieldBuilder<{
10872
+ name: "array";
10873
+ "~options": ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10874
+ component: typeof ArrayField;
10875
+ cellComponent: typeof JsonCell;
10876
+ createZod: CreateZodFn<ArrayFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10877
+ }>;
10878
+ readonly upload: FieldBuilder<{
10879
+ name: "upload";
10880
+ "~options": UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10881
+ component: typeof UploadField;
10882
+ cellComponent: typeof UploadCell;
10883
+ createZod: CreateZodFn<UploadFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10884
+ }>;
10885
+ readonly uploadMany: FieldBuilder<{
10886
+ name: "uploadMany";
10887
+ "~options": UploadFieldConfig & {
10888
+ maxItems?: number;
10889
+ orderable?: boolean;
10890
+ layout?: "grid" | "list";
10891
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10892
+ component: typeof UploadManyField;
10893
+ cellComponent: typeof UploadManyCell;
10894
+ createZod: CreateZodFn<UploadFieldConfig & {
10895
+ maxItems?: number;
10896
+ orderable?: boolean;
10897
+ layout?: "grid" | "list";
10898
+ } & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10899
+ }>;
10900
+ readonly assetPreview: FieldBuilder<{
10901
+ name: "assetPreview";
10902
+ "~options": AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10903
+ component: typeof AssetPreviewField;
10904
+ cellComponent: ({
10905
+ row
10906
+ }: {
10907
+ value: unknown;
10908
+ row?: any;
10909
+ }) => react_jsx_runtime11.JSX.Element;
10910
+ createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10911
+ }>;
10912
+ readonly richText: FieldBuilder<{
10913
+ name: "richText";
10914
+ "~options": RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10915
+ component: typeof RichTextField;
10916
+ cellComponent: typeof RichTextCell;
10917
+ createZod: CreateZodFn<RichTextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10918
+ }>;
10919
+ readonly embedded: FieldBuilder<{
10920
+ name: "embedded";
10921
+ "~options": EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10922
+ component: typeof EmbeddedCollectionField;
10923
+ cellComponent: typeof JsonCell;
10924
+ createZod: CreateZodFn<EmbeddedFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10925
+ }>;
10926
+ readonly blocks: FieldBuilder<{
10927
+ name: "blocks";
10928
+ "~options": BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions;
10929
+ component: typeof BlocksField;
10930
+ cellComponent: typeof BlocksCell;
10931
+ createZod: CreateZodFn<BlocksFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
10932
+ }>;
10933
+ }>>, "listViews" | "editViews">, {
10934
+ listViews: questpie163.TypeMerge<{}, FilterListViews<{
10935
+ readonly table: ListViewBuilder<{
10936
+ name: "table";
10937
+ kind: "list";
10938
+ "~config": TableViewConfig;
10939
+ component: typeof TableView;
10940
+ }>;
10941
+ readonly form: EditViewBuilder<{
10942
+ name: "form";
10943
+ kind: "edit";
10944
+ "~config": FormViewConfig;
10945
+ component: typeof FormView;
10946
+ }>;
10947
+ }>>;
10948
+ editViews: questpie163.TypeMerge<{}, FilterEditViews<{
10949
+ readonly table: ListViewBuilder<{
10950
+ name: "table";
10951
+ kind: "list";
10952
+ "~config": TableViewConfig;
10953
+ component: typeof TableView;
10954
+ }>;
10955
+ readonly form: EditViewBuilder<{
10956
+ name: "form";
10957
+ kind: "edit";
10958
+ "~config": FormViewConfig;
10959
+ component: typeof FormView;
10960
+ }>;
10961
+ }>>;
10962
+ }>, "pages", questpie163.TypeMerge<{}, {
10963
+ readonly login: PageBuilder<questpie163.SetProperty<{
10964
+ name: "login";
10965
+ component: () => Promise<typeof login_page_d_exports>;
10966
+ path: undefined;
10967
+ }, "path", string>>;
10968
+ readonly forgotPassword: PageBuilder<questpie163.SetProperty<{
10969
+ name: "forgot-password";
10970
+ component: () => Promise<typeof forgot_password_page_d_exports>;
10971
+ path: undefined;
10972
+ }, "path", string>>;
10973
+ readonly resetPassword: PageBuilder<questpie163.SetProperty<{
10974
+ name: "reset-password";
10975
+ component: () => Promise<typeof reset_password_page_d_exports>;
10976
+ path: undefined;
10977
+ }, "path", string>>;
10978
+ readonly setup: PageBuilder<questpie163.SetProperty<{
10979
+ name: "setup";
10980
+ component: () => Promise<typeof setup_page_d_exports>;
10981
+ path: undefined;
10982
+ }, "path", string>>;
10983
+ readonly dashboard: PageBuilder<questpie163.SetProperty<{
10984
+ name: "dashboard";
10985
+ component: () => Promise<typeof dashboard_page_d_exports>;
10986
+ path: undefined;
10987
+ }, "path", string>>;
10988
+ }>>>;
10989
+ }, "fields", {
10990
+ preview: FieldDefinition<"assetPreview", AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10991
+ filename: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10992
+ mimeType: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10993
+ size: FieldDefinition<"number", NumberFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10994
+ alt: FieldDefinition<"text", TextFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10995
+ caption: FieldDefinition<"textarea", TextareaFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10996
+ visibility: FieldDefinition<"select", SelectFieldConfig & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions>;
10997
+ }>, "list", ListViewBuilder<{
10998
+ name: "table";
10999
+ kind: "list";
11000
+ "~config": TableViewConfig;
11001
+ component: typeof TableView;
11002
+ }>>, "form", EditViewBuilder<{
11003
+ name: "form";
11004
+ kind: "edit";
11005
+ "~config": FormViewConfig;
11006
+ component: typeof FormView;
11007
+ }>>>;
11008
+ }>>, "sidebar", SidebarConfig<string>>>;
11132
11009
  /**
11133
11010
  * Type of admin module state
11134
11011
  */
@@ -12382,7 +12259,7 @@ declare function useGlobalUpdate<K$1 extends ResolvedGlobalNames>(globalName: K$
12382
12259
  * Note: This hook requires the adminModule to be used in your CMS setup.
12383
12260
  * If admin_saved_views collection is not available, returns empty array.
12384
12261
  */
12385
- declare function useSavedViews(collectionName: string): _tanstack_react_query5.UseQueryResult<{
12262
+ declare function useSavedViews(collectionName: string): _tanstack_react_query3.UseQueryResult<{
12386
12263
  docs: SavedView[];
12387
12264
  }, Error>;
12388
12265
  //#endregion
@@ -12418,7 +12295,7 @@ interface SetupStatus {
12418
12295
  * }
12419
12296
  * ```
12420
12297
  */
12421
- declare function useSetupStatus(): _tanstack_react_query5.UseQueryResult<SetupStatus, Error>;
12298
+ declare function useSetupStatus(): _tanstack_react_query3.UseQueryResult<SetupStatus, Error>;
12422
12299
  //#endregion
12423
12300
  //#region src/client/hooks/use-media-query.d.ts
12424
12301
  /**
@@ -13582,4 +13459,4 @@ type CollectionFieldKeys<TApp extends Questpie<any>, TCollectionName extends str
13582
13459
  } ? keyof TSelect : never : never : never;
13583
13460
  //#endregion
13584
13461
  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
13462
+ //# sourceMappingURL=client-BCuGyTy0.d.mts.map