@bizmap/sdk 0.0.96 → 0.0.97
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/main.js +1 -4
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -80,10 +80,7 @@ var StandardTime = z5.string().trim().refine(
|
|
|
80
80
|
(d) => d && d.replace(/^(01|(0[2-9])|(1[0-2])):(([1-5][0-9])|0[0-9]) (am|pm)/i, "").length === 0,
|
|
81
81
|
'Invalid standard time: must match the pattern "hh:mm A"'
|
|
82
82
|
);
|
|
83
|
-
var Timestamp = z5.int().
|
|
84
|
-
(t) => t.toString().length === 13,
|
|
85
|
-
"A timestamp must have (13) digits."
|
|
86
|
-
).positive();
|
|
83
|
+
var Timestamp = z5.int().min(10, "A timestamp must have at least (10) digits.").max(15, "A timestamp can't have more than (15) digits.").positive();
|
|
87
84
|
var InviteResponse = z5.enum(["accepted", "declined"]);
|
|
88
85
|
var TimeLog = z5.object({
|
|
89
86
|
createdAt: Timestamp.readonly(),
|