@dao42/d42paas-front 0.5.47 → 0.5.48
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/dist/DaoPaaS.es.js +6 -5
- package/dist/DaoPaaS.umd.js +164 -164
- package/dist/editor.d.ts +4 -3
- package/dist/index.html +6 -3
- package/dist/tsdoc.html +1 -2
- package/package.json +3 -2
package/dist/editor.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export type T_PlaygroundStatus = 'EMPTY' | 'ACTIVE' | 'INACTIVE';
|
|
|
15
15
|
|
|
16
16
|
export type TReplay = 'stop' | 'disabled' | 'pause';
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
export type T_DockerStatus = 'RUNNING' | 'STOP';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* UserInfo for caller.
|
|
@@ -124,7 +124,6 @@ export interface UserComponent extends TComponentArgs {
|
|
|
124
124
|
* @desc
|
|
125
125
|
*
|
|
126
126
|
*/
|
|
127
|
-
|
|
128
127
|
export interface TComponentArgs {
|
|
129
128
|
/**
|
|
130
129
|
*
|
|
@@ -143,6 +142,8 @@ export class DaoPaaS {
|
|
|
143
142
|
|
|
144
143
|
get playgroundStatus(): T_PlaygroundStatus;
|
|
145
144
|
|
|
145
|
+
get dockerStatus(): T_DockerStatus;
|
|
146
|
+
|
|
146
147
|
get userList(): TUserInfo[];
|
|
147
148
|
|
|
148
149
|
/**
|
|
@@ -167,7 +168,7 @@ export class DaoPaaS {
|
|
|
167
168
|
* @param {keyof D42_FrontType['CRDT'][]} arg
|
|
168
169
|
*
|
|
169
170
|
*/
|
|
170
|
-
setReplayers(arg:
|
|
171
|
+
setReplayers(arg: string[]): void;
|
|
171
172
|
|
|
172
173
|
/**
|
|
173
174
|
*
|
package/dist/index.html
CHANGED
|
@@ -32,10 +32,13 @@
|
|
|
32
32
|
window.daopaas = DaoPaaS;
|
|
33
33
|
|
|
34
34
|
var qs = new URLSearchParams(document.location.search.substring(1));
|
|
35
|
-
const env = qs.get('env')
|
|
35
|
+
const env = qs.get('env');
|
|
36
|
+
const ticket = qs.get('ticket');
|
|
37
|
+
const playgroundId = qs.get('playgroundId');
|
|
38
|
+
|
|
36
39
|
window.daopaas = new DaoPaaS.DaoPaaS({
|
|
37
|
-
ticket
|
|
38
|
-
playgroundId
|
|
40
|
+
ticket,
|
|
41
|
+
playgroundId,
|
|
39
42
|
userId: qs.get('userId'),
|
|
40
43
|
tenantId: '1',
|
|
41
44
|
username: qs.get('username'),
|
package/dist/tsdoc.html
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dao42/d42paas-front",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.48",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "eric183 <kk297466058@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/dao42/d42paas_frontend#readme",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"./style.css": {
|
|
17
17
|
"import": "./dist/style.css",
|
|
18
18
|
"require": "./dist/style.css"
|
|
19
|
-
}
|
|
19
|
+
},
|
|
20
|
+
"./assets/": "./dist/assets/"
|
|
20
21
|
},
|
|
21
22
|
"directories": {
|
|
22
23
|
"lib": "lib",
|