feat: split row_actions into remove_action and overflow_actions for URL plugins

This commit is contained in:
Aiden McClelland
2026-02-18 18:18:53 -07:00
parent 9c3053f103
commit d562466fc4
9 changed files with 119 additions and 48 deletions

View File

@@ -159,7 +159,8 @@ export type Effects = {
register(options: { tableAction: ActionId }): Promise<null>
exportUrl(options: {
hostnameInfo: PluginHostnameInfo
rowActions: ActionId[]
removeAction: ActionId | null
overflowActions: ActionId[]
}): Promise<null>
clearUrls(options: { except: PluginHostnameInfo[] }): Promise<null>
}

View File

@@ -12,6 +12,7 @@ export type HostnameMetadata =
| {
kind: 'plugin'
packageId: PackageId
rowActions: Array<ActionId>
removeAction: ActionId | null
overflowActions: Array<ActionId>
info: unknown
}

View File

@@ -4,5 +4,6 @@ import type { PluginHostnameInfo } from './PluginHostnameInfo'
export type UrlPluginExportUrlParams = {
hostnameInfo: PluginHostnameInfo
rowActions: Array<ActionId>
removeAction: ActionId | null
overflowActions: Array<ActionId>
}