notifications

package
v5.28.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToGqlStatusObject

func ToGqlStatusObject(notification db.Notification) *db.GqlStatusObject

ToGqlStatusObject returns a db.GqlStatusObject that corresponds to the given db.Notification. It maps fields from the notification to their respective status fields.

func ToGqlStatusObjectFromSummary

func ToGqlStatusObjectFromSummary(summary db.StreamSummary) *db.GqlStatusObject

ToGqlStatusObjectFromSummary creates a new db.GqlStatusObject based on the context of the db.StreamSummary.

func ToNotification

func ToNotification(gqlStatusObject db.GqlStatusObject) *db.Notification

ToNotification returns a db.Notification that corresponds to the given db.GqlStatusObject. It maps fields from the status to their respective notification fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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