Skip to content

Instantly share code, notes, and snippets.

@esokullu
Created December 7, 2019 11:42
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esokullu/6f1e60bbf83d89232d62a3960f01cf6e to your computer and use it in GitHub Desktop.
Save esokullu/6f1e60bbf83d89232d62a3960f01cf6e to your computer and use it in GitHub Desktop.
Instagram GraphQL Schema
enum _ModelMutationType {
CREATED
UPDATED
DELETED
}
type _QueryMeta {
count: Int!
}
type AddToAuthorPostsPayload {
authorUser: User
postsPost: Post
}
type AddToLikedPostsPayload {
likedByUser: User
likedPostsPost: Post
}
input AUTH_PROVIDER_EMAIL {
email: String!
password: String!
}
input AuthProviderSignupData {
email: AUTH_PROVIDER_EMAIL
}
input CreateFile {
name: String!
}
input CreateMetaInformation {
tags: [META_INFORMATION_TAGS!]!
postId: ID
post: MetaInformationpostPost
}
input CreatePost {
published: Boolean!
slug: String!
text: String!
title: String!
authorId: ID
metaInformationId: ID
metaInformation: PostmetaInformationMetaInformation
likedByIds: [ID!]
}
input CreateUser {
accessRole: USER_ACCESS_ROLE!
name: String!
likedPostsIds: [ID!]
likedPosts: [UserlikedPostsPost!]
postsIds: [ID!]
posts: [UserpostsPost!]
}
scalar DateTime
type File implements Node {
contentType: String!
createdAt: DateTime
id: ID!
name: String!
secret: String!
size: Int!
updatedAt: DateTime
url: String!
}
input FileFilter {
AND: [FileFilter!]
OR: [FileFilter!]
contentType: String
contentType_not: String
contentType_in: [String!]
contentType_not_in: [String!]
contentType_lt: String
contentType_lte: String
contentType_gt: String
contentType_gte: String
contentType_contains: String
contentType_not_contains: String
contentType_starts_with: String
contentType_not_starts_with: String
contentType_ends_with: String
contentType_not_ends_with: String
createdAt: DateTime
createdAt_not: DateTime
createdAt_in: [DateTime!]
createdAt_not_in: [DateTime!]
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
id: ID
id_not: ID
id_in: [ID!]
id_not_in: [ID!]
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_contains: ID
id_not_contains: ID
id_starts_with: ID
id_not_starts_with: ID
id_ends_with: ID
id_not_ends_with: ID
name: String
name_not: String
name_in: [String!]
name_not_in: [String!]
name_lt: String
name_lte: String
name_gt: String
name_gte: String
name_contains: String
name_not_contains: String
name_starts_with: String
name_not_starts_with: String
name_ends_with: String
name_not_ends_with: String
secret: String
secret_not: String
secret_in: [String!]
secret_not_in: [String!]
secret_lt: String
secret_lte: String
secret_gt: String
secret_gte: String
secret_contains: String
secret_not_contains: String
secret_starts_with: String
secret_not_starts_with: String
secret_ends_with: String
secret_not_ends_with: String
size: Int
size_not: Int
size_in: [Int!]
size_not_in: [Int!]
size_lt: Int
size_lte: Int
size_gt: Int
size_gte: Int
updatedAt: DateTime
updatedAt_not: DateTime
updatedAt_in: [DateTime!]
updatedAt_not_in: [DateTime!]
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
url: String
url_not: String
url_in: [String!]
url_not_in: [String!]
url_lt: String
url_lte: String
url_gt: String
url_gte: String
url_contains: String
url_not_contains: String
url_starts_with: String
url_not_starts_with: String
url_ends_with: String
url_not_ends_with: String
}
enum FileOrderBy {
contentType_ASC
contentType_DESC
createdAt_ASC
createdAt_DESC
id_ASC
id_DESC
name_ASC
name_DESC
secret_ASC
secret_DESC
size_ASC
size_DESC
updatedAt_ASC
updatedAt_DESC
url_ASC
url_DESC
}
type FilePreviousValues {
contentType: String!
createdAt: DateTime
id: ID!
name: String!
secret: String!
size: Int!
updatedAt: DateTime
url: String!
}
input FileSubscriptionFilter {
AND: [FileSubscriptionFilter!]
OR: [FileSubscriptionFilter!]
mutation_in: [_ModelMutationType!]
updatedFields_contains: String
updatedFields_contains_every: [String!]
updatedFields_contains_some: [String!]
node: FileSubscriptionFilterNode
}
input FileSubscriptionFilterNode {
contentType: String
contentType_not: String
contentType_in: [String!]
contentType_not_in: [String!]
contentType_lt: String
contentType_lte: String
contentType_gt: String
contentType_gte: String
contentType_contains: String
contentType_not_contains: String
contentType_starts_with: String
contentType_not_starts_with: String
contentType_ends_with: String
contentType_not_ends_with: String
createdAt: DateTime
createdAt_not: DateTime
createdAt_in: [DateTime!]
createdAt_not_in: [DateTime!]
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
id: ID
id_not: ID
id_in: [ID!]
id_not_in: [ID!]
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_contains: ID
id_not_contains: ID
id_starts_with: ID
id_not_starts_with: ID
id_ends_with: ID
id_not_ends_with: ID
name: String
name_not: String
name_in: [String!]
name_not_in: [String!]
name_lt: String
name_lte: String
name_gt: String
name_gte: String
name_contains: String
name_not_contains: String
name_starts_with: String
name_not_starts_with: String
name_ends_with: String
name_not_ends_with: String
secret: String
secret_not: String
secret_in: [String!]
secret_not_in: [String!]
secret_lt: String
secret_lte: String
secret_gt: String
secret_gte: String
secret_contains: String
secret_not_contains: String
secret_starts_with: String
secret_not_starts_with: String
secret_ends_with: String
secret_not_ends_with: String
size: Int
size_not: Int
size_in: [Int!]
size_not_in: [Int!]
size_lt: Int
size_lte: Int
size_gt: Int
size_gte: Int
updatedAt: DateTime
updatedAt_not: DateTime
updatedAt_in: [DateTime!]
updatedAt_not_in: [DateTime!]
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
url: String
url_not: String
url_in: [String!]
url_not_in: [String!]
url_lt: String
url_lte: String
url_gt: String
url_gte: String
url_contains: String
url_not_contains: String
url_starts_with: String
url_not_starts_with: String
url_ends_with: String
url_not_ends_with: String
}
type FileSubscriptionPayload {
mutation: _ModelMutationType!
node: File
updatedFields: [String!]
previousValues: FilePreviousValues
}
input InvokeFunctionInput {
name: String!
input: String!
clientMutationId: String
}
type InvokeFunctionPayload {
result: String!
clientMutationId: String
}
enum META_INFORMATION_TAGS {
GENERAL
TRAVELLING
}
type MetaInformation implements Node {
createdAt: DateTime
id: ID!
post(filter: PostFilter): Post
tags: [META_INFORMATION_TAGS!]!
updatedAt: DateTime
}
input MetaInformationFilter {
AND: [MetaInformationFilter!]
OR: [MetaInformationFilter!]
createdAt: DateTime
createdAt_not: DateTime
createdAt_in: [DateTime!]
createdAt_not_in: [DateTime!]
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
id: ID
id_not: ID
id_in: [ID!]
id_not_in: [ID!]
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_contains: ID
id_not_contains: ID
id_starts_with: ID
id_not_starts_with: ID
id_ends_with: ID
id_not_ends_with: ID
updatedAt: DateTime
updatedAt_not: DateTime
updatedAt_in: [DateTime!]
updatedAt_not_in: [DateTime!]
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
post: PostFilter
}
enum MetaInformationOrderBy {
createdAt_ASC
createdAt_DESC
id_ASC
id_DESC
updatedAt_ASC
updatedAt_DESC
}
input MetaInformationpostPost {
published: Boolean!
slug: String!
text: String!
title: String!
authorId: ID
likedByIds: [ID!]
}
type MetaInformationPreviousValues {
createdAt: DateTime
id: ID!
tags: [META_INFORMATION_TAGS!]!
updatedAt: DateTime
}
input MetaInformationSubscriptionFilter {
AND: [MetaInformationSubscriptionFilter!]
OR: [MetaInformationSubscriptionFilter!]
mutation_in: [_ModelMutationType!]
updatedFields_contains: String
updatedFields_contains_every: [String!]
updatedFields_contains_some: [String!]
node: MetaInformationSubscriptionFilterNode
}
input MetaInformationSubscriptionFilterNode {
createdAt: DateTime
createdAt_not: DateTime
createdAt_in: [DateTime!]
createdAt_not_in: [DateTime!]
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
id: ID
id_not: ID
id_in: [ID!]
id_not_in: [ID!]
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_contains: ID
id_not_contains: ID
id_starts_with: ID
id_not_starts_with: ID
id_ends_with: ID
id_not_ends_with: ID
updatedAt: DateTime
updatedAt_not: DateTime
updatedAt_in: [DateTime!]
updatedAt_not_in: [DateTime!]
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
post: PostFilter
}
type MetaInformationSubscriptionPayload {
mutation: _ModelMutationType!
node: MetaInformation
updatedFields: [String!]
previousValues: MetaInformationPreviousValues
}
type Mutation {
createFile(name: String!): File
createMetaInformation(
tags: [META_INFORMATION_TAGS!]!
postId: ID
post: MetaInformationpostPost
): MetaInformation
createPost(
published: Boolean!
slug: String!
text: String!
title: String!
authorId: ID
metaInformationId: ID
metaInformation: PostmetaInformationMetaInformation
likedByIds: [ID!]
): Post
updateFile(id: ID!, name: String): File
updateMetaInformation(
id: ID!
tags: [META_INFORMATION_TAGS!]
postId: ID
post: MetaInformationpostPost
): MetaInformation
updatePost(
id: ID!
published: Boolean
slug: String
text: String
title: String
authorId: ID
metaInformationId: ID
metaInformation: PostmetaInformationMetaInformation
likedByIds: [ID!]
): Post
updateUser(
accessRole: USER_ACCESS_ROLE
id: ID!
name: String
likedPostsIds: [ID!]
likedPosts: [UserlikedPostsPost!]
postsIds: [ID!]
posts: [UserpostsPost!]
): User
updateOrCreateFile(update: UpdateFile!, create: CreateFile!): File
updateOrCreateMetaInformation(
update: UpdateMetaInformation!
create: CreateMetaInformation!
): MetaInformation
updateOrCreatePost(update: UpdatePost!, create: CreatePost!): Post
updateOrCreateUser(update: UpdateUser!, create: CreateUser!): User
deleteFile(id: ID!): File
deleteMetaInformation(id: ID!): MetaInformation
deletePost(id: ID!): Post
deleteUser(id: ID!): User
setPostMetaInformation(
metaInformationMetaInformationId: ID!
postPostId: ID!
): SetPostMetaInformationPayload
unsetPostMetaInformation(
metaInformationMetaInformationId: ID!
postPostId: ID!
): UnsetPostMetaInformationPayload
addToAuthorPosts(postsPostId: ID!, authorUserId: ID!): AddToAuthorPostsPayload
addToLikedPosts(
likedPostsPostId: ID!
likedByUserId: ID!
): AddToLikedPostsPayload
removeFromAuthorPosts(
postsPostId: ID!
authorUserId: ID!
): RemoveFromAuthorPostsPayload
removeFromLikedPosts(
likedPostsPostId: ID!
likedByUserId: ID!
): RemoveFromLikedPostsPayload
signinUser(email: AUTH_PROVIDER_EMAIL): SigninPayload!
createUser(
accessRole: USER_ACCESS_ROLE!
name: String!
likedPostsIds: [ID!]
likedPosts: [UserlikedPostsPost!]
postsIds: [ID!]
posts: [UserpostsPost!]
authProvider: AuthProviderSignupData!
): User
invokeFunction(input: InvokeFunctionInput!): InvokeFunctionPayload
}
interface Node {
id: ID!
}
type Post implements Node {
author(filter: UserFilter): User
createdAt: DateTime
id: ID!
likedBy(
filter: UserFilter
orderBy: UserOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): [User!]
metaInformation(filter: MetaInformationFilter): MetaInformation
published: Boolean!
slug: String!
text: String!
title: String!
updatedAt: DateTime
_likedByMeta(
filter: UserFilter
orderBy: UserOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): _QueryMeta!
}
input PostFilter {
AND: [PostFilter!]
OR: [PostFilter!]
createdAt: DateTime
createdAt_not: DateTime
createdAt_in: [DateTime!]
createdAt_not_in: [DateTime!]
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
id: ID
id_not: ID
id_in: [ID!]
id_not_in: [ID!]
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_contains: ID
id_not_contains: ID
id_starts_with: ID
id_not_starts_with: ID
id_ends_with: ID
id_not_ends_with: ID
published: Boolean
published_not: Boolean
slug: String
slug_not: String
slug_in: [String!]
slug_not_in: [String!]
slug_lt: String
slug_lte: String
slug_gt: String
slug_gte: String
slug_contains: String
slug_not_contains: String
slug_starts_with: String
slug_not_starts_with: String
slug_ends_with: String
slug_not_ends_with: String
text: String
text_not: String
text_in: [String!]
text_not_in: [String!]
text_lt: String
text_lte: String
text_gt: String
text_gte: String
text_contains: String
text_not_contains: String
text_starts_with: String
text_not_starts_with: String
text_ends_with: String
text_not_ends_with: String
title: String
title_not: String
title_in: [String!]
title_not_in: [String!]
title_lt: String
title_lte: String
title_gt: String
title_gte: String
title_contains: String
title_not_contains: String
title_starts_with: String
title_not_starts_with: String
title_ends_with: String
title_not_ends_with: String
updatedAt: DateTime
updatedAt_not: DateTime
updatedAt_in: [DateTime!]
updatedAt_not_in: [DateTime!]
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
author: UserFilter
likedBy_every: UserFilter
likedBy_some: UserFilter
likedBy_none: UserFilter
metaInformation: MetaInformationFilter
}
input PostmetaInformationMetaInformation {
tags: [META_INFORMATION_TAGS!]!
}
enum PostOrderBy {
createdAt_ASC
createdAt_DESC
id_ASC
id_DESC
published_ASC
published_DESC
slug_ASC
slug_DESC
text_ASC
text_DESC
title_ASC
title_DESC
updatedAt_ASC
updatedAt_DESC
}
type PostPreviousValues {
createdAt: DateTime
id: ID!
published: Boolean!
slug: String!
text: String!
title: String!
updatedAt: DateTime
}
input PostSubscriptionFilter {
AND: [PostSubscriptionFilter!]
OR: [PostSubscriptionFilter!]
mutation_in: [_ModelMutationType!]
updatedFields_contains: String
updatedFields_contains_every: [String!]
updatedFields_contains_some: [String!]
node: PostSubscriptionFilterNode
}
input PostSubscriptionFilterNode {
createdAt: DateTime
createdAt_not: DateTime
createdAt_in: [DateTime!]
createdAt_not_in: [DateTime!]
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
id: ID
id_not: ID
id_in: [ID!]
id_not_in: [ID!]
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_contains: ID
id_not_contains: ID
id_starts_with: ID
id_not_starts_with: ID
id_ends_with: ID
id_not_ends_with: ID
published: Boolean
published_not: Boolean
slug: String
slug_not: String
slug_in: [String!]
slug_not_in: [String!]
slug_lt: String
slug_lte: String
slug_gt: String
slug_gte: String
slug_contains: String
slug_not_contains: String
slug_starts_with: String
slug_not_starts_with: String
slug_ends_with: String
slug_not_ends_with: String
text: String
text_not: String
text_in: [String!]
text_not_in: [String!]
text_lt: String
text_lte: String
text_gt: String
text_gte: String
text_contains: String
text_not_contains: String
text_starts_with: String
text_not_starts_with: String
text_ends_with: String
text_not_ends_with: String
title: String
title_not: String
title_in: [String!]
title_not_in: [String!]
title_lt: String
title_lte: String
title_gt: String
title_gte: String
title_contains: String
title_not_contains: String
title_starts_with: String
title_not_starts_with: String
title_ends_with: String
title_not_ends_with: String
updatedAt: DateTime
updatedAt_not: DateTime
updatedAt_in: [DateTime!]
updatedAt_not_in: [DateTime!]
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
author: UserFilter
likedBy_every: UserFilter
likedBy_some: UserFilter
likedBy_none: UserFilter
metaInformation: MetaInformationFilter
}
type PostSubscriptionPayload {
mutation: _ModelMutationType!
node: Post
updatedFields: [String!]
previousValues: PostPreviousValues
}
type Query {
allFiles(
filter: FileFilter
orderBy: FileOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): [File!]!
allMetaInformations(
filter: MetaInformationFilter
orderBy: MetaInformationOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): [MetaInformation!]!
allPosts(
filter: PostFilter
orderBy: PostOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): [Post!]!
allUsers(
filter: UserFilter
orderBy: UserOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): [User!]!
_allFilesMeta(
filter: FileFilter
orderBy: FileOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): _QueryMeta!
_allMetaInformationsMeta(
filter: MetaInformationFilter
orderBy: MetaInformationOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): _QueryMeta!
_allPostsMeta(
filter: PostFilter
orderBy: PostOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): _QueryMeta!
_allUsersMeta(
filter: UserFilter
orderBy: UserOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): _QueryMeta!
File(id: ID, secret: String, url: String): File
MetaInformation(id: ID): MetaInformation
Post(id: ID, slug: String): Post
User(email: String, id: ID): User
user: User
node(id: ID!): Node
}
type RemoveFromAuthorPostsPayload {
authorUser: User
postsPost: Post
}
type RemoveFromLikedPostsPayload {
likedByUser: User
likedPostsPost: Post
}
type SetPostMetaInformationPayload {
postPost: Post
metaInformationMetaInformation: MetaInformation
}
type SigninPayload {
token: String
user: User
}
type Subscription {
File(filter: FileSubscriptionFilter): FileSubscriptionPayload
MetaInformation(
filter: MetaInformationSubscriptionFilter
): MetaInformationSubscriptionPayload
Post(filter: PostSubscriptionFilter): PostSubscriptionPayload
User(filter: UserSubscriptionFilter): UserSubscriptionPayload
}
type UnsetPostMetaInformationPayload {
postPost: Post
metaInformationMetaInformation: MetaInformation
}
input UpdateFile {
id: ID!
name: String
}
input UpdateMetaInformation {
id: ID!
tags: [META_INFORMATION_TAGS!]
postId: ID
post: MetaInformationpostPost
}
input UpdatePost {
id: ID!
published: Boolean
slug: String
text: String
title: String
authorId: ID
metaInformationId: ID
metaInformation: PostmetaInformationMetaInformation
likedByIds: [ID!]
}
input UpdateUser {
accessRole: USER_ACCESS_ROLE
id: ID!
name: String
likedPostsIds: [ID!]
likedPosts: [UserlikedPostsPost!]
postsIds: [ID!]
posts: [UserpostsPost!]
}
type User implements Node {
accessRole: USER_ACCESS_ROLE!
createdAt: DateTime
email: String
id: ID!
likedPosts(
filter: PostFilter
orderBy: PostOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): [Post!]
name: String!
password: String
posts(
filter: PostFilter
orderBy: PostOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): [Post!]
updatedAt: DateTime
_likedPostsMeta(
filter: PostFilter
orderBy: PostOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): _QueryMeta!
_postsMeta(
filter: PostFilter
orderBy: PostOrderBy
skip: Int
after: String
before: String
first: Int
last: Int
): _QueryMeta!
}
enum USER_ACCESS_ROLE {
ADMIN
USER
}
input UserFilter {
AND: [UserFilter!]
OR: [UserFilter!]
accessRole: USER_ACCESS_ROLE
accessRole_not: USER_ACCESS_ROLE
accessRole_in: [USER_ACCESS_ROLE!]
accessRole_not_in: [USER_ACCESS_ROLE!]
createdAt: DateTime
createdAt_not: DateTime
createdAt_in: [DateTime!]
createdAt_not_in: [DateTime!]
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
email: String
email_not: String
email_in: [String!]
email_not_in: [String!]
email_lt: String
email_lte: String
email_gt: String
email_gte: String
email_contains: String
email_not_contains: String
email_starts_with: String
email_not_starts_with: String
email_ends_with: String
email_not_ends_with: String
id: ID
id_not: ID
id_in: [ID!]
id_not_in: [ID!]
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_contains: ID
id_not_contains: ID
id_starts_with: ID
id_not_starts_with: ID
id_ends_with: ID
id_not_ends_with: ID
name: String
name_not: String
name_in: [String!]
name_not_in: [String!]
name_lt: String
name_lte: String
name_gt: String
name_gte: String
name_contains: String
name_not_contains: String
name_starts_with: String
name_not_starts_with: String
name_ends_with: String
name_not_ends_with: String
password: String
password_not: String
password_in: [String!]
password_not_in: [String!]
password_lt: String
password_lte: String
password_gt: String
password_gte: String
password_contains: String
password_not_contains: String
password_starts_with: String
password_not_starts_with: String
password_ends_with: String
password_not_ends_with: String
updatedAt: DateTime
updatedAt_not: DateTime
updatedAt_in: [DateTime!]
updatedAt_not_in: [DateTime!]
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
likedPosts_every: PostFilter
likedPosts_some: PostFilter
likedPosts_none: PostFilter
posts_every: PostFilter
posts_some: PostFilter
posts_none: PostFilter
}
input UserlikedPostsPost {
published: Boolean!
slug: String!
text: String!
title: String!
authorId: ID
metaInformationId: ID
metaInformation: PostmetaInformationMetaInformation
likedByIds: [ID!]
}
enum UserOrderBy {
accessRole_ASC
accessRole_DESC
createdAt_ASC
createdAt_DESC
email_ASC
email_DESC
id_ASC
id_DESC
name_ASC
name_DESC
password_ASC
password_DESC
updatedAt_ASC
updatedAt_DESC
}
input UserpostsPost {
published: Boolean!
slug: String!
text: String!
title: String!
metaInformationId: ID
metaInformation: PostmetaInformationMetaInformation
likedByIds: [ID!]
}
type UserPreviousValues {
accessRole: USER_ACCESS_ROLE!
createdAt: DateTime
email: String
id: ID!
name: String!
password: String
updatedAt: DateTime
}
input UserSubscriptionFilter {
AND: [UserSubscriptionFilter!]
OR: [UserSubscriptionFilter!]
mutation_in: [_ModelMutationType!]
updatedFields_contains: String
updatedFields_contains_every: [String!]
updatedFields_contains_some: [String!]
node: UserSubscriptionFilterNode
}
input UserSubscriptionFilterNode {
accessRole: USER_ACCESS_ROLE
accessRole_not: USER_ACCESS_ROLE
accessRole_in: [USER_ACCESS_ROLE!]
accessRole_not_in: [USER_ACCESS_ROLE!]
createdAt: DateTime
createdAt_not: DateTime
createdAt_in: [DateTime!]
createdAt_not_in: [DateTime!]
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
email: String
email_not: String
email_in: [String!]
email_not_in: [String!]
email_lt: String
email_lte: String
email_gt: String
email_gte: String
email_contains: String
email_not_contains: String
email_starts_with: String
email_not_starts_with: String
email_ends_with: String
email_not_ends_with: String
id: ID
id_not: ID
id_in: [ID!]
id_not_in: [ID!]
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_contains: ID
id_not_contains: ID
id_starts_with: ID
id_not_starts_with: ID
id_ends_with: ID
id_not_ends_with: ID
name: String
name_not: String
name_in: [String!]
name_not_in: [String!]
name_lt: String
name_lte: String
name_gt: String
name_gte: String
name_contains: String
name_not_contains: String
name_starts_with: String
name_not_starts_with: String
name_ends_with: String
name_not_ends_with: String
password: String
password_not: String
password_in: [String!]
password_not_in: [String!]
password_lt: String
password_lte: String
password_gt: String
password_gte: String
password_contains: String
password_not_contains: String
password_starts_with: String
password_not_starts_with: String
password_ends_with: String
password_not_ends_with: String
updatedAt: DateTime
updatedAt_not: DateTime
updatedAt_in: [DateTime!]
updatedAt_not_in: [DateTime!]
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
likedPosts_every: PostFilter
likedPosts_some: PostFilter
likedPosts_none: PostFilter
posts_every: PostFilter
posts_some: PostFilter
posts_none: PostFilter
}
type UserSubscriptionPayload {
mutation: _ModelMutationType!
node: User
updatedFields: [String!]
previousValues: UserPreviousValues
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment