adminforth 3.6.0 → 3.6.2-next.1
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/dataConnectors/baseConnector.d.ts +1 -1
- package/dist/dataConnectors/baseConnector.js +1 -1
- package/dist/modules/logger.d.ts.map +1 -1
- package/dist/modules/logger.js +1 -0
- package/dist/modules/logger.js.map +1 -1
- package/dist/spa/src/types/Back.ts +20 -20
- package/dist/spa/src/types/FrontendAPI.ts +1 -1
- package/dist/types/Back.d.ts +20 -20
- package/dist/types/FrontendAPI.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ type AdminForthFilterNormalizationResult = {
|
|
|
11
11
|
export default class AdminForthBaseConnector implements IAdminForthDataSourceConnectorBase {
|
|
12
12
|
client: any;
|
|
13
13
|
/**
|
|
14
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
14
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use .client instead.
|
|
15
15
|
*/
|
|
16
16
|
get db(): any;
|
|
17
17
|
setupClient(url: string, options?: {
|
|
@@ -12,7 +12,7 @@ async function publishShowPageUpdate(resource, recordId, updates) {
|
|
|
12
12
|
}
|
|
13
13
|
export default class AdminForthBaseConnector {
|
|
14
14
|
/**
|
|
15
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
15
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use .client instead.
|
|
16
16
|
*/
|
|
17
17
|
get db() {
|
|
18
18
|
afLogger.warn('.db is deprecated, use .client instead');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../modules/logger.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../modules/logger.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAaxB,eAAO,MAAM,MAAM,6BAGlB,CAAC;AAEF,eAAO,MAAM,QAAQ,6BAGpB,CAAC;AAEF,eAAO,MAAM,QAAQ,6BAGpB,CAAC"}
|
package/dist/modules/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../modules/logger.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,UAAU,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE;QACT,MAAM,EAAE,aAAa;QACrB,OAAO,EAAE;YACP,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,cAAc;
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../modules/logger.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,UAAU,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE;QACT,MAAM,EAAE,aAAa;QACrB,OAAO,EAAE;YACP,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,kBAAkB,KAAK,MAAM,IAAI,OAAO,CAAC,GAAG,CAAC,kBAAkB,KAAK,GAAG;SAChG;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,CAAC,KAAK,CACpC,EAAE,IAAI,EAAE,WAAW,EAAE,EACrB,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,MAAM,CAAE,EAAE,CACrF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC,KAAK,CACtC,EAAE,IAAI,EAAE,IAAI,EAAE,EACd,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,CAAE,OAAO,CAAC,GAAG,CAAC,cAAc,IAAI,MAAM,CAAE,EAAE,CACzF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC,KAAK,CACtC,EAAE,IAAI,EAAE,IAAI,EAAE,EACd,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,IAAG,MAAM,CAAC,EAAE,CAC3F,CAAC"}
|
|
@@ -719,7 +719,7 @@ export type BeforeDataSourceRequestFunction = (params: {
|
|
|
719
719
|
ok: boolean,
|
|
720
720
|
error?: string | null,
|
|
721
721
|
/**
|
|
722
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
722
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use redirectToRecordId instead.
|
|
723
723
|
*/
|
|
724
724
|
newRecordId?: string,
|
|
725
725
|
redirectToRecordId?: string
|
|
@@ -767,7 +767,7 @@ export type CreateResourceRecordResult = {
|
|
|
767
767
|
/**
|
|
768
768
|
* Optional id of an existing record to redirect to
|
|
769
769
|
* (used when a beforeSave hook aborts creation and supplies newRecordId, allows to implement programmatic creation via API).
|
|
770
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
770
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use redirectToRecordId instead.
|
|
771
771
|
*/
|
|
772
772
|
newRecordId?: any;
|
|
773
773
|
|
|
@@ -800,7 +800,7 @@ export type CreateResourceRecordParams = {
|
|
|
800
800
|
/**
|
|
801
801
|
* HTTP response object.
|
|
802
802
|
*
|
|
803
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
803
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
804
804
|
*/
|
|
805
805
|
response?: IAdminForthHttpResponse;
|
|
806
806
|
|
|
@@ -828,7 +828,7 @@ export type UpdateResourceRecordParams =
|
|
|
828
828
|
/**
|
|
829
829
|
* Full record data with applied changes.
|
|
830
830
|
*
|
|
831
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
831
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use updates instead.
|
|
832
832
|
*/
|
|
833
833
|
record: any;
|
|
834
834
|
|
|
@@ -845,7 +845,7 @@ export type UpdateResourceRecordParams =
|
|
|
845
845
|
/**
|
|
846
846
|
* HTTP response object.
|
|
847
847
|
*
|
|
848
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
848
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
849
849
|
*/
|
|
850
850
|
response?: IAdminForthHttpResponse;
|
|
851
851
|
|
|
@@ -873,7 +873,7 @@ export type UpdateResourceRecordParams =
|
|
|
873
873
|
/**
|
|
874
874
|
* Full record data with applied changes.
|
|
875
875
|
*
|
|
876
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
876
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use updates instead.
|
|
877
877
|
*/
|
|
878
878
|
record?: never;
|
|
879
879
|
|
|
@@ -890,7 +890,7 @@ export type UpdateResourceRecordParams =
|
|
|
890
890
|
/**
|
|
891
891
|
* HTTP response object.
|
|
892
892
|
*
|
|
893
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
893
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
894
894
|
*/
|
|
895
895
|
response?: IAdminForthHttpResponse;
|
|
896
896
|
|
|
@@ -932,7 +932,7 @@ export type DeleteResourceRecordParams = {
|
|
|
932
932
|
/**
|
|
933
933
|
* HTTP response object.
|
|
934
934
|
*
|
|
935
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
935
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
936
936
|
*/
|
|
937
937
|
response?: IAdminForthHttpResponse;
|
|
938
938
|
|
|
@@ -985,7 +985,7 @@ export type BeforeDeleteSaveFunction = (params: {
|
|
|
985
985
|
/**
|
|
986
986
|
* HTTP response object.
|
|
987
987
|
*
|
|
988
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
988
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
989
989
|
*/
|
|
990
990
|
response?: IAdminForthHttpResponse,
|
|
991
991
|
/**
|
|
@@ -1015,7 +1015,7 @@ export type BeforeEditSaveFunction = (params: {
|
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Record with updates
|
|
1017
1017
|
*
|
|
1018
|
-
* @deprecated. Will be removed in
|
|
1018
|
+
* @deprecated. Will be removed in 4.0.0. Use updates instead.
|
|
1019
1019
|
*/
|
|
1020
1020
|
record: any, // legacy, 'updates' should be used instead
|
|
1021
1021
|
/**
|
|
@@ -1029,7 +1029,7 @@ export type BeforeEditSaveFunction = (params: {
|
|
|
1029
1029
|
/**
|
|
1030
1030
|
* HTTP response object.
|
|
1031
1031
|
*
|
|
1032
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1032
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1033
1033
|
*/
|
|
1034
1034
|
response: IAdminForthHttpResponse,
|
|
1035
1035
|
/**
|
|
@@ -1058,7 +1058,7 @@ export type BeforeCreateSaveFunction = (params: {
|
|
|
1058
1058
|
/**
|
|
1059
1059
|
* HTTP response object.
|
|
1060
1060
|
*
|
|
1061
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1061
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1062
1062
|
*/
|
|
1063
1063
|
response: IAdminForthHttpResponse,
|
|
1064
1064
|
|
|
@@ -1067,7 +1067,7 @@ export type BeforeCreateSaveFunction = (params: {
|
|
|
1067
1067
|
ok: boolean,
|
|
1068
1068
|
error?: string | null,
|
|
1069
1069
|
/**
|
|
1070
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1070
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use redirectToRecordId instead.
|
|
1071
1071
|
*/
|
|
1072
1072
|
newRecordId?: string,
|
|
1073
1073
|
redirectToRecordId?: string
|
|
@@ -1101,7 +1101,7 @@ export type AfterCreateSaveFunction = (params: {
|
|
|
1101
1101
|
/**
|
|
1102
1102
|
* HTTP response object.
|
|
1103
1103
|
*
|
|
1104
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1104
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1105
1105
|
*/
|
|
1106
1106
|
response: IAdminForthHttpResponse,
|
|
1107
1107
|
/**
|
|
@@ -1138,7 +1138,7 @@ export type AfterDeleteSaveFunction = (params: {
|
|
|
1138
1138
|
/**
|
|
1139
1139
|
* HTTP response object.
|
|
1140
1140
|
*
|
|
1141
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1141
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1142
1142
|
*/
|
|
1143
1143
|
response: IAdminForthHttpResponse,
|
|
1144
1144
|
/**
|
|
@@ -1168,7 +1168,7 @@ export type AfterEditSaveFunction = (params: {
|
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Record after update.
|
|
1170
1170
|
*
|
|
1171
|
-
* @deprecated. Will be removed in
|
|
1171
|
+
* @deprecated. Will be removed in 4.0.0. Use updates instead.
|
|
1172
1172
|
*/
|
|
1173
1173
|
record: any, // legacy, 'updates' should be used instead
|
|
1174
1174
|
/**
|
|
@@ -1182,7 +1182,7 @@ export type AfterEditSaveFunction = (params: {
|
|
|
1182
1182
|
/**
|
|
1183
1183
|
* HTTP response object.
|
|
1184
1184
|
*
|
|
1185
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1185
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1186
1186
|
*/
|
|
1187
1187
|
response: IAdminForthHttpResponse,
|
|
1188
1188
|
/**
|
|
@@ -1202,7 +1202,7 @@ export type BeforeLoginConfirmationFunction = (params?: {
|
|
|
1202
1202
|
/**
|
|
1203
1203
|
* HTTP response object.
|
|
1204
1204
|
*
|
|
1205
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1205
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1206
1206
|
*/
|
|
1207
1207
|
response: IAdminForthHttpResponse,
|
|
1208
1208
|
/**
|
|
@@ -1236,7 +1236,7 @@ export type AdminUserAuthorizeFunction = ((params?: {
|
|
|
1236
1236
|
/**
|
|
1237
1237
|
* HTTP response object.
|
|
1238
1238
|
*
|
|
1239
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1239
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1240
1240
|
*/
|
|
1241
1241
|
response: IAdminForthHttpResponse,
|
|
1242
1242
|
/**
|
|
@@ -2123,7 +2123,7 @@ export interface ResourceOptionsInput extends Omit<NonNullable<AdminForthResourc
|
|
|
2123
2123
|
/**
|
|
2124
2124
|
* Custom bulk actions list. Bulk actions available in list view when user selects multiple records by
|
|
2125
2125
|
* using checkboxes.
|
|
2126
|
-
* @deprecated Since 2.26.5. Will be removed in
|
|
2126
|
+
* @deprecated Since 2.26.5. Will be removed in 4.0.0. Use `actions` instead.
|
|
2127
2127
|
|
|
2128
2128
|
*/
|
|
2129
2129
|
bulkActions?: Array<AdminForthBulkAction>,
|
|
@@ -96,7 +96,7 @@ export interface FrontendAPIInterface {
|
|
|
96
96
|
setFilter(filter: FilterParams): void;
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
* @deprecated does the same as setFilter, kept for backward compatibility, will be removed in
|
|
99
|
+
* @deprecated does the same as setFilter, kept for backward compatibility, will be removed in 4.0.0
|
|
100
100
|
*
|
|
101
101
|
* Update a filter in the list
|
|
102
102
|
*
|
package/dist/types/Back.d.ts
CHANGED
|
@@ -661,7 +661,7 @@ export type BeforeDataSourceRequestFunction = (params: {
|
|
|
661
661
|
ok: boolean;
|
|
662
662
|
error?: string | null;
|
|
663
663
|
/**
|
|
664
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
664
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use redirectToRecordId instead.
|
|
665
665
|
*/
|
|
666
666
|
newRecordId?: string;
|
|
667
667
|
redirectToRecordId?: string;
|
|
@@ -713,7 +713,7 @@ export type CreateResourceRecordResult = {
|
|
|
713
713
|
/**
|
|
714
714
|
* Optional id of an existing record to redirect to
|
|
715
715
|
* (used when a beforeSave hook aborts creation and supplies newRecordId, allows to implement programmatic creation via API).
|
|
716
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
716
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use redirectToRecordId instead.
|
|
717
717
|
*/
|
|
718
718
|
newRecordId?: any;
|
|
719
719
|
/**
|
|
@@ -741,7 +741,7 @@ export type CreateResourceRecordParams = {
|
|
|
741
741
|
/**
|
|
742
742
|
* HTTP response object.
|
|
743
743
|
*
|
|
744
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
744
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
745
745
|
*/
|
|
746
746
|
response?: IAdminForthHttpResponse;
|
|
747
747
|
/**
|
|
@@ -764,7 +764,7 @@ export type UpdateResourceRecordParams = {
|
|
|
764
764
|
/**
|
|
765
765
|
* Full record data with applied changes.
|
|
766
766
|
*
|
|
767
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
767
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use updates instead.
|
|
768
768
|
*/
|
|
769
769
|
record: any;
|
|
770
770
|
/**
|
|
@@ -778,7 +778,7 @@ export type UpdateResourceRecordParams = {
|
|
|
778
778
|
/**
|
|
779
779
|
* HTTP response object.
|
|
780
780
|
*
|
|
781
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
781
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
782
782
|
*/
|
|
783
783
|
response?: IAdminForthHttpResponse;
|
|
784
784
|
/**
|
|
@@ -801,7 +801,7 @@ export type UpdateResourceRecordParams = {
|
|
|
801
801
|
/**
|
|
802
802
|
* Full record data with applied changes.
|
|
803
803
|
*
|
|
804
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
804
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use updates instead.
|
|
805
805
|
*/
|
|
806
806
|
record?: never;
|
|
807
807
|
/**
|
|
@@ -815,7 +815,7 @@ export type UpdateResourceRecordParams = {
|
|
|
815
815
|
/**
|
|
816
816
|
* HTTP response object.
|
|
817
817
|
*
|
|
818
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
818
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
819
819
|
*/
|
|
820
820
|
response?: IAdminForthHttpResponse;
|
|
821
821
|
/**
|
|
@@ -850,7 +850,7 @@ export type DeleteResourceRecordParams = {
|
|
|
850
850
|
/**
|
|
851
851
|
* HTTP response object.
|
|
852
852
|
*
|
|
853
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
853
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
854
854
|
*/
|
|
855
855
|
response?: IAdminForthHttpResponse;
|
|
856
856
|
/**
|
|
@@ -900,7 +900,7 @@ export type BeforeDeleteSaveFunction = (params: {
|
|
|
900
900
|
/**
|
|
901
901
|
* HTTP response object.
|
|
902
902
|
*
|
|
903
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
903
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
904
904
|
*/
|
|
905
905
|
response?: IAdminForthHttpResponse;
|
|
906
906
|
/**
|
|
@@ -928,7 +928,7 @@ export type BeforeEditSaveFunction = (params: {
|
|
|
928
928
|
/**
|
|
929
929
|
* Record with updates
|
|
930
930
|
*
|
|
931
|
-
* @deprecated. Will be removed in
|
|
931
|
+
* @deprecated. Will be removed in 4.0.0. Use updates instead.
|
|
932
932
|
*/
|
|
933
933
|
record: any;
|
|
934
934
|
/**
|
|
@@ -942,7 +942,7 @@ export type BeforeEditSaveFunction = (params: {
|
|
|
942
942
|
/**
|
|
943
943
|
* HTTP response object.
|
|
944
944
|
*
|
|
945
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
945
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
946
946
|
*/
|
|
947
947
|
response: IAdminForthHttpResponse;
|
|
948
948
|
/**
|
|
@@ -973,7 +973,7 @@ export type BeforeCreateSaveFunction = (params: {
|
|
|
973
973
|
/**
|
|
974
974
|
* HTTP response object.
|
|
975
975
|
*
|
|
976
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
976
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
977
977
|
*/
|
|
978
978
|
response: IAdminForthHttpResponse;
|
|
979
979
|
extra?: HttpExtra;
|
|
@@ -981,7 +981,7 @@ export type BeforeCreateSaveFunction = (params: {
|
|
|
981
981
|
ok: boolean;
|
|
982
982
|
error?: string | null;
|
|
983
983
|
/**
|
|
984
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
984
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use redirectToRecordId instead.
|
|
985
985
|
*/
|
|
986
986
|
newRecordId?: string;
|
|
987
987
|
redirectToRecordId?: string;
|
|
@@ -1014,7 +1014,7 @@ export type AfterCreateSaveFunction = (params: {
|
|
|
1014
1014
|
/**
|
|
1015
1015
|
* HTTP response object.
|
|
1016
1016
|
*
|
|
1017
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1017
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1018
1018
|
*/
|
|
1019
1019
|
response: IAdminForthHttpResponse;
|
|
1020
1020
|
/**
|
|
@@ -1053,7 +1053,7 @@ export type AfterDeleteSaveFunction = (params: {
|
|
|
1053
1053
|
/**
|
|
1054
1054
|
* HTTP response object.
|
|
1055
1055
|
*
|
|
1056
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1056
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1057
1057
|
*/
|
|
1058
1058
|
response: IAdminForthHttpResponse;
|
|
1059
1059
|
/**
|
|
@@ -1084,7 +1084,7 @@ export type AfterEditSaveFunction = (params: {
|
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Record after update.
|
|
1086
1086
|
*
|
|
1087
|
-
* @deprecated. Will be removed in
|
|
1087
|
+
* @deprecated. Will be removed in 4.0.0. Use updates instead.
|
|
1088
1088
|
*/
|
|
1089
1089
|
record: any;
|
|
1090
1090
|
/**
|
|
@@ -1098,7 +1098,7 @@ export type AfterEditSaveFunction = (params: {
|
|
|
1098
1098
|
/**
|
|
1099
1099
|
* HTTP response object.
|
|
1100
1100
|
*
|
|
1101
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1101
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1102
1102
|
*/
|
|
1103
1103
|
response: IAdminForthHttpResponse;
|
|
1104
1104
|
/**
|
|
@@ -1120,7 +1120,7 @@ export type BeforeLoginConfirmationFunction = (params?: {
|
|
|
1120
1120
|
/**
|
|
1121
1121
|
* HTTP response object.
|
|
1122
1122
|
*
|
|
1123
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1123
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1124
1124
|
*/
|
|
1125
1125
|
response: IAdminForthHttpResponse;
|
|
1126
1126
|
/**
|
|
@@ -1153,7 +1153,7 @@ export type AdminUserAuthorizeFunction = ((params?: {
|
|
|
1153
1153
|
/**
|
|
1154
1154
|
* HTTP response object.
|
|
1155
1155
|
*
|
|
1156
|
-
* @deprecated Since 1.2.9. Will be removed in
|
|
1156
|
+
* @deprecated Since 1.2.9. Will be removed in 4.0.0. Use extra.response instead.
|
|
1157
1157
|
*/
|
|
1158
1158
|
response: IAdminForthHttpResponse;
|
|
1159
1159
|
/**
|
|
@@ -1866,7 +1866,7 @@ export interface ResourceOptionsInput extends Omit<NonNullable<AdminForthResourc
|
|
|
1866
1866
|
/**
|
|
1867
1867
|
* Custom bulk actions list. Bulk actions available in list view when user selects multiple records by
|
|
1868
1868
|
* using checkboxes.
|
|
1869
|
-
* @deprecated Since 2.26.5. Will be removed in
|
|
1869
|
+
* @deprecated Since 2.26.5. Will be removed in 4.0.0. Use `actions` instead.
|
|
1870
1870
|
|
|
1871
1871
|
*/
|
|
1872
1872
|
bulkActions?: Array<AdminForthBulkAction>;
|
|
@@ -91,7 +91,7 @@ export interface FrontendAPIInterface {
|
|
|
91
91
|
*/
|
|
92
92
|
setFilter(filter: FilterParams): void;
|
|
93
93
|
/**
|
|
94
|
-
* @deprecated does the same as setFilter, kept for backward compatibility, will be removed in
|
|
94
|
+
* @deprecated does the same as setFilter, kept for backward compatibility, will be removed in 4.0.0
|
|
95
95
|
*
|
|
96
96
|
* Update a filter in the list
|
|
97
97
|
*
|