view_actions plugin hook, closes #2297

This commit is contained in:
Simon Willison 2024-03-12 14:25:07 -07:00
commit 909c85cd2b
7 changed files with 85 additions and 21 deletions

View file

@ -145,6 +145,11 @@ def table_actions(datasette, actor, database, table, request):
"""Links for the table actions menu"""
@hookspec
def view_actions(datasette, actor, database, view, request):
"""Links for the view actions menu"""
@hookspec
def query_actions(datasette, actor, database, query_name, request, sql, params):
"""Links for the query and canned query actions menu"""