views

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

Index

Constants

View Source
const (
	DataSourceListFilterReady          = "ready"
	DataSourceListFilterActive         = "active"
	DataSourceListFilterAttention      = "attention"
	DataSourceListFilterReadOnly       = "read_only"
	DataSourceListFilterReadWrite      = "read_write"
	DataSourceListFilterFailed         = "failed"
	DataSourceListFilterUntested       = "untested"
	DataSourceListFilterWithQueries    = "with_queries"
	DataSourceListFilterWithoutQueries = "without_queries"
)
View Source
const (
	EventClassGeneric       = "generic"
	EventClassSecurityAudit = "security_audit"
)
View Source
const (
	NotificationFilterStateActive   = "active"
	NotificationFilterStateResolved = "resolved"
)
View Source
const (
	RoleListViewActive   = "active"
	RoleListViewArchived = "archived"
)
View Source
const (
	BuilderDraftPipelineSlug = "draft-pipeline"
)
View Source
const DefinitionContentLimit = 1024 * 1024

Variables

This section is empty.

Functions

func APIKeyActionConfirmModal

func APIKeyActionConfirmModal(modalID string, title string, summary string, details string, keyName string, keySlug string, actionURL string, submitLabel string, submitClass string) templ.Component

func APIKeyCountLabel

func APIKeyCountLabel(count int) string

APIKeyCountLabel formats a compact API-key count for section badges.

func APIKeyDeleteModalID

func APIKeyDeleteModalID(key api.APIKey) string

APIKeyDeleteModalID builds the destructive permanent-delete confirmation modal identifier.

func APIKeyDescriptionValue

func APIKeyDescriptionValue(value *string) string

APIKeyDescriptionValue returns a stable empty-string fallback for optional descriptions in forms.

func APIKeyEditPanelID

func APIKeyEditPanelID(key api.APIKey) string

APIKeyEditPanelID builds the per-row metadata edit panel identifier.

func APIKeyExpired

func APIKeyExpired(key api.APIKey) bool

func APIKeyRevokeModalID

func APIKeyRevokeModalID(key api.APIKey) string

APIKeyRevokeModalID builds the destructive revocation confirmation modal identifier.

func APIKeyRotateModalID

func APIKeyRotateModalID(key api.APIKey) string

APIKeyRotateModalID builds the destructive rotation confirmation modal identifier.

func APIKeyStatusBadgeClass

func APIKeyStatusBadgeClass(key api.APIKey) string

func APIKeyStatusLabel

func APIKeyStatusLabel(key api.APIKey) string

func AccountActionsEnabled

func AccountActionsEnabled(ctx context.Context) bool

func AccountCanManagePassword

func AccountCanManagePassword(user *api.User) bool

AccountCanManagePassword reports whether the password card should render an active form.

func AccountDeletionOutcome

func AccountDeletionOutcome(receipt *api.AccountDeletionRequest, message string) templ.Component

func AccountDeletionOutcomeContent

func AccountDeletionOutcomeContent(receipt *api.AccountDeletionRequest, message string) templ.Component

func AccountDeletionSection

func AccountDeletionSection() templ.Component

func AccountFields

func AccountFields(ctx context.Context) templ.Component

func AccountNotice

func AccountNotice(ctx context.Context) templ.Component

func AccountPATCanDelete

func AccountPATCanDelete(token api.PersonalAccessToken) bool

AccountPATCanDelete reports whether the UI should offer permanent metadata removal.

func AccountPATCanEdit

func AccountPATCanEdit(token api.PersonalAccessToken) bool

AccountPATCanEdit reports whether editable metadata controls should be shown for a token.

func AccountPATCanRevoke

func AccountPATCanRevoke(token api.PersonalAccessToken) bool

AccountPATCanRevoke reports whether the UI should offer revocation for a token that is not already revoked.

func AccountPATCanRotate

func AccountPATCanRotate(token api.PersonalAccessToken) bool

AccountPATCanRotate reports whether the UI should offer rotation for a token the backend can still rotate.

func AccountPATDescriptionValue

func AccountPATDescriptionValue(value *string) string

AccountPATDescriptionValue returns a stable empty-string fallback for optional descriptions in forms.

func AccountPATEditPanelID

func AccountPATEditPanelID(token api.PersonalAccessToken) string

AccountPATEditPanelID builds the per-row metadata edit panel identifier.

func AccountPATEmptyMessage

func AccountPATEmptyMessage(state AccountPageState) string

AccountPATEmptyMessage describes whether the PAT list is globally empty or just the selected page.

func AccountPATExpired

func AccountPATExpired(token api.PersonalAccessToken) bool

AccountPATExpired reports whether the token can no longer authenticate because its expiry is in the past.

func AccountPATManagementSection

func AccountPATManagementSection(state AccountPageState) templ.Component

func AccountPATPaginationInputs

func AccountPATPaginationInputs(state AccountPageState) templ.Component

func AccountPATStatusBadgeClass

func AccountPATStatusBadgeClass(token api.PersonalAccessToken) string

AccountPATStatusBadgeClass returns a DaisyUI badge treatment for a personal access token state.

func AccountPATStatusLabel

func AccountPATStatusLabel(token api.PersonalAccessToken) string

AccountPATStatusLabel returns the operator-facing lifecycle label for a personal access token.

func AccountPage

func AccountPage(shellData AuthenticatedShellData, state AccountPageState) templ.Component

func AccountPageContent

func AccountPageContent(shellData AuthenticatedShellData, state AccountPageState) templ.Component

func AccountPageTabs

func AccountPageTabs(activeTab AccountTab) templ.Component

func AccountPasswordManagementSection

func AccountPasswordManagementSection(state AccountPageState) templ.Component

func AccountTabAriaSelected

func AccountTabAriaSelected(activeTab, tab AccountTab) string

AccountTabAriaSelected returns the WAI-ARIA selected state for an account tab.

func AccountTabClass

func AccountTabClass(activeTab, tab AccountTab) string

AccountTabClass returns the DaisyUI tab class for the selected account section.

func AccountTabHref

func AccountTabHref(tab AccountTab) string

AccountTabHref returns the stable account page URL for a tab.

func AccountTabID

func AccountTabID(tab AccountTab) string

AccountTabID returns the DOM ID used to associate each account tab with its panel.

func AccountTabPanelClass

func AccountTabPanelClass(activeTab, tab AccountTab) string

AccountTabPanelClass hides inactive account tab content while keeping SSR state available.

func AccountTabPanelID

func AccountTabPanelID(tab AccountTab) string

AccountTabPanelID returns the DOM ID for the tabpanel associated with an account tab.

func AlertConnectionListed

func AlertConnectionListed(connections []api.NotificationConnection, selected string) bool

func AlertDeleteConfirmModal

func AlertDeleteConfirmModal(modalID string, title string, name string, resourceSlug string, confirmationField string, actionURL string, notificationReturn string) templ.Component

func AlertDestinationCanTest

func AlertDestinationCanTest(destination api.AlertDestination, connections []api.NotificationConnection) bool

func AlertDestinationConfigFields

func AlertDestinationConfigFields(form AlertDestinationFormData, connections []api.NotificationConnection, feedbackID string) templ.Component

func AlertDestinationConfigValue

func AlertDestinationConfigValue(destination api.AlertDestination, key string) string

AlertDestinationConfigValue returns a non-secret config value for display.

func AlertDestinationCountLabel

func AlertDestinationCountLabel(count int) string

AlertDestinationCountLabel formats destination counts for page badges.

func AlertDestinationDeleteModalID

func AlertDestinationDeleteModalID(destination api.AlertDestination) string

AlertDestinationDeleteModalID returns the DOM id for destination delete modals.

func AlertDestinationDetailsPanelID

func AlertDestinationDetailsPanelID(destination api.AlertDestination) string

AlertDestinationDetailsPanelID returns the DOM id for destination detail panels.

func AlertDestinationEditFields

func AlertDestinationEditFields(form AlertDestinationFormData, connections []api.NotificationConnection, feedbackID string) templ.Component

func AlertDestinationEditPanelID

func AlertDestinationEditPanelID(destination api.AlertDestination) string

AlertDestinationEditPanelID returns the DOM id for destination edit panels.

func AlertDestinationList

func AlertDestinationList(orgSlug string, destinations []api.AlertDestination, connections []api.NotificationConnection, editFormOverrides AlertEditFormOverrides, permissions OrganizationPermissions) templ.Component

func AlertDestinationRecipientLabel

func AlertDestinationRecipientLabel(destination api.AlertDestination) string

AlertDestinationRecipientLabel returns the configured recipient summary.

func AlertDestinationRecipientValues

func AlertDestinationRecipientValues(destination api.AlertDestination) []string

AlertDestinationRecipientValues returns all configured email recipients in edit-friendly order.

func AlertDestinationTargetLabel

func AlertDestinationTargetLabel(destination api.AlertDestination, connections []api.NotificationConnection) string

func AlertDestinationTypeLabel

func AlertDestinationTypeLabel(destinationType api.AlertDestinationType) string

AlertDestinationTypeLabel returns a readable adapter type label.

func AlertDestinationTypeOptions

func AlertDestinationTypeOptions() []alertFormOption

AlertDestinationTypeOptions returns supported alert destination adapters.

func AlertJourneyHref

func AlertJourneyHref(orgSlug string, tab AlertTab, returnTo, selected string) string

AlertJourneyHref carries the original inbox filters through configuration navigation.

func AlertLifecycleOptions

func AlertLifecycleOptions() []alertFormOption

AlertLifecycleOptions returns lifecycle state options available to alert policies.

func AlertNotificationTypeOptions

func AlertNotificationTypeOptions() []alertFormOption

AlertNotificationTypeOptions returns notification type options available to alert policies.

func AlertPageTabs

func AlertPageTabs(orgSlug string, activeTab AlertTab, destinations []api.AlertDestination, policies []api.AlertPolicy, form AlertPolicyFormData) templ.Component

func AlertPolicyCountLabel

func AlertPolicyCountLabel(count int) string

AlertPolicyCountLabel formats policy counts for page badges.

func AlertPolicyCreateSelectorID

func AlertPolicyCreateSelectorID() string

func AlertPolicyDeleteModalID

func AlertPolicyDeleteModalID(policy api.AlertPolicy) string

AlertPolicyDeleteModalID returns the DOM id for policy delete modals.

func AlertPolicyDestinationLabel

func AlertPolicyDestinationLabel(slugs []api.Slug) string

AlertPolicyDestinationLabel formats bound destination slugs.

func AlertPolicyDetailsPanelID

func AlertPolicyDetailsPanelID(policy api.AlertPolicy) string

AlertPolicyDetailsPanelID returns the DOM id for policy detail panels.

func AlertPolicyEditPanelID

func AlertPolicyEditPanelID(policy api.AlertPolicy) string

AlertPolicyEditPanelID returns the DOM id for policy edit panels.

func AlertPolicyEditSelectorID

func AlertPolicyEditSelectorID(policy api.AlertPolicy) string

func AlertPolicyEnvironmentScopeEnabled

func AlertPolicyEnvironmentScopeEnabled(form AlertPolicyFormData) bool

AlertPolicyEnvironmentScopeEnabled reports whether the environment selector should submit.

func AlertPolicyEnvironmentSelectDisabled

func AlertPolicyEnvironmentSelectDisabled(form AlertPolicyFormData) bool

AlertPolicyEnvironmentSelectDisabled reports whether the environment dropdown should submit.

func AlertPolicyForm

func AlertPolicyForm(orgSlug string, buttonLabel string, actionURL string, form AlertPolicyFormData, destinations []api.AlertDestination, includeEnabled bool, disableSubmit bool, dirtyFormID string) templ.Component

func AlertPolicyFormAttrs

func AlertPolicyFormAttrs(dirtyFormID string, disableSubmit bool) templ.Attributes

AlertPolicyFormAttrs returns optional form attributes for dirty-tracked policy edits.

func AlertPolicyFormClass

func AlertPolicyFormClass(includeEnabled bool) string

func AlertPolicyFormFields

func AlertPolicyFormFields(orgSlug string, selectorTargetID string, form AlertPolicyFormData, destinations []api.AlertDestination, includeEnabled bool) templ.Component

func AlertPolicyFormSelectorID

func AlertPolicyFormSelectorID(form AlertPolicyFormData, includeEnabled bool) string

func AlertPolicyHasDestination

func AlertPolicyHasDestination(policyForm AlertPolicyFormData, destinationSlug api.Slug) bool

AlertPolicyHasDestination reports whether a policy is bound to a destination.

func AlertPolicyKindCardClass

func AlertPolicyKindCardClass(form AlertPolicyFormData, value string) string

AlertPolicyKindCardClass returns the card-like radio label class for one policy kind.

func AlertPolicyKindOptions

func AlertPolicyKindOptions() []alertFormOption

AlertPolicyKindOptions returns the primary routing modes exposed by the policy form.

func AlertPolicyLifecycleBadgeClass

func AlertPolicyLifecycleBadgeClass(policy api.AlertPolicy) string

AlertPolicyLifecycleBadgeClass maps optional lifecycle selectors to a compact badge class.

func AlertPolicyLifecycleLabel

func AlertPolicyLifecycleLabel(policy api.AlertPolicy) string

AlertPolicyLifecycleLabel returns the optional lifecycle selector summary.

func AlertPolicyList

func AlertPolicyList(orgSlug string, destinations []api.AlertDestination, policies []api.AlertPolicy, editFormOverrides AlertEditFormOverrides, permissions OrganizationPermissions) templ.Component

func AlertPolicyNotificationTypeLabel

func AlertPolicyNotificationTypeLabel(policy api.AlertPolicy) string

AlertPolicyNotificationTypeLabel returns the optional notification type selector summary.

func AlertPolicyNotificationsHref

func AlertPolicyNotificationsHref(org string, policy api.AlertPolicy) string

func AlertPolicyProjectScopeEnabled

func AlertPolicyProjectScopeEnabled(form AlertPolicyFormData) bool

AlertPolicyProjectScopeEnabled reports whether the project selector should submit.

func AlertPolicyProjectSelectDisabled

func AlertPolicyProjectSelectDisabled(form AlertPolicyFormData) bool

AlertPolicyProjectSelectDisabled reports whether the project dropdown should submit.

func AlertPolicyScopeFieldClass

func AlertPolicyScopeFieldClass(enabled bool) string

AlertPolicyScopeFieldClass hides inactive scope fields while keeping layout predictable.

func AlertPolicyScopeLabel

func AlertPolicyScopeLabel(scope api.AlertPolicyScope) string

AlertPolicyScopeLabel returns a readable policy scope label.

func AlertPolicyScopeOptions

func AlertPolicyScopeOptions() []alertFormOption

AlertPolicyScopeOptions returns supported alert policy scopes.

func AlertPolicyScopeTargetLabel

func AlertPolicyScopeTargetLabel(policy api.AlertPolicy) string

AlertPolicyScopeTargetLabel returns a compact target summary for a policy.

func AlertPolicySelectorFields

func AlertPolicySelectorFields(orgSlug string, selectorTargetID string, form AlertPolicyFormData, dynamicOptions AlertPolicyDynamicOptions) templ.Component

func AlertPolicySelectorFieldsBody

func AlertPolicySelectorFieldsBody(orgSlug string, selectorTargetID string, form AlertPolicyFormData, dynamicOptions AlertPolicyDynamicOptions) templ.Component

func AlertPolicySelectorLoadAttrs

func AlertPolicySelectorLoadAttrs(
	orgSlug string,
	selectorTargetID string,
	form AlertPolicyFormData,
	options AlertPolicyDynamicOptions,
) templ.Attributes

AlertPolicySelectorLoadAttrs returns HTMX attributes for initial dynamic selector loading.

func AlertPolicySelectorOptionsHref

func AlertPolicySelectorOptionsHref(orgSlug string) string

func AlertPolicySeverityBadgeClass

func AlertPolicySeverityBadgeClass(policy api.AlertPolicy) string

AlertPolicySeverityBadgeClass maps optional severity selectors to a compact badge class.

func AlertPolicySeverityLabel

func AlertPolicySeverityLabel(policy api.AlertPolicy) string

AlertPolicySeverityLabel returns the optional severity selector summary.

func AlertPolicyShouldLoadSelectorOptions

func AlertPolicyShouldLoadSelectorOptions(form AlertPolicyFormData, options AlertPolicyDynamicOptions) bool

AlertPolicyShouldLoadSelectorOptions reports whether the SSR form still needs API-backed selector options.

func AlertPolicyShowsNotificationType

func AlertPolicyShowsNotificationType(form AlertPolicyFormData) bool

AlertPolicyShowsNotificationType reports whether the form should submit a notification type selector.

func AlertPolicyShowsSeverity

func AlertPolicyShowsSeverity(form AlertPolicyFormData) bool

AlertPolicyShowsSeverity reports whether the form should submit a severity selector.

func AlertPolicyShowsSourceAction

func AlertPolicyShowsSourceAction(form AlertPolicyFormData) bool

AlertPolicyShowsSourceAction reports whether the form should submit a visible source action selector.

func AlertPolicyShowsSourceRef

func AlertPolicyShowsSourceRef(form AlertPolicyFormData) bool

AlertPolicyShowsSourceRef reports whether the form should render the source ref selector.

func AlertPolicySourceLabel

func AlertPolicySourceLabel(policy api.AlertPolicy) string

AlertPolicySourceLabel returns the optional source selector summary.

func AlertPolicySourceRefEnabled

func AlertPolicySourceRefEnabled(form AlertPolicyFormData) bool

AlertPolicySourceRefEnabled reports whether source_ref should be submitted for the current selector state.

func AlertPolicySourceRefLabel

func AlertPolicySourceRefLabel() string

AlertPolicySourceRefLabel returns the source-ref label for alert policy forms.

func AlertPolicyUsesDirtySubmit

func AlertPolicyUsesDirtySubmit(dirtyFormID string, disableSubmit bool) bool

AlertPolicyUsesDirtySubmit reports whether a policy form should wait for dirty-state changes.

func AlertSetupHref

func AlertSetupHref(org string, tab AlertTab, form AlertPolicyFormData) string

func AlertSeverityOptions

func AlertSeverityOptions() []alertFormOption

AlertSeverityOptions returns severity options available to alert policies.

func AlertSourceActionOptions

func AlertSourceActionOptions(form AlertPolicyFormData, sources []api.AlertPolicySourceMetadata) []alertFormOption

AlertSourceActionOptions returns source actions available for the current source selector.

func AlertSourceKindOptions

func AlertSourceKindOptions(form AlertPolicyFormData, sources []api.AlertPolicySourceMetadata) []alertFormOption

AlertSourceKindOptions returns API-backed source selectors available to alert policies.

func AlertStatusBadgeClass

func AlertStatusBadgeClass(enabled bool) string

AlertStatusBadgeClass maps enabled state to a compact badge class.

func AlertStatusLabel

func AlertStatusLabel(enabled bool) string

AlertStatusLabel maps enabled state to operator display text.

func AlertTabAriaSelected

func AlertTabAriaSelected(activeTab, tab AlertTab) string

AlertTabAriaSelected returns the WAI-ARIA selected state for an alerts tab.

func AlertTabClass

func AlertTabClass(activeTab, tab AlertTab) string

AlertTabClass returns the DaisyUI tab class for the selected alerts section.

func AlertTabHref

func AlertTabHref(orgSlug string, tab AlertTab) string

AlertTabHref returns the organization alerts URL for a route-backed tab.

func AlertTabID

func AlertTabID(tab AlertTab) string

AlertTabID returns the DOM ID used to associate an alerts tab with its panel.

func AlertTabPanelID

func AlertTabPanelID(tab AlertTab) string

AlertTabPanelID returns the DOM ID for the tabpanel associated with an alerts tab.

func AlertTimestampLabel

func AlertTimestampLabel(ts api.Timestamp) string

AlertTimestampLabel formats API timestamps consistently for dense rows.

func AlertsPage

func AlertsPage(
	shellData AuthenticatedShellData,
	orgSlug string,
	activeTab AlertTab,
	destinations []api.AlertDestination,
	policies []api.AlertPolicy,
	connections []api.NotificationConnection,
	destinationFormData AlertDestinationFormData,
	policyFormData AlertPolicyFormData,
	editFormOverrides AlertEditFormOverrides,
	permissions OrganizationPermissions,
	contentErrorSummary string,
	contentErrorDetails string,
	contentSuccessSummary string,
) templ.Component

func AlertsPageContent

func AlertsPageContent(
	orgSlug string,
	activeTab AlertTab,
	destinations []api.AlertDestination,
	policies []api.AlertPolicy,
	connections []api.NotificationConnection,
	destinationFormData AlertDestinationFormData,
	policyFormData AlertPolicyFormData,
	editFormOverrides AlertEditFormOverrides,
	permissions OrganizationPermissions,
	contentErrorSummary string,
	contentErrorDetails string,
	contentSuccessSummary string,
) templ.Component

func AppHead

func AppHead(title string, includeHTMX bool) templ.Component

func AuthBrand

func AuthBrand() templ.Component

func AuthErrorPage

func AuthErrorPage(title string, message string) templ.Component

func AuthErrorPageContent

func AuthErrorPageContent(message string) templ.Component
func AuthLogo() templ.Component

func AuthPage

func AuthPage(title string, includeHTMX bool, content templ.Component) templ.Component

func AuthReturnURL

func AuthReturnURL(path, returnTo string) string

AuthReturnURL appends a safe return target to links between authentication pages.

func AuthenticatedShell

func AuthenticatedShell(data AuthenticatedShellData, content templ.Component) templ.Component

func AvailableCatalogEnvironments

func AvailableCatalogEnvironments(
	catalog []api.Environment,
	environments []api.ProjectEnvironment,
) []api.Environment

func AvailableCatalogEnvironmentsByProtection

func AvailableCatalogEnvironmentsByProtection(
	catalog []api.Environment,
	environments []api.ProjectEnvironment,
	protected bool,
) []api.Environment

AvailableCatalogEnvironmentsByProtection returns available catalog entries filtered by protected-state.

func BraidplaneLogo() templ.Component
func BreadcrumbTrail(items []BreadcrumbItem) templ.Component

func BuilderBlueprintContent

func BuilderBlueprintContent(state BuilderBlueprintState) templ.Component

func BuilderBlueprintPage

