@questpie/admin 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-DCKQuHYi.d.mts → client-B7r47hEd.d.mts} +444 -443
- package/dist/client-B7r47hEd.d.mts.map +1 -0
- package/dist/client.d.mts +2 -2
- package/dist/{index-2AfQaXoY.d.mts → index-BYyqkWtn.d.mts} +446 -689
- package/dist/index-BYyqkWtn.d.mts.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/server.d.mts +249 -2
- package/dist/server.d.mts.map +1 -0
- package/package.json +3 -3
- package/dist/client-DCKQuHYi.d.mts.map +0 -1
- package/dist/index-2AfQaXoY.d.mts.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { t as adminModule$1 } from "./index-
|
|
1
|
+
import { t as adminModule$1 } from "./index-BYyqkWtn.mjs";
|
|
2
2
|
import { i as ViewConfiguration } from "./saved-views.types-BMsz5mCy.mjs";
|
|
3
3
|
import * as questpie_shared0 from "questpie/shared";
|
|
4
4
|
import { Prettify, SetProperty, TypeMerge, UnsetProperty } from "questpie/shared";
|
|
5
5
|
import * as React$2 from "react";
|
|
6
6
|
import React$1, { ReactElement, ReactNode } from "react";
|
|
7
|
-
import * as
|
|
7
|
+
import * as zod0 from "zod";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { Control } from "react-hook-form";
|
|
10
|
-
import * as
|
|
10
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
11
11
|
import { Button } from "@base-ui/react/button";
|
|
12
12
|
import "class-variance-authority";
|
|
13
13
|
import { Select } from "@base-ui/react/select";
|
|
14
14
|
import { useRender } from "@base-ui/react/use-render";
|
|
15
15
|
import { useShallow } from "zustand/shallow";
|
|
16
|
-
import * as
|
|
16
|
+
import * as _tanstack_react_query4 from "@tanstack/react-query";
|
|
17
17
|
import { QueryClient, UseMutationOptions, UseQueryOptions } from "@tanstack/react-query";
|
|
18
18
|
import * as zustand0 from "zustand";
|
|
19
19
|
import { Checkbox } from "@base-ui/react/checkbox";
|
|
@@ -33,14 +33,14 @@ import "@tanstack/react-table";
|
|
|
33
33
|
import "@base-ui/react/avatar";
|
|
34
34
|
import "@base-ui/react";
|
|
35
35
|
import "@base-ui/react/scroll-area";
|
|
36
|
-
import * as
|
|
36
|
+
import * as questpie31 from "questpie";
|
|
37
37
|
import { CollectionInfer, Questpie } from "questpie";
|
|
38
|
-
import * as
|
|
39
|
-
import * as
|
|
40
|
-
import * as
|
|
38
|
+
import * as drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
|
|
39
|
+
import * as drizzle_orm0 from "drizzle-orm";
|
|
40
|
+
import * as better_auth0 from "better-auth";
|
|
41
41
|
import { BetterAuthOptions } from "better-auth";
|
|
42
|
-
import * as
|
|
43
|
-
import * as
|
|
42
|
+
import * as better_call0 from "better-call";
|
|
43
|
+
import * as better_auth_plugins0 from "better-auth/plugins";
|
|
44
44
|
|
|
45
45
|
//#region rolldown:runtime
|
|
46
46
|
//#endregion
|
|
@@ -3557,7 +3557,7 @@ declare function AuthLayout({
|
|
|
3557
3557
|
footer,
|
|
3558
3558
|
children,
|
|
3559
3559
|
className
|
|
3560
|
-
}: AuthLayoutProps):
|
|
3560
|
+
}: AuthLayoutProps): react_jsx_runtime11.JSX.Element;
|
|
3561
3561
|
//#endregion
|
|
3562
3562
|
//#region src/client/views/auth/login-form.d.ts
|
|
3563
3563
|
/**
|
|
@@ -3626,7 +3626,7 @@ declare function LoginForm({
|
|
|
3626
3626
|
defaultValues,
|
|
3627
3627
|
className,
|
|
3628
3628
|
error
|
|
3629
|
-
}: LoginFormProps):
|
|
3629
|
+
}: LoginFormProps): react_jsx_runtime11.JSX.Element;
|
|
3630
3630
|
//#endregion
|
|
3631
3631
|
//#region src/client/views/auth/forgot-password-form.d.ts
|
|
3632
3632
|
/**
|
|
@@ -3681,7 +3681,7 @@ declare function ForgotPasswordForm({
|
|
|
3681
3681
|
defaultValues,
|
|
3682
3682
|
className,
|
|
3683
3683
|
error
|
|
3684
|
-
}: ForgotPasswordFormProps):
|
|
3684
|
+
}: ForgotPasswordFormProps): react_jsx_runtime11.JSX.Element;
|
|
3685
3685
|
//#endregion
|
|
3686
3686
|
//#region src/client/views/auth/reset-password-form.d.ts
|
|
3687
3687
|
/**
|
|
@@ -3743,7 +3743,7 @@ declare function ResetPasswordForm({
|
|
|
3743
3743
|
minPasswordLength,
|
|
3744
3744
|
className,
|
|
3745
3745
|
error
|
|
3746
|
-
}: ResetPasswordFormProps):
|
|
3746
|
+
}: ResetPasswordFormProps): react_jsx_runtime11.JSX.Element;
|
|
3747
3747
|
//#endregion
|
|
3748
3748
|
//#region src/client/views/auth/accept-invite-form.d.ts
|
|
3749
3749
|
/**
|
|
@@ -3812,7 +3812,7 @@ declare function AcceptInviteForm({
|
|
|
3812
3812
|
className,
|
|
3813
3813
|
error,
|
|
3814
3814
|
minPasswordLength
|
|
3815
|
-
}: AcceptInviteFormProps):
|
|
3815
|
+
}: AcceptInviteFormProps): react_jsx_runtime11.JSX.Element;
|
|
3816
3816
|
//#endregion
|
|
3817
3817
|
//#region src/client/views/auth/setup-form.d.ts
|
|
3818
3818
|
/**
|
|
@@ -3866,7 +3866,7 @@ declare function SetupForm({
|
|
|
3866
3866
|
defaultValues,
|
|
3867
3867
|
className,
|
|
3868
3868
|
error
|
|
3869
|
-
}: SetupFormProps):
|
|
3869
|
+
}: SetupFormProps): react_jsx_runtime11.JSX.Element;
|
|
3870
3870
|
//#endregion
|
|
3871
3871
|
//#region src/client/views/collection/cells/complex-cells.d.ts
|
|
3872
3872
|
/**
|
|
@@ -3876,7 +3876,7 @@ declare function JsonCell({
|
|
|
3876
3876
|
value
|
|
3877
3877
|
}: {
|
|
3878
3878
|
value: unknown;
|
|
3879
|
-
}):
|
|
3879
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3880
3880
|
/**
|
|
3881
3881
|
* Object cell - displays nested object with hover tooltip preview
|
|
3882
3882
|
*/
|
|
@@ -3887,7 +3887,7 @@ declare function ObjectCell({
|
|
|
3887
3887
|
value: unknown;
|
|
3888
3888
|
row?: unknown;
|
|
3889
3889
|
fieldDef?: FieldDefinition;
|
|
3890
|
-
}):
|
|
3890
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3891
3891
|
/**
|
|
3892
3892
|
* Blocks cell - summarizes block tree content with type counts
|
|
3893
3893
|
*/
|
|
@@ -3895,7 +3895,7 @@ declare function BlocksCell({
|
|
|
3895
3895
|
value
|
|
3896
3896
|
}: {
|
|
3897
3897
|
value: unknown;
|
|
3898
|
-
}):
|
|
3898
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3899
3899
|
//#endregion
|
|
3900
3900
|
//#region src/client/views/collection/cells/primitive-cells.d.ts
|
|
3901
3901
|
/**
|
|
@@ -3905,12 +3905,12 @@ declare function TextCell({
|
|
|
3905
3905
|
value
|
|
3906
3906
|
}: {
|
|
3907
3907
|
value: unknown;
|
|
3908
|
-
}):
|
|
3908
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3909
3909
|
declare function RichTextCell({
|
|
3910
3910
|
value
|
|
3911
3911
|
}: {
|
|
3912
3912
|
value: unknown;
|
|
3913
|
-
}):
|
|
3913
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3914
3914
|
/**
|
|
3915
3915
|
* Number cell - right-aligned number display
|
|
3916
3916
|
*/
|
|
@@ -3918,7 +3918,7 @@ declare function NumberCell({
|
|
|
3918
3918
|
value
|
|
3919
3919
|
}: {
|
|
3920
3920
|
value: unknown;
|
|
3921
|
-
}):
|
|
3921
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3922
3922
|
/**
|
|
3923
3923
|
* Boolean cell - badge display
|
|
3924
3924
|
*/
|
|
@@ -3926,7 +3926,7 @@ declare function BooleanCell({
|
|
|
3926
3926
|
value
|
|
3927
3927
|
}: {
|
|
3928
3928
|
value: unknown;
|
|
3929
|
-
}):
|
|
3929
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3930
3930
|
/**
|
|
3931
3931
|
* Date cell - formatted date display
|
|
3932
3932
|
*/
|
|
@@ -3934,7 +3934,7 @@ declare function DateCell({
|
|
|
3934
3934
|
value
|
|
3935
3935
|
}: {
|
|
3936
3936
|
value: unknown;
|
|
3937
|
-
}):
|
|
3937
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3938
3938
|
/**
|
|
3939
3939
|
* DateTime cell - formatted date and time display
|
|
3940
3940
|
*/
|
|
@@ -3942,7 +3942,7 @@ declare function DateTimeCell({
|
|
|
3942
3942
|
value
|
|
3943
3943
|
}: {
|
|
3944
3944
|
value: unknown;
|
|
3945
|
-
}):
|
|
3945
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3946
3946
|
/**
|
|
3947
3947
|
* Time cell - formatted time display (for time-only values stored as string)
|
|
3948
3948
|
*/
|
|
@@ -3950,7 +3950,7 @@ declare function TimeCell({
|
|
|
3950
3950
|
value
|
|
3951
3951
|
}: {
|
|
3952
3952
|
value: unknown;
|
|
3953
|
-
}):
|
|
3953
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3954
3954
|
/**
|
|
3955
3955
|
* Email cell - displays email with mailto link styling
|
|
3956
3956
|
*/
|
|
@@ -3958,7 +3958,7 @@ declare function EmailCell({
|
|
|
3958
3958
|
value
|
|
3959
3959
|
}: {
|
|
3960
3960
|
value: unknown;
|
|
3961
|
-
}):
|
|
3961
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3962
3962
|
/**
|
|
3963
3963
|
* Select/Status cell - badge display
|
|
3964
3964
|
*/
|
|
@@ -3966,7 +3966,7 @@ declare function SelectCell({
|
|
|
3966
3966
|
value
|
|
3967
3967
|
}: {
|
|
3968
3968
|
value: unknown;
|
|
3969
|
-
}):
|
|
3969
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3970
3970
|
//#endregion
|
|
3971
3971
|
//#region src/client/views/collection/cells/relation-cells.d.ts
|
|
3972
3972
|
/**
|
|
@@ -3981,7 +3981,7 @@ declare function RelationCell({
|
|
|
3981
3981
|
value: unknown;
|
|
3982
3982
|
row?: unknown;
|
|
3983
3983
|
fieldDef?: FieldDefinition;
|
|
3984
|
-
}):
|
|
3984
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3985
3985
|
/**
|
|
3986
3986
|
* Reverse relation cell - displays related items as clickable chips
|
|
3987
3987
|
* Shows count badge with tooltip listing all items for navigation
|
|
@@ -3994,7 +3994,7 @@ declare function ReverseRelationCell({
|
|
|
3994
3994
|
value: unknown;
|
|
3995
3995
|
row?: unknown;
|
|
3996
3996
|
fieldDef?: FieldDefinition;
|
|
3997
|
-
}):
|
|
3997
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
3998
3998
|
//#endregion
|
|
3999
3999
|
//#region src/client/views/collection/cells/upload-cells.d.ts
|
|
4000
4000
|
/**
|
|
@@ -4014,7 +4014,7 @@ declare function UploadCell({
|
|
|
4014
4014
|
value
|
|
4015
4015
|
}: {
|
|
4016
4016
|
value: unknown;
|
|
4017
|
-
}):
|
|
4017
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
4018
4018
|
/**
|
|
4019
4019
|
* Upload many cell - displays multiple assets count or thumbnails
|
|
4020
4020
|
*/
|
|
@@ -4022,7 +4022,7 @@ declare function UploadManyCell({
|
|
|
4022
4022
|
value
|
|
4023
4023
|
}: {
|
|
4024
4024
|
value: unknown;
|
|
4025
|
-
}):
|
|
4025
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
4026
4026
|
//#endregion
|
|
4027
4027
|
//#region src/client/views/collection/form-view.d.ts
|
|
4028
4028
|
/**
|
|
@@ -4746,150 +4746,150 @@ declare function useAdminStore<T$1>(selector: (state: AdminState) => T$1): T$1;
|
|
|
4746
4746
|
/** Select admin instance */
|
|
4747
4747
|
declare const selectAdmin: (s: AdminState) => Admin<AdminBuilderState<any, FieldDefinitionMap, ListViewDefinitionMap, EditViewDefinitionMap, PageDefinitionMap, WidgetDefinitionMap, CollectionConfigMap, GlobalConfigMap, BlockDefinitionMap>>;
|
|
4748
4748
|
/** Select client instance */
|
|
4749
|
-
declare const selectClient: (s: AdminState) => QuestpieClient<
|
|
4750
|
-
locale:
|
|
4749
|
+
declare const selectClient: (s: AdminState) => QuestpieClient<questpie31.Questpie<{
|
|
4750
|
+
locale: questpie31.LocaleConfig | undefined;
|
|
4751
4751
|
email: {
|
|
4752
|
-
templates:
|
|
4753
|
-
adapter:
|
|
4752
|
+
templates: questpie31.TypeMerge<questpie31.UnsetProperty<{}, keyof TOtherEmailTemplates>, {}>;
|
|
4753
|
+
adapter: questpie31.MailAdapter;
|
|
4754
4754
|
};
|
|
4755
|
-
search:
|
|
4755
|
+
search: questpie31.SearchAdapter | undefined;
|
|
4756
4756
|
collections: {
|
|
4757
|
-
user:
|
|
4757
|
+
user: questpie31.CollectionBuilder<{
|
|
4758
4758
|
options: {
|
|
4759
4759
|
timestamps: true;
|
|
4760
4760
|
};
|
|
4761
4761
|
name: "user";
|
|
4762
4762
|
fields: {
|
|
4763
|
-
name:
|
|
4764
|
-
email:
|
|
4765
|
-
emailVerified:
|
|
4766
|
-
image:
|
|
4767
|
-
role:
|
|
4768
|
-
banned:
|
|
4769
|
-
banReason:
|
|
4770
|
-
banExpires:
|
|
4763
|
+
name: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4764
|
+
email: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4765
|
+
emailVerified: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgBooleanBuilder>;
|
|
4766
|
+
image: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4767
|
+
role: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4768
|
+
banned: drizzle_orm0.HasDefault<drizzle_orm_pg_core0.PgBooleanBuilder>;
|
|
4769
|
+
banReason: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4770
|
+
banExpires: drizzle_orm_pg_core0.PgTimestampBuilder;
|
|
4771
4771
|
};
|
|
4772
4772
|
localized: [];
|
|
4773
4773
|
virtuals: undefined;
|
|
4774
|
-
relations: Record<string,
|
|
4774
|
+
relations: Record<string, questpie31.RelationConfig>;
|
|
4775
4775
|
indexes: Record<string, any>;
|
|
4776
4776
|
title: "name";
|
|
4777
|
-
hooks:
|
|
4778
|
-
access:
|
|
4777
|
+
hooks: questpie31.CollectionHooks<any, any, any, any>;
|
|
4778
|
+
access: questpie31.CollectionAccess<any, any>;
|
|
4779
4779
|
functions: {
|
|
4780
|
-
[x: string]:
|
|
4780
|
+
[x: string]: questpie31.FunctionDefinition<any, any, any>;
|
|
4781
4781
|
};
|
|
4782
4782
|
searchable: undefined;
|
|
4783
4783
|
validation: undefined;
|
|
4784
4784
|
output: undefined;
|
|
4785
4785
|
upload: undefined;
|
|
4786
4786
|
}>;
|
|
4787
|
-
session:
|
|
4788
|
-
options:
|
|
4787
|
+
session: questpie31.CollectionBuilder<{
|
|
4788
|
+
options: questpie31.CollectionOptions;
|
|
4789
4789
|
name: "session";
|
|
4790
4790
|
fields: {
|
|
4791
|
-
userId:
|
|
4792
|
-
token:
|
|
4793
|
-
expiresAt:
|
|
4794
|
-
ipAddress:
|
|
4795
|
-
userAgent:
|
|
4796
|
-
impersonatedBy:
|
|
4791
|
+
userId: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4792
|
+
token: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4793
|
+
expiresAt: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgTimestampBuilder>;
|
|
4794
|
+
ipAddress: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4795
|
+
userAgent: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4796
|
+
impersonatedBy: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4797
4797
|
};
|
|
4798
4798
|
localized: [];
|
|
4799
4799
|
virtuals: undefined;
|
|
4800
|
-
relations: Record<string,
|
|
4800
|
+
relations: Record<string, questpie31.RelationConfig>;
|
|
4801
4801
|
indexes: Record<string, any>;
|
|
4802
4802
|
title: "token";
|
|
4803
|
-
hooks:
|
|
4804
|
-
access:
|
|
4803
|
+
hooks: questpie31.CollectionHooks<any, any, any, any>;
|
|
4804
|
+
access: questpie31.CollectionAccess<any, any>;
|
|
4805
4805
|
functions: {
|
|
4806
|
-
[x: string]:
|
|
4806
|
+
[x: string]: questpie31.FunctionDefinition<any, any, any>;
|
|
4807
4807
|
};
|
|
4808
4808
|
searchable: undefined;
|
|
4809
4809
|
validation: undefined;
|
|
4810
4810
|
output: undefined;
|
|
4811
4811
|
upload: undefined;
|
|
4812
4812
|
}>;
|
|
4813
|
-
account:
|
|
4814
|
-
options:
|
|
4813
|
+
account: questpie31.CollectionBuilder<{
|
|
4814
|
+
options: questpie31.CollectionOptions;
|
|
4815
4815
|
name: "account";
|
|
4816
4816
|
fields: {
|
|
4817
|
-
userId:
|
|
4818
|
-
accountId:
|
|
4819
|
-
providerId:
|
|
4820
|
-
accessToken:
|
|
4821
|
-
refreshToken:
|
|
4822
|
-
accessTokenExpiresAt:
|
|
4823
|
-
refreshTokenExpiresAt:
|
|
4824
|
-
scope:
|
|
4825
|
-
idToken:
|
|
4826
|
-
password:
|
|
4817
|
+
userId: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4818
|
+
accountId: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4819
|
+
providerId: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4820
|
+
accessToken: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4821
|
+
refreshToken: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4822
|
+
accessTokenExpiresAt: drizzle_orm_pg_core0.PgTimestampBuilder;
|
|
4823
|
+
refreshTokenExpiresAt: drizzle_orm_pg_core0.PgTimestampBuilder;
|
|
4824
|
+
scope: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4825
|
+
idToken: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4826
|
+
password: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4827
4827
|
};
|
|
4828
4828
|
localized: [];
|
|
4829
4829
|
virtuals: undefined;
|
|
4830
|
-
relations: Record<string,
|
|
4830
|
+
relations: Record<string, questpie31.RelationConfig>;
|
|
4831
4831
|
indexes: Record<string, any>;
|
|
4832
4832
|
title: "providerId";
|
|
4833
|
-
hooks:
|
|
4834
|
-
access:
|
|
4833
|
+
hooks: questpie31.CollectionHooks<any, any, any, any>;
|
|
4834
|
+
access: questpie31.CollectionAccess<any, any>;
|
|
4835
4835
|
functions: {
|
|
4836
|
-
[x: string]:
|
|
4836
|
+
[x: string]: questpie31.FunctionDefinition<any, any, any>;
|
|
4837
4837
|
};
|
|
4838
4838
|
searchable: undefined;
|
|
4839
4839
|
validation: undefined;
|
|
4840
4840
|
output: undefined;
|
|
4841
4841
|
upload: undefined;
|
|
4842
4842
|
}>;
|
|
4843
|
-
verification:
|
|
4844
|
-
options:
|
|
4843
|
+
verification: questpie31.CollectionBuilder<{
|
|
4844
|
+
options: questpie31.CollectionOptions;
|
|
4845
4845
|
name: "verification";
|
|
4846
4846
|
fields: {
|
|
4847
|
-
identifier:
|
|
4848
|
-
value:
|
|
4849
|
-
expiresAt:
|
|
4847
|
+
identifier: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4848
|
+
value: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4849
|
+
expiresAt: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgTimestampBuilder>;
|
|
4850
4850
|
};
|
|
4851
4851
|
localized: [];
|
|
4852
4852
|
virtuals: undefined;
|
|
4853
|
-
relations: Record<string,
|
|
4853
|
+
relations: Record<string, questpie31.RelationConfig>;
|
|
4854
4854
|
indexes: Record<string, any>;
|
|
4855
4855
|
title: "identifier";
|
|
4856
|
-
hooks:
|
|
4857
|
-
access:
|
|
4856
|
+
hooks: questpie31.CollectionHooks<any, any, any, any>;
|
|
4857
|
+
access: questpie31.CollectionAccess<any, any>;
|
|
4858
4858
|
functions: {
|
|
4859
|
-
[x: string]:
|
|
4859
|
+
[x: string]: questpie31.FunctionDefinition<any, any, any>;
|
|
4860
4860
|
};
|
|
4861
4861
|
searchable: undefined;
|
|
4862
4862
|
validation: undefined;
|
|
4863
4863
|
output: undefined;
|
|
4864
4864
|
upload: undefined;
|
|
4865
4865
|
}>;
|
|
4866
|
-
assets:
|
|
4866
|
+
assets: questpie31.CollectionBuilder<{
|
|
4867
4867
|
options: {
|
|
4868
4868
|
timestamps: true;
|
|
4869
4869
|
};
|
|
4870
4870
|
name: "assets";
|
|
4871
4871
|
fields: {
|
|
4872
|
-
width:
|
|
4873
|
-
height:
|
|
4874
|
-
alt:
|
|
4875
|
-
caption:
|
|
4872
|
+
width: drizzle_orm_pg_core0.PgIntegerBuilder;
|
|
4873
|
+
height: drizzle_orm_pg_core0.PgIntegerBuilder;
|
|
4874
|
+
alt: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4875
|
+
caption: drizzle_orm_pg_core0.PgTextBuilder<[string, ...string[]]>;
|
|
4876
4876
|
} & {
|
|
4877
|
-
key:
|
|
4878
|
-
filename:
|
|
4879
|
-
mimeType:
|
|
4880
|
-
size:
|
|
4881
|
-
visibility:
|
|
4877
|
+
key: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4878
|
+
filename: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4879
|
+
mimeType: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4880
|
+
size: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgIntegerBuilder>;
|
|
4881
|
+
visibility: drizzle_orm0.HasDefault<drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<["public", "private"]>>>;
|
|
4882
4882
|
};
|
|
4883
4883
|
localized: [];
|
|
4884
4884
|
virtuals: undefined;
|
|
4885
|
-
relations: Record<string,
|
|
4885
|
+
relations: Record<string, questpie31.RelationConfig>;
|
|
4886
4886
|
indexes: Record<string, any>;
|
|
4887
4887
|
title: "filename";
|
|
4888
4888
|
hooks: {
|
|
4889
4889
|
afterDelete: ({
|
|
4890
4890
|
data,
|
|
4891
4891
|
app
|
|
4892
|
-
}:
|
|
4892
|
+
}: questpie31.HookContext<{
|
|
4893
4893
|
width: number | null;
|
|
4894
4894
|
height: number | null;
|
|
4895
4895
|
alt: string | null;
|
|
@@ -4906,58 +4906,58 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
4906
4906
|
url: string;
|
|
4907
4907
|
}, never, "delete", any>) => Promise<void>;
|
|
4908
4908
|
};
|
|
4909
|
-
access:
|
|
4909
|
+
access: questpie31.CollectionAccess<any, any>;
|
|
4910
4910
|
functions: {
|
|
4911
|
-
[x: string]:
|
|
4911
|
+
[x: string]: questpie31.FunctionDefinition<any, any, any>;
|
|
4912
4912
|
};
|
|
4913
4913
|
searchable: undefined;
|
|
4914
4914
|
validation: undefined;
|
|
4915
|
-
output:
|
|
4915
|
+
output: questpie31.TypeMerge<{}, {
|
|
4916
4916
|
url: string;
|
|
4917
4917
|
}>;
|
|
4918
|
-
upload:
|
|
4918
|
+
upload: questpie31.UploadOptions;
|
|
4919
4919
|
}>;
|
|
4920
|
-
apikey:
|
|
4920
|
+
apikey: questpie31.CollectionBuilder<{
|
|
4921
4921
|
options: {
|
|
4922
4922
|
timestamps: true;
|
|
4923
4923
|
};
|
|
4924
4924
|
name: "apikey";
|
|
4925
4925
|
fields: {
|
|
4926
|
-
name:
|
|
4927
|
-
start:
|
|
4928
|
-
prefix:
|
|
4929
|
-
key:
|
|
4930
|
-
userId:
|
|
4931
|
-
refillInterval:
|
|
4932
|
-
refillAmount:
|
|
4933
|
-
lastRefillAt:
|
|
4934
|
-
enabled:
|
|
4935
|
-
rateLimitEnabled:
|
|
4936
|
-
rateLimitTimeWindow:
|
|
4937
|
-
rateLimitMax:
|
|
4938
|
-
requestCount:
|
|
4939
|
-
remaining:
|
|
4940
|
-
lastRequest:
|
|
4941
|
-
expiresAt:
|
|
4942
|
-
permissions:
|
|
4943
|
-
metadata:
|
|
4926
|
+
name: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4927
|
+
start: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4928
|
+
prefix: drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>;
|
|
4929
|
+
key: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4930
|
+
userId: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4931
|
+
refillInterval: drizzle_orm_pg_core0.PgIntegerBuilder;
|
|
4932
|
+
refillAmount: drizzle_orm_pg_core0.PgIntegerBuilder;
|
|
4933
|
+
lastRefillAt: drizzle_orm_pg_core0.PgTimestampBuilder;
|
|
4934
|
+
enabled: drizzle_orm0.HasDefault<drizzle_orm_pg_core0.PgBooleanBuilder>;
|
|
4935
|
+
rateLimitEnabled: drizzle_orm0.HasDefault<drizzle_orm_pg_core0.PgBooleanBuilder>;
|
|
4936
|
+
rateLimitTimeWindow: drizzle_orm_pg_core0.PgIntegerBuilder;
|
|
4937
|
+
rateLimitMax: drizzle_orm_pg_core0.PgIntegerBuilder;
|
|
4938
|
+
requestCount: drizzle_orm0.HasDefault<drizzle_orm_pg_core0.PgIntegerBuilder>;
|
|
4939
|
+
remaining: drizzle_orm_pg_core0.PgIntegerBuilder;
|
|
4940
|
+
lastRequest: drizzle_orm_pg_core0.PgTimestampBuilder;
|
|
4941
|
+
expiresAt: drizzle_orm_pg_core0.PgTimestampBuilder;
|
|
4942
|
+
permissions: drizzle_orm_pg_core0.PgTextBuilder<[string, ...string[]]>;
|
|
4943
|
+
metadata: drizzle_orm_pg_core0.PgTextBuilder<[string, ...string[]]>;
|
|
4944
4944
|
};
|
|
4945
4945
|
localized: [];
|
|
4946
4946
|
virtuals: undefined;
|
|
4947
|
-
relations: Record<string,
|
|
4947
|
+
relations: Record<string, questpie31.RelationConfig>;
|
|
4948
4948
|
indexes: Record<string, any>;
|
|
4949
4949
|
title: "key";
|
|
4950
|
-
hooks:
|
|
4951
|
-
access:
|
|
4950
|
+
hooks: questpie31.CollectionHooks<any, any, any, any>;
|
|
4951
|
+
access: questpie31.CollectionAccess<any, any>;
|
|
4952
4952
|
functions: {
|
|
4953
|
-
[x: string]:
|
|
4953
|
+
[x: string]: questpie31.FunctionDefinition<any, any, any>;
|
|
4954
4954
|
};
|
|
4955
4955
|
searchable: undefined;
|
|
4956
4956
|
validation: undefined;
|
|
4957
4957
|
output: undefined;
|
|
4958
4958
|
upload: undefined;
|
|
4959
4959
|
}>;
|
|
4960
|
-
admin_saved_views:
|
|
4960
|
+
admin_saved_views: questpie31.CollectionBuilder<{
|
|
4961
4961
|
name: "admin_saved_views";
|
|
4962
4962
|
localized: [];
|
|
4963
4963
|
output: undefined;
|
|
@@ -4966,25 +4966,25 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
4966
4966
|
timestamps: true;
|
|
4967
4967
|
};
|
|
4968
4968
|
fields: {
|
|
4969
|
-
userId:
|
|
4970
|
-
collectionName:
|
|
4971
|
-
name:
|
|
4972
|
-
configuration:
|
|
4973
|
-
isDefault:
|
|
4969
|
+
userId: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4970
|
+
collectionName: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4971
|
+
name: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4972
|
+
configuration: drizzle_orm0.$Type<drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgJsonbBuilder>, ViewConfiguration>;
|
|
4973
|
+
isDefault: drizzle_orm0.NotNull<drizzle_orm0.HasDefault<drizzle_orm_pg_core0.PgBooleanBuilder>>;
|
|
4974
4974
|
};
|
|
4975
4975
|
upload: undefined;
|
|
4976
4976
|
functions: {
|
|
4977
|
-
[x: string]:
|
|
4977
|
+
[x: string]: questpie31.FunctionDefinition<any, any, any>;
|
|
4978
4978
|
};
|
|
4979
|
-
hooks:
|
|
4979
|
+
hooks: questpie31.CollectionHooks<any, any, any, any>;
|
|
4980
4980
|
indexes: Record<string, any>;
|
|
4981
4981
|
searchable: undefined;
|
|
4982
4982
|
virtuals: undefined;
|
|
4983
|
-
relations: Record<string,
|
|
4984
|
-
access:
|
|
4983
|
+
relations: Record<string, questpie31.RelationConfig>;
|
|
4984
|
+
access: questpie31.CollectionAccess<any, any>;
|
|
4985
4985
|
validation: undefined;
|
|
4986
4986
|
}>;
|
|
4987
|
-
admin_preferences:
|
|
4987
|
+
admin_preferences: questpie31.CollectionBuilder<{
|
|
4988
4988
|
name: "admin_preferences";
|
|
4989
4989
|
localized: [];
|
|
4990
4990
|
output: undefined;
|
|
@@ -4993,27 +4993,28 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
4993
4993
|
timestamps: true;
|
|
4994
4994
|
};
|
|
4995
4995
|
fields: {
|
|
4996
|
-
userId:
|
|
4997
|
-
key:
|
|
4998
|
-
value:
|
|
4996
|
+
userId: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4997
|
+
key: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgVarcharBuilder<[string, ...string[]]>>;
|
|
4998
|
+
value: drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgJsonbBuilder>;
|
|
4999
4999
|
};
|
|
5000
5000
|
upload: undefined;
|
|
5001
5001
|
functions: {
|
|
5002
|
-
[x: string]:
|
|
5002
|
+
[x: string]: questpie31.FunctionDefinition<any, any, any>;
|
|
5003
5003
|
};
|
|
5004
|
-
hooks:
|
|
5005
|
-
indexes:
|
|
5004
|
+
hooks: questpie31.CollectionHooks<any, any, any, any>;
|
|
5005
|
+
indexes: drizzle_orm_pg_core0.IndexBuilder[];
|
|
5006
5006
|
searchable: undefined;
|
|
5007
5007
|
virtuals: undefined;
|
|
5008
|
-
relations: Record<string,
|
|
5009
|
-
access:
|
|
5008
|
+
relations: Record<string, questpie31.RelationConfig>;
|
|
5009
|
+
access: questpie31.CollectionAccess<any, any>;
|
|
5010
5010
|
validation: undefined;
|
|
5011
5011
|
}>;
|
|
5012
5012
|
};
|
|
5013
|
-
globals:
|
|
5014
|
-
translations:
|
|
5013
|
+
globals: questpie31.TypeMerge<questpie31.UnsetProperty<{}, keyof TOtherGlobals>, {}>;
|
|
5014
|
+
translations: questpie31.TranslationsConfig | undefined;
|
|
5015
|
+
defaultAccess: questpie31.CollectionAccess<any, any> | undefined;
|
|
5015
5016
|
"~messageKeys": unknown;
|
|
5016
|
-
auth:
|
|
5017
|
+
auth: questpie31.MergeAuthOptions<{}, questpie31.MergeAuthOptions<{}, {
|
|
5017
5018
|
baseURL: string | undefined;
|
|
5018
5019
|
secret: string | undefined;
|
|
5019
5020
|
advanced: {
|
|
@@ -5059,7 +5060,7 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5059
5060
|
token: string;
|
|
5060
5061
|
ipAddress?: string | null | undefined;
|
|
5061
5062
|
userAgent?: string | null | undefined;
|
|
5062
|
-
} & Record<string, unknown>, ctx:
|
|
5063
|
+
} & Record<string, unknown>, ctx: better_auth0.GenericEndpointContext | null): Promise<void>;
|
|
5063
5064
|
};
|
|
5064
5065
|
};
|
|
5065
5066
|
};
|
|
@@ -5067,22 +5068,22 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5067
5068
|
};
|
|
5068
5069
|
hooks: {
|
|
5069
5070
|
after: {
|
|
5070
|
-
matcher(context:
|
|
5071
|
-
handler: (inputContext:
|
|
5071
|
+
matcher(context: better_auth0.HookEndpointContext): boolean;
|
|
5072
|
+
handler: (inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<better_auth_plugins0.SessionWithImpersonatedBy[] | undefined>;
|
|
5072
5073
|
}[];
|
|
5073
5074
|
};
|
|
5074
5075
|
endpoints: {
|
|
5075
|
-
setRole:
|
|
5076
|
+
setRole: better_call0.StrictEndpoint<"/admin/set-role", {
|
|
5076
5077
|
method: "POST";
|
|
5077
|
-
body:
|
|
5078
|
-
userId:
|
|
5079
|
-
role:
|
|
5080
|
-
},
|
|
5078
|
+
body: zod0.ZodObject<{
|
|
5079
|
+
userId: zod0.ZodCoercedString<unknown>;
|
|
5080
|
+
role: zod0.ZodUnion<readonly [zod0.ZodString, zod0.ZodArray<zod0.ZodString>]>;
|
|
5081
|
+
}, better_auth0.$strip>;
|
|
5081
5082
|
requireHeaders: true;
|
|
5082
|
-
use: ((inputContext:
|
|
5083
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5083
5084
|
session: {
|
|
5084
|
-
user:
|
|
5085
|
-
session:
|
|
5085
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5086
|
+
session: better_auth0.Session;
|
|
5086
5087
|
};
|
|
5087
5088
|
}>)[];
|
|
5088
5089
|
metadata: {
|
|
@@ -5116,17 +5117,17 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5116
5117
|
};
|
|
5117
5118
|
};
|
|
5118
5119
|
}, {
|
|
5119
|
-
user:
|
|
5120
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5120
5121
|
}>;
|
|
5121
|
-
getUser:
|
|
5122
|
+
getUser: better_call0.StrictEndpoint<"/admin/get-user", {
|
|
5122
5123
|
method: "GET";
|
|
5123
|
-
query:
|
|
5124
|
-
id:
|
|
5125
|
-
},
|
|
5126
|
-
use: ((inputContext:
|
|
5124
|
+
query: zod0.ZodObject<{
|
|
5125
|
+
id: zod0.ZodString;
|
|
5126
|
+
}, better_auth0.$strip>;
|
|
5127
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5127
5128
|
session: {
|
|
5128
|
-
user:
|
|
5129
|
-
session:
|
|
5129
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5130
|
+
session: better_auth0.Session;
|
|
5130
5131
|
};
|
|
5131
5132
|
}>)[];
|
|
5132
5133
|
metadata: {
|
|
@@ -5153,16 +5154,16 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5153
5154
|
};
|
|
5154
5155
|
};
|
|
5155
5156
|
};
|
|
5156
|
-
},
|
|
5157
|
-
createUser:
|
|
5157
|
+
}, better_auth_plugins0.UserWithRole>;
|
|
5158
|
+
createUser: better_call0.StrictEndpoint<"/admin/create-user", {
|
|
5158
5159
|
method: "POST";
|
|
5159
|
-
body:
|
|
5160
|
-
email:
|
|
5161
|
-
password:
|
|
5162
|
-
name:
|
|
5163
|
-
role:
|
|
5164
|
-
data:
|
|
5165
|
-
},
|
|
5160
|
+
body: zod0.ZodObject<{
|
|
5161
|
+
email: zod0.ZodString;
|
|
5162
|
+
password: zod0.ZodOptional<zod0.ZodString>;
|
|
5163
|
+
name: zod0.ZodString;
|
|
5164
|
+
role: zod0.ZodOptional<zod0.ZodUnion<readonly [zod0.ZodString, zod0.ZodArray<zod0.ZodString>]>>;
|
|
5165
|
+
data: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
|
|
5166
|
+
}, better_auth0.$strip>;
|
|
5166
5167
|
metadata: {
|
|
5167
5168
|
openapi: {
|
|
5168
5169
|
operationId: string;
|
|
@@ -5197,18 +5198,18 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5197
5198
|
};
|
|
5198
5199
|
};
|
|
5199
5200
|
}, {
|
|
5200
|
-
user:
|
|
5201
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5201
5202
|
}>;
|
|
5202
|
-
adminUpdateUser:
|
|
5203
|
+
adminUpdateUser: better_call0.StrictEndpoint<"/admin/update-user", {
|
|
5203
5204
|
method: "POST";
|
|
5204
|
-
body:
|
|
5205
|
-
userId:
|
|
5206
|
-
data:
|
|
5207
|
-
},
|
|
5208
|
-
use: ((inputContext:
|
|
5205
|
+
body: zod0.ZodObject<{
|
|
5206
|
+
userId: zod0.ZodCoercedString<unknown>;
|
|
5207
|
+
data: zod0.ZodRecord<zod0.ZodAny, zod0.ZodAny>;
|
|
5208
|
+
}, better_auth0.$strip>;
|
|
5209
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5209
5210
|
session: {
|
|
5210
|
-
user:
|
|
5211
|
-
session:
|
|
5211
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5212
|
+
session: better_auth0.Session;
|
|
5212
5213
|
};
|
|
5213
5214
|
}>)[];
|
|
5214
5215
|
metadata: {
|
|
@@ -5235,36 +5236,36 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5235
5236
|
};
|
|
5236
5237
|
};
|
|
5237
5238
|
};
|
|
5238
|
-
},
|
|
5239
|
-
listUsers:
|
|
5239
|
+
}, better_auth_plugins0.UserWithRole>;
|
|
5240
|
+
listUsers: better_call0.StrictEndpoint<"/admin/list-users", {
|
|
5240
5241
|
method: "GET";
|
|
5241
|
-
use: ((inputContext:
|
|
5242
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5242
5243
|
session: {
|
|
5243
|
-
user:
|
|
5244
|
-
session:
|
|
5244
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5245
|
+
session: better_auth0.Session;
|
|
5245
5246
|
};
|
|
5246
5247
|
}>)[];
|
|
5247
|
-
query:
|
|
5248
|
-
searchValue:
|
|
5249
|
-
searchField:
|
|
5248
|
+
query: zod0.ZodObject<{
|
|
5249
|
+
searchValue: zod0.ZodOptional<zod0.ZodString>;
|
|
5250
|
+
searchField: zod0.ZodOptional<zod0.ZodEnum<{
|
|
5250
5251
|
name: "name";
|
|
5251
5252
|
email: "email";
|
|
5252
5253
|
}>>;
|
|
5253
|
-
searchOperator:
|
|
5254
|
+
searchOperator: zod0.ZodOptional<zod0.ZodEnum<{
|
|
5254
5255
|
contains: "contains";
|
|
5255
5256
|
starts_with: "starts_with";
|
|
5256
5257
|
ends_with: "ends_with";
|
|
5257
5258
|
}>>;
|
|
5258
|
-
limit:
|
|
5259
|
-
offset:
|
|
5260
|
-
sortBy:
|
|
5261
|
-
sortDirection:
|
|
5259
|
+
limit: zod0.ZodOptional<zod0.ZodUnion<[zod0.ZodString, zod0.ZodNumber]>>;
|
|
5260
|
+
offset: zod0.ZodOptional<zod0.ZodUnion<[zod0.ZodString, zod0.ZodNumber]>>;
|
|
5261
|
+
sortBy: zod0.ZodOptional<zod0.ZodString>;
|
|
5262
|
+
sortDirection: zod0.ZodOptional<zod0.ZodEnum<{
|
|
5262
5263
|
asc: "asc";
|
|
5263
5264
|
desc: "desc";
|
|
5264
5265
|
}>>;
|
|
5265
|
-
filterField:
|
|
5266
|
-
filterValue:
|
|
5267
|
-
filterOperator:
|
|
5266
|
+
filterField: zod0.ZodOptional<zod0.ZodString>;
|
|
5267
|
+
filterValue: zod0.ZodOptional<zod0.ZodUnion<[zod0.ZodUnion<[zod0.ZodString, zod0.ZodNumber]>, zod0.ZodBoolean]>>;
|
|
5268
|
+
filterOperator: zod0.ZodOptional<zod0.ZodEnum<{
|
|
5268
5269
|
eq: "eq";
|
|
5269
5270
|
ne: "ne";
|
|
5270
5271
|
lt: "lt";
|
|
@@ -5273,7 +5274,7 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5273
5274
|
gte: "gte";
|
|
5274
5275
|
contains: "contains";
|
|
5275
5276
|
}>>;
|
|
5276
|
-
},
|
|
5277
|
+
}, better_auth0.$strip>;
|
|
5277
5278
|
metadata: {
|
|
5278
5279
|
openapi: {
|
|
5279
5280
|
operationId: string;
|
|
@@ -5312,7 +5313,7 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5312
5313
|
};
|
|
5313
5314
|
};
|
|
5314
5315
|
}, {
|
|
5315
|
-
users:
|
|
5316
|
+
users: better_auth_plugins0.UserWithRole[];
|
|
5316
5317
|
total: number;
|
|
5317
5318
|
limit: number | undefined;
|
|
5318
5319
|
offset: number | undefined;
|
|
@@ -5320,17 +5321,17 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5320
5321
|
users: never[];
|
|
5321
5322
|
total: number;
|
|
5322
5323
|
}>;
|
|
5323
|
-
listUserSessions:
|
|
5324
|
+
listUserSessions: better_call0.StrictEndpoint<"/admin/list-user-sessions", {
|
|
5324
5325
|
method: "POST";
|
|
5325
|
-
use: ((inputContext:
|
|
5326
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5326
5327
|
session: {
|
|
5327
|
-
user:
|
|
5328
|
-
session:
|
|
5328
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5329
|
+
session: better_auth0.Session;
|
|
5329
5330
|
};
|
|
5330
5331
|
}>)[];
|
|
5331
|
-
body:
|
|
5332
|
-
userId:
|
|
5333
|
-
},
|
|
5332
|
+
body: zod0.ZodObject<{
|
|
5333
|
+
userId: zod0.ZodCoercedString<unknown>;
|
|
5334
|
+
}, better_auth0.$strip>;
|
|
5334
5335
|
metadata: {
|
|
5335
5336
|
openapi: {
|
|
5336
5337
|
operationId: string;
|
|
@@ -5359,17 +5360,17 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5359
5360
|
};
|
|
5360
5361
|
};
|
|
5361
5362
|
}, {
|
|
5362
|
-
sessions:
|
|
5363
|
+
sessions: better_auth_plugins0.SessionWithImpersonatedBy[];
|
|
5363
5364
|
}>;
|
|
5364
|
-
unbanUser:
|
|
5365
|
+
unbanUser: better_call0.StrictEndpoint<"/admin/unban-user", {
|
|
5365
5366
|
method: "POST";
|
|
5366
|
-
body:
|
|
5367
|
-
userId:
|
|
5368
|
-
},
|
|
5369
|
-
use: ((inputContext:
|
|
5367
|
+
body: zod0.ZodObject<{
|
|
5368
|
+
userId: zod0.ZodCoercedString<unknown>;
|
|
5369
|
+
}, better_auth0.$strip>;
|
|
5370
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5370
5371
|
session: {
|
|
5371
|
-
user:
|
|
5372
|
-
session:
|
|
5372
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5373
|
+
session: better_auth0.Session;
|
|
5373
5374
|
};
|
|
5374
5375
|
}>)[];
|
|
5375
5376
|
metadata: {
|
|
@@ -5397,19 +5398,19 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5397
5398
|
};
|
|
5398
5399
|
};
|
|
5399
5400
|
}, {
|
|
5400
|
-
user:
|
|
5401
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5401
5402
|
}>;
|
|
5402
|
-
banUser:
|
|
5403
|
+
banUser: better_call0.StrictEndpoint<"/admin/ban-user", {
|
|
5403
5404
|
method: "POST";
|
|
5404
|
-
body:
|
|
5405
|
-
userId:
|
|
5406
|
-
banReason:
|
|
5407
|
-
banExpiresIn:
|
|
5408
|
-
},
|
|
5409
|
-
use: ((inputContext:
|
|
5405
|
+
body: zod0.ZodObject<{
|
|
5406
|
+
userId: zod0.ZodCoercedString<unknown>;
|
|
5407
|
+
banReason: zod0.ZodOptional<zod0.ZodString>;
|
|
5408
|
+
banExpiresIn: zod0.ZodOptional<zod0.ZodNumber>;
|
|
5409
|
+
}, better_auth0.$strip>;
|
|
5410
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5410
5411
|
session: {
|
|
5411
|
-
user:
|
|
5412
|
-
session:
|
|
5412
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5413
|
+
session: better_auth0.Session;
|
|
5413
5414
|
};
|
|
5414
5415
|
}>)[];
|
|
5415
5416
|
metadata: {
|
|
@@ -5437,17 +5438,17 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5437
5438
|
};
|
|
5438
5439
|
};
|
|
5439
5440
|
}, {
|
|
5440
|
-
user:
|
|
5441
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5441
5442
|
}>;
|
|
5442
|
-
impersonateUser:
|
|
5443
|
+
impersonateUser: better_call0.StrictEndpoint<"/admin/impersonate-user", {
|
|
5443
5444
|
method: "POST";
|
|
5444
|
-
body:
|
|
5445
|
-
userId:
|
|
5446
|
-
},
|
|
5447
|
-
use: ((inputContext:
|
|
5445
|
+
body: zod0.ZodObject<{
|
|
5446
|
+
userId: zod0.ZodCoercedString<unknown>;
|
|
5447
|
+
}, better_auth0.$strip>;
|
|
5448
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5448
5449
|
session: {
|
|
5449
|
-
user:
|
|
5450
|
-
session:
|
|
5450
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5451
|
+
session: better_auth0.Session;
|
|
5451
5452
|
};
|
|
5452
5453
|
}>)[];
|
|
5453
5454
|
metadata: {
|
|
@@ -5488,9 +5489,9 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5488
5489
|
ipAddress?: string | null | undefined;
|
|
5489
5490
|
userAgent?: string | null | undefined;
|
|
5490
5491
|
};
|
|
5491
|
-
user:
|
|
5492
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5492
5493
|
}>;
|
|
5493
|
-
stopImpersonating:
|
|
5494
|
+
stopImpersonating: better_call0.StrictEndpoint<"/admin/stop-impersonating", {
|
|
5494
5495
|
method: "POST";
|
|
5495
5496
|
requireHeaders: true;
|
|
5496
5497
|
}, {
|
|
@@ -5514,15 +5515,15 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5514
5515
|
image?: string | null | undefined;
|
|
5515
5516
|
} & Record<string, any>;
|
|
5516
5517
|
}>;
|
|
5517
|
-
revokeUserSession:
|
|
5518
|
+
revokeUserSession: better_call0.StrictEndpoint<"/admin/revoke-user-session", {
|
|
5518
5519
|
method: "POST";
|
|
5519
|
-
body:
|
|
5520
|
-
sessionToken:
|
|
5521
|
-
},
|
|
5522
|
-
use: ((inputContext:
|
|
5520
|
+
body: zod0.ZodObject<{
|
|
5521
|
+
sessionToken: zod0.ZodString;
|
|
5522
|
+
}, better_auth0.$strip>;
|
|
5523
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5523
5524
|
session: {
|
|
5524
|
-
user:
|
|
5525
|
-
session:
|
|
5525
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5526
|
+
session: better_auth0.Session;
|
|
5526
5527
|
};
|
|
5527
5528
|
}>)[];
|
|
5528
5529
|
metadata: {
|
|
@@ -5552,15 +5553,15 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5552
5553
|
}, {
|
|
5553
5554
|
success: boolean;
|
|
5554
5555
|
}>;
|
|
5555
|
-
revokeUserSessions:
|
|
5556
|
+
revokeUserSessions: better_call0.StrictEndpoint<"/admin/revoke-user-sessions", {
|
|
5556
5557
|
method: "POST";
|
|
5557
|
-
body:
|
|
5558
|
-
userId:
|
|
5559
|
-
},
|
|
5560
|
-
use: ((inputContext:
|
|
5558
|
+
body: zod0.ZodObject<{
|
|
5559
|
+
userId: zod0.ZodCoercedString<unknown>;
|
|
5560
|
+
}, better_auth0.$strip>;
|
|
5561
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5561
5562
|
session: {
|
|
5562
|
-
user:
|
|
5563
|
-
session:
|
|
5563
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5564
|
+
session: better_auth0.Session;
|
|
5564
5565
|
};
|
|
5565
5566
|
}>)[];
|
|
5566
5567
|
metadata: {
|
|
@@ -5590,15 +5591,15 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5590
5591
|
}, {
|
|
5591
5592
|
success: boolean;
|
|
5592
5593
|
}>;
|
|
5593
|
-
removeUser:
|
|
5594
|
+
removeUser: better_call0.StrictEndpoint<"/admin/remove-user", {
|
|
5594
5595
|
method: "POST";
|
|
5595
|
-
body:
|
|
5596
|
-
userId:
|
|
5597
|
-
},
|
|
5598
|
-
use: ((inputContext:
|
|
5596
|
+
body: zod0.ZodObject<{
|
|
5597
|
+
userId: zod0.ZodCoercedString<unknown>;
|
|
5598
|
+
}, better_auth0.$strip>;
|
|
5599
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5599
5600
|
session: {
|
|
5600
|
-
user:
|
|
5601
|
-
session:
|
|
5601
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5602
|
+
session: better_auth0.Session;
|
|
5602
5603
|
};
|
|
5603
5604
|
}>)[];
|
|
5604
5605
|
metadata: {
|
|
@@ -5628,16 +5629,16 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5628
5629
|
}, {
|
|
5629
5630
|
success: boolean;
|
|
5630
5631
|
}>;
|
|
5631
|
-
setUserPassword:
|
|
5632
|
+
setUserPassword: better_call0.StrictEndpoint<"/admin/set-user-password", {
|
|
5632
5633
|
method: "POST";
|
|
5633
|
-
body:
|
|
5634
|
-
newPassword:
|
|
5635
|
-
userId:
|
|
5636
|
-
},
|
|
5637
|
-
use: ((inputContext:
|
|
5634
|
+
body: zod0.ZodObject<{
|
|
5635
|
+
newPassword: zod0.ZodString;
|
|
5636
|
+
userId: zod0.ZodCoercedString<unknown>;
|
|
5637
|
+
}, better_auth0.$strip>;
|
|
5638
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5638
5639
|
session: {
|
|
5639
|
-
user:
|
|
5640
|
-
session:
|
|
5640
|
+
user: better_auth_plugins0.UserWithRole;
|
|
5641
|
+
session: better_auth0.Session;
|
|
5641
5642
|
};
|
|
5642
5643
|
}>)[];
|
|
5643
5644
|
metadata: {
|
|
@@ -5667,18 +5668,18 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5667
5668
|
}, {
|
|
5668
5669
|
status: boolean;
|
|
5669
5670
|
}>;
|
|
5670
|
-
userHasPermission:
|
|
5671
|
+
userHasPermission: better_call0.StrictEndpoint<"/admin/has-permission", {
|
|
5671
5672
|
method: "POST";
|
|
5672
|
-
body:
|
|
5673
|
-
userId:
|
|
5674
|
-
role:
|
|
5675
|
-
},
|
|
5676
|
-
permission:
|
|
5677
|
-
permissions:
|
|
5678
|
-
},
|
|
5679
|
-
permission:
|
|
5680
|
-
permissions:
|
|
5681
|
-
},
|
|
5673
|
+
body: zod0.ZodIntersection<zod0.ZodObject<{
|
|
5674
|
+
userId: zod0.ZodOptional<zod0.ZodCoercedString<unknown>>;
|
|
5675
|
+
role: zod0.ZodOptional<zod0.ZodString>;
|
|
5676
|
+
}, better_auth0.$strip>, zod0.ZodUnion<readonly [zod0.ZodObject<{
|
|
5677
|
+
permission: zod0.ZodRecord<zod0.ZodString, zod0.ZodArray<zod0.ZodString>>;
|
|
5678
|
+
permissions: zod0.ZodUndefined;
|
|
5679
|
+
}, better_auth0.$strip>, zod0.ZodObject<{
|
|
5680
|
+
permission: zod0.ZodUndefined;
|
|
5681
|
+
permissions: zod0.ZodRecord<zod0.ZodString, zod0.ZodArray<zod0.ZodString>>;
|
|
5682
|
+
}, better_auth0.$strip>]>>;
|
|
5682
5683
|
metadata: {
|
|
5683
5684
|
openapi: {
|
|
5684
5685
|
description: string;
|
|
@@ -5807,7 +5808,7 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5807
5808
|
};
|
|
5808
5809
|
};
|
|
5809
5810
|
};
|
|
5810
|
-
options: NoInfer<
|
|
5811
|
+
options: NoInfer<better_auth_plugins0.AdminOptions>;
|
|
5811
5812
|
}, {
|
|
5812
5813
|
id: "api-key";
|
|
5813
5814
|
$ERROR_CODES: {
|
|
@@ -5839,8 +5840,8 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5839
5840
|
};
|
|
5840
5841
|
hooks: {
|
|
5841
5842
|
before: {
|
|
5842
|
-
matcher: (ctx:
|
|
5843
|
-
handler: (inputContext:
|
|
5843
|
+
matcher: (ctx: better_auth0.HookEndpointContext) => boolean;
|
|
5844
|
+
handler: (inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
5844
5845
|
user: {
|
|
5845
5846
|
id: string;
|
|
5846
5847
|
createdAt: Date;
|
|
@@ -5861,11 +5862,11 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5861
5862
|
expiresAt: Date;
|
|
5862
5863
|
};
|
|
5863
5864
|
} | {
|
|
5864
|
-
context:
|
|
5865
|
+
context: better_call0.MiddlewareContext<better_call0.MiddlewareOptions, {
|
|
5865
5866
|
returned?: unknown | undefined;
|
|
5866
5867
|
responseHeaders?: Headers | undefined;
|
|
5867
|
-
} &
|
|
5868
|
-
options:
|
|
5868
|
+
} & better_auth0.PluginContext & better_auth0.InfoContext & {
|
|
5869
|
+
options: better_auth0.BetterAuthOptions;
|
|
5869
5870
|
trustedOrigins: string[];
|
|
5870
5871
|
isTrustedOrigin: (url: string, settings?: {
|
|
5871
5872
|
allowRelativePaths: boolean;
|
|
@@ -5875,29 +5876,29 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5875
5876
|
storeStateStrategy: "database" | "cookie";
|
|
5876
5877
|
};
|
|
5877
5878
|
newSession: {
|
|
5878
|
-
session:
|
|
5879
|
-
user:
|
|
5879
|
+
session: better_auth0.Session & Record<string, any>;
|
|
5880
|
+
user: better_auth0.User & Record<string, any>;
|
|
5880
5881
|
} | null;
|
|
5881
5882
|
session: {
|
|
5882
|
-
session:
|
|
5883
|
-
user:
|
|
5883
|
+
session: better_auth0.Session & Record<string, any>;
|
|
5884
|
+
user: better_auth0.User & Record<string, any>;
|
|
5884
5885
|
} | null;
|
|
5885
5886
|
setNewSession: (session: {
|
|
5886
|
-
session:
|
|
5887
|
-
user:
|
|
5887
|
+
session: better_auth0.Session & Record<string, any>;
|
|
5888
|
+
user: better_auth0.User & Record<string, any>;
|
|
5888
5889
|
} | null) => void;
|
|
5889
|
-
socialProviders:
|
|
5890
|
-
authCookies:
|
|
5891
|
-
logger: ReturnType<(options?:
|
|
5890
|
+
socialProviders: better_auth0.OAuthProvider[];
|
|
5891
|
+
authCookies: better_auth0.BetterAuthCookies;
|
|
5892
|
+
logger: ReturnType<(options?: better_auth0.Logger | undefined) => better_auth0.InternalLogger>;
|
|
5892
5893
|
rateLimit: {
|
|
5893
5894
|
enabled: boolean;
|
|
5894
5895
|
window: number;
|
|
5895
5896
|
max: number;
|
|
5896
5897
|
storage: "memory" | "database" | "secondary-storage";
|
|
5897
|
-
} & Omit<
|
|
5898
|
-
adapter:
|
|
5899
|
-
internalAdapter:
|
|
5900
|
-
createAuthCookie: (cookieName: string, overrideAttributes?: Partial<
|
|
5898
|
+
} & Omit<better_auth0.BetterAuthRateLimitOptions, "enabled" | "window" | "max" | "storage">;
|
|
5899
|
+
adapter: better_auth0.DBAdapter<better_auth0.BetterAuthOptions>;
|
|
5900
|
+
internalAdapter: better_auth0.InternalAdapter<better_auth0.BetterAuthOptions>;
|
|
5901
|
+
createAuthCookie: (cookieName: string, overrideAttributes?: Partial<better_call0.CookieOptions> | undefined) => better_auth0.BetterAuthCookie;
|
|
5901
5902
|
secret: string;
|
|
5902
5903
|
sessionConfig: {
|
|
5903
5904
|
updateAge: number;
|
|
@@ -5909,10 +5910,10 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5909
5910
|
};
|
|
5910
5911
|
};
|
|
5911
5912
|
generateId: (options: {
|
|
5912
|
-
model:
|
|
5913
|
+
model: better_auth0.ModelNames;
|
|
5913
5914
|
size?: number | undefined;
|
|
5914
5915
|
}) => string | false;
|
|
5915
|
-
secondaryStorage:
|
|
5916
|
+
secondaryStorage: better_auth0.SecondaryStorage | undefined;
|
|
5916
5917
|
password: {
|
|
5917
5918
|
hash: (password: string) => Promise<string>;
|
|
5918
5919
|
verify: (data: {
|
|
@@ -5923,9 +5924,9 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5923
5924
|
minPasswordLength: number;
|
|
5924
5925
|
maxPasswordLength: number;
|
|
5925
5926
|
};
|
|
5926
|
-
checkPassword: (userId: string, ctx:
|
|
5927
|
+
checkPassword: (userId: string, ctx: better_auth0.GenericEndpointContext<better_auth0.BetterAuthOptions>) => Promise<boolean>;
|
|
5927
5928
|
};
|
|
5928
|
-
tables:
|
|
5929
|
+
tables: better_auth0.BetterAuthDBSchema;
|
|
5929
5930
|
runMigrations: () => Promise<void>;
|
|
5930
5931
|
publishTelemetry: (event: {
|
|
5931
5932
|
type: string;
|
|
@@ -5941,22 +5942,22 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
5941
5942
|
}[];
|
|
5942
5943
|
};
|
|
5943
5944
|
endpoints: {
|
|
5944
|
-
createApiKey:
|
|
5945
|
+
createApiKey: better_call0.StrictEndpoint<"/api-key/create", {
|
|
5945
5946
|
method: "POST";
|
|
5946
|
-
body:
|
|
5947
|
-
name:
|
|
5948
|
-
expiresIn:
|
|
5949
|
-
userId:
|
|
5950
|
-
prefix:
|
|
5951
|
-
remaining:
|
|
5952
|
-
metadata:
|
|
5953
|
-
refillAmount:
|
|
5954
|
-
refillInterval:
|
|
5955
|
-
rateLimitTimeWindow:
|
|
5956
|
-
rateLimitMax:
|
|
5957
|
-
rateLimitEnabled:
|
|
5958
|
-
permissions:
|
|
5959
|
-
},
|
|
5947
|
+
body: zod0.ZodObject<{
|
|
5948
|
+
name: zod0.ZodOptional<zod0.ZodString>;
|
|
5949
|
+
expiresIn: zod0.ZodDefault<zod0.ZodNullable<zod0.ZodOptional<zod0.ZodNumber>>>;
|
|
5950
|
+
userId: zod0.ZodOptional<zod0.ZodCoercedString<unknown>>;
|
|
5951
|
+
prefix: zod0.ZodOptional<zod0.ZodString>;
|
|
5952
|
+
remaining: zod0.ZodDefault<zod0.ZodNullable<zod0.ZodOptional<zod0.ZodNumber>>>;
|
|
5953
|
+
metadata: zod0.ZodOptional<zod0.ZodAny>;
|
|
5954
|
+
refillAmount: zod0.ZodOptional<zod0.ZodNumber>;
|
|
5955
|
+
refillInterval: zod0.ZodOptional<zod0.ZodNumber>;
|
|
5956
|
+
rateLimitTimeWindow: zod0.ZodOptional<zod0.ZodNumber>;
|
|
5957
|
+
rateLimitMax: zod0.ZodOptional<zod0.ZodNumber>;
|
|
5958
|
+
rateLimitEnabled: zod0.ZodOptional<zod0.ZodBoolean>;
|
|
5959
|
+
permissions: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodArray<zod0.ZodString>>>;
|
|
5960
|
+
}, better_auth0.$strip>;
|
|
5960
5961
|
metadata: {
|
|
5961
5962
|
openapi: {
|
|
5962
5963
|
description: string;
|
|
@@ -6109,12 +6110,12 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6109
6110
|
createdAt: Date;
|
|
6110
6111
|
updatedAt: Date;
|
|
6111
6112
|
}>;
|
|
6112
|
-
verifyApiKey:
|
|
6113
|
+
verifyApiKey: better_call0.StrictEndpoint<string, {
|
|
6113
6114
|
method: "POST";
|
|
6114
|
-
body:
|
|
6115
|
-
key:
|
|
6116
|
-
permissions:
|
|
6117
|
-
},
|
|
6115
|
+
body: zod0.ZodObject<{
|
|
6116
|
+
key: zod0.ZodString;
|
|
6117
|
+
permissions: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodArray<zod0.ZodString>>>;
|
|
6118
|
+
}, better_auth0.$strip>;
|
|
6118
6119
|
}, {
|
|
6119
6120
|
valid: boolean;
|
|
6120
6121
|
error: {
|
|
@@ -6125,14 +6126,14 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6125
6126
|
} | {
|
|
6126
6127
|
valid: boolean;
|
|
6127
6128
|
error: null;
|
|
6128
|
-
key: Omit<
|
|
6129
|
+
key: Omit<better_auth_plugins0.ApiKey, "key"> | null;
|
|
6129
6130
|
}>;
|
|
6130
|
-
getApiKey:
|
|
6131
|
+
getApiKey: better_call0.StrictEndpoint<"/api-key/get", {
|
|
6131
6132
|
method: "GET";
|
|
6132
|
-
query:
|
|
6133
|
-
id:
|
|
6134
|
-
},
|
|
6135
|
-
use: ((inputContext:
|
|
6133
|
+
query: zod0.ZodObject<{
|
|
6134
|
+
id: zod0.ZodString;
|
|
6135
|
+
}, better_auth0.$strip>;
|
|
6136
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
6136
6137
|
session: {
|
|
6137
6138
|
session: Record<string, any> & {
|
|
6138
6139
|
id: string;
|
|
@@ -6299,23 +6300,23 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6299
6300
|
createdAt: Date;
|
|
6300
6301
|
updatedAt: Date;
|
|
6301
6302
|
}>;
|
|
6302
|
-
updateApiKey:
|
|
6303
|
+
updateApiKey: better_call0.StrictEndpoint<"/api-key/update", {
|
|
6303
6304
|
method: "POST";
|
|
6304
|
-
body:
|
|
6305
|
-
keyId:
|
|
6306
|
-
userId:
|
|
6307
|
-
name:
|
|
6308
|
-
enabled:
|
|
6309
|
-
remaining:
|
|
6310
|
-
refillAmount:
|
|
6311
|
-
refillInterval:
|
|
6312
|
-
metadata:
|
|
6313
|
-
expiresIn:
|
|
6314
|
-
rateLimitEnabled:
|
|
6315
|
-
rateLimitTimeWindow:
|
|
6316
|
-
rateLimitMax:
|
|
6317
|
-
permissions:
|
|
6318
|
-
},
|
|
6305
|
+
body: zod0.ZodObject<{
|
|
6306
|
+
keyId: zod0.ZodString;
|
|
6307
|
+
userId: zod0.ZodOptional<zod0.ZodCoercedString<unknown>>;
|
|
6308
|
+
name: zod0.ZodOptional<zod0.ZodString>;
|
|
6309
|
+
enabled: zod0.ZodOptional<zod0.ZodBoolean>;
|
|
6310
|
+
remaining: zod0.ZodOptional<zod0.ZodNumber>;
|
|
6311
|
+
refillAmount: zod0.ZodOptional<zod0.ZodNumber>;
|
|
6312
|
+
refillInterval: zod0.ZodOptional<zod0.ZodNumber>;
|
|
6313
|
+
metadata: zod0.ZodOptional<zod0.ZodAny>;
|
|
6314
|
+
expiresIn: zod0.ZodNullable<zod0.ZodOptional<zod0.ZodNumber>>;
|
|
6315
|
+
rateLimitEnabled: zod0.ZodOptional<zod0.ZodBoolean>;
|
|
6316
|
+
rateLimitTimeWindow: zod0.ZodOptional<zod0.ZodNumber>;
|
|
6317
|
+
rateLimitMax: zod0.ZodOptional<zod0.ZodNumber>;
|
|
6318
|
+
permissions: zod0.ZodNullable<zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodArray<zod0.ZodString>>>>;
|
|
6319
|
+
}, better_auth0.$strip>;
|
|
6319
6320
|
metadata: {
|
|
6320
6321
|
openapi: {
|
|
6321
6322
|
description: string;
|
|
@@ -6460,12 +6461,12 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6460
6461
|
createdAt: Date;
|
|
6461
6462
|
updatedAt: Date;
|
|
6462
6463
|
}>;
|
|
6463
|
-
deleteApiKey:
|
|
6464
|
+
deleteApiKey: better_call0.StrictEndpoint<"/api-key/delete", {
|
|
6464
6465
|
method: "POST";
|
|
6465
|
-
body:
|
|
6466
|
-
keyId:
|
|
6467
|
-
},
|
|
6468
|
-
use: ((inputContext:
|
|
6466
|
+
body: zod0.ZodObject<{
|
|
6467
|
+
keyId: zod0.ZodString;
|
|
6468
|
+
}, better_auth0.$strip>;
|
|
6469
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
6469
6470
|
session: {
|
|
6470
6471
|
session: Record<string, any> & {
|
|
6471
6472
|
id: string;
|
|
@@ -6531,9 +6532,9 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6531
6532
|
}, {
|
|
6532
6533
|
success: boolean;
|
|
6533
6534
|
}>;
|
|
6534
|
-
listApiKeys:
|
|
6535
|
+
listApiKeys: better_call0.StrictEndpoint<"/api-key/list", {
|
|
6535
6536
|
method: "GET";
|
|
6536
|
-
use: ((inputContext:
|
|
6537
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
6537
6538
|
session: {
|
|
6538
6539
|
session: Record<string, any> & {
|
|
6539
6540
|
id: string;
|
|
@@ -6703,7 +6704,7 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6703
6704
|
createdAt: Date;
|
|
6704
6705
|
updatedAt: Date;
|
|
6705
6706
|
}[]>;
|
|
6706
|
-
deleteAllExpiredApiKeys:
|
|
6707
|
+
deleteAllExpiredApiKeys: better_call0.StrictEndpoint<string, {
|
|
6707
6708
|
method: "POST";
|
|
6708
6709
|
}, {
|
|
6709
6710
|
success: boolean;
|
|
@@ -6825,31 +6826,31 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6825
6826
|
required: false;
|
|
6826
6827
|
input: true;
|
|
6827
6828
|
transform: {
|
|
6828
|
-
input(value:
|
|
6829
|
-
output(value:
|
|
6829
|
+
input(value: better_auth0.DBPrimitive): string;
|
|
6830
|
+
output(value: better_auth0.DBPrimitive): any;
|
|
6830
6831
|
};
|
|
6831
6832
|
};
|
|
6832
6833
|
};
|
|
6833
6834
|
};
|
|
6834
6835
|
};
|
|
6835
|
-
options:
|
|
6836
|
+
options: better_auth_plugins0.ApiKeyOptions | undefined;
|
|
6836
6837
|
}, {
|
|
6837
6838
|
id: "bearer";
|
|
6838
6839
|
hooks: {
|
|
6839
6840
|
before: {
|
|
6840
|
-
matcher(context:
|
|
6841
|
-
handler: (inputContext:
|
|
6841
|
+
matcher(context: better_auth0.HookEndpointContext): boolean;
|
|
6842
|
+
handler: (inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
6842
6843
|
context: {
|
|
6843
6844
|
headers: Headers;
|
|
6844
6845
|
};
|
|
6845
6846
|
} | undefined>;
|
|
6846
6847
|
}[];
|
|
6847
6848
|
after: {
|
|
6848
|
-
matcher(context:
|
|
6849
|
-
handler: (inputContext:
|
|
6849
|
+
matcher(context: better_auth0.HookEndpointContext): true;
|
|
6850
|
+
handler: (inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>;
|
|
6850
6851
|
}[];
|
|
6851
6852
|
};
|
|
6852
|
-
options:
|
|
6853
|
+
options: better_auth_plugins0.BearerOptions | undefined;
|
|
6853
6854
|
}];
|
|
6854
6855
|
emailAndPassword: {
|
|
6855
6856
|
enabled: true;
|
|
@@ -6863,21 +6864,21 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6863
6864
|
url: string;
|
|
6864
6865
|
};
|
|
6865
6866
|
functions: {
|
|
6866
|
-
mintPreviewToken:
|
|
6867
|
+
mintPreviewToken: questpie31.JsonFunctionDefinition<{
|
|
6867
6868
|
path: string;
|
|
6868
6869
|
ttlMs?: number | undefined;
|
|
6869
6870
|
}, {
|
|
6870
6871
|
token: string;
|
|
6871
6872
|
expiresAt: number;
|
|
6872
6873
|
}, any>;
|
|
6873
|
-
verifyPreviewToken:
|
|
6874
|
+
verifyPreviewToken: questpie31.JsonFunctionDefinition<{
|
|
6874
6875
|
token: string;
|
|
6875
6876
|
}, {
|
|
6876
6877
|
valid: boolean;
|
|
6877
6878
|
path?: string | undefined;
|
|
6878
6879
|
error?: string | undefined;
|
|
6879
6880
|
}, any>;
|
|
6880
|
-
getContentLocales:
|
|
6881
|
+
getContentLocales: questpie31.JsonFunctionDefinition<Record<string, never> | undefined, {
|
|
6881
6882
|
locales: {
|
|
6882
6883
|
code: string;
|
|
6883
6884
|
label?: string | undefined;
|
|
@@ -6887,10 +6888,10 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6887
6888
|
defaultLocale: string;
|
|
6888
6889
|
fallbacks?: Record<string, string> | undefined;
|
|
6889
6890
|
}, any>;
|
|
6890
|
-
isSetupRequired:
|
|
6891
|
+
isSetupRequired: questpie31.JsonFunctionDefinition<Record<string, never>, {
|
|
6891
6892
|
required: boolean;
|
|
6892
6893
|
}, any>;
|
|
6893
|
-
createFirstAdmin:
|
|
6894
|
+
createFirstAdmin: questpie31.JsonFunctionDefinition<{
|
|
6894
6895
|
email: string;
|
|
6895
6896
|
password: string;
|
|
6896
6897
|
name: string;
|
|
@@ -6905,18 +6906,18 @@ declare const selectClient: (s: AdminState) => QuestpieClient<questpie134.Questp
|
|
|
6905
6906
|
}, any>;
|
|
6906
6907
|
};
|
|
6907
6908
|
secret: string | undefined;
|
|
6908
|
-
storage:
|
|
6909
|
+
storage: questpie31.StorageConfig | undefined;
|
|
6909
6910
|
queue: {
|
|
6910
|
-
jobs:
|
|
6911
|
-
adapter:
|
|
6911
|
+
jobs: questpie31.TypeMerge<questpie31.UnsetProperty<{}, keyof TOtherJobs>, {}>;
|
|
6912
|
+
adapter: questpie31.QueueAdapter;
|
|
6912
6913
|
};
|
|
6913
|
-
searchConfig:
|
|
6914
|
-
realtime:
|
|
6914
|
+
searchConfig: questpie31.SearchConfig | undefined;
|
|
6915
|
+
realtime: questpie31.RealtimeConfig | undefined;
|
|
6915
6916
|
logger: questpie_shared0.LoggerConfig | undefined;
|
|
6916
6917
|
kv: questpie_shared0.KVConfig | undefined;
|
|
6917
6918
|
migrations: {
|
|
6918
6919
|
directory?: string;
|
|
6919
|
-
migrations?:
|
|
6920
|
+
migrations?: questpie31.Migration[];
|
|
6920
6921
|
} | undefined;
|
|
6921
6922
|
}>>;
|
|
6922
6923
|
/** Select auth client instance */
|
|
@@ -7103,7 +7104,7 @@ declare function DashboardPage({
|
|
|
7103
7104
|
title,
|
|
7104
7105
|
description,
|
|
7105
7106
|
className
|
|
7106
|
-
}: DashboardPageProps):
|
|
7107
|
+
}: DashboardPageProps): react_jsx_runtime11.JSX.Element;
|
|
7107
7108
|
declare namespace login_page_d_exports {
|
|
7108
7109
|
export { LoginPage, LoginPageProps, LoginPage as default };
|
|
7109
7110
|
}
|
|
@@ -7172,7 +7173,7 @@ declare function LoginPage({
|
|
|
7172
7173
|
signUpPath,
|
|
7173
7174
|
showForgotPassword,
|
|
7174
7175
|
showSignUp
|
|
7175
|
-
}: LoginPageProps):
|
|
7176
|
+
}: LoginPageProps): react_jsx_runtime11.JSX.Element;
|
|
7176
7177
|
declare namespace forgot_password_page_d_exports {
|
|
7177
7178
|
export { ForgotPasswordPage, ForgotPasswordPageProps, ForgotPasswordPage as default };
|
|
7178
7179
|
}
|
|
@@ -7224,7 +7225,7 @@ declare function ForgotPasswordPage({
|
|
|
7224
7225
|
logo,
|
|
7225
7226
|
loginPath,
|
|
7226
7227
|
resetPasswordRedirectUrl
|
|
7227
|
-
}: ForgotPasswordPageProps):
|
|
7228
|
+
}: ForgotPasswordPageProps): react_jsx_runtime11.JSX.Element;
|
|
7228
7229
|
declare namespace reset_password_page_d_exports {
|
|
7229
7230
|
export { ResetPasswordPage, ResetPasswordPageProps, ResetPasswordPage as default };
|
|
7230
7231
|
}
|
|
@@ -7283,7 +7284,7 @@ declare function ResetPasswordPage({
|
|
|
7283
7284
|
loginPath,
|
|
7284
7285
|
minPasswordLength,
|
|
7285
7286
|
getToken
|
|
7286
|
-
}: ResetPasswordPageProps):
|
|
7287
|
+
}: ResetPasswordPageProps): react_jsx_runtime11.JSX.Element;
|
|
7287
7288
|
//#endregion
|
|
7288
7289
|
//#region src/client/views/pages/invite-page.d.ts
|
|
7289
7290
|
interface InvitePageProps {
|
|
@@ -7348,7 +7349,7 @@ declare function InvitePage({
|
|
|
7348
7349
|
defaultRole,
|
|
7349
7350
|
showMessage,
|
|
7350
7351
|
onSuccess
|
|
7351
|
-
}: InvitePageProps):
|
|
7352
|
+
}: InvitePageProps): react_jsx_runtime11.JSX.Element;
|
|
7352
7353
|
//#endregion
|
|
7353
7354
|
//#region src/client/views/pages/accept-invite-page.d.ts
|
|
7354
7355
|
interface AcceptInvitePageProps {
|
|
@@ -7409,7 +7410,7 @@ declare function AcceptInvitePage({
|
|
|
7409
7410
|
redirectTo,
|
|
7410
7411
|
loginPath,
|
|
7411
7412
|
minPasswordLength
|
|
7412
|
-
}: AcceptInvitePageProps):
|
|
7413
|
+
}: AcceptInvitePageProps): react_jsx_runtime11.JSX.Element;
|
|
7413
7414
|
declare namespace setup_page_d_exports {
|
|
7414
7415
|
export { SetupPage, SetupPageProps, SetupPage as default };
|
|
7415
7416
|
}
|
|
@@ -7466,7 +7467,7 @@ declare function SetupPage({
|
|
|
7466
7467
|
redirectTo,
|
|
7467
7468
|
loginPath,
|
|
7468
7469
|
showLoginLink
|
|
7469
|
-
}: SetupPageProps):
|
|
7470
|
+
}: SetupPageProps): react_jsx_runtime11.JSX.Element;
|
|
7470
7471
|
//#endregion
|
|
7471
7472
|
//#region src/client/components/admin-link.d.ts
|
|
7472
7473
|
interface AdminLinkProps<TApp extends Questpie<any>> extends Omit<React$2.AnchorHTMLAttributes<HTMLAnchorElement>, "href"> {
|
|
@@ -7525,7 +7526,7 @@ declare function AdminLink<TApp extends Questpie<any>>({
|
|
|
7525
7526
|
children,
|
|
7526
7527
|
onClick,
|
|
7527
7528
|
...rest
|
|
7528
|
-
}: AdminLinkProps<TApp>):
|
|
7529
|
+
}: AdminLinkProps<TApp>): react_jsx_runtime11.JSX.Element;
|
|
7529
7530
|
//#endregion
|
|
7530
7531
|
//#region src/client/components/auth/auth-guard.d.ts
|
|
7531
7532
|
interface AuthGuardProps {
|
|
@@ -7638,7 +7639,7 @@ declare function ArrayField({
|
|
|
7638
7639
|
layout,
|
|
7639
7640
|
columns,
|
|
7640
7641
|
itemLabel
|
|
7641
|
-
}: ArrayFieldProps):
|
|
7642
|
+
}: ArrayFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7642
7643
|
//#endregion
|
|
7643
7644
|
//#region src/client/components/fields/asset-preview-field.d.ts
|
|
7644
7645
|
interface AssetPreviewFieldProps {
|
|
@@ -7684,7 +7685,7 @@ declare function AssetPreviewField({
|
|
|
7684
7685
|
mimeTypeField,
|
|
7685
7686
|
filenameField,
|
|
7686
7687
|
altField
|
|
7687
|
-
}: AssetPreviewFieldProps):
|
|
7688
|
+
}: AssetPreviewFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7688
7689
|
//#endregion
|
|
7689
7690
|
//#region src/client/components/fields/blocks-field/blocks-field.d.ts
|
|
7690
7691
|
/**
|
|
@@ -7723,7 +7724,7 @@ declare function BlocksField({
|
|
|
7723
7724
|
minBlocks,
|
|
7724
7725
|
maxBlocks,
|
|
7725
7726
|
blocks
|
|
7726
|
-
}: BlocksFieldProps):
|
|
7727
|
+
}: BlocksFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7727
7728
|
//#endregion
|
|
7728
7729
|
//#region src/client/components/fields/checkbox-field.d.ts
|
|
7729
7730
|
declare function CheckboxField({
|
|
@@ -7736,7 +7737,7 @@ declare function CheckboxField({
|
|
|
7736
7737
|
locale,
|
|
7737
7738
|
control,
|
|
7738
7739
|
className
|
|
7739
|
-
}: BooleanFieldProps):
|
|
7740
|
+
}: BooleanFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7740
7741
|
//#endregion
|
|
7741
7742
|
//#region src/client/components/fields/date-field.d.ts
|
|
7742
7743
|
declare function DateField({
|
|
@@ -7753,7 +7754,7 @@ declare function DateField({
|
|
|
7753
7754
|
minDate,
|
|
7754
7755
|
maxDate,
|
|
7755
7756
|
format
|
|
7756
|
-
}: DateFieldProps):
|
|
7757
|
+
}: DateFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7757
7758
|
//#endregion
|
|
7758
7759
|
//#region src/client/components/fields/datetime-field.d.ts
|
|
7759
7760
|
declare function DatetimeField({
|
|
@@ -7771,7 +7772,7 @@ declare function DatetimeField({
|
|
|
7771
7772
|
maxDate,
|
|
7772
7773
|
format,
|
|
7773
7774
|
precision
|
|
7774
|
-
}: DateTimeFieldProps):
|
|
7775
|
+
}: DateTimeFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7775
7776
|
//#endregion
|
|
7776
7777
|
//#region src/client/components/fields/email-field.d.ts
|
|
7777
7778
|
declare function EmailField({
|
|
@@ -7785,7 +7786,7 @@ declare function EmailField({
|
|
|
7785
7786
|
locale,
|
|
7786
7787
|
control,
|
|
7787
7788
|
className
|
|
7788
|
-
}: BaseFieldProps):
|
|
7789
|
+
}: BaseFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7789
7790
|
//#endregion
|
|
7790
7791
|
//#region src/client/components/fields/embedded-collection.d.ts
|
|
7791
7792
|
type RowLabel = ((item: any) => string) | string;
|
|
@@ -7814,7 +7815,7 @@ declare function EmbeddedCollectionField({
|
|
|
7814
7815
|
renderFields,
|
|
7815
7816
|
minItems,
|
|
7816
7817
|
maxItems
|
|
7817
|
-
}: EmbeddedCollectionFieldProps):
|
|
7818
|
+
}: EmbeddedCollectionFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7818
7819
|
//#endregion
|
|
7819
7820
|
//#region src/client/components/fields/json-field.d.ts
|
|
7820
7821
|
type JsonFieldMode = "code" | "form";
|
|
@@ -7891,7 +7892,7 @@ declare function JsonField({
|
|
|
7891
7892
|
renderForm,
|
|
7892
7893
|
control: controlProp,
|
|
7893
7894
|
className
|
|
7894
|
-
}: JsonFieldProps):
|
|
7895
|
+
}: JsonFieldProps): react_jsx_runtime11.JSX.Element | null;
|
|
7895
7896
|
//#endregion
|
|
7896
7897
|
//#region src/client/components/fields/number-field.d.ts
|
|
7897
7898
|
declare function NumberField({
|
|
@@ -7909,7 +7910,7 @@ declare function NumberField({
|
|
|
7909
7910
|
max,
|
|
7910
7911
|
step,
|
|
7911
7912
|
showButtons
|
|
7912
|
-
}: NumberFieldProps):
|
|
7913
|
+
}: NumberFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7913
7914
|
//#endregion
|
|
7914
7915
|
//#region src/client/components/fields/object-field.d.ts
|
|
7915
7916
|
interface ObjectFieldProps extends BaseFieldProps, Omit<ObjectFieldConfig, "fields"> {
|
|
@@ -7935,7 +7936,7 @@ declare function ObjectField({
|
|
|
7935
7936
|
layout,
|
|
7936
7937
|
columns,
|
|
7937
7938
|
defaultCollapsed
|
|
7938
|
-
}: ObjectFieldProps):
|
|
7939
|
+
}: ObjectFieldProps): react_jsx_runtime11.JSX.Element | null;
|
|
7939
7940
|
//#endregion
|
|
7940
7941
|
//#region src/client/components/fields/password-field.d.ts
|
|
7941
7942
|
declare function PasswordField({
|
|
@@ -7949,7 +7950,7 @@ declare function PasswordField({
|
|
|
7949
7950
|
locale,
|
|
7950
7951
|
control,
|
|
7951
7952
|
className
|
|
7952
|
-
}: BaseFieldProps):
|
|
7953
|
+
}: BaseFieldProps): react_jsx_runtime11.JSX.Element;
|
|
7953
7954
|
//#endregion
|
|
7954
7955
|
//#region src/client/components/fields/relation-field.d.ts
|
|
7955
7956
|
type RelationFieldProps<T$1 extends Questpie<any>> = {
|
|
@@ -8075,7 +8076,7 @@ declare function RelationField<T$1 extends Questpie<any>>({
|
|
|
8075
8076
|
renderValue,
|
|
8076
8077
|
renderItem,
|
|
8077
8078
|
control: controlProp
|
|
8078
|
-
}: RelationFieldProps<T$1>):
|
|
8079
|
+
}: RelationFieldProps<T$1>): react_jsx_runtime11.JSX.Element | null;
|
|
8079
8080
|
//#endregion
|
|
8080
8081
|
//#region src/client/components/fields/reverse-relation-field.d.ts
|
|
8081
8082
|
interface ReverseRelationFieldProps extends BaseFieldProps, ReverseRelationFieldConfig {}
|
|
@@ -8100,7 +8101,7 @@ declare function ReverseRelationField({
|
|
|
8100
8101
|
allowAssign: allowAssignProp,
|
|
8101
8102
|
createLabel,
|
|
8102
8103
|
openInSheet
|
|
8103
|
-
}: ReverseRelationFieldProps):
|
|
8104
|
+
}: ReverseRelationFieldProps): react_jsx_runtime11.JSX.Element;
|
|
8104
8105
|
//#endregion
|
|
8105
8106
|
//#region src/client/components/fields/rich-text-editor/presets.d.ts
|
|
8106
8107
|
/**
|
|
@@ -8188,7 +8189,7 @@ declare function RichTextField({
|
|
|
8188
8189
|
control,
|
|
8189
8190
|
onChange,
|
|
8190
8191
|
...props
|
|
8191
|
-
}: RichTextEditorProps):
|
|
8192
|
+
}: RichTextEditorProps): react_jsx_runtime11.JSX.Element;
|
|
8192
8193
|
//#endregion
|
|
8193
8194
|
//#region src/client/components/fields/select-field.d.ts
|
|
8194
8195
|
declare function SelectField<TValue extends string = string>({
|
|
@@ -8208,7 +8209,7 @@ declare function SelectField<TValue extends string = string>({
|
|
|
8208
8209
|
clearable,
|
|
8209
8210
|
maxSelections,
|
|
8210
8211
|
emptyMessage
|
|
8211
|
-
}: SelectFieldProps<TValue>):
|
|
8212
|
+
}: SelectFieldProps<TValue>): react_jsx_runtime11.JSX.Element;
|
|
8212
8213
|
//#endregion
|
|
8213
8214
|
//#region src/client/components/fields/switch-field.d.ts
|
|
8214
8215
|
declare function SwitchField({
|
|
@@ -8221,7 +8222,7 @@ declare function SwitchField({
|
|
|
8221
8222
|
locale,
|
|
8222
8223
|
control,
|
|
8223
8224
|
className
|
|
8224
|
-
}: BooleanFieldProps):
|
|
8225
|
+
}: BooleanFieldProps): react_jsx_runtime11.JSX.Element;
|
|
8225
8226
|
//#endregion
|
|
8226
8227
|
//#region src/client/components/fields/text-field.d.ts
|
|
8227
8228
|
declare function TextField({
|
|
@@ -8238,7 +8239,7 @@ declare function TextField({
|
|
|
8238
8239
|
type,
|
|
8239
8240
|
maxLength,
|
|
8240
8241
|
autoComplete
|
|
8241
|
-
}: TextFieldProps):
|
|
8242
|
+
}: TextFieldProps): react_jsx_runtime11.JSX.Element;
|
|
8242
8243
|
//#endregion
|
|
8243
8244
|
//#region src/client/components/fields/textarea-field.d.ts
|
|
8244
8245
|
declare function TextareaField({
|
|
@@ -8255,7 +8256,7 @@ declare function TextareaField({
|
|
|
8255
8256
|
rows,
|
|
8256
8257
|
maxLength,
|
|
8257
8258
|
autoResize
|
|
8258
|
-
}: TextareaFieldProps):
|
|
8259
|
+
}: TextareaFieldProps): react_jsx_runtime11.JSX.Element;
|
|
8259
8260
|
//#endregion
|
|
8260
8261
|
//#region src/client/components/fields/time-field.d.ts
|
|
8261
8262
|
declare function TimeField({
|
|
@@ -8270,7 +8271,7 @@ declare function TimeField({
|
|
|
8270
8271
|
control,
|
|
8271
8272
|
className,
|
|
8272
8273
|
precision
|
|
8273
|
-
}: TimeFieldProps):
|
|
8274
|
+
}: TimeFieldProps): react_jsx_runtime11.JSX.Element;
|
|
8274
8275
|
//#endregion
|
|
8275
8276
|
//#region src/client/hooks/use-upload.d.ts
|
|
8276
8277
|
/**
|
|
@@ -8356,7 +8357,7 @@ declare function UploadField({
|
|
|
8356
8357
|
onUploadStart,
|
|
8357
8358
|
onUploadComplete,
|
|
8358
8359
|
onUploadError
|
|
8359
|
-
}: UploadFieldProps):
|
|
8360
|
+
}: UploadFieldProps): react_jsx_runtime11.JSX.Element;
|
|
8360
8361
|
//#endregion
|
|
8361
8362
|
//#region src/client/components/fields/upload-many-field.d.ts
|
|
8362
8363
|
interface UploadManyFieldProps extends BaseFieldProps {
|
|
@@ -8427,7 +8428,7 @@ declare function UploadManyField({
|
|
|
8427
8428
|
onUploadStart,
|
|
8428
8429
|
onUploadComplete,
|
|
8429
8430
|
onUploadError
|
|
8430
|
-
}: UploadManyFieldProps):
|
|
8431
|
+
}: UploadManyFieldProps): react_jsx_runtime11.JSX.Element;
|
|
8431
8432
|
//#endregion
|
|
8432
8433
|
//#region src/client/components/filter-builder/types.d.ts
|
|
8433
8434
|
/**
|
|
@@ -9829,7 +9830,7 @@ type GlobalNames$2<TApp extends Questpie<any>> = TApp extends Questpie<infer TCo
|
|
|
9829
9830
|
* const builder = qa<AppCMS>().use(coreAdminModule);
|
|
9830
9831
|
* ```
|
|
9831
9832
|
*/
|
|
9832
|
-
declare const coreAdminModule: AdminBuilder<
|
|
9833
|
+
declare const coreAdminModule: AdminBuilder<questpie31.SetProperty<{
|
|
9833
9834
|
locale: {
|
|
9834
9835
|
default: string;
|
|
9835
9836
|
supported: string[];
|
|
@@ -10002,7 +10003,7 @@ declare const coreAdminModule: AdminBuilder<questpie134.SetProperty<{
|
|
|
10002
10003
|
}: {
|
|
10003
10004
|
value: unknown;
|
|
10004
10005
|
row?: any;
|
|
10005
|
-
}) =>
|
|
10006
|
+
}) => react_jsx_runtime11.JSX.Element;
|
|
10006
10007
|
createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
|
|
10007
10008
|
}>;
|
|
10008
10009
|
richText: FieldBuilder<{
|
|
@@ -10060,27 +10061,27 @@ declare const coreAdminModule: AdminBuilder<questpie134.SetProperty<{
|
|
|
10060
10061
|
defaultViews: {};
|
|
10061
10062
|
translations: {};
|
|
10062
10063
|
}, "pages", {
|
|
10063
|
-
dashboard: PageBuilder<
|
|
10064
|
+
dashboard: PageBuilder<questpie31.SetProperty<{
|
|
10064
10065
|
name: "dashboard";
|
|
10065
10066
|
component: () => Promise<typeof dashboard_page_d_exports>;
|
|
10066
10067
|
path: undefined;
|
|
10067
10068
|
}, "path", string>>;
|
|
10068
|
-
login: PageBuilder<
|
|
10069
|
+
login: PageBuilder<questpie31.SetProperty<{
|
|
10069
10070
|
name: "login";
|
|
10070
10071
|
component: () => Promise<typeof login_page_d_exports>;
|
|
10071
10072
|
path: undefined;
|
|
10072
10073
|
}, "path", string>>;
|
|
10073
|
-
setup: PageBuilder<
|
|
10074
|
+
setup: PageBuilder<questpie31.SetProperty<{
|
|
10074
10075
|
name: "setup";
|
|
10075
10076
|
component: () => Promise<typeof setup_page_d_exports>;
|
|
10076
10077
|
path: undefined;
|
|
10077
10078
|
}, "path", string>>;
|
|
10078
|
-
forgotPassword: PageBuilder<
|
|
10079
|
+
forgotPassword: PageBuilder<questpie31.SetProperty<{
|
|
10079
10080
|
name: "forgot-password";
|
|
10080
10081
|
component: () => Promise<typeof forgot_password_page_d_exports>;
|
|
10081
10082
|
path: undefined;
|
|
10082
10083
|
}, "path", string>>;
|
|
10083
|
-
resetPassword: PageBuilder<
|
|
10084
|
+
resetPassword: PageBuilder<questpie31.SetProperty<{
|
|
10084
10085
|
name: "reset-password";
|
|
10085
10086
|
component: () => Promise<typeof reset_password_page_d_exports>;
|
|
10086
10087
|
path: undefined;
|
|
@@ -10133,7 +10134,7 @@ type CoreAdminModule = typeof coreAdminModule;
|
|
|
10133
10134
|
* });
|
|
10134
10135
|
* ```
|
|
10135
10136
|
*/
|
|
10136
|
-
declare const adminModule: AdminBuilder<
|
|
10137
|
+
declare const adminModule: AdminBuilder<questpie31.SetProperty<questpie31.SetProperty<questpie31.SetProperty<{
|
|
10137
10138
|
locale: {
|
|
10138
10139
|
default: string;
|
|
10139
10140
|
supported: string[];
|
|
@@ -10306,7 +10307,7 @@ declare const adminModule: AdminBuilder<questpie134.SetProperty<questpie134.SetP
|
|
|
10306
10307
|
}: {
|
|
10307
10308
|
value: unknown;
|
|
10308
10309
|
row?: any;
|
|
10309
|
-
}) =>
|
|
10310
|
+
}) => react_jsx_runtime11.JSX.Element;
|
|
10310
10311
|
createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
|
|
10311
10312
|
}>;
|
|
10312
10313
|
richText: FieldBuilder<{
|
|
@@ -10364,35 +10365,35 @@ declare const adminModule: AdminBuilder<questpie134.SetProperty<questpie134.SetP
|
|
|
10364
10365
|
defaultViews: {};
|
|
10365
10366
|
translations: {};
|
|
10366
10367
|
}, "pages", {
|
|
10367
|
-
dashboard: PageBuilder<
|
|
10368
|
+
dashboard: PageBuilder<questpie31.SetProperty<{
|
|
10368
10369
|
name: "dashboard";
|
|
10369
10370
|
component: () => Promise<typeof dashboard_page_d_exports>;
|
|
10370
10371
|
path: undefined;
|
|
10371
10372
|
}, "path", string>>;
|
|
10372
|
-
login: PageBuilder<
|
|
10373
|
+
login: PageBuilder<questpie31.SetProperty<{
|
|
10373
10374
|
name: "login";
|
|
10374
10375
|
component: () => Promise<typeof login_page_d_exports>;
|
|
10375
10376
|
path: undefined;
|
|
10376
10377
|
}, "path", string>>;
|
|
10377
|
-
setup: PageBuilder<
|
|
10378
|
+
setup: PageBuilder<questpie31.SetProperty<{
|
|
10378
10379
|
name: "setup";
|
|
10379
10380
|
component: () => Promise<typeof setup_page_d_exports>;
|
|
10380
10381
|
path: undefined;
|
|
10381
10382
|
}, "path", string>>;
|
|
10382
|
-
forgotPassword: PageBuilder<
|
|
10383
|
+
forgotPassword: PageBuilder<questpie31.SetProperty<{
|
|
10383
10384
|
name: "forgot-password";
|
|
10384
10385
|
component: () => Promise<typeof forgot_password_page_d_exports>;
|
|
10385
10386
|
path: undefined;
|
|
10386
10387
|
}, "path", string>>;
|
|
10387
|
-
resetPassword: PageBuilder<
|
|
10388
|
+
resetPassword: PageBuilder<questpie31.SetProperty<{
|
|
10388
10389
|
name: "reset-password";
|
|
10389
10390
|
component: () => Promise<typeof reset_password_page_d_exports>;
|
|
10390
10391
|
path: undefined;
|
|
10391
10392
|
}, "path", string>>;
|
|
10392
10393
|
}>, "collections", {
|
|
10393
|
-
user: CollectionBuilder<
|
|
10394
|
+
user: CollectionBuilder<questpie31.SetProperty<questpie31.SetProperty<questpie31.SetProperty<{
|
|
10394
10395
|
name: "user";
|
|
10395
|
-
"~adminApp": AdminBuilder<
|
|
10396
|
+
"~adminApp": AdminBuilder<questpie31.SetProperty<{
|
|
10396
10397
|
locale: {
|
|
10397
10398
|
default: string;
|
|
10398
10399
|
supported: string[];
|
|
@@ -10565,7 +10566,7 @@ declare const adminModule: AdminBuilder<questpie134.SetProperty<questpie134.SetP
|
|
|
10565
10566
|
}: {
|
|
10566
10567
|
value: unknown;
|
|
10567
10568
|
row?: any;
|
|
10568
|
-
}) =>
|
|
10569
|
+
}) => react_jsx_runtime11.JSX.Element;
|
|
10569
10570
|
createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
|
|
10570
10571
|
}>;
|
|
10571
10572
|
richText: FieldBuilder<{
|
|
@@ -10623,27 +10624,27 @@ declare const adminModule: AdminBuilder<questpie134.SetProperty<questpie134.SetP
|
|
|
10623
10624
|
defaultViews: {};
|
|
10624
10625
|
translations: {};
|
|
10625
10626
|
}, "pages", {
|
|
10626
|
-
dashboard: PageBuilder<
|
|
10627
|
+
dashboard: PageBuilder<questpie31.SetProperty<{
|
|
10627
10628
|
name: "dashboard";
|
|
10628
10629
|
component: () => Promise<typeof dashboard_page_d_exports>;
|
|
10629
10630
|
path: undefined;
|
|
10630
10631
|
}, "path", string>>;
|
|
10631
|
-
login: PageBuilder<
|
|
10632
|
+
login: PageBuilder<questpie31.SetProperty<{
|
|
10632
10633
|
name: "login";
|
|
10633
10634
|
component: () => Promise<typeof login_page_d_exports>;
|
|
10634
10635
|
path: undefined;
|
|
10635
10636
|
}, "path", string>>;
|
|
10636
|
-
setup: PageBuilder<
|
|
10637
|
+
setup: PageBuilder<questpie31.SetProperty<{
|
|
10637
10638
|
name: "setup";
|
|
10638
10639
|
component: () => Promise<typeof setup_page_d_exports>;
|
|
10639
10640
|
path: undefined;
|
|
10640
10641
|
}, "path", string>>;
|
|
10641
|
-
forgotPassword: PageBuilder<
|
|
10642
|
+
forgotPassword: PageBuilder<questpie31.SetProperty<{
|
|
10642
10643
|
name: "forgot-password";
|
|
10643
10644
|
component: () => Promise<typeof forgot_password_page_d_exports>;
|
|
10644
10645
|
path: undefined;
|
|
10645
10646
|
}, "path", string>>;
|
|
10646
|
-
resetPassword: PageBuilder<
|
|
10647
|
+
resetPassword: PageBuilder<questpie31.SetProperty<{
|
|
10647
10648
|
name: "reset-password";
|
|
10648
10649
|
component: () => Promise<typeof reset_password_page_d_exports>;
|
|
10649
10650
|
path: undefined;
|
|
@@ -10667,9 +10668,9 @@ declare const adminModule: AdminBuilder<questpie134.SetProperty<questpie134.SetP
|
|
|
10667
10668
|
"~config": FormViewConfig;
|
|
10668
10669
|
component: typeof FormView;
|
|
10669
10670
|
}>>>;
|
|
10670
|
-
assets: CollectionBuilder<
|
|
10671
|
+
assets: CollectionBuilder<questpie31.SetProperty<questpie31.SetProperty<questpie31.SetProperty<{
|
|
10671
10672
|
name: "assets";
|
|
10672
|
-
"~adminApp": AdminBuilder<
|
|
10673
|
+
"~adminApp": AdminBuilder<questpie31.SetProperty<{
|
|
10673
10674
|
locale: {
|
|
10674
10675
|
default: string;
|
|
10675
10676
|
supported: string[];
|
|
@@ -10842,7 +10843,7 @@ declare const adminModule: AdminBuilder<questpie134.SetProperty<questpie134.SetP
|
|
|
10842
10843
|
}: {
|
|
10843
10844
|
value: unknown;
|
|
10844
10845
|
row?: any;
|
|
10845
|
-
}) =>
|
|
10846
|
+
}) => react_jsx_runtime11.JSX.Element;
|
|
10846
10847
|
createZod: CreateZodFn<AssetPreviewFieldProps & Partial<Pick<BaseFieldConfigProps, "label" | "description" | "placeholder" | "required"> & Pick<BaseFieldProps$1, "localized">> & FieldStateOptions & FieldHookOptions> | undefined;
|
|
10847
10848
|
}>;
|
|
10848
10849
|
richText: FieldBuilder<{
|
|
@@ -10900,27 +10901,27 @@ declare const adminModule: AdminBuilder<questpie134.SetProperty<questpie134.SetP
|
|
|
10900
10901
|
defaultViews: {};
|
|
10901
10902
|
translations: {};
|
|
10902
10903
|
}, "pages", {
|
|
10903
|
-
dashboard: PageBuilder<
|
|
10904
|
+
dashboard: PageBuilder<questpie31.SetProperty<{
|
|
10904
10905
|
name: "dashboard";
|
|
10905
10906
|
component: () => Promise<typeof dashboard_page_d_exports>;
|
|
10906
10907
|
path: undefined;
|
|
10907
10908
|
}, "path", string>>;
|
|
10908
|
-
login: PageBuilder<
|
|
10909
|
+
login: PageBuilder<questpie31.SetProperty<{
|
|
10909
10910
|
name: "login";
|
|
10910
10911
|
component: () => Promise<typeof login_page_d_exports>;
|
|
10911
10912
|
path: undefined;
|
|
10912
10913
|
}, "path", string>>;
|
|
10913
|
-
setup: PageBuilder<
|
|
10914
|
+
setup: PageBuilder<questpie31.SetProperty<{
|
|
10914
10915
|
name: "setup";
|
|
10915
10916
|
component: () => Promise<typeof setup_page_d_exports>;
|
|
10916
10917
|
path: undefined;
|
|
10917
10918
|
}, "path", string>>;
|
|
10918
|
-
forgotPassword: PageBuilder<
|
|
10919
|
+
forgotPassword: PageBuilder<questpie31.SetProperty<{
|
|
10919
10920
|
name: "forgot-password";
|
|
10920
10921
|
component: () => Promise<typeof forgot_password_page_d_exports>;
|
|
10921
10922
|
path: undefined;
|
|
10922
10923
|
}, "path", string>>;
|
|
10923
|
-
resetPassword: PageBuilder<
|
|
10924
|
+
resetPassword: PageBuilder<questpie31.SetProperty<{
|
|
10924
10925
|
name: "reset-password";
|
|
10925
10926
|
component: () => Promise<typeof reset_password_page_d_exports>;
|
|
10926
10927
|
path: undefined;
|
|
@@ -12199,7 +12200,7 @@ declare function useGlobalUpdate<K$1 extends ResolvedGlobalNames>(globalName: K$
|
|
|
12199
12200
|
* Note: This hook requires the adminModule to be used in your CMS setup.
|
|
12200
12201
|
* If admin_saved_views collection is not available, returns empty array.
|
|
12201
12202
|
*/
|
|
12202
|
-
declare function useSavedViews(collectionName: string):
|
|
12203
|
+
declare function useSavedViews(collectionName: string): _tanstack_react_query4.UseQueryResult<{
|
|
12203
12204
|
docs: SavedView[];
|
|
12204
12205
|
}, Error>;
|
|
12205
12206
|
//#endregion
|
|
@@ -12235,7 +12236,7 @@ interface SetupStatus {
|
|
|
12235
12236
|
* }
|
|
12236
12237
|
* ```
|
|
12237
12238
|
*/
|
|
12238
|
-
declare function useSetupStatus():
|
|
12239
|
+
declare function useSetupStatus(): _tanstack_react_query4.UseQueryResult<SetupStatus, Error>;
|
|
12239
12240
|
//#endregion
|
|
12240
12241
|
//#region src/client/hooks/use-media-query.d.ts
|
|
12241
12242
|
/**
|
|
@@ -12356,7 +12357,7 @@ declare function RichTextRenderer({
|
|
|
12356
12357
|
content,
|
|
12357
12358
|
styles: customStyles,
|
|
12358
12359
|
className
|
|
12359
|
-
}: RichTextRendererProps):
|
|
12360
|
+
}: RichTextRendererProps): react_jsx_runtime11.JSX.Element | null;
|
|
12360
12361
|
//#endregion
|
|
12361
12362
|
//#region src/client/views/dashboard/dashboard-grid.d.ts
|
|
12362
12363
|
interface DashboardGridProps {
|
|
@@ -12596,7 +12597,7 @@ declare function AdminTopbar({
|
|
|
12596
12597
|
theme,
|
|
12597
12598
|
setTheme,
|
|
12598
12599
|
showThemeToggle
|
|
12599
|
-
}: AdminTopbarProps):
|
|
12600
|
+
}: AdminTopbarProps): react_jsx_runtime11.JSX.Element;
|
|
12600
12601
|
//#endregion
|
|
12601
12602
|
//#region src/client/utils/locale-to-flag.d.ts
|
|
12602
12603
|
/**
|
|
@@ -12746,7 +12747,7 @@ declare function BlockRenderer({
|
|
|
12746
12747
|
selectedBlockId,
|
|
12747
12748
|
onBlockClick,
|
|
12748
12749
|
className
|
|
12749
|
-
}: BlockRendererProps):
|
|
12750
|
+
}: BlockRendererProps): react_jsx_runtime11.JSX.Element | null;
|
|
12750
12751
|
//#endregion
|
|
12751
12752
|
//#region src/client/blocks/prefetch.d.ts
|
|
12752
12753
|
/**
|
|
@@ -12899,7 +12900,7 @@ declare function PreviewToggleButton({
|
|
|
12899
12900
|
isPreviewVisible,
|
|
12900
12901
|
onToggle,
|
|
12901
12902
|
className
|
|
12902
|
-
}: PreviewToggleButtonProps):
|
|
12903
|
+
}: PreviewToggleButtonProps): react_jsx_runtime11.JSX.Element;
|
|
12903
12904
|
//#endregion
|
|
12904
12905
|
//#region src/client/preview/preview-field.d.ts
|
|
12905
12906
|
type PreviewFieldProps = {
|
|
@@ -12944,7 +12945,7 @@ declare function PreviewProvider({
|
|
|
12944
12945
|
fieldType?: "regular" | "block" | "relation";
|
|
12945
12946
|
}) => void;
|
|
12946
12947
|
children: React$2.ReactNode;
|
|
12947
|
-
}):
|
|
12948
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
12948
12949
|
/**
|
|
12949
12950
|
* Hook to access preview context.
|
|
12950
12951
|
*/
|
|
@@ -12980,7 +12981,7 @@ declare function PreviewField({
|
|
|
12980
12981
|
as: Component,
|
|
12981
12982
|
className,
|
|
12982
12983
|
onClick
|
|
12983
|
-
}: PreviewFieldProps):
|
|
12984
|
+
}: PreviewFieldProps): react_jsx_runtime11.JSX.Element;
|
|
12984
12985
|
/**
|
|
12985
12986
|
* Standalone PreviewField that works without context.
|
|
12986
12987
|
* Useful when you can't use PreviewProvider.
|
|
@@ -13001,7 +13002,7 @@ declare function StandalonePreviewField({
|
|
|
13001
13002
|
blockId?: string;
|
|
13002
13003
|
fieldType?: "regular" | "block" | "relation";
|
|
13003
13004
|
}) => void;
|
|
13004
|
-
}):
|
|
13005
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
13005
13006
|
//#endregion
|
|
13006
13007
|
//#region src/client/preview/preview-banner.d.ts
|
|
13007
13008
|
/**
|
|
@@ -13042,7 +13043,7 @@ declare function PreviewBanner({
|
|
|
13042
13043
|
isPreviewMode,
|
|
13043
13044
|
className,
|
|
13044
13045
|
exitPreviewUrl
|
|
13045
|
-
}: PreviewBannerProps):
|
|
13046
|
+
}: PreviewBannerProps): react_jsx_runtime11.JSX.Element | null;
|
|
13046
13047
|
//#endregion
|
|
13047
13048
|
//#region src/client/preview/block-scope-context.d.ts
|
|
13048
13049
|
type BlockScopeContextValue = {
|
|
@@ -13077,7 +13078,7 @@ declare function BlockScopeProvider({
|
|
|
13077
13078
|
blockId,
|
|
13078
13079
|
basePath,
|
|
13079
13080
|
children
|
|
13080
|
-
}: BlockScopeProviderProps):
|
|
13081
|
+
}: BlockScopeProviderProps): react_jsx_runtime11.JSX.Element;
|
|
13081
13082
|
/**
|
|
13082
13083
|
* Get current block scope context.
|
|
13083
13084
|
*
|
|
@@ -13340,7 +13341,7 @@ type FocusProviderProps = {
|
|
|
13340
13341
|
declare function FocusProvider({
|
|
13341
13342
|
children,
|
|
13342
13343
|
onFocusChange
|
|
13343
|
-
}: FocusProviderProps):
|
|
13344
|
+
}: FocusProviderProps): react_jsx_runtime11.JSX.Element;
|
|
13344
13345
|
/**
|
|
13345
13346
|
* Use the focus context
|
|
13346
13347
|
*/
|
|
@@ -13399,4 +13400,4 @@ type CollectionFieldKeys<TApp extends Questpie<any>, TCollectionName extends str
|
|
|
13399
13400
|
} ? keyof TSelect : never : never : never;
|
|
13400
13401
|
//#endregion
|
|
13401
13402
|
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 };
|
|
13402
|
-
//# sourceMappingURL=client-
|
|
13403
|
+
//# sourceMappingURL=client-B7r47hEd.d.mts.map
|