Documentation ¶
Index ¶
- Variables
- type AddEventCompetenceInput
- type AddUserToChatInput
- type BucketConnection
- type BucketFilterInput
- type ChatConnection
- type CompetenceConnection
- type CompetenceFilterInput
- type CompetenceSort
- type CompetenceSortField
- type CompetenceTendency
- type CopyFileInput
- type CopyFilesInput
- type CopyFilesPayload
- type CreateChatInput
- type CreateCompetenceInput
- type CreateDomainInput
- type CreateEmailAccountInput
- type CreateEmailForwardingInput
- type CreateEmailGroupInput
- type CreateEmailGroupMemberInput
- type CreateEmailInput
- type CreateEntryCompetenceInput
- type CreateEntryEventInput
- type CreateEntryFileInput
- type CreateEntryTagInput
- type CreateEntryUserInput
- type CreateEventInput
- type CreateFolderInput
- type CreateReportInput
- type CreateSchoolYearInput
- type CreateShareInput
- type CreateStudentInput
- type CreateSubjectInput
- type CreateTagInput
- type CreateUserCompetenceInput
- type CreateUserInput
- type CreateUserStudentGradesInput
- type DeleteChatInput
- type DeleteDomainInput
- type DeleteEmailAccountInput
- type DeleteEmailForwardingInput
- type DeleteEmailGroupMemberInput
- type DeleteEmailInput
- type DeleteEntryCompetenceInput
- type DeleteEntryEventInput
- type DeleteEntryFileInput
- type DeleteEntryTagInput
- type DeleteEntryUserInput
- type DeleteFileInput
- type DeleteFilePayload
- type DeleteFilesInput
- type DeleteFilesPayload
- type DeleteShareInput
- type DomainConnection
- type DownloadFileInput
- type DownloadFilePayload
- type DownloadFilesInput
- type DownloadFilesPayload
- type EditChatMessageInput
- type EmailAccountConnection
- type EmailAccountFilter
- type EmailConnection
- type EmailForwardingConnection
- type EmailGroupMemberConnection
- type EntryConnection
- type EntryFilterInput
- type EntrySortBy
- type EventConnection
- type EventFilterInput
- type EventOrderBy
- type ExportEventsInput
- type ExportEventsPayload
- type FileConnection
- type FilePermission
- type FileUploadInput
- type FilesFilterInput
- type ForgotPasswordInput
- type ForgotPasswordPayload
- type GenerateFileURLInput
- type ImportStudentsError
- type ImportStudentsInput
- type ImportStudentsPayload
- type InviteDetailsPayload
- type MoveFileInput
- type MoveFilesInput
- type MoveFilesPayload
- type MyFilesFilterInput
- type PageInfo
- type PreviewFileInput
- type PreviewFilePayload
- type RemoveUserFromChatInput
- type RenameFileInput
- type RenameSharedDriveInput
- type ReportConnection
- type ResetPasswordInput
- type ResetPasswordPayload
- type SchoolYearConnection
- type SendMessageInput
- type ShareFileInput
- type ShareInput
- type ShareUser
- type SharedDriveFilterInput
- type SignInInput
- type SignInPayload
- type SignUpInput
- type SortCompetenceInput
- type SortDirection
- type SubjectConnection
- type TagConnection
- type UpdateChatInput
- type UpdateCompetenceInput
- type UpdateCompetenceSortingInput
- type UpdateEmailAccountInput
- type UpdateEmailGroupInput
- type UpdateEntryInput
- type UpdateEntryUserCompetenceLevel
- type UpdateEventInput
- type UpdateOrganisationInput
- type UpdateSchoolYearInput
- type UpdateSubjectInput
- type UpdateUserCompetenceInput
- type UpdateUserInput
- type UpdateUserStudentGradesInput
- type UploadFilesPayload
- type UserCompetenceConnection
- type UserCompetenceFilterInput
- type UserConnection
- type UserFileFilterInput
- type UserFilterInput
- type UserOrderBy
- type UserStudentConnection
- type UserStudentGradesConnection
Constants ¶
This section is empty.
Variables ¶
View Source
var AllCompetenceSortField = []CompetenceSortField{ CompetenceSortFieldCreatedAt, CompetenceSortFieldName, CompetenceSortFieldSortOrder, }
View Source
var AllEntrySortBy = []EntrySortBy{ EntrySortByDateAsc, EntrySortByDateDesc, EntrySortByCreatedAtAsc, EntrySortByCreatedAtDesc, }
View Source
var AllEventOrderBy = []EventOrderBy{ EventOrderByStartsAtAsc, EventOrderByStartsAtDesc, EventOrderByEndsAtAsc, EventOrderByEndsAtDesc, }
View Source
var AllFilePermission = []FilePermission{ FilePermissionViewer, FilePermissionManager, }
View Source
var AllImportStudentsError = []ImportStudentsError{ ImportStudentsErrorHeaderWrong, ImportStudentsErrorFormatWrong, ImportStudentsErrorDataWrong, ImportStudentsErrorGradeWrong, ImportStudentsErrorPermissionDenied, }
View Source
var AllSortDirection = []SortDirection{ SortDirectionAsc, SortDirectionDesc, }
View Source
var AllUserOrderBy = []UserOrderBy{ UserOrderByFirstNameAsc, UserOrderByFirstNameDesc, UserOrderByLastNameAsc, UserOrderByLastNameDesc, }
Functions ¶
This section is empty.
Types ¶
type AddEventCompetenceInput ¶
type AddUserToChatInput ¶
type BucketConnection ¶
type BucketFilterInput ¶
type BucketFilterInput struct {
}type ChatConnection ¶
type CompetenceConnection ¶
type CompetenceConnection struct { Edges []*db.Competence `json:"edges,omitempty"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type CompetenceFilterInput ¶
type CompetenceFilterInput struct { Type []*db.CompetenceType `json:"type,omitempty"` Parents []*string `json:"parents,omitempty"` UserID *string `json:"userId,omitempty"` }
type CompetenceSort ¶
type CompetenceSort struct { Field CompetenceSortField `json:"field"` Order SortDirection `json:"order"` }
type CompetenceSortField ¶
type CompetenceSortField string
const ( CompetenceSortFieldCreatedAt CompetenceSortField = "created_at" CompetenceSortFieldName CompetenceSortField = "name" CompetenceSortFieldSortOrder CompetenceSortField = "sort_order" )
func (CompetenceSortField) IsValid ¶
func (e CompetenceSortField) IsValid() bool
func (CompetenceSortField) MarshalGQL ¶
func (e CompetenceSortField) MarshalGQL(w io.Writer)
func (CompetenceSortField) String ¶
func (e CompetenceSortField) String() string
func (*CompetenceSortField) UnmarshalGQL ¶
func (e *CompetenceSortField) UnmarshalGQL(v interface{}) error
type CompetenceTendency ¶
type CopyFileInput ¶
type CopyFilesInput ¶
type CopyFilesPayload ¶
type CreateChatInput ¶
type CreateChatInput struct {
Name *string `json:"name,omitempty"`
}
type CreateCompetenceInput ¶
type CreateDomainInput ¶
type CreateDomainInput struct {
Name string `json:"name"`
}
type CreateEmailAccountInput ¶
type CreateEmailAccountInput struct { Name string `json:"name"` Description *string `json:"description,omitempty"` Type db.EmailAccountType `json:"type"` Quota *int `json:"quota,omitempty"` }
type CreateEmailGroupInput ¶
type CreateEmailInput ¶
type CreateEntryEventInput ¶
type CreateEntryFileInput ¶
type CreateEntryTagInput ¶
type CreateEntryUserInput ¶
type CreateEventInput ¶
type CreateFolderInput ¶
type CreateReportInput ¶
type CreateSchoolYearInput ¶
type CreateSchoolYearInput struct {
Year int `json:"year"`
}
type CreateShareInput ¶
type CreateShareInput struct {}
type CreateStudentInput ¶
type CreateStudentInput struct { FirstName string `json:"firstName"` LastName string `json:"lastName"` Grade int `json:"grade"` Birthday *time.Time `json:"birthday,omitempty"` LeftAt *time.Time `json:"leftAt,omitempty"` JoinedAt *time.Time `json:"joinedAt,omitempty"` Emoji *string `json:"emoji,omitempty"` }
type CreateSubjectInput ¶
type CreateSubjectInput struct {
Name string `json:"name"`
}
type CreateTagInput ¶
type CreateUserInput ¶
type CreateUserInput struct { FirstName string `json:"firstName"` LastName string `json:"lastName"` Email string `json:"email"` Role db.UserRole `json:"role"` Birthday *time.Time `json:"birthday,omitempty"` LeftAt *time.Time `json:"leftAt,omitempty"` JoinedAt *time.Time `json:"joinedAt,omitempty"` }
type DeleteChatInput ¶
type DeleteChatInput struct {
ID string `json:"id"`
}
type DeleteDomainInput ¶
type DeleteDomainInput struct {
ID string `json:"id"`
}
type DeleteEmailAccountInput ¶
type DeleteEmailAccountInput struct {
ID string `json:"id"`
}
type DeleteEmailForwardingInput ¶
type DeleteEmailForwardingInput struct {
ID string `json:"id"`
}
type DeleteEmailGroupMemberInput ¶
type DeleteEmailGroupMemberInput struct {
ID string `json:"id"`
}
type DeleteEmailInput ¶
type DeleteEmailInput struct {
ID string `json:"id"`
}
type DeleteEntryEventInput ¶
type DeleteEntryFileInput ¶
type DeleteEntryTagInput ¶
type DeleteEntryUserInput ¶
type DeleteFileInput ¶
type DeleteFileInput struct {
ID string `json:"id"`
}
type DeleteFilePayload ¶
type DeleteFilesInput ¶
type DeleteFilesInput struct {
Ids []string `json:"ids"`
}
type DeleteFilesPayload ¶
type DeleteShareInput ¶
type DeleteShareInput struct {}
type DomainConnection ¶
type DownloadFileInput ¶
type DownloadFileInput struct {
ID string `json:"id"`
}
type DownloadFilePayload ¶
type DownloadFilePayload struct {
URL string `json:"url"`
}
type DownloadFilesInput ¶
type DownloadFilesInput struct {
Ids []string `json:"ids"`
}
type DownloadFilesPayload ¶
type DownloadFilesPayload struct { // The url to download a zip file containing all the files. URL string `json:"url"` }
type EditChatMessageInput ¶
type EmailAccountConnection ¶
type EmailAccountConnection struct { Edges []*db.EmailAccount `json:"edges,omitempty"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type EmailAccountFilter ¶
type EmailAccountFilter struct {
Type *db.EmailAccountType `json:"type,omitempty"`
}
type EmailConnection ¶
type EmailForwardingConnection ¶
type EmailForwardingConnection struct { Edges []*db.EmailForwarding `json:"edges,omitempty"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type EmailGroupMemberConnection ¶
type EmailGroupMemberConnection struct { Edges []*db.EmailGroupMember `json:"edges,omitempty"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type EntryConnection ¶
type EntryFilterInput ¶
type EntryFilterInput struct { Authors []*string `json:"authors,omitempty"` Users []*string `json:"users,omitempty"` Tags []*string `json:"tags,omitempty"` Competences []*string `json:"competences,omitempty"` From *time.Time `json:"from,omitempty"` To *time.Time `json:"to,omitempty"` Deleted *bool `json:"deleted,omitempty"` }
type EntrySortBy ¶
type EntrySortBy string
const ( EntrySortByDateAsc EntrySortBy = "date_ASC" EntrySortByDateDesc EntrySortBy = "date_DESC" EntrySortByCreatedAtAsc EntrySortBy = "createdAt_ASC" EntrySortByCreatedAtDesc EntrySortBy = "createdAt_DESC" )
func (EntrySortBy) IsValid ¶
func (e EntrySortBy) IsValid() bool
func (EntrySortBy) MarshalGQL ¶
func (e EntrySortBy) MarshalGQL(w io.Writer)
func (EntrySortBy) String ¶
func (e EntrySortBy) String() string
func (*EntrySortBy) UnmarshalGQL ¶
func (e *EntrySortBy) UnmarshalGQL(v interface{}) error
type EventConnection ¶
type EventFilterInput ¶
type EventOrderBy ¶
type EventOrderBy string
const ( EventOrderByStartsAtAsc EventOrderBy = "startsAt_ASC" EventOrderByStartsAtDesc EventOrderBy = "startsAt_DESC" EventOrderByEndsAtAsc EventOrderBy = "endsAt_ASC" EventOrderByEndsAtDesc EventOrderBy = "endsAt_DESC" )
func (EventOrderBy) IsValid ¶
func (e EventOrderBy) IsValid() bool
func (EventOrderBy) MarshalGQL ¶
func (e EventOrderBy) MarshalGQL(w io.Writer)
func (EventOrderBy) String ¶
func (e EventOrderBy) String() string
func (*EventOrderBy) UnmarshalGQL ¶
func (e *EventOrderBy) UnmarshalGQL(v interface{}) error
type ExportEventsInput ¶
type ExportEventsPayload ¶
type FileConnection ¶
type FilePermission ¶
type FilePermission string
const ( FilePermissionViewer FilePermission = "Viewer" FilePermissionManager FilePermission = "Manager" )
func (FilePermission) IsValid ¶
func (e FilePermission) IsValid() bool
func (FilePermission) MarshalGQL ¶
func (e FilePermission) MarshalGQL(w io.Writer)
func (FilePermission) String ¶
func (e FilePermission) String() string
func (*FilePermission) UnmarshalGQL ¶
func (e *FilePermission) UnmarshalGQL(v interface{}) error
type FileUploadInput ¶
type FileUploadInput struct { File graphql.Upload `json:"file"` // The folder to upload the file to if empty the file will be uploaded to the root folder of the user. ParentID *string `json:"parentId,omitempty"` // The shared drive to upload the file to if empty the file will be uploaded to the root folder of the user. BucketID *string `json:"bucketId,omitempty"` }
type FilesFilterInput ¶
type ForgotPasswordInput ¶
type ForgotPasswordInput struct {
Email string `json:"email"`
}
type ForgotPasswordPayload ¶
type ForgotPasswordPayload struct {
Success bool `json:"success"`
}
type GenerateFileURLInput ¶
type GenerateFileURLInput struct {
ID string `json:"id"`
}
type ImportStudentsError ¶
type ImportStudentsError string
const ( ImportStudentsErrorHeaderWrong ImportStudentsError = "HEADER_WRONG" ImportStudentsErrorFormatWrong ImportStudentsError = "FORMAT_WRONG" ImportStudentsErrorDataWrong ImportStudentsError = "DATA_WRONG" ImportStudentsErrorGradeWrong ImportStudentsError = "GRADE_WRONG" ImportStudentsErrorPermissionDenied ImportStudentsError = "PERMISSION_DENIED" )
func (ImportStudentsError) IsValid ¶
func (e ImportStudentsError) IsValid() bool
func (ImportStudentsError) MarshalGQL ¶
func (e ImportStudentsError) MarshalGQL(w io.Writer)
func (ImportStudentsError) String ¶
func (e ImportStudentsError) String() string
func (*ImportStudentsError) UnmarshalGQL ¶
func (e *ImportStudentsError) UnmarshalGQL(v interface{}) error
type ImportStudentsInput ¶
type ImportStudentsPayload ¶
type ImportStudentsPayload struct { UsersCreated int `json:"usersCreated"` UsersExisted int `json:"usersExisted"` Errors []ImportStudentsError `json:"errors"` }
type InviteDetailsPayload ¶
type MoveFileInput ¶
type MoveFilesInput ¶
type MoveFilesPayload ¶
type MyFilesFilterInput ¶
type MyFilesFilterInput struct {
ParentID *string `json:"parentId,omitempty"`
}
type PreviewFileInput ¶
type PreviewFileInput struct {
ID string `json:"id"`
}
type PreviewFilePayload ¶
type PreviewFilePayload struct {
URL string `json:"url"`
}
type RemoveUserFromChatInput ¶
type RenameFileInput ¶
type RenameSharedDriveInput ¶
type RenameSharedDriveInput struct {}
type ReportConnection ¶
type ResetPasswordInput ¶
type ResetPasswordPayload ¶
type SchoolYearConnection ¶
type SchoolYearConnection struct { Edges []*db.SchoolYear `json:"edges"` TotalCount int `json:"totalCount"` PageInfo *PageInfo `json:"pageInfo"` }
type SendMessageInput ¶
type ShareFileInput ¶
type ShareFileInput struct {}
type ShareInput ¶
type ShareInput struct {}
type SharedDriveFilterInput ¶
type SharedDriveFilterInput struct {
}type SignInInput ¶
type SignInPayload ¶
type SignUpInput ¶
type SortCompetenceInput ¶
type SortDirection ¶
type SortDirection string
const ( SortDirectionAsc SortDirection = "asc" SortDirectionDesc SortDirection = "desc" )
func (SortDirection) IsValid ¶
func (e SortDirection) IsValid() bool
func (SortDirection) MarshalGQL ¶
func (e SortDirection) MarshalGQL(w io.Writer)
func (SortDirection) String ¶
func (e SortDirection) String() string
func (*SortDirection) UnmarshalGQL ¶
func (e *SortDirection) UnmarshalGQL(v interface{}) error
type SubjectConnection ¶
type TagConnection ¶
type UpdateChatInput ¶
type UpdateCompetenceInput ¶
type UpdateCompetenceSortingInput ¶
type UpdateCompetenceSortingInput struct {
Competences []*SortCompetenceInput `json:"competences"`
}
type UpdateEmailAccountInput ¶
type UpdateEmailGroupInput ¶
type UpdateEntryInput ¶
type UpdateEventInput ¶
type UpdateEventInput struct { ID string `json:"id"` Title *string `json:"title,omitempty"` Image *graphql.Upload `json:"image,omitempty"` Body *string `json:"body,omitempty"` StartsAt *string `json:"startsAt,omitempty"` EndsAt *string `json:"endsAt,omitempty"` Recurrence []*string `json:"recurrence,omitempty"` }
type UpdateOrganisationInput ¶
type UpdateSchoolYearInput ¶
type UpdateSubjectInput ¶
type UpdateUserInput ¶
type UpdateUserInput struct { ID string `json:"id"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Email *string `json:"email,omitempty"` Grade *int `json:"grade,omitempty"` Birthday *time.Time `json:"birthday,omitempty"` LeftAt *time.Time `json:"leftAt,omitempty"` JoinedAt *time.Time `json:"joinedAt,omitempty"` Emoji *string `json:"emoji,omitempty"` MissedHours *int `json:"missedHours,omitempty"` MissedHoursExcused *int `json:"missedHoursExcused,omitempty"` }
type UploadFilesPayload ¶
type UserCompetenceConnection ¶
type UserCompetenceConnection struct { Edges []*db.UserCompetence `json:"edges,omitempty"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type UserConnection ¶
type UserFileFilterInput ¶
type UserFileFilterInput struct {
FolderID *string `json:"folderId,omitempty"`
}
type UserFilterInput ¶
type UserFilterInput struct { Role []*db.UserRole `json:"role,omitempty"` OrderBy *UserOrderBy `json:"orderBy,omitempty"` ShowDeleted *bool `json:"showDeleted,omitempty"` }
type UserOrderBy ¶
type UserOrderBy string
const ( UserOrderByFirstNameAsc UserOrderBy = "firstNameAsc" UserOrderByFirstNameDesc UserOrderBy = "firstNameDesc" UserOrderByLastNameAsc UserOrderBy = "lastNameAsc" UserOrderByLastNameDesc UserOrderBy = "lastNameDesc" )
func (UserOrderBy) IsValid ¶
func (e UserOrderBy) IsValid() bool
func (UserOrderBy) MarshalGQL ¶
func (e UserOrderBy) MarshalGQL(w io.Writer)
func (UserOrderBy) String ¶
func (e UserOrderBy) String() string
func (*UserOrderBy) UnmarshalGQL ¶
func (e *UserOrderBy) UnmarshalGQL(v interface{}) error
type UserStudentConnection ¶
type UserStudentConnection struct { Edges []*db.UserStudent `json:"edges,omitempty"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type UserStudentGradesConnection ¶
type UserStudentGradesConnection struct { Edges []*db.UserStudentGrades `json:"edges"` TotalCount int `json:"totalCount"` PageInfo *PageInfo `json:"pageInfo"` }
Click to show internal directories.
Click to hide internal directories.