common

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// these topic names are exported because they are also used by sub-packages
	ItemPublishTopic    = "items.publish"
	ItemDeleteTopic     = "items.delete"
	ItemResolveTopic    = "items.resolve"
	ItemUnresolveTopic  = "items.unresolve"
	ItemHideTopic       = "items.hide"
	ItemShowTopic       = "items.show"
	ItemPinTopic        = "items.pin"
	ItemUnpinTopic      = "items.unpin"
	NudgePublishTopic   = "nudges.publish"
	NudgeDeleteTopic    = "nudges.delete"
	NudgeResolveTopic   = "nudges.resolve"
	NudgeUnresolveTopic = "nudges.unresolve"
	NudgeHideTopic      = "nudges.hide"
	NudgeShowTopic      = "nudges.show"
	ActionPublishTopic  = "actions.publish"
	ActionDeleteTopic   = "actions.delete"
	MessagePostTopic    = "message.post"
	MessageDeleteTopic  = "message.delete"
	IncomingEventTopic  = "incoming.event"
	FcmPublishTopic     = "fcm.send_notification"
	SentEmailTopic      = "mails.inbox"

	// DefaultLabel is the label used for welcome content
	DefaultLabel = "WELCOME"

	// StaticBase is the default path at which static assets are hosted
	StaticBase = "https://assets.healthcloud.co.ke"

	// DefaultIconPath is the path to the default Be.Well logo
	DefaultIconPath = StaticBase + "/bewell_logo.png"

	// AddPrimaryEmailNudgeTitle defines the title for verify email nudge
	// that adds and verifies a primary email address
	AddPrimaryEmailNudgeTitle = "Add Primary Email Address"

	// AddNHIFNudgeTitle defines the title for add NHIF nudge
	AddNHIFNudgeTitle = "Add NHIF"

	// PartnerAccountSetupNudgeTitle defines the title for partner account setup nudge
	PartnerAccountSetupNudgeTitle = "Setup your partner account"

	// HideItemActionName defines the name for the hide action
	HideItemActionName = "HIDE_ITEM"

	// PinItemActionName defines the name for the pin action
	PinItemActionName = "PIN_ITEM"

	// ResolveItemActionName defines the name for the resolve action
	ResolveItemActionName = "RESOLVE_ITEM"

	// ShowItemActionName defines the name for the hide action
	ShowItemActionName = "SHOW_ITEM"

	// UnPinItemActionName defines the name for the pin action
	UnPinItemActionName = "UNPIN_ITEM"

	// UnResolveItemActionName defines the name for the resolve action
	UnResolveItemActionName = "UNRESOLVE_ITEM"
)

feed related constants

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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