endpoint_adapters
Endpoint adapter functions for webapp HTTP dispatch.
These adapters bridge route dispatch to route-domain modules while keeping
WebAppHandler focused on transport concerns.
Functions
|
Serve the single-page web UI shell with version injected. |
|
Serve shared Pipe-Works font-face declarations. |
|
Serve shared Pipe-Works base design-system stylesheet. |
|
Serve main webapp stylesheet. |
|
Serve main webapp client-side script bundle. |
|
Serve the API builder preview support script. |
|
Serve the favorites tab support script. |
|
Serve bundled font files from the static directory. |
|
Return a lightweight liveness response. |
|
Return the package version. |
|
Return Help tab Q&A content. |
|
Return favorites list and metadata. |
|
Return known favorites tags. |
|
Return export JSON for favorites. |
|
Persist favorites entries. |
|
Update favorites note or tags. |
|
Delete a favorite. |
|
Write favorites export to a file path. |
|
Import favorites from a file path. |
|
Return package options grouped by generation class. |
|
Return available syllable options for one class/package selection. |
|
Return max item and max unique counts for one selection scope. |
|
Return imported package metadata used by the Database View tab. |
|
Return available imported txt tables for a selected package id. |
|
Return paginated rows from one imported physical txt-backed table. |
|
Reply to browser favicon probes without noisy 404 logs. |
|
Browse a directory for *_metadata.json files. |
|
Read a *_metadata.json file and return its contents. |
|
Import one metadata+zip pair and create tables for included txt data. |
|
Generate names from SQLite tables for one selected class scope. |
|
Create a backup copy of the main SQLite database. |
|
Export the main SQLite database to a file path. |
|
Delete one imported package and its associated tables. |
|
Restore the main SQLite database from a file path. |
Module Contents
- endpoint_adapters.get_root(handler, _query)
Serve the single-page web UI shell with version injected.
- endpoint_adapters.get_static_pipe_works_fonts_css(handler, _query)
Serve shared Pipe-Works font-face declarations.
- endpoint_adapters.get_static_pipe_works_base_css(handler, _query)
Serve shared Pipe-Works base design-system stylesheet.
- endpoint_adapters.get_static_app_css(handler, _query)
Serve main webapp stylesheet.
- endpoint_adapters.get_static_app_js(handler, _query)
Serve main webapp client-side script bundle.
- endpoint_adapters.get_static_api_builder_preview_js(handler, _query)
Serve the API builder preview support script.
- endpoint_adapters.get_static_favorites_js(handler, _query)
Serve the favorites tab support script.
- endpoint_adapters.get_static_font(handler, path)
Serve bundled font files from the static directory.
- endpoint_adapters.get_health(handler, _query)
Return a lightweight liveness response.
- endpoint_adapters.get_version(handler, _query)
Return the package version.
- endpoint_adapters.get_help(handler, _query)
Return Help tab Q&A content.
- endpoint_adapters.get_favorites(handler, query)
Return favorites list and metadata.
- endpoint_adapters.get_favorite_tags(handler, _query)
Return known favorites tags.
- endpoint_adapters.get_favorites_export(handler, _query)
Return export JSON for favorites.
- endpoint_adapters.post_favorites(handler)
Persist favorites entries.
- endpoint_adapters.post_favorites_update(handler)
Update favorites note or tags.
- endpoint_adapters.post_favorites_delete(handler)
Delete a favorite.
- endpoint_adapters.post_favorites_export(handler)
Write favorites export to a file path.
- endpoint_adapters.post_favorites_import(handler)
Import favorites from a file path.
- endpoint_adapters.get_generation_package_options(handler, _query)
Return package options grouped by generation class.
- endpoint_adapters.get_generation_package_syllables(handler, query)
Return available syllable options for one class/package selection.
- endpoint_adapters.get_generation_selection_stats(handler, query)
Return max item and max unique counts for one selection scope.
- endpoint_adapters.get_database_packages(handler, _query)
Return imported package metadata used by the Database View tab.
- endpoint_adapters.get_database_package_tables(handler, query)
Return available imported txt tables for a selected package id.
- endpoint_adapters.get_database_table_rows(handler, query)
Return paginated rows from one imported physical txt-backed table.
- endpoint_adapters.get_favicon(handler, _query)
Reply to browser favicon probes without noisy 404 logs.
- endpoint_adapters.post_import(handler)
Import one metadata+zip pair and create tables for included txt data.
- endpoint_adapters.post_generate(handler)
Generate names from SQLite tables for one selected class scope.
- endpoint_adapters.post_database_backup(handler)
Create a backup copy of the main SQLite database.
- endpoint_adapters.post_database_export(handler)
Export the main SQLite database to a file path.
- endpoint_adapters.post_database_delete_package(handler)
Delete one imported package and its associated tables.
- endpoint_adapters.post_database_import(handler)
Restore the main SQLite database from a file path.