@base44-preview/cli 0.1.24-pr.646.09ee9f4 → 0.1.25-pr.647.fff4a17
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/cli/index.js +22 -8
- package/dist/cli/index.js.map +4 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -238340,8 +238340,8 @@ var FieldRLSSchema = looseObject({
|
|
|
238340
238340
|
update: RLSRuleSchema.optional(),
|
|
238341
238341
|
delete: RLSRuleSchema.optional()
|
|
238342
238342
|
});
|
|
238343
|
-
var
|
|
238344
|
-
|
|
238343
|
+
var PropertyTypeSchema = union([string2(), array(string2())]);
|
|
238344
|
+
var propertyFields = {
|
|
238345
238345
|
title: string2().optional(),
|
|
238346
238346
|
description: string2().optional(),
|
|
238347
238347
|
minLength: number2().int().min(0).optional(),
|
|
@@ -238355,12 +238355,26 @@ var PropertyDefinitionSchema = looseObject({
|
|
|
238355
238355
|
default: unknown().optional(),
|
|
238356
238356
|
$ref: string2().optional(),
|
|
238357
238357
|
rls: FieldRLSSchema.optional(),
|
|
238358
|
-
required: array(string2()).optional()
|
|
238358
|
+
required: array(string2()).optional()
|
|
238359
|
+
};
|
|
238360
|
+
var NestedPropertyDefinitionSchema = looseObject({
|
|
238361
|
+
...propertyFields,
|
|
238362
|
+
type: PropertyTypeSchema.optional(),
|
|
238363
|
+
get items() {
|
|
238364
|
+
return NestedPropertyDefinitionSchema.optional();
|
|
238365
|
+
},
|
|
238366
|
+
get properties() {
|
|
238367
|
+
return record(string2(), NestedPropertyDefinitionSchema).optional();
|
|
238368
|
+
}
|
|
238369
|
+
});
|
|
238370
|
+
var PropertyDefinitionSchema = looseObject({
|
|
238371
|
+
...propertyFields,
|
|
238372
|
+
type: PropertyTypeSchema,
|
|
238359
238373
|
get items() {
|
|
238360
|
-
return
|
|
238374
|
+
return NestedPropertyDefinitionSchema.optional();
|
|
238361
238375
|
},
|
|
238362
238376
|
get properties() {
|
|
238363
|
-
return record(string2(),
|
|
238377
|
+
return record(string2(), NestedPropertyDefinitionSchema).optional();
|
|
238364
238378
|
}
|
|
238365
238379
|
});
|
|
238366
238380
|
var EntitySchema = looseObject({
|
|
@@ -239265,7 +239279,7 @@ import { join as join13 } from "node:path";
|
|
|
239265
239279
|
// package.json
|
|
239266
239280
|
var package_default = {
|
|
239267
239281
|
name: "base44",
|
|
239268
|
-
version: "0.1.
|
|
239282
|
+
version: "0.1.25",
|
|
239269
239283
|
description: "Base44 CLI - Unified interface for managing Base44 applications",
|
|
239270
239284
|
type: "module",
|
|
239271
239285
|
bin: {
|
|
@@ -253182,7 +253196,7 @@ class Validator {
|
|
|
253182
253196
|
error: this.createValidationError(`Error in field ${fieldPath}: Input should be a valid ${types.join(" or ")}`)
|
|
253183
253197
|
};
|
|
253184
253198
|
}
|
|
253185
|
-
const propertyType = property.type;
|
|
253199
|
+
const propertyType = property.type ?? "string";
|
|
253186
253200
|
if (!fieldTypes.includes(propertyType)) {
|
|
253187
253201
|
return {
|
|
253188
253202
|
hasError: true,
|
|
@@ -260579,4 +260593,4 @@ export {
|
|
|
260579
260593
|
runCLI
|
|
260580
260594
|
};
|
|
260581
260595
|
|
|
260582
|
-
//# debugId=
|
|
260596
|
+
//# debugId=0FFE93EB6111BBF064756E2164756E21
|