func BuilderBlueprintPage(shellData AuthenticatedShellData, state BuilderBlueprintState) templ.Component

func BuilderRunEvidence

func BuilderRunEvidence(data BuilderRunEvidenceData) templ.Component

func CanStartDataSourceProviderOAuth

func CanStartDataSourceProviderOAuth(dataSource api.DataSource, permissions OrganizationPermissions) bool

CanStartDataSourceProviderOAuth applies create permission only to trusted pending grants and update otherwise.

func CustomizeIdentifier

func CustomizeIdentifier(value string) templ.Component

func CustomizeIdentifierWithError

func CustomizeIdentifierWithError(value string, invalid bool, feedbackID string) templ.Component

func DashboardAttentionPanel

func DashboardAttentionPanel(data DashboardData) templ.Component

func DashboardContractChecksPanel

func DashboardContractChecksPanel(dashboardData DashboardData) templ.Component

func DashboardDataSourceDetailHref

func DashboardDataSourceDetailHref(shellData AuthenticatedShellData, dataSourceSlug string) string

DashboardDataSourceDetailHref returns a data-source detail route when organization context exists.

func DashboardDataSourceReadinessPanel

func DashboardDataSourceReadinessPanel(shellData AuthenticatedShellData, dashboardData DashboardData) templ.Component

func DashboardDataSourcesFilterHref

func DashboardDataSourcesFilterHref(shellData AuthenticatedShellData, filter string) string

DashboardDataSourcesFilterHref returns the data-source inventory narrowed to one filter.

func DashboardDataSourcesHref

func DashboardDataSourcesHref(shellData AuthenticatedShellData) string

DashboardDataSourcesHref returns the active organization data source route when context exists.

func DashboardEnvironmentBindingMatrixHref

func DashboardEnvironmentBindingMatrixHref(shellData AuthenticatedShellData) string

DashboardEnvironmentBindingMatrixHref returns the environment route focused on bindings.

func DashboardEnvironmentsHref

func DashboardEnvironmentsHref(shellData AuthenticatedShellData) string

DashboardEnvironmentsHref returns the active project environment route when context exists.

func DashboardFailedRunsHref

func DashboardFailedRunsHref(shellData AuthenticatedShellData) string

DashboardFailedRunsHref returns the active project run route filtered to failed runs.

func DashboardFirstResultTutorialHref

func DashboardFirstResultTutorialHref(shellData AuthenticatedShellData) string

DashboardFirstResultTutorialHref returns the configured outcome-led introduction.

func DashboardHasActiveOrganization

func DashboardHasActiveOrganization(shellData AuthenticatedShellData) bool

DashboardHasActiveOrganization reports whether dashboard organization actions have usable context.

func DashboardHasRecordedAttention

func DashboardHasRecordedAttention(data DashboardData) bool

DashboardHasRecordedAttention prevents unknown or incomplete checks becoming a success claim.

func DashboardHiddenIssueLabel

func DashboardHiddenIssueLabel(count int) string

DashboardHiddenIssueLabel describes overflow issue rows suppressed by a dashboard panel limit.

func DashboardIncidentQueuePanel

func DashboardIncidentQueuePanel(dashboardData DashboardData) templ.Component

func DashboardIssueList

func DashboardIssueList(issues []DashboardInventoryIssue, hiddenIssueCount int) templ.Component

func DashboardMetricAriaLabel

func DashboardMetricAriaLabel(metric DashboardMetric) string

DashboardMetricAriaLabel provides a compact accessible label for linked metric cards.

func DashboardMetricCardClass

func DashboardMetricCardClass(metric DashboardMetric) string

DashboardMetricCardClass returns the interactive or static card treatment for a metric.

func DashboardMetricGrid

func DashboardMetricGrid(metrics []DashboardMetric) templ.Component

func DashboardOnboardingChecklist

func DashboardOnboardingChecklist(dashboardData DashboardData, organizationSlug string) templ.Component

func DashboardOnboardingComplete

func DashboardOnboardingComplete(data DashboardData) bool

DashboardOnboardingComplete requires a successful workflow in the selected runtime target.

func DashboardPage

func DashboardPage(shellData AuthenticatedShellData, dashboardData DashboardData) templ.Component

func DashboardPageContent

func DashboardPageContent(shellData AuthenticatedShellData, dashboardData DashboardData) templ.Component

func DashboardPanelMessage

func DashboardPanelMessage(unavailable bool, message string) templ.Component

func DashboardPipelineDetailHref

func DashboardPipelineDetailHref(shellData AuthenticatedShellData, pipelineSlug string) string

DashboardPipelineDetailHref returns a pipeline detail route preserving active runtime context.

func DashboardPipelineStatusPanel

func DashboardPipelineStatusPanel(dashboardData DashboardData) templ.Component

func DashboardPipelinesFilterHref

func DashboardPipelinesFilterHref(shellData AuthenticatedShellData, key, value string) string

DashboardPipelinesFilterHref returns the pipeline catalog narrowed to one supported filter.

func DashboardPipelinesHref

func DashboardPipelinesHref(shellData AuthenticatedShellData) string

DashboardPipelinesHref returns the active project pipeline route when context exists.

func DashboardProjectScopeSelector

func DashboardProjectScopeSelector(scope DashboardProjectScope) templ.Component

func DashboardProjectSetupHref

func DashboardProjectSetupHref(shellData AuthenticatedShellData) string

DashboardProjectSetupHref keeps the active project selected on the project settings page.

func DashboardProjectsHref

func DashboardProjectsHref(shellData AuthenticatedShellData) string

DashboardProjectsHref returns the active organization project route when context exists.

func DashboardQueriesForDataSourceHref

func DashboardQueriesForDataSourceHref(shellData AuthenticatedShellData, dataSourceSlug string) string

DashboardQueriesForDataSourceHref returns the query library filtered to one data source.

func DashboardQueriesHref

func DashboardQueriesHref(shellData AuthenticatedShellData) string

DashboardQueriesHref returns the active organization query route when context exists.

func DashboardQueryInventoryPanel

func DashboardQueryInventoryPanel(shellData AuthenticatedShellData, dashboardData DashboardData) templ.Component

func DashboardRecentRunsPanel

func DashboardRecentRunsPanel(dashboardData DashboardData) templ.Component

func DashboardRunDetailHref

func DashboardRunDetailHref(shellData AuthenticatedShellData, runSlug string) string

DashboardRunDetailHref returns a run detail route preserving active runtime context.

func DashboardRunListItem

func DashboardRunListItem(run DashboardRunSummary) templ.Component

func DashboardRunSourceSummary

func DashboardRunSourceSummary(source *api.PipelineRunSourceSummary) string

DashboardRunSourceSummary returns safe source copy for a run when source metadata exists.

func DashboardRunStatusBadgeClass

func DashboardRunStatusBadgeClass(status api.PipelineRunMetadataStatus) string

DashboardRunStatusBadgeClass returns the existing run badge treatment for dashboard rows.

func DashboardRunsHref

func DashboardRunsHref(shellData AuthenticatedShellData) string

DashboardRunsHref returns the active project run route when context exists.

func DashboardRunsStatusHref

func DashboardRunsStatusHref(shellData AuthenticatedShellData, status string) string

DashboardRunsStatusHref returns the run list narrowed to one supported status.

func DashboardRuntimeScopeSelector

func DashboardRuntimeScopeSelector(scope DashboardProjectScope) templ.Component

func DashboardScopeHasActiveEnvironment

func DashboardScopeHasActiveEnvironment(scope DashboardProjectScope) bool

DashboardScopeHasActiveEnvironment reports whether the local project scope has a runtime target.

func DashboardScopeHasActiveProject

func DashboardScopeHasActiveProject(scope DashboardProjectScope) bool

DashboardScopeHasActiveProject reports whether project-backed panels have a local project scope.

func DashboardScopeHref

func DashboardScopeHref(projectSlug, environmentSlug string) string

DashboardScopeHref returns the command-center route for one local project/runtime scope.

func DashboardStatusBadgeClass

func DashboardStatusBadgeClass(kind string) string

DashboardStatusBadgeClass maps dashboard status kinds to compact badge classes.

func DataSourceAttentionCount

func DataSourceAttentionCount(dataSources []api.DataSource) int

DataSourceAttentionCount returns the number of inactive, untested, or failing data sources.

func DataSourceBigQueryOAuthHref

func DataSourceBigQueryOAuthHref(orgSlug, activeEnvironmentSlug string) string

func DataSourceBindingCanSubmit

func DataSourceBindingCanSubmit(options []DataSourceBindingOption, dataSourcesUnavailable, canUpdate bool) bool

DataSourceBindingCanSubmit reports whether a selector has a usable target.

func DataSourceBindingCellControl

func DataSourceBindingCellControl(orgSlug string, projectSlug string, pipelineSlug string, activeEnvironmentSlug string, row DataSourceBindingRow, cell DataSourceBindingCell, dataSourcesUnavailable bool, permissions OrganizationPermissions, fullPage bool, embedded bool) templ.Component

func DataSourceBindingCompactList

func DataSourceBindingCompactList(orgSlug string, projectSlug string, pipelineSlug string, activeEnvironmentSlug string, rows []DataSourceBindingRow, dataSourcesUnavailable bool, permissions OrganizationPermissions, fullPage bool, embedded bool) templ.Component

func DataSourceBindingDeleteAction

func DataSourceBindingDeleteAction(orgSlug, projectSlug, pipelineSlug, environmentSlug, refSlug, activeEnvironmentSlug string, fullPage, embedded bool) string

DataSourceBindingDeleteAction builds the correct project or pipeline binding delete URL.

func DataSourceBindingDeleteActionForRow

func DataSourceBindingDeleteActionForRow(orgSlug, projectSlug, pipelineSlug, environmentSlug string, row DataSourceBindingRow, activeEnvironmentSlug string, fullPage, embedded bool) string

DataSourceBindingDeleteActionForRow builds the correct delete URL for one binding row.

func DataSourceBindingFormID

func DataSourceBindingFormID(parts ...string) string

DataSourceBindingFormID builds a stable id for binding forms and protected modals.

func DataSourceBindingHTMXSelect

func DataSourceBindingHTMXSelect(pipelineSlug string, fullPage, embedded bool) string

DataSourceBindingHTMXSelect selects the matching response fragment for binding forms.

func DataSourceBindingHTMXTarget

func DataSourceBindingHTMXTarget(pipelineSlug string, fullPage, embedded bool) string

DataSourceBindingHTMXTarget selects the correct SSR replacement root for binding forms.

func DataSourceBindingMatrix

func DataSourceBindingMatrix(orgSlug string, projectSlug string, pipelineSlug string, activeEnvironmentSlug string, rows []DataSourceBindingRow, dataSourcesUnavailable bool, permissions OrganizationPermissions, fullPage bool, embedded bool) templ.Component

func DataSourceBindingProtectedDeleteModal

func DataSourceBindingProtectedDeleteModal(modalID string, actionURL string, htmxTarget string, htmxSelect string, environmentSlug string, refSlug string) templ.Component

func DataSourceBindingProtectedSubmitModal

func DataSourceBindingProtectedSubmitModal(formID string, modalID string, environmentSlug string, refSlug string, actionLabel string, actionDescription string, submitClass string) templ.Component

func DataSourceBindingRefDisplayName

func DataSourceBindingRefDisplayName(row DataSourceBindingRow) string

DataSourceBindingRefDisplayName returns a ref label only when it adds information beyond the slug and binding target.

func DataSourceBindingRefIdentityName

func DataSourceBindingRefIdentityName(row DataSourceBindingRow) string

DataSourceBindingRefIdentityName returns the primary label for a binding ref identity row.

func DataSourceBindingRefIdentitySlug

func DataSourceBindingRefIdentitySlug(row DataSourceBindingRow) string

DataSourceBindingRefIdentitySlug returns the monospace slug when it would not duplicate the primary label.

func DataSourceBindingRefSummary

func DataSourceBindingRefSummary(row DataSourceBindingRow) templ.Component

func DataSourceBindingScopeSlug

func DataSourceBindingScopeSlug(pipelineSlug string, row DataSourceBindingRow) string

DataSourceBindingScopeSlug returns the pipeline scope used for form identity.

func DataSourceBindingStateBadgeClass

func DataSourceBindingStateBadgeClass(state string) string

DataSourceBindingStateBadgeClass returns the badge class for a binding state.

func DataSourceBindingUpsertAction

func DataSourceBindingUpsertAction(orgSlug, projectSlug, pipelineSlug, environmentSlug, refSlug, activeEnvironmentSlug string, fullPage, embedded bool) string

DataSourceBindingUpsertAction builds the correct project or pipeline binding upsert URL.

func DataSourceBindingUpsertActionForRow

func DataSourceBindingUpsertActionForRow(orgSlug, projectSlug, pipelineSlug, environmentSlug string, row DataSourceBindingRow, activeEnvironmentSlug string, fullPage, embedded bool) string

DataSourceBindingUpsertActionForRow builds the correct upsert URL for one binding row.

func DataSourceCapabilityBadgeClass

func DataSourceCapabilityBadgeClass(ds api.DataSource) string

DataSourceCapabilityBadgeClass maps read/write capability to DaisyUI badge classes.

func DataSourceCapabilityLabel

func DataSourceCapabilityLabel(ds api.DataSource) string

DataSourceCapabilityLabel summarizes whether a data source can participate in sink writes.

func DataSourceCardClass

func DataSourceCardClass(ds api.DataSource, selectedDataSource *api.DataSource) string

DataSourceCardClass returns the clickable inventory card styling for selected and operational states.

func DataSourceCreateHref

func DataSourceCreateHref(orgSlug, activeEnvironmentSlug string) string

DataSourceCreateHref builds the create URL while preserving the active runtime environment.

func DataSourceCreateTestHref

func DataSourceCreateTestHref(orgSlug, activeEnvironmentSlug string) string

DataSourceCreateTestHref builds the create-form test URL while preserving runtime context.

func DataSourceDeleteHref

func DataSourceDeleteHref(orgSlug, activeEnvironmentSlug, dataSourceSlug string) string

DataSourceDeleteHref builds the data-source delete URL while preserving runtime context.

func DataSourceDetailHref

func DataSourceDetailHref(orgSlug, activeEnvironmentSlug, dataSourceSlug string) string

DataSourceDetailHref builds a data-source detail URL while preserving the active environment context.

func DataSourceDetailPage

func DataSourceDetailPage(shellData AuthenticatedShellData, orgSlug string, dataSource *api.DataSource, schemaPanel DataSourceSchemaPanelData, connectionInfo *ConnectionInfo, updateFormData DataSourceUpdateFormData, permissions OrganizationPermissions, operationsPanel DataSourceOperationsPanelData, feedbackMessage string, feedbackKind string) templ.Component

func DataSourceDetailPageContent

func DataSourceDetailPageContent(orgSlug string, activeEnvironmentSlug string, dataSource *api.DataSource, schemaPanel DataSourceSchemaPanelData, connectionInfo *ConnectionInfo, updateFormData DataSourceUpdateFormData, permissions OrganizationPermissions, operationsPanel DataSourceOperationsPanelData, feedbackMessage string, feedbackKind string) templ.Component

func DataSourceDetailPanelContent

func DataSourceDetailPanelContent(orgSlug string, activeEnvironmentSlug string, dataSource *api.DataSource, schemaPanel DataSourceSchemaPanelData, connectionInfo *ConnectionInfo, updateFormData DataSourceUpdateFormData, permissions OrganizationPermissions, operationsPanel DataSourceOperationsPanelData) templ.Component

func DataSourceDetailPanelSlot

func DataSourceDetailPanelSlot(orgSlug string, activeEnvironmentSlug string, dataSource *api.DataSource, schemaPanel DataSourceSchemaPanelData, connectionInfo *ConnectionInfo, updateFormData DataSourceUpdateFormData, permissions OrganizationPermissions, feedbackMessage string, feedbackKind string) templ.Component

func DataSourceExistingProviderOAuthHref

func DataSourceExistingProviderOAuthHref(orgSlug, activeEnvironmentSlug, dataSourceSlug, provider string) string

func DataSourceFallbackIconClass

func DataSourceFallbackIconClass(size string) string

DataSourceFallbackIconClass sizes local protocol and unknown connector glyphs.

func DataSourceHasTestError

func DataSourceHasTestError(ds api.DataSource) bool

DataSourceHasTestError reports stored failure evidence, independently of authorization.

func DataSourceHubSpotOAuthHref

func DataSourceHubSpotOAuthHref(orgSlug, activeEnvironmentSlug string) string

DataSourceHubSpotOAuthHref builds the OAuth-first HubSpot create URL while preserving runtime context.

func DataSourceIcon

func DataSourceIcon(dataSourceType string, size string) templ.Component

func DataSourceIconAssetPath

func DataSourceIconAssetPath(dataSourceType string) string

DataSourceIconAssetPath returns the local transparent mark for a connector type.

func DataSourceIconClass

func DataSourceIconClass(dataSourceType, size string) string

DataSourceIconClass returns stable icon container styling for data-source references.

func DataSourceIconImageClass

func DataSourceIconImageClass(size string) string

DataSourceIconImageClass sizes connector marks inside the fixed icon container.

func DataSourceIconType

func DataSourceIconType(dataSourceType string) string

DataSourceIconType normalizes connector types for icon rendering and test markers.

func DataSourceIdentity

func DataSourceIdentity(dataSourceType string, primaryLabel string, slug string, size string, variant string) templ.Component

func DataSourceIdentityClass

func DataSourceIdentityClass(variant string) string

DataSourceIdentityClass returns the outer layout class for compact data-source identities.

func DataSourceIdentityPrimaryClass

func DataSourceIdentityPrimaryClass(variant string) string

DataSourceIdentityPrimaryClass returns label typography for compact data-source identities.

func DataSourceIdentitySlugClass

func DataSourceIdentitySlugClass(variant string) string

DataSourceIdentitySlugClass returns monospace slug typography for compact data-source identities.

func DataSourceLastTestLabel

func DataSourceLastTestLabel(ds api.DataSource) string

DataSourceLastTestLabel formats the last connection test timestamp for compact cards.

func DataSourceListFilterLabel

func DataSourceListFilterLabel(filter string) string

DataSourceListFilterLabel returns concise copy for the active filter.

func DataSourceListFilterNeedsQueryInventory

func DataSourceListFilterNeedsQueryInventory(filter string) bool

DataSourceListFilterNeedsQueryInventory reports whether filtering requires query lookups.

func DataSourceMatchesListFilter

func DataSourceMatchesListFilter(ds api.DataSource, filter string) bool

DataSourceMatchesListFilter reports whether a source belongs in an operational filter.

func DataSourceMetricCardClass

func DataSourceMetricCardClass(kind string) string

DataSourceMetricCardClass maps summary metrics to stronger but theme-compatible panels.

func DataSourcePanelFeedbackClass

func DataSourcePanelFeedbackClass(kind string) string

DataSourcePanelFeedbackClass maps side-panel action feedback to visible dark-theme alerts.

func DataSourcePanelHTMXSelect

func DataSourcePanelHTMXSelect(embedded bool) string

DataSourcePanelHTMXSelect returns the response fragment selector for side-panel forms.

func DataSourcePanelHTMXSwap

func DataSourcePanelHTMXSwap() string

DataSourcePanelHTMXSwap returns a scroll-preserving replacement mode for panel actions.

func DataSourcePanelHTMXTarget

func DataSourcePanelHTMXTarget(embedded bool) string

DataSourcePanelHTMXTarget returns the swap target for embedded side-panel forms.

func DataSourceProviderOAuthActionLabel

func DataSourceProviderOAuthActionLabel(dataSource api.DataSource) string

DataSourceProviderOAuthActionLabel describes the recovery or credential migration action.

func DataSourceProviderOAuthIntent

func DataSourceProviderOAuthIntent(dataSource api.DataSource) api.ProviderInstallIntent

DataSourceProviderOAuthIntent selects grant creation or rotation from safe credential metadata.

func DataSourceProviderRepositoryHref

func DataSourceProviderRepositoryHref(orgSlug, activeEnvironmentSlug, dataSourceSlug string) string

func DataSourcePurposeLabel

func DataSourcePurposeLabel(ds api.DataSource) string

DataSourcePurposeLabel describes declared access; the API has no purpose/description field.

func DataSourceQueriesHref

func DataSourceQueriesHref(orgSlug, activeEnvironmentSlug, dataSourceSlug string) string

DataSourceQueriesHref builds the query library URL for a source and preserves runtime context.

func DataSourceReadWriteCount

func DataSourceReadWriteCount(dataSources []api.DataSource) int

DataSourceReadWriteCount returns the number of active data sources that can be used as sinks.

func DataSourceReadinessProblems

func DataSourceReadinessProblems(detailHref string, dataSource *api.DataSource, schemaPanel DataSourceSchemaPanelData, form DataSourceUpdateFormData) templ.Component

Recovery links navigate to full-page controls; summaries never mutate a source.

func DataSourceReadyCount

func DataSourceReadyCount(dataSources []api.DataSource) int

DataSourceReadyCount returns the number of active tested data sources without a stored test failure.

func DataSourceRefreshHref

func DataSourceRefreshHref(orgSlug, activeEnvironmentSlug, dataSourceSlug string) string

DataSourceRefreshHref builds the schema refresh URL while preserving runtime context.

func DataSourceSchemaEmptyMessage

func DataSourceSchemaEmptyMessage(status api.DataSourceSchemaStatus) string

DataSourceSchemaEmptyMessage returns the empty-state copy for the schema browser.

func DataSourceSchemaRefreshLabel

func DataSourceSchemaRefreshLabel(status api.DataSourceSchemaStatus) string

DataSourceSchemaRefreshLabel returns the action label for the current schema state.

func DataSourceSchemaStatusBadgeClass

func DataSourceSchemaStatusBadgeClass(status api.DataSourceSchemaStatus) string

DataSourceSchemaStatusBadgeClass maps schema import state to DaisyUI badge classes.

func DataSourceSchemaStatusLabel

func DataSourceSchemaStatusLabel(status api.DataSourceSchemaStatus) string

DataSourceSchemaStatusLabel returns compact status copy for the schema browser badge.

func DataSourceSelectionSlug

func DataSourceSelectionSlug(dataSource *api.DataSource) string

DataSourceSelectionSlug returns the slug to select when navigating back from a detail panel.

