mix selecto.gen.exported_views (selecto_mix v0.4.2)
Generate ExportedViews persistence for SelectoComponents iframe embeds.
This task creates the schema, context, and migration needed to back SelectoComponents exported views with signed iframe access, cache metadata, and optional IP allowlists.
Generated exports persist the currently active view mode. The generated schema
accepts the current built-in and extension-contributed view modes used by
SelectoComponents, including detail, aggregate, graph, timeseries,
chart, table, and map.
Examples
mix selecto.gen.exported_views MyApp
mix selecto.gen.exported_views MyApp --context-module MyApp.ExportedViewContext
mix selecto.gen.exported_views MyApp --schema-module MyApp.ExportedView
mix selecto.gen.exported_views MyApp --table-name exported_views
mix selecto.gen.exported_views MyApp --dry-runOptions
--context-module- Name for the context module (default: APP.ExportedViewContext)--schema-module- Name for the schema module (default: APP.ExportedView)--table-name- Database table name (default: exported_views)--repo-module- Repository module name (default: APP.Repo)--dry-run- Show what would be generated without creating files