@cloudcannon/configuration-types 0.0.35 → 0.0.37

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.
@@ -7325,24 +7325,6 @@
7325
7325
  "markdownDescription": "Provides an empty option alongside the options provided by values.",
7326
7326
  "type": "boolean"
7327
7327
  },
7328
- "disable_add": {
7329
- "default": false,
7330
- "description": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7331
- "markdownDescription": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7332
- "type": "boolean"
7333
- },
7334
- "disable_remove": {
7335
- "default": false,
7336
- "description": "Hides the context menu actions on each item for removing them.",
7337
- "markdownDescription": "Hides the context menu actions on each item for removing them.",
7338
- "type": "boolean"
7339
- },
7340
- "disable_reorder": {
7341
- "default": false,
7342
- "description": "Hides the controls on each item for moving them.",
7343
- "markdownDescription": "Hides the controls on each item for moving them.",
7344
- "type": "boolean"
7345
- },
7346
7328
  "empty_type": {
7347
7329
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7348
7330
  "enum": [
@@ -7558,11 +7540,21 @@
7558
7540
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.\n\nThis key has no default.",
7559
7541
  "type": "number"
7560
7542
  },
7543
+ "max_message": {
7544
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
7545
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
7546
+ "type": "string"
7547
+ },
7561
7548
  "min": {
7562
7549
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.\n\nThis key has no default.",
7563
7550
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.\n\nThis key has no default.",
7564
7551
  "type": "number"
7565
7552
  },
7553
+ "min_message": {
7554
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
7555
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
7556
+ "type": "string"
7557
+ },
7566
7558
  "required": {
7567
7559
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
7568
7560
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
@@ -8177,12 +8169,22 @@
8177
8169
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.",
8178
8170
  "type": "number"
8179
8171
  },
8172
+ "max_message": {
8173
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
8174
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
8175
+ "type": "string"
8176
+ },
8180
8177
  "min": {
8181
8178
  "default": 0,
8182
8179
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.",
8183
8180
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.",
8184
8181
  "type": "number"
8185
8182
  },
8183
+ "min_message": {
8184
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
8185
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
8186
+ "type": "string"
8187
+ },
8186
8188
  "required": {
8187
8189
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
8188
8190
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
@@ -7416,24 +7416,6 @@
7416
7416
  "markdownDescription": "Provides an empty option alongside the options provided by values.",
7417
7417
  "type": "boolean"
7418
7418
  },
7419
- "disable_add": {
7420
- "default": false,
7421
- "description": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7422
- "markdownDescription": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7423
- "type": "boolean"
7424
- },
7425
- "disable_remove": {
7426
- "default": false,
7427
- "description": "Hides the context menu actions on each item for removing them.",
7428
- "markdownDescription": "Hides the context menu actions on each item for removing them.",
7429
- "type": "boolean"
7430
- },
7431
- "disable_reorder": {
7432
- "default": false,
7433
- "description": "Hides the controls on each item for moving them.",
7434
- "markdownDescription": "Hides the controls on each item for moving them.",
7435
- "type": "boolean"
7436
- },
7437
7419
  "empty_type": {
7438
7420
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7439
7421
  "enum": [
@@ -7649,11 +7631,21 @@
7649
7631
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.\n\nThis key has no default.",
7650
7632
  "type": "number"
7651
7633
  },
7634
+ "max_message": {
7635
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
7636
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
7637
+ "type": "string"
7638
+ },
7652
7639
  "min": {
7653
7640
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.\n\nThis key has no default.",
7654
7641
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.\n\nThis key has no default.",
7655
7642
  "type": "number"
7656
7643
  },
7644
+ "min_message": {
7645
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
7646
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
7647
+ "type": "string"
7648
+ },
7657
7649
  "required": {
7658
7650
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
7659
7651
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
@@ -8268,12 +8260,22 @@
8268
8260
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.",
8269
8261
  "type": "number"
8270
8262
  },
8263
+ "max_message": {
8264
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
8265
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
8266
+ "type": "string"
8267
+ },
8271
8268
  "min": {
8272
8269
  "default": 0,
8273
8270
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.",
8274
8271
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.",
8275
8272
  "type": "number"
8276
8273
  },
8274
+ "min_message": {
8275
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
8276
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
8277
+ "type": "string"
8278
+ },
8277
8279
  "required": {
8278
8280
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
8279
8281
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
@@ -7423,24 +7423,6 @@
7423
7423
  "markdownDescription": "Provides an empty option alongside the options provided by values.",
7424
7424
  "type": "boolean"
7425
7425
  },
7426
- "disable_add": {
7427
- "default": false,
7428
- "description": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7429
- "markdownDescription": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7430
- "type": "boolean"
7431
- },
7432
- "disable_remove": {
7433
- "default": false,
7434
- "description": "Hides the context menu actions on each item for removing them.",
7435
- "markdownDescription": "Hides the context menu actions on each item for removing them.",
7436
- "type": "boolean"
7437
- },
7438
- "disable_reorder": {
7439
- "default": false,
7440
- "description": "Hides the controls on each item for moving them.",
7441
- "markdownDescription": "Hides the controls on each item for moving them.",
7442
- "type": "boolean"
7443
- },
7444
7426
  "empty_type": {
7445
7427
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7446
7428
  "enum": [
@@ -7656,11 +7638,21 @@
7656
7638
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.\n\nThis key has no default.",
7657
7639
  "type": "number"
7658
7640
  },
7641
+ "max_message": {
7642
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
7643
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
7644
+ "type": "string"
7645
+ },
7659
7646
  "min": {
7660
7647
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.\n\nThis key has no default.",
7661
7648
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.\n\nThis key has no default.",
7662
7649
  "type": "number"
7663
7650
  },
7651
+ "min_message": {
7652
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
7653
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
7654
+ "type": "string"
7655
+ },
7664
7656
  "required": {
7665
7657
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
7666
7658
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
@@ -8275,12 +8267,22 @@
8275
8267
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.",
8276
8268
  "type": "number"
8277
8269
  },
8270
+ "max_message": {
8271
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
8272
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
8273
+ "type": "string"
8274
+ },
8278
8275
  "min": {
8279
8276
  "default": 0,
8280
8277
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.",
8281
8278
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.",
8282
8279
  "type": "number"
8283
8280
  },
8281
+ "min_message": {
8282
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
8283
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
8284
+ "type": "string"
8285
+ },
8284
8286
  "required": {
8285
8287
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
8286
8288
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
@@ -7416,24 +7416,6 @@
7416
7416
  "markdownDescription": "Provides an empty option alongside the options provided by values.",
7417
7417
  "type": "boolean"
7418
7418
  },
7419
- "disable_add": {
7420
- "default": false,
7421
- "description": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7422
- "markdownDescription": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7423
- "type": "boolean"
7424
- },
7425
- "disable_remove": {
7426
- "default": false,
7427
- "description": "Hides the context menu actions on each item for removing them.",
7428
- "markdownDescription": "Hides the context menu actions on each item for removing them.",
7429
- "type": "boolean"
7430
- },
7431
- "disable_reorder": {
7432
- "default": false,
7433
- "description": "Hides the controls on each item for moving them.",
7434
- "markdownDescription": "Hides the controls on each item for moving them.",
7435
- "type": "boolean"
7436
- },
7437
7419
  "empty_type": {
7438
7420
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7439
7421
  "enum": [
@@ -7649,11 +7631,21 @@
7649
7631
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.\n\nThis key has no default.",
7650
7632
  "type": "number"
7651
7633
  },
7634
+ "max_message": {
7635
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
7636
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
7637
+ "type": "string"
7638
+ },
7652
7639
  "min": {
7653
7640
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.\n\nThis key has no default.",
7654
7641
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.\n\nThis key has no default.",
7655
7642
  "type": "number"
7656
7643
  },
7644
+ "min_message": {
7645
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
7646
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
7647
+ "type": "string"
7648
+ },
7657
7649
  "required": {
7658
7650
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
7659
7651
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
@@ -8268,12 +8260,22 @@
8268
8260
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.",
8269
8261
  "type": "number"
8270
8262
  },
8263
+ "max_message": {
8264
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
8265
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
8266
+ "type": "string"
8267
+ },
8271
8268
  "min": {
8272
8269
  "default": 0,
8273
8270
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.",
8274
8271
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.",
8275
8272
  "type": "number"
8276
8273
  },
8274
+ "min_message": {
8275
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
8276
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
8277
+ "type": "string"
8278
+ },
8277
8279
  "required": {
8278
8280
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
8279
8281
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
@@ -7227,24 +7227,6 @@
7227
7227
  "markdownDescription": "Provides an empty option alongside the options provided by values.",
7228
7228
  "type": "boolean"
7229
7229
  },
7230
- "disable_add": {
7231
- "default": false,
7232
- "description": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7233
- "markdownDescription": "Hides the add button, and context menu actions on each item for adding new items to this Input.",
7234
- "type": "boolean"
7235
- },
7236
- "disable_remove": {
7237
- "default": false,
7238
- "description": "Hides the context menu actions on each item for removing them.",
7239
- "markdownDescription": "Hides the context menu actions on each item for removing them.",
7240
- "type": "boolean"
7241
- },
7242
- "disable_reorder": {
7243
- "default": false,
7244
- "description": "Hides the controls on each item for moving them.",
7245
- "markdownDescription": "Hides the controls on each item for moving them.",
7246
- "type": "boolean"
7247
- },
7248
7230
  "empty_type": {
7249
7231
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7250
7232
  "enum": [
@@ -7460,11 +7442,21 @@
7460
7442
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.\n\nThis key has no default.",
7461
7443
  "type": "number"
7462
7444
  },
7445
+ "max_message": {
7446
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
7447
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
7448
+ "type": "string"
7449
+ },
7463
7450
  "min": {
7464
7451
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.\n\nThis key has no default.",
7465
7452
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.\n\nThis key has no default.",
7466
7453
  "type": "number"
7467
7454
  },
7455
+ "min_message": {
7456
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
7457
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
7458
+ "type": "string"
7459
+ },
7468
7460
  "required": {
7469
7461
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
7470
7462
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
@@ -8079,12 +8071,22 @@
8079
8071
  "markdownDescription": "This key defines the maximum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a greater numerical value. If the Input\nalready contains a greater numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.min` is also configured, this key cannot be a lesser\nnumber.",
8080
8072
  "type": "number"
8081
8073
  },
8074
+ "max_message": {
8075
+ "description": "This key defines the message that explains why an Input needs to have a maximum numerical value. This key requires you to define `options.max`.\n\nThis key has no default.",
8076
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a maximum numerical\nvalue. This key requires you to define `options.max`.\n\nThis key has no default.",
8077
+ "type": "string"
8078
+ },
8082
8079
  "min": {
8083
8080
  "default": 0,
8084
8081
  "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater number.",
8085
8082
  "markdownDescription": "This key defines the minimum numerical value CloudCannon will allow in an Input. When\nconfigured, CloudCannon will prevent you from entering a lesser numerical value. If the Input\nalready contains a lesser numerical value, CloudCannon will require you to enter a valid value\nto save your changes, or discard your unsaved changes.\n\nValue can be any integer. If `options.max` is also configured, this key cannot be a greater\nnumber.",
8086
8083
  "type": "number"
8087
8084
  },
8085
+ "min_message": {
8086
+ "description": "This key defines the message that explains why an Input needs to have a minimum numerical value. This key requires you to define `options.min`.\n\nThis key has no default.",
8087
+ "markdownDescription": "This key defines the message that explains why an Input needs to have a minimum numerical\nvalue. This key requires you to define `options.min`.\n\nThis key has no default.",
8088
+ "type": "string"
8089
+ },
8088
8090
  "required": {
8089
8091
  "description": "This key toggles whether CloudCannon requires this Input to have a value. If set to true, CloudCannon will require you to enter a value to save your changes, or discard your unsaved changes.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
8090
8092
  "markdownDescription": "This key toggles whether CloudCannon requires this Input to have a value. If set to true,\nCloudCannon will require you to enter a value to save your changes, or discard your unsaved\nchanges.\n\nBy default, this key is false (i.e, CloudCannon does not require this Input to have a value).",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudcannon/configuration-types",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "type": "module",
5
5
  "description": "Contains TypeScript declarations and generates JSONSchema files for the CloudCannon configuration file.",
6
6
  "author": "CloudCannon <support@cloudcannon.com>",
package/src/inputs.d.ts CHANGED
@@ -488,6 +488,13 @@ export interface NumberInputOptions extends WithEmptyTypeNumber, WithRequiredVal
488
488
  * This key has no default.
489
489
  */
490
490
  min?: number;
491
+ /**
492
+ * This key defines the message that explains why an Input needs to have a minimum numerical
493
+ * value. This key requires you to define `options.min`.
494
+ *
495
+ * This key has no default.
496
+ */
497
+ min_message?: string;
491
498
  /**
492
499
  * This key defines the maximum numerical value CloudCannon will allow in an Input. When
493
500
  * configured, CloudCannon will prevent you from entering a greater numerical value. If the Input
@@ -500,6 +507,13 @@ export interface NumberInputOptions extends WithEmptyTypeNumber, WithRequiredVal
500
507
  * This key has no default.
501
508
  */
502
509
  max?: number;
510
+ /**
511
+ * This key defines the message that explains why an Input needs to have a maximum numerical
512
+ * value. This key requires you to define `options.max`.
513
+ *
514
+ * This key has no default.
515
+ */
516
+ max_message?: string;
503
517
  /**
504
518
  * A number that specifies the granularity that the value must adhere to, or the special value
505
519
  * any, which allows any decimal value between `max` and `min`.
@@ -818,8 +832,7 @@ export interface SelectInput extends BaseInput {
818
832
 
819
833
  export type MultiselectInputOptions = SharedSelectInputOptions &
820
834
  WithEmptyTypeArray &
821
- WithArrayValidation &
822
- WithArrayControlOptions;
835
+ WithArrayValidation;
823
836
 
824
837
  export interface MultiselectInput extends BaseInput {
825
838
  /**