func DataSourceStatusBadgeClass

func DataSourceStatusBadgeClass(ds api.DataSource) string

DataSourceStatusBadgeClass maps data-source state to DaisyUI badge classes.

func DataSourceStatusLabel

func DataSourceStatusLabel(ds api.DataSource) string

DataSourceStatusLabel describes the current connection state for operator cards.

func DataSourceSupportsQueryEditor

func DataSourceSupportsQueryEditor(dsType api.DataSourceType) bool

DataSourceSupportsQueryEditor keeps first-result links aligned with supported editor types.

func DataSourceTestHref

func DataSourceTestHref(orgSlug, activeEnvironmentSlug, dataSourceSlug string) string

DataSourceTestHref builds the stored-source test URL while preserving runtime context.

func DataSourceTypeIsGitLike

func DataSourceTypeIsGitLike(dataSourceType string) bool

DataSourceTypeIsGitLike reports whether a type uses git repository settings and credentials.

func DataSourceUpdateCredentialHref

func DataSourceUpdateCredentialHref(orgSlug, activeEnvironmentSlug, dataSourceSlug string) string

DataSourceUpdateCredentialHref builds the credential rotation URL while preserving runtime context.

func DataSourceUpdateHref

func DataSourceUpdateHref(orgSlug, activeEnvironmentSlug, dataSourceSlug string) string

DataSourceUpdateHref builds the config update URL while preserving runtime context.

func DataSourcesListCursorFilteredHref

func DataSourcesListCursorFilteredHref(orgSlug, activeEnvironmentSlug, cursor, filter string) string

DataSourcesListCursorFilteredHref builds a paginated data-source list URL with an inventory filter.

func DataSourcesListCursorHref

func DataSourcesListCursorHref(orgSlug, activeEnvironmentSlug, cursor string) string

DataSourcesListCursorHref builds a paginated data-source list URL while preserving runtime context.

func DataSourcesListFilteredHref

func DataSourcesListFilteredHref(orgSlug, activeEnvironmentSlug, selectedDataSourceSlug, filter string) string

DataSourcesListFilteredHref builds a data-source list URL with an inventory filter.

func DataSourcesListHref

func DataSourcesListHref(orgSlug, activeEnvironmentSlug, selectedDataSourceSlug string) string

DataSourcesListHref builds a data-source list URL while preserving optional environment and selection state.

func DataSourcesPage

func DataSourcesPage(shellData AuthenticatedShellData, dataSources []api.DataSource, summaryDataSources []api.DataSource, hasMore bool, nextCursor string, prevCursor string, orgSlug string, activeFilter string, selectedDataSource *api.DataSource, schemaPanel DataSourceSchemaPanelData, connectionInfo *ConnectionInfo, updateFormData DataSourceUpdateFormData, formData DataSourceCreateFormData, permissions OrganizationPermissions, selectedFeedbackMessage string, selectedFeedbackKind string, pageFeedback DataSourcePageFeedback) templ.Component

func DataSourcesPageContent

func DataSourcesPageContent(dataSources []api.DataSource, summaryDataSources []api.DataSource, hasMore bool, nextCursor string, prevCursor string, orgSlug string, activeEnvironmentSlug string, activeFilter string, selectedDataSource *api.DataSource, schemaPanel DataSourceSchemaPanelData, connectionInfo *ConnectionInfo, updateFormData DataSourceUpdateFormData, formData DataSourceCreateFormData, permissions OrganizationPermissions, selectedFeedbackMessage string, selectedFeedbackKind string, pageFeedback DataSourcePageFeedback) templ.Component

func DefinitionHref

func DefinitionHref(rawURL, step, input, port, view string) string

Keep navigation to identifiers and presentation state; never carry arbitrary query values.

func DefinitionInspector

func DefinitionInspector(org, project string) templ.Component

func DefinitionReturnHref

func DefinitionReturnHref(raw, org, project string) string

Return only to this project's definition, proposal or run; strip non-inspection query values.

func DefinitionStep

func DefinitionStep(org, project string, step PipelineSpecStepProjection) templ.Component

func DestructiveConfirmation

func DestructiveConfirmation(verb, entity, nameOrSlug, impact string) string

DestructiveConfirmation formats the standard confirmation copy for simple destructive actions.

func DestructiveResourceLabel

func DestructiveResourceLabel(name, slug string) string

DestructiveResourceLabel returns a compact identifier for confirmation copy.

func DocumentationPageURL

func DocumentationPageURL(base, page string) string

DocumentationPageURL keeps contextual guides on the configured documentation site.

func EmailVerificationPage

func EmailVerificationPage(title string, email string, notice string, returnTo string) templ.Component

func EmailVerificationPageContent

func EmailVerificationPageContent(email string, notice string, returnTo string) templ.Component

func EmailVerificationResultPage

func EmailVerificationResultPage(title string, verified bool, message string, details string) templ.Component

func EmailVerificationResultPageContent

func EmailVerificationResultPageContent(verified bool, message string, details string) templ.Component

func EntityAttentionBadge

func EntityAttentionBadge(reason string) templ.Component

The caller supplies the reason; color alone must never carry the warning.

func EntityDetailHeader

func EntityDetailHeader(name string, slug string) templ.Component

func EntityFact

func EntityFact(label string) templ.Component

func EntityFacts

func EntityFacts() templ.Component

func EntityListItem

func EntityListItem(stateClass string, selected bool, openerID string, label string, href string, target string, focusID string, loadingID string) templ.Component

func EntityListLayout

func EntityListLayout(loadingID string, preview templ.Component) templ.Component

func EntityLoading

func EntityLoading(id string) templ.Component

Keep loading announcements separate from the content being replaced.

func EntityQuickLook

func EntityQuickLook(id string, name string, slug string, fullHref string, closeHref string, target string, openerID string) templ.Component
func EntitySectionLink(href string, label string, current bool) templ.Component

func EntitySectionNavigation

func EntitySectionNavigation(label string) templ.Component

func EntityState

func EntityState(title string, description string) templ.Component

func EnvironmentBindingCell

func EnvironmentBindingCell(cell EnvironmentBindingMatrixCell) templ.Component

func EnvironmentCatalogCardClass

func EnvironmentCatalogCardClass(selected bool) string

EnvironmentCatalogCardClass uses the shared inventory selection treatment; stored target colors stay on identity badges rather than implying health.

func EnvironmentColorBadgeClass

func EnvironmentColorBadgeClass(environmentColor string) string

EnvironmentColorBadgeClass maps a stored environment color to a compact badge treatment.

func EnvironmentColorFromForm

func EnvironmentColorFromForm(raw string) (api.EnvironmentColor, bool)

EnvironmentColorFromForm parses a submitted palette value without accepting free-form colors.

func EnvironmentDescriptionValue

func EnvironmentDescriptionValue(description *api.EnvironmentDescription) string

func EnvironmentRiskLabel

func EnvironmentRiskLabel(environmentSlug string, protected bool) string

EnvironmentRiskLabel describes the operator posture for a runtime environment.

func EnvironmentRiskSummary

func EnvironmentRiskSummary(environmentSlug string, protected bool) string

EnvironmentRiskSummary gives compact guidance for catalog and project environment cards.

func EnvironmentSecretDescriptionValue

func EnvironmentSecretDescriptionValue(description *string) string

EnvironmentSecretDescriptionValue returns an empty fallback for optional secret descriptions.

func EnvironmentSelectionHref

func EnvironmentSelectionHref(orgSlug, environmentSlug string) string

EnvironmentSelectionHref builds an organization catalog selection URL.

func ErrorPopup

func ErrorPopup(id string, summary string, details string) templ.Component

func EventsPage

func EventsPage(
	shellData AuthenticatedShellData,
	orgSlug string,
	events []api.EventRecord,
	hasMore bool,
	nextCursor string,
	prevCursor string,
	filters EventFilters,
	retentionDays int,
) templ.Component

func EventsPageContent

func EventsPageContent(
	orgSlug string,
	events []api.EventRecord,
	hasMore bool,
	nextCursor string,
	prevCursor string,
	filters EventFilters,
	retentionDays int,
) templ.Component

func FilterPipelineScheduleTriggers

func FilterPipelineScheduleTriggers(triggers []api.PipelineTrigger, filters PipelineScheduleFilters) []api.PipelineTrigger

FilterPipelineScheduleTriggers applies SSR-only schedule filters to trigger definitions.

func ForgotPasswordPage

func ForgotPasswordPage(title string, email string, pageError string, pageErrorDetails string, successMessage string) templ.Component

func ForgotPasswordPageContent

func ForgotPasswordPageContent(email string, pageError string, pageErrorDetails string, successMessage string) templ.Component

func FormError

func FormError(id string, message string, focusSummary bool) templ.Component

func FormFieldError

func FormFieldError(invalid bool, feedbackID string) templ.Attributes

FormFieldError associates a server validation error with its control.

func FormRequestError

func FormRequestError() templ.Component

func FormatAPIKeyDateTimeLocal

func FormatAPIKeyDateTimeLocal(value *api.NullableTimestamp) string

func FormatAccountPATDateTimeLocal

func FormatAccountPATDateTimeLocal(value *api.NullableTimestamp) string

FormatAccountPATDateTimeLocal converts nullable API timestamps into browser datetime-local values.

func FormatOptionalAPIKeyTime

func FormatOptionalAPIKeyTime(value *api.NullableTimestamp) string

func FormatOptionalAccountPATTime

func FormatOptionalAccountPATTime(value *api.NullableTimestamp) string

FormatOptionalAccountPATTime formats nullable token timestamps for dense account tables.

func HTTPAuthenticationFields

func HTTPAuthenticationFields(f HTTPAuthFormData, draftIDPrefix string) templ.Component

func HasAccountNotice

func HasAccountNotice(ctx context.Context) bool

func HoverHintText

func HoverHintText(text string, hint string, textClass string) templ.Component

func LoginPage

func LoginPage(title string, email string, pageError string, pageErrorDetails string, returnTo string, selfServiceRegistrationEnabled bool, invalidField string) templ.Component

func LoginPageContent

func LoginPageContent(email string, pageError string, pageErrorDetails string, returnTo string, selfServiceRegistrationEnabled bool, invalidField string) templ.Component

func MFAPage

func MFAPage(title string, challengeToken string, returnTo string, pageError string, pageErrorDetails string) templ.Component

func MFAPageContent

func MFAPageContent(challengeToken string, returnTo string, pageError string, pageErrorDetails string) templ.Component

func ManagedProjectRepositoryForm

func ManagedProjectRepositoryForm(organization api.Organization, project api.Project, controls ProjectPipelineBackendControls, permissions OrganizationPermissions, fullPage bool) templ.Component

func MemberCountLabel

func MemberCountLabel(count int) string

MemberCountLabel formats compact table counters for member surfaces.

func MemberInvitationActionContent

func MemberInvitationActionContent(state MemberInvitationActionState) templ.Component

func MemberInvitationActionPage

func MemberInvitationActionPage(shellData AuthenticatedShellData, state MemberInvitationActionState) templ.Component

func MemberInvitationActionURL

func MemberInvitationActionURL(action, token string) string

MemberInvitationActionURL keeps the token in redirectable URLs for invitation forms.

func MemberInvitationStatusBadgeClass

func MemberInvitationStatusBadgeClass(status api.MemberInvitationStatus) string

MemberInvitationStatusBadgeClass maps invitation lifecycle state to DaisyUI badge classes.

func MemberInviteSection

func MemberInviteSection(orgSlug string, inviteFormData MemberInviteFormData, summary string, details string) templ.Component

func MemberRoleCell

func MemberRoleCell(member api.Member) templ.Component

func MembersPage

func MembersPage(
	shellData AuthenticatedShellData,
	members []api.Member,
	invitations []api.MemberInvitation,
	hasMore bool,
	nextCursor string,
	prevCursor string,
	invitationHasMore bool,
	invitationNextCursor string,
	invitationPrevCursor string,
	orgSlug string,
	inviteFormData MemberInviteFormData,
	memberFormData MemberRoleFormData,
	permissions OrganizationPermissions,
	memberInvitationsEnabled bool,
) templ.Component

func MembersPageContent

func MembersPageContent(
	members []api.Member,
	invitations []api.MemberInvitation,
	hasMore bool,
	nextCursor string,
	prevCursor string,
	invitationHasMore bool,
	invitationNextCursor string,
	invitationPrevCursor string,
	orgSlug string,
	inviteFormData MemberInviteFormData,
	memberFormData MemberRoleFormData,
	inviteSuccessMessage string,
	inviteErrorSummary string,
	inviteErrorDetails string,
	permissions OrganizationPermissions,
	memberInvitationsEnabled bool,
) templ.Component

func MissingBindingCount

func MissingBindingCount(
	refs []api.DataSourceRef,
	environments []api.ProjectEnvironment,
	bindings map[string][]api.DataSourceBinding,
) int

MissingBindingCount counts logical reference/environment cells without a binding.

func NormalizeDataSourceListFilter

func NormalizeDataSourceListFilter(filter string) string

NormalizeDataSourceListFilter returns a supported data-source list filter key.

func NormalizeDataSourceSchemaStatus

func NormalizeDataSourceSchemaStatus(status api.DataSourceSchemaStatus) api.DataSourceSchemaStatus

NormalizeDataSourceSchemaStatus maps missing or unknown API status to not_imported.

func NormalizeRoleListView

func NormalizeRoleListView(raw string) string

NormalizeRoleListView maps unknown role list view values back to active roles.

func NotificationConnectionDescription

func NotificationConnectionDescription(connection api.NotificationConnection) string

func NotificationConnectionsContent

func NotificationConnectionsContent(org string, connections []api.NotificationConnection, permissions OrganizationPermissions, message string, failed bool, form NotificationConnectionFormData) templ.Component

func NotificationConnectionsPage

func NotificationConnectionsPage(shell AuthenticatedShellData, org string, connections []api.NotificationConnection, permissions OrganizationPermissions, message string, failed bool, form NotificationConnectionFormData) templ.Component

func NotificationReturnHref

func NotificationReturnHref(org string, notification api.NotificationRecord, filters NotificationFilters) string

func NotificationTypeAvailable

func NotificationTypeAvailable(value string) bool

func NotificationsListHref

func NotificationsListHref(orgSlug, cursor, direction string, filters NotificationFilters) string

NotificationsListHref builds the route-backed notifications URL for handlers and templates.

func NotificationsPage

func NotificationsPage(
	shellData AuthenticatedShellData,
	orgSlug string,
	notifications []api.NotificationRecord,
	deliveryAttemptsByNotification map[string][]api.AlertDeliveryAttempt,
	hasMore bool,
	nextCursor string,
	prevCursor string,
	filters NotificationFilters,
	permissions OrganizationPermissions,
	workspaceError string,
	diagnosticsError string,
) templ.Component

func NotificationsPageContent

func NotificationsPageContent(
	orgSlug string,
	notifications []api.NotificationRecord,
	deliveryAttemptsByNotification map[string][]api.AlertDeliveryAttempt,
	hasMore bool,
	nextCursor string,
	prevCursor string,
	filters NotificationFilters,
	permissions OrganizationPermissions,
	workspaceError string,
	diagnosticsError string,
) templ.Component

func ODCSCatalogHref

func ODCSCatalogHref(org, project, contract, revision string, selector bool, cursor string) string
func ODCSCatalogLink(data ODCSCatalogView, contract, revision, cursor, label string) templ.Component

func ODCSCatalogPage

func ODCSCatalogPage(shell AuthenticatedShellData, data ODCSCatalogView) templ.Component

func ODCSCatalogPanel

func ODCSCatalogPanel(data ODCSCatalogView) templ.Component

func ODCSCatalogSectionHref

func ODCSCatalogSectionHref(data ODCSCatalogView, section string) string

func ODCSCoverageHref

func ODCSCoverageHref(data ODCSCatalogView, page int) string

func ODCSFieldValidations

func ODCSFieldValidations(field payload.ContractField) string

func ODCSImpactComparison

func ODCSImpactComparison(data ODCSCatalogView) templ.Component
func ODCSRevisionSectionLink(data ODCSCatalogView, section, label string) templ.Component

func OpenAPIOperationDraftHref

func OpenAPIOperationDraftHref(orgSlug, sourceSlug, operationID string) string

OpenAPIOperationDraftHref selects cached metadata without putting provider values in the URL.

func OpenAPIOperationMetadata

func OpenAPIOperationMetadata(operation api.OperationInfo) string

func OptionalAPISlug

func OptionalAPISlug(value *api.Slug) string

OptionalAPISlug returns a readable placeholder when an API slug pointer is absent.

func OrganizationDeletionError

func OrganizationDeletionError(orgSlug string, message string) templ.Component

func OrganizationDeletionErrorContent

func OrganizationDeletionErrorContent(orgSlug string, message string) templ.Component

func OrganizationDeletionSection

func OrganizationDeletionSection(orgSlug string) templ.Component

func OrganizationDetailPage

func OrganizationDetailPage(shellData AuthenticatedShellData, organization api.Organization, activeOrganizationSlug string, canDelete bool) templ.Component

func OrganizationDetailPageContent

func OrganizationDetailPageContent(organization api.Organization, activeOrganizationSlug string, activeProjectSlug string, canDelete bool) templ.Component

func OrganizationDetailTabs

func OrganizationDetailTabs(orgSlug string, activeTab string) templ.Component

func OrganizationDetailUnavailablePage

func OrganizationDetailUnavailablePage(shellData AuthenticatedShellData, organizationSlug string, message string) templ.Component

func OrganizationDetailUnavailablePageContent

func OrganizationDetailUnavailablePageContent(organizationSlug string, message string) templ.Component

func OrganizationEnvironmentCreateCard

func OrganizationEnvironmentCreateCard(orgSlug string, formData EnvironmentCreateFormData) templ.Component

func OrganizationEnvironmentDeleteModal

func OrganizationEnvironmentDeleteModal(orgSlug string, environment api.Environment, fullPage bool) templ.Component

func OrganizationEnvironmentDetailContent

func OrganizationEnvironmentDetailContent(orgSlug string, environment api.Environment, runtimeVariables []api.RuntimeVariable, runtimeVariablesUnavailable bool, environmentSecrets []api.EnvironmentSecret, environmentSecretsUnavailable bool, formData EnvironmentCreateFormData, permissions OrganizationPermissions, showFullPageLink bool, fullPage bool) templ.Component

func OrganizationEnvironmentDetailHref

func OrganizationEnvironmentDetailHref(orgSlug, environmentSlug string) string

OrganizationEnvironmentDetailHref builds the full-page environment detail URL.

func OrganizationEnvironmentDetailPage

func OrganizationEnvironmentDetailPage(shellData AuthenticatedShellData, orgSlug string, environment api.Environment, runtimeVariables []api.RuntimeVariable, runtimeVariablesUnavailable bool, environmentSecrets []api.EnvironmentSecret, environmentSecretsUnavailable bool, formData EnvironmentCreateFormData, permissions OrganizationPermissions) templ.Component

func OrganizationEnvironmentDetailPageContent

func OrganizationEnvironmentDetailPageContent(orgSlug string, environment api.Environment, runtimeVariables []api.RuntimeVariable, runtimeVariablesUnavailable bool, environmentSecrets []api.EnvironmentSecret, environmentSecretsUnavailable bool, formData EnvironmentCreateFormData, permissions OrganizationPermissions) templ.Component

func OrganizationEnvironmentDetailPanel

func OrganizationEnvironmentDetailPanel(orgSlug string, environments []api.Environment, selectedEnvironmentSlug string, runtimeVariables []api.RuntimeVariable, runtimeVariablesUnavailable bool, environmentSecrets []api.EnvironmentSecret, environmentSecretsUnavailable bool, formData EnvironmentCreateFormData, permissions OrganizationPermissions) templ.Component

func OrganizationEnvironmentHTMXSelect

func OrganizationEnvironmentHTMXSelect(fullPage bool) string

OrganizationEnvironmentHTMXSelect selects the partial root for embedded and full-page environment form responses.

func OrganizationEnvironmentHTMXTarget

func OrganizationEnvironmentHTMXTarget(fullPage bool) string

OrganizationEnvironmentHTMXTarget selects the partial root for embedded and full-page environment forms.

func OrganizationEnvironmentSecretsPanel

func OrganizationEnvironmentSecretsPanel(orgSlug string, environment api.Environment, environmentSecrets []api.EnvironmentSecret, environmentSecretsUnavailable bool, permissions OrganizationPermissions, fullPage bool) templ.Component

func OrganizationEnvironmentSection

func OrganizationEnvironmentSection(section string) string

OrganizationEnvironmentSection defaults unknown sections to target settings.

func OrganizationEnvironmentsPage

func OrganizationEnvironmentsPage(shellData AuthenticatedShellData, orgSlug string, environments []api.Environment, selectedEnvironmentSlug string, runtimeVariables []api.RuntimeVariable, runtimeVariablesUnavailable bool, environmentSecrets []api.EnvironmentSecret, environmentSecretsUnavailable bool, formData EnvironmentCreateFormData, permissions OrganizationPermissions) templ.Component

func OrganizationEnvironmentsPageContent

func OrganizationEnvironmentsPageContent(orgSlug string, environments []api.Environment, selectedEnvironmentSlug string, runtimeVariables []api.RuntimeVariable, runtimeVariablesUnavailable bool, environmentSecrets []api.EnvironmentSecret, environmentSecretsUnavailable bool, formData EnvironmentCreateFormData, permissions OrganizationPermissions) templ.Component

func OrganizationGitHubPage

func OrganizationGitHubPage(shellData AuthenticatedShellData, organization api.Organization, connection *api.GitHubAppConnection, feedback string, feedbackError bool) templ.Component

func OrganizationGitHubPageContent

func OrganizationGitHubPageContent(organization api.Organization, connection *api.GitHubAppConnection, feedback string, feedbackError bool) templ.Component

func OrganizationMembersPageContent

func OrganizationMembersPageContent(orgSlug string, content templ.Component) templ.Component

func OrganizationNewPage

func OrganizationNewPage(shellData AuthenticatedShellData, formData OrganizationCreateFormData) templ.Component

func OrganizationNewPageContent

func OrganizationNewPageContent(formData OrganizationCreateFormData) templ.Component

func OrganizationProjectDetailPanel

