Skip to content

Commit e699d05

Browse files
dragonpooludomikula
authored andcommitted
Added more event types for bundle and application
1 parent 57cc5e9 commit e699d05

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.lowcoder.plugin</groupId>
77
<artifactId>lowcoder-plugin-api</artifactId>
8-
<version>2.3.0</version>
8+
<version>2.3.1</version>
99

1010
<name>lowcoder-plugin-api</name>
1111
<description>Lowcoder shared plugin interfaces</description>

src/main/java/org/lowcoder/plugin/api/event/LowcoderEvent.java

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,23 @@ enum EventType {
8383
APPLICATION_MOVE(Type.APPLICATION, Action.MOVE),
8484
APPLICATION_RECYCLED(Type.APPLICATION, Action.RECYCLE),
8585
APPLICATION_RESTORE(Type.APPLICATION, Action.RESTORE),
86+
APPLICATION_PUBLISH(Type.APPLICATION, Action.PUBLISH),
87+
APPLICATION_PERMISSION_CHANGE(Type.APPLICATION, Type.PERMISSION, Action.UPDATE),
88+
APPLICATION_SHARING_CHANGE(Type.APPLICATION, Type.SHARING, Action.UPDATE),
89+
APPLICATION_VERSION_CHANGE(Type.APPLICATION, Type.VERSION, Action.UPDATE),
90+
91+
/* Application events */
92+
BUNDLE_VIEW(Type.BUNDLE, Action.VIEW),
93+
BUNDLE_CREATE(Type.BUNDLE, Action.CREATE),
94+
BUNDLE_DELETE(Type.BUNDLE, Action.DELETE),
95+
BUNDLE_UPDATE(Type.BUNDLE, Action.UPDATE),
96+
BUNDLE_MOVE(Type.BUNDLE, Action.MOVE),
97+
BUNDLE_RECYCLED(Type.BUNDLE, Action.RECYCLE),
98+
BUNDLE_RESTORE(Type.BUNDLE, Action.RESTORE),
99+
BUNDLE_PUBLISH(Type.BUNDLE, Action.PUBLISH),
100+
BUNDLE_PERMISSION_CHANGE(Type.BUNDLE, Type.PERMISSION, Action.UPDATE),
101+
BUNDLE_SHARING_CHANGE(Type.BUNDLE, Type.SHARING, Action.UPDATE),
102+
BUNDLE_VERSION_CHANGE(Type.BUNDLE, Type.VERSION, Action.UPDATE),
86103

87104
/* Folder events */
88105
FOLDER_CREATE(Type.FOLDER, Action.CREATE),
@@ -186,7 +203,10 @@ enum Type {
186203
PERMISSION,
187204
LIBRARY_QUERY,
188205
DATASOURCE,
189-
API_CALL
206+
API_CALL,
207+
BUNDLE,
208+
VERSION,
209+
SHARING
190210
}
191211

192212
/**

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy