@findatruck/shared-schemas 2.0.0 → 2.0.1
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/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -19,6 +19,7 @@ declare const NewLoginRequest: z.ZodObject<{
|
|
|
19
19
|
ownerId: string;
|
|
20
20
|
externalProviderAccountId: string;
|
|
21
21
|
}>;
|
|
22
|
+
type NewLoginRequest = z.infer<typeof NewLoginRequest>;
|
|
22
23
|
declare const NewLoginResponseSuccess: z.ZodObject<{
|
|
23
24
|
message: z.ZodString;
|
|
24
25
|
user: z.ZodObject<{
|
|
@@ -81,6 +82,7 @@ declare const NewLoginResponseSuccess: z.ZodObject<{
|
|
|
81
82
|
organizationId?: string | undefined;
|
|
82
83
|
honkUserId?: string | undefined;
|
|
83
84
|
}>;
|
|
85
|
+
type NewLoginResponseSuccess = z.infer<typeof NewLoginResponseSuccess>;
|
|
84
86
|
declare const NewLoginResponseFailure: z.ZodObject<{
|
|
85
87
|
error: z.ZodString;
|
|
86
88
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -88,6 +90,7 @@ declare const NewLoginResponseFailure: z.ZodObject<{
|
|
|
88
90
|
}, {
|
|
89
91
|
error: string;
|
|
90
92
|
}>;
|
|
93
|
+
type NewLoginResponseFailure = z.infer<typeof NewLoginResponseFailure>;
|
|
91
94
|
declare const NewLoginResponse: z.ZodUnion<[z.ZodObject<{
|
|
92
95
|
message: z.ZodString;
|
|
93
96
|
user: z.ZodObject<{
|
|
@@ -156,6 +159,7 @@ declare const NewLoginResponse: z.ZodUnion<[z.ZodObject<{
|
|
|
156
159
|
}, {
|
|
157
160
|
error: string;
|
|
158
161
|
}>]>;
|
|
162
|
+
type NewLoginResponse = z.infer<typeof NewLoginResponse>;
|
|
159
163
|
|
|
160
164
|
declare const ConvexUpdate: z$1.ZodObject<{
|
|
161
165
|
provider_url: z$1.ZodEffects<z$1.ZodString, string, string>;
|
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const NewLoginRequest: z.ZodObject<{
|
|
|
19
19
|
ownerId: string;
|
|
20
20
|
externalProviderAccountId: string;
|
|
21
21
|
}>;
|
|
22
|
+
type NewLoginRequest = z.infer<typeof NewLoginRequest>;
|
|
22
23
|
declare const NewLoginResponseSuccess: z.ZodObject<{
|
|
23
24
|
message: z.ZodString;
|
|
24
25
|
user: z.ZodObject<{
|
|
@@ -81,6 +82,7 @@ declare const NewLoginResponseSuccess: z.ZodObject<{
|
|
|
81
82
|
organizationId?: string | undefined;
|
|
82
83
|
honkUserId?: string | undefined;
|
|
83
84
|
}>;
|
|
85
|
+
type NewLoginResponseSuccess = z.infer<typeof NewLoginResponseSuccess>;
|
|
84
86
|
declare const NewLoginResponseFailure: z.ZodObject<{
|
|
85
87
|
error: z.ZodString;
|
|
86
88
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -88,6 +90,7 @@ declare const NewLoginResponseFailure: z.ZodObject<{
|
|
|
88
90
|
}, {
|
|
89
91
|
error: string;
|
|
90
92
|
}>;
|
|
93
|
+
type NewLoginResponseFailure = z.infer<typeof NewLoginResponseFailure>;
|
|
91
94
|
declare const NewLoginResponse: z.ZodUnion<[z.ZodObject<{
|
|
92
95
|
message: z.ZodString;
|
|
93
96
|
user: z.ZodObject<{
|
|
@@ -156,6 +159,7 @@ declare const NewLoginResponse: z.ZodUnion<[z.ZodObject<{
|
|
|
156
159
|
}, {
|
|
157
160
|
error: string;
|
|
158
161
|
}>]>;
|
|
162
|
+
type NewLoginResponse = z.infer<typeof NewLoginResponse>;
|
|
159
163
|
|
|
160
164
|
declare const ConvexUpdate: z$1.ZodObject<{
|
|
161
165
|
provider_url: z$1.ZodEffects<z$1.ZodString, string, string>;
|