func OrganizationProjectDetailPanel(organization api.Organization, project api.Project, backendControls ProjectPipelineBackendControls, projectContext ProjectOperationalContext, permissions OrganizationPermissions) templ.Component

func OrganizationProjectDetailPanelSlot

func OrganizationProjectDetailPanelSlot(organization api.Organization, projects []api.Project, selectedProjectSlug string, backendControls ProjectPipelineBackendControls, projectContext ProjectOperationalContext, permissions OrganizationPermissions) templ.Component

func OrganizationProjectEnvironmentsSummary

func OrganizationProjectEnvironmentsSummary(organization api.Organization, project api.Project, projectContext ProjectOperationalContext, permissions OrganizationPermissions, fullPage bool) templ.Component

func OrganizationProjectFullPage

func OrganizationProjectFullPage(shellData AuthenticatedShellData, organization api.Organization, project api.Project, backendControls ProjectPipelineBackendControls, projectContext ProjectOperationalContext, permissions OrganizationPermissions, contentErrorSummary string, contentErrorDetails string, contentSuccessSummary string) templ.Component

func OrganizationProjectFullPageContent

func OrganizationProjectFullPageContent(organization api.Organization, project api.Project, backendControls ProjectPipelineBackendControls, projectContext ProjectOperationalContext, permissions OrganizationPermissions, contentErrorSummary string, contentErrorDetails string, contentSuccessSummary string) templ.Component

func OrganizationProjectPipelinesSummary

func OrganizationProjectPipelinesSummary(organization api.Organization, project api.Project, projectContext ProjectOperationalContext) templ.Component

func OrganizationProjectsPage

func OrganizationProjectsPage(shellData AuthenticatedShellData, organization api.Organization, projects []api.Project, selectedProjectSlug string, backendControls ProjectPipelineBackendControls, projectContext ProjectOperationalContext, permissions OrganizationPermissions, createFormData ProjectCreateFormData, contentErrorSummary string, contentErrorDetails string, contentSuccessSummary string) templ.Component

func OrganizationProjectsPageContent

func OrganizationProjectsPageContent(organization api.Organization, projects []api.Project, selectedProjectSlug string, backendControls ProjectPipelineBackendControls, projectContext ProjectOperationalContext, permissions OrganizationPermissions, createFormData ProjectCreateFormData, contentErrorSummary string, contentErrorDetails string, contentSuccessSummary string) templ.Component

func OrganizationProtectedEnvironmentSaveModal

func OrganizationProtectedEnvironmentSaveModal(formID string, environmentSlug string, environmentName string) templ.Component

func OrganizationRetentionOutcomeValue

func OrganizationRetentionOutcomeValue(label string, value int64) templ.Component

func OrganizationRetentionPage

func OrganizationRetentionPage(
	shellData AuthenticatedShellData,
	organization api.Organization,
	policy *api.OrganizationRetentionPolicy,
	history *api.OrganizationRetentionRunList,
	policyError string,
	historyError string,
	policySaved bool,
	canEdit bool,
) templ.Component

func OrganizationRetentionPageContent

func OrganizationRetentionPageContent(
	organization api.Organization,
	policy *api.OrganizationRetentionPolicy,
	history *api.OrganizationRetentionRunList,
	policyError string,
	historyError string,
	policySaved bool,
	canEdit bool,
) templ.Component

func OrganizationRetentionPolicySnapshotValue

func OrganizationRetentionPolicySnapshotValue(label string, days int) templ.Component

func OrganizationRetentionPolicyValue

func OrganizationRetentionPolicyValue(label string, days int) templ.Component

func OrganizationRetentionRun

func OrganizationRetentionRun(run api.OrganizationRetentionRun) templ.Component

func OrganizationRolesPage

func OrganizationRolesPage(shellData AuthenticatedShellData, organization api.Organization, roles []api.OrgRole, createFormData RoleFormData, roleListView string, permissions OrganizationPermissions, contentErrorSummary string, contentErrorDetails string, contentSuccessSummary string) templ.Component

func OrganizationRolesPageContent

func OrganizationRolesPageContent(organization api.Organization, roles []api.OrgRole, createFormData RoleFormData, roleListView string, permissions OrganizationPermissions, contentErrorSummary string, contentErrorDetails string, contentSuccessSummary string) templ.Component

func OrganizationRuntimeProtectedSecretDeleteButton

func OrganizationRuntimeProtectedSecretDeleteButton(orgSlug string, environment api.Environment, secret api.EnvironmentSecret, fullPage bool) templ.Component

func OrganizationRuntimeProtectedSecretSaveModal

func OrganizationRuntimeProtectedSecretSaveModal(formID string, modalID string, environment api.Environment, actionLabel string, actionDescription string) templ.Component

func OrganizationRuntimeProtectedVariableDeleteButton

func OrganizationRuntimeProtectedVariableDeleteButton(orgSlug string, environment api.Environment, variable api.RuntimeVariable, fullPage bool) templ.Component

func OrganizationRuntimeProtectedVariableSaveModal

func OrganizationRuntimeProtectedVariableSaveModal(formID string, modalID string, environment api.Environment, actionLabel string, actionDescription string) templ.Component

func OrganizationRuntimeVariablesPanel

func OrganizationRuntimeVariablesPanel(orgSlug string, environment api.Environment, runtimeVariables []api.RuntimeVariable, runtimeVariablesUnavailable bool, permissions OrganizationPermissions, fullPage bool) templ.Component

func OrganizationSecurityPage

func OrganizationSecurityPage(shellData AuthenticatedShellData, organization api.Organization, apiKeys []api.APIKey, roles []api.OrgRole, hasMore bool, nextCursor string, prevCursor string, createFormData APIKeyCreateFormData, tokenNotice *APIKeyTokenNotice, permissions OrganizationPermissions, contentErrorSummary string, contentErrorDetails string) templ.Component

func OrganizationSecurityPageContent

func OrganizationSecurityPageContent(organization api.Organization, apiKeys []api.APIKey, roles []api.OrgRole, hasMore bool, nextCursor string, prevCursor string, createFormData APIKeyCreateFormData, tokenNotice *APIKeyTokenNotice, permissions OrganizationPermissions, contentErrorSummary string, contentErrorDetails string) templ.Component

func OrganizationsPage

func OrganizationsPage(shellData AuthenticatedShellData, organizations []api.OrganizationWithRole, hasMore bool, nextCursor string, prevCursor string, activeOrganizationSlug string) templ.Component

func OrganizationsPageContent

func OrganizationsPageContent(organizations []api.OrganizationWithRole, hasMore bool, nextCursor string, prevCursor string, activeOrganizationSlug string, pageError string) templ.Component

func PipelineAttention

func PipelineAttention(pipeline *api.Pipeline, environment string, results []api.PipelineValidationResultRecord, unavailable bool, bindings PipelineBindingContext, includeBindings bool) templ.Component

func PipelineBindingAttentionLabel

func PipelineBindingAttentionLabel(pipeline *api.Pipeline, bindingContext PipelineBindingContext) string

PipelineBindingAttentionLabel reports the same unresolved states as the binding section.

func PipelineBindingAttentionSummary

func PipelineBindingAttentionSummary(environment string, pipeline *api.Pipeline, bindings PipelineBindingContext) templ.Component

func PipelineBindingSetupHref

func PipelineBindingSetupHref(org, project, environment, pipeline, hash, returnHref string) string

func PipelineBuilderDraftHref

func PipelineBuilderDraftHref(orgSlug, projectSlug, pipelineName, pipelineSlug string) string

func PipelineBuilderDraftHrefWithEnvironment

func PipelineBuilderDraftHrefWithEnvironment(orgSlug, projectSlug, environmentSlug, pipelineName, pipelineSlug string) string

func PipelineCatalogItemClass

func PipelineCatalogItemClass(row PipelineCatalogRow, selectedPipelineSlug string) string

PipelineCatalogItemClass returns clickable catalog row styling for selected and operational states.

func PipelineCompletionConfiguration

func PipelineCompletionConfiguration(org, project, environment string, trigger api.PipelineTrigger, detail PipelineScheduleSelectedDetail) templ.Component

func PipelineCompletionDecisionDetails

func PipelineCompletionDecisionDetails(org, project, environment string, decision api.PipelineCompletionDecision) templ.Component

func PipelineConnectedRuns

func PipelineConnectedRuns(org, project, environment, run string, inspection RunCompletionInspection) templ.Component

func PipelineConnectionState

func PipelineConnectionState(enabled, executionGrantEnabled bool) string

func PipelineConnectionsCanvas

func PipelineConnectionsCanvas(connections *PipelineConnections)

func PipelineConnectionsCompact

func PipelineConnectionsCompact(connections PipelineConnections) templ.Component

func PipelineConnectionsHref

func PipelineConnectionsHref(org, project, environment, pipeline string) string

func PipelineConnectionsPanel

func PipelineConnectionsPanel() templ.Component

func PipelineCreationListContent

func PipelineCreationListContent(data PipelineCreationListData) templ.Component

func PipelineCreationListHref

func PipelineCreationListHref(org, project, environment, cursor string) string

func PipelineCreationProgressContent

func PipelineCreationProgressContent(data PipelineCreationProgressData) templ.Component

func PipelineCreationProgressHref

func PipelineCreationProgressHref(org, project, creation, environment string) string

func PipelineDataSourceBindingDeleteAction

func PipelineDataSourceBindingDeleteAction(orgSlug, projectSlug, pipelineSlug, environmentSlug, refSlug, activeEnvironmentSlug string, embedded bool) string

PipelineDataSourceBindingDeleteAction builds the pipeline detail binding delete URL.

func PipelineDataSourceBindingUpsertAction

func PipelineDataSourceBindingUpsertAction(orgSlug, projectSlug, pipelineSlug, environmentSlug, refSlug, activeEnvironmentSlug string, embedded bool) string

PipelineDataSourceBindingUpsertAction builds the pipeline detail binding upsert URL.

func PipelineDataSourceBindingsPanel

func PipelineDataSourceBindingsPanel(orgSlug string, projectSlug string, activeEnvironmentSlug string, pipeline *api.Pipeline, bindingContext PipelineBindingContext, permissions OrganizationPermissions, embedded bool) templ.Component

func PipelineDeployHref

func PipelineDeployHref(org, project, environment, pipeline, hash string) string

func PipelineDeploymentBadges

func PipelineDeploymentBadges(badges []PipelineDeploymentBadge, unavailable bool) templ.Component

func PipelineDeploymentBadgesByPipeline

func PipelineDeploymentBadgesByPipeline(deployments []api.PipelineDeployment, environmentColors map[string]string) map[string][]PipelineDeploymentBadge

PipelineDeploymentBadgesByPipeline groups environment deployment pointers by pipeline slug.

func PipelineDeploymentDetailHrefWithEnvironment

func PipelineDeploymentDetailHrefWithEnvironment(orgSlug, projectSlug, environmentSlug, pipelineSlug string) string

PipelineDeploymentDetailHrefWithEnvironment builds the read-only deployment inspection URL.

func PipelineDeploymentDetailPage

func PipelineDeploymentDetailPage(shellData AuthenticatedShellData, orgSlug string, activeProjectSlug string, environmentSlug string, pipelineSlug string, pipeline *api.Pipeline, deployment *api.PipelineDeployment) templ.Component

func PipelineDeploymentDetailPageContent

func PipelineDeploymentDetailPageContent(orgSlug string, activeProjectSlug string, environmentSlug string, environmentColor string, pipelineSlug string, pipeline *api.Pipeline, deployment *api.PipelineDeployment) templ.Component
func PipelineDeploymentInspectionLinks(orgSlug string, activeProjectSlug string, pipelineSlug string, badges []PipelineDeploymentBadge, unavailable bool) templ.Component

func PipelineDetailHTMXSelect

func PipelineDetailHTMXSelect(embedded bool) string

PipelineDetailHTMXSelect returns the response selector for detail action swaps.

func PipelineDetailHTMXSwap

func PipelineDetailHTMXSwap() string

PipelineDetailHTMXSwap returns a scroll-preserving replacement mode for detail actions.

func PipelineDetailHTMXTarget

func PipelineDetailHTMXTarget(embedded bool) string

PipelineDetailHTMXTarget returns the stable fragment target for detail actions.

func PipelineDetailHref

func PipelineDetailHref(orgSlug, projectSlug, pipelineSlug string) string

func PipelineDetailHrefWithEnvironment

func PipelineDetailHrefWithEnvironment(orgSlug, projectSlug, environmentSlug, pipelineSlug string) string

func PipelineDetailPage

func PipelineDetailPage(shellData AuthenticatedShellData, orgSlug string, activeProjectSlug string, activeEnvironmentSlug string, pipelineSlug string, pipeline *api.Pipeline, deployments []PipelineDeploymentBadge, deploymentsUnavailable bool, runPreview PipelineRunPreview, validationResults []api.PipelineValidationResultRecord, validationUnavailable bool, bindingContext PipelineBindingContext, updateFormData PipelineUpdateFormData, permissions OrganizationPermissions) templ.Component

func PipelineDetailPageContent

func PipelineDetailPageContent(orgSlug string, activeProjectSlug string, activeEnvironmentSlug string, pipelineSlug string, pipeline *api.Pipeline, deployments []PipelineDeploymentBadge, deploymentsUnavailable bool, runPreview PipelineRunPreview, validationResults []api.PipelineValidationResultRecord, validationUnavailable bool, bindingContext PipelineBindingContext, updateFormData PipelineUpdateFormData, permissions OrganizationPermissions) templ.Component

func PipelineDetailPanelSlot

func PipelineDetailPanelSlot(orgSlug string, activeProjectSlug string, activeEnvironmentSlug string, selectedDetail PipelineSelectedDetail, permissions OrganizationPermissions) templ.Component

func PipelineEnvironmentRunPreview

func PipelineEnvironmentRunPreview(org string, project string, environment string, pipeline string, detailHref string, preview PipelineRunPreview, deployments []PipelineDeploymentBadge, deploymentsUnavailable bool, history bool) templ.Component

func PipelineLatestRunCell

func PipelineLatestRunCell(orgSlug string, activeProjectSlug string, activeEnvironmentSlug string, latestRun PipelineLatestRunSummary, ok bool, unavailable bool) templ.Component

func PipelineLatestRunsByPipeline

func PipelineLatestRunsByPipeline(runs []api.PipelineRunMetadata) map[string]PipelineLatestRunSummary

PipelineLatestRunsByPipeline keeps the newest run seen for each pipeline as the latest display row.

func PipelineODCSReferences

func PipelineODCSReferences(org, project string, pipeline *api.Pipeline) templ.Component

func PipelineRunCompletionPanel

func PipelineRunCompletionPanel(org, project, environment, run string, inspection RunCompletionInspection) templ.Component

func PipelineRunContractEvidence

func PipelineRunContractEvidence(run api.PipelineRunRecord) templ.Component

func PipelineRunDetailPage

func PipelineRunDetailPage(
	shellData AuthenticatedShellData,
	orgSlug string,
	activeProjectSlug string,
	environmentSlug string,
	run api.PipelineRunRecord,
	retryAttempts []api.PipelineRunTriggerRetryAttempt,
	retryAttemptsUnavailable bool,
	retryAttemptsErrorSummary string,
	lineage runlineage.View,
	permissions OrganizationPermissions,
	completion RunCompletionInspection,
) templ.Component

func PipelineRunDetailPageContent

func PipelineRunDetailPageContent(
	orgSlug string,
	activeProjectSlug string,
	environmentSlug string,
	run api.PipelineRunRecord,
	retryAttempts []api.PipelineRunTriggerRetryAttempt,
	retryAttemptsUnavailable bool,
	retryAttemptsErrorSummary string,
	lineage runlineage.View,
	permissions OrganizationPermissions,
	completion RunCompletionInspection,
) templ.Component

func PipelineRunDetailPanelSlot

func PipelineRunDetailPanelSlot(orgSlug string, activeProjectSlug string, environmentSlug string, selectedDetail PipelineRunSelectedDetail) templ.Component

func PipelineRunDetailUnavailablePage

func PipelineRunDetailUnavailablePage(
	shellData AuthenticatedShellData,
	orgSlug string,
	activeProjectSlug string,
	environmentSlug string,
	runSlug string,
	message string,
) templ.Component

func PipelineRunDetailUnavailablePageContent

func PipelineRunDetailUnavailablePageContent(orgSlug string, activeProjectSlug string, environmentSlug string, runSlug string, message string) templ.Component

func PipelineRunFailureDiagnostic

func PipelineRunFailureDiagnostic(failure *api.PipelineRunFailureContext) templ.Component

Retained safe diagnostics must not disappear behind a generic reason-code label.

func PipelineRunLineageCompact

func PipelineRunLineageCompact(lineage runlineage.View) templ.Component

func PipelineRunLineageEvidence

func PipelineRunLineageEvidence(lineage runlineage.View) templ.Component

func PipelineRunLineageFactGroup

func PipelineRunLineageFactGroup(title string, facts []lineageEvidenceFact) templ.Component

func PipelineRunLineageGraph

func PipelineRunLineageGraph(orgSlug string, activeProjectSlug string, environmentSlug string, run api.PipelineRunRecord, lineage runlineage.View) templ.Component

func PipelineRunLineageLegend

func PipelineRunLineageLegend(lineage runlineage.View) templ.Component

func PipelineRunLineageWorkbench

func PipelineRunLineageWorkbench(
	orgSlug string,
	activeProjectSlug string,
	environmentSlug string,
	run api.PipelineRunRecord,
	lineage runlineage.View,
	embedded bool,
) templ.Component

func PipelineRunProgressPanel

func PipelineRunProgressPanel(detailHref string, inspection RunProgressInspection) templ.Component

func PipelineRunRetryAttemptsPanel

func PipelineRunRetryAttemptsPanel(
	orgSlug string,
	activeProjectSlug string,
	environmentSlug string,
	retryAttempts []api.PipelineRunTriggerRetryAttempt,
	retryAttemptsUnavailable bool,
	retryAttemptsErrorSummary string,
) templ.Component

func PipelineRunSinkDeliveryPanel

func PipelineRunSinkDeliveryPanel(run api.PipelineRunRecord, lineage runlineage.View) templ.Component

PipelineRunSinkDeliveryPanel shows delivery evidence independently of the overall run status.

func PipelineRunSinkOutputPanel

func PipelineRunSinkOutputPanel(output PipelineRunSinkOutputView) templ.Component

func PipelineRunsPage

func PipelineRunsPage(
	shellData AuthenticatedShellData,
	orgSlug string,
	activeProjectSlug string,
	runs []api.PipelineRunMetadata,
	hasMore bool,
	nextCursor string,
	prevCursor string,
	cursor string,
	direction string,
	environmentSlug string,
	statusFilter string,
	pipelineSlugFilter string,
	modeFilter string,
	backfillSeriesFilter string,
	selectedDetail PipelineRunSelectedDetail,
) templ.Component

func PipelineRunsPageContent

func PipelineRunsPageContent(
	orgSlug string,
	activeProjectSlug string,
	runs []api.PipelineRunMetadata,
	hasMore bool,
	nextCursor string,
	prevCursor string,
	cursor string,
	direction string,
	environmentSlug string,
	environmentColor string,
	statusFilter string,
	pipelineSlugFilter string,
	modeFilter string,
	backfillSeriesFilter string,
	selectedDetail PipelineRunSelectedDetail,
) templ.Component

func PipelineScheduleDetailContent

func PipelineScheduleDetailContent(orgSlug string, projectSlug string, environmentSlug string, selected PipelineScheduleSelectedDetail) templ.Component

func PipelineScheduleDetailHref

func PipelineScheduleDetailHref(orgSlug, projectSlug, environmentSlug, triggerSlug string) string

func PipelineScheduleDetailPage

func PipelineScheduleDetailPage(shell AuthenticatedShellData, orgSlug string, projectSlug string, environmentSlug string, selected PipelineScheduleSelectedDetail) templ.Component

func PipelineScheduleDetailPanelSlot

func PipelineScheduleDetailPanelSlot(
	orgSlug string,
	activeProjectSlug string,
	environmentSlug string,
	filters PipelineScheduleFilters,
	selectedDetail PipelineScheduleSelectedDetail,
) templ.Component

func PipelineScheduleQuickLook

func PipelineScheduleQuickLook(orgSlug string, projectSlug string, environmentSlug string, filters PipelineScheduleFilters, selected PipelineScheduleSelectedDetail) templ.Component

func PipelineSchedulesPage

func PipelineSchedulesPage(
	shellData AuthenticatedShellData,
	orgSlug string,
	activeProjectSlug string,
	environmentSlug string,
	triggers []api.PipelineTrigger,
	filters PipelineScheduleFilters,
	selectedDetail PipelineScheduleSelectedDetail,
) templ.Component

func PipelineSchedulesPageContent

func PipelineSchedulesPageContent(
	orgSlug string,
	activeProjectSlug string,
	environmentSlug string,
	triggers []api.PipelineTrigger,
	filters PipelineScheduleFilters,
	selectedDetail PipelineScheduleSelectedDetail,
) templ.Component

func PipelineSpecContractFieldLabels

func PipelineSpecContractFieldLabels(field api.PipelineSchemaContractField) []string

PipelineSpecContractFieldLabels renders field requiredness, nullability, and validation badges.

func PipelineSpecContractFields

func PipelineSpecContractFields(contract *api.PipelineSchemaContract) []api.PipelineSchemaContractField

PipelineSpecContractFields returns a stable field list for a rendered contract.

func PipelineSpecContractHasRootShape

func PipelineSpecContractHasRootShape(contract *api.PipelineSchemaContract) bool

PipelineSpecContractHasRootShape reports whether a JSON contract declares a root shape.

func PipelineSpecContractName

func PipelineSpecContractName(contract *api.PipelineSchemaContract) string

PipelineSpecContractName returns a contract name or a stable fallback label.

func PipelineSpecContractRepresentation

func PipelineSpecContractRepresentation(contract *api.PipelineSchemaContract) string

PipelineSpecContractRepresentation returns the display value for a contract representation.

func PipelineSpecContractRootShape

func PipelineSpecContractRootShape(contract *api.PipelineSchemaContract) string

PipelineSpecContractRootShape returns the display value for a JSON contract root shape.

func PipelineSpecContractSlotCard

func PipelineSpecContractSlotCard(slot PipelineSpecContractSlot) templ.Component

func PipelineSpecContractSummary

