@base44-preview/cli 0.0.32-pr.252.0c10d75 → 0.0.32-pr.252.7bf9ea3

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 CHANGED
@@ -185349,7 +185349,7 @@ var FieldConditionSchema = exports_external.union([
185349
185349
  exports_external.number(),
185350
185350
  exports_external.boolean(),
185351
185351
  exports_external.null(),
185352
- exports_external.looseObject({
185352
+ exports_external.object({
185353
185353
  $in: exports_external.unknown().optional(),
185354
185354
  $nin: exports_external.unknown().optional(),
185355
185355
  $ne: exports_external.unknown().optional(),
@@ -185413,14 +185413,14 @@ var RefineRLSConditionSchema = RLSConditionSchema.refine((val) => Object.entries
185413
185413
  return isValidFieldCondition(value);
185414
185414
  }), "Keys must be known RLS keys or match data.* pattern with valid value");
185415
185415
  var RLSRuleSchema = exports_external.union([exports_external.boolean(), RefineRLSConditionSchema]);
185416
- var EntityRLSSchema = exports_external.looseObject({
185416
+ var EntityRLSSchema = exports_external.strictObject({
185417
185417
  create: RLSRuleSchema.optional(),
185418
185418
  read: RLSRuleSchema.optional(),
185419
185419
  update: RLSRuleSchema.optional(),
185420
185420
  delete: RLSRuleSchema.optional(),
185421
185421
  write: RLSRuleSchema.optional()
185422
185422
  });
185423
- var FieldRLSSchema = exports_external.looseObject({
185423
+ var FieldRLSSchema = exports_external.strictObject({
185424
185424
  read: RLSRuleSchema.optional(),
185425
185425
  write: RLSRuleSchema.optional(),
185426
185426
  create: RLSRuleSchema.optional(),
@@ -185428,7 +185428,7 @@ var FieldRLSSchema = exports_external.looseObject({
185428
185428
  delete: RLSRuleSchema.optional()
185429
185429
  });
185430
185430
  var PropertyDefinitionSchema = exports_external.looseObject({
185431
- type: exports_external.string().optional(),
185431
+ type: exports_external.string(),
185432
185432
  title: exports_external.string().optional(),
185433
185433
  description: exports_external.string().optional(),
185434
185434
  minLength: exports_external.number().int().min(0).optional(),
@@ -185452,7 +185452,7 @@ var PropertyDefinitionSchema = exports_external.looseObject({
185452
185452
  });
185453
185453
  var EntitySchema = exports_external.looseObject({
185454
185454
  type: exports_external.literal("object").default("object"),
185455
- name: exports_external.string().min(1).regex(/^[a-zA-Z0-9]+$/, "Entity name must be alphanumeric only"),
185455
+ name: exports_external.string().min(1).regex(/^[a-zA-Z0-9_-]+$/, "Entity name must contain only letters, digits, underscores, or hyphens"),
185456
185456
  title: exports_external.string().optional(),
185457
185457
  description: exports_external.string().optional(),
185458
185458
  properties: exports_external.record(exports_external.string(), PropertyDefinitionSchema).default({}),
@@ -199759,4 +199759,4 @@ export {
199759
199759
  CLIExitError
199760
199760
  };
199761
199761
 
199762
- //# debugId=3407164C3C9C2E3964756E2164756E21
199762
+ //# debugId=E8152088344F478464756E2164756E21