@etsoo/appscript 1.1.55 → 1.1.56

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.
@@ -22,14 +22,18 @@ export declare type RefreshTokenResult = boolean | string | ApiDataError | IActi
22
22
  * Refresh token props
23
23
  */
24
24
  export interface RefreshTokenProps<D extends {}> {
25
+ /**
26
+ * Callback
27
+ */
28
+ callback?: (result: RefreshTokenResult) => void;
25
29
  /**
26
30
  * Data to pass
27
31
  */
28
32
  data?: D;
29
33
  /**
30
- * Callback
34
+ * Show loading bar or not
31
35
  */
32
- callback?: (result: RefreshTokenResult) => void;
36
+ showLoading?: boolean;
33
37
  }
34
38
  /**
35
39
  * Core application interface
@@ -22,14 +22,18 @@ export declare type RefreshTokenResult = boolean | string | ApiDataError | IActi
22
22
  * Refresh token props
23
23
  */
24
24
  export interface RefreshTokenProps<D extends {}> {
25
+ /**
26
+ * Callback
27
+ */
28
+ callback?: (result: RefreshTokenResult) => void;
25
29
  /**
26
30
  * Data to pass
27
31
  */
28
32
  data?: D;
29
33
  /**
30
- * Callback
34
+ * Show loading bar or not
31
35
  */
32
- callback?: (result: RefreshTokenResult) => void;
36
+ showLoading?: boolean;
33
37
  }
34
38
  /**
35
39
  * Core application interface
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.1.55",
3
+ "version": "1.1.56",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -44,15 +44,20 @@ export type RefreshTokenResult =
44
44
  * Refresh token props
45
45
  */
46
46
  export interface RefreshTokenProps<D extends {}> {
47
+ /**
48
+ * Callback
49
+ */
50
+ callback?: (result: RefreshTokenResult) => void;
51
+
47
52
  /**
48
53
  * Data to pass
49
54
  */
50
55
  data?: D;
51
56
 
52
57
  /**
53
- * Callback
58
+ * Show loading bar or not
54
59
  */
55
- callback?: (result: RefreshTokenResult) => void;
60
+ showLoading?: boolean;
56
61
  }
57
62
 
58
63
  /**