func PipelineSpecContractSummary(contract *api.PipelineSchemaContract) string

PipelineSpecContractSummary renders representation, root shape, and field count for a contract.

func PipelineSpecContractValidationLabels

func PipelineSpecContractValidationLabels(validations *api.PipelineSchemaContractFieldValidations) []string

PipelineSpecContractValidationLabels renders supported field validation rules compactly.

func PipelineSpecDecodeIssueSummary

func PipelineSpecDecodeIssueSummary(count int) string

PipelineSpecDecodeIssueSummary renders the decode warning summary with correct plural copy.

func PipelineSpecInputLabel

func PipelineSpecInputLabel(input PipelineSpecInputProjection) string

PipelineSpecInputLabel renders named transform inputs and sink payload inputs.

func PipelineSpecProjectionPanel

func PipelineSpecProjectionPanel(pipeline *api.Pipeline, embedded bool) templ.Component

func PipelineSpecStepDisplayName

func PipelineSpecStepDisplayName(step PipelineSpecStepProjection) string

PipelineSpecStepDisplayName returns a human label without duplicating a slug-only name.

func PipelineSpecStepGroup

func PipelineSpecStepGroup(title string, steps []PipelineSpecStepProjection, emptyMessage string, embedded bool) templ.Component

func PipelineSpecStepKindBadgeClass

func PipelineSpecStepKindBadgeClass(kind string) string

PipelineSpecStepKindBadgeClass maps canonical step groups to compact badge treatments.

func PipelineSpecStepRow

func PipelineSpecStepRow(step PipelineSpecStepProjection, embedded bool) templ.Component

func PipelineSpecStepSlugDisplay

func PipelineSpecStepSlugDisplay(step PipelineSpecStepProjection) string

PipelineSpecStepSlugDisplay returns the slug only when it adds information beside the name.

func PipelineSyncHref

func PipelineSyncHref(org, project, environment, pipeline string) string

func PipelineSyncPage

func PipelineSyncPage(shell AuthenticatedShellData, data PipelineSyncView) templ.Component

func PipelineValidationHistoryPanel

func PipelineValidationHistoryPanel(orgSlug string, activeProjectSlug string, activeEnvironmentSlug string, pipeline *api.Pipeline, validationResults []api.PipelineValidationResultRecord, validationUnavailable bool, permissions OrganizationPermissions, embedded bool) templ.Component

func PipelineValidationSummary

func PipelineValidationSummary(environment string, results []api.PipelineValidationResultRecord, unavailable bool) templ.Component

func PipelineWebhookDeliveryHistory

func PipelineWebhookDeliveryHistory(
	orgSlug string,
	projectSlug string,
	environmentSlug string,
	filters PipelineScheduleFilters,
	selected PipelineScheduleSelectedDetail,
) templ.Component

func PipelineWorkflowOverview

func PipelineWorkflowOverview(pipeline *api.Pipeline) templ.Component

func PipelinesPage

func PipelinesPage(shellData AuthenticatedShellData, orgSlug string, activeProjectSlug string, activeEnvironmentSlug string, pipelines []api.PipelineRef, deployments map[string][]PipelineDeploymentBadge, deploymentsUnavailable bool, latestRuns map[string]PipelineLatestRunSummary, latestRunsUnavailable bool, hasMore bool, nextCursor string, prevCursor string, filters PipelineCatalogFilters, selectedDetail PipelineSelectedDetail, permissions OrganizationPermissions) templ.Component

func PipelinesPageContent

func PipelinesPageContent(orgSlug string, activeProjectSlug string, activeEnvironmentSlug string, activeEnvironmentColor string, pipelines []api.PipelineRef, deployments map[string][]PipelineDeploymentBadge, deploymentsUnavailable bool, latestRuns map[string]PipelineLatestRunSummary, latestRunsUnavailable bool, hasMore bool, nextCursor string, prevCursor string, filters PipelineCatalogFilters, selectedDetail PipelineSelectedDetail, permissions OrganizationPermissions) templ.Component

func ProjectBackendBranchControl

func ProjectBackendBranchControl(orgSlug string, project api.Project, backendControls ProjectPipelineBackendControls) templ.Component

func ProjectBindingAttentionCount

func ProjectBindingAttentionCount(rows []DataSourceBindingRow) int

ProjectBindingAttentionCount counts cells that need operator action or could not be checked.

func ProjectBindingCellTotalCount

func ProjectBindingCellTotalCount(refs []api.DataSourceRef, environments []api.ProjectEnvironment) int

ProjectBindingCellTotalCount returns the total logical ref by environment cell count.

func ProjectBoundBindingCount

func ProjectBoundBindingCount(
	refs []api.DataSourceRef,
	environments []api.ProjectEnvironment,
	bindings map[string][]api.DataSourceBinding,
) int

ProjectBoundBindingCount counts bound logical ref cells across enabled environments.

func ProjectDataSourceBindingDeleteAction

func ProjectDataSourceBindingDeleteAction(orgSlug, projectSlug, environmentSlug, refSlug string, fullPage bool) string

ProjectDataSourceBindingDeleteAction builds the project overview binding delete URL.

func ProjectDataSourceBindingUpsertAction

func ProjectDataSourceBindingUpsertAction(orgSlug, projectSlug, environmentSlug, refSlug string, fullPage bool) string

ProjectDataSourceBindingUpsertAction builds the project overview binding upsert URL.

func ProjectDataSourceBindingsPanel

func ProjectDataSourceBindingsPanel(organization api.Organization, project api.Project, projectContext ProjectOperationalContext, permissions OrganizationPermissions, fullPage bool) templ.Component

func ProjectDefaultEnvironmentLabel

func ProjectDefaultEnvironmentLabel(environments []api.ProjectEnvironment) string

ProjectDefaultEnvironmentLabel returns the default runtime target or a stable empty-state label.

func ProjectDeleteFormAction

func ProjectDeleteFormAction(orgSlug, projectSlug string, fullPage bool) string

ProjectDeleteFormAction builds the project delete URL for the current project surface.

func ProjectDeletedListHref

func ProjectDeletedListHref(ctx context.Context, orgSlug string) string

ProjectDeletedListHref removes only the deleted selection from a scoped return location.

func ProjectDetailHTMXTarget

func ProjectDetailHTMXTarget(fullPage bool) string

ProjectDetailHTMXTarget returns the partial target for project detail local interactions.

func ProjectEnvironmentCatalogCardClass

func ProjectEnvironmentCatalogCardClass(selected, enabled bool) string

func ProjectEnvironmentColorMap

func ProjectEnvironmentColorMap(environments []api.ProjectEnvironment) map[string]string

ProjectEnvironmentColorMap indexes enabled project environment colors by slug.

func ProjectEnvironmentConfigurationHref

func ProjectEnvironmentConfigurationHref(orgSlug, projectSlug, activeEnvironmentSlug, selectedEnvironmentSlug string) string

func ProjectEnvironmentDefaultFormAction

func ProjectEnvironmentDefaultFormAction(orgSlug, projectSlug, environmentSlug string, fullPage bool) string

ProjectEnvironmentDefaultFormAction builds the project-local default-environment URL.

func ProjectEnvironmentDisableFormAction

func ProjectEnvironmentDisableFormAction(orgSlug, projectSlug, environmentSlug string, fullPage bool) string

ProjectEnvironmentDisableFormAction builds the project-local environment disable URL.

func ProjectEnvironmentEnableFormAction

func ProjectEnvironmentEnableFormAction(orgSlug, projectSlug string, fullPage bool) string

ProjectEnvironmentEnableFormAction builds the project-local environment enable URL.

func ProjectEnvironmentEnabled

func ProjectEnvironmentEnabled(environmentSlug string, environments []api.ProjectEnvironment) bool

ProjectEnvironmentEnabled reports whether a catalog environment is enabled for the project.

func ProjectEnvironmentFocusPanel

func ProjectEnvironmentFocusPanel(orgSlug string, projectSlug string, activeEnvironmentSlug string, selectedEnvironmentSlug string, environments []api.ProjectEnvironment, catalog []api.Environment, permissions OrganizationPermissions) templ.Component

func ProjectEnvironmentQuickLook

func ProjectEnvironmentQuickLook(orgSlug string, projectSlug string, activeEnvironmentSlug string, selectedEnvironmentSlug string, environments []api.ProjectEnvironment, catalog []api.Environment, refs []api.DataSourceRef, bindings map[string][]api.DataSourceBinding, bindingsUnavailable bool) templ.Component

func ProjectEnvironmentSelectionHref

func ProjectEnvironmentSelectionHref(orgSlug, projectSlug, activeEnvironmentSlug, selectedEnvironmentSlug string) string

ProjectEnvironmentSelectionHref builds a project catalog selection URL while preserving active runtime context.

func ProjectEnvironmentsHref

func ProjectEnvironmentsHref(orgSlug, projectSlug string) string

ProjectEnvironmentsHref builds the project runtime target page URL.

func ProjectEnvironmentsPage

func ProjectEnvironmentsPage(shellData AuthenticatedShellData, orgSlug string, projectSlug string, selectedEnvironmentSlug string, environments []api.ProjectEnvironment, catalog []api.Environment, refs []api.DataSourceRef, bindings map[string][]api.DataSourceBinding, environmentsUnavailable bool, bindingsUnavailable bool, permissions OrganizationPermissions) templ.Component

func ProjectEnvironmentsPageContent

func ProjectEnvironmentsPageContent(orgSlug string, projectSlug string, activeEnvironmentSlug string, selectedEnvironmentSlug string, environments []api.ProjectEnvironment, catalog []api.Environment, refs []api.DataSourceRef, bindings map[string][]api.DataSourceBinding, environmentsUnavailable bool, bindingsUnavailable bool, permissions OrganizationPermissions) templ.Component

func ProjectPipelineBackendBranchHelpText

func ProjectPipelineBackendBranchHelpText(
	controls ProjectPipelineBackendControls,
	selectedDataSourceSlug string,
	branchOptions []ProjectPipelineBackendBranchOption,
) string

ProjectPipelineBackendBranchHelpText explains the current branch selector source.

func ProjectPipelineBackendDataSourceChangeHref

func ProjectPipelineBackendDataSourceChangeHref(orgSlug, projectSlug string, fullPage bool) string

ProjectPipelineBackendDataSourceChangeHref builds the local backend source-selection URL for the current project surface.

func ProjectPipelineBackendDataSourceLabel

func ProjectPipelineBackendDataSourceLabel(option ProjectPipelineBackendDataSourceOption) string

ProjectPipelineBackendDataSourceLabel formats a backend source option for compact select controls.

func ProjectPipelineBackendDirtyBaseline

func ProjectPipelineBackendDirtyBaseline(project api.Project) string

ProjectPipelineBackendDirtyBaseline returns the persisted backend state used for dirty-form comparison.

func ProjectPipelineBackendFormAction

func ProjectPipelineBackendFormAction(orgSlug, projectSlug string, fullPage bool) string

ProjectPipelineBackendFormAction builds the backend submit URL for the current project surface.

func ProjectPipelineBackendOptionCountLabel

func ProjectPipelineBackendOptionCountLabel(options []ProjectPipelineBackendDataSourceOption) string

ProjectPipelineBackendOptionCountLabel formats the backend source count for empty and loaded states.

func ProjectPipelineBackendSelectedDataSourceMissing

func ProjectPipelineBackendSelectedDataSourceMissing(controls ProjectPipelineBackendControls) bool

ProjectPipelineBackendSelectedDataSourceMissing reports whether the selected source is absent from the loaded options.

func ProjectPipelineBackendSelectedDataSourceSlug

func ProjectPipelineBackendSelectedDataSourceSlug(project api.Project, requestedSlug string) string

ProjectPipelineBackendSelectedDataSourceSlug returns the source selected in the local form or saved backend.

func ProjectPipelineBackendSelectedTrackedBranch

func ProjectPipelineBackendSelectedTrackedBranch(
	project api.Project,
	branchOptions []ProjectPipelineBackendBranchOption,
	selectedDataSourceSlug string,
	requestedBranch string,
) string

ProjectPipelineBackendSelectedTrackedBranch returns the selected branch for the current backend source.

func ProjectPipelinesListHref

func ProjectPipelinesListHref(orgSlug, projectSlug, cursor, direction string) string

func ProjectPipelinesListHrefWithEnvironment

func ProjectPipelinesListHrefWithEnvironment(orgSlug, projectSlug, environmentSlug, cursor, direction string) string

func ProjectProtectedEnvironmentActionButton

func ProjectProtectedEnvironmentActionButton(orgSlug string, projectSlug string, environmentSlug string, environmentName string, actionKey string, actionLabel string, actionDescription string, actionURL string, triggerClass string, submitClass string, fullPage bool, includeEnvironmentSlug bool) templ.Component

func ProjectProtectedEnvironmentActionModal

func ProjectProtectedEnvironmentActionModal(orgSlug string, projectSlug string, environmentSlug string, environmentName string, actionKey string, actionLabel string, actionDescription string, actionURL string, submitClass string, fullPage bool, includeEnvironmentSlug bool) templ.Component

func ProjectProtectedEnvironmentActionModalID

func ProjectProtectedEnvironmentActionModalID(projectSlug, environmentSlug, actionKey string) string

ProjectProtectedEnvironmentActionModalID builds a stable dialog id for protected project environment actions.

func ProjectQuickLookUnavailable

func ProjectQuickLookUnavailable(message string) templ.Component

func ProjectReadinessProblems

func ProjectReadinessProblems(organization api.Organization, project api.Project, projectContext ProjectOperationalContext, permissions OrganizationPermissions, preview bool) templ.Component

func ProjectRuntimeProtectedEnvironmentActionButton

func ProjectRuntimeProtectedEnvironmentActionButton(environmentSlug string, environmentName string, actionKey string, actionLabel string, actionDescription string, actionURL string, triggerClass string, submitClass string, activeEnvironmentSlug string, includeEnvironmentSlug bool) templ.Component

func ProjectSchedulesListHrefWithEnvironment

func ProjectSchedulesListHrefWithEnvironment(orgSlug, projectSlug, environmentSlug string) string

ProjectSchedulesListHrefWithEnvironment returns the public project schedules URL.

func ProofClaimClass

func ProofClaimClass(verdict api.ProofVerdict) string

func ProofClaimCount

func ProofClaimCount(receipt *api.ProofReceipt, verdict api.ProofVerdict) int

func ProofClaimCounts

func ProofClaimCounts(receipt *api.ProofReceipt) templ.Component

func ProofConfigurationContent

func ProofConfigurationContent(org, selected string, configurations []api.DataSourceProofConfiguration, feedback string, failed, canEdit bool) templ.Component

func ProofConfigurationForms

func ProofConfigurationForms(org, selected string, configurations []api.DataSourceProofConfiguration, canEdit, failed bool) templ.Component

func ProofConfigurationPage

func ProofConfigurationPage(shell AuthenticatedShellData, org, selected string, configurations []api.DataSourceProofConfiguration, feedback string, failed, canEdit bool) templ.Component

func ProofConfigurationReadiness

func ProofConfigurationReadiness(configuration api.DataSourceProofConfiguration) templ.Component

func ProofConfigurationSummaries

func ProofConfigurationSummaries(org string, configurations []api.DataSourceProofConfiguration) templ.Component

func ProofDataSourceForm

func ProofDataSourceForm(org, selected string, configuration api.DataSourceProofConfiguration, canEdit, failed bool) templ.Component

func ProofDefinition

func ProofDefinition(label string, value string) templ.Component

func ProofDiagnostics

func ProofDiagnostics(claim api.ProofClaim) templ.Component

func ProofEvidenceLevelLabel

func ProofEvidenceLevelLabel(level *api.ProofEvidenceLevel) string

func ProofEvidenceScopeLabel

func ProofEvidenceScopeLabel(receipt *api.ProofReceipt) string

Summarize recorded levels only; required levels are not evidence of observation.

func ProofFreshnessLabel

func ProofFreshnessLabel(receipt api.ProofReceipt) string

func ProofHistoryHref

func ProofHistoryHref(orgSlug, projectSlug, environmentSlug, cursor, direction string) string

func ProofIdentity

func ProofIdentity(label string, value string) templ.Component

func ProofLifecycleHref

func ProofLifecycleHref(receipt *api.ProofReceipt, link api.ProofLifecycleLink) string

func ProofLifecycleStatusBadgeClass

func ProofLifecycleStatusBadgeClass(status api.ProofLifecycleLinkStatus) string

func ProofLifecycleStatusLabel

func ProofLifecycleStatusLabel(status api.ProofLifecycleLinkStatus) string

func ProofOperationalAvailabilityLabel

func ProofOperationalAvailabilityLabel(status *api.ProofReceiptOperationalEvidenceStatus) string

func ProofOperationalContext

func ProofOperationalContext(receipt *api.ProofReceipt) templ.Component

func ProofReceiptClaims

func ProofReceiptClaims(receipt *api.ProofReceipt) templ.Component

func ProofReceiptHref

func ProofReceiptHref(orgSlug, projectSlug, environmentSlug string, receiptSlug api.Slug) string

func ProofReceiptLifecycle

func ProofReceiptLifecycle(receipt *api.ProofReceipt, technical bool) templ.Component

func ProofReceiptPage

func ProofReceiptPage(shellData AuthenticatedShellData, receipt *api.ProofReceipt, changeURL string) templ.Component

func ProofReceiptPageContent

func ProofReceiptPageContent(receipt *api.ProofReceipt, changeURL string) templ.Component

func ProofTimestampLabel

func ProofTimestampLabel(value *time.Time) string

func ProofVerdictBadgeClass

func ProofVerdictBadgeClass(verdict api.ProofVerdict) string

func ProofVerdictLabel

func ProofVerdictLabel(verdict api.ProofVerdict) string

func ProtectedEnvironmentCount

func ProtectedEnvironmentCount(environments []api.Environment) int

ProtectedEnvironmentCount counts catalog entries with protected mutation guards.

func ProtectedProjectEnvironmentCount

func ProtectedProjectEnvironmentCount(environments []api.ProjectEnvironment) int

ProtectedProjectEnvironmentCount counts enabled environments that require confirmation.

func ProviderConnectionsContent

func ProviderConnectionsContent(org string, gitlab *api.CredentialMetadata, configurations []api.DataSourceProofConfiguration, feedback string, failed bool, connectionError, proofError string, permissions OrganizationPermissions) templ.Component

func ProviderConnectionsPage

func ProviderConnectionsPage(shell AuthenticatedShellData, org string, gitlab *api.CredentialMetadata, configurations []api.DataSourceProofConfiguration, feedback string, failed bool, connectionError, proofError string, permissions OrganizationPermissions) templ.Component

func QueriesListCursorHref

func QueriesListCursorHref(orgSlug, dataSourceSlug string, showDeleted bool, cursor string) string

QueriesListCursorHref builds a paginated query library URL with encoded source and lifecycle filters.

func QueriesListHref

func QueriesListHref(orgSlug, dataSourceSlug, querySlug string, showDeleted bool) string

QueriesListHref builds a query library URL with optional source, query, and deleted state.

func QueriesPage

func QueriesPage(shellData AuthenticatedShellData, dataSources []api.DataSource, selectedDataSource string, selectedDataSourceType string, queries []api.Query, selectedQuery *api.Query, selectedQueryFormData QueryEditorFormData, hasMore bool, nextCursor string, prevCursor string, orgSlug string, createFormData QueryEditorFormData, executionResult *QueryExecutionResultView, executionError string, focusQuerySlug string, showDeleted bool, permissions OrganizationPermissions) templ.Component

func QueriesPageContent

func QueriesPageContent(dataSources []api.DataSource, selectedDataSource string, selectedDataSourceType string, queries []api.Query, selectedQuery *api.Query, selectedQueryFormData QueryEditorFormData, hasMore bool, nextCursor string, prevCursor string, orgSlug string, createFormData QueryEditorFormData, executionResult *QueryExecutionResultView, executionError string, focusQuerySlug string, showDeleted bool, permissions OrganizationPermissions) templ.Component

func QueryActiveCount

func QueryActiveCount(queries []api.Query) int

QueryActiveCount returns the number of visible non-deleted queries.

func QueryCardClass

func QueryCardClass(query api.Query, selectedQuerySlug string) string

QueryCardClass returns clickable query card styling for selected and lifecycle states.

func QueryCardFacts

func QueryCardFacts(query api.Query) templ.Component

func QueryContractBadgeClass

func QueryContractBadgeClass(query api.Query) string

QueryContractBadgeClass maps contract state to a colored badge.

func QueryDeletedCount

func QueryDeletedCount(queries []api.Query) int

QueryDeletedCount returns the number of visible soft-deleted queries.

func QueryDescriptionLabel

func QueryDescriptionLabel(query api.Query) string

QueryDescriptionLabel renders a stable fallback for blank query descriptions.

func QueryDetailPage

func QueryDetailPage(shellData AuthenticatedShellData, orgSlug string, dataSourceSlug string, query api.Query, editFormData QueryEditorFormData, executionResult *QueryExecutionResultView, executionError string, executionErrorDetails string, permissions OrganizationPermissions) templ.Component

func QueryDetailPageContent

func QueryDetailPageContent(orgSlug string, dataSourceSlug string, query api.Query, editFormData QueryEditorFormData, executionResult *QueryExecutionResultView, executionError string, executionErrorDetails string, permissions OrganizationPermissions) templ.Component

func QueryDetailUnavailablePage

func QueryDetailUnavailablePage(shellData AuthenticatedShellData, orgSlug string, dataSourceSlug string, querySlug string, message string) templ.Component

func QueryDetailUnavailablePageContent

func QueryDetailUnavailablePageContent(orgSlug string, dataSourceSlug string, querySlug string, message string) templ.Component

func QueryExecutionFeedbackSlot

func QueryExecutionFeedbackSlot(executionResult *QueryExecutionResultView, executionError string, executionErrorDetails string) templ.Component

func QueryExecutionFieldName

func QueryExecutionFieldName(name string) string

QueryExecutionFieldName creates a stable HTML form field name for execution inputs. It normalizes parameter names to alphanumeric/underscore characters and prefixes them.

func QueryOperationBehavior

func QueryOperationBehavior(query api.Query) string

QueryOperationBehavior is guidance, not the server's execution authorization. SQL and unrecognized definitions must never imply a read-only guarantee.

