@gravitywiz/types 0.0.8 → 0.0.10
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 +11 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -143,6 +143,9 @@ declare global {
|
|
|
143
143
|
inputName: string | false
|
|
144
144
|
) => string;
|
|
145
145
|
CreateConditionalLogic: (objectType: string, object: any) => void
|
|
146
|
+
GetConditionalObject: (objectType: string) => any;
|
|
147
|
+
SetConditionalProperty: (objectType: string, name: string, value: any) => void;
|
|
148
|
+
SetRule: (objectType: string, ruleIndex: number) => void;
|
|
146
149
|
|
|
147
150
|
// Frontend
|
|
148
151
|
gform: {
|
|
@@ -206,7 +209,14 @@ declare global {
|
|
|
206
209
|
};
|
|
207
210
|
|
|
208
211
|
gfMergeTags: {
|
|
209
|
-
getMergeTags: (
|
|
212
|
+
getMergeTags: (
|
|
213
|
+
fields: GFField[],
|
|
214
|
+
elementId?: string,
|
|
215
|
+
hideAllFields?: boolean,
|
|
216
|
+
excludeFieldTypes?: string[],
|
|
217
|
+
isPrepop?: boolean,
|
|
218
|
+
option?: string,
|
|
219
|
+
) => {
|
|
210
220
|
custom: MergeTagGroup;
|
|
211
221
|
optional: MergeTagGroup;
|
|
212
222
|
other: MergeTagGroup;
|