diff --git a/packages/cma-client/resources.json b/packages/cma-client/resources.json
index 3ae68982..5ad67e8c 100644
--- a/packages/cma-client/resources.json
+++ b/packages/cma-client/resources.json
@@ -870,6 +870,7 @@
"sortable",
"modular_block",
"draft_mode_active",
+ "draft_saving_active",
"tree",
"ordering_direction",
"ordering_meta",
@@ -926,6 +927,7 @@
"sortable",
"modular_block",
"draft_mode_active",
+ "draft_saving_active",
"tree",
"ordering_direction",
"ordering_meta",
diff --git a/packages/cma-client/src/generated/SchemaTypes.ts b/packages/cma-client/src/generated/SchemaTypes.ts
index e65e67d1..7fd90b33 100644
--- a/packages/cma-client/src/generated/SchemaTypes.ts
+++ b/packages/cma-client/src/generated/SchemaTypes.ts
@@ -4373,6 +4373,10 @@ export type ItemTypeAttributes = {
* Whether draft/published mode is active or not
*/
draft_mode_active: boolean;
+ /**
+ * Whether draft records can be saved without satisfying the validations or not
+ */
+ draft_saving_active: boolean;
/**
* Whether editors can organize records in a tree or not
*/
@@ -4558,6 +4562,10 @@ export type ItemTypeCreateSchema = {
* Whether draft/published mode is active or not
*/
draft_mode_active?: boolean;
+ /**
+ * Whether draft records can be saved without satisfying the validations or not
+ */
+ draft_saving_active?: boolean;
/**
* Whether editors can organize records in a tree or not
*/
@@ -4684,6 +4692,10 @@ export type ItemTypeUpdateSchema = {
* Whether draft/published mode is active or not
*/
draft_mode_active?: boolean;
+ /**
+ * Whether draft records can be saved without satisfying the validations or not
+ */
+ draft_saving_active?: boolean;
/**
* Whether editors can organize records in a tree or not
*/
@@ -5274,14 +5286,16 @@ export type ItemTypeReorderFieldsAndFieldsetsJobSchema = {
*
* format
*
- * Only accept strings having a specific format.
+ * Accepts only strings that match a specified format.
*
- * | Parameter | Type | Required | Description |
- * | -------------------- | ------------------------- | -------- | ---------------------------------- |
- * | `custom_pattern` | `Regexp` | | Regular expression to be validated |
- * | `predefined_pattern` | one of `"email"`, `"url"` | | Allowed format |
+ * | Parameter | Type | Required | Description |
+ * | -------------------- | ------------------------- | -------- | ----------------------------------------------- |
+ * | `custom_pattern` | `Regexp` | Optional | Custom regular expression for validation |
+ * | `predefined_pattern` | `"email"` or `"url"` | Optional | Specifies a pre-defined format (email or URL) |
*
- * Only one of the parameters must be specified.
+ * **Note:** Only one of `custom_pattern` or `predefined_pattern` should be specified.
+ *
+ * If `custom_pattern` is used, an additional `description` parameter can be provided to serve as a hint for the user. This hint offers a simple explanation of the expected pattern, such as `"The field must end with an 's'"`, instead of the default message like `"Field must match the pattern: /s$/"`.
*
*
*
diff --git a/packages/cma-client/src/generated/SimpleSchemaTypes.ts b/packages/cma-client/src/generated/SimpleSchemaTypes.ts
index 392b61fc..a4ec8b8c 100644
--- a/packages/cma-client/src/generated/SimpleSchemaTypes.ts
+++ b/packages/cma-client/src/generated/SimpleSchemaTypes.ts
@@ -4836,6 +4836,10 @@ export type ItemType = {
* Whether draft/published mode is active or not
*/
draft_mode_active: boolean;
+ /**
+ * Whether draft records can be saved without satisfying the validations or not
+ */
+ draft_saving_active: boolean;
/**
* Whether editors can organize records in a tree or not
*/
@@ -4980,6 +4984,10 @@ export type ItemTypeAttributes = {
* Whether draft/published mode is active or not
*/
draft_mode_active: boolean;
+ /**
+ * Whether draft records can be saved without satisfying the validations or not
+ */
+ draft_saving_active: boolean;
/**
* Whether editors can organize records in a tree or not
*/
@@ -5063,6 +5071,10 @@ export type ItemTypeCreateSchema = {
* Whether draft/published mode is active or not
*/
draft_mode_active?: boolean;
+ /**
+ * Whether draft records can be saved without satisfying the validations or not
+ */
+ draft_saving_active?: boolean;
/**
* Whether editors can organize records in a tree or not
*/
@@ -5146,6 +5158,10 @@ export type ItemTypeUpdateSchema = {
* Whether draft/published mode is active or not
*/
draft_mode_active?: boolean;
+ /**
+ * Whether draft records can be saved without satisfying the validations or not
+ */
+ draft_saving_active?: boolean;
/**
* Whether editors can organize records in a tree or not
*/
@@ -5592,14 +5608,16 @@ export type ItemTypeUpdateSchema = {
*
* format
*
- * Only accept strings having a specific format.
+ * Accepts only strings that match a specified format.
*
- * | Parameter | Type | Required | Description |
- * | -------------------- | ------------------------- | -------- | ---------------------------------- |
- * | `custom_pattern` | `Regexp` | | Regular expression to be validated |
- * | `predefined_pattern` | one of `"email"`, `"url"` | | Allowed format |
+ * | Parameter | Type | Required | Description |
+ * | -------------------- | ------------------------- | -------- | ----------------------------------------------- |
+ * | `custom_pattern` | `Regexp` | Optional | Custom regular expression for validation |
+ * | `predefined_pattern` | `"email"` or `"url"` | Optional | Specifies a pre-defined format (email or URL) |
*
- * Only one of the parameters must be specified.
+ * **Note:** Only one of `custom_pattern` or `predefined_pattern` should be specified.
+ *
+ * If `custom_pattern` is used, an additional `description` parameter can be provided to serve as a hint for the user. This hint offers a simple explanation of the expected pattern, such as `"The field must end with an 's'"`, instead of the default message like `"Field must match the pattern: /s$/"`.
*
*
*
diff --git a/packages/cma-client/src/generated/resources/ItemType.ts b/packages/cma-client/src/generated/resources/ItemType.ts
index 7e26ea31..c4be1ba3 100644
--- a/packages/cma-client/src/generated/resources/ItemType.ts
+++ b/packages/cma-client/src/generated/resources/ItemType.ts
@@ -29,6 +29,7 @@ export default class ItemType extends BaseResource {
'sortable',
'modular_block',
'draft_mode_active',
+ 'draft_saving_active',
'tree',
'ordering_direction',
'ordering_meta',
@@ -100,6 +101,7 @@ export default class ItemType extends BaseResource {
'sortable',
'modular_block',
'draft_mode_active',
+ 'draft_saving_active',
'tree',
'ordering_direction',
'ordering_meta',