mirror of
https://git.meshkee.com/BaloutPastry/website.git
synced 2026-08-11 22:31:01 +04:30
Initial commit of Balout Pastry public website.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
/** Prisma cuid-like ids used for products (not category slugs). */
|
||||
export function isCuid(value: string) {
|
||||
return /^c[a-z0-9]{20,}$/i.test(value)
|
||||
}
|
||||
Reference in New Issue
Block a user