Discover Packages
github.com/dinethpiyumantha/eventeo-gql-service
graph
model
package
Version:
v0.0.0-...-eb2022f
Opens a new window with list of versions in this module.
Published: Nov 3, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CreateEventListingInput struct {
Title string `json:"title"`
Description string `json:"description"`
OrganizerID string `json:"organizerId"`
URL string `json:"url"`
}
type CreateUserInput struct {
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"password"`
Role string `json:"role"`
}
type DeleteEventResponse struct {
DeleteEventID string `json:"deleteEventId"`
}
type DeleteUserResponse struct {
DeleteUserID string `json:"deleteUserId"`
}
type EventListing struct {
ID string `json:"_id" bson:"_id"`
Title string `json:"title"`
Description string `json:"description"`
Organizer *User `json:"organizer"`
URL string `json:"url"`
}
type UpdateEventListingInput struct {
Title *string `json:"title,omitempty"`
Description *string `json:"description,omitempty"`
URL *string `json:"url,omitempty"`
}
type UpdateUserInput struct {
Name *string `json:"name,omitempty"`
Email *string `json:"email,omitempty"`
Password *string `json:"password,omitempty"`
Role *string `json:"role,omitempty"`
}
type User struct {
ID string `json:"_id" bson:"_id"`
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"password"`
Role string `json:"role"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.