@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.
package/lib/cjs/app/CoreApp.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
34
|
+
* Show loading bar or not
|
|
31
35
|
*/
|
|
32
|
-
|
|
36
|
+
showLoading?: boolean;
|
|
33
37
|
}
|
|
34
38
|
/**
|
|
35
39
|
* Core application interface
|
package/lib/mjs/app/CoreApp.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
34
|
+
* Show loading bar or not
|
|
31
35
|
*/
|
|
32
|
-
|
|
36
|
+
showLoading?: boolean;
|
|
33
37
|
}
|
|
34
38
|
/**
|
|
35
39
|
* Core application interface
|
package/package.json
CHANGED
package/src/app/CoreApp.ts
CHANGED
|
@@ -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
|
-
*
|
|
58
|
+
* Show loading bar or not
|
|
54
59
|
*/
|
|
55
|
-
|
|
60
|
+
showLoading?: boolean;
|
|
56
61
|
}
|
|
57
62
|
|
|
58
63
|
/**
|