@etsoo/appscript 1.1.65 → 1.1.66
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/i18n/en-US.json +1 -0
- package/lib/cjs/i18n/zh-CN.json +1 -0
- package/lib/cjs/i18n/zh-HK.json +1 -0
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/result/InitCallResult.d.ts +22 -0
- package/lib/cjs/result/InitCallResult.js +2 -0
- package/lib/mjs/i18n/en-US.json +1 -0
- package/lib/mjs/i18n/zh-CN.json +1 -0
- package/lib/mjs/i18n/zh-HK.json +1 -0
- package/lib/mjs/index.d.ts +1 -0
- package/lib/mjs/index.js +1 -0
- package/lib/mjs/result/InitCallResult.d.ts +22 -0
- package/lib/mjs/result/InitCallResult.js +1 -0
- package/package.json +1 -1
- package/src/i18n/en-US.json +1 -0
- package/src/i18n/zh-CN.json +1 -0
- package/src/i18n/zh-HK.json +1 -0
- package/src/index.ts +1 -0
- package/src/result/InitCallResult.ts +26 -0
package/lib/cjs/i18n/en-US.json
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"status": "Status",
|
|
60
60
|
"submit": "Submit",
|
|
61
61
|
"success": "Success",
|
|
62
|
+
"timeDifferenceInvalid": "The time difference between the device and the server is {0}, which exceeds the limit of {1} seconds. Please adjust the device time. If it is abnormal, please inform the administrator",
|
|
62
63
|
"tokenExpiry": "Your session is about to expire. Click the Cancel button to continue",
|
|
63
64
|
"yes": "Yes",
|
|
64
65
|
"unknownError": "Unknown Error",
|
package/lib/cjs/i18n/zh-CN.json
CHANGED
package/lib/cjs/i18n/zh-HK.json
CHANGED
package/lib/cjs/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export type { IApi, IApiPayload } from '@etsoo/restclient';
|
|
|
25
25
|
export * from './result/ActionResult';
|
|
26
26
|
export * from './result/ActionResultError';
|
|
27
27
|
export * from './result/IActionResult';
|
|
28
|
+
export * from './result/InitCallResult';
|
|
28
29
|
export * from './state/Culture';
|
|
29
30
|
export * from './state/State';
|
|
30
31
|
export * from './state/User';
|
package/lib/cjs/index.js
CHANGED
|
@@ -48,6 +48,7 @@ Object.defineProperty(exports, "createClient", { enumerable: true, get: function
|
|
|
48
48
|
__exportStar(require("./result/ActionResult"), exports);
|
|
49
49
|
__exportStar(require("./result/ActionResultError"), exports);
|
|
50
50
|
__exportStar(require("./result/IActionResult"), exports);
|
|
51
|
+
__exportStar(require("./result/InitCallResult"), exports);
|
|
51
52
|
// state
|
|
52
53
|
__exportStar(require("./state/Culture"), exports);
|
|
53
54
|
__exportStar(require("./state/State"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IActionResult, IResultData } from './IActionResult';
|
|
2
|
+
/**
|
|
3
|
+
* Result data with id, follow this style to extend for specific model
|
|
4
|
+
*/
|
|
5
|
+
export interface InitCallResultData extends IResultData {
|
|
6
|
+
/**
|
|
7
|
+
* Secret passphrase
|
|
8
|
+
*/
|
|
9
|
+
passphrase: string;
|
|
10
|
+
/**
|
|
11
|
+
* Actual seconds gap
|
|
12
|
+
*/
|
|
13
|
+
seconds: number;
|
|
14
|
+
/**
|
|
15
|
+
* Valid seconds gap
|
|
16
|
+
*/
|
|
17
|
+
validSeconds: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Init call result
|
|
21
|
+
*/
|
|
22
|
+
export declare type InitCallResult = IActionResult<InitCallResultData>;
|
package/lib/mjs/i18n/en-US.json
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"status": "Status",
|
|
60
60
|
"submit": "Submit",
|
|
61
61
|
"success": "Success",
|
|
62
|
+
"timeDifferenceInvalid": "The time difference between the device and the server is {0}, which exceeds the limit of {1} seconds. Please adjust the device time. If it is abnormal, please inform the administrator",
|
|
62
63
|
"tokenExpiry": "Your session is about to expire. Click the Cancel button to continue",
|
|
63
64
|
"yes": "Yes",
|
|
64
65
|
"unknownError": "Unknown Error",
|
package/lib/mjs/i18n/zh-CN.json
CHANGED
package/lib/mjs/i18n/zh-HK.json
CHANGED
package/lib/mjs/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export type { IApi, IApiPayload } from '@etsoo/restclient';
|
|
|
25
25
|
export * from './result/ActionResult';
|
|
26
26
|
export * from './result/ActionResultError';
|
|
27
27
|
export * from './result/IActionResult';
|
|
28
|
+
export * from './result/InitCallResult';
|
|
28
29
|
export * from './state/Culture';
|
|
29
30
|
export * from './state/State';
|
|
30
31
|
export * from './state/User';
|
package/lib/mjs/index.js
CHANGED
|
@@ -33,6 +33,7 @@ export { ApiAuthorizationScheme, createClient } from '@etsoo/restclient';
|
|
|
33
33
|
export * from './result/ActionResult';
|
|
34
34
|
export * from './result/ActionResultError';
|
|
35
35
|
export * from './result/IActionResult';
|
|
36
|
+
export * from './result/InitCallResult';
|
|
36
37
|
// state
|
|
37
38
|
export * from './state/Culture';
|
|
38
39
|
export * from './state/State';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IActionResult, IResultData } from './IActionResult';
|
|
2
|
+
/**
|
|
3
|
+
* Result data with id, follow this style to extend for specific model
|
|
4
|
+
*/
|
|
5
|
+
export interface InitCallResultData extends IResultData {
|
|
6
|
+
/**
|
|
7
|
+
* Secret passphrase
|
|
8
|
+
*/
|
|
9
|
+
passphrase: string;
|
|
10
|
+
/**
|
|
11
|
+
* Actual seconds gap
|
|
12
|
+
*/
|
|
13
|
+
seconds: number;
|
|
14
|
+
/**
|
|
15
|
+
* Valid seconds gap
|
|
16
|
+
*/
|
|
17
|
+
validSeconds: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Init call result
|
|
21
|
+
*/
|
|
22
|
+
export declare type InitCallResult = IActionResult<InitCallResultData>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
package/src/i18n/en-US.json
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"status": "Status",
|
|
60
60
|
"submit": "Submit",
|
|
61
61
|
"success": "Success",
|
|
62
|
+
"timeDifferenceInvalid": "The time difference between the device and the server is {0}, which exceeds the limit of {1} seconds. Please adjust the device time. If it is abnormal, please inform the administrator",
|
|
62
63
|
"tokenExpiry": "Your session is about to expire. Click the Cancel button to continue",
|
|
63
64
|
"yes": "Yes",
|
|
64
65
|
"unknownError": "Unknown Error",
|
package/src/i18n/zh-CN.json
CHANGED
package/src/i18n/zh-HK.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -42,6 +42,7 @@ export type { IApi, IApiPayload } from '@etsoo/restclient';
|
|
|
42
42
|
export * from './result/ActionResult';
|
|
43
43
|
export * from './result/ActionResultError';
|
|
44
44
|
export * from './result/IActionResult';
|
|
45
|
+
export * from './result/InitCallResult';
|
|
45
46
|
|
|
46
47
|
// state
|
|
47
48
|
export * from './state/Culture';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IActionResult, IResultData } from './IActionResult';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Result data with id, follow this style to extend for specific model
|
|
5
|
+
*/
|
|
6
|
+
export interface InitCallResultData extends IResultData {
|
|
7
|
+
/**
|
|
8
|
+
* Secret passphrase
|
|
9
|
+
*/
|
|
10
|
+
passphrase: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Actual seconds gap
|
|
14
|
+
*/
|
|
15
|
+
seconds: number;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Valid seconds gap
|
|
19
|
+
*/
|
|
20
|
+
validSeconds: number;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Init call result
|
|
25
|
+
*/
|
|
26
|
+
export type InitCallResult = IActionResult<InitCallResultData>;
|