@findatruck/shared-schemas 0.11.2 → 0.13.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/index.cjs +1 -2
- package/dist/index.d.cts +3 -6
- package/dist/index.d.ts +3 -6
- package/dist/index.js +1 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -194,8 +194,7 @@ var ScrapeStatus = /* @__PURE__ */ ((ScrapeStatus2) => {
|
|
|
194
194
|
var UpdateScrapeStatusMessage = import_zod3.default.object({
|
|
195
195
|
status: import_zod3.default.nativeEnum(ScrapeStatus).describe("The current status of the scrape process"),
|
|
196
196
|
username: import_zod3.default.string().describe("The username of the driver whose status is being updated"),
|
|
197
|
-
|
|
198
|
-
password: import_zod3.default.string().describe("The encrypted password of the driver whose status is being updated")
|
|
197
|
+
provider_url: import_zod3.default.string().describe("The URL of the ELD provider")
|
|
199
198
|
}).describe("Schema for update status messages");
|
|
200
199
|
// Annotate the CommonJS export names for ESM import in node:
|
|
201
200
|
0 && (module.exports = {
|
package/dist/index.d.cts
CHANGED
|
@@ -413,18 +413,15 @@ declare enum ScrapeStatus {
|
|
|
413
413
|
declare const UpdateScrapeStatusMessage: z$1.ZodObject<{
|
|
414
414
|
status: z$1.ZodNativeEnum<typeof ScrapeStatus>;
|
|
415
415
|
username: z$1.ZodString;
|
|
416
|
-
|
|
417
|
-
password: z$1.ZodString;
|
|
416
|
+
provider_url: z$1.ZodString;
|
|
418
417
|
}, "strip", z$1.ZodTypeAny, {
|
|
418
|
+
provider_url: string;
|
|
419
419
|
username: string;
|
|
420
|
-
password: string;
|
|
421
420
|
status: ScrapeStatus;
|
|
422
|
-
providerUrl: string;
|
|
423
421
|
}, {
|
|
422
|
+
provider_url: string;
|
|
424
423
|
username: string;
|
|
425
|
-
password: string;
|
|
426
424
|
status: ScrapeStatus;
|
|
427
|
-
providerUrl: string;
|
|
428
425
|
}>;
|
|
429
426
|
type UpdateScrapeStatusMessage = z$1.infer<typeof UpdateScrapeStatusMessage>;
|
|
430
427
|
|
package/dist/index.d.ts
CHANGED
|
@@ -413,18 +413,15 @@ declare enum ScrapeStatus {
|
|
|
413
413
|
declare const UpdateScrapeStatusMessage: z$1.ZodObject<{
|
|
414
414
|
status: z$1.ZodNativeEnum<typeof ScrapeStatus>;
|
|
415
415
|
username: z$1.ZodString;
|
|
416
|
-
|
|
417
|
-
password: z$1.ZodString;
|
|
416
|
+
provider_url: z$1.ZodString;
|
|
418
417
|
}, "strip", z$1.ZodTypeAny, {
|
|
418
|
+
provider_url: string;
|
|
419
419
|
username: string;
|
|
420
|
-
password: string;
|
|
421
420
|
status: ScrapeStatus;
|
|
422
|
-
providerUrl: string;
|
|
423
421
|
}, {
|
|
422
|
+
provider_url: string;
|
|
424
423
|
username: string;
|
|
425
|
-
password: string;
|
|
426
424
|
status: ScrapeStatus;
|
|
427
|
-
providerUrl: string;
|
|
428
425
|
}>;
|
|
429
426
|
type UpdateScrapeStatusMessage = z$1.infer<typeof UpdateScrapeStatusMessage>;
|
|
430
427
|
|
package/dist/index.js
CHANGED
|
@@ -143,8 +143,7 @@ var ScrapeStatus = /* @__PURE__ */ ((ScrapeStatus2) => {
|
|
|
143
143
|
var UpdateScrapeStatusMessage = z3.object({
|
|
144
144
|
status: z3.nativeEnum(ScrapeStatus).describe("The current status of the scrape process"),
|
|
145
145
|
username: z3.string().describe("The username of the driver whose status is being updated"),
|
|
146
|
-
|
|
147
|
-
password: z3.string().describe("The encrypted password of the driver whose status is being updated")
|
|
146
|
+
provider_url: z3.string().describe("The URL of the ELD provider")
|
|
148
147
|
}).describe("Schema for update status messages");
|
|
149
148
|
export {
|
|
150
149
|
ConvexUpdate,
|