@distinctagency/cms-client 1.19.0 → 1.20.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/dist/index.d.mts CHANGED
@@ -44,6 +44,8 @@ interface FieldDefinition {
44
44
  };
45
45
  /** For image/gallery fields: processing constraints */
46
46
  image_config?: ImageConfig;
47
+ /** For number fields: fixed decimal places (e.g. 2 for prices). Values are rounded on save and displayed with trailing zeros. */
48
+ decimal_places?: number;
47
49
  }
48
50
  interface Tenant {
49
51
  id: string;
package/dist/index.d.ts CHANGED
@@ -44,6 +44,8 @@ interface FieldDefinition {
44
44
  };
45
45
  /** For image/gallery fields: processing constraints */
46
46
  image_config?: ImageConfig;
47
+ /** For number fields: fixed decimal places (e.g. 2 for prices). Values are rounded on save and displayed with trailing zeros. */
48
+ decimal_places?: number;
47
49
  }
48
50
  interface Tenant {
49
51
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distinctagency/cms-client",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "description": "Client library for Distinct CMS — query content, products, and manage orders",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",