1
0
Fork 0
mirror of synced 2024-07-01 20:41:03 +12:00

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

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"