Regenerate the frontend SDK
Picks up the unauthenticated_hook validation issue.
This commit is contained in:
@@ -959,7 +959,7 @@ export const ValidationIssueSchema = {
|
|||||||
properties: {
|
properties: {
|
||||||
code: {
|
code: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
enum: ['cycle', 'unconnected_input', 'missing_initial_value', 'node_error'],
|
enum: ['cycle', 'unconnected_input', 'missing_initial_value', 'node_error', 'unauthenticated_hook'],
|
||||||
title: 'Code'
|
title: 'Code'
|
||||||
},
|
},
|
||||||
message: {
|
message: {
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ export type ValidationError = {
|
|||||||
* A problem that keeps a flow from running correctly.
|
* A problem that keeps a flow from running correctly.
|
||||||
*/
|
*/
|
||||||
export type ValidationIssue = {
|
export type ValidationIssue = {
|
||||||
code: 'cycle' | 'unconnected_input' | 'missing_initial_value' | 'node_error';
|
code: 'cycle' | 'unconnected_input' | 'missing_initial_value' | 'node_error' | 'unauthenticated_hook';
|
||||||
message: string;
|
message: string;
|
||||||
flow?: string;
|
flow?: string;
|
||||||
nodes?: Array<(string)>;
|
nodes?: Array<(string)>;
|
||||||
@@ -288,7 +288,7 @@ export type ValidationIssue = {
|
|||||||
message_name?: (string | null);
|
message_name?: (string | null);
|
||||||
};
|
};
|
||||||
|
|
||||||
export type code = 'cycle' | 'unconnected_input' | 'missing_initial_value' | 'node_error';
|
export type code = 'cycle' | 'unconnected_input' | 'missing_initial_value' | 'node_error' | 'unauthenticated_hook';
|
||||||
|
|
||||||
export type ValidationResult = {
|
export type ValidationResult = {
|
||||||
issues?: Array<ValidationIssue>;
|
issues?: Array<ValidationIssue>;
|
||||||
|
|||||||
Reference in New Issue
Block a user