@bscotch/cl2-string-server-shared
Advanced tools
Comparing version 0.5.0 to 0.5.1
import { z } from 'zod'; | ||
import { stringSchema } from './types.lib.js'; | ||
export const imageNamePattern = /^(?<name>[a-z0-9._][a-z0-9._/-]*)(?<ext>\.png)$/; | ||
export const imageNamePattern = /^(?<name>[a-z0-9._][a-z0-9._/-]*)$/; | ||
export const imageNameSchema = z.string().regex(imageNamePattern); | ||
@@ -5,0 +5,0 @@ export const imageMetadataSchema = z.object({ |
{ | ||
"name": "@bscotch/cl2-string-server-shared", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1342233