Update packages/shared-core/src/constants/index.ts

Co-authored-by: Sam Rose <hello@samwho.dev>
This commit is contained in:
Andrew Kingston 2024-03-13 14:29:50 +00:00 committed by GitHub
parent 138cd39c36
commit 2732a11b4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ export enum BuilderSocketEvent {
export const SocketSessionTTL = 60
export const ValidQueryNameRegex = /^[^()]*$/
export const ValidColumnNameRegex = /^[_a-zA-Z0-9\s]*$/g
export const ValidSnippetNameRegex = /^[a-z-_][a-z0-9-_]*$/i
export const ValidSnippetNameRegex = /^[a-z_][a-z0-9_]*$/i
export const REBOOT_CRON = "@reboot"