Defines an action shown on a custom object's list or detail view.
Type definition
export declare class CustomObjectAction {
constructor(customObject: ObjectReference, props: CustomObjectActionProps & {
apiName: Config['api_name'];
});
getApiName(): Config['api_name'];
getActionId(): string;
setName(name: string): this;
setFunction(fn: FunctionReference): this;
setVisibilityPreferences(preferences: CustomObjectActionVisibilityPreference[]): this;
toDict(): Config;
}