diff --git a/server/automation/session.cue b/server/automation/session.cue index d31fce6f2..67b00b047 100644 --- a/server/automation/session.cue +++ b/server/automation/session.cue @@ -95,7 +95,7 @@ session: { resource_type: { goType: "string" } } - byValue: ["status", "workflow_id", "event_type", "resource_type", "created_by"] + byValue: ["status", "session_id", "workflow_id", "event_type", "resource_type", "created_by"] byNilState: ["completed"] } diff --git a/server/store/adapters/rdbms/filters.gen.go b/server/store/adapters/rdbms/filters.gen.go index 5fd7eb313..ce39ffd88 100644 --- a/server/store/adapters/rdbms/filters.gen.go +++ b/server/store/adapters/rdbms/filters.gen.go @@ -387,6 +387,10 @@ func AutomationSessionFilter(d drivers.Dialect, f automationType.SessionFilter) // @todo codegen warning: filtering by Status ([]uint) not supported, // see rdbms.go.tpl and add an exception + if len(f.SessionID) > 0 { + ee = append(ee, goqu.C("id").In(f.SessionID)) + } + if len(f.WorkflowID) > 0 { ee = append(ee, goqu.C("rel_workflow").In(f.WorkflowID)) } diff --git a/server/store/adapters/rdbms/rdbms.gen.go b/server/store/adapters/rdbms/rdbms.gen.go index f1fee991e..9cc661613 100644 --- a/server/store/adapters/rdbms/rdbms.gen.go +++ b/server/store/adapters/rdbms/rdbms.gen.go @@ -579,13 +579,13 @@ func (s *Store) SearchApigwFilters(ctx context.Context, f systemType.ApigwFilter // fetchFullPageOfApigwFilters collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfApigwFilters( @@ -1177,13 +1177,13 @@ func (s *Store) SearchApigwRoutes(ctx context.Context, f systemType.ApigwRouteFi // fetchFullPageOfApigwRoutes collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfApigwRoutes( @@ -1420,7 +1420,7 @@ func (s *Store) QueryApigwRoutes( // LookupApigwRouteByID searches for route by ID // -// # It returns route even if deleted or suspended +// It returns route even if deleted or suspended // // This function is auto-generated func (s *Store) LookupApigwRouteByID(ctx context.Context, id uint64) (_ *systemType.ApigwRoute, err error) { @@ -1462,7 +1462,7 @@ func (s *Store) LookupApigwRouteByID(ctx context.Context, id uint64) (_ *systemT // LookupApigwRouteByEndpoint searches for route by endpoint // -// # It returns route even if deleted or suspended +// It returns route even if deleted or suspended // // This function is auto-generated func (s *Store) LookupApigwRouteByEndpoint(ctx context.Context, endpoint string) (_ *systemType.ApigwRoute, err error) { @@ -1779,13 +1779,13 @@ func (s *Store) SearchApplications(ctx context.Context, f systemType.Application // fetchFullPageOfApplications collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfApplications( @@ -2022,7 +2022,7 @@ func (s *Store) QueryApplications( // LookupApplicationByID searches for role by ID // -// # It returns role even if deleted or suspended +// It returns role even if deleted or suspended // // This function is auto-generated func (s *Store) LookupApplicationByID(ctx context.Context, id uint64) (_ *systemType.Application, err error) { @@ -2336,13 +2336,13 @@ func (s *Store) SearchAttachments(ctx context.Context, f systemType.AttachmentFi // fetchFullPageOfAttachments collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfAttachments( @@ -2888,13 +2888,13 @@ func (s *Store) SearchAuthClients(ctx context.Context, f systemType.AuthClientFi // fetchFullPageOfAuthClients collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfAuthClients( @@ -3131,7 +3131,7 @@ func (s *Store) QueryAuthClients( // LookupAuthClientByID searches for auth client by ID // -// It returns auth clint even if deleted +// It returns auth clint even if deleted // // This function is auto-generated func (s *Store) LookupAuthClientByID(ctx context.Context, id uint64) (_ *systemType.AuthClient, err error) { @@ -3173,7 +3173,7 @@ func (s *Store) LookupAuthClientByID(ctx context.Context, id uint64) (_ *systemT // LookupAuthClientByHandle searches for auth client by ID // -// # It returns auth clint even if deleted +// It returns auth clint even if deleted // // This function is auto-generated func (s *Store) LookupAuthClientByHandle(ctx context.Context, handle string) (_ *systemType.AuthClient, err error) { @@ -4627,13 +4627,13 @@ func (s *Store) SearchAutomationSessions(ctx context.Context, f automationType.S // fetchFullPageOfAutomationSessions collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfAutomationSessions( @@ -4870,7 +4870,7 @@ func (s *Store) QueryAutomationSessions( // LookupAutomationSessionByID searches for session by ID // -// # It returns session even if deleted +// It returns session even if deleted // // This function is auto-generated func (s *Store) LookupAutomationSessionByID(ctx context.Context, id uint64) (_ *automationType.Session, err error) { @@ -5194,13 +5194,13 @@ func (s *Store) SearchAutomationTriggers(ctx context.Context, f automationType.T // fetchFullPageOfAutomationTriggers collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfAutomationTriggers( @@ -5437,7 +5437,7 @@ func (s *Store) QueryAutomationTriggers( // LookupAutomationTriggerByID searches for trigger by ID // -// # It returns trigger even if deleted +// It returns trigger even if deleted // // This function is auto-generated func (s *Store) LookupAutomationTriggerByID(ctx context.Context, id uint64) (_ *automationType.Trigger, err error) { @@ -5757,13 +5757,13 @@ func (s *Store) SearchAutomationWorkflows(ctx context.Context, f automationType. // fetchFullPageOfAutomationWorkflows collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfAutomationWorkflows( @@ -6000,7 +6000,7 @@ func (s *Store) QueryAutomationWorkflows( // LookupAutomationWorkflowByID searches for workflow by ID // -// # It returns workflow even if deleted +// It returns workflow even if deleted // // This function is auto-generated func (s *Store) LookupAutomationWorkflowByID(ctx context.Context, id uint64) (_ *automationType.Workflow, err error) { @@ -6042,7 +6042,7 @@ func (s *Store) LookupAutomationWorkflowByID(ctx context.Context, id uint64) (_ // LookupAutomationWorkflowByHandle searches for workflow by their handle // -// # It returns only valid workflows +// It returns only valid workflows // // This function is auto-generated func (s *Store) LookupAutomationWorkflowByHandle(ctx context.Context, handle string) (_ *automationType.Workflow, err error) { @@ -6382,13 +6382,13 @@ func (s *Store) SearchComposeAttachments(ctx context.Context, f composeType.Atta // fetchFullPageOfComposeAttachments collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfComposeAttachments( @@ -6938,13 +6938,13 @@ func (s *Store) SearchComposeCharts(ctx context.Context, f composeType.ChartFilt // fetchFullPageOfComposeCharts collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfComposeCharts( @@ -7181,7 +7181,7 @@ func (s *Store) QueryComposeCharts( // LookupComposeChartByID searches for compose chart by ID // -// # It returns compose chart even if deleted +// It returns compose chart even if deleted // // This function is auto-generated func (s *Store) LookupComposeChartByID(ctx context.Context, id uint64) (_ *composeType.Chart, err error) { @@ -7535,13 +7535,13 @@ func (s *Store) SearchComposeModules(ctx context.Context, f composeType.ModuleFi // fetchFullPageOfComposeModules collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfComposeModules( @@ -7862,7 +7862,7 @@ func (s *Store) LookupComposeModuleByNamespaceIDName(ctx context.Context, namesp // LookupComposeModuleByID searches for compose module by ID // -// # It returns compose module even if deleted +// It returns compose module even if deleted // // This function is auto-generated func (s *Store) LookupComposeModuleByID(ctx context.Context, id uint64) (_ *composeType.Module, err error) { @@ -8621,13 +8621,13 @@ func (s *Store) SearchComposeNamespaces(ctx context.Context, f composeType.Names // fetchFullPageOfComposeNamespaces collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfComposeNamespaces( @@ -8905,7 +8905,7 @@ func (s *Store) LookupComposeNamespaceBySlug(ctx context.Context, slug string) ( // LookupComposeNamespaceByID searches for compose namespace by ID // -// # It returns compose namespace even if deleted +// It returns compose namespace even if deleted // // This function is auto-generated func (s *Store) LookupComposeNamespaceByID(ctx context.Context, id uint64) (_ *composeType.Namespace, err error) { @@ -9243,13 +9243,13 @@ func (s *Store) SearchComposePages(ctx context.Context, f composeType.PageFilter // fetchFullPageOfComposePages collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfComposePages( @@ -9570,7 +9570,7 @@ func (s *Store) LookupComposePageByNamespaceIDModuleID(ctx context.Context, name // LookupComposePageByID searches for compose page by ID // -// # It returns compose page even if deleted +// It returns compose page even if deleted // // This function is auto-generated func (s *Store) LookupComposePageByID(ctx context.Context, id uint64) (_ *composeType.Page, err error) { @@ -10563,7 +10563,7 @@ func (s *Store) QueryCredentials( // LookupCredentialByID searches for credentials by ID // -// # It returns credentials even if deleted +// It returns credentials even if deleted // // This function is auto-generated func (s *Store) LookupCredentialByID(ctx context.Context, id uint64) (_ *systemType.Credential, err error) { @@ -10876,13 +10876,13 @@ func (s *Store) SearchDalConnections(ctx context.Context, f systemType.DalConnec // fetchFullPageOfDalConnections collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfDalConnections( @@ -11119,7 +11119,7 @@ func (s *Store) QueryDalConnections( // LookupDalConnectionByID searches for connection by ID // -// # It returns connection even if deleted or suspended +// It returns connection even if deleted or suspended // // This function is auto-generated func (s *Store) LookupDalConnectionByID(ctx context.Context, id uint64) (_ *systemType.DalConnection, err error) { @@ -11501,13 +11501,13 @@ func (s *Store) SearchDalSensitivityLevels(ctx context.Context, f systemType.Dal // fetchFullPageOfDalSensitivityLevels collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfDalSensitivityLevels( @@ -11744,7 +11744,7 @@ func (s *Store) QueryDalSensitivityLevels( // LookupDalSensitivityLevelByID searches for user by ID // -// # It returns user even if deleted or suspended +// It returns user even if deleted or suspended // // This function is auto-generated func (s *Store) LookupDalSensitivityLevelByID(ctx context.Context, id uint64) (_ *systemType.DalSensitivityLevel, err error) { @@ -12056,13 +12056,13 @@ func (s *Store) SearchDataPrivacyRequests(ctx context.Context, f systemType.Data // fetchFullPageOfDataPrivacyRequests collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfDataPrivacyRequests( @@ -12299,7 +12299,7 @@ func (s *Store) QueryDataPrivacyRequests( // LookupDataPrivacyRequestByID searches for data privacy request by ID // -// # It returns data privacy request even if deleted +// It returns data privacy request even if deleted // // This function is auto-generated func (s *Store) LookupDataPrivacyRequestByID(ctx context.Context, id uint64) (_ *systemType.DataPrivacyRequest, err error) { @@ -12618,13 +12618,13 @@ func (s *Store) SearchDataPrivacyRequestComments(ctx context.Context, f systemTy // fetchFullPageOfDataPrivacyRequestComments collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfDataPrivacyRequestComments( @@ -13124,13 +13124,13 @@ func (s *Store) SearchFederationExposedModules(ctx context.Context, f federation // fetchFullPageOfFederationExposedModules collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfFederationExposedModules( @@ -13367,7 +13367,7 @@ func (s *Store) QueryFederationExposedModules( // LookupFederationExposedModuleByID searches for federation module by ID // -// # It returns federation module +// It returns federation module // // This function is auto-generated func (s *Store) LookupFederationExposedModuleByID(ctx context.Context, id uint64) (_ *federationType.ExposedModule, err error) { @@ -13674,13 +13674,13 @@ func (s *Store) SearchFederationModuleMappings(ctx context.Context, f federation // fetchFullPageOfFederationModuleMappings collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfFederationModuleMappings( @@ -13917,7 +13917,7 @@ func (s *Store) QueryFederationModuleMappings( // LookupFederationModuleMappingByFederationModuleIDComposeModuleIDComposeNamespaceID searches for module mapping by federation module id and compose module id // -// # It returns module mapping +// It returns module mapping // // This function is auto-generated func (s *Store) LookupFederationModuleMappingByFederationModuleIDComposeModuleIDComposeNamespaceID(ctx context.Context, federationModuleID uint64, composeModuleID uint64, composeNamespaceID uint64) (_ *federationType.ModuleMapping, err error) { @@ -13961,7 +13961,7 @@ func (s *Store) LookupFederationModuleMappingByFederationModuleIDComposeModuleID // LookupFederationModuleMappingByFederationModuleID searches for module mapping by federation module id // -// # It returns module mapping +// It returns module mapping // // This function is auto-generated func (s *Store) LookupFederationModuleMappingByFederationModuleID(ctx context.Context, federationModuleID uint64) (_ *federationType.ModuleMapping, err error) { @@ -14262,13 +14262,13 @@ func (s *Store) SearchFederationNodes(ctx context.Context, f federationType.Node // fetchFullPageOfFederationNodes collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfFederationNodes( @@ -14505,7 +14505,7 @@ func (s *Store) QueryFederationNodes( // LookupFederationNodeByID searches for federation node by ID // -// # It returns federation node +// It returns federation node // // This function is auto-generated func (s *Store) LookupFederationNodeByID(ctx context.Context, id uint64) (_ *federationType.Node, err error) { @@ -14908,13 +14908,13 @@ func (s *Store) SearchFederationNodeSyncs(ctx context.Context, f federationType. // fetchFullPageOfFederationNodeSyncs collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfFederationNodeSyncs( @@ -15151,7 +15151,7 @@ func (s *Store) QueryFederationNodeSyncs( // LookupFederationNodeSyncByNodeID searches for sync activity by node ID // -// # It returns sync activity +// It returns sync activity // // This function is auto-generated func (s *Store) LookupFederationNodeSyncByNodeID(ctx context.Context, nodeID uint64) (_ *federationType.NodeSync, err error) { @@ -15193,7 +15193,7 @@ func (s *Store) LookupFederationNodeSyncByNodeID(ctx context.Context, nodeID uin // LookupFederationNodeSyncByNodeIDModuleIDSyncTypeSyncStatus searches for activity by node, type and status // -// # It returns sync activity +// It returns sync activity // // This function is auto-generated func (s *Store) LookupFederationNodeSyncByNodeIDModuleIDSyncTypeSyncStatus(ctx context.Context, nodeID uint64, moduleID uint64, syncType string, syncStatus string) (_ *federationType.NodeSync, err error) { @@ -15506,13 +15506,13 @@ func (s *Store) SearchFederationSharedModules(ctx context.Context, f federationT // fetchFullPageOfFederationSharedModules collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfFederationSharedModules( @@ -15749,7 +15749,7 @@ func (s *Store) QueryFederationSharedModules( // LookupFederationSharedModuleByID searches for shared federation module by ID // -// # It returns shared federation module +// It returns shared federation module // // This function is auto-generated func (s *Store) LookupFederationSharedModuleByID(ctx context.Context, id uint64) (_ *federationType.SharedModule, err error) { @@ -16756,13 +16756,13 @@ func (s *Store) SearchQueues(ctx context.Context, f systemType.QueueFilter) (set // fetchFullPageOfQueues collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfQueues( @@ -17348,13 +17348,13 @@ func (s *Store) SearchQueueMessages(ctx context.Context, f systemType.QueueMessa // fetchFullPageOfQueueMessages collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfQueueMessages( @@ -18135,13 +18135,13 @@ func (s *Store) SearchReminders(ctx context.Context, f systemType.ReminderFilter // fetchFullPageOfReminders collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfReminders( @@ -18696,13 +18696,13 @@ func (s *Store) SearchReports(ctx context.Context, f systemType.ReportFilter) (s // fetchFullPageOfReports collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfReports( @@ -18939,7 +18939,7 @@ func (s *Store) QueryReports( // LookupReportByID searches for report by ID // -// # It returns report even if deleted +// It returns report even if deleted // // This function is auto-generated func (s *Store) LookupReportByID(ctx context.Context, id uint64) (_ *systemType.Report, err error) { @@ -18981,7 +18981,7 @@ func (s *Store) LookupReportByID(ctx context.Context, id uint64) (_ *systemType. // LookupReportByHandle searches for report by handle // -// # It returns report if deleted +// It returns report if deleted // // This function is auto-generated func (s *Store) LookupReportByHandle(ctx context.Context, handle string) (_ *systemType.Report, err error) { @@ -19598,13 +19598,13 @@ func (s *Store) SearchResourceTranslations(ctx context.Context, f systemType.Res // fetchFullPageOfResourceTranslations collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfResourceTranslations( @@ -20133,13 +20133,13 @@ func (s *Store) SearchRoles(ctx context.Context, f systemType.RoleFilter) (set s // fetchFullPageOfRoles collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfRoles( @@ -20376,7 +20376,7 @@ func (s *Store) QueryRoles( // LookupRoleByID searches for role by ID // -// # It returns role even if deleted or suspended +// It returns role even if deleted or suspended // // This function is auto-generated func (s *Store) LookupRoleByID(ctx context.Context, id uint64) (_ *systemType.Role, err error) { @@ -21452,13 +21452,13 @@ func (s *Store) SearchTemplates(ctx context.Context, f systemType.TemplateFilter // fetchFullPageOfTemplates collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfTemplates( @@ -22087,13 +22087,13 @@ func (s *Store) SearchUsers(ctx context.Context, f systemType.UserFilter) (set s // fetchFullPageOfUsers collects all requested results. // // Function applies: -// - cursor conditions (where ...) -// - limit +// - cursor conditions (where ...) +// - limit // // Main responsibility of this function is to perform additional sequential queries in case when not enough results // are collected due to failed check on a specific row (by check fn). // -// # Function then moves cursor to the last item fetched +// Function then moves cursor to the last item fetched // // This function is auto-generated func (s *Store) fetchFullPageOfUsers( @@ -22330,7 +22330,7 @@ func (s *Store) QueryUsers( // LookupUserByID searches for user by ID // -// # It returns user even if deleted or suspended +// It returns user even if deleted or suspended // // This function is auto-generated func (s *Store) LookupUserByID(ctx context.Context, id uint64) (_ *systemType.User, err error) { diff --git a/server/store/interfaces.gen.go b/server/store/interfaces.gen.go index ba5dc5909..02ee26967 100644 --- a/server/store/interfaces.gen.go +++ b/server/store/interfaces.gen.go @@ -817,7 +817,7 @@ func TruncateApigwRoutes(ctx context.Context, s ApigwRoutes) error { // LookupApigwRouteByID searches for route by ID // -// # It returns route even if deleted or suspended +// It returns route even if deleted or suspended // // This function is auto-generated func LookupApigwRouteByID(ctx context.Context, s ApigwRoutes, id uint64) (*systemType.ApigwRoute, error) { @@ -826,7 +826,7 @@ func LookupApigwRouteByID(ctx context.Context, s ApigwRoutes, id uint64) (*syste // LookupApigwRouteByEndpoint searches for route by endpoint // -// # It returns route even if deleted or suspended +// It returns route even if deleted or suspended // // This function is auto-generated func LookupApigwRouteByEndpoint(ctx context.Context, s ApigwRoutes, endpoint string) (*systemType.ApigwRoute, error) { @@ -884,7 +884,7 @@ func TruncateApplications(ctx context.Context, s Applications) error { // LookupApplicationByID searches for role by ID // -// # It returns role even if deleted or suspended +// It returns role even if deleted or suspended // // This function is auto-generated func LookupApplicationByID(ctx context.Context, s Applications, id uint64) (*systemType.Application, error) { @@ -1012,7 +1012,7 @@ func TruncateAuthClients(ctx context.Context, s AuthClients) error { // LookupAuthClientByID searches for auth client by ID // -// It returns auth clint even if deleted +// It returns auth clint even if deleted // // This function is auto-generated func LookupAuthClientByID(ctx context.Context, s AuthClients, id uint64) (*systemType.AuthClient, error) { @@ -1021,7 +1021,7 @@ func LookupAuthClientByID(ctx context.Context, s AuthClients, id uint64) (*syste // LookupAuthClientByHandle searches for auth client by ID // -// # It returns auth clint even if deleted +// It returns auth clint even if deleted // // This function is auto-generated func LookupAuthClientByHandle(ctx context.Context, s AuthClients, handle string) (*systemType.AuthClient, error) { @@ -1317,7 +1317,7 @@ func TruncateAutomationSessions(ctx context.Context, s AutomationSessions) error // LookupAutomationSessionByID searches for session by ID // -// # It returns session even if deleted +// It returns session even if deleted // // This function is auto-generated func LookupAutomationSessionByID(ctx context.Context, s AutomationSessions, id uint64) (*automationType.Session, error) { @@ -1375,7 +1375,7 @@ func TruncateAutomationTriggers(ctx context.Context, s AutomationTriggers) error // LookupAutomationTriggerByID searches for trigger by ID // -// # It returns trigger even if deleted +// It returns trigger even if deleted // // This function is auto-generated func LookupAutomationTriggerByID(ctx context.Context, s AutomationTriggers, id uint64) (*automationType.Trigger, error) { @@ -1433,7 +1433,7 @@ func TruncateAutomationWorkflows(ctx context.Context, s AutomationWorkflows) err // LookupAutomationWorkflowByID searches for workflow by ID // -// # It returns workflow even if deleted +// It returns workflow even if deleted // // This function is auto-generated func LookupAutomationWorkflowByID(ctx context.Context, s AutomationWorkflows, id uint64) (*automationType.Workflow, error) { @@ -1442,7 +1442,7 @@ func LookupAutomationWorkflowByID(ctx context.Context, s AutomationWorkflows, id // LookupAutomationWorkflowByHandle searches for workflow by their handle // -// # It returns only valid workflows +// It returns only valid workflows // // This function is auto-generated func LookupAutomationWorkflowByHandle(ctx context.Context, s AutomationWorkflows, handle string) (*automationType.Workflow, error) { @@ -1556,7 +1556,7 @@ func TruncateComposeCharts(ctx context.Context, s ComposeCharts) error { // LookupComposeChartByID searches for compose chart by ID // -// # It returns compose chart even if deleted +// It returns compose chart even if deleted // // This function is auto-generated func LookupComposeChartByID(ctx context.Context, s ComposeCharts, id uint64) (*composeType.Chart, error) { @@ -1635,7 +1635,7 @@ func LookupComposeModuleByNamespaceIDName(ctx context.Context, s ComposeModules, // LookupComposeModuleByID searches for compose module by ID // -// # It returns compose module even if deleted +// It returns compose module even if deleted // // This function is auto-generated func LookupComposeModuleByID(ctx context.Context, s ComposeModules, id uint64) (*composeType.Module, error) { @@ -1763,7 +1763,7 @@ func LookupComposeNamespaceBySlug(ctx context.Context, s ComposeNamespaces, slug // LookupComposeNamespaceByID searches for compose namespace by ID // -// # It returns compose namespace even if deleted +// It returns compose namespace even if deleted // // This function is auto-generated func LookupComposeNamespaceByID(ctx context.Context, s ComposeNamespaces, id uint64) (*composeType.Namespace, error) { @@ -1835,7 +1835,7 @@ func LookupComposePageByNamespaceIDModuleID(ctx context.Context, s ComposePages, // LookupComposePageByID searches for compose page by ID // -// # It returns compose page even if deleted +// It returns compose page even if deleted // // This function is auto-generated func LookupComposePageByID(ctx context.Context, s ComposePages, id uint64) (*composeType.Page, error) { @@ -1979,7 +1979,7 @@ func TruncateCredentials(ctx context.Context, s Credentials) error { // LookupCredentialByID searches for credentials by ID // -// # It returns credentials even if deleted +// It returns credentials even if deleted // // This function is auto-generated func LookupCredentialByID(ctx context.Context, s Credentials, id uint64) (*systemType.Credential, error) { @@ -2037,7 +2037,7 @@ func TruncateDalConnections(ctx context.Context, s DalConnections) error { // LookupDalConnectionByID searches for connection by ID // -// # It returns connection even if deleted or suspended +// It returns connection even if deleted or suspended // // This function is auto-generated func LookupDalConnectionByID(ctx context.Context, s DalConnections, id uint64) (*systemType.DalConnection, error) { @@ -2104,7 +2104,7 @@ func TruncateDalSensitivityLevels(ctx context.Context, s DalSensitivityLevels) e // LookupDalSensitivityLevelByID searches for user by ID // -// # It returns user even if deleted or suspended +// It returns user even if deleted or suspended // // This function is auto-generated func LookupDalSensitivityLevelByID(ctx context.Context, s DalSensitivityLevels, id uint64) (*systemType.DalSensitivityLevel, error) { @@ -2162,7 +2162,7 @@ func TruncateDataPrivacyRequests(ctx context.Context, s DataPrivacyRequests) err // LookupDataPrivacyRequestByID searches for data privacy request by ID // -// # It returns data privacy request even if deleted +// It returns data privacy request even if deleted // // This function is auto-generated func LookupDataPrivacyRequestByID(ctx context.Context, s DataPrivacyRequests, id uint64) (*systemType.DataPrivacyRequest, error) { @@ -2269,7 +2269,7 @@ func TruncateFederationExposedModules(ctx context.Context, s FederationExposedMo // LookupFederationExposedModuleByID searches for federation module by ID // -// # It returns federation module +// It returns federation module // // This function is auto-generated func LookupFederationExposedModuleByID(ctx context.Context, s FederationExposedModules, id uint64) (*federationType.ExposedModule, error) { @@ -2320,7 +2320,7 @@ func TruncateFederationModuleMappings(ctx context.Context, s FederationModuleMap // LookupFederationModuleMappingByFederationModuleIDComposeModuleIDComposeNamespaceID searches for module mapping by federation module id and compose module id // -// # It returns module mapping +// It returns module mapping // // This function is auto-generated func LookupFederationModuleMappingByFederationModuleIDComposeModuleIDComposeNamespaceID(ctx context.Context, s FederationModuleMappings, federationModuleID uint64, composeModuleID uint64, composeNamespaceID uint64) (*federationType.ModuleMapping, error) { @@ -2329,7 +2329,7 @@ func LookupFederationModuleMappingByFederationModuleIDComposeModuleIDComposeName // LookupFederationModuleMappingByFederationModuleID searches for module mapping by federation module id // -// # It returns module mapping +// It returns module mapping // // This function is auto-generated func LookupFederationModuleMappingByFederationModuleID(ctx context.Context, s FederationModuleMappings, federationModuleID uint64) (*federationType.ModuleMapping, error) { @@ -2387,7 +2387,7 @@ func TruncateFederationNodes(ctx context.Context, s FederationNodes) error { // LookupFederationNodeByID searches for federation node by ID // -// # It returns federation node +// It returns federation node // // This function is auto-generated func LookupFederationNodeByID(ctx context.Context, s FederationNodes, id uint64) (*federationType.Node, error) { @@ -2459,7 +2459,7 @@ func TruncateFederationNodeSyncs(ctx context.Context, s FederationNodeSyncs) err // LookupFederationNodeSyncByNodeID searches for sync activity by node ID // -// # It returns sync activity +// It returns sync activity // // This function is auto-generated func LookupFederationNodeSyncByNodeID(ctx context.Context, s FederationNodeSyncs, nodeID uint64) (*federationType.NodeSync, error) { @@ -2468,7 +2468,7 @@ func LookupFederationNodeSyncByNodeID(ctx context.Context, s FederationNodeSyncs // LookupFederationNodeSyncByNodeIDModuleIDSyncTypeSyncStatus searches for activity by node, type and status // -// # It returns sync activity +// It returns sync activity // // This function is auto-generated func LookupFederationNodeSyncByNodeIDModuleIDSyncTypeSyncStatus(ctx context.Context, s FederationNodeSyncs, nodeID uint64, moduleID uint64, syncType string, syncStatus string) (*federationType.NodeSync, error) { @@ -2526,7 +2526,7 @@ func TruncateFederationSharedModules(ctx context.Context, s FederationSharedModu // LookupFederationSharedModuleByID searches for shared federation module by ID // -// # It returns shared federation module +// It returns shared federation module // // This function is auto-generated func LookupFederationSharedModuleByID(ctx context.Context, s FederationSharedModules, id uint64) (*federationType.SharedModule, error) { @@ -2927,7 +2927,7 @@ func TruncateReports(ctx context.Context, s Reports) error { // LookupReportByID searches for report by ID // -// # It returns report even if deleted +// It returns report even if deleted // // This function is auto-generated func LookupReportByID(ctx context.Context, s Reports, id uint64) (*systemType.Report, error) { @@ -2936,7 +2936,7 @@ func LookupReportByID(ctx context.Context, s Reports, id uint64) (*systemType.Re // LookupReportByHandle searches for report by handle // -// # It returns report if deleted +// It returns report if deleted // // This function is auto-generated func LookupReportByHandle(ctx context.Context, s Reports, handle string) (*systemType.Report, error) { @@ -3107,7 +3107,7 @@ func TruncateRoles(ctx context.Context, s Roles) error { // LookupRoleByID searches for role by ID // -// # It returns role even if deleted or suspended +// It returns role even if deleted or suspended // // This function is auto-generated func LookupRoleByID(ctx context.Context, s Roles, id uint64) (*systemType.Role, error) { @@ -3369,7 +3369,7 @@ func TruncateUsers(ctx context.Context, s Users) error { // LookupUserByID searches for user by ID // -// # It returns user even if deleted or suspended +// It returns user even if deleted or suspended // // This function is auto-generated func LookupUserByID(ctx context.Context, s Users, id uint64) (*systemType.User, error) {