re added basic directus auth again
This commit is contained in:
parent
c2f71d2efc
commit
304644c21f
@ -10,6 +10,9 @@ enum EventEnum {
|
|||||||
"""A Float or a String"""
|
"""A Float or a String"""
|
||||||
scalar GraphQLStringOrFloat
|
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).
|
The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
|
||||||
"""
|
"""
|
||||||
@ -115,8 +118,33 @@ input create_Projects_input {
|
|||||||
name: String
|
name: String
|
||||||
sort: Int
|
sort: Int
|
||||||
status: String
|
status: String
|
||||||
user_created: String
|
user_created: create_directus_users_input
|
||||||
user_updated: String
|
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 {
|
input date_filter_operators {
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
const object = {
|
const object = {
|
||||||
email: user.email,
|
email: user.email,
|
||||||
password: pashedPassword,
|
password: pashedPassword,
|
||||||
role: 'b0f4301f-a315-4b95-8352-9016a8f95f2d'
|
role: '85594199-77a1-42ec-9fce-c4465c4fb4a5'
|
||||||
};
|
};
|
||||||
|
|
||||||
const responseCreate = await fetch('https://data.andert.me/users', {
|
const responseCreate = await fetch('https://data.andert.me/users', {
|
||||||
|
Reference in New Issue
Block a user