Documentation ¶
Index ¶
- func AnalyzeModelPlanForAnalyzedAudit(ctx context.Context, store *storage.Store, logger *zap.Logger, ...) (*models.AnalyzedAudit, error)
- func AnalyzedAuditGetByModelPlanIDsAndDate(_ context.Context, store *storage.Store, logger *zap.Logger, ...) ([]*models.AnalyzedAudit, error)
- func ApplyChanges(changes map[string]interface{}, to interface{}) error
- func AuditChangeCollectionByIDAndTable(logger *zap.Logger, tableName string, primaryKey uuid.UUID, ...) ([]*models.AuditChange, error)
- func BaseStructPreCreate(logger *zap.Logger, bs models.IBaseStruct, principal authentication.Principal, ...) error
- func BaseStructPreDelete(logger *zap.Logger, bs models.IBaseStruct, principal authentication.Principal, ...) error
- func BaseStructPreUpdate(logger *zap.Logger, bs models.IBaseStruct, changes map[string]interface{}, ...) error
- func BaseTaskListSectionPreUpdate(logger *zap.Logger, tls models.IBaseTaskListSection, ...) error
- func CreateDiscussionReply(ctx context.Context, logger *zap.Logger, emailService oddmail.EmailService, ...) (*models.DiscussionReply, error)
- func CreatePlanDiscussion(ctx context.Context, logger *zap.Logger, emailService oddmail.EmailService, ...) (*models.PlanDiscussion, error)
- func CurrentUserAccountGet(ctx context.Context) (*authentication.UserAccount, error)
- func CurrentUserLaunchDarklySettingsGet(ctx context.Context, ldClient *ldclient.LDClient) (*model.LaunchDarklySettings, error)
- func CurrentUserNotificationsGet(ctx context.Context, np sqlutils.NamedPreparer) (*models.UserNotifications, error)
- func DailyDigestNotificationSend(ctx context.Context, np sqlutils.NamedPreparer, logger *zap.Logger, ...) error
- func DeleteDiscussionReply(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, ...) (*models.DiscussionReply, error)
- func DeletePlanDiscussion(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, ...) (*models.PlanDiscussion, error)
- func DiscussionReplyCollectionByDiscusionIDLOADER(ctx context.Context, discussionID uuid.UUID) ([]*models.DiscussionReply, error)
- func DiscussionReplyGetByID(_ context.Context, store *storage.Store, logger *zap.Logger, ...) (*models.DiscussionReply, error)
- func ExistingModelCollectionGet(logger *zap.Logger, store *storage.Store) ([]*models.ExistingModel, error)
- func ExistingModelGetByIDLOADER(ctx context.Context, id int) (*models.ExistingModel, error)
- func ExistingModelLinkGetByID(logger *zap.Logger, store *storage.Store, principal authentication.Principal, ...) (*models.ExistingModelLink, error)
- func ExistingModelLinkGetByModelPlanIDAndFieldNameLOADER(ctx context.Context, modelPlanID uuid.UUID, ...) ([]*models.ExistingModelLink, error)
- func ExistingModelLinkGetModel(ctx context.Context, link *models.ExistingModelLink) (models.LinkedExistingModel, error)
- func ExistingModelLinksGetByModelPlanIDAndFieldNameLOADER(ctx context.Context, modelPlanID uuid.UUID, ...) (*models.ExistingModelLinks, error)
- func ExistingModelLinksNameArray(ctx context.Context, modelPlanID uuid.UUID, ...) ([]string, error)
- func ExistingModelLinksUpdate(logger *zap.Logger, store *storage.Store, principal authentication.Principal, ...) (*models.ExistingModelLinks, error)
- func GetMostRecentDiscussionRoleSelection(logger *zap.Logger, store *storage.Store, principal authentication.Principal) (*models.DiscussionRoleSelection, error)
- func GetTaskListSectionLocks(modelPlanID uuid.UUID) ([]*model.TaskListSectionLockStatus, error)
- func IsPlanCollaborator(logger *zap.Logger, principal authentication.Principal, store *storage.Store, ...) (bool, error)
- func IsPlanFavorited(logger *zap.Logger, principal authentication.Principal, store *storage.Store, ...) (bool, error)
- func LockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section models.TaskListSection, ...) (bool, error)
- func ModelPlanCollection(logger *zap.Logger, principal authentication.Principal, store *storage.Store, ...) ([]*models.ModelPlan, error)
- func ModelPlanCreate(ctx context.Context, logger *zap.Logger, emailService oddmail.EmailService, ...) (*models.ModelPlan, error)
- func ModelPlanGetByID(logger *zap.Logger, id uuid.UUID, store *storage.Store) (*models.ModelPlan, error)
- func ModelPlanGetByIDLOADER(ctx context.Context, id uuid.UUID) (*models.ModelPlan, error)
- func ModelPlanGetSampleModel(logger *zap.Logger, store *storage.Store) (*models.ModelPlan, error)
- func ModelPlanNameHistory(logger *zap.Logger, modelPlanID uuid.UUID, sortDir models.SortDirection, ...) ([]string, error)
- func ModelPlanShare(ctx context.Context, logger *zap.Logger, store *storage.Store, ...) (bool, error)
- func ModelPlanUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.ModelPlan, error)
- func NDAAgreementGetByUserID(logger *zap.Logger, principal authentication.Principal, store *storage.Store) (*model.NDAInfo, error)
- func NDAAgreementUpdateOrCreate(logger *zap.Logger, agree bool, principal authentication.Principal, ...) (*model.NDAInfo, error)
- func NewDBConfig() storage.DBConfig
- func OnLockTaskListSectionContext(ps pubsub.PubSub, modelPlanID uuid.UUID, principal authentication.Principal, ...) (<-chan *model.TaskListSectionLockStatusChanged, error)
- func OperationaSolutionsAndPossibleGetByOPNeedIDLOADER(ctx context.Context, operationalNeedID uuid.UUID, includeNotNeeded bool) ([]*models.OperationalSolution, error)
- func OperationalNeedCollectionGetByModelPlanID(logger *zap.Logger, modelPlanID uuid.UUID, store *storage.Store) ([]*models.OperationalNeed, error)
- func OperationalNeedCollectionGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) ([]*models.OperationalNeed, error)
- func OperationalNeedCustomUpdateByID(logger *zap.Logger, operationNeedID uuid.UUID, customNeedType *string, ...) (*models.OperationalNeed, error)
- func OperationalNeedGetByID(logger *zap.Logger, id uuid.UUID, store *storage.Store) (*models.OperationalNeed, error)
- func OperationalNeedInsertOrUpdateCustom(logger *zap.Logger, modelPlanID uuid.UUID, customNeedType string, needed bool, ...) (*models.OperationalNeed, error)
- func OperationalSolutionCreate(ctx context.Context, store *storage.Store, logger *zap.Logger, ...) (*models.OperationalSolution, error)
- func OperationalSolutionGetByID(logger *zap.Logger, id uuid.UUID, store *storage.Store) (*models.OperationalSolution, error)
- func OperationalSolutionSubtaskDelete(logger *zap.Logger, store *storage.Store, principal authentication.Principal, ...) (int, error)
- func OperationalSolutionSubtaskGetByID(logger *zap.Logger, store *storage.Store, subtaskID uuid.UUID) (*models.OperationalSolutionSubtask, error)
- func OperationalSolutionSubtaskGetBySolutionIDLOADER(ctx context.Context, solutionID uuid.UUID) ([]*models.OperationalSolutionSubtask, error)
- func OperationalSolutionSubtasksCreate(logger *zap.Logger, store *storage.Store, ...) ([]*models.OperationalSolutionSubtask, error)
- func OperationalSolutionSubtasksUpdateByID(logger *zap.Logger, store *storage.Store, principal authentication.Principal, ...) ([]*models.OperationalSolutionSubtask, error)
- func OperationalSolutionUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.OperationalSolution, error)
- func PlanBasicsGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanBasics, error)
- func PlanBeneficiariesGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanBeneficiaries, error)
- func PlanBeneficiariesUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.PlanBeneficiaries, error)
- func PlanCRCreate(logger *zap.Logger, input *model.PlanCRCreateInput, ...) (*models.PlanCR, error)
- func PlanCRDelete(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, ...) (*models.PlanCR, error)
- func PlanCRGet(logger *zap.Logger, id uuid.UUID, store *storage.Store) (*models.PlanCR, error)
- func PlanCRUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.PlanCR, error)
- func PlanCRsGetByModelPlanID(logger *zap.Logger, modelPlanID uuid.UUID, store *storage.Store) ([]*models.PlanCR, error)
- func PlanCollaboratorCreate(ctx context.Context, np sqlutils.NamedPreparer, store *storage.Store, ...) (*models.PlanCollaborator, *models.PlanFavorite, error)
- func PlanCollaboratorDelete(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, ...) (*models.PlanCollaborator, error)
- func PlanCollaboratorGetByID(ctx context.Context, id uuid.UUID) (*models.PlanCollaborator, error)
- func PlanCollaboratorGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) ([]*models.PlanCollaborator, error)
- func PlanCollaboratorUpdate(logger *zap.Logger, id uuid.UUID, newRoles []models.TeamRole, ...) (*models.PlanCollaborator, error)
- func PlanDiscussionGetByID(_ context.Context, store *storage.Store, logger *zap.Logger, ...) (*models.PlanDiscussion, error)
- func PlanDiscussionGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) ([]*models.PlanDiscussion, error)
- func PlanDocumentCreate(logger *zap.Logger, input *model.PlanDocumentInput, ...) (*models.PlanDocument, error)
- func PlanDocumentCreateLinked(logger *zap.Logger, input model.PlanDocumentLinkInput, ...) (*models.PlanDocument, error)
- func PlanDocumentDelete(logger *zap.Logger, s3Client *upload.S3Client, id uuid.UUID, ...) (int, error)
- func PlanDocumentNumLinkedSolutions(logger *zap.Logger, principal authentication.Principal, store *storage.Store, ...) (int, error)
- func PlanDocumentRead(logger *zap.Logger, store *storage.Store, s3Client *upload.S3Client, ...) (*models.PlanDocument, error)
- func PlanDocumentSolutionLinkRemove(logger *zap.Logger, solutionID uuid.UUID, documentIDs []uuid.UUID, ...) (bool, error)
- func PlanDocumentSolutionLinksCreate(logger *zap.Logger, store *storage.Store, solutionID uuid.UUID, ...) ([]*models.PlanDocumentSolutionLink, error)
- func PlanDocumentSolutionLinksGetBySolutionID(logger *zap.Logger, id uuid.UUID, store *storage.Store) ([]*models.PlanDocumentSolutionLink, error)
- func PlanDocumentsReadByModelPlanID(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, ...) ([]*models.PlanDocument, error)
- func PlanDocumentsReadBySolutionID(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, ...) ([]*models.PlanDocument, error)
- func PlanFavoriteCreate(np sqlutils.NamedPreparer, logger *zap.Logger, ...) (*models.PlanFavorite, error)
- func PlanFavoriteDelete(logger *zap.Logger, principal authentication.Principal, store *storage.Store, ...) (*models.PlanFavorite, error)
- func PlanFavoriteGet(logger *zap.Logger, principal authentication.Principal, store *storage.Store, ...) (*models.PlanFavorite, error)
- func PlanGeneralCharacteristicsGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanGeneralCharacteristics, error)
- func PlanGeneralCharacteristicsGetExistingModelName(ctx context.Context, ...) (*string, error)
- func PlanOpsEvalAndLearningGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanOpsEvalAndLearning, error)
- func PlanOpsEvalAndLearningUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.PlanOpsEvalAndLearning, error)
- func PlanParticipantsAndProvidersGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanParticipantsAndProviders, error)
- func PlanParticipantsAndProvidersUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.PlanParticipantsAndProviders, error)
- func PlanPaymentsGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanPayments, error)
- func PlanPaymentsRead(logger *zap.Logger, store *storage.Store, id uuid.UUID) (*models.PlanPayments, error)
- func PlanPaymentsUpdate(logger *zap.Logger, store *storage.Store, id uuid.UUID, ...) (*models.PlanPayments, error)
- func PlanTDLCreate(logger *zap.Logger, input *model.PlanTDLCreateInput, ...) (*models.PlanTDL, error)
- func PlanTDLDelete(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, ...) (*models.PlanTDL, error)
- func PlanTDLGet(logger *zap.Logger, id uuid.UUID, store *storage.Store) (*models.PlanTDL, error)
- func PlanTDLUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.PlanTDL, error)
- func PlanTDLsGetByModelPlanID(logger *zap.Logger, modelPlanID uuid.UUID, store *storage.Store) ([]*models.PlanTDL, error)
- func PossibleOperationalNeedCollectionGet(logger *zap.Logger, store *storage.Store) ([]*models.PossibleOperationalNeed, error)
- func PossibleOperationalSolutionCollectionGetAll(logger *zap.Logger, store *storage.Store) ([]*models.PossibleOperationalSolution, error)
- func PossibleOperationalSolutionCollectionGetByNeedType(logger *zap.Logger, needType models.OperationalNeedKey, store *storage.Store) ([]*models.PossibleOperationalSolution, error)
- func PossibleOperationalSolutionContactsGetByPossibleSolutionID(ctx context.Context, possibleSolutionID int) ([]*models.PossibleOperationalSolutionContact, error)
- func PossibleOperationalSolutionGetByID(logger *zap.Logger, store *storage.Store, id int) (*models.PossibleOperationalSolution, error)
- func ReadyForClearanceRead(logger *zap.Logger, store *storage.Store, modelPlanID uuid.UUID) (*model.PrepareForClearance, error)
- func ReportAProblem(emailService oddmail.EmailService, emailTemplateService email.TemplateService, ...) (bool, error)
- func SendFeedbackEmail(emailService oddmail.EmailService, emailTemplateService email.TemplateService, ...) (bool, error)
- func SubscribeTaskListSectionLockChanges(ps pubsub.PubSub, modelPlanID uuid.UUID, principal authentication.Principal, ...) (<-chan *model.TaskListSectionLockStatusChanged, error)
- func TagCollectionCreate(np sqlutils.NamedPreparer, logger *zap.Logger, ...) ([]*models.Tag, error)
- func TagCollectionGet(logger *zap.Logger, store *storage.Store, taggedTable string, ...) ([]*models.Tag, error)
- func TaggedContentGet(logger *zap.Logger, store *storage.Store, rawContent string, ...) (*models.TaggedContent, error)
- func TaggedEntityGet(ctx context.Context, store *storage.Store, tagType models.TagType, ...) (models.TaggedEntity, error)
- func UnlockAllTaskListSections(ps pubsub.PubSub, modelPlanID uuid.UUID) ([]*model.TaskListSectionLockStatus, error)
- func UnlockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section models.TaskListSection, ...) (bool, error)
- func UpdateDiscussionReply(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.DiscussionReply, error)
- func UpdatePlanBasics(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.PlanBasics, error)
- func UpdatePlanDiscussion(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.PlanDiscussion, error)
- func UpdatePlanGeneralCharacteristics(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, ...) (*models.PlanGeneralCharacteristics, error)
- func UpdateTaggedHTMLMentionsAndRawContent(ctx context.Context, store *storage.Store, tHTML *models.TaggedHTML, ...) error
- func UserAccountGetByIDLOADER(ctx context.Context, id uuid.UUID) (*authentication.UserAccount, error)
- func UserAccountGetByUsername(logger *zap.Logger, store *storage.Store, userName string) (*authentication.UserAccount, error)
- func UserAccountsGetByIDs(logger *zap.Logger, store *storage.Store, ids []uuid.UUID) ([]*authentication.UserAccount, error)
- func UserNotificationPreferencesGetByUserID(ctx context.Context, userID uuid.UUID) (*models.UserNotificationPreferences, error)
- func UserNotificationPreferencesUpdate(ctx context.Context, logger *zap.Logger, principal authentication.Principal, ...) (*models.UserNotificationPreferences, error)
- type DateProcessor
- type PlanTaskListSectionLocks
- type PlanTaskListSectionLocksResolverImplementation
- func (p PlanTaskListSectionLocksResolverImplementation) GetTaskListSectionLocks(modelPlanID uuid.UUID) ([]*model.TaskListSectionLockStatus, error)
- func (p PlanTaskListSectionLocksResolverImplementation) LockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section models.TaskListSection, ...) (bool, error)
- func (p PlanTaskListSectionLocksResolverImplementation) SubscribeTaskListSectionLockChanges(ps pubsub.PubSub, modelPlanID uuid.UUID, ...) (<-chan *model.TaskListSectionLockStatusChanged, error)
- func (p PlanTaskListSectionLocksResolverImplementation) UnlockAllTaskListSections(ps pubsub.PubSub, modelPlanID uuid.UUID) ([]*model.TaskListSectionLockStatus, error)
- func (p PlanTaskListSectionLocksResolverImplementation) UnlockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section models.TaskListSection, ...) (bool, error)
- type Resolver
- func (r *Resolver) Activity() generated.ActivityResolver
- func (r *Resolver) AddedAsCollaboratorMeta() generated.AddedAsCollaboratorMetaResolver
- func (r *Resolver) AnalyzedModelLeadInfo() generated.AnalyzedModelLeadInfoResolver
- func (r *Resolver) AuditChange() generated.AuditChangeResolver
- func (r *Resolver) CurrentUser() generated.CurrentUserResolver
- func (r *Resolver) DailyDigestCompleteActivityMeta() generated.DailyDigestCompleteActivityMetaResolver
- func (r *Resolver) DiscussionReply() generated.DiscussionReplyResolver
- func (r *Resolver) ExistingModelLink() generated.ExistingModelLinkResolver
- func (r *Resolver) ExistingModelLinks() generated.ExistingModelLinksResolver
- func (r *Resolver) ModelPlan() generated.ModelPlanResolver
- func (r *Resolver) ModelPlanSharedActivityMeta() generated.ModelPlanSharedActivityMetaResolver
- func (r *Resolver) Mutation() generated.MutationResolver
- func (r *Resolver) NewDiscussionRepliedActivityMeta() generated.NewDiscussionRepliedActivityMetaResolver
- func (r *Resolver) OperationalNeed() generated.OperationalNeedResolver
- func (r *Resolver) OperationalSolution() generated.OperationalSolutionResolver
- func (r *Resolver) PlanBasics() generated.PlanBasicsResolver
- func (r *Resolver) PlanBeneficiaries() generated.PlanBeneficiariesResolver
- func (r *Resolver) PlanCollaborator() generated.PlanCollaboratorResolver
- func (r *Resolver) PlanDiscussion() generated.PlanDiscussionResolver
- func (r *Resolver) PlanDocument() generated.PlanDocumentResolver
- func (r *Resolver) PlanGeneralCharacteristics() generated.PlanGeneralCharacteristicsResolver
- func (r *Resolver) PlanOpsEvalAndLearning() generated.PlanOpsEvalAndLearningResolver
- func (r *Resolver) PlanParticipantsAndProviders() generated.PlanParticipantsAndProvidersResolver
- func (r *Resolver) PlanPayments() generated.PlanPaymentsResolver
- func (r *Resolver) PossibleOperationalNeed() generated.PossibleOperationalNeedResolver
- func (r *Resolver) PossibleOperationalSolution() generated.PossibleOperationalSolutionResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) Subscription() generated.SubscriptionResolver
- func (r *Resolver) Tag() generated.TagResolver
- func (r *Resolver) TaggedContent() generated.TaggedContentResolver
- func (r *Resolver) TaggedInDiscussionReplyActivityMeta() generated.TaggedInDiscussionReplyActivityMetaResolver
- func (r *Resolver) TaggedInPlanDiscussionActivityMeta() generated.TaggedInPlanDiscussionActivityMetaResolver
- func (r *Resolver) UserNotification() generated.UserNotificationResolver
- func (r *Resolver) UserNotificationPreferences() generated.UserNotificationPreferencesResolver
- type ResolverService
- type TestConfigs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyzeModelPlanForAnalyzedAudit ¶
func AnalyzeModelPlanForAnalyzedAudit( ctx context.Context, store *storage.Store, logger *zap.Logger, dayToAnalyze time.Time, modelPlanID uuid.UUID, ) (*models.AnalyzedAudit, error)
AnalyzeModelPlanForAnalyzedAudit analyzes a model plan based on a specific day. it analyzes all desired sections and stores the result to the database
func AnalyzedAuditGetByModelPlanIDsAndDate ¶
func AnalyzedAuditGetByModelPlanIDsAndDate( _ context.Context, store *storage.Store, logger *zap.Logger, modelPlanIDs []uuid.UUID, date time.Time, ) ([]*models.AnalyzedAudit, error)
AnalyzedAuditGetByModelPlanIDsAndDate returns all AnalyzedAudits for a specific date and collection of model plan ids. When possible, the data loader version of this script should be favored.
func ApplyChanges ¶
ApplyChanges applies arbitrary changes from a map to a struct Code largely copied from GQLGen's docs on changesets https://gqlgen.com/reference/changesets/
func AuditChangeCollectionByIDAndTable ¶
func AuditChangeCollectionByIDAndTable(logger *zap.Logger, tableName string, primaryKey uuid.UUID, store *storage.Store) ([]*models.AuditChange, error)
AuditChangeCollectionByIDAndTable returns changes based on tablename and primary key
func BaseStructPreCreate ¶
func BaseStructPreCreate(logger *zap.Logger, bs models.IBaseStruct, principal authentication.Principal, store *storage.Store, checkAccess bool) error
BaseStructPreCreate is called before an object is created to make sure the user has permissions to do so
func BaseStructPreDelete ¶
func BaseStructPreDelete(logger *zap.Logger, bs models.IBaseStruct, principal authentication.Principal, store *storage.Store, checkAccess bool) error
BaseStructPreDelete is called before an object is deleted to make sure the user has permissions to do so
func BaseStructPreUpdate ¶
func BaseStructPreUpdate(logger *zap.Logger, bs models.IBaseStruct, changes map[string]interface{}, principal authentication.Principal, store *storage.Store, applyChanges bool, checkAccess bool) error
BaseStructPreUpdate applies incoming changes from to a TaskList Section, and validates it's status It modifies the base struct object bs that is passed to it.
func BaseTaskListSectionPreUpdate ¶
func BaseTaskListSectionPreUpdate(logger *zap.Logger, tls models.IBaseTaskListSection, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) error
BaseTaskListSectionPreUpdate applies incoming changes from to a TaskList Section, and validates it's status
func CreateDiscussionReply ¶
func CreateDiscussionReply( ctx context.Context, logger *zap.Logger, emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, input *model.DiscussionReplyCreateInput, principal authentication.Principal, store *storage.Store, getAccountInformation userhelpers.GetAccountInfoFunc, ) (*models.DiscussionReply, error)
CreateDiscussionReply implements resolver logic to create a Discussion reply object
func CreatePlanDiscussion ¶
func CreatePlanDiscussion( ctx context.Context, logger *zap.Logger, emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, input *model.PlanDiscussionCreateInput, principal authentication.Principal, store *storage.Store, getAccountInformation userhelpers.GetAccountInfoFunc, ) (*models.PlanDiscussion, error)
CreatePlanDiscussion implements resolver logic to create a plan Discussion object. It will also save any Mentions to the tag table
func CurrentUserAccountGet ¶
func CurrentUserAccountGet(ctx context.Context) (*authentication.UserAccount, error)
CurrentUserAccountGet Gets the account of the current user in the database
func CurrentUserLaunchDarklySettingsGet ¶
func CurrentUserLaunchDarklySettingsGet(ctx context.Context, ldClient *ldclient.LDClient) (*model.LaunchDarklySettings, error)
CurrentUserLaunchDarklySettingsGet returns the launch darkly settings for the current user
func CurrentUserNotificationsGet ¶
func CurrentUserNotificationsGet(ctx context.Context, np sqlutils.NamedPreparer) (*models.UserNotifications, error)
CurrentUserNotificationsGet returns the notifications for the Current User
func DailyDigestNotificationSend ¶
func DailyDigestNotificationSend( ctx context.Context, np sqlutils.NamedPreparer, logger *zap.Logger, dateAnalyzed time.Time, userID uuid.UUID, getPreferencesFunc notifications.GetUserNotificationPreferencesFunc, emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, ) error
DailyDigestNotificationSend sends a single email for a user for a given day based on their favorited models It will also call the notification package for Daily Digest Complete Activity
func DeleteDiscussionReply ¶
func DeleteDiscussionReply(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, store *storage.Store) (*models.DiscussionReply, error)
DeleteDiscussionReply implements resolver logic to Delete a Discussion reply object Deprecated: THIS IS NOT USED by the front end. If it is ever used, make sure to handle tags
func DeletePlanDiscussion ¶
func DeletePlanDiscussion(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, store *storage.Store) (*models.PlanDiscussion, error)
DeletePlanDiscussion implements resolver logic to Delete a plan Discussion object Deprecated: THIS IS NOT USED by the front end. If it is ever used, make sure to handle tags
func DiscussionReplyCollectionByDiscusionIDLOADER ¶
func DiscussionReplyCollectionByDiscusionIDLOADER(ctx context.Context, discussionID uuid.UUID) ([]*models.DiscussionReply, error)
DiscussionReplyCollectionByDiscusionIDLOADER implements resolver logic to get Discussion Reply by a model plan ID using a data loader
func DiscussionReplyGetByID ¶
func DiscussionReplyGetByID(_ context.Context, store *storage.Store, logger *zap.Logger, discussionReplyID uuid.UUID) (*models.DiscussionReply, error)
DiscussionReplyGetByID returns a single discussion reply from the database for a given discussionReplyID
func ExistingModelCollectionGet ¶
func ExistingModelCollectionGet(logger *zap.Logger, store *storage.Store) ([]*models.ExistingModel, error)
ExistingModelCollectionGet returns all existing models
func ExistingModelGetByIDLOADER ¶
ExistingModelGetByIDLOADER implements resolver logic to get Existing Model by a model plan ID using a data loader
func ExistingModelLinkGetByID ¶
func ExistingModelLinkGetByID(logger *zap.Logger, store *storage.Store, principal authentication.Principal, id uuid.UUID) (*models.ExistingModelLink, error)
ExistingModelLinkGetByID returns an existing model link by its id
func ExistingModelLinkGetByModelPlanIDAndFieldNameLOADER ¶
func ExistingModelLinkGetByModelPlanIDAndFieldNameLOADER(ctx context.Context, modelPlanID uuid.UUID, fieldName models.ExisitingModelLinkFieldType) ([]*models.ExistingModelLink, error)
ExistingModelLinkGetByModelPlanIDAndFieldNameLOADER implements resolver logic to get Existing Model Link by a model plan ID using a data loader
func ExistingModelLinkGetModel ¶
func ExistingModelLinkGetModel(ctx context.Context, link *models.ExistingModelLink) (models.LinkedExistingModel, error)
ExistingModelLinkGetModel conditionally returns either an ExistingModel, or a ModelPlan that is connected in an existing model link
func ExistingModelLinksGetByModelPlanIDAndFieldNameLOADER ¶
func ExistingModelLinksGetByModelPlanIDAndFieldNameLOADER(ctx context.Context, modelPlanID uuid.UUID, fieldName models.ExisitingModelLinkFieldType) (*models.ExistingModelLinks, error)
ExistingModelLinksGetByModelPlanIDAndFieldNameLOADER implements resolver logic to get Existing Model Link by a model plan ID using a data loader
func ExistingModelLinksUpdate ¶
func ExistingModelLinksUpdate(logger *zap.Logger, store *storage.Store, principal authentication.Principal, modelPlanID uuid.UUID, fieldName models.ExisitingModelLinkFieldType, existingModelIDs []int, currentModelPlanIDs []uuid.UUID) (*models.ExistingModelLinks, error)
ExistingModelLinksUpdate creates or deletes existing model links based on the list provided.
func GetMostRecentDiscussionRoleSelection ¶
func GetMostRecentDiscussionRoleSelection( logger *zap.Logger, store *storage.Store, principal authentication.Principal, ) (*models.DiscussionRoleSelection, error)
GetMostRecentDiscussionRoleSelection implements resolver logic to get the most recent user role selection
func GetTaskListSectionLocks ¶
func GetTaskListSectionLocks(modelPlanID uuid.UUID) ([]*model.TaskListSectionLockStatus, error)
GetTaskListSectionLocks is a convenience relay method to call the corresponding method on a resolver implementation
func IsPlanCollaborator ¶
func IsPlanCollaborator(logger *zap.Logger, principal authentication.Principal, store *storage.Store, modelPlanID uuid.UUID) (bool, error)
IsPlanCollaborator checks if a user is a collaborator on model plan is a favorite.
func IsPlanFavorited ¶
func IsPlanFavorited(logger *zap.Logger, principal authentication.Principal, store *storage.Store, modelPlanID uuid.UUID) (bool, error)
IsPlanFavorited checks if a model plan is a favorite.
func LockTaskListSection ¶
func LockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section models.TaskListSection, principal authentication.Principal) (bool, error)
LockTaskListSection is a convenience relay method to call the corresponding method on a resolver implementation
func ModelPlanCollection ¶
func ModelPlanCollection(logger *zap.Logger, principal authentication.Principal, store *storage.Store, filter model.ModelPlanFilter) ([]*models.ModelPlan, error)
ModelPlanCollection implements resolver logic to get a list of model plans by who's a collaborator on them (TODO)
func ModelPlanCreate ¶
func ModelPlanCreate( ctx context.Context, logger *zap.Logger, emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, modelName string, store *storage.Store, principal authentication.Principal, getAccountInformation userhelpers.GetAccountInfoFunc, ) (*models.ModelPlan, error)
ModelPlanCreate implements resolver logic to create a model plan, and send relevant notifications about it's creation It also creates a record for all the task list items at the same time. It utilizes transactions to ensure that the data can be rolled back if there is an error at any point along the way.
func ModelPlanGetByID ¶
func ModelPlanGetByID(logger *zap.Logger, id uuid.UUID, store *storage.Store) (*models.ModelPlan, error)
ModelPlanGetByID implements resolver logic to get a model plan by its ID
func ModelPlanGetByIDLOADER ¶
ModelPlanGetByIDLOADER implements resolver logic to get Model Plan by a model plan ID using a data loader
func ModelPlanGetSampleModel ¶
ModelPlanGetSampleModel returns the sample model plan
func ModelPlanNameHistory ¶
func ModelPlanNameHistory(logger *zap.Logger, modelPlanID uuid.UUID, sortDir models.SortDirection, store *storage.Store) ([]string, error)
ModelPlanNameHistory returns a slice of AuditChanges, with the only values returned being the model_name field
func ModelPlanShare ¶
func ModelPlanShare( ctx context.Context, logger *zap.Logger, store *storage.Store, principal authentication.Principal, emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, modelPlanID uuid.UUID, viewFilter *models.ModelViewFilter, usernames []string, optionalMessage *string, getAccountInformation userhelpers.GetAccountInfoFunc, ) (bool, error)
ModelPlanShare implements resolver logic to share a model plan with a list of emails
func ModelPlanUpdate ¶
func ModelPlanUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.ModelPlan, error)
ModelPlanUpdate implements resolver logic to update a model plan
func NDAAgreementGetByUserID ¶
func NDAAgreementGetByUserID(logger *zap.Logger, principal authentication.Principal, store *storage.Store) (*model.NDAInfo, error)
NDAAgreementGetByUserID returns an EUA agreement by eua
func NDAAgreementUpdateOrCreate ¶
func NDAAgreementUpdateOrCreate(logger *zap.Logger, agree bool, principal authentication.Principal, store *storage.Store) (*model.NDAInfo, error)
NDAAgreementUpdateOrCreate either writes an entry to the nda table, or updates an existing one
func NewDBConfig ¶
NewDBConfig returns a DBConfig struct with values from appconfig
func OnLockTaskListSectionContext ¶
func OnLockTaskListSectionContext( ps pubsub.PubSub, modelPlanID uuid.UUID, principal authentication.Principal, onDisconnect <-chan struct{}, ) (<-chan *model.TaskListSectionLockStatusChanged, error)
OnLockTaskListSectionContext maintains a webhook monitoring changes to task list sections. Once that webhook dies it will auto-unlock any section locked by that EUAID.
func OperationaSolutionsAndPossibleGetByOPNeedIDLOADER ¶
func OperationaSolutionsAndPossibleGetByOPNeedIDLOADER(ctx context.Context, operationalNeedID uuid.UUID, includeNotNeeded bool) ([]*models.OperationalSolution, error)
OperationaSolutionsAndPossibleGetByOPNeedIDLOADER returns operational Solutions and possible Operational Solutions based on a specific operational Need ID using a Data Loader
func OperationalNeedCollectionGetByModelPlanID ¶
func OperationalNeedCollectionGetByModelPlanID(logger *zap.Logger, modelPlanID uuid.UUID, store *storage.Store) ([]*models.OperationalNeed, error)
OperationalNeedCollectionGetByModelPlanID returns possible and existing OperationalNeeds associated to a model plan
func OperationalNeedCollectionGetByModelPlanIDLOADER ¶
func OperationalNeedCollectionGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) ([]*models.OperationalNeed, error)
OperationalNeedCollectionGetByModelPlanIDLOADER returns possible and existing OperationalNeeds associated to a model plan
func OperationalNeedCustomUpdateByID ¶
func OperationalNeedCustomUpdateByID(logger *zap.Logger, operationNeedID uuid.UUID, customNeedType *string, needed bool, principal authentication.Principal, store *storage.Store) (*models.OperationalNeed, error)
OperationalNeedCustomUpdateByID updates an Operational Need by it's ID. Note, we don't allow updating a need type, except customNeedTypes
func OperationalNeedGetByID ¶
func OperationalNeedGetByID(logger *zap.Logger, id uuid.UUID, store *storage.Store) (*models.OperationalNeed, error)
OperationalNeedGetByID returns an operational Need by it's ID
func OperationalNeedInsertOrUpdateCustom ¶
func OperationalNeedInsertOrUpdateCustom(logger *zap.Logger, modelPlanID uuid.UUID, customNeedType string, needed bool, principal authentication.Principal, store *storage.Store) (*models.OperationalNeed, error)
OperationalNeedInsertOrUpdateCustom adds or updates a Custom Operational Need
func OperationalSolutionCreate ¶
func OperationalSolutionCreate( ctx context.Context, store *storage.Store, logger *zap.Logger, emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, operationNeedID uuid.UUID, solutionType *models.OperationalSolutionKey, changes map[string]interface{}, principal authentication.Principal, ) (*models.OperationalSolution, error)
OperationalSolutionCreate calls a DB method to create an operational solution
func OperationalSolutionGetByID ¶
func OperationalSolutionGetByID(logger *zap.Logger, id uuid.UUID, store *storage.Store) (*models.OperationalSolution, error)
OperationalSolutionGetByID returns an operational Solution by it's ID
func OperationalSolutionSubtaskDelete ¶
func OperationalSolutionSubtaskDelete( logger *zap.Logger, store *storage.Store, principal authentication.Principal, id uuid.UUID, ) (int, error)
OperationalSolutionSubtaskDelete implements resolver logic to delete an operational solution subtask
func OperationalSolutionSubtaskGetByID ¶
func OperationalSolutionSubtaskGetByID( logger *zap.Logger, store *storage.Store, subtaskID uuid.UUID, ) (*models.OperationalSolutionSubtask, error)
OperationalSolutionSubtaskGetByID implements the resolver logic to get an operational solution subtask by ID
func OperationalSolutionSubtaskGetBySolutionIDLOADER ¶
func OperationalSolutionSubtaskGetBySolutionIDLOADER(ctx context.Context, solutionID uuid.UUID) ([]*models.OperationalSolutionSubtask, error)
OperationalSolutionSubtaskGetBySolutionIDLOADER implements resolver logic to get Operational Solution Subtask by a model plan ID using a data loader
func OperationalSolutionSubtasksCreate ¶
func OperationalSolutionSubtasksCreate( logger *zap.Logger, store *storage.Store, inputs []*model.CreateOperationalSolutionSubtaskInput, solutionID uuid.UUID, principal authentication.Principal, ) ([]*models.OperationalSolutionSubtask, error)
OperationalSolutionSubtasksCreate implements resolver logic to create an operational solution subtask in the database
func OperationalSolutionSubtasksUpdateByID ¶
func OperationalSolutionSubtasksUpdateByID( logger *zap.Logger, store *storage.Store, principal authentication.Principal, subtasksChanges []*model.UpdateOperationalSolutionSubtaskInput, ) ([]*models.OperationalSolutionSubtask, error)
OperationalSolutionSubtasksUpdateByID implements the resolver logic to update a collection of operational solution subtasks by ID
func OperationalSolutionUpdate ¶
func OperationalSolutionUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.OperationalSolution, error)
OperationalSolutionUpdate updates an operational Solution by it's ID
func PlanBasicsGetByModelPlanIDLOADER ¶
func PlanBasicsGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanBasics, error)
PlanBasicsGetByModelPlanIDLOADER implements resolver logic to get plan basics by a model plan ID using a data loader
func PlanBeneficiariesGetByModelPlanIDLOADER ¶
func PlanBeneficiariesGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanBeneficiaries, error)
PlanBeneficiariesGetByModelPlanIDLOADER implements resolver logic to get Plan Beneficiaries by a model plan ID using a data loader
func PlanBeneficiariesUpdate ¶
func PlanBeneficiariesUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.PlanBeneficiaries, error)
PlanBeneficiariesUpdate updates a plan Beneficiary buisness object
func PlanCRCreate ¶
func PlanCRCreate(logger *zap.Logger, input *model.PlanCRCreateInput, principal authentication.Principal, store *storage.Store) (*models.PlanCR, error)
PlanCRCreate creates a new plan_cr_tdl record in the database
func PlanCRDelete ¶
func PlanCRDelete(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, store *storage.Store) (*models.PlanCR, error)
PlanCRDelete deletes a plan cr_tdl record in the database
func PlanCRUpdate ¶
func PlanCRUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.PlanCR, error)
PlanCRUpdate updates a plan_cr_tdl record in the database
func PlanCRsGetByModelPlanID ¶
func PlanCRsGetByModelPlanID(logger *zap.Logger, modelPlanID uuid.UUID, store *storage.Store) ([]*models.PlanCR, error)
PlanCRsGetByModelPlanID returns plan_cr_tdl records related to a model plan
func PlanCollaboratorCreate ¶
func PlanCollaboratorCreate( ctx context.Context, np sqlutils.NamedPreparer, store *storage.Store, logger *zap.Logger, emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, input *model.PlanCollaboratorCreateInput, principal authentication.Principal, checkAccess bool, getAccountInformation userhelpers.GetAccountInfoFunc, createNotification bool, ) (*models.PlanCollaborator, *models.PlanFavorite, error)
CreatePlanCollaboratorTransaction implements resolver logic to create a plan collaborator If the email service or email template service is not provided this method will not
send the collaborator a notification email
A plan favorite is created for the collaborating user when the user is added as a collaborator The transaction object does not commit or rollback in the scope of this function
func PlanCollaboratorDelete ¶
func PlanCollaboratorDelete(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, store *storage.Store) (*models.PlanCollaborator, error)
PlanCollaboratorDelete implements resolver logic to delete a plan collaborator
func PlanCollaboratorGetByID ¶
PlanCollaboratorGetByID implements resolver logic to fetch a plan collaborator by ID. It requires the ctx to have a DataLoader embedded.
func PlanCollaboratorGetByModelPlanIDLOADER ¶
func PlanCollaboratorGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) ([]*models.PlanCollaborator, error)
PlanCollaboratorGetByModelPlanIDLOADER implements resolver logic to get Plan Collaborator by a model plan ID using a data loader
func PlanCollaboratorUpdate ¶
func PlanCollaboratorUpdate(logger *zap.Logger, id uuid.UUID, newRoles []models.TeamRole, principal authentication.Principal, store *storage.Store) (*models.PlanCollaborator, error)
PlanCollaboratorUpdate implements resolver logic to update a plan collaborator
func PlanDiscussionGetByID ¶
func PlanDiscussionGetByID(_ context.Context, store *storage.Store, logger *zap.Logger, discussionID uuid.UUID) (*models.PlanDiscussion, error)
PlanDiscussionGetByID returns a single discussion from the database for a given discussionID
func PlanDiscussionGetByModelPlanIDLOADER ¶
func PlanDiscussionGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) ([]*models.PlanDiscussion, error)
PlanDiscussionGetByModelPlanIDLOADER implements resolver logic to get Plan Discussion by a model plan ID using a data loader
func PlanDocumentCreate ¶
func PlanDocumentCreate(logger *zap.Logger, input *model.PlanDocumentInput, principal authentication.Principal, store *storage.Store, s3Client *upload.S3Client) (*models.PlanDocument, error)
PlanDocumentCreate implements resolver logic to upload the specified file to S3 and create a matching plan document entity in the database.
func PlanDocumentCreateLinked ¶
func PlanDocumentCreateLinked(logger *zap.Logger, input model.PlanDocumentLinkInput, principal authentication.Principal, store *storage.Store) (*models.PlanDocument, error)
PlanDocumentCreateLinked creates a plan document which is a link to an external URL instead of an Uploaded file
func PlanDocumentDelete ¶
func PlanDocumentDelete(logger *zap.Logger, s3Client *upload.S3Client, id uuid.UUID, principal authentication.Principal, store *storage.Store) (int, error)
PlanDocumentDelete implements resolver logic to update a plan document object
func PlanDocumentNumLinkedSolutions ¶
func PlanDocumentNumLinkedSolutions(logger *zap.Logger, principal authentication.Principal, store *storage.Store, documentID uuid.UUID) (int, error)
PlanDocumentNumLinkedSolutions implements resolver logic to retrieve the number of linked solutions for a document by ID
func PlanDocumentRead ¶
func PlanDocumentRead(logger *zap.Logger, store *storage.Store, s3Client *upload.S3Client, id uuid.UUID) (*models.PlanDocument, error)
PlanDocumentRead implements resolver logic to fetch a plan document object by ID
func PlanDocumentSolutionLinkRemove ¶
func PlanDocumentSolutionLinkRemove(logger *zap.Logger, solutionID uuid.UUID, documentIDs []uuid.UUID, store *storage.Store, principal authentication.Principal) (bool, error)
PlanDocumentSolutionLinkRemove implements resolver logic to delete a plan document solution link
func PlanDocumentSolutionLinksCreate ¶
func PlanDocumentSolutionLinksCreate(logger *zap.Logger, store *storage.Store, solutionID uuid.UUID, documentIDs []uuid.UUID, principal authentication.Principal) ([]*models.PlanDocumentSolutionLink, error)
PlanDocumentSolutionLinksCreate implements resolver logic to create a collection of new plan document solution links
func PlanDocumentSolutionLinksGetBySolutionID ¶
func PlanDocumentSolutionLinksGetBySolutionID(logger *zap.Logger, id uuid.UUID, store *storage.Store) ([]*models.PlanDocumentSolutionLink, error)
PlanDocumentSolutionLinksGetBySolutionID implements resolver logic to get plan document solution links associated with a plan ID
func PlanDocumentsReadByModelPlanID ¶
func PlanDocumentsReadByModelPlanID(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, store *storage.Store, s3Client *upload.S3Client) ([]*models.PlanDocument, error)
PlanDocumentsReadByModelPlanID implements resolver logic to fetch a plan document object by model plan ID
func PlanDocumentsReadBySolutionID ¶
func PlanDocumentsReadBySolutionID( logger *zap.Logger, id uuid.UUID, principal authentication.Principal, store *storage.Store, s3Client *upload.S3Client, ) ([]*models.PlanDocument, error)
PlanDocumentsReadBySolutionID implements resolver logic to fetch a plan document object by solution ID
func PlanFavoriteCreate ¶
func PlanFavoriteCreate(np sqlutils.NamedPreparer, logger *zap.Logger, principal authentication.Principal, userAccountID uuid.UUID, store *storage.Store, modelPlanID uuid.UUID) (*models.PlanFavorite, error)
PlanFavoriteCreate creates a new plan favorite record in the database
func PlanFavoriteDelete ¶
func PlanFavoriteDelete(logger *zap.Logger, principal authentication.Principal, store *storage.Store, modelPlanID uuid.UUID) (*models.PlanFavorite, error)
PlanFavoriteDelete deletes a plan favorite record in the database
func PlanFavoriteGet ¶
func PlanFavoriteGet(logger *zap.Logger, principal authentication.Principal, store *storage.Store, modelPlandID uuid.UUID) (*models.PlanFavorite, error)
PlanFavoriteGet returns a plan favorite record
func PlanGeneralCharacteristicsGetByModelPlanIDLOADER ¶
func PlanGeneralCharacteristicsGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanGeneralCharacteristics, error)
PlanGeneralCharacteristicsGetByModelPlanIDLOADER implements resolver logic to get plan general characteristics by a model plan ID using a data loader
func PlanOpsEvalAndLearningGetByModelPlanIDLOADER ¶
func PlanOpsEvalAndLearningGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanOpsEvalAndLearning, error)
PlanOpsEvalAndLearningGetByModelPlanIDLOADER implements resolver logic to get Plan Operations Evaluation And Learning by a model plan ID using a data loader
func PlanOpsEvalAndLearningUpdate ¶
func PlanOpsEvalAndLearningUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.PlanOpsEvalAndLearning, error)
PlanOpsEvalAndLearningUpdate updates a PlanOpsEvalAndLearning buisness object
func PlanParticipantsAndProvidersGetByModelPlanIDLOADER ¶
func PlanParticipantsAndProvidersGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanParticipantsAndProviders, error)
PlanParticipantsAndProvidersGetByModelPlanIDLOADER implements resolver logic to get Plan Participants and Providers by a model plan ID using a data loader
func PlanParticipantsAndProvidersUpdate ¶
func PlanParticipantsAndProvidersUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.PlanParticipantsAndProviders, error)
PlanParticipantsAndProvidersUpdate updates a plan ProvidersAndParticipants buisness object
func PlanPaymentsGetByModelPlanIDLOADER ¶
func PlanPaymentsGetByModelPlanIDLOADER(ctx context.Context, modelPlanID uuid.UUID) (*models.PlanPayments, error)
PlanPaymentsGetByModelPlanIDLOADER implements resolver logic to get Plan Payments by a model plan ID using a data loader
func PlanPaymentsRead ¶
func PlanPaymentsRead( logger *zap.Logger, store *storage.Store, id uuid.UUID, ) (*models.PlanPayments, error)
PlanPaymentsRead handles requests to find a Plan Payment by ID
func PlanPaymentsUpdate ¶
func PlanPaymentsUpdate( logger *zap.Logger, store *storage.Store, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, ) (*models.PlanPayments, error)
PlanPaymentsUpdate handles requests to update a Plan Payment
func PlanTDLCreate ¶
func PlanTDLCreate(logger *zap.Logger, input *model.PlanTDLCreateInput, principal authentication.Principal, store *storage.Store) (*models.PlanTDL, error)
PlanTDLCreate creates a new plan_cr_tdl record in the database
func PlanTDLDelete ¶
func PlanTDLDelete(logger *zap.Logger, id uuid.UUID, principal authentication.Principal, store *storage.Store) (*models.PlanTDL, error)
PlanTDLDelete deletes a plan cr_tdl record in the database
func PlanTDLGet ¶
PlanTDLGet returns a plan_cr_tdl record in the database
func PlanTDLUpdate ¶
func PlanTDLUpdate(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.PlanTDL, error)
PlanTDLUpdate updates a plan_cr_tdl record in the database
func PlanTDLsGetByModelPlanID ¶
func PlanTDLsGetByModelPlanID(logger *zap.Logger, modelPlanID uuid.UUID, store *storage.Store) ([]*models.PlanTDL, error)
PlanTDLsGetByModelPlanID returns plan_cr_tdl records related to a model plan
func PossibleOperationalNeedCollectionGet ¶
func PossibleOperationalNeedCollectionGet(logger *zap.Logger, store *storage.Store) ([]*models.PossibleOperationalNeed, error)
PossibleOperationalNeedCollectionGet returns all possible OperationalNeeds
func PossibleOperationalSolutionCollectionGetAll ¶
func PossibleOperationalSolutionCollectionGetAll(logger *zap.Logger, store *storage.Store) ([]*models.PossibleOperationalSolution, error)
PossibleOperationalSolutionCollectionGetAll returns all possible operational Solutions linked to Operational Need Type
func PossibleOperationalSolutionCollectionGetByNeedType ¶
func PossibleOperationalSolutionCollectionGetByNeedType(logger *zap.Logger, needType models.OperationalNeedKey, store *storage.Store) ([]*models.PossibleOperationalSolution, error)
PossibleOperationalSolutionCollectionGetByNeedType returns all possible operational Solutions linked to Operational Need Type
func PossibleOperationalSolutionContactsGetByPossibleSolutionID ¶
func PossibleOperationalSolutionContactsGetByPossibleSolutionID(ctx context.Context, possibleSolutionID int) ([]*models.PossibleOperationalSolutionContact, error)
PossibleOperationalSolutionContactsGetByPossibleSolutionID returns all the contacts associated with a possible operational solution it uses a data loader to ensure efficient querying
func PossibleOperationalSolutionGetByID ¶
func PossibleOperationalSolutionGetByID(logger *zap.Logger, store *storage.Store, id int) (*models.PossibleOperationalSolution, error)
PossibleOperationalSolutionGetByID returns a possible operational Solutions according to it's id
func ReadyForClearanceRead ¶
func ReadyForClearanceRead( logger *zap.Logger, store *storage.Store, modelPlanID uuid.UUID, ) (*model.PrepareForClearance, error)
ReadyForClearanceRead handles requests to read a information about a Model Plan's "Ready for Clearance" section
func ReportAProblem ¶
func ReportAProblem( emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, principal authentication.Principal, input model.ReportAProblemInput, ) (bool, error)
ReportAProblem is the resolver to send an email with a problem report
func SendFeedbackEmail ¶
func SendFeedbackEmail( emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, principal authentication.Principal, input model.SendFeedbackEmailInput, ) (bool, error)
SendFeedbackEmail sends a feedback email to the mint team
func SubscribeTaskListSectionLockChanges ¶
func SubscribeTaskListSectionLockChanges( ps pubsub.PubSub, modelPlanID uuid.UUID, principal authentication.Principal, onDisconnect <-chan struct{}, ) (<-chan *model.TaskListSectionLockStatusChanged, error)
SubscribeTaskListSectionLockChanges is a convenience relay method to call the corresponding method on a resolver implementation
func TagCollectionCreate ¶
func TagCollectionCreate(np sqlutils.NamedPreparer, logger *zap.Logger, principal authentication.Principal, taggedField string, taggedTable string, taggedContentID uuid.UUID, mentions []*models.HTMLMention) ([]*models.Tag, error)
TagCollectionCreate converts an array of mentions, and creates an array in the database for unique tags.
func TagCollectionGet ¶
func TagCollectionGet( logger *zap.Logger, store *storage.Store, taggedTable string, taggedField string, taggedContentID uuid.UUID) ([]*models.Tag, error)
TagCollectionGet retrieves all the tags for a specific entry and table
func TaggedContentGet ¶
func TaggedContentGet( logger *zap.Logger, store *storage.Store, rawContent string, taggedTable string, taggedField string, taggedContentID uuid.UUID) (*models.TaggedContent, error)
TaggedContentGet returns the tag content of a parent object
func TaggedEntityGet ¶
func TaggedEntityGet( ctx context.Context, store *storage.Store, tagType models.TagType, EntityUUID *uuid.UUID, EntityIntID *int, ) (models.TaggedEntity, error)
TaggedEntityGet returns a Tagged Entity based on the table it refers to as well as the ID
func UnlockAllTaskListSections ¶
func UnlockAllTaskListSections(ps pubsub.PubSub, modelPlanID uuid.UUID) ([]*model.TaskListSectionLockStatus, error)
UnlockAllTaskListSections is a convenience relay method to call the corresponding method on a resolver implementation
func UnlockTaskListSection ¶
func UnlockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section models.TaskListSection, userID uuid.UUID, actionType model.ActionType) (bool, error)
UnlockTaskListSection is a convenience relay method to call the corresponding method on a resolver implementation
func UpdateDiscussionReply ¶
func UpdateDiscussionReply(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.DiscussionReply, error)
UpdateDiscussionReply implements resolver logic to update a Discussion reply object Deprecated: THIS IS NOT USED by the front end. If it is ever used, make sure to handle tags
func UpdatePlanBasics ¶
func UpdatePlanBasics( logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store, emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, ) (*models.PlanBasics, error)
UpdatePlanBasics implements resolver logic to update a plan basics object
func UpdatePlanDiscussion ¶
func UpdatePlanDiscussion(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.PlanDiscussion, error)
UpdatePlanDiscussion implements resolver logic to update a plan Discussion object Deprecated: THIS IS NOT USED by the front end. If it is ever used, make sure to handle tags
func UpdatePlanGeneralCharacteristics ¶
func UpdatePlanGeneralCharacteristics(logger *zap.Logger, id uuid.UUID, changes map[string]interface{}, principal authentication.Principal, store *storage.Store) (*models.PlanGeneralCharacteristics, error)
UpdatePlanGeneralCharacteristics implements resolver logic to update a plan general characteristics object
func UpdateTaggedHTMLMentionsAndRawContent ¶
func UpdateTaggedHTMLMentionsAndRawContent(ctx context.Context, store *storage.Store, tHTML *models.TaggedHTML, getAccountInformation userhelpers.GetAccountInfoFunc) error
UpdateTaggedHTMLMentionsAndRawContent updates the tagged html with the correct entity ids, and updates the RAW HTMl with the new representation of the mentions Both the raw content as well as the the individual mentions are updated as a result of this method The databaseID will be updated every time regardless of it was set in the html tag.
func UserAccountGetByIDLOADER ¶
func UserAccountGetByIDLOADER(ctx context.Context, id uuid.UUID) (*authentication.UserAccount, error)
UserAccountGetByIDLOADER returns a user account by it's internal ID, utilizing a data loader
func UserAccountGetByUsername ¶
func UserAccountGetByUsername(logger *zap.Logger, store *storage.Store, userName string) (*authentication.UserAccount, error)
UserAccountGetByUsername returns a user account by it's userName
func UserAccountsGetByIDs ¶
func UserAccountsGetByIDs(logger *zap.Logger, store *storage.Store, ids []uuid.UUID) ([]*authentication.UserAccount, error)
UserAccountsGetByIDs returns a list of user account by it's internal ID
func UserNotificationPreferencesGetByUserID ¶
func UserNotificationPreferencesGetByUserID(ctx context.Context, userID uuid.UUID) (*models.UserNotificationPreferences, error)
UserNotificationPreferencesGetByUserID returns a user notification preferences object based on a userID
func UserNotificationPreferencesUpdate ¶
func UserNotificationPreferencesUpdate(ctx context.Context, logger *zap.Logger, principal authentication.Principal, store *storage.Store, changes map[string]interface{}) (*models.UserNotificationPreferences, error)
UserNotificationPreferencesUpdate updates a user notification preferences object for a user Notice: The specific UserNotificationPreference is inferred from the principal object. It will only update the notification preference for the current user.
Types ¶
type DateProcessor ¶
type DateProcessor struct { FieldDataMap map[string]dateFieldData // contains filtered or unexported fields }
DateProcessor is a struct that processes date changes
func NewDateProcessor ¶
func NewDateProcessor(changes map[string]interface{}, existing *models.PlanBasics) (*DateProcessor, error)
NewDateProcessor is a constructor for DateProcessor
func (*DateProcessor) ExtractChangedDates ¶
func (dp *DateProcessor) ExtractChangedDates() (map[string]email.DateChange, error)
ExtractChangedDates extracts the changed dates from the DateProcessor
type PlanTaskListSectionLocks ¶
type PlanTaskListSectionLocks interface { GetTaskListSectionLocks(modelPlanID uuid.UUID) ([]*model.TaskListSectionLockStatus, error) SubscribeTaskListSectionLockChanges(ps pubsub.PubSub, modelPlanID uuid.UUID, principal string, onDisconnect <-chan struct{}) (<-chan *model.TaskListSectionLockStatusChanged, error) LockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section string, principal string) (bool, error) UnlockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section string, principal string) (bool, error) UnlockAllTaskListSections(ps pubsub.PubSub, modelPlanID uuid.UUID) []model.TaskListSectionLockStatus }
PlanTaskListSectionLocks defines an interface to implement or mock
type PlanTaskListSectionLocksResolverImplementation ¶
type PlanTaskListSectionLocksResolverImplementation struct { }
PlanTaskListSectionLocksResolverImplementation is an implementation of the PlanTaskListSectionLocks interface
func NewPlanTaskListSectionLocksResolverImplementation ¶
func NewPlanTaskListSectionLocksResolverImplementation() *PlanTaskListSectionLocksResolverImplementation
NewPlanTaskListSectionLocksResolverImplementation is a constructor to create an instance of PlanTaskListSectionLocksResolverImplementation
func (PlanTaskListSectionLocksResolverImplementation) GetTaskListSectionLocks ¶
func (p PlanTaskListSectionLocksResolverImplementation) GetTaskListSectionLocks(modelPlanID uuid.UUID) ([]*model.TaskListSectionLockStatus, error)
GetTaskListSectionLocks returns the list of locked task list sections. Any sections not included should be considered as unlocked.
func (PlanTaskListSectionLocksResolverImplementation) LockTaskListSection ¶
func (p PlanTaskListSectionLocksResolverImplementation) LockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section models.TaskListSection, principal authentication.Principal) (bool, error)
LockTaskListSection will lock the provided task list section on the provided model
func (PlanTaskListSectionLocksResolverImplementation) SubscribeTaskListSectionLockChanges ¶
func (p PlanTaskListSectionLocksResolverImplementation) SubscribeTaskListSectionLockChanges(ps pubsub.PubSub, modelPlanID uuid.UUID, subscriber *subscribers.TaskListSectionLockChangedSubscriber, onDisconnect <-chan struct{}) (<-chan *model.TaskListSectionLockStatusChanged, error)
SubscribeTaskListSectionLockChanges creates a Subscriber and registers it for the pubsubevents.TaskListSectionLocksChanged event
func (PlanTaskListSectionLocksResolverImplementation) UnlockAllTaskListSections ¶
func (p PlanTaskListSectionLocksResolverImplementation) UnlockAllTaskListSections(ps pubsub.PubSub, modelPlanID uuid.UUID) ([]*model.TaskListSectionLockStatus, error)
UnlockAllTaskListSections will unlock all task list sections on the provided model
func (PlanTaskListSectionLocksResolverImplementation) UnlockTaskListSection ¶
func (p PlanTaskListSectionLocksResolverImplementation) UnlockTaskListSection(ps pubsub.PubSub, modelPlanID uuid.UUID, section models.TaskListSection, userID uuid.UUID, actionType model.ActionType) (bool, error)
UnlockTaskListSection will unlock the provided task list section on the provided model
This method will fail if the provided principal is not the person who locked the task list section
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver is a resolver.
func NewResolver ¶
func NewResolver( store *storage.Store, service ResolverService, s3Client *upload.S3Client, emailService oddmail.EmailService, emailTemplateService email.TemplateService, addressBook email.AddressBook, ldClient *ldclient.LDClient, pubsub pubsub.PubSub, ) *Resolver
NewResolver constructs a resolver
func (*Resolver) Activity ¶
func (r *Resolver) Activity() generated.ActivityResolver
Activity returns generated.ActivityResolver implementation.
func (*Resolver) AddedAsCollaboratorMeta ¶
func (r *Resolver) AddedAsCollaboratorMeta() generated.AddedAsCollaboratorMetaResolver
AddedAsCollaboratorMeta returns generated.AddedAsCollaboratorMetaResolver implementation.
func (*Resolver) AnalyzedModelLeadInfo ¶
func (r *Resolver) AnalyzedModelLeadInfo() generated.AnalyzedModelLeadInfoResolver
AnalyzedModelLeadInfo returns generated.AnalyzedModelLeadInfoResolver implementation.
func (*Resolver) AuditChange ¶
func (r *Resolver) AuditChange() generated.AuditChangeResolver
AuditChange returns generated.AuditChangeResolver implementation.
func (*Resolver) CurrentUser ¶
func (r *Resolver) CurrentUser() generated.CurrentUserResolver
CurrentUser returns generated.CurrentUserResolver implementation.
func (*Resolver) DailyDigestCompleteActivityMeta ¶
func (r *Resolver) DailyDigestCompleteActivityMeta() generated.DailyDigestCompleteActivityMetaResolver
DailyDigestCompleteActivityMeta returns generated.DailyDigestCompleteActivityMetaResolver implementation.
func (*Resolver) DiscussionReply ¶
func (r *Resolver) DiscussionReply() generated.DiscussionReplyResolver
DiscussionReply returns generated.DiscussionReplyResolver implementation.
func (*Resolver) ExistingModelLink ¶
func (r *Resolver) ExistingModelLink() generated.ExistingModelLinkResolver
ExistingModelLink returns generated.ExistingModelLinkResolver implementation.
func (*Resolver) ExistingModelLinks ¶
func (r *Resolver) ExistingModelLinks() generated.ExistingModelLinksResolver
ExistingModelLinks returns generated.ExistingModelLinksResolver implementation.
func (*Resolver) ModelPlan ¶
func (r *Resolver) ModelPlan() generated.ModelPlanResolver
ModelPlan returns generated.ModelPlanResolver implementation.
func (*Resolver) ModelPlanSharedActivityMeta ¶
func (r *Resolver) ModelPlanSharedActivityMeta() generated.ModelPlanSharedActivityMetaResolver
ModelPlanSharedActivityMeta returns generated.ModelPlanSharedActivityMetaResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) NewDiscussionRepliedActivityMeta ¶
func (r *Resolver) NewDiscussionRepliedActivityMeta() generated.NewDiscussionRepliedActivityMetaResolver
NewDiscussionRepliedActivityMeta returns generated.NewDiscussionRepliedActivityMetaResolver implementation.
func (*Resolver) OperationalNeed ¶
func (r *Resolver) OperationalNeed() generated.OperationalNeedResolver
OperationalNeed returns generated.OperationalNeedResolver implementation.
func (*Resolver) OperationalSolution ¶
func (r *Resolver) OperationalSolution() generated.OperationalSolutionResolver
OperationalSolution returns generated.OperationalSolutionResolver implementation.
func (*Resolver) PlanBasics ¶
func (r *Resolver) PlanBasics() generated.PlanBasicsResolver
PlanBasics returns generated.PlanBasicsResolver implementation.
func (*Resolver) PlanBeneficiaries ¶
func (r *Resolver) PlanBeneficiaries() generated.PlanBeneficiariesResolver
PlanBeneficiaries returns generated.PlanBeneficiariesResolver implementation.
func (*Resolver) PlanCollaborator ¶
func (r *Resolver) PlanCollaborator() generated.PlanCollaboratorResolver
PlanCollaborator returns generated.PlanCollaboratorResolver implementation.
func (*Resolver) PlanDiscussion ¶
func (r *Resolver) PlanDiscussion() generated.PlanDiscussionResolver
PlanDiscussion returns generated.PlanDiscussionResolver implementation.
func (*Resolver) PlanDocument ¶
func (r *Resolver) PlanDocument() generated.PlanDocumentResolver
PlanDocument returns generated.PlanDocumentResolver implementation.
func (*Resolver) PlanGeneralCharacteristics ¶
func (r *Resolver) PlanGeneralCharacteristics() generated.PlanGeneralCharacteristicsResolver
PlanGeneralCharacteristics returns generated.PlanGeneralCharacteristicsResolver implementation.
func (*Resolver) PlanOpsEvalAndLearning ¶
func (r *Resolver) PlanOpsEvalAndLearning() generated.PlanOpsEvalAndLearningResolver
PlanOpsEvalAndLearning returns generated.PlanOpsEvalAndLearningResolver implementation.
func (*Resolver) PlanParticipantsAndProviders ¶
func (r *Resolver) PlanParticipantsAndProviders() generated.PlanParticipantsAndProvidersResolver
PlanParticipantsAndProviders returns generated.PlanParticipantsAndProvidersResolver implementation.
func (*Resolver) PlanPayments ¶
func (r *Resolver) PlanPayments() generated.PlanPaymentsResolver
PlanPayments returns generated.PlanPaymentsResolver implementation.
func (*Resolver) PossibleOperationalNeed ¶
func (r *Resolver) PossibleOperationalNeed() generated.PossibleOperationalNeedResolver
PossibleOperationalNeed returns generated.PossibleOperationalNeedResolver implementation.
func (*Resolver) PossibleOperationalSolution ¶
func (r *Resolver) PossibleOperationalSolution() generated.PossibleOperationalSolutionResolver
PossibleOperationalSolution returns generated.PossibleOperationalSolutionResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() generated.SubscriptionResolver
Subscription returns generated.SubscriptionResolver implementation.
func (*Resolver) Tag ¶
func (r *Resolver) Tag() generated.TagResolver
Tag returns generated.TagResolver implementation.
func (*Resolver) TaggedContent ¶
func (r *Resolver) TaggedContent() generated.TaggedContentResolver
TaggedContent returns generated.TaggedContentResolver implementation.
func (*Resolver) TaggedInDiscussionReplyActivityMeta ¶
func (r *Resolver) TaggedInDiscussionReplyActivityMeta() generated.TaggedInDiscussionReplyActivityMetaResolver
TaggedInDiscussionReplyActivityMeta returns generated.TaggedInDiscussionReplyActivityMetaResolver implementation.
func (*Resolver) TaggedInPlanDiscussionActivityMeta ¶
func (r *Resolver) TaggedInPlanDiscussionActivityMeta() generated.TaggedInPlanDiscussionActivityMetaResolver
TaggedInPlanDiscussionActivityMeta returns generated.TaggedInPlanDiscussionActivityMetaResolver implementation.
func (*Resolver) UserNotification ¶
func (r *Resolver) UserNotification() generated.UserNotificationResolver
UserNotification returns generated.UserNotificationResolver implementation.
func (*Resolver) UserNotificationPreferences ¶
func (r *Resolver) UserNotificationPreferences() generated.UserNotificationPreferencesResolver
UserNotificationPreferences returns generated.UserNotificationPreferencesResolver implementation.
type ResolverService ¶
type ResolverService struct { CreateActionUpdateStatus func(context.Context, uuid.UUID, bool) error CreateActionExtendLifecycleID func(context.Context, uuid.UUID, *time.Time, *string, string, *string) error IssueLifecycleID func(context.Context) error FetchUserInfo func(context.Context, string) (*models.UserInfo, error) SearchByName func(context.Context, string) ([]*models.UserInfo, error) }
ResolverService holds service methods for use in resolvers
type TestConfigs ¶
type TestConfigs struct { DBConfig storage.DBConfig LDClient *ld.LDClient Logger *zap.Logger UserInfo *models.UserInfo Store *storage.Store S3Client *upload.S3Client PubSub *pubsub.ServicePubSub Principal *authentication.ApplicationPrincipal Context context.Context }
TestConfigs is a struct that contains all the dependencies needed to run a test
func GetDefaultTestConfigs ¶
func GetDefaultTestConfigs() *TestConfigs
GetDefaultTestConfigs returns a TestConfigs struct with all the dependencies needed to run a test Note, it does not return the principal as this needs to be updated for every test. This should only be called from setup tests!
func (*TestConfigs) GetDefaults ¶
func (tc *TestConfigs) GetDefaults()
GetDefaults sets the dependencies for the TestConfigs struct The principal needs to be set before every test as the user account is removed between tests
Source Files ¶
- activity.resolvers.go
- analyzed_audit.go
- analyzed_audit.resolvers.go
- apply_changes.go
- audit_change.go
- audit_change.resolvers.go
- base_struct.go
- base_task_list_section.go
- current_user.go
- current_user.resolvers.go
- daily_digest_email.go
- discussion_emails.go
- discussion_reply.resolvers.go
- discussion_role_selection.resolvers.go
- exisiting_model.go
- exisiting_model_link.go
- existing_model.resolvers.go
- existing_model_link.resolvers.go
- model_plan.go
- model_plan.resolvers.go
- nda_agreement.go
- nda_info.resolvers.go
- operational_need.go
- operational_need.resolvers.go
- operational_solution.go
- operational_solution.resolvers.go
- operational_solution_subtask.go
- operational_solution_subtask.resolvers.go
- plan_basics.go
- plan_basics.resolvers.go
- plan_basics_helper.go
- plan_beneficiaries.go
- plan_beneficiaries.resolvers.go
- plan_collaborator.go
- plan_collaborator.resolvers.go
- plan_cr.go
- plan_cr.resolvers.go
- plan_discussion.go
- plan_discussion.resolvers.go
- plan_document.go
- plan_document.resolvers.go
- plan_document_solution_link.resolvers.go
- plan_document_solution_links.go
- plan_favorite.go
- plan_favorite.resolvers.go
- plan_general_characteristics.go
- plan_general_characteristics.resolvers.go
- plan_ops_eval_and_learning.go
- plan_ops_eval_and_learning.resolvers.go
- plan_participants_and_providers.go
- plan_participants_and_providers.resolvers.go
- plan_payments.go
- plan_payments.resolvers.go
- plan_task_list_section_locks.go
- plan_tdl.go
- plan_tdl.resolvers.go
- possible_operational_need.go
- possible_operational_need.resolvers.go
- possible_operational_solution.go
- possible_operational_solution.resolvers.go
- possible_operational_solution_contact.go
- prepare_for_clearance.go
- report_a_problem.go
- report_a_problem.resolvers.go
- resolver.go
- resolver_test_utilities.go
- schema.resolvers.go
- send_feedback_email.go
- send_feedback_email.resolvers.go
- tag.go
- tag.resolvers.go
- task_list_section_locks.resolvers.go
- user_account.go
- user_account.resolvers.go
- user_info.resolvers.go
- user_notification.resolvers.go
- user_notification_preferences.go
- user_notification_preferences.resolvers.go
Directories ¶
Path | Synopsis |
---|---|
Package mockplantasklistsectionlocks is a generated GoMock package.
|
Package mockplantasklistsectionlocks is a generated GoMock package. |