@gravitywiz/types 0.0.7 → 0.0.9

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 CHANGED
@@ -101,7 +101,7 @@ declare global {
101
101
  type FeedMeta<M = {}> = M & {
102
102
  feed_name: string;
103
103
  }
104
-
104
+
105
105
  type GFConditionalLogicOperators = 'is' | 'isnot' | '>' | '<' | 'contains' | 'starts_with' | 'ends_with';
106
106
 
107
107
  type GFConditionalLogicLogicType = 'all' | 'any';
@@ -142,6 +142,10 @@ declare global {
142
142
  selectedValue: string,
143
143
  inputName: string | false
144
144
  ) => string;
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;
145
149
 
146
150
  // Frontend
147
151
  gform: {
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@gravitywiz/types",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "TypesScript type definitions for Gravity Forms and Gravity Wiz.",
5
5
  "author": "Gravity Wiz",
6
- "license": "MIT",
6
+ "license": "GPL-2.0-or-later",
7
7
  "main": "",
8
8
  "types": "index.d.ts",
9
- "private": false,
10
9
  "dependencies": {
11
10
  "@types/jquery": "^3.5.16",
12
11
  "@types/plupload": "^2.0.10"
package/tsconfig.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "types": ["jquery"]
5
+ },
6
+ }
package/.editorconfig DELETED
@@ -1,9 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- end_of_line = lf
6
- indent_style = tab
7
- insert_final_newline = true
8
- trim_trailing_whitespace = true
9
- indent_size = 4