@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.
@@ -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",
@@ -59,6 +59,7 @@
59
59
  "status": "状态",
60
60
  "submit": "提交",
61
61
  "success": "成功",
62
+ "timeDifferenceInvalid": "设备时间和服务器时间差为{0},超过{1}秒的限制,请调整设备时间,如果异常请告知管理员",
62
63
  "tokenExpiry": "您的会话即将过期。点击 取消 按钮继续使用",
63
64
  "yes": "是",
64
65
  "unknownError": "未知错误",
@@ -59,6 +59,7 @@
59
59
  "status": "狀態",
60
60
  "submit": "提交",
61
61
  "success": "成功",
62
+ "timeDifferenceInvalid": "設備時間和服務器時間差為{0},超過{1}秒的限制,請調整設備時間,如果異常請告知管理員",
62
63
  "tokenExpiry": "您的會話即將過期。點擊 取消 按鈕繼續使用",
63
64
  "yes": "是",
64
65
  "unknownError": "未知錯誤",
@@ -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>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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",
@@ -59,6 +59,7 @@
59
59
  "status": "状态",
60
60
  "submit": "提交",
61
61
  "success": "成功",
62
+ "timeDifferenceInvalid": "设备时间和服务器时间差为{0},超过{1}秒的限制,请调整设备时间,如果异常请告知管理员",
62
63
  "tokenExpiry": "您的会话即将过期。点击 取消 按钮继续使用",
63
64
  "yes": "是",
64
65
  "unknownError": "未知错误",
@@ -59,6 +59,7 @@
59
59
  "status": "狀態",
60
60
  "submit": "提交",
61
61
  "success": "成功",
62
+ "timeDifferenceInvalid": "設備時間和服務器時間差為{0},超過{1}秒的限制,請調整設備時間,如果異常請告知管理員",
62
63
  "tokenExpiry": "您的會話即將過期。點擊 取消 按鈕繼續使用",
63
64
  "yes": "是",
64
65
  "unknownError": "未知錯誤",
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.1.65",
3
+ "version": "1.1.66",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -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",
@@ -59,6 +59,7 @@
59
59
  "status": "状态",
60
60
  "submit": "提交",
61
61
  "success": "成功",
62
+ "timeDifferenceInvalid": "设备时间和服务器时间差为{0},超过{1}秒的限制,请调整设备时间,如果异常请告知管理员",
62
63
  "tokenExpiry": "您的会话即将过期。点击 取消 按钮继续使用",
63
64
  "yes": "是",
64
65
  "unknownError": "未知错误",
@@ -59,6 +59,7 @@
59
59
  "status": "狀態",
60
60
  "submit": "提交",
61
61
  "success": "成功",
62
+ "timeDifferenceInvalid": "設備時間和服務器時間差為{0},超過{1}秒的限制,請調整設備時間,如果異常請告知管理員",
62
63
  "tokenExpiry": "您的會話即將過期。點擊 取消 按鈕繼續使用",
63
64
  "yes": "是",
64
65
  "unknownError": "未知錯誤",
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>;