@bruit/types
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -6,3 +6,4 @@ export declare enum BrtFieldType { | ||
CHECKBOX = "checkbox", | ||
RATING = "rating" | ||
RATING = "rating", | ||
SELECT = "select" | ||
} |
@@ -10,3 +10,4 @@ "use strict"; | ||
BrtFieldType["RATING"] = "rating"; | ||
BrtFieldType["SELECT"] = "select"; | ||
})(BrtFieldType = exports.BrtFieldType || (exports.BrtFieldType = {})); | ||
// impact brtField interface if you edit this enum |
@@ -5,3 +5,3 @@ import { BrtFieldType } from './../enums/brt-field-type'; | ||
label: string; | ||
type: BrtFieldType | 'checkbox' | 'textarea' | 'email' | 'text' | 'rating'; | ||
type: BrtFieldType | 'checkbox' | 'textarea' | 'email' | 'text' | 'rating' | 'select'; | ||
required?: boolean; | ||
@@ -8,0 +8,0 @@ value?: any; |
{ | ||
"name": "@bruit/types", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Bruit.io typings", | ||
@@ -9,3 +9,4 @@ "private": false, | ||
"scripts": { | ||
"build": "tsc" | ||
"build": "tsc", | ||
"prepublishOnly": "tsc" | ||
}, | ||
@@ -36,2 +37,2 @@ "repository": { | ||
} | ||
} | ||
} |
@@ -6,5 +6,6 @@ export enum BrtFieldType { | ||
CHECKBOX = 'checkbox', | ||
RATING = 'rating' | ||
RATING = 'rating', | ||
SELECT = 'select' | ||
} | ||
// impact brtField interface if you edit this enum |
@@ -6,3 +6,10 @@ import { BrtFieldType } from './../enums/brt-field-type'; | ||
label: string; | ||
type: BrtFieldType | 'checkbox' | 'textarea' | 'email' | 'text' | 'rating'; | ||
type: | ||
| BrtFieldType | ||
| 'checkbox' | ||
| 'textarea' | ||
| 'email' | ||
| 'text' | ||
| 'rating' | ||
| 'select'; | ||
required?: boolean; | ||
@@ -9,0 +16,0 @@ value?: any; |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
28987
903
1