@bizmap/sdk 0.0.17 → 0.0.18
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 +4 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -86,7 +86,10 @@ var CompanyOpState = z4.object({
|
|
|
86
86
|
// This can be changed by the company's admin
|
|
87
87
|
preferences: z4.object({
|
|
88
88
|
/** The amount of user provisions made for this company */
|
|
89
|
-
userProvisions: z4.number().
|
|
89
|
+
userProvisions: z4.number().max(150, { error: "The total user provisions can't exceed 150" }).refine(
|
|
90
|
+
(p) => !(p > 1 && p < 10),
|
|
91
|
+
"The total user provisions must either be 1 or at least 10."
|
|
92
|
+
),
|
|
90
93
|
/**
|
|
91
94
|
* @property RR (Round Robin): Even distribution.
|
|
92
95
|
* @property LOR (Least Outstanding Requests): Distribute based on availability.
|