You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {Object|string|number} data Data to be set on the field
@@ -34,19 +31,17 @@ declare class Field {
34
31
*/
35
32
getData({ resolved }?: {
36
33
resolved?: boolean|undefined;
37
-
}): {
38
-
[key: string]: any;
39
-
};
34
+
}): GenericObjectType;
40
35
/**
41
36
* Sets the focus for a field when an extension is being used. This method shows user presence and highlights the extension field that the user is currently accessing in Contentstack UI.
42
37
* @return {Object} A promise object which is resolved when Contentstack UI returns an acknowledgement of the focused state.
43
38
*/
44
-
setFocus(): any;
39
+
setFocus(): void;
45
40
/**
46
41
* This function is called when another extension programmatically changes data of this field using field.setData() function, only available for extension field, only support extensions of data type text, number, boolean or date.
47
42
* @param {function} callback The function to be called when an entry is published.
0 commit comments