func QueryPanelFeedbackClass

func QueryPanelFeedbackClass(kind string) string

QueryPanelFeedbackClass maps embedded query action feedback to visible dark-theme alerts.

func QueryParameterRequired

func QueryParameterRequired(parameter api.QueryParameter) bool

QueryParameterRequired returns true only when the optional API flag is explicitly set.

func QueryParameterTotal

func QueryParameterTotal(queries []api.Query) int

QueryParameterTotal returns the number of parameters across the visible query page.

func QueryPipelineSetupContent

func QueryPipelineSetupContent(data QueryPipelineSetupData) templ.Component

func QueryPipelineSetupHref

func QueryPipelineSetupHref(org, source, query, project string) string

func QueryQuickLook

func QueryQuickLook(orgSlug string, dataSourceSlug string, query api.Query) templ.Component

func QuerySidePanelSlot

func QuerySidePanelSlot(orgSlug string, selectedDataSource string, selectedQuery *api.Query, selectedQueryFormData QueryEditorFormData, executionResult *QueryExecutionResultView, executionError string, executionErrorDetails string, permissions OrganizationPermissions, feedbackMessage string, feedbackKind string, feedbackDetails string) templ.Component

func QuerySourceIsReadOnly

func QuerySourceIsReadOnly(dataSources []api.DataSource, selectedDataSource string) bool

QuerySourceIsReadOnly reports whether the selected data source forbids saved mutating operations in the query editor.

func QuerySourceName

func QuerySourceName(dataSources []api.DataSource, selectedDataSource string) string

QuerySourceName returns the selected data-source display name for query context panels.

func QuerySourceStatusBadgeClass

func QuerySourceStatusBadgeClass(dataSources []api.DataSource, selectedDataSource string) string

QuerySourceStatusBadgeClass returns the badge class for the selected data source.

func QuerySourceStatusLabel

func QuerySourceStatusLabel(dataSources []api.DataSource, selectedDataSource string) string

QuerySourceStatusLabel returns a compact selected data-source readiness label.

func QueryStatementKindLabel

func QueryStatementKindLabel(query api.Query) string

QueryStatementKindLabel extracts the query statement discriminator for display.

func QueryStatusBadgeClass

func QueryStatusBadgeClass(query api.Query) string

QueryStatusBadgeClass maps query lifecycle state to a colored badge.

func RecencyAgeInput

func RecencyAgeInput(v *int64) string

func RecencyAlertsHref

func RecencyAlertsHref(org, project, environment, pipeline string) string

func RecencyAvailable

func RecencyAvailable(ctx context.Context) bool

func RecencyHref

func RecencyHref(org, project, environment, pipeline string) string

func RecencyInspectable

func RecencyInspectable(ctx context.Context) bool

func RecencyNumber

func RecencyNumber(v *int64) string

func RecencyResolutionLabel

func RecencyResolutionLabel(reason *string) string

func RecencyText

func RecencyText(v *string) string

func RecencyTime

func RecencyTime(v *api.Timestamp) string

func RecencyUnavailableLabel

func RecencyUnavailableLabel(reason string) string

func ResetPasswordPage

func ResetPasswordPage(title string, token string, pageError string, pageErrorDetails string, successMessage string) templ.Component

func ResetPasswordPageContent

func ResetPasswordPageContent(token string, pageError string, pageErrorDetails string, successMessage string) templ.Component

func RoleArchiveConfirmModal

func RoleArchiveConfirmModal(modalID string, roleName string, roleSlug string, actionURL string) templ.Component

func RoleArchiveModalID

func RoleArchiveModalID(role api.OrgRole) string

RoleArchiveModalID builds the protected role archive confirmation modal id.

func RoleArchived

func RoleArchived(role api.OrgRole) bool

RoleArchived reports whether the backend has marked this role as archived.

func RoleArchivedAtLabel

func RoleArchivedAtLabel(role api.OrgRole) string

RoleArchivedAtLabel formats the archived timestamp for dense role rows.

func RoleCountLabel

func RoleCountLabel(count int) string

RoleCountLabel formats a compact role count for section badges.

func RoleDetailsPanelID

func RoleDetailsPanelID(role api.OrgRole) string

RoleDetailsPanelID builds the per-role permissions detail panel identifier.

func RoleEditPanelID

func RoleEditPanelID(role api.OrgRole) string

RoleEditPanelID builds the per-role edit panel identifier.

func RoleLifecycleBadgeClass

func RoleLifecycleBadgeClass(role api.OrgRole) string

RoleLifecycleBadgeClass maps a role lifecycle state to compact badge styling.

func RoleLifecycleLabel

func RoleLifecycleLabel(role api.OrgRole) string

RoleLifecycleLabel summarizes whether a role is active or archived.

func RoleListIncludesArchived

func RoleListIncludesArchived(view string) bool

RoleListIncludesArchived reports whether the list API should include archived roles.

func RoleListOnlyArchived

func RoleListOnlyArchived(view string) bool

RoleListOnlyArchived reports whether the list API should return archived roles only.

func RoleListViewButtonClass

func RoleListViewButtonClass(currentView, targetView string) string

RoleListViewButtonClass returns the tab treatment for active and archived role lists.

func RoleListViewHref

func RoleListViewHref(orgSlug, view string) string

RoleListViewHref builds the organization roles URL for the requested view.

func RoleListViewLabel

func RoleListViewLabel(view string) string

RoleListViewLabel returns a short display label for the current roles list view.

func RoleMutable

func RoleMutable(role api.OrgRole) bool

RoleMutable reports whether the role should expose unsafe mutation controls.

func RolePermissionCountLabel

func RolePermissionCountLabel(count int) string

RolePermissionCountLabel formats the number of permissions on a role.

func RolePermissionDatalists

func RolePermissionDatalists() templ.Component

func RolePermissionFormRows

func RolePermissionFormRows(rows []RolePermissionFormData) templ.Component

func RolePermissionLabel

func RolePermissionLabel(permission api.Permission) string

RolePermissionLabel formats one backend permission tuple for display.

func RolePermissionSummary

func RolePermissionSummary(role api.OrgRole) string

RolePermissionSummary returns a compact visible summary for dense role rows.

func RoleRestorable

func RoleRestorable(role api.OrgRole) bool

RoleRestorable reports whether the role can be restored from the archived view.

func RoleSystemBadgeClass

func RoleSystemBadgeClass(role api.OrgRole) string

RoleSystemBadgeClass returns a compact badge class for system and custom roles.

func RolesForListView

func RolesForListView(roles []api.OrgRole, view string) []api.OrgRole

RolesForListView filters role rows to the visible lifecycle list.

func RunRecencyContent

func RunRecencyContent(org string, project string, environment string, pipeline string, inspection *api.SuccessfulRunRecency, canUpdate bool, canConfigureAlerts bool, message string) templ.Component

func RunRecencyPage

func RunRecencyPage(shell AuthenticatedShellData, org string, project string, environment string, pipeline string, inspection *api.SuccessfulRunRecency, canUpdate bool, canConfigureAlerts bool, message string) templ.Component

func RuntimeVariableDescriptionValue

func RuntimeVariableDescriptionValue(description *string) string

func SQLResultFormatField

func SQLResultFormatField(value string) templ.Component

func SelectedCatalogEnvironmentSlug

func SelectedCatalogEnvironmentSlug(catalog []api.Environment, requestedSlug string) string

SelectedCatalogEnvironmentSlug validates the URL-selected catalog environment.

func ShellActiveRouteLabel

func ShellActiveRouteLabel(items []ShellNavItem, fallback string) string

ShellActiveRouteLabel returns the current route label shown in the shell topbar.

func ShellContentClass

func ShellContentClass(_ string) string

ShellContentClass keeps the workbench aligned with other product pages.

func ShellContextDisplay

func ShellContextDisplay(name, slug, fallback string) string

ShellContextDisplay returns the human label for an active org, project, or environment.

func ShellContextInitial

func ShellContextInitial(name, slug, fallback string) string

ShellContextInitial returns a compact initial for collapsed context markers.

func ShellEnvironmentBadgeClass

func ShellEnvironmentBadgeClass(environmentColor string) string

ShellEnvironmentBadgeClass returns the visual treatment for environment context badges.

func ShellEnvironmentRiskLabel

func ShellEnvironmentRiskLabel(environmentSlug string, protected bool) string

ShellEnvironmentRiskLabel returns concise operational copy for the selected environment.

func ShellIsCommandCenter

func ShellIsCommandCenter(currentPath string) bool

ShellIsCommandCenter reports whether the shell is rendering the operational dashboard.

func ShellNavIcon

func ShellNavIcon(icon string) templ.Component

func ShellNavScopeRequirement

func ShellNavScopeRequirement(data AuthenticatedShellData) string

ShellNavScopeRequirement names the context needed to reach a disabled destination.

func ShellNavigation

func ShellNavigation(data AuthenticatedShellData) templ.Component

func ShellOrganizationDisplayName

func ShellOrganizationDisplayName(data AuthenticatedShellData) string

ShellOrganizationDisplayName returns the active organization label shown in the topbar control.

func ShellOrganizationSettingsHref

func ShellOrganizationSettingsHref(orgSlug string) string

ShellOrganizationSettingsHref returns the organization detail route for the active tenant.

func ShellOrganizationSwitchHref

func ShellOrganizationSwitchHref(orgSlug, returnTo string) string

ShellOrganizationSwitchHref builds the CSRF-protected organization switch action URL.

func ShellOrganizationSwitcher

func ShellOrganizationSwitcher(data AuthenticatedShellData) templ.Component

func ShellRuntimeTargetDisplay

func ShellRuntimeTargetDisplay(name, slug string) string

ShellRuntimeTargetDisplay returns the selector label for a project runtime target.

func ShellSelectOptionLabel

func ShellSelectOptionLabel(prefix, value string) string

ShellSelectOptionLabel keeps long organization labels inside compact controls.

func ShellTopbarControlsClass

func ShellTopbarControlsClass(data AuthenticatedShellData) string

ShellTopbarControlsClass sizes context controls without letting long labels escape.

func ShellTopbarTitle

func ShellTopbarTitle(currentPath string, items []ShellNavItem, fallback string) string

ShellTopbarTitle returns the primary page title shown in the authenticated shell.

func ShellUserDisplay

func ShellUserDisplay(user ShellUserSummary) string

ShellUserDisplay returns the primary label for the signed-in user affordance.

func ShellUserInitial

func ShellUserInitial(user ShellUserSummary) string

ShellUserInitial returns a compact avatar label for the signed-in user.

func ShowMemberInvitationActions

func ShowMemberInvitationActions(status api.MemberInvitationStatus) bool

ShowMemberInvitationActions indicates whether an invitation can still be changed by admins.

func SignupPage

func SignupPage(title string, fullName string, email string, pageError string, pageErrorDetails string, returnTo string, selfServiceRegistrationEnabled bool, signup SignupState) templ.Component

func SignupPageContent

func SignupPageContent(fullName string, email string, pageError string, pageErrorDetails string, returnTo string, selfServiceRegistrationEnabled bool, signup SignupState) templ.Component

func SnowflakeObjectFields

func SnowflakeObjectFields(selectTables, insertTables string) templ.Component

func SnowflakeOnboardingHref

func SnowflakeOnboardingHref(org, environment, ds string) string

func SnowflakeOnboardingPanel

func SnowflakeOnboardingPanel(org, environment, ds string, onboarding *api.SnowflakeOnboarding, message string, canUpdate bool) templ.Component

func SortPipelineConnections

func SortPipelineConnections(connections *PipelineConnections)

func SuccessPopup

func SuccessPopup(id string, summary string) templ.Component

func UsesHTTPOAuth

func UsesHTTPOAuth(source api.DataSource) bool

UsesHTTPOAuth reads only safe credential kind metadata, never stored app settings.

func VersionedAssetPath

func VersionedAssetPath(path string) string

VersionedAssetPath returns the canonical content-versioned asset URL.

func WithAccountForms

func WithAccountForms(ctx context.Context, forms AccountForms) context.Context

func WithDefinitionInspection

func WithDefinitionInspection(ctx context.Context, inspection DefinitionInspection) context.Context

func WithEntityPageURL

func WithEntityPageURL(ctx context.Context, rawURL string) context.Context

WithEntityPageURL supplies request navigation only; entity loaders and permissions stay with handlers.

func WithGoogleSignIn

func WithGoogleSignIn(ctx context.Context, enabled bool) context.Context

func WithGoogleSignInLookup

func WithGoogleSignInLookup(ctx context.Context, lookup func(context.Context) bool) context.Context

func WithPipelineConnections

func WithPipelineConnections(ctx context.Context, connections PipelineConnections) context.Context

func WithRecencyInspection

func WithRecencyInspection(ctx context.Context, inspection *api.SuccessfulRunRecency) context.Context

func WithRunProgress

func WithRunProgress(ctx context.Context, inspection RunProgressInspection) context.Context

func WithRunStepActions

func WithRunStepActions(ctx context.Context, actions RunStepActions) context.Context

func WithRunTimezone

func WithRunTimezone(ctx context.Context, timezone string) context.Context

WithRunTimezone applies the authenticated user's configured display timezone.

func WorkspaceDataDisclosure

func WorkspaceDataDisclosure(privacyURL string) templ.Component

func WorkspaceGatePage

func WorkspaceGatePage(title string, usageType string, organizationWorkspaceName string, personalWorkspaceName string, returnTo string, pageError string, pageErrorDetails string, customSlug string) templ.Component

func WorkspaceGatePageContent

func WorkspaceGatePageContent(usageType string, organizationWorkspaceName string, personalWorkspaceName string, returnTo string, pageError string, pageErrorDetails string, customSlug string) templ.Component

func WorkspaceGateUsageURL

func WorkspaceGateUsageURL(usageType, returnTo string) string

WorkspaceGateUsageURL switches gate intent while preserving the safe continuation target.

func WorkspaceOperationFields

func WorkspaceOperationFields(form QueryEditorFormData, org string, source string) templ.Component

func WorkspaceSelection

func WorkspaceSelection(org string, source *api.DataSource, privacyURL string) templ.Component

Types

type APIKeyCreateFormData

type APIKeyCreateFormData struct {
	Name             string
	Slug             string
	Role             string
	Description      string
	ExpiresAt        string
	CanManageAPIKeys bool
}

APIKeyCreateFormData stores sticky values for the API key create form.

func DefaultAPIKeyCreateFormData

func DefaultAPIKeyCreateFormData() APIKeyCreateFormData

type APIKeyTokenNotice

type APIKeyTokenNotice struct {
	Action string
	Name   string
	Slug   string
	Token  string
}

APIKeyTokenNotice holds the one-time token shown after create or rotation.

type AccountForms

type AccountForms struct {
	Notice  templ.Component
	Fields  templ.Component
	Enabled bool
}

type AccountPATCreateFormData

type AccountPATCreateFormData struct {
	Slug                          string
	Name                          string
	Description                   string
	ExpiresAt                     string
	CanManagePersonalAccessTokens bool
}

type AccountPATTokenNotice

type AccountPATTokenNotice struct {
	Action string
	Name   string
	Slug   string
	Token  string
}

type AccountPageState

type AccountPageState struct {
	User                 *api.User
	ActiveTab            AccountTab
	ProfileForm          AccountProfileFormData
	PATCreateForm        AccountPATCreateFormData
	PATTokenNotice       *AccountPATTokenNotice
	PersonalAccessTokens []api.PersonalAccessToken
	PATsCursor           string
	PATsDirection        string
	PATsHasMore          bool
	PATsNextCursor       string
	PATsPrevCursor       string
	ProfileError         string
	ProfileErrorDetails  string
	ProfileSuccess       string
	SecurityError        string
	SecurityDetails      string
	SecuritySuccess      string
	PendingInvitations   []api.MemberInvitation
	InvitationsSuccess   string
	InvitationsError     string
	InvitationsDetails   string
}

type AccountProfileFormData

type AccountProfileFormData struct {
	FullName        string
	Locale          string
	AvatarURL       string
	PhoneNumber     string
	JobTitle        string
	Timezone        string
	MFAEmailEnabled bool
}

func AccountProfileFormDataFromUser

func AccountProfileFormDataFromUser(user *api.User) AccountProfileFormData

AccountProfileFormDataFromUser copies persisted user profile fields into the account form state.

type AccountTab

type AccountTab string
const (
	AccountTabProfile     AccountTab = "profile"
	AccountTabInvitations AccountTab = "invitations"
	AccountTabSecurity    AccountTab = "security"
)

func AccountTabFromString

func AccountTabFromString(value string) AccountTab

AccountTabFromString normalizes account tab query values to a supported page tab.

type AlertDestinationFormData

type AlertDestinationFormData struct {
	ErrorMessage   string
	InvalidField   string
	Name           string
	Slug           string
	Type           string
	To             string
	ConnectionSlug string
	Enabled        bool
}

AlertDestinationFormData stores sticky values for alert destination forms.

func AlertDestinationFormDataFromDestination

func AlertDestinationFormDataFromDestination(destination api.AlertDestination) AlertDestinationFormData

AlertDestinationFormDataFromDestination maps an API destination to edit form values.

func DefaultAlertDestinationFormData

func DefaultAlertDestinationFormData() AlertDestinationFormData

DefaultAlertDestinationFormData returns alert destination form defaults.

type AlertEditFormOverrides

type AlertEditFormOverrides struct {
	NotificationReturn  string
	DestinationSlug     string
	DestinationFormData AlertDestinationFormData
	PolicySlug          string
	PolicyFormData      AlertPolicyFormData
}

AlertEditFormOverrides carries sticky submitted values for failed edit forms.

func (AlertEditFormOverrides) DestinationFormDataFor

func (overrides AlertEditFormOverrides) DestinationFormDataFor(destination api.AlertDestination) AlertDestinationFormData

DestinationFormDataFor returns submitted edit values for the matching destination.

func (AlertEditFormOverrides) PolicyFormDataFor

func (overrides AlertEditFormOverrides) PolicyFormDataFor(policy api.AlertPolicy) AlertPolicyFormData

PolicyFormDataFor returns submitted edit values for the matching policy.

type AlertFormOption

type AlertFormOption = alertFormOption

type AlertPolicyDynamicOptions

type AlertPolicyDynamicOptions struct {
	Projects       []AlertFormOption
	Environments   []AlertFormOption
	SourceMetadata []api.AlertPolicySourceMetadata
	SourceRefs     []AlertFormOption
}

AlertPolicyDynamicOptions carries API-backed selector choices for the HTMX policy partial.

type AlertPolicyFormData

type AlertPolicyFormData struct {
	NotificationReturn string
	PolicyKind         string
	Name               string
	Slug               string
	Scope              string
	ProjectSlug        string
	EnvironmentSlug    string
	NotificationType   string
	Severity           string
	LifecycleState     string
	SourceKind         string
	SourceAction       string
	SourceRef          string
	DestinationSlugs   []string
	Enabled            bool
}

AlertPolicyFormData stores sticky values for alert policy forms.

func AlertPolicyFormDataForRender

func AlertPolicyFormDataForRender(form AlertPolicyFormData) AlertPolicyFormData

AlertPolicyFormDataForRender normalizes sticky form state for the selected policy kind.

func AlertPolicyFormDataFromPolicy

func AlertPolicyFormDataFromPolicy(policy api.AlertPolicy) AlertPolicyFormData

AlertPolicyFormDataFromPolicy maps an API policy to edit form values.

func DefaultAlertPolicyFormData

func DefaultAlertPolicyFormData() AlertPolicyFormData

DefaultAlertPolicyFormData returns alert policy form defaults.

type AlertPolicyKind

type AlertPolicyKind string
const (
	AlertPolicyKindNotificationType AlertPolicyKind = "notification_type"
	AlertPolicyKindSeverity         AlertPolicyKind = "severity"
	AlertPolicyKindSource           AlertPolicyKind = "source"
)

func AlertPolicyKindForForm

func AlertPolicyKindForForm(form AlertPolicyFormData) AlertPolicyKind

AlertPolicyKindForForm derives the selected UI routing mode from sticky or persisted fields.

type AlertPolicySelectorOptions

type AlertPolicySelectorOptions struct {
	NotificationTypes  []alertFormOption
	Severities         []alertFormOption
	LifecycleStates    []alertFormOption
	Projects           []alertFormOption
	Environments       []alertFormOption
	SourceKinds        []alertFormOption
	SourceActions      []alertFormOption
	SourceRefs         []alertFormOption
	ProjectEnabled     bool
	EnvironmentEnabled bool
	SourceRefEnabled   bool
}

func AlertPolicySelectorOptionsFor

func AlertPolicySelectorOptionsFor(
	form AlertPolicyFormData,
	dynamicOptions AlertPolicyDynamicOptions,
) AlertPolicySelectorOptions

AlertPolicySelectorOptionsFor returns form selector options filtered by the current policy scope.

type AlertTab

type AlertTab string
const (
	AlertTabDestinations AlertTab = "destinations"
	AlertTabPolicies     AlertTab = "policies"
)

func AlertTabFromString

func AlertTabFromString(value string) AlertTab

AlertTabFromString normalizes alert tab query values to a supported section.

type AuthenticatedShellData

type AuthenticatedShellData struct {
	NotificationReturnHref     string
	Title                      string
	Subtitle                   string
	ActiveOrganizationName     string
	CurrentPath                string
	ActiveOrganizationSlug     string
	Organizations              []ShellOrganizationOption
	ActiveProjectName          string
	ActiveProjectSlug          string
	Projects                   []ShellProjectOption
	ActiveEnvironmentName      string
	ActiveEnvironmentSlug      string
	ActiveEnvironmentColor     string
	ActiveEnvironmentProtected bool
	Environments               []ShellEnvironmentOption
	User                       ShellUserSummary
	NavItems                   []ShellNavItem
	Breadcrumbs                []BreadcrumbItem
	PageError                  string
	PageErrorDetails           string
	DocumentationURL           string
}

AuthenticatedShellData contains shared shell chrome data for authenticated pages.

type BreadcrumbItem struct {
	Label string
	Href  string
}

BreadcrumbItem represents one breadcrumb segment in the authenticated shell.

type BuilderBlueprintBinding

type BuilderBlueprintBinding struct {
	FromNode string
	FromPort string
	ToNode   string
	ToPort   string
}

type BuilderBlueprintEdge

