mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Return plugins and hooks in predictable order
This commit is contained in:
parent
43c30ce023
commit
e1770766ce
3 changed files with 23 additions and 24 deletions
|
|
@ -109,24 +109,6 @@ You can also use the ``datasette plugins`` command::
|
|||
If you run ``datasette plugins --all`` it will include default plugins that ship as part of Datasette::
|
||||
|
||||
[
|
||||
{
|
||||
"name": "datasette.publish.heroku",
|
||||
"static": false,
|
||||
"templates": false,
|
||||
"version": null,
|
||||
"hooks": [
|
||||
"publish_subcommand"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.sql_functions",
|
||||
"static": false,
|
||||
"templates": false,
|
||||
"version": null,
|
||||
"hooks": [
|
||||
"prepare_connection"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.actor_auth_cookie",
|
||||
"static": false,
|
||||
|
|
@ -145,15 +127,6 @@ If you run ``datasette plugins --all`` it will include default plugins that ship
|
|||
"register_output_renderer"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.facets",
|
||||
"static": false,
|
||||
"templates": false,
|
||||
"version": null,
|
||||
"hooks": [
|
||||
"register_facet_classes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.default_magic_parameters",
|
||||
"static": false,
|
||||
|
|
@ -163,6 +136,15 @@ If you run ``datasette plugins --all`` it will include default plugins that ship
|
|||
"register_magic_parameters"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.default_menu_links",
|
||||
"static": false,
|
||||
"templates": false,
|
||||
"version": null,
|
||||
"hooks": [
|
||||
"menu_links"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.default_permissions",
|
||||
"static": false,
|
||||
|
|
@ -173,12 +155,12 @@ If you run ``datasette plugins --all`` it will include default plugins that ship
|
|||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.default_menu_links",
|
||||
"name": "datasette.facets",
|
||||
"static": false,
|
||||
"templates": false,
|
||||
"version": null,
|
||||
"hooks": [
|
||||
"menu_links"
|
||||
"register_facet_classes"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -198,6 +180,24 @@ If you run ``datasette plugins --all`` it will include default plugins that ship
|
|||
"hooks": [
|
||||
"publish_subcommand"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.publish.heroku",
|
||||
"static": false,
|
||||
"templates": false,
|
||||
"version": null,
|
||||
"hooks": [
|
||||
"publish_subcommand"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.sql_functions",
|
||||
"static": false,
|
||||
"templates": false,
|
||||
"version": null,
|
||||
"hooks": [
|
||||
"prepare_connection"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue