payload 3.0.0-beta.2 → 3.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/RichText.d.ts +2 -0
- package/dist/admin/RichText.d.ts.map +1 -1
- package/dist/admin/RichText.js.map +1 -1
- package/dist/admin/elements/PreviewButton.d.ts +2 -1
- package/dist/admin/elements/PreviewButton.d.ts.map +1 -1
- package/dist/admin/elements/PreviewButton.js.map +1 -1
- package/dist/admin/elements/PublishButton.d.ts +2 -1
- package/dist/admin/elements/PublishButton.d.ts.map +1 -1
- package/dist/admin/elements/PublishButton.js.map +1 -1
- package/dist/admin/elements/SaveButton.d.ts +2 -1
- package/dist/admin/elements/SaveButton.d.ts.map +1 -1
- package/dist/admin/elements/SaveButton.js.map +1 -1
- package/dist/admin/elements/SaveDraftButton.d.ts +2 -1
- package/dist/admin/elements/SaveDraftButton.d.ts.map +1 -1
- package/dist/admin/elements/SaveDraftButton.js.map +1 -1
- package/dist/admin/elements/WithServerSideProps.d.ts +5 -0
- package/dist/admin/elements/WithServerSideProps.d.ts.map +1 -0
- package/dist/admin/elements/WithServerSideProps.js +3 -0
- package/dist/admin/elements/WithServerSideProps.js.map +1 -0
- package/dist/admin/forms/FieldDescription.d.ts +4 -2
- package/dist/admin/forms/FieldDescription.d.ts.map +1 -1
- package/dist/admin/forms/FieldDescription.js.map +1 -1
- package/dist/admin/forms/RowLabel.d.ts +2 -1
- package/dist/admin/forms/RowLabel.d.ts.map +1 -1
- package/dist/admin/forms/RowLabel.js.map +1 -1
- package/dist/admin/types.d.ts +1 -0
- package/dist/admin/types.d.ts.map +1 -1
- package/dist/admin/types.js.map +1 -1
- package/dist/auth/executeAuthStrategies.d.ts +3 -2
- package/dist/auth/executeAuthStrategies.d.ts.map +1 -1
- package/dist/auth/executeAuthStrategies.js.map +1 -1
- package/dist/auth/getFieldsToSign.d.ts +2 -2
- package/dist/auth/getFieldsToSign.d.ts.map +1 -1
- package/dist/auth/getFieldsToSign.js.map +1 -1
- package/dist/auth/operations/auth.d.ts +3 -2
- package/dist/auth/operations/auth.d.ts.map +1 -1
- package/dist/auth/operations/auth.js.map +1 -1
- package/dist/bin/loader/index.d.ts.map +1 -1
- package/dist/bin/loader/index.js +4 -0
- package/dist/bin/loader/index.js.map +1 -1
- package/dist/collections/config/client.d.ts +11 -11
- package/dist/collections/config/types.d.ts +7 -6
- package/dist/collections/config/types.d.ts.map +1 -1
- package/dist/collections/config/types.js.map +1 -1
- package/dist/collections/dataloader.d.ts.map +1 -1
- package/dist/collections/dataloader.js +3 -5
- package/dist/collections/dataloader.js.map +1 -1
- package/dist/collections/operations/create.d.ts.map +1 -1
- package/dist/collections/operations/create.js +1 -4
- package/dist/collections/operations/create.js.map +1 -1
- package/dist/config/types.d.ts +20 -14
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js +3 -0
- package/dist/config/types.js.map +1 -1
- package/dist/exports/utilities.d.ts +1 -2
- package/dist/exports/utilities.d.ts.map +1 -1
- package/dist/exports/utilities.js +1 -2
- package/dist/exports/utilities.js.map +1 -1
- package/dist/fields/config/client.d.ts +102 -102
- package/dist/fields/config/sanitize.spec.js +4 -1
- package/dist/fields/config/sanitize.spec.js.map +1 -1
- package/dist/fields/config/types.d.ts +45 -46
- package/dist/fields/config/types.d.ts.map +1 -1
- package/dist/fields/config/types.js.map +1 -1
- package/dist/fields/getDefaultValue.d.ts +2 -2
- package/dist/fields/getDefaultValue.d.ts.map +1 -1
- package/dist/fields/getDefaultValue.js.map +1 -1
- package/dist/fields/validations.d.ts +4 -4
- package/dist/fields/validations.d.ts.map +1 -1
- package/dist/fields/validations.js +5 -9
- package/dist/fields/validations.js.map +1 -1
- package/dist/fields/validations.spec.js +6 -1
- package/dist/fields/validations.spec.js.map +1 -1
- package/dist/globals/config/types.d.ts +1 -2
- package/dist/globals/config/types.d.ts.map +1 -1
- package/dist/globals/config/types.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/preferences/operations/update.d.ts +1 -1
- package/dist/preferences/types.d.ts +1 -2
- package/dist/preferences/types.d.ts.map +1 -1
- package/dist/preferences/types.js.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
- package/dist/utilities/configToJSONSchema.js +34 -1
- package/dist/utilities/configToJSONSchema.js.map +1 -1
- package/dist/utilities/isEntityHidden.d.ts +2 -2
- package/dist/utilities/isEntityHidden.d.ts.map +1 -1
- package/dist/utilities/isEntityHidden.js.map +1 -1
- package/dist/utilities/isReactComponent.d.ts +2 -0
- package/dist/utilities/isReactComponent.d.ts.map +1 -1
- package/dist/utilities/isReactComponent.js +8 -2
- package/dist/utilities/isReactComponent.js.map +1 -1
- package/dist/utilities/telemetry/events/adminInit.d.ts +2 -2
- package/dist/utilities/telemetry/events/adminInit.d.ts.map +1 -1
- package/dist/utilities/telemetry/events/adminInit.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +12 -0
- package/utilities.d.ts +1 -2
- package/utilities.js +1 -2
- package/dist/utilities/getIDType.d.ts +0 -4
- package/dist/utilities/getIDType.d.ts.map +0 -1
- package/dist/utilities/getIDType.js +0 -8
- package/dist/utilities/getIDType.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/exports/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAClF,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAA;AAEvG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAE7D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAA;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAExF,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAA;AACrF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/exports/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAClF,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAA;AAEvG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAE7D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAA;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAExF,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAA;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,iCAAiC,CAAA;AAE5E,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAE7D,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAExF,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAA;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAC3C,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,qCAAqC,CAAA"}
|
|
@@ -14,13 +14,12 @@ export { fieldSchemaToJSON } from '../utilities/fieldSchemaToJSON.js';
|
|
|
14
14
|
export { default as flattenTopLevelFields } from '../utilities/flattenTopLevelFields.js';
|
|
15
15
|
export { formatLabels, formatNames, toWords } from '../utilities/formatLabels.js';
|
|
16
16
|
export { getCollectionIDFieldTypes } from '../utilities/getCollectionIDFieldTypes.js';
|
|
17
|
-
export { getIDType } from '../utilities/getIDType.js';
|
|
18
17
|
export { getObjectDotNotation } from '../utilities/getObjectDotNotation.js';
|
|
19
18
|
export { default as getUniqueListBy } from '../utilities/getUniqueListBy.js';
|
|
20
19
|
export { isEntityHidden } from '../utilities/isEntityHidden.js';
|
|
21
20
|
export { isNumber } from '../utilities/isNumber.js';
|
|
22
21
|
export { isPlainObject } from '../utilities/isPlainObject.js';
|
|
23
|
-
export { isPlainFunction, isReactComponent } from '../utilities/isReactComponent.js';
|
|
22
|
+
export { isPlainFunction, isReactClientComponent, isReactComponent, isReactServerComponent } from '../utilities/isReactComponent.js';
|
|
24
23
|
export { isValidID } from '../utilities/isValidID.js';
|
|
25
24
|
export { default as isolateObjectProperty } from '../utilities/isolateObjectProperty.js';
|
|
26
25
|
export { mapAsync } from '../utilities/mapAsync.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/utilities.ts"],"sourcesContent":["export { getDataLoader } from '../collections/dataloader.js'\nexport { default as getDefaultValue } from '../fields/getDefaultValue.js'\nexport { promise as afterReadPromise } from '../fields/hooks/afterRead/promise.js'\nexport { traverseFields as afterReadTraverseFields } from '../fields/hooks/afterRead/traverseFields.js'\n\nexport { formatFilesize } from '../uploads/formatFilesize.js'\n\nexport { default as isImage } from '../uploads/isImage.js'\n\nexport { combineMerge } from '../utilities/combineMerge.js'\nexport {\n configToJSONSchema,\n entityToJSONSchema,\n fieldsToJSONSchema,\n withNullableJSONSchemaType,\n} from '../utilities/configToJSONSchema.js'\nexport { createArrayFromCommaDelineated } from '../utilities/createArrayFromCommaDelineated.js'\nexport { createLocalReq } from '../utilities/createLocalReq.js'\nexport { deepCopyObject } from '../utilities/deepCopyObject.js'\nexport { deepMerge } from '../utilities/deepMerge.js'\n\nexport { fieldSchemaToJSON } from '../utilities/fieldSchemaToJSON.js'\nexport { default as flattenTopLevelFields } from '../utilities/flattenTopLevelFields.js'\n\nexport { formatLabels, formatNames, toWords } from '../utilities/formatLabels.js'\n\nexport { getCollectionIDFieldTypes } from '../utilities/getCollectionIDFieldTypes.js'\nexport {
|
|
1
|
+
{"version":3,"sources":["../../src/exports/utilities.ts"],"sourcesContent":["export { getDataLoader } from '../collections/dataloader.js'\nexport { default as getDefaultValue } from '../fields/getDefaultValue.js'\nexport { promise as afterReadPromise } from '../fields/hooks/afterRead/promise.js'\nexport { traverseFields as afterReadTraverseFields } from '../fields/hooks/afterRead/traverseFields.js'\n\nexport { formatFilesize } from '../uploads/formatFilesize.js'\n\nexport { default as isImage } from '../uploads/isImage.js'\n\nexport { combineMerge } from '../utilities/combineMerge.js'\nexport {\n configToJSONSchema,\n entityToJSONSchema,\n fieldsToJSONSchema,\n withNullableJSONSchemaType,\n} from '../utilities/configToJSONSchema.js'\nexport { createArrayFromCommaDelineated } from '../utilities/createArrayFromCommaDelineated.js'\nexport { createLocalReq } from '../utilities/createLocalReq.js'\nexport { deepCopyObject } from '../utilities/deepCopyObject.js'\nexport { deepMerge } from '../utilities/deepMerge.js'\n\nexport { fieldSchemaToJSON } from '../utilities/fieldSchemaToJSON.js'\nexport { default as flattenTopLevelFields } from '../utilities/flattenTopLevelFields.js'\n\nexport { formatLabels, formatNames, toWords } from '../utilities/formatLabels.js'\n\nexport { getCollectionIDFieldTypes } from '../utilities/getCollectionIDFieldTypes.js'\nexport { getObjectDotNotation } from '../utilities/getObjectDotNotation.js'\nexport { default as getUniqueListBy } from '../utilities/getUniqueListBy.js'\n\nexport { isEntityHidden } from '../utilities/isEntityHidden.js'\n\nexport { isNumber } from '../utilities/isNumber.js'\nexport { isPlainObject } from '../utilities/isPlainObject.js'\n\nexport {\n isPlainFunction,\n isReactClientComponent,\n isReactComponent,\n isReactServerComponent,\n} from '../utilities/isReactComponent.js'\nexport { isValidID } from '../utilities/isValidID.js'\nexport { default as isolateObjectProperty } from '../utilities/isolateObjectProperty.js'\n\nexport { mapAsync } from '../utilities/mapAsync.js'\nexport { mergeListSearchAndWhere } from '../utilities/mergeListSearchAndWhere.js'\nexport { setsAreEqual } from '../utilities/setsAreEqual.js'\nexport { default as toKebabCase } from '../utilities/toKebabCase.js'\nexport { wait } from '../utilities/wait.js'\nexport { default as wordBoundariesRegex } from '../utilities/wordBoundariesRegex.js'\n"],"names":["getDataLoader","default","getDefaultValue","promise","afterReadPromise","traverseFields","afterReadTraverseFields","formatFilesize","isImage","combineMerge","configToJSONSchema","entityToJSONSchema","fieldsToJSONSchema","withNullableJSONSchemaType","createArrayFromCommaDelineated","createLocalReq","deepCopyObject","deepMerge","fieldSchemaToJSON","flattenTopLevelFields","formatLabels","formatNames","toWords","getCollectionIDFieldTypes","getObjectDotNotation","getUniqueListBy","isEntityHidden","isNumber","isPlainObject","isPlainFunction","isReactClientComponent","isReactComponent","isReactServerComponent","isValidID","isolateObjectProperty","mapAsync","mergeListSearchAndWhere","setsAreEqual","toKebabCase","wait","wordBoundariesRegex"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,aAAa,QAAQ,+BAA8B;AAC5D,SAASC,WAAWC,eAAe,QAAQ,+BAA8B;AACzE,SAASC,WAAWC,gBAAgB,QAAQ,uCAAsC;AAClF,SAASC,kBAAkBC,uBAAuB,QAAQ,8CAA6C;AAEvG,SAASC,cAAc,QAAQ,+BAA8B;AAE7D,SAASN,WAAWO,OAAO,QAAQ,wBAAuB;AAE1D,SAASC,YAAY,QAAQ,+BAA8B;AAC3D,SACEC,kBAAkB,EAClBC,kBAAkB,EAClBC,kBAAkB,EAClBC,0BAA0B,QACrB,qCAAoC;AAC3C,SAASC,8BAA8B,QAAQ,iDAAgD;AAC/F,SAASC,cAAc,QAAQ,iCAAgC;AAC/D,SAASC,cAAc,QAAQ,iCAAgC;AAC/D,SAASC,SAAS,QAAQ,4BAA2B;AAErD,SAASC,iBAAiB,QAAQ,oCAAmC;AACrE,SAASjB,WAAWkB,qBAAqB,QAAQ,wCAAuC;AAExF,SAASC,YAAY,EAAEC,WAAW,EAAEC,OAAO,QAAQ,+BAA8B;AAEjF,SAASC,yBAAyB,QAAQ,4CAA2C;AACrF,SAASC,oBAAoB,QAAQ,uCAAsC;AAC3E,SAASvB,WAAWwB,eAAe,QAAQ,kCAAiC;AAE5E,SAASC,cAAc,QAAQ,iCAAgC;AAE/D,SAASC,QAAQ,QAAQ,2BAA0B;AACnD,SAASC,aAAa,QAAQ,gCAA+B;AAE7D,SACEC,eAAe,EACfC,sBAAsB,EACtBC,gBAAgB,EAChBC,sBAAsB,QACjB,mCAAkC;AACzC,SAASC,SAAS,QAAQ,4BAA2B;AACrD,SAAShC,WAAWiC,qBAAqB,QAAQ,wCAAuC;AAExF,SAASC,QAAQ,QAAQ,2BAA0B;AACnD,SAASC,uBAAuB,QAAQ,0CAAyC;AACjF,SAASC,YAAY,QAAQ,+BAA8B;AAC3D,SAASpC,WAAWqC,WAAW,QAAQ,8BAA6B;AACpE,SAASC,IAAI,QAAQ,uBAAsB;AAC3C,SAAStC,WAAWuC,mBAAmB,QAAQ,sCAAqC"}
|
|
@@ -15,8 +15,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
15
15
|
admin?: {
|
|
16
16
|
className?: string;
|
|
17
17
|
components?: {
|
|
18
|
-
Cell?: import("
|
|
19
|
-
Field?: import("
|
|
18
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
19
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
20
20
|
Filter?: import("react").ComponentType<any>;
|
|
21
21
|
};
|
|
22
22
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -32,8 +32,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
32
32
|
components?: {
|
|
33
33
|
RowLabel?: import("../../admin/types.js").RowLabel;
|
|
34
34
|
} & {
|
|
35
|
-
Cell?: import("
|
|
36
|
-
Field?: import("
|
|
35
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
36
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
37
37
|
Filter?: import("react").ComponentType<any>;
|
|
38
38
|
};
|
|
39
39
|
initCollapsed?: boolean;
|
|
@@ -72,8 +72,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
72
72
|
admin?: {
|
|
73
73
|
className?: string;
|
|
74
74
|
components?: {
|
|
75
|
-
Cell?: import("
|
|
76
|
-
Field?: import("
|
|
75
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
76
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
77
77
|
Filter?: import("react").ComponentType<any>;
|
|
78
78
|
};
|
|
79
79
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -120,8 +120,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
120
120
|
admin?: {
|
|
121
121
|
className?: string;
|
|
122
122
|
components?: {
|
|
123
|
-
Cell?: import("
|
|
124
|
-
Field?: import("
|
|
123
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
124
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
125
125
|
Filter?: import("react").ComponentType<any>;
|
|
126
126
|
};
|
|
127
127
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -135,10 +135,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
135
135
|
width?: string;
|
|
136
136
|
} & {
|
|
137
137
|
components?: {
|
|
138
|
-
Error?: import("
|
|
139
|
-
Label?: import("
|
|
140
|
-
afterInput?: import("
|
|
141
|
-
beforeInput?: import("
|
|
138
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
139
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
140
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
141
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
144
|
custom?: Record<string, any>;
|
|
@@ -187,8 +187,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
187
187
|
admin?: {
|
|
188
188
|
className?: string;
|
|
189
189
|
components?: {
|
|
190
|
-
Cell?: import("
|
|
191
|
-
Field?: import("
|
|
190
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
191
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
192
192
|
Filter?: import("react").ComponentType<any>;
|
|
193
193
|
};
|
|
194
194
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -202,8 +202,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
202
202
|
width?: string;
|
|
203
203
|
} & {
|
|
204
204
|
components?: {
|
|
205
|
-
Error?: import("
|
|
206
|
-
Label?: import("
|
|
205
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
206
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
207
207
|
};
|
|
208
208
|
editorOptions?: import("monaco-editor").editor.IStandaloneEditorConstructionOptions;
|
|
209
209
|
language?: string;
|
|
@@ -215,8 +215,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
215
215
|
admin?: {
|
|
216
216
|
className?: string;
|
|
217
217
|
components?: {
|
|
218
|
-
Cell?: import("
|
|
219
|
-
Field?: import("
|
|
218
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
219
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
220
220
|
Filter?: import("react").ComponentType<any>;
|
|
221
221
|
};
|
|
222
222
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -264,8 +264,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
264
264
|
admin?: {
|
|
265
265
|
className?: string;
|
|
266
266
|
components?: {
|
|
267
|
-
Cell?: import("
|
|
268
|
-
Field?: import("
|
|
267
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
268
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
269
269
|
Filter?: import("react").ComponentType<any>;
|
|
270
270
|
};
|
|
271
271
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -279,10 +279,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
279
279
|
width?: string;
|
|
280
280
|
} & {
|
|
281
281
|
components?: {
|
|
282
|
-
Error?: import("
|
|
283
|
-
Label?: import("
|
|
284
|
-
afterInput?: import("
|
|
285
|
-
beforeInput?: import("
|
|
282
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
283
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
284
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
285
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
286
286
|
};
|
|
287
287
|
date?: import("../../admin/types.js").ConditionalDateProps;
|
|
288
288
|
placeholder?: string | Record<string, string>;
|
|
@@ -315,8 +315,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
315
315
|
admin?: {
|
|
316
316
|
className?: string;
|
|
317
317
|
components?: {
|
|
318
|
-
Cell?: import("
|
|
319
|
-
Field?: import("
|
|
318
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
319
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
320
320
|
Filter?: import("react").ComponentType<any>;
|
|
321
321
|
};
|
|
322
322
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -331,10 +331,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
331
331
|
} & {
|
|
332
332
|
autoComplete?: string;
|
|
333
333
|
components?: {
|
|
334
|
-
Error?: import("
|
|
335
|
-
Label?: import("
|
|
336
|
-
afterInput?: import("
|
|
337
|
-
beforeInput?: import("
|
|
334
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
335
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
336
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
337
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
338
338
|
};
|
|
339
339
|
placeholder?: string | Record<string, string>;
|
|
340
340
|
};
|
|
@@ -361,8 +361,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
361
361
|
admin?: {
|
|
362
362
|
className?: string;
|
|
363
363
|
components?: {
|
|
364
|
-
Cell?: import("
|
|
365
|
-
Field?: import("
|
|
364
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
365
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
366
366
|
Filter?: import("react").ComponentType<any>;
|
|
367
367
|
};
|
|
368
368
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -429,8 +429,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
429
429
|
admin?: {
|
|
430
430
|
className?: string;
|
|
431
431
|
components?: {
|
|
432
|
-
Cell?: import("
|
|
433
|
-
Field?: import("
|
|
432
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
433
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
434
434
|
Filter?: import("react").ComponentType<any>;
|
|
435
435
|
};
|
|
436
436
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -444,8 +444,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
444
444
|
width?: string;
|
|
445
445
|
} & {
|
|
446
446
|
components?: {
|
|
447
|
-
Error?: import("
|
|
448
|
-
Label?: import("
|
|
447
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
448
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
449
449
|
};
|
|
450
450
|
editorOptions?: import("monaco-editor").editor.IStandaloneEditorConstructionOptions;
|
|
451
451
|
};
|
|
@@ -459,8 +459,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
459
459
|
admin?: {
|
|
460
460
|
className?: string;
|
|
461
461
|
components?: {
|
|
462
|
-
Cell?: import("
|
|
463
|
-
Field?: import("
|
|
462
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
463
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
464
464
|
Filter?: import("react").ComponentType<any>;
|
|
465
465
|
};
|
|
466
466
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -475,10 +475,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
475
475
|
} & {
|
|
476
476
|
autoComplete?: string;
|
|
477
477
|
components?: {
|
|
478
|
-
Error?: import("
|
|
479
|
-
Label?: import("
|
|
480
|
-
afterInput?: import("
|
|
481
|
-
beforeInput?: import("
|
|
478
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
479
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
480
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
481
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
482
482
|
};
|
|
483
483
|
placeholder?: string | Record<string, string>;
|
|
484
484
|
step?: number;
|
|
@@ -516,8 +516,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
516
516
|
admin?: {
|
|
517
517
|
className?: string;
|
|
518
518
|
components?: {
|
|
519
|
-
Cell?: import("
|
|
520
|
-
Field?: import("
|
|
519
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
520
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
521
521
|
Filter?: import("react").ComponentType<any>;
|
|
522
522
|
};
|
|
523
523
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -532,10 +532,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
532
532
|
} & {
|
|
533
533
|
autoComplete?: string;
|
|
534
534
|
components?: {
|
|
535
|
-
Error?: import("
|
|
536
|
-
Label?: import("
|
|
537
|
-
afterInput?: import("
|
|
538
|
-
beforeInput?: import("
|
|
535
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
536
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
537
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
538
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
539
539
|
};
|
|
540
540
|
placeholder?: string | Record<string, string>;
|
|
541
541
|
step?: number;
|
|
@@ -573,8 +573,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
573
573
|
admin?: {
|
|
574
574
|
className?: string;
|
|
575
575
|
components?: {
|
|
576
|
-
Cell?: import("
|
|
577
|
-
Field?: import("
|
|
576
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
577
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
578
578
|
Filter?: import("react").ComponentType<any>;
|
|
579
579
|
};
|
|
580
580
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -615,8 +615,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
615
615
|
admin?: {
|
|
616
616
|
className?: string;
|
|
617
617
|
components?: {
|
|
618
|
-
Cell?: import("
|
|
619
|
-
Field?: import("
|
|
618
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
619
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
620
620
|
Filter?: import("react").ComponentType<any>;
|
|
621
621
|
};
|
|
622
622
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -630,8 +630,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
630
630
|
width?: string;
|
|
631
631
|
} & {
|
|
632
632
|
components?: {
|
|
633
|
-
Error?: import("
|
|
634
|
-
Label?: import("
|
|
633
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
634
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
635
635
|
};
|
|
636
636
|
layout?: "horizontal" | "vertical";
|
|
637
637
|
};
|
|
@@ -666,8 +666,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
666
666
|
admin?: {
|
|
667
667
|
className?: string;
|
|
668
668
|
components?: {
|
|
669
|
-
Cell?: import("
|
|
670
|
-
Field?: import("
|
|
669
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
670
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
671
671
|
Filter?: import("react").ComponentType<any>;
|
|
672
672
|
};
|
|
673
673
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -682,8 +682,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
682
682
|
} & {
|
|
683
683
|
allowCreate?: boolean;
|
|
684
684
|
components?: {
|
|
685
|
-
Error?: import("
|
|
686
|
-
Label?: import("
|
|
685
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
686
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
687
687
|
};
|
|
688
688
|
isSortable?: boolean;
|
|
689
689
|
} & {
|
|
@@ -727,8 +727,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
727
727
|
admin?: {
|
|
728
728
|
className?: string;
|
|
729
729
|
components?: {
|
|
730
|
-
Cell?: import("
|
|
731
|
-
Field?: import("
|
|
730
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
731
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
732
732
|
Filter?: import("react").ComponentType<any>;
|
|
733
733
|
};
|
|
734
734
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -743,8 +743,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
743
743
|
} & {
|
|
744
744
|
allowCreate?: boolean;
|
|
745
745
|
components?: {
|
|
746
|
-
Error?: import("
|
|
747
|
-
Label?: import("
|
|
746
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
747
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
748
748
|
};
|
|
749
749
|
isSortable?: boolean;
|
|
750
750
|
} & {
|
|
@@ -788,8 +788,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
788
788
|
admin?: {
|
|
789
789
|
className?: string;
|
|
790
790
|
components?: {
|
|
791
|
-
Cell?: import("
|
|
792
|
-
Field?: import("
|
|
791
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
792
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
793
793
|
Filter?: import("react").ComponentType<any>;
|
|
794
794
|
};
|
|
795
795
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -804,8 +804,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
804
804
|
} & {
|
|
805
805
|
allowCreate?: boolean;
|
|
806
806
|
components?: {
|
|
807
|
-
Error?: import("
|
|
808
|
-
Label?: import("
|
|
807
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
808
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
809
809
|
};
|
|
810
810
|
isSortable?: boolean;
|
|
811
811
|
} & {
|
|
@@ -847,8 +847,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
847
847
|
admin?: {
|
|
848
848
|
className?: string;
|
|
849
849
|
components?: {
|
|
850
|
-
Cell?: import("
|
|
851
|
-
Field?: import("
|
|
850
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
851
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
852
852
|
Filter?: import("react").ComponentType<any>;
|
|
853
853
|
};
|
|
854
854
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -863,8 +863,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
863
863
|
} & {
|
|
864
864
|
allowCreate?: boolean;
|
|
865
865
|
components?: {
|
|
866
|
-
Error?: import("
|
|
867
|
-
Label?: import("
|
|
866
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
867
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
868
868
|
};
|
|
869
869
|
isSortable?: boolean;
|
|
870
870
|
} & {
|
|
@@ -906,8 +906,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
906
906
|
admin?: {
|
|
907
907
|
className?: string;
|
|
908
908
|
components?: {
|
|
909
|
-
Cell?: import("
|
|
910
|
-
Field?: import("
|
|
909
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
910
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
911
911
|
Filter?: import("react").ComponentType<any>;
|
|
912
912
|
};
|
|
913
913
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -921,8 +921,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
921
921
|
width?: string;
|
|
922
922
|
} & {
|
|
923
923
|
components?: {
|
|
924
|
-
Error?: import("
|
|
925
|
-
Label?: import("
|
|
924
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
925
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
926
926
|
};
|
|
927
927
|
};
|
|
928
928
|
custom?: Record<string, any>;
|
|
@@ -979,8 +979,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
979
979
|
admin?: {
|
|
980
980
|
className?: string;
|
|
981
981
|
components?: {
|
|
982
|
-
Cell?: import("
|
|
983
|
-
Field?: import("
|
|
982
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
983
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
984
984
|
Filter?: import("react").ComponentType<any>;
|
|
985
985
|
};
|
|
986
986
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -994,8 +994,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
994
994
|
width?: string;
|
|
995
995
|
} & {
|
|
996
996
|
components?: {
|
|
997
|
-
Error?: import("
|
|
998
|
-
Label?: import("
|
|
997
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
998
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
999
999
|
};
|
|
1000
1000
|
isClearable?: boolean;
|
|
1001
1001
|
isSortable?: boolean;
|
|
@@ -1056,8 +1056,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
1056
1056
|
admin?: {
|
|
1057
1057
|
className?: string;
|
|
1058
1058
|
components?: {
|
|
1059
|
-
Cell?: import("
|
|
1060
|
-
Field?: import("
|
|
1059
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1060
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
1061
1061
|
Filter?: import("react").ComponentType<any>;
|
|
1062
1062
|
};
|
|
1063
1063
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -1072,10 +1072,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
1072
1072
|
} & {
|
|
1073
1073
|
autoComplete?: string;
|
|
1074
1074
|
components?: {
|
|
1075
|
-
Error?: import("
|
|
1076
|
-
Label?: import("
|
|
1077
|
-
afterInput?: import("
|
|
1078
|
-
beforeInput?: import("
|
|
1075
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
1076
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
1077
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
1078
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
1079
1079
|
};
|
|
1080
1080
|
placeholder?: string | Record<string, string>;
|
|
1081
1081
|
rtl?: boolean;
|
|
@@ -1113,8 +1113,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
1113
1113
|
admin?: {
|
|
1114
1114
|
className?: string;
|
|
1115
1115
|
components?: {
|
|
1116
|
-
Cell?: import("
|
|
1117
|
-
Field?: import("
|
|
1116
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1117
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
1118
1118
|
Filter?: import("react").ComponentType<any>;
|
|
1119
1119
|
};
|
|
1120
1120
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -1129,10 +1129,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
1129
1129
|
} & {
|
|
1130
1130
|
autoComplete?: string;
|
|
1131
1131
|
components?: {
|
|
1132
|
-
Error?: import("
|
|
1133
|
-
Label?: import("
|
|
1134
|
-
afterInput?: import("
|
|
1135
|
-
beforeInput?: import("
|
|
1132
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
1133
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
1134
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
1135
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
1136
1136
|
};
|
|
1137
1137
|
placeholder?: string | Record<string, string>;
|
|
1138
1138
|
rtl?: boolean;
|
|
@@ -1170,8 +1170,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
1170
1170
|
admin?: {
|
|
1171
1171
|
className?: string;
|
|
1172
1172
|
components?: {
|
|
1173
|
-
Cell?: import("
|
|
1174
|
-
Field?: import("
|
|
1173
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1174
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
1175
1175
|
Filter?: import("react").ComponentType<any>;
|
|
1176
1176
|
};
|
|
1177
1177
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -1185,10 +1185,10 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
1185
1185
|
width?: string;
|
|
1186
1186
|
} & {
|
|
1187
1187
|
components?: {
|
|
1188
|
-
Error?: import("
|
|
1189
|
-
Label?: import("
|
|
1190
|
-
afterInput?: import("
|
|
1191
|
-
beforeInput?: import("
|
|
1188
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
1189
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
1190
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
1191
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
1192
1192
|
};
|
|
1193
1193
|
placeholder?: string | Record<string, string>;
|
|
1194
1194
|
rows?: number;
|
|
@@ -1218,8 +1218,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
1218
1218
|
} | {
|
|
1219
1219
|
admin: {
|
|
1220
1220
|
components?: {
|
|
1221
|
-
Cell?: import("
|
|
1222
|
-
Field: import("
|
|
1221
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1222
|
+
Field: import("../../config/types.js").CustomComponent;
|
|
1223
1223
|
Filter?: import("react").ComponentType<any>;
|
|
1224
1224
|
};
|
|
1225
1225
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -1240,8 +1240,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
1240
1240
|
admin?: {
|
|
1241
1241
|
className?: string;
|
|
1242
1242
|
components?: {
|
|
1243
|
-
Cell?: import("
|
|
1244
|
-
Field?: import("
|
|
1243
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1244
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
1245
1245
|
Filter?: import("react").ComponentType<any>;
|
|
1246
1246
|
};
|
|
1247
1247
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
@@ -1255,8 +1255,8 @@ export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
|
1255
1255
|
width?: string;
|
|
1256
1256
|
} & {
|
|
1257
1257
|
components?: {
|
|
1258
|
-
Error?: import("
|
|
1259
|
-
Label?: import("
|
|
1258
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
1259
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
1260
1260
|
};
|
|
1261
1261
|
};
|
|
1262
1262
|
custom?: Record<string, any>;
|
|
@@ -2,7 +2,10 @@ import { InvalidFieldName, InvalidFieldRelationship, MissingFieldType } from '..
|
|
|
2
2
|
import { sanitizeFields } from './sanitize';
|
|
3
3
|
const dummyConfig = {
|
|
4
4
|
collections: [],
|
|
5
|
-
db:
|
|
5
|
+
db: {
|
|
6
|
+
defaultIDType: 'text',
|
|
7
|
+
init: ()=>({})
|
|
8
|
+
}
|
|
6
9
|
};
|
|
7
10
|
describe('sanitizeFields', ()=>{
|
|
8
11
|
it('should throw on missing type field', ()=>{
|