model

package
v0.0.0-...-f197b12 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APITokenInput

type APITokenInput struct {
	UserID string  `json:"userId"`
	Name   *string `json:"name,omitempty"`
}

type AddMembersInput

type AddMembersInput struct {
	ProjectID string   `json:"projectId"`
	UserIds   []string `json:"userIds"`
}

type AddUserInput

type AddUserInput struct {
	Email       string             `json:"email"`
	Username    string             `json:"username"`
	Password    string             `json:"password"`
	AccessLevel entity.AccessLevel `json:"accessLevel"`
}

type Capability

type Capability struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Default bool   `json:"default"`
}

type CreateProjectInput

type CreateProjectInput struct {
	ID          string           `json:"id"`
	Name        string           `json:"name"`
	Description string           `json:"description"`
	Repository  *RepositoryInput `json:"repository"`
}

type DeleteProjectInput

type DeleteProjectInput struct {
	ID string `json:"id"`
}

type ExternalRepositoryInput

type ExternalRepositoryInput struct {
	URL        string                      `json:"url"`
	Username   string                      `json:"username"`
	Credential string                      `json:"credential"`
	AuthMethod entity.RepositoryAuthMethod `json:"authMethod"`
}

type Mutation

type Mutation struct {
}

type QualityProjectDesc

type QualityProjectDesc struct {
	Quality int `json:"quality"`
}

type Query

type Query struct {
}

type RemoveAPITokenInput

type RemoveAPITokenInput struct {
	APITokenID string `json:"apiTokenId"`
}

type RemoveMembersInput

type RemoveMembersInput struct {
	ProjectID string   `json:"projectId"`
	UserIds   []string `json:"userIds"`
}

type RemoveUsersInput

type RemoveUsersInput struct {
	UserIds []string `json:"userIds"`
}

type RepositoryInput

type RepositoryInput struct {
	Type     entity.RepositoryType    `json:"type"`
	External *ExternalRepositoryInput `json:"external,omitempty"`
}

type SetActiveUserToolsInput

type SetActiveUserToolsInput struct {
	Active         bool    `json:"active"`
	RuntimeID      *string `json:"runtimeId,omitempty"`
	CapabilitiesID *string `json:"capabilitiesId,omitempty"`
}

type SetBoolFieldInput

type SetBoolFieldInput struct {
	ID    string `json:"id"`
	Value bool   `json:"value"`
}

type SyncUsersResponse

type SyncUsersResponse struct {
	Msg string `json:"msg"`
}

type Topic

type Topic struct {
	Name      string  `json:"name"`
	Relevance float64 `json:"relevance"`
}

type UpdateAccessLevelInput

type UpdateAccessLevelInput struct {
	UserIds     []string           `json:"userIds"`
	AccessLevel entity.AccessLevel `json:"accessLevel"`
}

type UpdateMembersInput

type UpdateMembersInput struct {
	ProjectID   string             `json:"projectId"`
	UserIds     []string           `json:"userIds"`
	AccessLevel entity.AccessLevel `json:"accessLevel"`
}

type UpdateProjectInput

type UpdateProjectInput struct {
	ID          string  `json:"id"`
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	Archived    *bool   `json:"archived,omitempty"`
}

Jump to

Keyboard shortcuts

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