Documentation
¶
Index ¶
- Variables
- func Bool(v bool) *bool
- func Int32(v int32) *int32
- func Str(v string) *string
- type Aggregate
- type AllVotesParamsExec
- type BatchPayload
- type BatchPayloadExec
- type Client
- func (client *Client) CreateLink(params LinkCreateInput) *LinkExec
- func (client *Client) CreateUser(params UserCreateInput) *UserExec
- func (client *Client) CreateVote(params VoteCreateInput) *VoteExec
- func (client *Client) DeleteLink(params LinkWhereUniqueInput) *LinkExec
- func (client *Client) DeleteManyLinks(params *LinkWhereInput) *BatchPayloadExec
- func (client *Client) DeleteManyUsers(params *UserWhereInput) *BatchPayloadExec
- func (client *Client) DeleteManyVotes(params *VoteWhereInput) *BatchPayloadExec
- func (client *Client) DeleteUser(params UserWhereUniqueInput) *UserExec
- func (client *Client) DeleteVote(params VoteWhereUniqueInput) *VoteExec
- func (client *Client) GraphQL(ctx context.Context, query string, variables map[string]interface{}) (map[string]interface{}, error)
- func (client *Client) Link(params LinkWhereUniqueInput) *LinkExec
- func (client *Client) Links(params *LinksParams) *LinkExecArray
- func (client *Client) LinksConnection(params *LinksConnectionParams) LinkConnectionExec
- func (client *Client) UpdateLink(params LinkUpdateParams) *LinkExec
- func (client *Client) UpdateManyLinks(params LinkUpdateManyParams) *BatchPayloadExec
- func (client *Client) UpdateManyUsers(params UserUpdateManyParams) *BatchPayloadExec
- func (client *Client) UpdateManyVotes(params VoteUpdateManyParams) *BatchPayloadExec
- func (client *Client) UpdateUser(params UserUpdateParams) *UserExec
- func (client *Client) UpdateVote(params VoteUpdateParams) *VoteExec
- func (client *Client) UpsertLink(params LinkUpsertParams) *LinkExec
- func (client *Client) UpsertUser(params UserUpsertParams) *UserExec
- func (client *Client) UpsertVote(params VoteUpsertParams) *VoteExec
- func (client *Client) User(params UserWhereUniqueInput) *UserExec
- func (client *Client) Users(params *UsersParams) *UserExecArray
- func (client *Client) UsersConnection(params *UsersConnectionParams) UserConnectionExec
- func (client *Client) Vote(params VoteWhereUniqueInput) *VoteExec
- func (client *Client) Votes(params *VotesParams) *VoteExecArray
- func (client *Client) VotesConnection(params *VotesConnectionParams) VoteConnectionExec
- type Link
- type LinkConnection
- type LinkConnectionExec
- func (instance *LinkConnectionExec) Aggregate(ctx context.Context) (Aggregate, error)
- func (instance *LinkConnectionExec) Edges() *LinkEdgeExec
- func (instance LinkConnectionExec) Exec(ctx context.Context) (*LinkConnection, error)
- func (instance LinkConnectionExec) Exists(ctx context.Context) (bool, error)
- func (instance *LinkConnectionExec) PageInfo() *PageInfoExec
- type LinkConnectionExecArray
- type LinkCreateInput
- type LinkCreateManyWithoutPostedByInput
- type LinkCreateOneWithoutAllVotesInput
- type LinkCreateWithoutAllVotesInput
- type LinkCreateWithoutPostedByInput
- type LinkEdge
- type LinkEdgeExec
- type LinkEdgeExecArray
- type LinkExec
- type LinkExecArray
- type LinkOrderByInput
- type LinkPreviousValues
- type LinkPreviousValuesExec
- type LinkPreviousValuesExecArray
- type LinkSubscriptionPayload
- type LinkSubscriptionPayloadExec
- func (instance LinkSubscriptionPayloadExec) Exec(ctx context.Context) (*LinkSubscriptionPayload, error)
- func (instance LinkSubscriptionPayloadExec) Exists(ctx context.Context) (bool, error)
- func (instance *LinkSubscriptionPayloadExec) Node() *LinkExec
- func (instance *LinkSubscriptionPayloadExec) PreviousValues() *LinkPreviousValuesExec
- type LinkSubscriptionPayloadExecArray
- type LinkSubscriptionWhereInput
- type LinkUpdateInput
- type LinkUpdateManyParams
- type LinkUpdateManyWithoutPostedByInput
- type LinkUpdateOneRequiredWithoutAllVotesInput
- type LinkUpdateParams
- type LinkUpdateWithWhereUniqueWithoutPostedByInput
- type LinkUpdateWithoutAllVotesDataInput
- type LinkUpdateWithoutPostedByDataInput
- type LinkUpsertParams
- type LinkUpsertWithWhereUniqueWithoutPostedByInput
- type LinkUpsertWithoutAllVotesInput
- type LinkWhereInput
- type LinkWhereUniqueInput
- type LinksConnectionParams
- type LinksParams
- type LinksParamsExec
- type MutationType
- type Options
- type PageInfo
- type PageInfoExec
- type PageInfoExecArray
- type User
- type UserConnection
- type UserConnectionExec
- func (instance *UserConnectionExec) Aggregate(ctx context.Context) (Aggregate, error)
- func (instance *UserConnectionExec) Edges() *UserEdgeExec
- func (instance UserConnectionExec) Exec(ctx context.Context) (*UserConnection, error)
- func (instance UserConnectionExec) Exists(ctx context.Context) (bool, error)
- func (instance *UserConnectionExec) PageInfo() *PageInfoExec
- type UserConnectionExecArray
- type UserCreateInput
- type UserCreateOneWithoutLinksInput
- type UserCreateOneWithoutVotesInput
- type UserCreateWithoutLinksInput
- type UserCreateWithoutVotesInput
- type UserEdge
- type UserEdgeExec
- type UserEdgeExecArray
- type UserExec
- type UserExecArray
- type UserOrderByInput
- type UserPreviousValues
- type UserPreviousValuesExec
- type UserPreviousValuesExecArray
- type UserSubscriptionPayload
- type UserSubscriptionPayloadExec
- func (instance UserSubscriptionPayloadExec) Exec(ctx context.Context) (*UserSubscriptionPayload, error)
- func (instance UserSubscriptionPayloadExec) Exists(ctx context.Context) (bool, error)
- func (instance *UserSubscriptionPayloadExec) Node() *UserExec
- func (instance *UserSubscriptionPayloadExec) PreviousValues() *UserPreviousValuesExec
- type UserSubscriptionPayloadExecArray
- type UserSubscriptionWhereInput
- type UserUpdateInput
- type UserUpdateManyParams
- type UserUpdateOneRequiredWithoutVotesInput
- type UserUpdateOneWithoutLinksInput
- type UserUpdateParams
- type UserUpdateWithoutLinksDataInput
- type UserUpdateWithoutVotesDataInput
- type UserUpsertParams
- type UserUpsertWithoutLinksInput
- type UserUpsertWithoutVotesInput
- type UserWhereInput
- type UserWhereUniqueInput
- type UsersConnectionParams
- type UsersParams
- type Vote
- type VoteConnection
- type VoteConnectionExec
- func (instance *VoteConnectionExec) Aggregate(ctx context.Context) (Aggregate, error)
- func (instance *VoteConnectionExec) Edges() *VoteEdgeExec
- func (instance VoteConnectionExec) Exec(ctx context.Context) (*VoteConnection, error)
- func (instance VoteConnectionExec) Exists(ctx context.Context) (bool, error)
- func (instance *VoteConnectionExec) PageInfo() *PageInfoExec
- type VoteConnectionExecArray
- type VoteCreateInput
- type VoteCreateManyWithoutLinkInput
- type VoteCreateManyWithoutVotedByInput
- type VoteCreateWithoutLinkInput
- type VoteCreateWithoutVotedByInput
- type VoteEdge
- type VoteEdgeExec
- type VoteEdgeExecArray
- type VoteExec
- type VoteExecArray
- type VoteOrderByInput
- type VotePreviousValues
- type VotePreviousValuesExec
- type VotePreviousValuesExecArray
- type VoteSubscriptionPayload
- type VoteSubscriptionPayloadExec
- func (instance VoteSubscriptionPayloadExec) Exec(ctx context.Context) (*VoteSubscriptionPayload, error)
- func (instance VoteSubscriptionPayloadExec) Exists(ctx context.Context) (bool, error)
- func (instance *VoteSubscriptionPayloadExec) Node() *VoteExec
- func (instance *VoteSubscriptionPayloadExec) PreviousValues() *VotePreviousValuesExec
- type VoteSubscriptionPayloadExecArray
- type VoteSubscriptionWhereInput
- type VoteUpdateInput
- type VoteUpdateManyParams
- type VoteUpdateManyWithoutLinkInput
- type VoteUpdateManyWithoutVotedByInput
- type VoteUpdateParams
- type VoteUpdateWithWhereUniqueWithoutLinkInput
- type VoteUpdateWithWhereUniqueWithoutVotedByInput
- type VoteUpdateWithoutLinkDataInput
- type VoteUpdateWithoutVotedByDataInput
- type VoteUpsertParams
- type VoteUpsertWithWhereUniqueWithoutLinkInput
- type VoteUpsertWithWhereUniqueWithoutVotedByInput
- type VoteWhereInput
- type VoteWhereUniqueInput
- type VotesConnectionParams
- type VotesParams
- type VotesParamsExec
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultEndpoint = "http://localhost:4466"
View Source
var ErrNoResult = errors.New("query returned no result")
Functions ¶
Types ¶
type AllVotesParamsExec ¶
type AllVotesParamsExec struct {
Where *VoteWhereInput
OrderBy *VoteOrderByInput
Skip *int32
After *string
Before *string
First *int32
Last *int32
}
type BatchPayload ¶
type BatchPayload struct {
Count int64 `json:"count"`
}
type BatchPayloadExec ¶
type BatchPayloadExec struct {
// contains filtered or unexported fields
}
func (*BatchPayloadExec) Exec ¶
func (exec *BatchPayloadExec) Exec(ctx context.Context) (BatchPayload, error)
type Client ¶
func (*Client) CreateLink ¶
func (client *Client) CreateLink(params LinkCreateInput) *LinkExec
func (*Client) CreateUser ¶
func (client *Client) CreateUser(params UserCreateInput) *UserExec
func (*Client) CreateVote ¶
func (client *Client) CreateVote(params VoteCreateInput) *VoteExec
func (*Client) DeleteLink ¶
func (client *Client) DeleteLink(params LinkWhereUniqueInput) *LinkExec
func (*Client) DeleteManyLinks ¶
func (client *Client) DeleteManyLinks(params *LinkWhereInput) *BatchPayloadExec
func (*Client) DeleteManyUsers ¶
func (client *Client) DeleteManyUsers(params *UserWhereInput) *BatchPayloadExec
func (*Client) DeleteManyVotes ¶
func (client *Client) DeleteManyVotes(params *VoteWhereInput) *BatchPayloadExec
func (*Client) DeleteUser ¶
func (client *Client) DeleteUser(params UserWhereUniqueInput) *UserExec
func (*Client) DeleteVote ¶
func (client *Client) DeleteVote(params VoteWhereUniqueInput) *VoteExec
func (*Client) Link ¶
func (client *Client) Link(params LinkWhereUniqueInput) *LinkExec
func (*Client) Links ¶
func (client *Client) Links(params *LinksParams) *LinkExecArray
func (*Client) LinksConnection ¶
func (client *Client) LinksConnection(params *LinksConnectionParams) LinkConnectionExec
func (*Client) UpdateLink ¶
func (client *Client) UpdateLink(params LinkUpdateParams) *LinkExec
func (*Client) UpdateManyLinks ¶
func (client *Client) UpdateManyLinks(params LinkUpdateManyParams) *BatchPayloadExec
func (*Client) UpdateManyUsers ¶
func (client *Client) UpdateManyUsers(params UserUpdateManyParams) *BatchPayloadExec
func (*Client) UpdateManyVotes ¶
func (client *Client) UpdateManyVotes(params VoteUpdateManyParams) *BatchPayloadExec
func (*Client) UpdateUser ¶
func (client *Client) UpdateUser(params UserUpdateParams) *UserExec
func (*Client) UpdateVote ¶
func (client *Client) UpdateVote(params VoteUpdateParams) *VoteExec
func (*Client) UpsertLink ¶
func (client *Client) UpsertLink(params LinkUpsertParams) *LinkExec
func (*Client) UpsertUser ¶
func (client *Client) UpsertUser(params UserUpsertParams) *UserExec
func (*Client) UpsertVote ¶
func (client *Client) UpsertVote(params VoteUpsertParams) *VoteExec
func (*Client) User ¶
func (client *Client) User(params UserWhereUniqueInput) *UserExec
func (*Client) Users ¶
func (client *Client) Users(params *UsersParams) *UserExecArray
func (*Client) UsersConnection ¶
func (client *Client) UsersConnection(params *UsersConnectionParams) UserConnectionExec
func (*Client) Vote ¶
func (client *Client) Vote(params VoteWhereUniqueInput) *VoteExec
func (*Client) Votes ¶
func (client *Client) Votes(params *VotesParams) *VoteExecArray
func (*Client) VotesConnection ¶
func (client *Client) VotesConnection(params *VotesConnectionParams) VoteConnectionExec
type LinkConnection ¶
type LinkConnection struct {
}
type LinkConnectionExec ¶
type LinkConnectionExec struct {
// contains filtered or unexported fields
}
func (*LinkConnectionExec) Aggregate ¶
func (instance *LinkConnectionExec) Aggregate(ctx context.Context) (Aggregate, error)
func (*LinkConnectionExec) Edges ¶
func (instance *LinkConnectionExec) Edges() *LinkEdgeExec
func (LinkConnectionExec) Exec ¶
func (instance LinkConnectionExec) Exec(ctx context.Context) (*LinkConnection, error)
func (LinkConnectionExec) Exists ¶
func (instance LinkConnectionExec) Exists(ctx context.Context) (bool, error)
func (*LinkConnectionExec) PageInfo ¶
func (instance *LinkConnectionExec) PageInfo() *PageInfoExec
type LinkConnectionExecArray ¶
type LinkConnectionExecArray struct {
// contains filtered or unexported fields
}
func (LinkConnectionExecArray) Exec ¶
func (instance LinkConnectionExecArray) Exec(ctx context.Context) ([]LinkConnection, error)
type LinkCreateInput ¶
type LinkCreateInput struct {
Description string `json:"description"`
Url string `json:"url"`
PostedBy *UserCreateOneWithoutLinksInput `json:"postedBy,omitempty"`
AllVotes *VoteCreateManyWithoutLinkInput `json:"allVotes,omitempty"`
}
type LinkCreateManyWithoutPostedByInput ¶
type LinkCreateManyWithoutPostedByInput struct {
Create []LinkCreateWithoutPostedByInput `json:"create,omitempty"`
Connect []LinkWhereUniqueInput `json:"connect,omitempty"`
}
type LinkCreateOneWithoutAllVotesInput ¶
type LinkCreateOneWithoutAllVotesInput struct {
Create *LinkCreateWithoutAllVotesInput `json:"create,omitempty"`
Connect *LinkWhereUniqueInput `json:"connect,omitempty"`
}
type LinkCreateWithoutAllVotesInput ¶
type LinkCreateWithoutAllVotesInput struct {
Description string `json:"description"`
Url string `json:"url"`
PostedBy *UserCreateOneWithoutLinksInput `json:"postedBy,omitempty"`
}
type LinkCreateWithoutPostedByInput ¶
type LinkCreateWithoutPostedByInput struct {
Description string `json:"description"`
Url string `json:"url"`
AllVotes *VoteCreateManyWithoutLinkInput `json:"allVotes,omitempty"`
}
type LinkEdgeExec ¶
type LinkEdgeExec struct {
// contains filtered or unexported fields
}
func (LinkEdgeExec) Exec ¶
func (instance LinkEdgeExec) Exec(ctx context.Context) (*LinkEdge, error)
func (*LinkEdgeExec) Node ¶
func (instance *LinkEdgeExec) Node() *LinkExec
type LinkEdgeExecArray ¶
type LinkEdgeExecArray struct {
// contains filtered or unexported fields
}
type LinkExec ¶
type LinkExec struct {
// contains filtered or unexported fields
}
func (*LinkExec) AllVotes ¶
func (instance *LinkExec) AllVotes(params *AllVotesParamsExec) *VoteExecArray
type LinkExecArray ¶
type LinkExecArray struct {
// contains filtered or unexported fields
}
type LinkOrderByInput ¶
type LinkOrderByInput string
const ( LinkOrderByInputIDAsc LinkOrderByInput = "id_ASC" LinkOrderByInputIDDesc LinkOrderByInput = "id_DESC" LinkOrderByInputCreatedAtAsc LinkOrderByInput = "createdAt_ASC" LinkOrderByInputCreatedAtDesc LinkOrderByInput = "createdAt_DESC" LinkOrderByInputDescriptionAsc LinkOrderByInput = "description_ASC" LinkOrderByInputDescriptionDesc LinkOrderByInput = "description_DESC" LinkOrderByInputUrlAsc LinkOrderByInput = "url_ASC" LinkOrderByInputUrlDesc LinkOrderByInput = "url_DESC" LinkOrderByInputUpdatedAtAsc LinkOrderByInput = "updatedAt_ASC" LinkOrderByInputUpdatedAtDesc LinkOrderByInput = "updatedAt_DESC" )
type LinkPreviousValues ¶
type LinkPreviousValuesExec ¶
type LinkPreviousValuesExec struct {
// contains filtered or unexported fields
}
func (LinkPreviousValuesExec) Exec ¶
func (instance LinkPreviousValuesExec) Exec(ctx context.Context) (*LinkPreviousValues, error)
type LinkPreviousValuesExecArray ¶
type LinkPreviousValuesExecArray struct {
// contains filtered or unexported fields
}
func (LinkPreviousValuesExecArray) Exec ¶
func (instance LinkPreviousValuesExecArray) Exec(ctx context.Context) ([]LinkPreviousValues, error)
type LinkSubscriptionPayload ¶
type LinkSubscriptionPayload struct {
UpdatedFields []string `json:"updatedFields,omitempty"`
}
type LinkSubscriptionPayloadExec ¶
type LinkSubscriptionPayloadExec struct {
// contains filtered or unexported fields
}
func (LinkSubscriptionPayloadExec) Exec ¶
func (instance LinkSubscriptionPayloadExec) Exec(ctx context.Context) (*LinkSubscriptionPayload, error)
func (LinkSubscriptionPayloadExec) Exists ¶
func (instance LinkSubscriptionPayloadExec) Exists(ctx context.Context) (bool, error)
func (*LinkSubscriptionPayloadExec) Node ¶
func (instance *LinkSubscriptionPayloadExec) Node() *LinkExec
func (*LinkSubscriptionPayloadExec) PreviousValues ¶
func (instance *LinkSubscriptionPayloadExec) PreviousValues() *LinkPreviousValuesExec
type LinkSubscriptionPayloadExecArray ¶
type LinkSubscriptionPayloadExecArray struct {
// contains filtered or unexported fields
}
func (LinkSubscriptionPayloadExecArray) Exec ¶
func (instance LinkSubscriptionPayloadExecArray) Exec(ctx context.Context) ([]LinkSubscriptionPayload, error)
type LinkSubscriptionWhereInput ¶
type LinkSubscriptionWhereInput struct {
MutationIn []MutationType `json:"mutation_in,omitempty"`
UpdatedFieldsContains *string `json:"updatedFields_contains,omitempty"`
UpdatedFieldsContainsEvery []string `json:"updatedFields_contains_every,omitempty"`
UpdatedFieldsContainsSome []string `json:"updatedFields_contains_some,omitempty"`
Node *LinkWhereInput `json:"node,omitempty"`
And []LinkSubscriptionWhereInput `json:"AND,omitempty"`
Or []LinkSubscriptionWhereInput `json:"OR,omitempty"`
Not []LinkSubscriptionWhereInput `json:"NOT,omitempty"`
}
type LinkUpdateInput ¶
type LinkUpdateInput struct {
Description *string `json:"description,omitempty"`
Url *string `json:"url,omitempty"`
PostedBy *UserUpdateOneWithoutLinksInput `json:"postedBy,omitempty"`
AllVotes *VoteUpdateManyWithoutLinkInput `json:"allVotes,omitempty"`
}
type LinkUpdateManyParams ¶
type LinkUpdateManyParams struct {
Data LinkUpdateInput `json:"data"`
Where *LinkWhereInput `json:"where,omitempty"`
}
type LinkUpdateManyWithoutPostedByInput ¶
type LinkUpdateManyWithoutPostedByInput struct {
Create []LinkCreateWithoutPostedByInput `json:"create,omitempty"`
Delete []LinkWhereUniqueInput `json:"delete,omitempty"`
Connect []LinkWhereUniqueInput `json:"connect,omitempty"`
Disconnect []LinkWhereUniqueInput `json:"disconnect,omitempty"`
Update []LinkUpdateWithWhereUniqueWithoutPostedByInput `json:"update,omitempty"`
Upsert []LinkUpsertWithWhereUniqueWithoutPostedByInput `json:"upsert,omitempty"`
}
type LinkUpdateOneRequiredWithoutAllVotesInput ¶
type LinkUpdateOneRequiredWithoutAllVotesInput struct {
Create *LinkCreateWithoutAllVotesInput `json:"create,omitempty"`
Update *LinkUpdateWithoutAllVotesDataInput `json:"update,omitempty"`
Upsert *LinkUpsertWithoutAllVotesInput `json:"upsert,omitempty"`
Connect *LinkWhereUniqueInput `json:"connect,omitempty"`
}
type LinkUpdateParams ¶
type LinkUpdateParams struct {
Data LinkUpdateInput `json:"data"`
Where LinkWhereUniqueInput `json:"where"`
}
type LinkUpdateWithWhereUniqueWithoutPostedByInput ¶
type LinkUpdateWithWhereUniqueWithoutPostedByInput struct {
Where LinkWhereUniqueInput `json:"where"`
Data LinkUpdateWithoutPostedByDataInput `json:"data"`
}
type LinkUpdateWithoutAllVotesDataInput ¶
type LinkUpdateWithoutAllVotesDataInput struct {
Description *string `json:"description,omitempty"`
Url *string `json:"url,omitempty"`
PostedBy *UserUpdateOneWithoutLinksInput `json:"postedBy,omitempty"`
}
type LinkUpdateWithoutPostedByDataInput ¶
type LinkUpdateWithoutPostedByDataInput struct {
Description *string `json:"description,omitempty"`
Url *string `json:"url,omitempty"`
AllVotes *VoteUpdateManyWithoutLinkInput `json:"allVotes,omitempty"`
}
type LinkUpsertParams ¶
type LinkUpsertParams struct {
Where LinkWhereUniqueInput `json:"where"`
Create LinkCreateInput `json:"create"`
Update LinkUpdateInput `json:"update"`
}
type LinkUpsertWithWhereUniqueWithoutPostedByInput ¶
type LinkUpsertWithWhereUniqueWithoutPostedByInput struct {
Where LinkWhereUniqueInput `json:"where"`
Update LinkUpdateWithoutPostedByDataInput `json:"update"`
Create LinkCreateWithoutPostedByInput `json:"create"`
}
type LinkUpsertWithoutAllVotesInput ¶
type LinkUpsertWithoutAllVotesInput struct {
Update LinkUpdateWithoutAllVotesDataInput `json:"update"`
Create LinkCreateWithoutAllVotesInput `json:"create"`
}
type LinkWhereInput ¶
type LinkWhereInput struct {
ID *string `json:"id,omitempty"`
IDNot *string `json:"id_not,omitempty"`
IDIn []string `json:"id_in,omitempty"`
IDNotIn []string `json:"id_not_in,omitempty"`
IDLt *string `json:"id_lt,omitempty"`
IDLte *string `json:"id_lte,omitempty"`
IDGt *string `json:"id_gt,omitempty"`
IDGte *string `json:"id_gte,omitempty"`
IDContains *string `json:"id_contains,omitempty"`
IDNotContains *string `json:"id_not_contains,omitempty"`
IDStartsWith *string `json:"id_starts_with,omitempty"`
IDNotStartsWith *string `json:"id_not_starts_with,omitempty"`
IDEndsWith *string `json:"id_ends_with,omitempty"`
IDNotEndsWith *string `json:"id_not_ends_with,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
CreatedAtNot *string `json:"createdAt_not,omitempty"`
CreatedAtIn []string `json:"createdAt_in,omitempty"`
CreatedAtNotIn []string `json:"createdAt_not_in,omitempty"`
CreatedAtLt *string `json:"createdAt_lt,omitempty"`
CreatedAtLte *string `json:"createdAt_lte,omitempty"`
CreatedAtGt *string `json:"createdAt_gt,omitempty"`
CreatedAtGte *string `json:"createdAt_gte,omitempty"`
Description *string `json:"description,omitempty"`
DescriptionNot *string `json:"description_not,omitempty"`
DescriptionIn []string `json:"description_in,omitempty"`
DescriptionNotIn []string `json:"description_not_in,omitempty"`
DescriptionLt *string `json:"description_lt,omitempty"`
DescriptionLte *string `json:"description_lte,omitempty"`
DescriptionGt *string `json:"description_gt,omitempty"`
DescriptionGte *string `json:"description_gte,omitempty"`
DescriptionContains *string `json:"description_contains,omitempty"`
DescriptionNotContains *string `json:"description_not_contains,omitempty"`
DescriptionStartsWith *string `json:"description_starts_with,omitempty"`
DescriptionNotStartsWith *string `json:"description_not_starts_with,omitempty"`
DescriptionEndsWith *string `json:"description_ends_with,omitempty"`
DescriptionNotEndsWith *string `json:"description_not_ends_with,omitempty"`
Url *string `json:"url,omitempty"`
UrlNot *string `json:"url_not,omitempty"`
UrlIn []string `json:"url_in,omitempty"`
UrlNotIn []string `json:"url_not_in,omitempty"`
UrlLt *string `json:"url_lt,omitempty"`
UrlLte *string `json:"url_lte,omitempty"`
UrlGt *string `json:"url_gt,omitempty"`
UrlGte *string `json:"url_gte,omitempty"`
UrlContains *string `json:"url_contains,omitempty"`
UrlNotContains *string `json:"url_not_contains,omitempty"`
UrlStartsWith *string `json:"url_starts_with,omitempty"`
UrlNotStartsWith *string `json:"url_not_starts_with,omitempty"`
UrlEndsWith *string `json:"url_ends_with,omitempty"`
UrlNotEndsWith *string `json:"url_not_ends_with,omitempty"`
PostedBy *UserWhereInput `json:"postedBy,omitempty"`
AllVotesEvery *VoteWhereInput `json:"allVotes_every,omitempty"`
AllVotesSome *VoteWhereInput `json:"allVotes_some,omitempty"`
AllVotesNone *VoteWhereInput `json:"allVotes_none,omitempty"`
And []LinkWhereInput `json:"AND,omitempty"`
Or []LinkWhereInput `json:"OR,omitempty"`
Not []LinkWhereInput `json:"NOT,omitempty"`
}
type LinkWhereUniqueInput ¶
type LinkWhereUniqueInput struct {
ID *string `json:"id,omitempty"`
}
type LinksConnectionParams ¶
type LinksConnectionParams struct {
Where *LinkWhereInput `json:"where,omitempty"`
OrderBy *LinkOrderByInput `json:"orderBy,omitempty"`
Skip *int32 `json:"skip,omitempty"`
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
First *int32 `json:"first,omitempty"`
Last *int32 `json:"last,omitempty"`
}
type LinksParams ¶
type LinksParams struct {
Where *LinkWhereInput `json:"where,omitempty"`
OrderBy *LinkOrderByInput `json:"orderBy,omitempty"`
Skip *int32 `json:"skip,omitempty"`
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
First *int32 `json:"first,omitempty"`
Last *int32 `json:"last,omitempty"`
}
type LinksParamsExec ¶
type LinksParamsExec struct {
Where *LinkWhereInput
OrderBy *LinkOrderByInput
Skip *int32
After *string
Before *string
First *int32
Last *int32
}
type MutationType ¶
type MutationType string
const ( MutationTypeCreated MutationType = "CREATED" MutationTypeUpdated MutationType = "UPDATED" MutationTypeDeleted MutationType = "DELETED" )
type PageInfoExec ¶
type PageInfoExec struct {
// contains filtered or unexported fields
}
type PageInfoExecArray ¶
type PageInfoExecArray struct {
// contains filtered or unexported fields
}
type UserConnection ¶
type UserConnection struct {
}
type UserConnectionExec ¶
type UserConnectionExec struct {
// contains filtered or unexported fields
}
func (*UserConnectionExec) Aggregate ¶
func (instance *UserConnectionExec) Aggregate(ctx context.Context) (Aggregate, error)
func (*UserConnectionExec) Edges ¶
func (instance *UserConnectionExec) Edges() *UserEdgeExec
func (UserConnectionExec) Exec ¶
func (instance UserConnectionExec) Exec(ctx context.Context) (*UserConnection, error)
func (UserConnectionExec) Exists ¶
func (instance UserConnectionExec) Exists(ctx context.Context) (bool, error)
func (*UserConnectionExec) PageInfo ¶
func (instance *UserConnectionExec) PageInfo() *PageInfoExec
type UserConnectionExecArray ¶
type UserConnectionExecArray struct {
// contains filtered or unexported fields
}
func (UserConnectionExecArray) Exec ¶
func (instance UserConnectionExecArray) Exec(ctx context.Context) ([]UserConnection, error)
type UserCreateInput ¶
type UserCreateInput struct {
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"password"`
Links *LinkCreateManyWithoutPostedByInput `json:"links,omitempty"`
Votes *VoteCreateManyWithoutVotedByInput `json:"votes,omitempty"`
}
type UserCreateOneWithoutLinksInput ¶
type UserCreateOneWithoutLinksInput struct {
Create *UserCreateWithoutLinksInput `json:"create,omitempty"`
Connect *UserWhereUniqueInput `json:"connect,omitempty"`
}
type UserCreateOneWithoutVotesInput ¶
type UserCreateOneWithoutVotesInput struct {
Create *UserCreateWithoutVotesInput `json:"create,omitempty"`
Connect *UserWhereUniqueInput `json:"connect,omitempty"`
}
type UserCreateWithoutLinksInput ¶
type UserCreateWithoutLinksInput struct {
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"password"`
Votes *VoteCreateManyWithoutVotedByInput `json:"votes,omitempty"`
}
type UserCreateWithoutVotesInput ¶
type UserCreateWithoutVotesInput struct {
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"password"`
Links *LinkCreateManyWithoutPostedByInput `json:"links,omitempty"`
}
type UserEdgeExec ¶
type UserEdgeExec struct {
// contains filtered or unexported fields
}
func (UserEdgeExec) Exec ¶
func (instance UserEdgeExec) Exec(ctx context.Context) (*UserEdge, error)
func (*UserEdgeExec) Node ¶
func (instance *UserEdgeExec) Node() *UserExec
type UserEdgeExecArray ¶
type UserEdgeExecArray struct {
// contains filtered or unexported fields
}
type UserExec ¶
type UserExec struct {
// contains filtered or unexported fields
}
func (*UserExec) Links ¶
func (instance *UserExec) Links(params *LinksParamsExec) *LinkExecArray
func (*UserExec) Votes ¶
func (instance *UserExec) Votes(params *VotesParamsExec) *VoteExecArray
type UserExecArray ¶
type UserExecArray struct {
// contains filtered or unexported fields
}
type UserOrderByInput ¶
type UserOrderByInput string
const ( UserOrderByInputIDAsc UserOrderByInput = "id_ASC" UserOrderByInputIDDesc UserOrderByInput = "id_DESC" UserOrderByInputNameAsc UserOrderByInput = "name_ASC" UserOrderByInputNameDesc UserOrderByInput = "name_DESC" UserOrderByInputEmailAsc UserOrderByInput = "email_ASC" UserOrderByInputEmailDesc UserOrderByInput = "email_DESC" UserOrderByInputPasswordAsc UserOrderByInput = "password_ASC" UserOrderByInputPasswordDesc UserOrderByInput = "password_DESC" UserOrderByInputCreatedAtAsc UserOrderByInput = "createdAt_ASC" UserOrderByInputCreatedAtDesc UserOrderByInput = "createdAt_DESC" UserOrderByInputUpdatedAtAsc UserOrderByInput = "updatedAt_ASC" UserOrderByInputUpdatedAtDesc UserOrderByInput = "updatedAt_DESC" )
type UserPreviousValues ¶
type UserPreviousValuesExec ¶
type UserPreviousValuesExec struct {
// contains filtered or unexported fields
}
func (UserPreviousValuesExec) Exec ¶
func (instance UserPreviousValuesExec) Exec(ctx context.Context) (*UserPreviousValues, error)
type UserPreviousValuesExecArray ¶
type UserPreviousValuesExecArray struct {
// contains filtered or unexported fields
}
func (UserPreviousValuesExecArray) Exec ¶
func (instance UserPreviousValuesExecArray) Exec(ctx context.Context) ([]UserPreviousValues, error)
type UserSubscriptionPayload ¶
type UserSubscriptionPayload struct {
UpdatedFields []string `json:"updatedFields,omitempty"`
}
type UserSubscriptionPayloadExec ¶
type UserSubscriptionPayloadExec struct {
// contains filtered or unexported fields
}
func (UserSubscriptionPayloadExec) Exec ¶
func (instance UserSubscriptionPayloadExec) Exec(ctx context.Context) (*UserSubscriptionPayload, error)
func (UserSubscriptionPayloadExec) Exists ¶
func (instance UserSubscriptionPayloadExec) Exists(ctx context.Context) (bool, error)
func (*UserSubscriptionPayloadExec) Node ¶
func (instance *UserSubscriptionPayloadExec) Node() *UserExec
func (*UserSubscriptionPayloadExec) PreviousValues ¶
func (instance *UserSubscriptionPayloadExec) PreviousValues() *UserPreviousValuesExec
type UserSubscriptionPayloadExecArray ¶
type UserSubscriptionPayloadExecArray struct {
// contains filtered or unexported fields
}
func (UserSubscriptionPayloadExecArray) Exec ¶
func (instance UserSubscriptionPayloadExecArray) Exec(ctx context.Context) ([]UserSubscriptionPayload, error)
type UserSubscriptionWhereInput ¶
type UserSubscriptionWhereInput struct {
MutationIn []MutationType `json:"mutation_in,omitempty"`
UpdatedFieldsContains *string `json:"updatedFields_contains,omitempty"`
UpdatedFieldsContainsEvery []string `json:"updatedFields_contains_every,omitempty"`
UpdatedFieldsContainsSome []string `json:"updatedFields_contains_some,omitempty"`
Node *UserWhereInput `json:"node,omitempty"`
And []UserSubscriptionWhereInput `json:"AND,omitempty"`
Or []UserSubscriptionWhereInput `json:"OR,omitempty"`
Not []UserSubscriptionWhereInput `json:"NOT,omitempty"`
}
type UserUpdateInput ¶
type UserUpdateInput struct {
Name *string `json:"name,omitempty"`
Email *string `json:"email,omitempty"`
Password *string `json:"password,omitempty"`
Links *LinkUpdateManyWithoutPostedByInput `json:"links,omitempty"`
Votes *VoteUpdateManyWithoutVotedByInput `json:"votes,omitempty"`
}
type UserUpdateManyParams ¶
type UserUpdateManyParams struct {
Data UserUpdateInput `json:"data"`
Where *UserWhereInput `json:"where,omitempty"`
}
type UserUpdateOneRequiredWithoutVotesInput ¶
type UserUpdateOneRequiredWithoutVotesInput struct {
Create *UserCreateWithoutVotesInput `json:"create,omitempty"`
Update *UserUpdateWithoutVotesDataInput `json:"update,omitempty"`
Upsert *UserUpsertWithoutVotesInput `json:"upsert,omitempty"`
Connect *UserWhereUniqueInput `json:"connect,omitempty"`
}
type UserUpdateOneWithoutLinksInput ¶
type UserUpdateOneWithoutLinksInput struct {
Create *UserCreateWithoutLinksInput `json:"create,omitempty"`
Update *UserUpdateWithoutLinksDataInput `json:"update,omitempty"`
Upsert *UserUpsertWithoutLinksInput `json:"upsert,omitempty"`
Delete *bool `json:"delete,omitempty"`
Disconnect *bool `json:"disconnect,omitempty"`
Connect *UserWhereUniqueInput `json:"connect,omitempty"`
}
type UserUpdateParams ¶
type UserUpdateParams struct {
Data UserUpdateInput `json:"data"`
Where UserWhereUniqueInput `json:"where"`
}
type UserUpdateWithoutLinksDataInput ¶
type UserUpdateWithoutLinksDataInput struct {
Name *string `json:"name,omitempty"`
Email *string `json:"email,omitempty"`
Password *string `json:"password,omitempty"`
Votes *VoteUpdateManyWithoutVotedByInput `json:"votes,omitempty"`
}
type UserUpdateWithoutVotesDataInput ¶
type UserUpdateWithoutVotesDataInput struct {
Name *string `json:"name,omitempty"`
Email *string `json:"email,omitempty"`
Password *string `json:"password,omitempty"`
Links *LinkUpdateManyWithoutPostedByInput `json:"links,omitempty"`
}
type UserUpsertParams ¶
type UserUpsertParams struct {
Where UserWhereUniqueInput `json:"where"`
Create UserCreateInput `json:"create"`
Update UserUpdateInput `json:"update"`
}
type UserUpsertWithoutLinksInput ¶
type UserUpsertWithoutLinksInput struct {
Update UserUpdateWithoutLinksDataInput `json:"update"`
Create UserCreateWithoutLinksInput `json:"create"`
}
type UserUpsertWithoutVotesInput ¶
type UserUpsertWithoutVotesInput struct {
Update UserUpdateWithoutVotesDataInput `json:"update"`
Create UserCreateWithoutVotesInput `json:"create"`
}
type UserWhereInput ¶
type UserWhereInput struct {
ID *string `json:"id,omitempty"`
IDNot *string `json:"id_not,omitempty"`
IDIn []string `json:"id_in,omitempty"`
IDNotIn []string `json:"id_not_in,omitempty"`
IDLt *string `json:"id_lt,omitempty"`
IDLte *string `json:"id_lte,omitempty"`
IDGt *string `json:"id_gt,omitempty"`
IDGte *string `json:"id_gte,omitempty"`
IDContains *string `json:"id_contains,omitempty"`
IDNotContains *string `json:"id_not_contains,omitempty"`
IDStartsWith *string `json:"id_starts_with,omitempty"`
IDNotStartsWith *string `json:"id_not_starts_with,omitempty"`
IDEndsWith *string `json:"id_ends_with,omitempty"`
IDNotEndsWith *string `json:"id_not_ends_with,omitempty"`
Name *string `json:"name,omitempty"`
NameNot *string `json:"name_not,omitempty"`
NameIn []string `json:"name_in,omitempty"`
NameNotIn []string `json:"name_not_in,omitempty"`
NameLt *string `json:"name_lt,omitempty"`
NameLte *string `json:"name_lte,omitempty"`
NameGt *string `json:"name_gt,omitempty"`
NameGte *string `json:"name_gte,omitempty"`
NameContains *string `json:"name_contains,omitempty"`
NameNotContains *string `json:"name_not_contains,omitempty"`
NameStartsWith *string `json:"name_starts_with,omitempty"`
NameNotStartsWith *string `json:"name_not_starts_with,omitempty"`
NameEndsWith *string `json:"name_ends_with,omitempty"`
NameNotEndsWith *string `json:"name_not_ends_with,omitempty"`
Email *string `json:"email,omitempty"`
EmailNot *string `json:"email_not,omitempty"`
EmailIn []string `json:"email_in,omitempty"`
EmailNotIn []string `json:"email_not_in,omitempty"`
EmailLt *string `json:"email_lt,omitempty"`
EmailLte *string `json:"email_lte,omitempty"`
EmailGt *string `json:"email_gt,omitempty"`
EmailGte *string `json:"email_gte,omitempty"`
EmailContains *string `json:"email_contains,omitempty"`
EmailNotContains *string `json:"email_not_contains,omitempty"`
EmailStartsWith *string `json:"email_starts_with,omitempty"`
EmailNotStartsWith *string `json:"email_not_starts_with,omitempty"`
EmailEndsWith *string `json:"email_ends_with,omitempty"`
EmailNotEndsWith *string `json:"email_not_ends_with,omitempty"`
Password *string `json:"password,omitempty"`
PasswordNot *string `json:"password_not,omitempty"`
PasswordIn []string `json:"password_in,omitempty"`
PasswordNotIn []string `json:"password_not_in,omitempty"`
PasswordLt *string `json:"password_lt,omitempty"`
PasswordLte *string `json:"password_lte,omitempty"`
PasswordGt *string `json:"password_gt,omitempty"`
PasswordGte *string `json:"password_gte,omitempty"`
PasswordContains *string `json:"password_contains,omitempty"`
PasswordNotContains *string `json:"password_not_contains,omitempty"`
PasswordStartsWith *string `json:"password_starts_with,omitempty"`
PasswordNotStartsWith *string `json:"password_not_starts_with,omitempty"`
PasswordEndsWith *string `json:"password_ends_with,omitempty"`
PasswordNotEndsWith *string `json:"password_not_ends_with,omitempty"`
LinksEvery *LinkWhereInput `json:"links_every,omitempty"`
LinksSome *LinkWhereInput `json:"links_some,omitempty"`
LinksNone *LinkWhereInput `json:"links_none,omitempty"`
VotesEvery *VoteWhereInput `json:"votes_every,omitempty"`
VotesSome *VoteWhereInput `json:"votes_some,omitempty"`
VotesNone *VoteWhereInput `json:"votes_none,omitempty"`
And []UserWhereInput `json:"AND,omitempty"`
Or []UserWhereInput `json:"OR,omitempty"`
Not []UserWhereInput `json:"NOT,omitempty"`
}
type UserWhereUniqueInput ¶
type UsersConnectionParams ¶
type UsersConnectionParams struct {
Where *UserWhereInput `json:"where,omitempty"`
OrderBy *UserOrderByInput `json:"orderBy,omitempty"`
Skip *int32 `json:"skip,omitempty"`
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
First *int32 `json:"first,omitempty"`
Last *int32 `json:"last,omitempty"`
}
type UsersParams ¶
type UsersParams struct {
Where *UserWhereInput `json:"where,omitempty"`
OrderBy *UserOrderByInput `json:"orderBy,omitempty"`
Skip *int32 `json:"skip,omitempty"`
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
First *int32 `json:"first,omitempty"`
Last *int32 `json:"last,omitempty"`
}
type VoteConnection ¶
type VoteConnection struct {
}
type VoteConnectionExec ¶
type VoteConnectionExec struct {
// contains filtered or unexported fields
}
func (*VoteConnectionExec) Aggregate ¶
func (instance *VoteConnectionExec) Aggregate(ctx context.Context) (Aggregate, error)
func (*VoteConnectionExec) Edges ¶
func (instance *VoteConnectionExec) Edges() *VoteEdgeExec
func (VoteConnectionExec) Exec ¶
func (instance VoteConnectionExec) Exec(ctx context.Context) (*VoteConnection, error)
func (VoteConnectionExec) Exists ¶
func (instance VoteConnectionExec) Exists(ctx context.Context) (bool, error)
func (*VoteConnectionExec) PageInfo ¶
func (instance *VoteConnectionExec) PageInfo() *PageInfoExec
type VoteConnectionExecArray ¶
type VoteConnectionExecArray struct {
// contains filtered or unexported fields
}
func (VoteConnectionExecArray) Exec ¶
func (instance VoteConnectionExecArray) Exec(ctx context.Context) ([]VoteConnection, error)
type VoteCreateInput ¶
type VoteCreateInput struct {
Link LinkCreateOneWithoutAllVotesInput `json:"link"`
VotedBy UserCreateOneWithoutVotesInput `json:"votedBy"`
}
type VoteCreateManyWithoutLinkInput ¶
type VoteCreateManyWithoutLinkInput struct {
Create []VoteCreateWithoutLinkInput `json:"create,omitempty"`
Connect []VoteWhereUniqueInput `json:"connect,omitempty"`
}
type VoteCreateManyWithoutVotedByInput ¶
type VoteCreateManyWithoutVotedByInput struct {
Create []VoteCreateWithoutVotedByInput `json:"create,omitempty"`
Connect []VoteWhereUniqueInput `json:"connect,omitempty"`
}
type VoteCreateWithoutLinkInput ¶
type VoteCreateWithoutLinkInput struct {
VotedBy UserCreateOneWithoutVotesInput `json:"votedBy"`
}
type VoteCreateWithoutVotedByInput ¶
type VoteCreateWithoutVotedByInput struct {
Link LinkCreateOneWithoutAllVotesInput `json:"link"`
}
type VoteEdgeExec ¶
type VoteEdgeExec struct {
// contains filtered or unexported fields
}
func (VoteEdgeExec) Exec ¶
func (instance VoteEdgeExec) Exec(ctx context.Context) (*VoteEdge, error)
func (*VoteEdgeExec) Node ¶
func (instance *VoteEdgeExec) Node() *VoteExec
type VoteEdgeExecArray ¶
type VoteEdgeExecArray struct {
// contains filtered or unexported fields
}
type VoteExecArray ¶
type VoteExecArray struct {
// contains filtered or unexported fields
}
type VoteOrderByInput ¶
type VoteOrderByInput string
const ( VoteOrderByInputIDAsc VoteOrderByInput = "id_ASC" VoteOrderByInputIDDesc VoteOrderByInput = "id_DESC" VoteOrderByInputCreatedAtAsc VoteOrderByInput = "createdAt_ASC" VoteOrderByInputCreatedAtDesc VoteOrderByInput = "createdAt_DESC" VoteOrderByInputUpdatedAtAsc VoteOrderByInput = "updatedAt_ASC" VoteOrderByInputUpdatedAtDesc VoteOrderByInput = "updatedAt_DESC" )
type VotePreviousValues ¶
type VotePreviousValues struct {
ID string `json:"id"`
}
type VotePreviousValuesExec ¶
type VotePreviousValuesExec struct {
// contains filtered or unexported fields
}
func (VotePreviousValuesExec) Exec ¶
func (instance VotePreviousValuesExec) Exec(ctx context.Context) (*VotePreviousValues, error)
type VotePreviousValuesExecArray ¶
type VotePreviousValuesExecArray struct {
// contains filtered or unexported fields
}
func (VotePreviousValuesExecArray) Exec ¶
func (instance VotePreviousValuesExecArray) Exec(ctx context.Context) ([]VotePreviousValues, error)
type VoteSubscriptionPayload ¶
type VoteSubscriptionPayload struct {
UpdatedFields []string `json:"updatedFields,omitempty"`
}
type VoteSubscriptionPayloadExec ¶
type VoteSubscriptionPayloadExec struct {
// contains filtered or unexported fields
}
func (VoteSubscriptionPayloadExec) Exec ¶
func (instance VoteSubscriptionPayloadExec) Exec(ctx context.Context) (*VoteSubscriptionPayload, error)
func (VoteSubscriptionPayloadExec) Exists ¶
func (instance VoteSubscriptionPayloadExec) Exists(ctx context.Context) (bool, error)
func (*VoteSubscriptionPayloadExec) Node ¶
func (instance *VoteSubscriptionPayloadExec) Node() *VoteExec
func (*VoteSubscriptionPayloadExec) PreviousValues ¶
func (instance *VoteSubscriptionPayloadExec) PreviousValues() *VotePreviousValuesExec
type VoteSubscriptionPayloadExecArray ¶
type VoteSubscriptionPayloadExecArray struct {
// contains filtered or unexported fields
}
func (VoteSubscriptionPayloadExecArray) Exec ¶
func (instance VoteSubscriptionPayloadExecArray) Exec(ctx context.Context) ([]VoteSubscriptionPayload, error)
type VoteSubscriptionWhereInput ¶
type VoteSubscriptionWhereInput struct {
MutationIn []MutationType `json:"mutation_in,omitempty"`
UpdatedFieldsContains *string `json:"updatedFields_contains,omitempty"`
UpdatedFieldsContainsEvery []string `json:"updatedFields_contains_every,omitempty"`
UpdatedFieldsContainsSome []string `json:"updatedFields_contains_some,omitempty"`
Node *VoteWhereInput `json:"node,omitempty"`
And []VoteSubscriptionWhereInput `json:"AND,omitempty"`
Or []VoteSubscriptionWhereInput `json:"OR,omitempty"`
Not []VoteSubscriptionWhereInput `json:"NOT,omitempty"`
}
type VoteUpdateInput ¶
type VoteUpdateInput struct {
Link *LinkUpdateOneRequiredWithoutAllVotesInput `json:"link,omitempty"`
VotedBy *UserUpdateOneRequiredWithoutVotesInput `json:"votedBy,omitempty"`
}
type VoteUpdateManyParams ¶
type VoteUpdateManyParams struct {
Data VoteUpdateInput `json:"data"`
Where *VoteWhereInput `json:"where,omitempty"`
}
type VoteUpdateManyWithoutLinkInput ¶
type VoteUpdateManyWithoutLinkInput struct {
Create []VoteCreateWithoutLinkInput `json:"create,omitempty"`
Delete []VoteWhereUniqueInput `json:"delete,omitempty"`
Connect []VoteWhereUniqueInput `json:"connect,omitempty"`
Disconnect []VoteWhereUniqueInput `json:"disconnect,omitempty"`
Update []VoteUpdateWithWhereUniqueWithoutLinkInput `json:"update,omitempty"`
Upsert []VoteUpsertWithWhereUniqueWithoutLinkInput `json:"upsert,omitempty"`
}
type VoteUpdateManyWithoutVotedByInput ¶
type VoteUpdateManyWithoutVotedByInput struct {
Create []VoteCreateWithoutVotedByInput `json:"create,omitempty"`
Delete []VoteWhereUniqueInput `json:"delete,omitempty"`
Connect []VoteWhereUniqueInput `json:"connect,omitempty"`
Disconnect []VoteWhereUniqueInput `json:"disconnect,omitempty"`
Update []VoteUpdateWithWhereUniqueWithoutVotedByInput `json:"update,omitempty"`
Upsert []VoteUpsertWithWhereUniqueWithoutVotedByInput `json:"upsert,omitempty"`
}
type VoteUpdateParams ¶
type VoteUpdateParams struct {
Data VoteUpdateInput `json:"data"`
Where VoteWhereUniqueInput `json:"where"`
}
type VoteUpdateWithWhereUniqueWithoutLinkInput ¶
type VoteUpdateWithWhereUniqueWithoutLinkInput struct {
Where VoteWhereUniqueInput `json:"where"`
Data VoteUpdateWithoutLinkDataInput `json:"data"`
}
type VoteUpdateWithWhereUniqueWithoutVotedByInput ¶
type VoteUpdateWithWhereUniqueWithoutVotedByInput struct {
Where VoteWhereUniqueInput `json:"where"`
Data VoteUpdateWithoutVotedByDataInput `json:"data"`
}
type VoteUpdateWithoutLinkDataInput ¶
type VoteUpdateWithoutLinkDataInput struct {
VotedBy *UserUpdateOneRequiredWithoutVotesInput `json:"votedBy,omitempty"`
}
type VoteUpdateWithoutVotedByDataInput ¶
type VoteUpdateWithoutVotedByDataInput struct {
Link *LinkUpdateOneRequiredWithoutAllVotesInput `json:"link,omitempty"`
}
type VoteUpsertParams ¶
type VoteUpsertParams struct {
Where VoteWhereUniqueInput `json:"where"`
Create VoteCreateInput `json:"create"`
Update VoteUpdateInput `json:"update"`
}
type VoteUpsertWithWhereUniqueWithoutLinkInput ¶
type VoteUpsertWithWhereUniqueWithoutLinkInput struct {
Where VoteWhereUniqueInput `json:"where"`
Update VoteUpdateWithoutLinkDataInput `json:"update"`
Create VoteCreateWithoutLinkInput `json:"create"`
}
type VoteUpsertWithWhereUniqueWithoutVotedByInput ¶
type VoteUpsertWithWhereUniqueWithoutVotedByInput struct {
Where VoteWhereUniqueInput `json:"where"`
Update VoteUpdateWithoutVotedByDataInput `json:"update"`
Create VoteCreateWithoutVotedByInput `json:"create"`
}
type VoteWhereInput ¶
type VoteWhereInput struct {
ID *string `json:"id,omitempty"`
IDNot *string `json:"id_not,omitempty"`
IDIn []string `json:"id_in,omitempty"`
IDNotIn []string `json:"id_not_in,omitempty"`
IDLt *string `json:"id_lt,omitempty"`
IDLte *string `json:"id_lte,omitempty"`
IDGt *string `json:"id_gt,omitempty"`
IDGte *string `json:"id_gte,omitempty"`
IDContains *string `json:"id_contains,omitempty"`
IDNotContains *string `json:"id_not_contains,omitempty"`
IDStartsWith *string `json:"id_starts_with,omitempty"`
IDNotStartsWith *string `json:"id_not_starts_with,omitempty"`
IDEndsWith *string `json:"id_ends_with,omitempty"`
IDNotEndsWith *string `json:"id_not_ends_with,omitempty"`
Link *LinkWhereInput `json:"link,omitempty"`
VotedBy *UserWhereInput `json:"votedBy,omitempty"`
And []VoteWhereInput `json:"AND,omitempty"`
Or []VoteWhereInput `json:"OR,omitempty"`
Not []VoteWhereInput `json:"NOT,omitempty"`
}
type VoteWhereUniqueInput ¶
type VoteWhereUniqueInput struct {
ID *string `json:"id,omitempty"`
}
type VotesConnectionParams ¶
type VotesConnectionParams struct {
Where *VoteWhereInput `json:"where,omitempty"`
OrderBy *VoteOrderByInput `json:"orderBy,omitempty"`
Skip *int32 `json:"skip,omitempty"`
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
First *int32 `json:"first,omitempty"`
Last *int32 `json:"last,omitempty"`
}
type VotesParams ¶
type VotesParams struct {
Where *VoteWhereInput `json:"where,omitempty"`
OrderBy *VoteOrderByInput `json:"orderBy,omitempty"`
Skip *int32 `json:"skip,omitempty"`
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
First *int32 `json:"first,omitempty"`
Last *int32 `json:"last,omitempty"`
}
type VotesParamsExec ¶
type VotesParamsExec struct {
Where *VoteWhereInput
OrderBy *VoteOrderByInput
Skip *int32
After *string
Before *string
First *int32
Last *int32
}
Click to show internal directories.
Click to hide internal directories.