♻️ Export bot-engine code into its own package
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import { RatingInputBlock } from '@typebot.io/schemas'
|
||||
|
||||
export const validateRatingReply = (reply: string, block: RatingInputBlock) =>
|
||||
Number(reply) <= block.options.length
|
||||
Reference in New Issue
Block a user