@sveltia/cms 0.124.1 → 0.125.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/types/public.d.ts CHANGED
@@ -956,9 +956,13 @@ export type NumberFieldProps = {
956
956
  */
957
957
  default?: number | string;
958
958
  /**
959
- * Type of value to be saved. Default: `int`.
959
+ * Type of the value. `int`
960
+ * makes the input accept only an integer value and saves it as a number. `float` makes the input
961
+ * accept only a floating-point value and saves it as a number. `int/string` and `float/string` make
962
+ * the input accept only an integer or floating-point value, respectively, but save it as a string.
963
+ * Default: `int`.
960
964
  */
961
- value_type?: "int" | "float" | string;
965
+ value_type?: "int" | "float" | "int/string" | "float/string";
962
966
  /**
963
967
  * Minimum value that can be entered in the input. Default: `-Infinity`.
964
968
  */
@@ -2008,6 +2012,11 @@ export type GitLabBackendProps = {
2008
2012
  * `sveltia-cms/`.
2009
2013
  */
2010
2014
  cms_label_prefix?: string;
2015
+ /**
2016
+ * Whether to use squash marge for Editorial Workflow. Default:
2017
+ * `false`.
2018
+ */
2019
+ squash_merges?: boolean;
2011
2020
  };
2012
2021
  /**
2013
2022
  * GitLab backend.