Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client ...
func (*Client) CreateNotification ¶
func (c *Client) CreateNotification(ctx context.Context, input CreateNotificationInput) (result graphqlorm.MutationResult, err error)
InviteUser invite user with given Email. If user with given email exists, it just return without any invitation.
type CreateNotificationInput ¶
type CreateNotificationInput struct {
Subject string `json:"subject"`
Message string `json:"message"`
URL string `json:"url"`
Seen bool `json:"seen"`
Highlighted bool `json:"highlighted"`
Principal *string `json:"principal"`
Channel *string `json:"channel"`
Reference *string `json:"reference"`
ReferenceID *string `json:"referenceID"`
Date time.Time `json:"date"`
}
type Notification ¶
type Notification gen.Notification
Click to show internal directories.
Click to hide internal directories.