@gravitywiz/types 0.0.13 → 0.0.15
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/index.d.ts +9 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare global {
|
|
|
10
10
|
type GFFieldType =
|
|
11
11
|
| 'text'
|
|
12
12
|
| 'date'
|
|
13
|
+
| 'time'
|
|
13
14
|
| 'website'
|
|
14
15
|
| 'email'
|
|
15
16
|
| 'phone'
|
|
@@ -247,6 +248,14 @@ declare global {
|
|
|
247
248
|
subject: S,
|
|
248
249
|
...args: any[]
|
|
249
250
|
) => S;
|
|
251
|
+
utils: {
|
|
252
|
+
trigger: (opts: {
|
|
253
|
+
data?: Record<string, any>;
|
|
254
|
+
el?: HTMLElement,
|
|
255
|
+
event?: string,
|
|
256
|
+
native?: boolean,
|
|
257
|
+
}) => void;
|
|
258
|
+
}
|
|
250
259
|
};
|
|
251
260
|
|
|
252
261
|
ConditionalLogic: typeof GFConditionalLogic;
|