This repository has been archived on 2023-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
ARCHIVED-learn/schema.graphql
2023-07-10 18:08:33 +02:00

243 lines
5.3 KiB
GraphQL

"""ISO8601 Date values"""
scalar Date
enum EventEnum {
create
delete
update
}
"""A Float or a String"""
scalar GraphQLStringOrFloat
"""Hashed string values"""
scalar Hash
"""
The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSON
type Mutation {
create_Projects_item(data: create_Projects_input!): Projects
create_Projects_items(data: [create_Projects_input!], filter: Projects_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [Projects!]!
delete_Projects_item(id: ID!): delete_one
delete_Projects_items(ids: [ID]!): delete_many
update_Projects_batch(data: [update_Projects_input!], filter: Projects_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [Projects!]!
update_Projects_item(data: update_Projects_input!, id: ID!): Projects
update_Projects_items(data: update_Projects_input!, filter: Projects_filter, ids: [ID]!, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [Projects!]!
}
type Projects {
date_created: Date
date_created_func: datetime_functions
date_updated: Date
date_updated_func: datetime_functions
favorite: Boolean
id: ID!
name: String
sort: Int
status: String
user_created: String
user_updated: String
}
type Projects_aggregated {
avg: Projects_aggregated_fields
avgDistinct: Projects_aggregated_fields
count: Projects_aggregated_count
countAll: Int
countDistinct: Projects_aggregated_count
group: JSON
max: Projects_aggregated_fields
min: Projects_aggregated_fields
sum: Projects_aggregated_fields
sumDistinct: Projects_aggregated_fields
}
type Projects_aggregated_count {
date_created: Int
date_updated: Int
favorite: Int
id: Int
name: Int
sort: Int
status: Int
user_created: Int
user_updated: Int
}
type Projects_aggregated_fields {
sort: Float
}
input Projects_filter {
_and: [Projects_filter]
_or: [Projects_filter]
date_created: date_filter_operators
date_created_func: datetime_function_filter_operators
date_updated: date_filter_operators
date_updated_func: datetime_function_filter_operators
favorite: boolean_filter_operators
id: string_filter_operators
name: string_filter_operators
sort: number_filter_operators
status: string_filter_operators
user_created: string_filter_operators
user_updated: string_filter_operators
}
type Projects_mutated {
data: Projects
event: EventEnum
key: ID!
}
type Query {
Projects(filter: Projects_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [Projects!]!
Projects_aggregated(filter: Projects_filter, groupBy: [String], limit: Int, offset: Int, page: Int, search: String, sort: [String]): [Projects_aggregated!]!
Projects_by_id(id: ID!): Projects
}
type Subscription {
Projects_mutated(event: EventEnum): Projects_mutated
}
input boolean_filter_operators {
_eq: Boolean
_neq: Boolean
_nnull: Boolean
_null: Boolean
}
input create_Projects_input {
date_created: Date
date_updated: Date
favorite: Boolean
id: ID
name: String
sort: Int
status: String
user_created: create_directus_users_input
user_updated: create_directus_users_input
}
input create_directus_users_input {
auth_data: JSON
avatar: String
description: String
email: String
email_notifications: Boolean
external_identifier: String
first_name: String
id: ID
language: String
last_access: Date
last_name: String
last_page: String
location: String
password: Hash
provider: String
role: String
status: String
tags: JSON
tfa_secret: Hash
theme: String
title: String
token: Hash
}
input date_filter_operators {
_between: [GraphQLStringOrFloat]
_eq: String
_gt: String
_gte: String
_in: [String]
_lt: String
_lte: String
_nbetween: [GraphQLStringOrFloat]
_neq: String
_nin: [String]
_nnull: Boolean
_null: Boolean
}
input datetime_function_filter_operators {
day: number_filter_operators
hour: number_filter_operators
minute: number_filter_operators
month: number_filter_operators
second: number_filter_operators
week: number_filter_operators
weekday: number_filter_operators
year: number_filter_operators
}
type datetime_functions {
day: Int
hour: Int
minute: Int
month: Int
second: Int
week: Int
weekday: Int
year: Int
}
type delete_many {
ids: [ID]!
}
type delete_one {
id: ID!
}
input number_filter_operators {
_between: [GraphQLStringOrFloat]
_eq: GraphQLStringOrFloat
_gt: GraphQLStringOrFloat
_gte: GraphQLStringOrFloat
_in: [GraphQLStringOrFloat]
_lt: GraphQLStringOrFloat
_lte: GraphQLStringOrFloat
_nbetween: [GraphQLStringOrFloat]
_neq: GraphQLStringOrFloat
_nin: [GraphQLStringOrFloat]
_nnull: Boolean
_null: Boolean
}
input string_filter_operators {
_contains: String
_empty: Boolean
_ends_with: String
_eq: String
_icontains: String
_iends_with: String
_in: [String]
_istarts_with: String
_ncontains: String
_nempty: Boolean
_nends_with: String
_neq: String
_niends_with: String
_nin: [String]
_nistarts_with: String
_nnull: Boolean
_nstarts_with: String
_null: Boolean
_starts_with: String
}
input update_Projects_input {
date_created: Date
date_updated: Date
favorite: Boolean
id: ID
name: String
sort: Int
status: String
user_created: String
user_updated: String
}