feat(plugin): publish generation updates
This commit is contained in:
parent
6ffecf9345
commit
33cb536879
7 changed files with 74 additions and 1 deletions
|
|
@ -63,6 +63,7 @@ export type Event =
|
|||
| EventPermissionV2Asked
|
||||
| EventPermissionV2Replied
|
||||
| EventPluginAdded
|
||||
| EventPluginUpdated
|
||||
| EventProjectDirectoriesUpdated
|
||||
| EventCommandUpdated
|
||||
| EventConfigUpdated
|
||||
|
|
@ -1325,6 +1326,13 @@ export type GlobalEvent = {
|
|||
id: string
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "plugin.updated"
|
||||
properties: {
|
||||
[key: string]: unknown
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "project.directories.updated"
|
||||
|
|
@ -3071,6 +3079,7 @@ export type V2Event =
|
|||
| PermissionV2Asked
|
||||
| PermissionV2Replied
|
||||
| PluginAdded
|
||||
| PluginUpdated
|
||||
| ProjectDirectoriesUpdated
|
||||
| CommandUpdated
|
||||
| ConfigUpdated
|
||||
|
|
@ -5957,6 +5966,19 @@ export type PluginAdded = {
|
|||
}
|
||||
}
|
||||
|
||||
export type PluginUpdated = {
|
||||
id: string
|
||||
created: number
|
||||
metadata?: {
|
||||
[key: string]: unknown
|
||||
}
|
||||
type: "plugin.updated"
|
||||
location?: LocationRef
|
||||
data: {
|
||||
[key: string]: unknown
|
||||
}
|
||||
}
|
||||
|
||||
export type ProjectDirectoriesUpdated = {
|
||||
id: string
|
||||
created: number
|
||||
|
|
@ -7274,6 +7296,14 @@ export type EventPluginAdded = {
|
|||
}
|
||||
}
|
||||
|
||||
export type EventPluginUpdated = {
|
||||
id: string
|
||||
type: "plugin.updated"
|
||||
properties: {
|
||||
[key: string]: unknown
|
||||
}
|
||||
}
|
||||
|
||||
export type EventProjectDirectoriesUpdated = {
|
||||
id: string
|
||||
type: "project.directories.updated"
|
||||
|
|
@ -10380,6 +10410,21 @@ export type PluginAdded2 = {
|
|||
}
|
||||
}
|
||||
|
||||
export type PluginUpdated2 = {
|
||||
id: string
|
||||
created: number
|
||||
metadata?: {
|
||||
[key: string]: unknown
|
||||
}
|
||||
type: "plugin.updated"
|
||||
location?: LocationRef2
|
||||
data:
|
||||
| {
|
||||
[key: string]: unknown
|
||||
}
|
||||
| Array<unknown>
|
||||
}
|
||||
|
||||
export type ProjectDirectoriesUpdated2 = {
|
||||
id: string
|
||||
created: number
|
||||
|
|
@ -11192,6 +11237,7 @@ export type V2EventV2 =
|
|||
| PermissionV2Asked2
|
||||
| PermissionV2Replied2
|
||||
| PluginAdded2
|
||||
| PluginUpdated2
|
||||
| ProjectDirectoriesUpdated2
|
||||
| CommandUpdated2
|
||||
| ConfigUpdated2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue