@thryveai/theme-interfaces 2.7.63 → 2.7.64

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.
@@ -32,11 +32,15 @@ export interface IAdminControl<T> {
32
32
  group?: IAdminGroupType;
33
33
  message?: IMessageProps;
34
34
  helpLink?: string;
35
- options?: string[] | number[] | Object[] | IDefaultCounty[] | IValidationType[] | IImageRequiredFormat | LinkTarget;
35
+ options?: string[] | number[] | Object[] | IDefaultCounty[] | IValidationType[] | IImageRequiredFormat | LinkTarget | NumberRange;
36
36
  uniqueOptions?: IDefaultExternal["provider"][];
37
37
  value?: ITemplateObject<T>;
38
38
  optional?: boolean;
39
39
  }
40
+ interface NumberRange {
41
+ min: number;
42
+ max: number;
43
+ }
40
44
  export declare type ImageFormat = "svg" | "jpeg" | "png";
41
45
  export interface IImageRequiredFormat {
42
46
  requiredFormat: ImageFormat[];
@@ -735,6 +735,10 @@ exports.AdminSettingsTemplateSFUI = {
735
735
  description: "Time in days to remain signed in in the app",
736
736
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
737
737
  type: exports.AdminTemplateInputTypes.inputNumber,
738
+ options: {
739
+ min: 1,
740
+ max: 999,
741
+ },
738
742
  },
739
743
  defaultCountry: {
740
744
  title: "Default country",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.63",
3
+ "version": "2.7.64",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",