@gravitywiz/types 0.0.16 → 0.0.18

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.
Files changed (2) hide show
  1. package/index.d.ts +31 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -16,7 +16,36 @@ declare global {
16
16
  | 'website'
17
17
  | 'email'
18
18
  | 'phone'
19
- | 'survey';
19
+ | 'survey'
20
+ | 'name'
21
+ | 'radio'
22
+ | 'checkbox'
23
+ | 'textarea'
24
+ | 'select'
25
+ | 'number'
26
+ | 'hidden'
27
+ | 'html'
28
+ | 'section'
29
+ | 'page'
30
+ | 'multi_choice'
31
+ | 'image_choice'
32
+ | 'address'
33
+ | 'fileupload'
34
+ | 'captcha'
35
+ | 'consent'
36
+ | 'multiselect'
37
+ | 'list'
38
+ | 'post_title'
39
+ | 'post_content'
40
+ | 'post_excerpt'
41
+ | 'post_category'
42
+ | 'post_tags'
43
+ | 'post_custom_field'
44
+ | 'product'
45
+ | 'quantity'
46
+ | 'option'
47
+ | 'total'
48
+ | 'shipping';
20
49
 
21
50
  type GFInputType =
22
51
  | 'text'
@@ -72,6 +101,7 @@ declare global {
72
101
  inputType: GFInputType;
73
102
  productId: string;
74
103
  validateState?: boolean;
104
+ displayOnly?: boolean | '';
75
105
  }
76
106
 
77
107
  type GFSurveyField = GFBaseField & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitywiz/types",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "description": "TypesScript type definitions for Gravity Forms and Gravity Wiz.",
5
5
  "author": "Gravity Wiz",
6
6
  "license": "GPL-2.0-or-later",