type BuilderBlueprintEdge struct {
	From string
	To   string
}

type BuilderBlueprintNode

type BuilderBlueprintNode struct {
	Slug                    string
	Kind                    string
	X                       int
	Y                       int
	DataSourceSlug          string
	OperationType           string
	OperationInline         string
	QueryOutputContract     string
	QueryIncremental        string
	QuerySlug               string
	UseInlineSQL            bool
	UseInlineOperation      bool
	InlineSQL               string
	StepSlug                string
	StepName                string
	OriginalStep            string
	TransformOutputKind     string
	TransformSQL            string
	TransformInputs         string
	TransformInputContract  string
	TransformOutputContract string
	Parameters              string
	SinkBackend             string
	SinkDataSourceSlug      string
	SinkOperationType       string
	SinkOperationInline     string
	SinkIdempotencyClass    string
	SinkInputContract       string
	SinkUseInlineOperation  bool
	SinkQuerySlug           string
}

type BuilderBlueprintState

type BuilderBlueprintState struct {
	MemberSlug             string
	IsEmpty                bool
	IsValid                bool
	HasDraft               bool
	CanExecutePipeline     bool
	CanRun                 bool
	CanRefreshSchemas      bool
	CanCreatePipeline      bool
	ErrorCount             int
	ValidationIssues       []string
	SaveReason             string
	RunReason              string
	PipelineExample        string
	DeepLinkOrgSlug        string
	DeepLinkProjectSlug    string
	DeepLinkPipelineSlug   string
	TargetEnvironmentSlug  string
	TargetEnvironmentColor string

	HasImportedGraph     bool
	ImportedNodes        []BuilderBlueprintNode
	ImportedEdges        []BuilderBlueprintEdge
	ImportedBindings     []BuilderBlueprintBinding
	ImportedEdgeCount    int
	ImportedBindingCount int

	PipelineSlug             string
	PipelineName             string
	ExpectedVersionID        *string
	CurrentVersionID         *string
	DraftBasedOnVersionID    *string
	SaveURL                  string
	SourceFormat             string
	ExportFormat             string
	InitialPipelineSource    string
	ConnectorDescriptorsJSON string
	PaletteEntries           []BuilderPaletteEntry
	ProposalReview           *BuilderProposalReview
}

type BuilderPaletteEntry

type BuilderPaletteEntry struct {
	Group       string
	Kind        string
	NodeType    string
	Label       string
	Description string
}

type BuilderProposalReview

type BuilderProposalReview struct {
	MatchesCanonicalSource bool
	Repository             string
	InitiatingMember       string
	PublicationMode        string
	ProviderActor          string
	AuthoritySource        string
	Attribution            string
	SourcePath             string
	BaseRef                string
	BaseCommitSHA          string
	BranchName             string
	BranchHeadSHA          string
	DraftState             string
	ProposalProvider       string
	ProposalID             string
	ProposalURL            string
	ProposalState          string
	ProposalIsStale        bool
	ProviderSupported      bool
	StatusObservedAt       string
}

type BuilderRunEvidenceData

type BuilderRunEvidenceData struct {
	Runs        []api.PipelineRunMetadata
	SelectedRun string
	NextCursor  string
	HasCursor   bool
	Run         *api.PipelineRunRecord
	RunHref     string
	Message     string
	Nodes       []runlineage.Node
	Checks      []api.PipelineRunStructuralCheck
}

type ConnectionInfo

type ConnectionInfo struct {
	Type   string
	Fields []ConnectionInfoField
}

ConnectionInfo holds connection details extracted from data source config for display.

type ConnectionInfoField

type ConnectionInfoField struct {
	Key   string
	Value string
}

ConnectionInfoField stores one ordered connection detail for display.

type DashboardContractChecks

type DashboardContractChecks struct {
	Unavailable      bool
	Message          string
	Metrics          []DashboardMetric
	Issues           []DashboardInventoryIssue
	HiddenIssueCount int
	Href             string
}

DashboardContractChecks summarizes target environment binding coverage for aggregate project ref views.

type DashboardData

type DashboardData struct {
	Onboarding          DashboardOnboarding
	Permissions         OrganizationPermissions
	ProjectScope        DashboardProjectScope
	IncidentQueue       DashboardRunQueue
	RecentRuns          DashboardRecentRuns
	PipelineStatus      DashboardPipelineStatus
	DataSourceReadiness DashboardDataSourceReadiness
	QueryInventory      DashboardQueryInventory
	ContractChecks      DashboardContractChecks
}

DashboardData is the server-rendered contract for the command-center aggregate surface.

type DashboardDataSourceReadiness

type DashboardDataSourceReadiness struct {
	Unavailable      bool
	Message          string
	Metrics          []DashboardMetric
	Issues           []DashboardInventoryIssue
	HiddenIssueCount int
	Href             string
}

DashboardDataSourceReadiness summarizes organization-scoped connector readiness.

type DashboardInventoryIssue

type DashboardInventoryIssue struct {
	Label  string
	Detail string
	Kind   string
	Href   string
}

DashboardInventoryIssue is a short linked issue row for inventory and contract panels.

type DashboardMetric

type DashboardMetric struct {
	Label  string
	Value  string
	Detail string
	Kind   string
	Href   string
}

DashboardMetric is a compact real value displayed inside one dashboard panel.

type DashboardOnboarding

type DashboardOnboarding struct {
	HasProject               bool
	HasSuccessfulConnection  bool
	HasSuccessfulResult      bool
	FirstResultUnavailable   bool
	HasSuccessfulPipelineRun bool
	ProjectsHref             string
	ProjectSetupHref         string
	DataSourcesHref          string
	QueriesHref              string
	PipelinesHref            string
	TutorialHref             string
}

DashboardOnboarding derives the fresh-workspace checklist from existing product state.

type DashboardOnboardingStep

type DashboardOnboardingStep struct {
	Label           string
	Description     string
	Action          string
	CompletedAction string
	Href            string
	Done            bool
	Current         bool
}

DashboardOnboardingStep is one permission-aware next step.

func DashboardOnboardingSteps

func DashboardOnboardingSteps(data DashboardData) []DashboardOnboardingStep

DashboardOnboardingSteps returns the fixed setup sequence without storing separate progress.

type DashboardPipelineStatus

type DashboardPipelineStatus struct {
	Unavailable            bool
	Message                string
	DeploymentsUnavailable bool
	Metrics                []DashboardMetric
	Href                   string
}

DashboardPipelineStatus summarizes project pipeline deployment state for the selected runtime target.

type DashboardProjectScope

type DashboardProjectScope struct {
	ActiveProjectSlug          string
	ActiveProjectName          string
	ActiveEnvironmentSlug      string
	ActiveEnvironmentName      string
	ActiveEnvironmentColor     string
	ActiveEnvironmentProtected bool
	Projects                   []DashboardScopeProjectOption
	Environments               []DashboardScopeEnvironmentOption
	ProjectsUnavailable        bool
	EnvironmentsUnavailable    bool
	Message                    string
	EnvironmentMessage         string
	HasPipelineBackend         bool
}

DashboardProjectScope is the dashboard-local project and runtime target selection.

type DashboardQueryInventory

type DashboardQueryInventory struct {
	Unavailable bool
	Message     string
	Metrics     []DashboardMetric
	Href        string
}

DashboardQueryInventory summarizes saved query coverage over the current organization data sources.

type DashboardRecentRuns

type DashboardRecentRuns struct {
	Runs        []DashboardRunSummary
	Unavailable bool
	Message     string
	WindowLabel string
	Metrics     []DashboardMetric
	HasMore     bool
	Href        string
}

DashboardRecentRuns summarizes the latest loaded run window for the target runtime.

type DashboardRunQueue

type DashboardRunQueue struct {
	Unavailable bool
	Message     string
	Runs        []DashboardRunSummary
	HasMore     bool
	Href        string
}

DashboardRunQueue summarizes failed runs that need operator attention.

type DashboardRunSummary

type DashboardRunSummary struct {
	RunSlug       string
	PipelineSlug  string
	Status        api.PipelineRunMetadataStatus
	StartedAt     api.Timestamp
	DurationMs    int64
	ErrorSummary  string
	FailureKind   string
	SourceSummary string
	Href          string
	PipelineHref  string
}

DashboardRunSummary is the dashboard-sized projection of pipeline run metadata.

type DashboardScopeEnvironmentOption

type DashboardScopeEnvironmentOption struct {
	Slug      string
	Name      string
	Color     string
	Protected bool
	Href      string
	IsActive  bool
	IsDefault bool
}

DashboardScopeEnvironmentOption is one runtime target choice for the selected project scope.

type DashboardScopeProjectOption

type DashboardScopeProjectOption struct {
	Slug     string
	Name     string
	Href     string
	IsActive bool
}

DashboardScopeProjectOption is one project choice for project-backed dashboard panels.

type DataSourceBindingCell

type DataSourceBindingCell struct {
	EnvironmentSlug      string
	EnvironmentName      string
	EnvironmentColor     string
	EnvironmentProtected bool
	State                string
	StateLabel           string
	StateClass           string
	StateDescription     string
	HasBinding           bool
	Binding              api.DataSourceBinding
	InvalidReasons       []string
	Options              []DataSourceBindingOption
}

DataSourceBindingCell describes one logical ref/environment binding state and available actions.

type DataSourceBindingOption

type DataSourceBindingOption struct {
	Slug       string
	Name       string
	Type       string
	Label      string
	IsActive   bool
	IsReadOnly bool
	Compatible bool
	Selected   bool
}

DataSourceBindingOption is one concrete data-source candidate for binding selectors.

type DataSourceBindingRow

type DataSourceBindingRow struct {
	PipelineSlug         string
	RefSlug              string
	RefName              string
	DataSourceType       string
	OperationTypes       []string
	Capabilities         []string
	RequiredCapabilities []api.DataSourceRefCapability
	RefAvailable         bool
	CapabilityMismatch   bool
	Cells                []DataSourceBindingCell
}

DataSourceBindingRow joins one logical ref requirement with every enabled project environment.

func PipelineBindingRequirements

func PipelineBindingRequirements(pipeline *api.Pipeline, projectRefs []api.DataSourceRef) []DataSourceBindingRow

PipelineBindingRequirements extracts distinct query and sink logical refs in spec order.

func PipelineBindingRows

func PipelineBindingRows(pipeline *api.Pipeline, bindingContext PipelineBindingContext) []DataSourceBindingRow

PipelineBindingRows derives pipeline-required logical refs from the canonical spec projection.

func ProjectBindingRequirements

func ProjectBindingRequirements(projectContext ProjectOperationalContext) []DataSourceBindingRow

ProjectBindingRequirements extracts distinct logical refs from every loaded project pipeline spec.

func ProjectBindingRows

func ProjectBindingRows(projectContext ProjectOperationalContext) []DataSourceBindingRow

ProjectBindingRows returns editable binding rows for refs required by project pipeline specs.

type DataSourceCreateFormData

type DataSourceCreateFormData struct {
	ShowCreateForm              bool
	SSLMode                     string
	HTTPAuth                    HTTPAuthFormData
	WorkspacePrivacyURL         string
	WorkspaceReadOnly           bool
	BigQueryReadOnly            bool
	Name                        string
	Slug                        string
	Type                        string
	GitAuthType                 string
	GitLabProjectID             string
	GitLabRepositories          []api.ProviderRepository
	GitLabConnectionAvailable   bool
	GitLabRepositoryError       string
	GitLabReadOnly              bool
	GitHubRepositoryID          string
	GitHubRepositories          []api.GitHubAppRepository
	GitHubConnectionAvailable   bool
	GitHubReadOnly              bool
	HubSpotAuthType             string
	HubSpotReadOnly             bool
	SnowflakeAuthType           string
	SnowflakeSelectTables       string
	SnowflakeInsertTables       string
	Host                        string
	Port                        string
	Database                    string
	Account                     string
	Warehouse                   string
	Schema                      string
	Role                        string
	ProjectID                   string
	Location                    string
	DefaultDataset              string
	MaximumBytesBilled          string
	ServiceAccountJSON          string
	Username                    string
	GitUsername                 string
	GitToken                    string
	GitRepoURL                  string
	GitBasePath                 string
	GitBranch                   string
	GitPrivateKey               string
	GitKnownHosts               string
	GitPassphrase               string
	GitAllowPrivateHosts        bool
	DatabaseAllowPrivateHosts   bool
	AllowPrivateDataSourceHosts bool
	ConnectTimeout              string
	AuthDatabase                string
	S3Endpoint                  string
	S3Region                    string
	S3Bucket                    string
	S3Prefix                    string
	S3ForcePathStyle            bool
	S3AllowPrivateHosts         bool
	BaseURL                     string
	HealthPath                  string
	TimeoutSeconds              string
	OpenAPIURL                  string
	OpenAPIFetchTimeout         string
	HTTPAllowPrivateHosts       bool
	PrivateAppToken             string
	TestMessage                 string
	TestSuccess                 bool
	InvalidField                string
}

DataSourceCreateFormData stores sticky values for the datasource create form.

func DefaultDataSourceCreateFormData

func DefaultDataSourceCreateFormData() DataSourceCreateFormData

func (DataSourceCreateFormData) HasInput

func (f DataSourceCreateFormData) HasInput() bool

HasInput reports whether the create form has user-entered or feedback state that should keep it visible.

type DataSourceFormFields

type DataSourceFormFields struct {
	HTTPAuth HTTPAuthFormData
	OrgSlug  string
	Name     string
	Slug     string
	// Common
	DSType                    api.DataSourceType
	Host                      string
	Port                      string
	Database                  string
	Username                  string
	Password                  string
	DatabaseAllowPrivateHosts bool

	// PostgreSQL
	SSLMode string

	// MongoDB
	AuthDatabase string

	// BigQuery
	ProjectID          string
	Location           string
	DefaultDataset     string
	MaximumBytesBilled string
	ServiceAccountJSON string

	// Snowflake
	Account               string
	Warehouse             string
	Schema                string
	Role                  string
	SnowflakeAuthType     string
	SnowflakeSelectTables string
	SnowflakeInsertTables string

	// HTTP
	BaseURL               string
	HealthPath            string
	OpenAPIURL            string
	OpenAPIFetchTimeout   string
	BearerToken           string
	TimeoutSeconds        string
	PrivateAppToken       string
	HubSpotReadOnly       bool
	HTTPAllowPrivateHosts bool

	// Git-like
	GitRepoURL                  string
	GitDefaultBranch            string
	GitBasePath                 string
	GitAuthType                 string
	GitUsername                 string
	GitToken                    string
	GitSSHPrivateKey            string
	GitSSHKnownHosts            string
	GitSSHPassphrase            string
	GitAllowPrivateHosts        bool
	AllowPrivateDataSourceHosts bool
}

DataSourceFormFields holds the current field values for the datasource creation form.

type DataSourceListFilterOption

type DataSourceListFilterOption struct {
	Value string
	Label string
}

DataSourceListFilterOption describes one operator-facing data-source filter.

func DataSourceListFilterOptions

func DataSourceListFilterOptions() []DataSourceListFilterOption

DataSourceListFilterOptions returns the filter tabs supported by the inventory.

type DataSourceOperationsPanelData

type DataSourceOperationsPanelData struct {
	Queries []api.Query
	HasMore bool
	Error   string
}

DataSourceOperationsPanelData holds the first page of saved queries for a source.

type DataSourcePageFeedback

type DataSourcePageFeedback struct {
	Message string
	Kind    string
}

DataSourcePageFeedback carries safe, top-level feedback for datasource workflows.

func DataSourceOAuthFeedback

func DataSourceOAuthFeedback(outcome string) DataSourcePageFeedback

DataSourceOAuthFeedback maps callback outcomes to safe operator-facing copy.

type DataSourceSchemaPanelData

type DataSourceSchemaPanelData struct {
	Operations []api.OperationInfo
	Status     api.DataSourceSchemaStatus
	Title      string
	Lines      []string
	Error      string
}

DataSourceSchemaPanelData carries cache-only schema browser state for SSR detail panels.

func DefaultDataSourceSchemaPanelData

func DefaultDataSourceSchemaPanelData() DataSourceSchemaPanelData

DefaultDataSourceSchemaPanelData returns the cold-cache schema browser state.

type DataSourceUpdateFormData

type DataSourceUpdateFormData struct {
	SSLMode                     string
	WorkspacePrivacyURL         string
	Name                        string
	Type                        string
	ManagedProvider             bool
	ProviderSelectionPending    bool
	ProviderRepositories        []api.ProviderRepository
	ProviderRepositoryLoadError string
	ProviderRepositoryID        string
	ProviderRepositoryName      string
	ProviderRepositoryURL       string
	HubSpotReadOnly             bool
	GitAuthType                 string
	SnowflakeAuthType           string
	SnowflakeSelectTables       string
	SnowflakeInsertTables       string
	Host                        string
	Port                        string
	Database                    string
	Account                     string
	Warehouse                   string
	Schema                      string
	Role                        string
	ProjectID                   string
	Location                    string
	DefaultDataset              string
	MaximumBytesBilled          string
	GitUsername                 string
	GitRepoURL                  string
	GitBasePath                 string
	GitBranch                   string
	GitPrivateKey               string
	GitKnownHosts               string
	GitPassphrase               string
	GitAllowPrivateHosts        bool
	DatabaseAllowPrivateHosts   bool
	AllowPrivateDataSourceHosts bool
	ConnectTimeout              string
	AuthDatabase                string
	BaseURL                     string
	HealthPath                  string
	TimeoutSeconds              string
	OpenAPIURL                  string
	OpenAPIFetchTimeout         string
	HTTPAllowPrivateHosts       bool
	PrivateAppToken             string
	ServiceAccountJSON          string
	S3Endpoint                  string
	S3Region                    string
	S3Bucket                    string
	S3Prefix                    string
	S3ForcePathStyle            bool
	S3AllowPrivateHosts         bool
}

DataSourceUpdateFormData stores sticky values for data source update forms.

type DefinitionInspection

type DefinitionInspection struct {
	Authority, Hash, Message, Notice, Commit, Created, SelectedStep string
	Spec                                                            *api.PipelineSpec
}

type EnvironmentBindingMatrixCell

type EnvironmentBindingMatrixCell struct {
	EnvironmentSlug  string
	EnvironmentColor string
	DataSourceSlug   string
	DataSourceName   string
	DataSourceType   string
	IsBound          bool
	IsActive         bool
	IsReadOnly       bool
}

type EnvironmentBindingMatrixRow

type EnvironmentBindingMatrixRow struct {
	RefSlug        string
	RefName        string
	PipelineSlug   string
	DataSourceType string
	Capabilities   []string
	Cells          []EnvironmentBindingMatrixCell
}

func EnvironmentBindingMatrixRows

func EnvironmentBindingMatrixRows(
	refs []api.DataSourceRef,
	environments []api.ProjectEnvironment,
	bindings map[string][]api.DataSourceBinding,
) []EnvironmentBindingMatrixRow

type EnvironmentColorOption

type EnvironmentColorOption struct {
	Value    string
	Label    string
	Class    string
	Selected bool
}

EnvironmentColorOption describes one selectable runtime environment palette color.

func EnvironmentColorOptions

func EnvironmentColorOptions(selected string) []EnvironmentColorOption

EnvironmentColorOptions returns the controlled palette used by environment forms.

type EnvironmentCreateFormData

type EnvironmentCreateFormData struct {
	Name        string
	Slug        string
	Description string
	Color       string
	Protected   bool
}

func DefaultEnvironmentCreateFormData

func DefaultEnvironmentCreateFormData() EnvironmentCreateFormData

func (EnvironmentCreateFormData) HasInput

func (form EnvironmentCreateFormData) HasInput() bool

type EventFilters

type EventFilters struct {
	EventClass     string
	ActorType      string
	ActorSlug      string
	EntityType     string
	EntitySlug     string
	Action         string
	RequestID      string
	OccurredFrom   string
	OccurredBefore string
}

type HTTPAcknowledgementFormData

type HTTPAcknowledgementFormData struct {
	Enabled     bool
	StatusCodes string
	Success     []QueryKeyValueFormData
	EmptyFields []string
	Error       string
}

type HTTPAuthFormData

type HTTPAuthFormData struct {
	Mode                  string
	Issuer                string
	AuthorizationEndpoint string
	TokenEndpoint         string
	RevocationEndpoint    string
	ClientID              string
	Scopes                string
	Audience              string
}

HTTPAuthFormData preserves only non-secret draft app settings after validation errors.

type MemberInvitationActionState

type MemberInvitationActionState struct {
	Token         string
	Success       string
	ErrorSummary  string
	ErrorDetails  string
	Invitation    *api.MemberInvitation
	Member        *api.Member
	Declined      bool
	MissingToken  bool
	InvalidReason string
}

MemberInvitationActionState stores the authenticated invitation landing outcome.

type MemberInviteFormData

type MemberInviteFormData struct {
	Email string
	Role  string
}

MemberInviteFormData stores sticky values for the invite member form.

func DefaultMemberInviteFormData

func DefaultMemberInviteFormData() MemberInviteFormData

type MemberRoleFormData

type MemberRoleFormData struct {
	UserSlug string
	Role     string
}

MemberRoleFormData keeps a failed role edit separate from the persisted role badge.

func (MemberRoleFormData) RoleFor

func (f MemberRoleFormData) RoleFor(member api.Member) string

type NotificationConnectionFormData

type NotificationConnectionFormData struct {
	Name string
	Slug string
}

type NotificationFilters

type NotificationFilters struct {
	Cursor           string
	Direction        string
	State            string
	NotificationType string
	Severity         string
}

func NormalizeNotificationFilters

func NormalizeNotificationFilters(filters NotificationFilters) NotificationFilters

NormalizeNotificationFilters coerces tab and filter values into supported display states.

type ODCSCatalogObject

type ODCSCatalogObject struct {
	SchemaObjectID string
	DocumentValid  bool
	Shape          *payload.Contract
	Diagnostics    []odcs.Diagnostic
}

Keep full-document coverage out of the catalog's per-object view state.

type ODCSCatalogView

