@gadmin2n/schematics 0.0.106 → 0.0.108
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/lib/application/files/gadmin2-game-angle-demo/config/.types.d.ts +8 -9
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/AgendaJob.ts +17 -15
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/Audit.ts +13 -17
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/Event.ts +48 -17
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/Game.ts +1 -2
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/ITActivityDay.ts +14 -18
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/Log.ts +0 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/Page.ts +42 -18
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/PageResource.ts +28 -18
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/Resource.ts +42 -18
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/Role.ts +1 -2
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/RolePages.ts +14 -18
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/RoleResource.ts +28 -18
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/SavedQuery.ts +13 -17
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/User.ts +14 -18
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/WorkflowEventOutbox.ts +17 -17
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/WorkflowNodeInstance.ts +9 -14
- package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/WorkflowNodeType.ts +9 -14
- package/dist/lib/application/files/gadmin2-game-angle-demo/gitignore +54 -0
- package/dist/lib/application/files/gadmin2-game-angle-demo/server/package.json +1 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/server/src/modules/workflow/temporal.service.ts +7 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/App.tsx +75 -71
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/components/BulkActions.tsx +36 -6
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/components/ListPageHeader.tsx +41 -14
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/components/RowActions.tsx +153 -144
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/components/agentPanel/inspectorActions.ts +3 -3
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/config/agentAllowed.tsx +35 -0
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/config/env.ts +2 -2
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/dev-shell/DevShell.tsx +8 -2
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/helpers/http.ts +20 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/helpers/list.tsx +48 -0
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/plugins/devShellPlugin.ts +40 -2
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/agenda/index.tsx +3 -2
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/agendaJob/list.tsx +6 -6
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/canvas/CanvasCell.tsx +4 -3
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/canvas/CanvasListPage.tsx +4 -3
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/canvas/CanvasPage.tsx +99 -5
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/canvas/CanvasToolbar.tsx +28 -30
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/canvas/components/CanvasAiModal.tsx +80 -0
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/game/list.tsx +6 -0
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/editor.tsx +2 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/node-instances/components/NodeInstanceForm.tsx +2 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflow/show.tsx +2 -1
- package/dist/lib/application/files/gadmin2-game-angle-demo/web/src/routes/workflowEventOutbox/list.tsx +6 -6
- package/package.json +2 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ModelConfig } from "../.types";
|
|
2
2
|
import { pageActions, PAGE_SIZE } from "./_common";
|
|
3
3
|
|
|
4
|
-
export const Resource: ModelConfig =
|
|
5
|
-
{
|
|
4
|
+
export const Resource: ModelConfig = {
|
|
6
5
|
metadata: {
|
|
7
6
|
nameKeys: ["name"],
|
|
8
7
|
pageActions,
|
|
@@ -10,31 +9,43 @@ export const Resource: ModelConfig =
|
|
|
10
9
|
table: {
|
|
11
10
|
toolbar: {
|
|
12
11
|
searchBar: {
|
|
13
|
-
fields: ["id","name"],
|
|
12
|
+
fields: ["id", "name"],
|
|
14
13
|
containsFields: ["name"],
|
|
15
14
|
placeholder: "id,name",
|
|
16
15
|
},
|
|
17
16
|
actions: [
|
|
18
|
-
{action:
|
|
19
|
-
{action: 'SETTING', desc: 'Setting'},
|
|
17
|
+
{ action: "REFRESH", desc: "Refresh" },
|
|
20
18
|
{
|
|
21
19
|
action: "EXPORT",
|
|
22
|
-
desc:
|
|
23
|
-
fields: [
|
|
20
|
+
desc: "export",
|
|
21
|
+
fields: [
|
|
22
|
+
"*",
|
|
23
|
+
"!createdAt",
|
|
24
|
+
"!pageResources.*",
|
|
25
|
+
"_count.pageResources",
|
|
26
|
+
"!roleResources.*",
|
|
27
|
+
"_count.roleResources",
|
|
28
|
+
],
|
|
24
29
|
},
|
|
30
|
+
{ action: "INSERT", desc: "Insert" },
|
|
25
31
|
],
|
|
26
32
|
},
|
|
27
33
|
header: {
|
|
28
34
|
filter: [],
|
|
29
35
|
sorter: ["id"],
|
|
30
36
|
},
|
|
31
|
-
fields: [
|
|
37
|
+
fields: [
|
|
38
|
+
"*",
|
|
39
|
+
"!createdAt",
|
|
40
|
+
"!pageResources.*",
|
|
41
|
+
"_count.pageResources",
|
|
42
|
+
"!roleResources.*",
|
|
43
|
+
"_count.roleResources",
|
|
44
|
+
],
|
|
32
45
|
rowSelection: {
|
|
33
46
|
actions: [
|
|
34
|
-
{action:
|
|
35
|
-
|
|
36
|
-
{action: 'DELETE', desc: 'Delete'},
|
|
37
|
-
{action: 'EXPORT', desc: 'Export'},
|
|
47
|
+
{ action: "DELETE", desc: "Delete" },
|
|
48
|
+
{ action: "EXPORT", desc: "Export" },
|
|
38
49
|
],
|
|
39
50
|
},
|
|
40
51
|
rowActions: {
|
|
@@ -44,8 +55,8 @@ export const Resource: ModelConfig =
|
|
|
44
55
|
action: "EDIT",
|
|
45
56
|
desc: "Edit",
|
|
46
57
|
},
|
|
47
|
-
|
|
48
|
-
{action: "DELETE", desc:
|
|
58
|
+
|
|
59
|
+
{ action: "DELETE", desc: "Delete" },
|
|
49
60
|
],
|
|
50
61
|
},
|
|
51
62
|
params: {
|
|
@@ -53,7 +64,14 @@ export const Resource: ModelConfig =
|
|
|
53
64
|
},
|
|
54
65
|
},
|
|
55
66
|
form: {
|
|
56
|
-
fields: [
|
|
67
|
+
fields: [
|
|
68
|
+
"*",
|
|
69
|
+
"!creator",
|
|
70
|
+
"!createdAt",
|
|
71
|
+
"!updatedAt",
|
|
72
|
+
"!pageResources.*",
|
|
73
|
+
"!roleResources.*",
|
|
74
|
+
],
|
|
57
75
|
reaction: {
|
|
58
76
|
id: {
|
|
59
77
|
toggle: [],
|
|
@@ -64,7 +82,13 @@ export const Resource: ModelConfig =
|
|
|
64
82
|
},
|
|
65
83
|
},
|
|
66
84
|
show: {
|
|
67
|
-
fields: [
|
|
85
|
+
fields: [
|
|
86
|
+
"*",
|
|
87
|
+
"!createdAt",
|
|
88
|
+
"!pageResources.*",
|
|
89
|
+
"_count.pageResources",
|
|
90
|
+
"!roleResources.*",
|
|
91
|
+
"_count.roleResources",
|
|
92
|
+
],
|
|
68
93
|
},
|
|
69
|
-
}
|
|
70
|
-
;
|
|
94
|
+
};
|
|
@@ -15,12 +15,12 @@ export const Role: ModelConfig = {
|
|
|
15
15
|
},
|
|
16
16
|
actions: [
|
|
17
17
|
{ action: "REFRESH", desc: "Refresh" },
|
|
18
|
-
{ action: "SETTING", desc: "Setting" },
|
|
19
18
|
{
|
|
20
19
|
action: "EXPORT",
|
|
21
20
|
desc: "export",
|
|
22
21
|
fields: ["*", "!create_time"],
|
|
23
22
|
},
|
|
23
|
+
{ action: "INSERT", desc: "Insert" },
|
|
24
24
|
],
|
|
25
25
|
},
|
|
26
26
|
header: {
|
|
@@ -30,7 +30,6 @@ export const Role: ModelConfig = {
|
|
|
30
30
|
fields: ["*", "!create_time"],
|
|
31
31
|
rowSelection: {
|
|
32
32
|
actions: [
|
|
33
|
-
{ action: "INSERT", desc: "Insert" },
|
|
34
33
|
{ action: "DELETE", desc: "Delete" },
|
|
35
34
|
{ action: "EXPORT", desc: "Export" },
|
|
36
35
|
],
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ModelConfig } from "../.types";
|
|
2
2
|
import { pageActions, PAGE_SIZE } from "./_common";
|
|
3
3
|
|
|
4
|
-
export const RolePages: ModelConfig =
|
|
5
|
-
{
|
|
4
|
+
export const RolePages: ModelConfig = {
|
|
6
5
|
metadata: {
|
|
7
6
|
nameKeys: ["id"],
|
|
8
7
|
pageActions,
|
|
@@ -15,26 +14,24 @@ export const RolePages: ModelConfig =
|
|
|
15
14
|
placeholder: "id",
|
|
16
15
|
},
|
|
17
16
|
actions: [
|
|
18
|
-
{action:
|
|
19
|
-
{action: 'SETTING', desc: 'Setting'},
|
|
17
|
+
{ action: "REFRESH", desc: "Refresh" },
|
|
20
18
|
{
|
|
21
19
|
action: "EXPORT",
|
|
22
|
-
desc:
|
|
23
|
-
fields: ["*","!createdAt","!role.*","role","!page.*","page"]
|
|
20
|
+
desc: "export",
|
|
21
|
+
fields: ["*", "!createdAt", "!role.*", "role", "!page.*", "page"],
|
|
24
22
|
},
|
|
23
|
+
{ action: "INSERT", desc: "Insert" },
|
|
25
24
|
],
|
|
26
25
|
},
|
|
27
26
|
header: {
|
|
28
|
-
filter: ["role","page"],
|
|
27
|
+
filter: ["role", "page"],
|
|
29
28
|
sorter: ["id"],
|
|
30
29
|
},
|
|
31
|
-
fields: ["*","!createdAt","!role.*","role","!page.*","page"],
|
|
30
|
+
fields: ["*", "!createdAt", "!role.*", "role", "!page.*", "page"],
|
|
32
31
|
rowSelection: {
|
|
33
32
|
actions: [
|
|
34
|
-
{action:
|
|
35
|
-
|
|
36
|
-
{action: 'DELETE', desc: 'Delete'},
|
|
37
|
-
{action: 'EXPORT', desc: 'Export'},
|
|
33
|
+
{ action: "DELETE", desc: "Delete" },
|
|
34
|
+
{ action: "EXPORT", desc: "Export" },
|
|
38
35
|
],
|
|
39
36
|
},
|
|
40
37
|
rowActions: {
|
|
@@ -44,8 +41,8 @@ export const RolePages: ModelConfig =
|
|
|
44
41
|
action: "EDIT",
|
|
45
42
|
desc: "Edit",
|
|
46
43
|
},
|
|
47
|
-
|
|
48
|
-
{action: "DELETE", desc:
|
|
44
|
+
|
|
45
|
+
{ action: "DELETE", desc: "Delete" },
|
|
49
46
|
],
|
|
50
47
|
},
|
|
51
48
|
params: {
|
|
@@ -53,7 +50,7 @@ export const RolePages: ModelConfig =
|
|
|
53
50
|
},
|
|
54
51
|
},
|
|
55
52
|
form: {
|
|
56
|
-
fields: ["*","!creator","!createdAt","!updatedAt","!role.*","!page.*"],
|
|
53
|
+
fields: ["*", "!creator", "!createdAt", "!updatedAt", "!role.*", "!page.*"],
|
|
57
54
|
reaction: {
|
|
58
55
|
id: {
|
|
59
56
|
toggle: [],
|
|
@@ -64,7 +61,6 @@ export const RolePages: ModelConfig =
|
|
|
64
61
|
},
|
|
65
62
|
},
|
|
66
63
|
show: {
|
|
67
|
-
fields: ["*","!createdAt","!role.*","role","!page.*","page"],
|
|
64
|
+
fields: ["*", "!createdAt", "!role.*", "role", "!page.*", "page"],
|
|
68
65
|
},
|
|
69
|
-
}
|
|
70
|
-
;
|
|
66
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ModelConfig } from "../.types";
|
|
2
2
|
import { pageActions, PAGE_SIZE } from "./_common";
|
|
3
3
|
|
|
4
|
-
export const RoleResource: ModelConfig =
|
|
5
|
-
{
|
|
4
|
+
export const RoleResource: ModelConfig = {
|
|
6
5
|
metadata: {
|
|
7
6
|
nameKeys: ["id"],
|
|
8
7
|
pageActions,
|
|
@@ -15,26 +14,31 @@ export const RoleResource: ModelConfig =
|
|
|
15
14
|
placeholder: "id",
|
|
16
15
|
},
|
|
17
16
|
actions: [
|
|
18
|
-
{action:
|
|
19
|
-
{action: 'SETTING', desc: 'Setting'},
|
|
17
|
+
{ action: "REFRESH", desc: "Refresh" },
|
|
20
18
|
{
|
|
21
19
|
action: "EXPORT",
|
|
22
|
-
desc:
|
|
23
|
-
fields: [
|
|
20
|
+
desc: "export",
|
|
21
|
+
fields: [
|
|
22
|
+
"*",
|
|
23
|
+
"!createdAt",
|
|
24
|
+
"!role.*",
|
|
25
|
+
"role",
|
|
26
|
+
"!resource.*",
|
|
27
|
+
"resource",
|
|
28
|
+
],
|
|
24
29
|
},
|
|
30
|
+
{ action: "INSERT", desc: "Insert" },
|
|
25
31
|
],
|
|
26
32
|
},
|
|
27
33
|
header: {
|
|
28
|
-
filter: ["role","resource"],
|
|
34
|
+
filter: ["role", "resource"],
|
|
29
35
|
sorter: ["id"],
|
|
30
36
|
},
|
|
31
|
-
fields: ["*","!createdAt","!role.*","role","!resource.*","resource"],
|
|
37
|
+
fields: ["*", "!createdAt", "!role.*", "role", "!resource.*", "resource"],
|
|
32
38
|
rowSelection: {
|
|
33
39
|
actions: [
|
|
34
|
-
{action:
|
|
35
|
-
|
|
36
|
-
{action: 'DELETE', desc: 'Delete'},
|
|
37
|
-
{action: 'EXPORT', desc: 'Export'},
|
|
40
|
+
{ action: "DELETE", desc: "Delete" },
|
|
41
|
+
{ action: "EXPORT", desc: "Export" },
|
|
38
42
|
],
|
|
39
43
|
},
|
|
40
44
|
rowActions: {
|
|
@@ -44,8 +48,8 @@ export const RoleResource: ModelConfig =
|
|
|
44
48
|
action: "EDIT",
|
|
45
49
|
desc: "Edit",
|
|
46
50
|
},
|
|
47
|
-
|
|
48
|
-
{action: "DELETE", desc:
|
|
51
|
+
|
|
52
|
+
{ action: "DELETE", desc: "Delete" },
|
|
49
53
|
],
|
|
50
54
|
},
|
|
51
55
|
params: {
|
|
@@ -53,7 +57,14 @@ export const RoleResource: ModelConfig =
|
|
|
53
57
|
},
|
|
54
58
|
},
|
|
55
59
|
form: {
|
|
56
|
-
fields: [
|
|
60
|
+
fields: [
|
|
61
|
+
"*",
|
|
62
|
+
"!creator",
|
|
63
|
+
"!createdAt",
|
|
64
|
+
"!updatedAt",
|
|
65
|
+
"!role.*",
|
|
66
|
+
"!resource.*",
|
|
67
|
+
],
|
|
57
68
|
reaction: {
|
|
58
69
|
id: {
|
|
59
70
|
toggle: [],
|
|
@@ -64,7 +75,6 @@ export const RoleResource: ModelConfig =
|
|
|
64
75
|
},
|
|
65
76
|
},
|
|
66
77
|
show: {
|
|
67
|
-
fields: ["*","!createdAt","!role.*","role","!resource.*","resource"],
|
|
78
|
+
fields: ["*", "!createdAt", "!role.*", "role", "!resource.*", "resource"],
|
|
68
79
|
},
|
|
69
|
-
}
|
|
70
|
-
;
|
|
80
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ModelConfig } from "../.types";
|
|
2
2
|
import { pageActions, PAGE_SIZE } from "./_common";
|
|
3
3
|
|
|
4
|
-
export const SavedQuery: ModelConfig =
|
|
5
|
-
{
|
|
4
|
+
export const SavedQuery: ModelConfig = {
|
|
6
5
|
metadata: {
|
|
7
6
|
nameKeys: ["id"],
|
|
8
7
|
pageActions,
|
|
@@ -15,26 +14,24 @@ export const SavedQuery: ModelConfig =
|
|
|
15
14
|
placeholder: "id",
|
|
16
15
|
},
|
|
17
16
|
actions: [
|
|
18
|
-
{action:
|
|
19
|
-
{action: 'SETTING', desc: 'Setting'},
|
|
17
|
+
{ action: "REFRESH", desc: "Refresh" },
|
|
20
18
|
{
|
|
21
19
|
action: "EXPORT",
|
|
22
|
-
desc:
|
|
23
|
-
fields: ["*","!createdAt"]
|
|
20
|
+
desc: "export",
|
|
21
|
+
fields: ["*", "!createdAt"],
|
|
24
22
|
},
|
|
23
|
+
{ action: "INSERT", desc: "Insert" },
|
|
25
24
|
],
|
|
26
25
|
},
|
|
27
26
|
header: {
|
|
28
27
|
filter: [],
|
|
29
28
|
sorter: ["id"],
|
|
30
29
|
},
|
|
31
|
-
fields: ["*","!createdAt"],
|
|
30
|
+
fields: ["*", "!createdAt"],
|
|
32
31
|
rowSelection: {
|
|
33
32
|
actions: [
|
|
34
|
-
{action:
|
|
35
|
-
|
|
36
|
-
{action: 'DELETE', desc: 'Delete'},
|
|
37
|
-
{action: 'EXPORT', desc: 'Export'},
|
|
33
|
+
{ action: "DELETE", desc: "Delete" },
|
|
34
|
+
{ action: "EXPORT", desc: "Export" },
|
|
38
35
|
],
|
|
39
36
|
},
|
|
40
37
|
rowActions: {
|
|
@@ -44,8 +41,8 @@ export const SavedQuery: ModelConfig =
|
|
|
44
41
|
action: "EDIT",
|
|
45
42
|
desc: "Edit",
|
|
46
43
|
},
|
|
47
|
-
|
|
48
|
-
{action: "DELETE", desc:
|
|
44
|
+
|
|
45
|
+
{ action: "DELETE", desc: "Delete" },
|
|
49
46
|
],
|
|
50
47
|
},
|
|
51
48
|
params: {
|
|
@@ -53,7 +50,7 @@ export const SavedQuery: ModelConfig =
|
|
|
53
50
|
},
|
|
54
51
|
},
|
|
55
52
|
form: {
|
|
56
|
-
fields: ["*","!creator","!createdAt","!updatedAt"],
|
|
53
|
+
fields: ["*", "!creator", "!createdAt", "!updatedAt"],
|
|
57
54
|
reaction: {
|
|
58
55
|
id: {
|
|
59
56
|
toggle: [],
|
|
@@ -64,7 +61,6 @@ export const SavedQuery: ModelConfig =
|
|
|
64
61
|
},
|
|
65
62
|
},
|
|
66
63
|
show: {
|
|
67
|
-
fields: ["*","!createdAt"],
|
|
64
|
+
fields: ["*", "!createdAt"],
|
|
68
65
|
},
|
|
69
|
-
}
|
|
70
|
-
;
|
|
66
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ModelConfig } from "../.types";
|
|
2
2
|
import { pageActions, PAGE_SIZE } from "./_common";
|
|
3
3
|
|
|
4
|
-
export const User: ModelConfig =
|
|
5
|
-
{
|
|
4
|
+
export const User: ModelConfig = {
|
|
6
5
|
metadata: {
|
|
7
6
|
nameKeys: ["id"],
|
|
8
7
|
pageActions,
|
|
@@ -15,26 +14,24 @@ export const User: ModelConfig =
|
|
|
15
14
|
placeholder: "id",
|
|
16
15
|
},
|
|
17
16
|
actions: [
|
|
18
|
-
{action:
|
|
19
|
-
{action: 'SETTING', desc: 'Setting'},
|
|
17
|
+
{ action: "REFRESH", desc: "Refresh" },
|
|
20
18
|
{
|
|
21
19
|
action: "EXPORT",
|
|
22
|
-
desc:
|
|
23
|
-
fields: ["*","!createdAt"]
|
|
20
|
+
desc: "export",
|
|
21
|
+
fields: ["*", "!createdAt"],
|
|
24
22
|
},
|
|
23
|
+
{ action: "INSERT", desc: "Insert" },
|
|
25
24
|
],
|
|
26
25
|
},
|
|
27
26
|
header: {
|
|
28
27
|
filter: ["roles"],
|
|
29
|
-
sorter: ["id","roles"],
|
|
28
|
+
sorter: ["id", "roles"],
|
|
30
29
|
},
|
|
31
|
-
fields: ["*","!createdAt"],
|
|
30
|
+
fields: ["*", "!createdAt"],
|
|
32
31
|
rowSelection: {
|
|
33
32
|
actions: [
|
|
34
|
-
{action:
|
|
35
|
-
|
|
36
|
-
{action: 'DELETE', desc: 'Delete'},
|
|
37
|
-
{action: 'EXPORT', desc: 'Export'},
|
|
33
|
+
{ action: "DELETE", desc: "Delete" },
|
|
34
|
+
{ action: "EXPORT", desc: "Export" },
|
|
38
35
|
],
|
|
39
36
|
},
|
|
40
37
|
rowActions: {
|
|
@@ -44,8 +41,8 @@ export const User: ModelConfig =
|
|
|
44
41
|
action: "EDIT",
|
|
45
42
|
desc: "Edit",
|
|
46
43
|
},
|
|
47
|
-
|
|
48
|
-
{action: "DELETE", desc:
|
|
44
|
+
|
|
45
|
+
{ action: "DELETE", desc: "Delete" },
|
|
49
46
|
],
|
|
50
47
|
},
|
|
51
48
|
params: {
|
|
@@ -53,7 +50,7 @@ export const User: ModelConfig =
|
|
|
53
50
|
},
|
|
54
51
|
},
|
|
55
52
|
form: {
|
|
56
|
-
fields: ["*","!creator","!createdAt","!updatedAt"],
|
|
53
|
+
fields: ["*", "!creator", "!createdAt", "!updatedAt"],
|
|
57
54
|
reaction: {
|
|
58
55
|
id: {
|
|
59
56
|
toggle: [],
|
|
@@ -64,7 +61,6 @@ export const User: ModelConfig =
|
|
|
64
61
|
},
|
|
65
62
|
},
|
|
66
63
|
show: {
|
|
67
|
-
fields: ["*","!createdAt"],
|
|
64
|
+
fields: ["*", "!createdAt"],
|
|
68
65
|
},
|
|
69
|
-
}
|
|
70
|
-
;
|
|
66
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ModelConfig } from "../.types";
|
|
2
2
|
import { pageActions, PAGE_SIZE } from "./_common";
|
|
3
3
|
|
|
4
|
-
export const WorkflowEventOutbox: ModelConfig =
|
|
5
|
-
{
|
|
4
|
+
export const WorkflowEventOutbox: ModelConfig = {
|
|
6
5
|
metadata: {
|
|
7
6
|
nameKeys: ["id"],
|
|
8
7
|
pageActions,
|
|
@@ -15,12 +14,11 @@ export const WorkflowEventOutbox: ModelConfig =
|
|
|
15
14
|
placeholder: "id",
|
|
16
15
|
},
|
|
17
16
|
actions: [
|
|
18
|
-
{action:
|
|
19
|
-
{action: 'SETTING', desc: 'Setting'},
|
|
17
|
+
{ action: "REFRESH", desc: "Refresh" },
|
|
20
18
|
{
|
|
21
19
|
action: "EXPORT",
|
|
22
|
-
desc:
|
|
23
|
-
fields: ["*","!createdAt","!created_at"]
|
|
20
|
+
desc: "export",
|
|
21
|
+
fields: ["*", "!createdAt", "!created_at"],
|
|
24
22
|
},
|
|
25
23
|
],
|
|
26
24
|
},
|
|
@@ -28,24 +26,27 @@ export const WorkflowEventOutbox: ModelConfig =
|
|
|
28
26
|
filter: [],
|
|
29
27
|
sorter: ["id"],
|
|
30
28
|
},
|
|
31
|
-
fields: ["*","!createdAt","!created_at", "!payload"],
|
|
29
|
+
fields: ["*", "!createdAt", "!created_at", "!payload"],
|
|
32
30
|
rowSelection: {
|
|
33
|
-
actions: [
|
|
34
|
-
{action: 'EXPORT', desc: 'Export'},
|
|
35
|
-
],
|
|
31
|
+
actions: [{ action: "EXPORT", desc: "Export" }],
|
|
36
32
|
},
|
|
37
33
|
rowActions: {
|
|
38
34
|
visibleNum: 1,
|
|
39
|
-
actions: [
|
|
40
|
-
{action: "DETAIL", desc: 'Detail'},
|
|
41
|
-
],
|
|
35
|
+
actions: [{ action: "DETAIL", desc: "Detail" }],
|
|
42
36
|
},
|
|
43
37
|
params: {
|
|
44
38
|
pageSize: PAGE_SIZE,
|
|
45
39
|
},
|
|
46
40
|
},
|
|
47
41
|
form: {
|
|
48
|
-
fields: [
|
|
42
|
+
fields: [
|
|
43
|
+
"*",
|
|
44
|
+
"!creator",
|
|
45
|
+
"!createdAt",
|
|
46
|
+
"!updatedAt",
|
|
47
|
+
"!created_at",
|
|
48
|
+
"!updated_at",
|
|
49
|
+
],
|
|
49
50
|
reaction: {
|
|
50
51
|
id: {
|
|
51
52
|
toggle: [],
|
|
@@ -56,7 +57,6 @@ export const WorkflowEventOutbox: ModelConfig =
|
|
|
56
57
|
},
|
|
57
58
|
},
|
|
58
59
|
show: {
|
|
59
|
-
fields: ["*","!createdAt","!created_at"],
|
|
60
|
+
fields: ["*", "!createdAt", "!created_at"],
|
|
60
61
|
},
|
|
61
|
-
}
|
|
62
|
-
;
|
|
62
|
+
};
|
package/dist/lib/application/files/gadmin2-game-angle-demo/config/ui/WorkflowNodeInstance.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ModelConfig } from "../.types";
|
|
2
2
|
import { pageActions, PAGE_SIZE } from "./_common";
|
|
3
3
|
|
|
4
|
-
export const WorkflowNodeInstance: ModelConfig =
|
|
5
|
-
{
|
|
4
|
+
export const WorkflowNodeInstance: ModelConfig = {
|
|
6
5
|
metadata: {
|
|
7
6
|
nameKeys: ["id"],
|
|
8
7
|
pageActions,
|
|
@@ -15,20 +14,17 @@ export const WorkflowNodeInstance: ModelConfig =
|
|
|
15
14
|
placeholder: "Search by name",
|
|
16
15
|
},
|
|
17
16
|
actions: [
|
|
18
|
-
{action:
|
|
19
|
-
{action:
|
|
17
|
+
{ action: "REFRESH", desc: "Refresh" },
|
|
18
|
+
{ action: "INSERT", desc: "Insert" },
|
|
20
19
|
],
|
|
21
20
|
},
|
|
22
21
|
header: {
|
|
23
22
|
filter: [],
|
|
24
23
|
sorter: ["id"],
|
|
25
24
|
},
|
|
26
|
-
fields: ["*","!createdAt"],
|
|
25
|
+
fields: ["*", "!createdAt"],
|
|
27
26
|
rowSelection: {
|
|
28
|
-
actions: [
|
|
29
|
-
{action: 'INSERT', desc: 'Insert'},
|
|
30
|
-
{action: 'DELETE', desc: 'Delete'},
|
|
31
|
-
],
|
|
27
|
+
actions: [{ action: "DELETE", desc: "Delete" }],
|
|
32
28
|
},
|
|
33
29
|
rowActions: {
|
|
34
30
|
visibleNum: 2,
|
|
@@ -37,7 +33,7 @@ export const WorkflowNodeInstance: ModelConfig =
|
|
|
37
33
|
action: "EDIT",
|
|
38
34
|
desc: "Edit",
|
|
39
35
|
},
|
|
40
|
-
{action: "DELETE", desc:
|
|
36
|
+
{ action: "DELETE", desc: "Delete" },
|
|
41
37
|
],
|
|
42
38
|
},
|
|
43
39
|
params: {
|
|
@@ -45,7 +41,7 @@ export const WorkflowNodeInstance: ModelConfig =
|
|
|
45
41
|
},
|
|
46
42
|
},
|
|
47
43
|
form: {
|
|
48
|
-
fields: ["*","!creator","!createdAt","!updatedAt"],
|
|
44
|
+
fields: ["*", "!creator", "!createdAt", "!updatedAt"],
|
|
49
45
|
reaction: {
|
|
50
46
|
id: {
|
|
51
47
|
toggle: [],
|
|
@@ -56,7 +52,6 @@ export const WorkflowNodeInstance: ModelConfig =
|
|
|
56
52
|
},
|
|
57
53
|
},
|
|
58
54
|
show: {
|
|
59
|
-
fields: ["*","!createdAt"],
|
|
55
|
+
fields: ["*", "!createdAt"],
|
|
60
56
|
},
|
|
61
|
-
}
|
|
62
|
-
;
|
|
57
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ModelConfig } from "../.types";
|
|
2
2
|
import { pageActions, PAGE_SIZE } from "./_common";
|
|
3
3
|
|
|
4
|
-
export const WorkflowNodeType: ModelConfig =
|
|
5
|
-
{
|
|
4
|
+
export const WorkflowNodeType: ModelConfig = {
|
|
6
5
|
metadata: {
|
|
7
6
|
nameKeys: ["id"],
|
|
8
7
|
pageActions,
|
|
@@ -15,20 +14,17 @@ export const WorkflowNodeType: ModelConfig =
|
|
|
15
14
|
placeholder: "Search by label or type",
|
|
16
15
|
},
|
|
17
16
|
actions: [
|
|
18
|
-
{action:
|
|
19
|
-
{action:
|
|
17
|
+
{ action: "REFRESH", desc: "Refresh" },
|
|
18
|
+
{ action: "INSERT", desc: "Insert" },
|
|
20
19
|
],
|
|
21
20
|
},
|
|
22
21
|
header: {
|
|
23
22
|
filter: [],
|
|
24
23
|
sorter: ["id"],
|
|
25
24
|
},
|
|
26
|
-
fields: ["*","!createdAt"],
|
|
25
|
+
fields: ["*", "!createdAt"],
|
|
27
26
|
rowSelection: {
|
|
28
|
-
actions: [
|
|
29
|
-
{action: 'INSERT', desc: 'Insert'},
|
|
30
|
-
{action: 'DELETE', desc: 'Delete'},
|
|
31
|
-
],
|
|
27
|
+
actions: [{ action: "DELETE", desc: "Delete" }],
|
|
32
28
|
},
|
|
33
29
|
rowActions: {
|
|
34
30
|
visibleNum: 2,
|
|
@@ -37,7 +33,7 @@ export const WorkflowNodeType: ModelConfig =
|
|
|
37
33
|
action: "EDIT",
|
|
38
34
|
desc: "Edit",
|
|
39
35
|
},
|
|
40
|
-
{action: "DELETE", desc:
|
|
36
|
+
{ action: "DELETE", desc: "Delete" },
|
|
41
37
|
],
|
|
42
38
|
},
|
|
43
39
|
params: {
|
|
@@ -45,7 +41,7 @@ export const WorkflowNodeType: ModelConfig =
|
|
|
45
41
|
},
|
|
46
42
|
},
|
|
47
43
|
form: {
|
|
48
|
-
fields: ["*","!creator","!createdAt","!updatedAt"],
|
|
44
|
+
fields: ["*", "!creator", "!createdAt", "!updatedAt"],
|
|
49
45
|
reaction: {
|
|
50
46
|
id: {
|
|
51
47
|
toggle: [],
|
|
@@ -56,7 +52,6 @@ export const WorkflowNodeType: ModelConfig =
|
|
|
56
52
|
},
|
|
57
53
|
},
|
|
58
54
|
show: {
|
|
59
|
-
fields: ["*","!createdAt"],
|
|
55
|
+
fields: ["*", "!createdAt"],
|
|
60
56
|
},
|
|
61
|
-
}
|
|
62
|
-
;
|
|
57
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# compiled output
|
|
2
|
+
bin/
|
|
3
|
+
dist/
|
|
4
|
+
node_modules/
|
|
5
|
+
generated/
|
|
6
|
+
build/
|
|
7
|
+
server/prisma/dbml
|
|
8
|
+
server/prisma/schema.prisma
|
|
9
|
+
upload/
|
|
10
|
+
# Logs
|
|
11
|
+
logs/
|
|
12
|
+
*.log
|
|
13
|
+
npm-debug.log*
|
|
14
|
+
pnpm-debug.log*
|
|
15
|
+
yarn-debug.log*
|
|
16
|
+
yarn-error.log*
|
|
17
|
+
lerna-debug.log*
|
|
18
|
+
.env.local
|
|
19
|
+
|
|
20
|
+
# OS
|
|
21
|
+
.DS_Store
|
|
22
|
+
|
|
23
|
+
# Tests
|
|
24
|
+
coverage
|
|
25
|
+
.nyc_output
|
|
26
|
+
|
|
27
|
+
# IDEs and editors
|
|
28
|
+
.idea
|
|
29
|
+
.project
|
|
30
|
+
.classpath
|
|
31
|
+
.c9/
|
|
32
|
+
*.launch
|
|
33
|
+
.settings/
|
|
34
|
+
*.sublime-workspace
|
|
35
|
+
|
|
36
|
+
# IDE - VSCode
|
|
37
|
+
.vscode/*
|
|
38
|
+
!.vscode/settings.json
|
|
39
|
+
!.vscode/tasks.json
|
|
40
|
+
!.vscode/launch.json
|
|
41
|
+
!.vscode/extensions.json
|
|
42
|
+
|
|
43
|
+
.yalc/
|
|
44
|
+
|
|
45
|
+
nginx-external-page/
|
|
46
|
+
settings.local.json
|
|
47
|
+
|
|
48
|
+
.agent/
|
|
49
|
+
.claude-internal/
|
|
50
|
+
.claude
|
|
51
|
+
docs/
|
|
52
|
+
.frontend-slides/
|
|
53
|
+
.agent
|
|
54
|
+
agent-eval/runs/**/*/results/
|