@axium/core 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schemas.d.ts CHANGED
@@ -1,6 +1,4 @@
1
1
  import * as z from 'zod';
2
- export declare const Name: z.ZodString;
3
- export type Name = z.infer<typeof Name>;
4
2
  export declare const User: z.ZodObject<{
5
3
  id: z.ZodString;
6
4
  email: z.ZodString;
package/dist/schemas.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import * as z from 'zod';
2
- export const Name = z.string().min(1, 'Name is required').max(255, 'Name is too long');
3
2
  export const User = z.object({
4
3
  id: z.string().uuid(),
5
4
  email: z.string().email(),
6
- name: Name,
5
+ name: z.string().min(1, 'Name is required').max(255, 'Name is too long'),
7
6
  image: z.string().url(),
8
7
  });
9
8
  export const Login = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/core",
3
- "version": "0.0.3",
3
+ "version": "0.1.0",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "funding": {
6
6
  "type": "individual",