@usefillo/cli 0.20.0 → 0.22.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.js +3 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3589,6 +3589,7 @@ function _default(innerType, defaultValue) {
|
|
|
3589
3589
|
}
|
|
3590
3590
|
|
|
3591
3591
|
// ../core/dist/index.js
|
|
3592
|
+
var MAX_FILES_PER_FIELD = 200;
|
|
3592
3593
|
var CONTENT_KINDS = ["heading", "paragraph", "divider"];
|
|
3593
3594
|
function isField(block) {
|
|
3594
3595
|
return !CONTENT_KINDS.includes(block.kind);
|
|
@@ -3816,7 +3817,7 @@ var schemaShape = object({
|
|
|
3816
3817
|
});
|
|
3817
3818
|
var MAX_SCHEMA_VERSION = 1;
|
|
3818
3819
|
var FILLO_SCHEMA_VERSION = 1;
|
|
3819
|
-
var FILLO_SDK_VERSION = true ? "0.
|
|
3820
|
+
var FILLO_SDK_VERSION = true ? "0.22.0" : "0.0.0-dev";
|
|
3820
3821
|
function str(value, max, fallback = "") {
|
|
3821
3822
|
return typeof value === "string" ? value.trim().slice(0, max) : fallback;
|
|
3822
3823
|
}
|
|
@@ -4434,7 +4435,7 @@ function normalizeBlock(input) {
|
|
|
4434
4435
|
case "file_upload":
|
|
4435
4436
|
return cleanObject({
|
|
4436
4437
|
...baseField(rec, kind),
|
|
4437
|
-
maxFiles: int(rec.maxFiles, 1,
|
|
4438
|
+
maxFiles: int(rec.maxFiles, 1, MAX_FILES_PER_FIELD, 1),
|
|
4438
4439
|
maxFileSizeMb: int(rec.maxFileSizeMb, 1, 5e3, 500),
|
|
4439
4440
|
accept: Array.isArray(rec.accept) ? rec.accept.flatMap((v) => {
|
|
4440
4441
|
const item = optionalStr(v, 100);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usefillo/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "Create and publish Fillo forms, and install the Fillo Agent Skill.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@types/node": "^22.10.0",
|
|
35
35
|
"tsup": "^8.4.0",
|
|
36
36
|
"typescript": "^5.8.3",
|
|
37
|
-
"@usefillo/core": "0.
|
|
37
|
+
"@usefillo/core": "0.22.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsup && node scripts/copy-skill.mjs",
|