@inploi/core
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -23,4 +23,15 @@ import { z } from 'zod'; | ||
data: z.object({}), | ||
server: z.boolean().default(false), | ||
}); | ||
/** Node that... */ | ||
export const GetWorkflowNodeSchema = BaseFlowNodeSchema.extend({ | ||
type: z.literal('integration-workflow-get'), | ||
server: z.literal(true), | ||
data: z.object({ | ||
ats: z.enum(['cornerstone']), | ||
}), | ||
}); | ||
export type GetWorkflowNode = z.infer<typeof GetWorkflowNodeSchema>; | ||
/** Node that ends the flow. */ | ||
@@ -193,2 +204,3 @@ export const EndFlowNodeSchema = BaseFlowNodeSchema.extend({ | ||
JumpNodeSchema, | ||
GetWorkflowNodeSchema, | ||
], | ||
@@ -214,4 +226,5 @@ { invalid_type_error: 'Invalid node type', required_error: 'Node type is required' }, | ||
'question-number': QuestionNumberSchema, | ||
'integration-workflow-get': GetWorkflowNodeSchema, | ||
} satisfies Record<FlowNodeType, z.ZodSchema>; | ||
export type FlowNodeType = FlowNode['type']; |
{ | ||
"name": "@inploi/core", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "files": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8475
238
0