@etsoo/appscript 1.4.36 → 1.4.37
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/IApp.d.ts +0 -5
- package/lib/cjs/index.d.ts +0 -1
- package/lib/cjs/index.js +0 -1
- package/lib/mjs/app/IApp.d.ts +0 -5
- package/lib/mjs/index.d.ts +0 -1
- package/lib/mjs/index.js +0 -1
- package/package.json +1 -1
- package/src/app/IApp.ts +0 -6
- package/src/index.ts +0 -1
- package/lib/cjs/app/IAppApi.d.ts +0 -24
- package/lib/cjs/app/IAppApi.js +0 -2
- package/lib/mjs/app/IAppApi.d.ts +0 -24
- package/lib/mjs/app/IAppApi.js +0 -1
- package/src/app/IAppApi.ts +0 -28
package/lib/cjs/app/IApp.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { IUser } from '../state/User';
|
|
|
7
7
|
import { IAppSettings } from './AppSettings';
|
|
8
8
|
import { UserRole } from './UserRole';
|
|
9
9
|
import { EntityStatus } from '../business/EntityStatus';
|
|
10
|
-
import { IAppApi } from './IAppApi';
|
|
11
10
|
/**
|
|
12
11
|
* Detect IP callback interface
|
|
13
12
|
*/
|
|
@@ -47,10 +46,6 @@ export interface RefreshTokenProps<D extends object> {
|
|
|
47
46
|
* Show loading bar or not
|
|
48
47
|
*/
|
|
49
48
|
showLoading?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Service application API
|
|
52
|
-
*/
|
|
53
|
-
appApi?: IAppApi;
|
|
54
49
|
}
|
|
55
50
|
/**
|
|
56
51
|
* App fields
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export * from './app/AppSettings';
|
|
|
12
12
|
export * from './app/CoreApp';
|
|
13
13
|
export * from './app/ExternalSettings';
|
|
14
14
|
export * from './app/IApp';
|
|
15
|
-
export * from './app/IAppApi';
|
|
16
15
|
export * from './app/UserRole';
|
|
17
16
|
export * from './bridges/BridgeUtils';
|
|
18
17
|
export * from './bridges/IBridgeHost';
|
package/lib/cjs/index.js
CHANGED
|
@@ -31,7 +31,6 @@ __exportStar(require("./app/AppSettings"), exports);
|
|
|
31
31
|
__exportStar(require("./app/CoreApp"), exports);
|
|
32
32
|
__exportStar(require("./app/ExternalSettings"), exports);
|
|
33
33
|
__exportStar(require("./app/IApp"), exports);
|
|
34
|
-
__exportStar(require("./app/IAppApi"), exports);
|
|
35
34
|
__exportStar(require("./app/UserRole"), exports);
|
|
36
35
|
// bridges
|
|
37
36
|
__exportStar(require("./bridges/BridgeUtils"), exports);
|
package/lib/mjs/app/IApp.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { IUser } from '../state/User';
|
|
|
7
7
|
import { IAppSettings } from './AppSettings';
|
|
8
8
|
import { UserRole } from './UserRole';
|
|
9
9
|
import { EntityStatus } from '../business/EntityStatus';
|
|
10
|
-
import { IAppApi } from './IAppApi';
|
|
11
10
|
/**
|
|
12
11
|
* Detect IP callback interface
|
|
13
12
|
*/
|
|
@@ -47,10 +46,6 @@ export interface RefreshTokenProps<D extends object> {
|
|
|
47
46
|
* Show loading bar or not
|
|
48
47
|
*/
|
|
49
48
|
showLoading?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Service application API
|
|
52
|
-
*/
|
|
53
|
-
appApi?: IAppApi;
|
|
54
49
|
}
|
|
55
50
|
/**
|
|
56
51
|
* App fields
|
package/lib/mjs/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export * from './app/AppSettings';
|
|
|
12
12
|
export * from './app/CoreApp';
|
|
13
13
|
export * from './app/ExternalSettings';
|
|
14
14
|
export * from './app/IApp';
|
|
15
|
-
export * from './app/IAppApi';
|
|
16
15
|
export * from './app/UserRole';
|
|
17
16
|
export * from './bridges/BridgeUtils';
|
|
18
17
|
export * from './bridges/IBridgeHost';
|
package/lib/mjs/index.js
CHANGED
|
@@ -14,7 +14,6 @@ export * from './app/AppSettings';
|
|
|
14
14
|
export * from './app/CoreApp';
|
|
15
15
|
export * from './app/ExternalSettings';
|
|
16
16
|
export * from './app/IApp';
|
|
17
|
-
export * from './app/IAppApi';
|
|
18
17
|
export * from './app/UserRole';
|
|
19
18
|
// bridges
|
|
20
19
|
export * from './bridges/BridgeUtils';
|
package/package.json
CHANGED
package/src/app/IApp.ts
CHANGED
|
@@ -19,7 +19,6 @@ import { IUser } from '../state/User';
|
|
|
19
19
|
import { IAppSettings } from './AppSettings';
|
|
20
20
|
import { UserRole } from './UserRole';
|
|
21
21
|
import { EntityStatus } from '../business/EntityStatus';
|
|
22
|
-
import { IAppApi } from './IAppApi';
|
|
23
22
|
|
|
24
23
|
/**
|
|
25
24
|
* Detect IP callback interface
|
|
@@ -70,11 +69,6 @@ export interface RefreshTokenProps<D extends object> {
|
|
|
70
69
|
* Show loading bar or not
|
|
71
70
|
*/
|
|
72
71
|
showLoading?: boolean;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Service application API
|
|
76
|
-
*/
|
|
77
|
-
appApi?: IAppApi;
|
|
78
72
|
}
|
|
79
73
|
|
|
80
74
|
/**
|
package/src/index.ts
CHANGED
package/lib/cjs/app/IAppApi.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IApi } from '@etsoo/restclient';
|
|
2
|
-
/**
|
|
3
|
-
* Service application API, Implement interface calls between different services
|
|
4
|
-
* 服务程序接口,实现不同服务之间的接口调用
|
|
5
|
-
*/
|
|
6
|
-
export interface IAppApi {
|
|
7
|
-
/**
|
|
8
|
-
* API
|
|
9
|
-
*/
|
|
10
|
-
readonly api: IApi<any>;
|
|
11
|
-
/**
|
|
12
|
-
* Service id
|
|
13
|
-
*/
|
|
14
|
-
readonly serviceId: number;
|
|
15
|
-
/**
|
|
16
|
-
* Authorize the API
|
|
17
|
-
* @param token Access token
|
|
18
|
-
*/
|
|
19
|
-
authorize(token: string): void;
|
|
20
|
-
/**
|
|
21
|
-
* Get refresh token data
|
|
22
|
-
*/
|
|
23
|
-
getrefreshTokenData(): Object;
|
|
24
|
-
}
|
package/lib/cjs/app/IAppApi.js
DELETED
package/lib/mjs/app/IAppApi.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IApi } from '@etsoo/restclient';
|
|
2
|
-
/**
|
|
3
|
-
* Service application API, Implement interface calls between different services
|
|
4
|
-
* 服务程序接口,实现不同服务之间的接口调用
|
|
5
|
-
*/
|
|
6
|
-
export interface IAppApi {
|
|
7
|
-
/**
|
|
8
|
-
* API
|
|
9
|
-
*/
|
|
10
|
-
readonly api: IApi<any>;
|
|
11
|
-
/**
|
|
12
|
-
* Service id
|
|
13
|
-
*/
|
|
14
|
-
readonly serviceId: number;
|
|
15
|
-
/**
|
|
16
|
-
* Authorize the API
|
|
17
|
-
* @param token Access token
|
|
18
|
-
*/
|
|
19
|
-
authorize(token: string): void;
|
|
20
|
-
/**
|
|
21
|
-
* Get refresh token data
|
|
22
|
-
*/
|
|
23
|
-
getrefreshTokenData(): Object;
|
|
24
|
-
}
|
package/lib/mjs/app/IAppApi.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/src/app/IAppApi.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { IApi } from '@etsoo/restclient';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Service application API, Implement interface calls between different services
|
|
5
|
-
* 服务程序接口,实现不同服务之间的接口调用
|
|
6
|
-
*/
|
|
7
|
-
export interface IAppApi {
|
|
8
|
-
/**
|
|
9
|
-
* API
|
|
10
|
-
*/
|
|
11
|
-
readonly api: IApi<any>;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Service id
|
|
15
|
-
*/
|
|
16
|
-
readonly serviceId: number;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Authorize the API
|
|
20
|
-
* @param token Access token
|
|
21
|
-
*/
|
|
22
|
-
authorize(token: string): void;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Get refresh token data
|
|
26
|
-
*/
|
|
27
|
-
getrefreshTokenData(): Object;
|
|
28
|
-
}
|