bun-query-builder 0.2.32 → 0.2.33
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/bin/cli.js +4 -3
- package/dist/src/index.js +3 -2
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -28974,11 +28974,12 @@ function detectTypeFromValidationRule(rule) {
|
|
|
28974
28974
|
if (ruleObj.name) {
|
|
28975
28975
|
const name = String(ruleObj.name).toLowerCase();
|
|
28976
28976
|
switch (name) {
|
|
28977
|
-
case "string":
|
|
28978
|
-
case "text": {
|
|
28977
|
+
case "string": {
|
|
28979
28978
|
const maxValue = extractMaxFromRules(ruleObj);
|
|
28980
28979
|
return maxValue && maxValue > MAX_BOUNDED_VARCHAR_LENGTH ? "text" : "string";
|
|
28981
28980
|
}
|
|
28981
|
+
case "text":
|
|
28982
|
+
return "text";
|
|
28982
28983
|
case "integer":
|
|
28983
28984
|
case "int":
|
|
28984
28985
|
return "integer";
|
|
@@ -32188,7 +32189,7 @@ function getPrefix() {
|
|
|
32188
32189
|
}
|
|
32189
32190
|
var prefix = getPrefix();
|
|
32190
32191
|
// package.json
|
|
32191
|
-
var version2 = "0.2.
|
|
32192
|
+
var version2 = "0.2.33";
|
|
32192
32193
|
|
|
32193
32194
|
// bin/cli.ts
|
|
32194
32195
|
init_actions();
|
package/dist/src/index.js
CHANGED
|
@@ -28973,11 +28973,12 @@ function detectTypeFromValidationRule(rule) {
|
|
|
28973
28973
|
if (ruleObj.name) {
|
|
28974
28974
|
const name = String(ruleObj.name).toLowerCase();
|
|
28975
28975
|
switch (name) {
|
|
28976
|
-
case "string":
|
|
28977
|
-
case "text": {
|
|
28976
|
+
case "string": {
|
|
28978
28977
|
const maxValue = extractMaxFromRules(ruleObj);
|
|
28979
28978
|
return maxValue && maxValue > MAX_BOUNDED_VARCHAR_LENGTH ? "text" : "string";
|
|
28980
28979
|
}
|
|
28980
|
+
case "text":
|
|
28981
|
+
return "text";
|
|
28981
28982
|
case "integer":
|
|
28982
28983
|
case "int":
|
|
28983
28984
|
return "integer";
|
package/package.json
CHANGED