✨ Allow user to share a flow publicly and make it duplicatable
Closes #360
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
"@typebot.io/tsconfig": "workspace:*",
|
||||
"tsup": "6.5.0",
|
||||
"typebot-js": "workspace:*",
|
||||
"typescript": "5.2.2",
|
||||
"typescript": "5.3.2",
|
||||
"@typebot.io/lib": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"jest-environment-jsdom": "29.4.1",
|
||||
"prettier": "2.8.3",
|
||||
"ts-jest": "29.0.5",
|
||||
"typescript": "5.2.2",
|
||||
"typescript": "5.3.2",
|
||||
"@typebot.io/tsconfig": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,6 +43,6 @@
|
||||
"rollup-plugin-postcss": "4.0.2",
|
||||
"rollup-plugin-typescript-paths": "1.4.0",
|
||||
"tailwindcss": "3.3.3",
|
||||
"typescript": "5.2.2"
|
||||
"typescript": "5.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"rollup-plugin-typescript-paths": "1.4.0",
|
||||
"tslib": "2.6.0",
|
||||
"tsx": "3.12.7",
|
||||
"typescript": "5.2.2"
|
||||
"typescript": "5.3.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"next": "12.x || 13.x",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"rollup-plugin-typescript-paths": "1.4.0",
|
||||
"tslib": "2.6.0",
|
||||
"tsx": "3.12.7",
|
||||
"typescript": "5.2.2"
|
||||
"typescript": "5.3.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "18.x"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"@types/nodemailer": "6.4.8",
|
||||
"next": "13.5.4",
|
||||
"nodemailer": "6.9.3",
|
||||
"typescript": "5.2.2"
|
||||
"typescript": "5.3.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"next": "13.0.0",
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
"prisma": "5.0.0",
|
||||
"@typebot.io/tsconfig": "workspace:*",
|
||||
"tsx": "3.12.7",
|
||||
"typescript": "5.2.2"
|
||||
"typescript": "5.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,6 +36,11 @@ export const settingsSchema = z.object({
|
||||
typingEmulation: typingEmulation.optional(),
|
||||
metadata: metadataSchema.optional(),
|
||||
whatsApp: whatsAppSettingsSchema.optional(),
|
||||
publicShare: z
|
||||
.object({
|
||||
isEnabled: z.boolean().optional(),
|
||||
})
|
||||
.optional(),
|
||||
})
|
||||
|
||||
export type Settings = z.infer<typeof settingsSchema>
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
"devDependencies": {
|
||||
"@typebot.io/prisma": "workspace:*",
|
||||
"@typebot.io/tsconfig": "workspace:*",
|
||||
"typescript": "5.2.2"
|
||||
"typescript": "5.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"prompts": "2.4.2",
|
||||
"stripe": "12.13.0",
|
||||
"tsx": "3.12.7",
|
||||
"typescript": "5.2.2",
|
||||
"typescript": "5.3.2",
|
||||
"zod": "3.22.4"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user