type ODCSCatalogView struct {
	DefinitionReturn                                                 string
	Impact                                                           *api.ODCSRevisionImpact
	CompareRevision, FromPipeline, FromPlan, ToPipeline, ToPlan      string
	FromInput, ToInput                                               string
	ImpactError                                                      string
	Org, Project, Contract, Revision, Section, Error, ConsumersError string
	Object                                                           string
	Inspection                                                       *api.ODCSRevisionInspection
	Document                                                         string
	Coverage                                                         []api.ODCSDeclarationCoverage
	CoveragePage                                                     int
	CoverageMore                                                     bool
	Selector                                                         bool
	Contracts                                                        []api.ODCSContract
	Revisions                                                        []api.ODCSRevisionMetadata
	Metadata                                                         *api.ODCSRevisionMetadata
	Objects                                                          []ODCSCatalogObject
	Consumers                                                        []api.ODCSConsumerImpact
	NextContracts, NextRevisions                                     *string
}

type OrganizationCreateFormData

type OrganizationCreateFormData struct {
	Slug        string
	Name        string
	Description string
}

OrganizationCreateFormData stores sticky values for organization creation forms.

func DefaultOrganizationCreateFormData

func DefaultOrganizationCreateFormData() OrganizationCreateFormData

type OrganizationPermissions

type OrganizationPermissions struct {
	// contains filtered or unexported fields
}

OrganizationPermissions exposes effective org-scoped permissions to templates.

func DefaultOrganizationPermissions

func DefaultOrganizationPermissions() OrganizationPermissions

func NewOrganizationPermissions

func NewOrganizationPermissions(values ...string) OrganizationPermissions

func (OrganizationPermissions) Can

func (p OrganizationPermissions) Can(resource, action string) bool

type PipelineBindingContext

type PipelineBindingContext struct {
	DataSourceRefs                 []api.DataSourceRef
	Environments                   []api.ProjectEnvironment
	Bindings                       map[string][]api.DataSourceBinding
	DataSources                    []api.DataSource
	BindingUnavailableEnvironments map[string]bool
	RefsUnavailable                bool
	EnvironmentsUnavailable        bool
	BindingsUnavailable            bool
	DataSourcesUnavailable         bool
}

PipelineBindingContext carries pipeline-owned refs and project environment bindings for detail views.

type PipelineBindingSetupView

type PipelineBindingSetupView struct {
	Org, Project, Pipeline, Environment, SpecHash, ReturnHref, Error string
	Definition                                                       *api.Pipeline
	Bindings                                                         PipelineBindingContext
	Permissions                                                      OrganizationPermissions
	ValidationResults                                                []api.PipelineValidationResultRecord
	ValidationUnavailable                                            bool
}

type PipelineCatalogFilters

type PipelineCatalogFilters struct {
	Query           string
	SyncStatus      string
	DraftState      string
	DeploymentState string
	RunStatus       string
	Cursor          string
	Direction       string
}

PipelineCatalogFilters carries SSR filter values for the visible pipeline catalog.

func DefaultPipelineCatalogFilters

func DefaultPipelineCatalogFilters() PipelineCatalogFilters

DefaultPipelineCatalogFilters returns the unfiltered catalog state.

type PipelineCatalogRow

type PipelineCatalogRow struct {
	Pipeline     api.PipelineRef
	Deployments  []PipelineDeploymentBadge
	LatestRun    PipelineLatestRunSummary
	HasLatestRun bool
}

PipelineCatalogRow joins pipeline metadata with deployment and latest-run display state.

func PipelineCatalogRows

func PipelineCatalogRows(pipelines []api.PipelineRef, deployments map[string][]PipelineDeploymentBadge, latestRuns map[string]PipelineLatestRunSummary, filters PipelineCatalogFilters) []PipelineCatalogRow

PipelineCatalogRows joins and filters pipeline rows for the SSR catalog view.

type PipelineConnectionEdge

type PipelineConnectionEdge struct {
	TriggerSlug string
	TriggerHref string
	Revision    int64
	Condition   string
	State       string
	From        string
	To          string
	Path        string
	ArrowPoints string
	LabelX      int
	LabelY      int
}

type PipelineConnectionNode

type PipelineConnectionNode struct {
	Selected bool
	Slug     string
	Href     string
	X        int
	Y        int
}

type PipelineConnections

type PipelineConnections struct {
	Nodes        []PipelineConnectionNode
	Edges        []PipelineConnectionEdge
	Unavailable  bool
	Partial      bool
	Truncated    bool
	CatalogHref  string
	Message      string
	CanvasWidth  int
	CanvasHeight int
}

PipelineConnections is the current, environment-scoped completion-trigger topology. It deliberately contains definitions, not execution evidence.

type PipelineCreationListData

type PipelineCreationListData struct {
	Org, Project, Environment, Error string
	Page                             *api.PipelineCreationProposalListResponse
}

type PipelineCreationProgressData

type PipelineCreationProgressData struct {
	Org, Project, Environment, Error, VersionError string
	Creation                                       *api.PipelineCreationProposal
	VersionAvailable, CanRetry                     bool
}

type PipelineDeployView

type PipelineDeployView struct {
	Compiled                            *api.PipelineCompiledPlan
	CompiledDigest, ResolutionDigest    string
	ProjectionJSON                      string
	ResourceScopesJSON                  string
	ExpectedRevision                    int64
	Org, Project, Pipeline, Environment string
	Version                             *api.PipelineVersion
	Environments                        []api.ProjectEnvironment
	Protected                           bool
	Current                             *api.PipelineDeployment
	Deployed                            *api.PipelineDeployment
	Error                               string
	CanDeploy                           bool
	CanCompile                          bool
}

type PipelineDeploymentBadge

type PipelineDeploymentBadge struct {
	PipelineSlug     string
	EnvironmentSlug  string
	EnvironmentColor string
	ShortSpecHash    string
	FullSpecHash     string
	DeployedAt       string
}

PipelineDeploymentBadge is the compact environment/version label rendered in catalog surfaces.

type PipelineLatestRunSummary

type PipelineLatestRunSummary struct {
	EnvironmentSlug string
	RunSlug         string
	Status          api.PipelineRunMetadataStatus
	CreatedAt       api.Timestamp
	StartedAt       api.Timestamp
	DurationMs      int64
	ErrorSummary    *string
}

PipelineLatestRunSummary is the small run read model needed by pipeline catalog/detail surfaces.

type PipelineRunPreview

type PipelineRunPreview struct {
	Runs               []api.PipelineRunMetadata
	SelectedSlug       string
	LatestSlug         string
	Run                *api.PipelineRunRecord
	Lineage            runlineage.View
	Message            string
	HistoryUnavailable bool
}

type PipelineRunSelectedDetail

type PipelineRunSelectedDetail struct {
	Slug         string
	Run          *api.PipelineRunRecord
	ErrorSummary string
}

PipelineRunSelectedDetail carries the right-panel run detail state on the runs page.

type PipelineRunSinkOutputView

type PipelineRunSinkOutputView struct {
	Visible       bool
	Available     bool
	Step          string
	DataSource    string
	Operation     string
	LocationLabel string
	TargetPath    string
	FileMetadata  string
	RowCount      *int
}

PipelineRunSinkOutputView carries safe final sink output metadata for run detail.

type PipelineScheduleFilters

type PipelineScheduleFilters struct {
	PipelineSlug string
	Enabled      string
}

PipelineScheduleFilters captures schedule list filters preserved through HTMX links.

type PipelineScheduleSelectedDetail

type PipelineScheduleSelectedDetail struct {
	CompletionPreview                    *api.PipelineDeployment
	CompletionPreviewError               string
	Slug                                 string
	Trigger                              *api.PipelineTrigger
	Fires                                []api.PipelineScheduleFire
	FiresHasMore                         bool
	FiresNextCursor                      string
	FiresPrevCursor                      string
	FireCursor                           string
	FireDirection                        string
	FireHistoryUnavailable               bool
	FireHistoryErrorSummary              string
	FireHistoryErrorDetails              string
	FireHistoryErrorDetailsSanitized     bool
	Deliveries                           []api.PipelineWebhookDelivery
	DeliveriesHasMore                    bool
	DeliveriesNextCursor                 string
	DeliveriesPrevCursor                 string
	DeliveryHistoryUnavailable           bool
	DeliveryHistoryErrorSummary          string
	DeliveryHistoryErrorDetails          string
	DeliveryHistoryErrorDetailsSanitized bool
	DeliveryActionSuccess                string
	DeliveryActionError                  string
	ErrorStatus                          int
	ErrorSummary                         string
	ErrorDetails                         string
	ErrorDetailsSanitized                bool
}

PipelineScheduleSelectedDetail carries the right-panel schedule configuration and fire history.

type PipelineSelectedDetail

type PipelineSelectedDetail struct {
	Slug                   string
	Pipeline               *api.Pipeline
	Deployments            []PipelineDeploymentBadge
	DeploymentsUnavailable bool
	LatestRun              PipelineLatestRunSummary
	HasLatestRun           bool
	LatestRunUnavailable   bool
	ValidationResults      []api.PipelineValidationResultRecord
	ValidationUnavailable  bool
	BindingContext         PipelineBindingContext
	UpdateFormData         PipelineUpdateFormData
	ErrorSummary           string
	ErrorDetails           string
}

PipelineSelectedDetail carries the right-panel pipeline detail state on the catalog page.

type PipelineSpecContractSlot

type PipelineSpecContractSlot struct {
	Label    string
	Contract *api.PipelineSchemaContract
	Ref      *api.PipelineODCSContractRef
}

PipelineSpecContractSlot keeps the declared role of a contract on a step.

type PipelineSpecInputProjection

type PipelineSpecInputProjection struct {
	Name     string
	FromStep string
}

PipelineSpecInputProjection describes one explicit upstream step reference.

type PipelineSpecProjection

type PipelineSpecProjection struct {
	SourceSteps    []PipelineSpecStepProjection
	TransformSteps []PipelineSpecStepProjection
	SinkSteps      []PipelineSpecStepProjection
	DecodeIssues   []string
	TotalSteps     int
}

PipelineSpecProjection is the read-only display model for a canonical pipeline spec.

func PipelineSpecProjectionFromPipeline

func PipelineSpecProjectionFromPipeline(pipeline *api.Pipeline) PipelineSpecProjection

PipelineSpecProjectionFromPipeline projects generated API step unions into stable view data.

type PipelineSpecStepProjection

type PipelineSpecStepProjection struct {
	SpecPosition     int
	Kind             string
	KindLabel        string
	Slug             string
	Name             string
	DataSourceSlug   string
	OperationType    string
	OperationRef     string
	OperationMode    string
	OperationLabel   string
	OperationInline  string
	Parameters       string
	SQL              string
	OutputKind       string
	IdempotencyClass string
	Inputs           []PipelineSpecInputProjection
	ContractSlots    []PipelineSpecContractSlot
}

PipelineSpecStepProjection contains the operator-facing fields for one canonical step.

type PipelineSyncView

type PipelineSyncView struct {
	Org, Project, Pipeline, Environment string
	Backend                             *api.ProjectPipelineBackend
	Report                              *api.PipelineReconcileResponse
	Error                               string
}

type PipelineUpdateFormData

type PipelineUpdateFormData struct {
	Name        string
	ConfirmSlug string
}

func DefaultPipelineUpdateFormData

func DefaultPipelineUpdateFormData() PipelineUpdateFormData

func PipelineUpdateFormDataFromPipeline

func PipelineUpdateFormDataFromPipeline(pipeline api.Pipeline) PipelineUpdateFormData

type PipelineValidationContextRow

type PipelineValidationContextRow struct {
	Label string
	Value string
}

PipelineValidationContextRow is one compact diagnostic context key/value row.

type ProjectCreateFormData

type ProjectCreateFormData struct {
	Name string
	Slug string
}

ProjectCreateFormData carries sticky form values for project creation.

func DefaultProjectCreateFormData

func DefaultProjectCreateFormData() ProjectCreateFormData

DefaultProjectCreateFormData returns an empty project create form.

func (ProjectCreateFormData) HasInput

func (form ProjectCreateFormData) HasInput() bool

HasInput reports whether the project create form should stay open after validation feedback.

type ProjectOperationalContext

type ProjectOperationalContext struct {
	Environments                   []api.ProjectEnvironment
	EnvironmentsUnavailable        bool
	Catalog                        []api.Environment
	CatalogUnavailable             bool
	Pipelines                      []api.PipelineRef
	PipelineDetails                []api.Pipeline
	PipelinesUnavailable           bool
	PipelineDetailsUnavailable     bool
	DataSourceRefs                 []api.DataSourceRef
	Bindings                       map[string][]api.DataSourceBinding
	DataSources                    []api.DataSource
	BindingUnavailableEnvironments map[string]bool
	BindingsUnavailable            bool
	DataSourcesUnavailable         bool
}

ProjectOperationalContext carries read-only project-scoped workflow state for project summary pages.

type ProjectPipelineBackendBranchOption

type ProjectPipelineBackendBranchOption struct {
	Name      string
	Label     string
	IsDefault bool
	IsMissing bool
}

ProjectPipelineBackendBranchOption describes a branch choice shown in the project backend form.

func ProjectPipelineBackendBranchOptions

func ProjectPipelineBackendBranchOptions(
	project api.Project,
	controls ProjectPipelineBackendControls,
	selectedDataSourceSlug string,
) []ProjectPipelineBackendBranchOption

ProjectPipelineBackendBranchOptions returns loaded branch choices for the selected Git data source.

type ProjectPipelineBackendControls

type ProjectPipelineBackendControls struct {
	RepositoryProvider       string
	RepositorySetup          *api.ProjectRepositorySetup
	PreviousRepositorySetup  *api.ProjectRepositorySetup
	PreviousSetupLoadError   string
	RepositorySetupLoadError string
	PipelineDir              string
	ProviderOwner            string
	RepositoryName           string
	CreationBranch           string
	DataSourceOptions        []ProjectPipelineBackendDataSourceOption
	Branches                 []api.DataSourceBranch
	BranchesPending          bool
	SelectedDataSource       string
	SelectedBranch           string
	DataSourceLoadError      string
	BranchLoadError          string
	DataSourceLoadDetails    string
	BranchLoadDetails        string
}

ProjectPipelineBackendControls carries backend source and branch choices for the selected project.

type ProjectPipelineBackendDataSourceOption

type ProjectPipelineBackendDataSourceOption struct {
	Slug          string
	Name          string
	Type          string
	RepoURL       string
	DefaultBranch string
}

ProjectPipelineBackendDataSourceOption describes a Git-family data source that can back project pipeline specs.

func ProjectPipelineBackendDataSourceOptions

func ProjectPipelineBackendDataSourceOptions(dataSources []api.DataSource) []ProjectPipelineBackendDataSourceOption

ProjectPipelineBackendDataSourceOptions filters organization data sources to the Git-family backend choices.

type ProjectPipelineBackendExternalLink struct {
	Label string
	Href  string
}

ProjectPipelineBackendExternalLink describes a browser link to the project backend repository.

func ProjectPipelineBackendExternalURL

func ProjectPipelineBackendExternalURL(
	project api.Project,
	controls ProjectPipelineBackendControls,
) *ProjectPipelineBackendExternalLink

ProjectPipelineBackendExternalURL returns a browser-friendly repo link for GitHub/GitLab backends.

type QueryEditorFormData

type QueryEditorFormData struct {
	WorkspaceResource      string
	WorkspaceSpreadsheetID string
	WorkspaceFileID        string
	WorkspaceFolderID      string
	WorkspaceDriveID       string
	WorkspaceName          string
	WorkspaceFormat        string
	WorkspaceMatchText     string
	WorkspaceContent       string
	WorkspaceMIMEType      string
	WorkspacePageToken     string
	WorkspaceDelimiter     string
	WorkspaceHasHeader     string

	WorkspaceWorksheetID string
	WorkspaceRange       string
	WorkspaceOperation   string
	WorkspaceColumns     string
	WorkspaceRows        string
	Name                 string
	Slug                 string
	Description          string
	RowLimit             string
	TimeoutSeconds       string
	Parameters           []QueryParameterFormData

	// StatementType is the data source statement discriminator used to select the editor in templates.
	StatementType string

	// Statement stores SQL text or the complete S3 operation JSON.
	Statement string
	SQLFormat string

	// HTTP-specific fields (for http type)
	HTTPMethod          string
	HTTPPath            string
	HTTPQueryParamRows  []QueryKeyValueFormData
	HTTPHeaderRows      []QueryKeyValueFormData
	HTTPBody            string // JSON or empty
	HTTPAcknowledgement HTTPAcknowledgementFormData
	HTTPPagination      string
	HTTPWriteRetry      string

	// MongoDB-specific fields (for mongodb type)
	MongoCollection string
	MongoOperation  string
	MongoFilter     string // JSON object or empty
	MongoSort       string // JSON object or empty
	MongoProjection string // JSON object or empty
	MongoLimitValue string // integer as string or empty
	MongoDocument   string // JSON object or empty

	// HubSpot-specific fields (for hubspot type)
	HubSpotObjectType   string
	HubSpotOperation    string
	HubSpotProperties   string
	HubSpotQuery        string
	HubSpotAfter        string
	HubSpotSorts        string
	HubSpotFilterGroups string
	HubSpotIDProperty   string
	HubSpotMapping      string
	HubSpotRows         string

	// FTP-specific fields (for ftp type)
	FTPPath      string
	FTPOperation string // "read" or "write"
	FTPFormat    string // "auto", "csv", "json", or "spreadsheet"
	FTPDelimiter string // single character, optional
	FTPHasHeader bool
	FTPSheet     string
	FTPRange     string
	FTPOverwrite bool
	FTPContent   string

	// S3-specific fields (for s3 type)
	S3Bucket    string
	S3Key       string
	S3Operation string // "read"
	S3Format    string // "auto", "csv", "json", "file", or "spreadsheet"
	S3Delimiter string // single character, optional
	S3HasHeader bool
	S3Sheet     string
	S3Range     string

	// Git-specific fields (for git type)
	GitPath      string
	GitOperation string // "read" or "write"
	GitFormat    string // "auto", "csv", "json", "file", or "spreadsheet"
	GitDelimiter string // single character, optional
	GitHasHeader bool
	GitSheet     string
	GitRange     string
	GitBranch    string // branch, tag, or commit SHA
	GitMessage   string // commit message for write operations
	GitContent   string
}

QueryEditorFormData stores sticky values for create/edit query forms.

func DefaultQueryEditorFormData

func DefaultQueryEditorFormData() QueryEditorFormData

func QueryEditorFormDataFromQuery

func QueryEditorFormDataFromQuery(query api.Query) QueryEditorFormData

QueryEditorFormDataFromQuery maps a saved API query into sticky form values.

type QueryExecutionResultView

type QueryExecutionResultView struct {
	QuerySlug  string
	Type       string
	Success    bool
	DurationMs int
	Error      string
	Columns    []string
	Rows       []map[string]string
	Summary    []string
	Raw        string
}

QueryExecutionResultView represents execution result data rendered on the query page.

type QueryKeyValueFormData

type QueryKeyValueFormData struct {
	Key   string
	Value string
}

QueryKeyValueFormData stores a key-value row for HTTP params/headers editors.

type QueryParameterFormData

type QueryParameterFormData struct {
	Name         string
	Type         string
	Required     bool
	DefaultValue string
	Description  string
	Source       string
}

QueryParameterFormData stores sticky values for query parameter rows.

type QueryPipelineSetupData

type QueryPipelineSetupData struct {
	Org, DataSource, Project, Name, Slug, QueryRevision, Error string
	Query                                                      *api.Query
	Projects                                                   []api.Project
	Permissions                                                OrganizationPermissions
	BackendConfigured, ProjectAvailable                        bool
	ParameterValues                                            map[string]string
}

type RoleFormData

type RoleFormData struct {
	Name        string
	Slug        string
	Permissions []RolePermissionFormData
}

RoleFormData stores sticky values for role create and update forms.

func DefaultRoleFormData

func DefaultRoleFormData() RoleFormData

DefaultRoleFormData returns an empty create-role form with editable permission rows.

type RolePermissionFormData

type RolePermissionFormData struct {
	Resource string
	Action   string
}

RolePermissionFormData stores one editable permission row in role forms.

func RolePermissionRows

func RolePermissionRows(permissions []api.Permission) []RolePermissionFormData

RolePermissionRows returns current permissions plus a few blanks for form editing.

type RolePermissionOption

type RolePermissionOption struct {
	Value string
	Label string
}

RolePermissionOption describes a selectable role permission value.

func RoleActionOptions

func RoleActionOptions() []RolePermissionOption

RoleActionOptions returns supported role permission actions.

func RoleResourceOptions

func RoleResourceOptions() []RolePermissionOption

RoleResourceOptions returns common organization-scoped permission resources.

type RunCompletionInspection

type RunCompletionInspection struct {
	Connected                  *api.PipelineRunConnected
	CurrentSubscriptions       []api.PipelineTrigger
	CurrentSubscriptionsLoaded bool
	Evidence                   *api.PipelineRunCompletion
	ErrorSummary               string
}

type RunProgressInspection

type RunProgressInspection struct {
	Evidence        *api.PipelineRunProgress
	Poll            bool
	VersionRecorded bool
}

type RunStepActions

type RunStepActions struct {
	PipelineHref   string
	DataSourceHref string
	QueryHref      string
	Message        string
}

RunStepActions links recorded identities to separately authorized current resources.

type ShellEnvironmentOption

type ShellEnvironmentOption struct {
	Slug      string
	Name      string
	Color     string
	Protected bool
	Href      string
	IsActive  bool
	IsDefault bool
}

ShellEnvironmentOption is one project runtime target option in the shell switcher.

type ShellNavItem

type ShellNavItem struct {
	Group    string
	Label    string
	Icon     string
	Href     string
	IsActive bool
	Enabled  bool
}

ShellNavItem represents a sidebar navigation link in the authenticated shell.

type ShellOrganizationOption

type ShellOrganizationOption struct {
	Slug     string
	Name     string
	IsActive bool
}

ShellOrganizationOption is one organization option in the shell switcher.

type ShellProjectOption

type ShellProjectOption struct {
	Slug     string
	Name     string
	IsActive bool
}

ShellProjectOption is one project option in the active workspace context.

type ShellUserSummary

type ShellUserSummary struct {
	DisplayName string
	Email       string
}

ShellUserSummary holds minimal user context shown in the shell account affordance.

type SignupState

type SignupState struct{ GoogleSignupPending bool }

SignupState tracks a verified identity awaiting explicit account creation.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL