@findatruck/shared-schemas 2.7.0 → 2.8.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/browser.cjs +2 -1
- package/dist/browser.d.cts +3 -0
- package/dist/browser.d.ts +3 -0
- package/dist/browser.js +1 -1
- package/dist/{chunk-5AS6K3Q5.js → chunk-3CDH5DV5.js} +2 -1
- package/dist/index.cjs +2 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/browser.cjs
CHANGED
|
@@ -61,7 +61,8 @@ var NewLoginRequest = import_zod.z.object({
|
|
|
61
61
|
username: import_zod.z.string().min(1),
|
|
62
62
|
encryptedPassword: import_zod.z.string().min(1),
|
|
63
63
|
ownerId: import_zod.z.string(),
|
|
64
|
-
externalProviderAccountId: import_zod.z.string()
|
|
64
|
+
externalProviderAccountId: import_zod.z.string(),
|
|
65
|
+
convexUpdateUrl: import_zod.z.string().url().describe("The Convex function URL to send updates to")
|
|
65
66
|
});
|
|
66
67
|
var PublicUser = import_zod.z.object({
|
|
67
68
|
id: import_zod.z.string(),
|
package/dist/browser.d.cts
CHANGED
|
@@ -6,18 +6,21 @@ declare const NewLoginRequest: z.ZodObject<{
|
|
|
6
6
|
encryptedPassword: z.ZodString;
|
|
7
7
|
ownerId: z.ZodString;
|
|
8
8
|
externalProviderAccountId: z.ZodString;
|
|
9
|
+
convexUpdateUrl: z.ZodString;
|
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
|
10
11
|
providerUrl: string;
|
|
11
12
|
username: string;
|
|
12
13
|
encryptedPassword: string;
|
|
13
14
|
ownerId: string;
|
|
14
15
|
externalProviderAccountId: string;
|
|
16
|
+
convexUpdateUrl: string;
|
|
15
17
|
}, {
|
|
16
18
|
providerUrl: string;
|
|
17
19
|
username: string;
|
|
18
20
|
encryptedPassword: string;
|
|
19
21
|
ownerId: string;
|
|
20
22
|
externalProviderAccountId: string;
|
|
23
|
+
convexUpdateUrl: string;
|
|
21
24
|
}>;
|
|
22
25
|
type NewLoginRequest = z.infer<typeof NewLoginRequest>;
|
|
23
26
|
declare const NewLoginResponseSuccess: z.ZodObject<{
|
package/dist/browser.d.ts
CHANGED
|
@@ -6,18 +6,21 @@ declare const NewLoginRequest: z.ZodObject<{
|
|
|
6
6
|
encryptedPassword: z.ZodString;
|
|
7
7
|
ownerId: z.ZodString;
|
|
8
8
|
externalProviderAccountId: z.ZodString;
|
|
9
|
+
convexUpdateUrl: z.ZodString;
|
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
|
10
11
|
providerUrl: string;
|
|
11
12
|
username: string;
|
|
12
13
|
encryptedPassword: string;
|
|
13
14
|
ownerId: string;
|
|
14
15
|
externalProviderAccountId: string;
|
|
16
|
+
convexUpdateUrl: string;
|
|
15
17
|
}, {
|
|
16
18
|
providerUrl: string;
|
|
17
19
|
username: string;
|
|
18
20
|
encryptedPassword: string;
|
|
19
21
|
ownerId: string;
|
|
20
22
|
externalProviderAccountId: string;
|
|
23
|
+
convexUpdateUrl: string;
|
|
21
24
|
}>;
|
|
22
25
|
type NewLoginRequest = z.infer<typeof NewLoginRequest>;
|
|
23
26
|
declare const NewLoginResponseSuccess: z.ZodObject<{
|
package/dist/browser.js
CHANGED
|
@@ -16,7 +16,8 @@ var NewLoginRequest = z.object({
|
|
|
16
16
|
username: z.string().min(1),
|
|
17
17
|
encryptedPassword: z.string().min(1),
|
|
18
18
|
ownerId: z.string(),
|
|
19
|
-
externalProviderAccountId: z.string()
|
|
19
|
+
externalProviderAccountId: z.string(),
|
|
20
|
+
convexUpdateUrl: z.string().url().describe("The Convex function URL to send updates to")
|
|
20
21
|
});
|
|
21
22
|
var PublicUser = z.object({
|
|
22
23
|
id: z.string(),
|
package/dist/index.cjs
CHANGED
|
@@ -63,7 +63,8 @@ var NewLoginRequest = import_zod.z.object({
|
|
|
63
63
|
username: import_zod.z.string().min(1),
|
|
64
64
|
encryptedPassword: import_zod.z.string().min(1),
|
|
65
65
|
ownerId: import_zod.z.string(),
|
|
66
|
-
externalProviderAccountId: import_zod.z.string()
|
|
66
|
+
externalProviderAccountId: import_zod.z.string(),
|
|
67
|
+
convexUpdateUrl: import_zod.z.string().url().describe("The Convex function URL to send updates to")
|
|
67
68
|
});
|
|
68
69
|
var PublicUser = import_zod.z.object({
|
|
69
70
|
id: import_zod.z.string(),
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
UpdateScrapeStatusMessage,
|
|
10
10
|
ValidatePasswordRequestSchema,
|
|
11
11
|
ValidatePasswordResponseSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3CDH5DV5.js";
|
|
13
13
|
|
|
14
14
|
// src/security/transit-crypto.ts
|
|
15
15
|
import { publicEncrypt, privateDecrypt, constants } from "crypto";
|