Skip to content

Commit 1a78d40

Browse files
author
Ivan Maretić
committed
docs: add comment for executeAction validationErrors
1 parent 7cad592 commit 1a78d40

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/blueprints-integration/src/api/showStyle.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,12 @@ export interface ShowStyleBlueprintManifest<
142142
privateData: unknown | undefined,
143143
publicData: unknown | undefined,
144144
actionOptions: { [key: string]: any } | undefined
145-
) => Promise<{ validationErrors: any } | void>
145+
) => Promise<{
146+
/**
147+
* To be set if the payload sent by the user is invalid. When set, a 409 `ValidationFailed` message will be displayed to the User.
148+
*/
149+
validationErrors: any
150+
} | void>
146151

147152
/** Generate adlib piece from ingest data */
148153
getAdlibItem?: (

0 commit comments

Comments
 (0)