futbol-in-core 1.0.29 → 1.0.30

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.
@@ -14,3 +14,11 @@ export declare const resendCodeSchema: z.ZodObject<{
14
14
  email: z.ZodEmail;
15
15
  }, z.core.$strip>;
16
16
  export type ResendCodeBody = z.infer<typeof resendCodeSchema>;
17
+ export declare const googleSignInSchema: z.ZodObject<{
18
+ idToken: z.ZodString;
19
+ }, z.core.$strip>;
20
+ export type GoogleSignInBody = z.infer<typeof googleSignInSchema>;
21
+ export declare const setUsernameSchema: z.ZodObject<{
22
+ username: z.ZodString;
23
+ }, z.core.$strip>;
24
+ export type SetUsernameBody = z.infer<typeof setUsernameSchema>;
@@ -13,3 +13,10 @@ export const verifyEmailSchema = z.object({
13
13
  export const resendCodeSchema = z.object({
14
14
  email: z.email("Email inválido"),
15
15
  });
16
+ // futbol-in-core/schemas
17
+ export const googleSignInSchema = z.object({
18
+ idToken: z.string().min(10),
19
+ });
20
+ export const setUsernameSchema = z.object({
21
+ username: z.string().min(3).max(20),
22
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "futbol-in-core",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",