@questpie/admin 1.0.1 → 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.
- package/dist/{client-DbpZKSgH.d.mts → client-BCuGyTy0.d.mts} +1133 -1256
- package/dist/client-BCuGyTy0.d.mts.map +1 -0
- package/dist/client-njX1rZmi.mjs.map +1 -1
- package/dist/client.d.mts +2 -2
- package/dist/{index-B9Xwk4hi.d.mts → index-CV4ppE7U.d.mts} +105 -105
- package/dist/{index-B9Xwk4hi.d.mts.map → index-CV4ppE7U.d.mts.map} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/server.d.mts +1 -1
- package/package.json +8 -8
- package/dist/client-DbpZKSgH.d.mts.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { t as adminModule$1 } from "./index-
|
|
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";
|
|
@@ -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
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
4761
|
-
locale:
|
|
4749
|
+
declare const selectClient: (s: AdminState) => QuestpieClient<questpie163.Questpie<{
|
|
4750
|
+
locale: questpie163.LocaleConfig | undefined;
|
|
4762
4751
|
email: {
|
|
4763
|
-
templates:
|
|
4764
|
-
adapter:
|
|
4752
|
+
templates: questpie163.TypeMerge<questpie163.UnsetProperty<{}, keyof TOtherEmailTemplates>, {}>;
|
|
4753
|
+
adapter: questpie163.MailAdapter;
|
|
4765
4754
|
};
|
|
4766
|
-
search:
|
|
4755
|
+
search: questpie163.SearchAdapter | undefined;
|
|
4767
4756
|
collections: {
|
|
4768
|
-
user:
|
|
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,
|
|
4774
|
+
relations: Record<string, questpie163.RelationConfig>;
|
|
4786
4775
|
indexes: Record<string, any>;
|
|
4787
4776
|
title: "name";
|
|
4788
|
-
hooks:
|
|
4789
|
-
access:
|
|
4777
|
+
hooks: questpie163.CollectionHooks<any, any, any, any>;
|
|
4778
|
+
access: questpie163.CollectionAccess<any, any>;
|
|
4790
4779
|
functions: {
|
|
4791
|
-
[x: string]:
|
|
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:
|
|
4799
|
-
options:
|
|
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,
|
|
4800
|
+
relations: Record<string, questpie163.RelationConfig>;
|
|
4812
4801
|
indexes: Record<string, any>;
|
|
4813
4802
|
title: "token";
|
|
4814
|
-
hooks:
|
|
4815
|
-
access:
|
|
4803
|
+
hooks: questpie163.CollectionHooks<any, any, any, any>;
|
|
4804
|
+
access: questpie163.CollectionAccess<any, any>;
|
|
4816
4805
|
functions: {
|
|
4817
|
-
[x: string]:
|
|
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:
|
|
4825
|
-
options:
|
|
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,
|
|
4830
|
+
relations: Record<string, questpie163.RelationConfig>;
|
|
4842
4831
|
indexes: Record<string, any>;
|
|
4843
4832
|
title: "providerId";
|
|
4844
|
-
hooks:
|
|
4845
|
-
access:
|
|
4833
|
+
hooks: questpie163.CollectionHooks<any, any, any, any>;
|
|
4834
|
+
access: questpie163.CollectionAccess<any, any>;
|
|
4846
4835
|
functions: {
|
|
4847
|
-
[x: string]:
|
|
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:
|
|
4855
|
-
options:
|
|
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,
|
|
4853
|
+
relations: Record<string, questpie163.RelationConfig>;
|
|
4865
4854
|
indexes: Record<string, any>;
|
|
4866
4855
|
title: "identifier";
|
|
4867
|
-
hooks:
|
|
4868
|
-
access:
|
|
4856
|
+
hooks: questpie163.CollectionHooks<any, any, any, any>;
|
|
4857
|
+
access: questpie163.CollectionAccess<any, any>;
|
|
4869
4858
|
functions: {
|
|
4870
|
-
[x: string]:
|
|
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:
|
|
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,
|
|
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
|
-
}:
|
|
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:
|
|
4909
|
+
access: questpie163.CollectionAccess<any, any>;
|
|
4921
4910
|
functions: {
|
|
4922
|
-
[x: string]:
|
|
4911
|
+
[x: string]: questpie163.FunctionDefinition<any, any, any>;
|
|
4923
4912
|
};
|
|
4924
4913
|
searchable: undefined;
|
|
4925
4914
|
validation: undefined;
|
|
4926
|
-
output:
|
|
4915
|
+
output: questpie163.TypeMerge<{}, {
|
|
4927
4916
|
url: string;
|
|
4928
4917
|
}>;
|
|
4929
|
-
upload:
|
|
4918
|
+
upload: questpie163.UploadOptions;
|
|
4930
4919
|
}>;
|
|
4931
|
-
apikey:
|
|
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,
|
|
4947
|
+
relations: Record<string, questpie163.RelationConfig>;
|
|
4959
4948
|
indexes: Record<string, any>;
|
|
4960
4949
|
title: "key";
|
|
4961
|
-
hooks:
|
|
4962
|
-
access:
|
|
4950
|
+
hooks: questpie163.CollectionHooks<any, any, any, any>;
|
|
4951
|
+
access: questpie163.CollectionAccess<any, any>;
|
|
4963
4952
|
functions: {
|
|
4964
|
-
[x: string]:
|
|
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:
|
|
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]:
|
|
4977
|
+
[x: string]: questpie163.FunctionDefinition<any, any, any>;
|
|
4989
4978
|
};
|
|
4990
|
-
hooks:
|
|
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,
|
|
4995
|
-
access:
|
|
4983
|
+
relations: Record<string, questpie163.RelationConfig>;
|
|
4984
|
+
access: questpie163.CollectionAccess<any, any>;
|
|
4996
4985
|
validation: undefined;
|
|
4997
4986
|
}>;
|
|
4998
|
-
admin_preferences:
|
|
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]:
|
|
5002
|
+
[x: string]: questpie163.FunctionDefinition<any, any, any>;
|
|
5014
5003
|
};
|
|
5015
|
-
hooks:
|
|
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,
|
|
5020
|
-
access:
|
|
5008
|
+
relations: Record<string, questpie163.RelationConfig>;
|
|
5009
|
+
access: questpie163.CollectionAccess<any, any>;
|
|
5021
5010
|
validation: undefined;
|
|
5022
5011
|
}>;
|
|
5023
5012
|
};
|
|
5024
|
-
globals:
|
|
5025
|
-
translations:
|
|
5013
|
+
globals: questpie163.TypeMerge<questpie163.UnsetProperty<{}, keyof TOtherGlobals>, {}>;
|
|
5014
|
+
translations: questpie163.TranslationsConfig | undefined;
|
|
5026
5015
|
"~messageKeys": unknown;
|
|
5027
|
-
auth:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
6890
|
+
isSetupRequired: questpie163.JsonFunctionDefinition<Record<string, never>, {
|
|
6902
6891
|
required: boolean;
|
|
6903
6892
|
}, any>;
|
|
6904
|
-
createFirstAdmin:
|
|
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:
|
|
6908
|
+
storage: questpie163.StorageConfig | undefined;
|
|
6920
6909
|
queue: {
|
|
6921
|
-
jobs:
|
|
6922
|
-
adapter:
|
|
6910
|
+
jobs: questpie163.TypeMerge<questpie163.UnsetProperty<{}, keyof TOtherJobs>, {}>;
|
|
6911
|
+
adapter: questpie163.QueueAdapter;
|
|
6923
6912
|
};
|
|
6924
|
-
searchConfig:
|
|
6925
|
-
realtime:
|
|
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?:
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
9181
|
-
listViews: TState$1["listViews"]
|
|
9182
|
-
editViews: TState$1["editViews"]
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
9277
|
-
fields: TState$1["fields"]
|
|
9278
|
-
listViews: TState$1["listViews"]
|
|
9279
|
-
editViews: TState$1["editViews"]
|
|
9280
|
-
widgets: TState$1["widgets"]
|
|
9281
|
-
pages: TState$1["pages"]
|
|
9282
|
-
blocks: TState$1["blocks"]
|
|
9283
|
-
collections: TState$1["collections"]
|
|
9284
|
-
globals: TState$1["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"]
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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
|
-
|
|
9909
|
-
|
|
9910
|
-
|
|
9911
|
-
|
|
9912
|
-
|
|
9913
|
-
|
|
9914
|
-
|
|
9915
|
-
|
|
9916
|
-
|
|
9917
|
-
|
|
9918
|
-
|
|
9919
|
-
|
|
9920
|
-
|
|
9921
|
-
|
|
9922
|
-
|
|
9923
|
-
|
|
9924
|
-
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
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
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
|
|
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
|
-
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
10025
|
-
|
|
10026
|
-
|
|
10027
|
-
|
|
10028
|
-
|
|
10029
|
-
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
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
|
-
}
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10135
|
-
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
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<
|
|
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
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
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
|
-
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
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
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
|
-
|
|
10364
|
-
|
|
10365
|
-
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10384
|
-
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10388
|
-
|
|
10389
|
-
|
|
10390
|
-
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10395
|
-
|
|
10396
|
-
|
|
10397
|
-
|
|
10398
|
-
|
|
10399
|
-
|
|
10400
|
-
|
|
10401
|
-
|
|
10402
|
-
|
|
10403
|
-
|
|
10404
|
-
|
|
10405
|
-
|
|
10406
|
-
|
|
10407
|
-
|
|
10408
|
-
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
|
|
10420
|
-
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
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
|
-
}
|
|
10464
|
-
|
|
10465
|
-
|
|
10466
|
-
|
|
10467
|
-
|
|
10468
|
-
|
|
10469
|
-
|
|
10470
|
-
|
|
10471
|
-
|
|
10472
|
-
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10479
|
-
|
|
10480
|
-
|
|
10481
|
-
|
|
10482
|
-
|
|
10483
|
-
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
|
|
10490
|
-
|
|
10491
|
-
|
|
10492
|
-
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
|
|
10497
|
-
|
|
10498
|
-
|
|
10499
|
-
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
|
|
10506
|
-
|
|
10507
|
-
|
|
10508
|
-
|
|
10509
|
-
|
|
10510
|
-
|
|
10511
|
-
|
|
10512
|
-
|
|
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
|
-
|
|
10801
|
-
|
|
10802
|
-
|
|
10803
|
-
|
|
10804
|
-
"
|
|
10805
|
-
|
|
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
|
-
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
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
|
-
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
|
|
10821
|
-
|
|
10822
|
-
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
|
|
10832
|
-
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10838
|
-
|
|
10839
|
-
|
|
10840
|
-
|
|
10841
|
-
}
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
}
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
|
-
|
|
10967
|
-
|
|
10968
|
-
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
10974
|
-
|
|
10975
|
-
|
|
10976
|
-
|
|
10977
|
-
|
|
10978
|
-
|
|
10979
|
-
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10990
|
-
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
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
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
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
|
-
}
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
|
|
11070
|
-
|
|
11071
|
-
|
|
11072
|
-
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
11079
|
-
|
|
11080
|
-
|
|
11081
|
-
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11085
|
-
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
|
|
11093
|
-
|
|
11094
|
-
|
|
11095
|
-
|
|
11096
|
-
|
|
11097
|
-
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
|
-
|
|
11102
|
-
|
|
11103
|
-
|
|
11104
|
-
|
|
11105
|
-
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
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
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
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
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
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
|
-
|
|
11130
|
-
|
|
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
|
*/
|
|
@@ -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-
|
|
13462
|
+
//# sourceMappingURL=client-BCuGyTy0.d.mts.map
|