@thryveai/theme-interfaces 2.0.1 → 2.0.2

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.
@@ -260,7 +260,7 @@ export interface IRestrictMapPlaces {
260
260
  totalTake: number;
261
261
  };
262
262
  }
263
- export declare type IValidationType = IValidateDateRange | IValidateLength | "alphaNumeric" | "alphaOnly" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "email" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "password" | "required" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly";
263
+ export declare type IValidationType = IValidateDateRange | IValidateLength | IValidateMultipleLengths | "alphaNumeric" | "alphaOnly" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "email" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "password" | "required" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly";
264
264
  export declare type IEnvNames = "dev" | "de2" | "qat" | "qa2" | "int" | "in2" | "lod" | "lo2" | "stg" | "st2" | "stagingConfig" | "productionConfig";
265
265
  export declare type INutritionZone = "us" | "eu" | "au" | "ca";
266
266
  export declare type IFooterTypes = "default" | "version2" | "version3" | "version4" | "version5";
@@ -268,6 +268,10 @@ export declare type IValidateLength = {
268
268
  _type: "less" | "more" | "exact";
269
269
  length: number;
270
270
  };
271
+ export declare type IValidateMultipleLengths = {
272
+ _type: "multi";
273
+ multiLength: number[];
274
+ };
271
275
  export declare type IValidateDateRange = {
272
276
  _type: "overYears";
273
277
  overYears: number;
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
- {
2
- "name": "@thryveai/theme-interfaces",
3
- "version": "2.0.1",
4
- "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
- "scripts": {
6
- "build": "tsc",
7
- "push": "npm run build && npm publish"
8
- },
9
- "author": "Wynshop",
10
- "license": "ISC",
11
- "main": "dist",
12
- "files": [
13
- "dist"
14
- ],
15
- "devDependencies": {
16
- "typescript": "4.6.3"
17
- }
18
- }
1
+ {
2
+ "name": "@thryveai/theme-interfaces",
3
+ "version": "2.0.2",
4
+ "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
+ "scripts": {
6
+ "build": "tsc",
7
+ "push": "npm run build && npm publish"
8
+ },
9
+ "author": "Wynshop",
10
+ "license": "ISC",
11
+ "main": "dist",
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "devDependencies": {
16
+ "typescript": "4.6.3"
17
+ }
18
+ }