1 Star 0 Fork 0

uniwatch/payload

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
schema.graphql 34.15 KB
一键复制 编辑 原始数据 按行查看 历史
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706
type Query {
Post(id: String!, draft: Boolean): Post
Posts(where: Post_where, draft: Boolean, page: Int, limit: Int, sort: String): Posts
docAccessPost(id: String!): postsDocAccess
Media(id: String!, draft: Boolean): Media
allMedia(where: Media_where, draft: Boolean, page: Int, limit: Int, sort: String): allMedia
docAccessMedia(id: String!): mediaDocAccess
User(id: String!, draft: Boolean): User
Users(where: User_where, draft: Boolean, page: Int, limit: Int, sort: String): Users
docAccessUser(id: String!): usersDocAccess
meUser: usersMe
initializedUser: Boolean
Menu(draft: Boolean): Menu
docAccessMenu: menuDocAccess
Preference(key: String): Preference
Access: Access
}
type Post {
id: String
text: String
associatedMedia(where: Post_AssociatedMedia_where): Media
updatedAt: DateTime
createdAt: DateTime
}
type Media {
id: String
updatedAt: DateTime
createdAt: DateTime
url: String
filename: String
mimeType: String
filesize: Float
width: Float
height: Float
}
"""
A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
"""
scalar DateTime
input Post_AssociatedMedia_where {
updatedAt: Post_AssociatedMedia_updatedAt_operator
createdAt: Post_AssociatedMedia_createdAt_operator
url: Post_AssociatedMedia_url_operator
filename: Post_AssociatedMedia_filename_operator
mimeType: Post_AssociatedMedia_mimeType_operator
filesize: Post_AssociatedMedia_filesize_operator
width: Post_AssociatedMedia_width_operator
height: Post_AssociatedMedia_height_operator
id: Post_AssociatedMedia_id_operator
OR: [Post_AssociatedMedia_where_or]
AND: [Post_AssociatedMedia_where_and]
}
input Post_AssociatedMedia_updatedAt_operator {
equals: DateTime
not_equals: DateTime
greater_than_equal: DateTime
greater_than: DateTime
less_than_equal: DateTime
less_than: DateTime
like: DateTime
exists: Boolean
}
input Post_AssociatedMedia_createdAt_operator {
equals: DateTime
not_equals: DateTime
greater_than_equal: DateTime
greater_than: DateTime
less_than_equal: DateTime
less_than: DateTime
like: DateTime
exists: Boolean
}
input Post_AssociatedMedia_url_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Post_AssociatedMedia_filename_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Post_AssociatedMedia_mimeType_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Post_AssociatedMedia_filesize_operator {
equals: Float
not_equals: Float
greater_than_equal: Float
greater_than: Float
less_than_equal: Float
less_than: Float
exists: Boolean
}
input Post_AssociatedMedia_width_operator {
equals: Float
not_equals: Float
greater_than_equal: Float
greater_than: Float
less_than_equal: Float
less_than: Float
exists: Boolean
}
input Post_AssociatedMedia_height_operator {
equals: Float
not_equals: Float
greater_than_equal: Float
greater_than: Float
less_than_equal: Float
less_than: Float
exists: Boolean
}
input Post_AssociatedMedia_id_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Post_AssociatedMedia_where_or {
updatedAt: Post_AssociatedMedia_updatedAt_operator
createdAt: Post_AssociatedMedia_createdAt_operator
url: Post_AssociatedMedia_url_operator
filename: Post_AssociatedMedia_filename_operator
mimeType: Post_AssociatedMedia_mimeType_operator
filesize: Post_AssociatedMedia_filesize_operator
width: Post_AssociatedMedia_width_operator
height: Post_AssociatedMedia_height_operator
id: Post_AssociatedMedia_id_operator
}
input Post_AssociatedMedia_where_and {
updatedAt: Post_AssociatedMedia_updatedAt_operator
createdAt: Post_AssociatedMedia_createdAt_operator
url: Post_AssociatedMedia_url_operator
filename: Post_AssociatedMedia_filename_operator
mimeType: Post_AssociatedMedia_mimeType_operator
filesize: Post_AssociatedMedia_filesize_operator
width: Post_AssociatedMedia_width_operator
height: Post_AssociatedMedia_height_operator
id: Post_AssociatedMedia_id_operator
}
type Posts {
docs: [Post]
totalDocs: Int
offset: Int
limit: Int
totalPages: Int
page: Int
pagingCounter: Int
hasPrevPage: Boolean
hasNextPage: Boolean
prevPage: Int
nextPage: Int
}
input Post_where {
text: Post_text_operator
associatedMedia: Post_associatedMedia_operator
updatedAt: Post_updatedAt_operator
createdAt: Post_createdAt_operator
id: Post_id_operator
OR: [Post_where_or]
AND: [Post_where_and]
}
input Post_text_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Post_associatedMedia_operator {
equals: String
not_equals: String
exists: Boolean
}
input Post_updatedAt_operator {
equals: DateTime
not_equals: DateTime
greater_than_equal: DateTime
greater_than: DateTime
less_than_equal: DateTime
less_than: DateTime
like: DateTime
exists: Boolean
}
input Post_createdAt_operator {
equals: DateTime
not_equals: DateTime
greater_than_equal: DateTime
greater_than: DateTime
less_than_equal: DateTime
less_than: DateTime
like: DateTime
exists: Boolean
}
input Post_id_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Post_where_or {
text: Post_text_operator
associatedMedia: Post_associatedMedia_operator
updatedAt: Post_updatedAt_operator
createdAt: Post_createdAt_operator
id: Post_id_operator
}
input Post_where_and {
text: Post_text_operator
associatedMedia: Post_associatedMedia_operator
updatedAt: Post_updatedAt_operator
createdAt: Post_createdAt_operator
id: Post_id_operator
}
type postsDocAccess {
fields: PostsDocAccessFields
create: PostsCreateDocAccess
read: PostsReadDocAccess
update: PostsUpdateDocAccess
delete: PostsDeleteDocAccess
}
type PostsDocAccessFields {
text: PostsDocAccessFields_text
associatedMedia: PostsDocAccessFields_associatedMedia
updatedAt: PostsDocAccessFields_updatedAt
createdAt: PostsDocAccessFields_createdAt
}
type PostsDocAccessFields_text {
create: PostsDocAccessFields_text_Create
read: PostsDocAccessFields_text_Read
update: PostsDocAccessFields_text_Update
delete: PostsDocAccessFields_text_Delete
}
type PostsDocAccessFields_text_Create {
permission: Boolean!
}
type PostsDocAccessFields_text_Read {
permission: Boolean!
}
type PostsDocAccessFields_text_Update {
permission: Boolean!
}
type PostsDocAccessFields_text_Delete {
permission: Boolean!
}
type PostsDocAccessFields_associatedMedia {
create: PostsDocAccessFields_associatedMedia_Create
read: PostsDocAccessFields_associatedMedia_Read
update: PostsDocAccessFields_associatedMedia_Update
delete: PostsDocAccessFields_associatedMedia_Delete
}
type PostsDocAccessFields_associatedMedia_Create {
permission: Boolean!
}
type PostsDocAccessFields_associatedMedia_Read {
permission: Boolean!
}
type PostsDocAccessFields_associatedMedia_Update {
permission: Boolean!
}
type PostsDocAccessFields_associatedMedia_Delete {
permission: Boolean!
}
type PostsDocAccessFields_updatedAt {
create: PostsDocAccessFields_updatedAt_Create
read: PostsDocAccessFields_updatedAt_Read
update: PostsDocAccessFields_updatedAt_Update
delete: PostsDocAccessFields_updatedAt_Delete
}
type PostsDocAccessFields_updatedAt_Create {
permission: Boolean!
}
type PostsDocAccessFields_updatedAt_Read {
permission: Boolean!
}
type PostsDocAccessFields_updatedAt_Update {
permission: Boolean!
}
type PostsDocAccessFields_updatedAt_Delete {
permission: Boolean!
}
type PostsDocAccessFields_createdAt {
create: PostsDocAccessFields_createdAt_Create
read: PostsDocAccessFields_createdAt_Read
update: PostsDocAccessFields_createdAt_Update
delete: PostsDocAccessFields_createdAt_Delete
}
type PostsDocAccessFields_createdAt_Create {
permission: Boolean!
}
type PostsDocAccessFields_createdAt_Read {
permission: Boolean!
}
type PostsDocAccessFields_createdAt_Update {
permission: Boolean!
}
type PostsDocAccessFields_createdAt_Delete {
permission: Boolean!
}
type PostsCreateDocAccess {
permission: Boolean!
where: JSONObject
}
"""
The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSONObject
type PostsReadDocAccess {
permission: Boolean!
where: JSONObject
}
type PostsUpdateDocAccess {
permission: Boolean!
where: JSONObject
}
type PostsDeleteDocAccess {
permission: Boolean!
where: JSONObject
}
type allMedia {
docs: [Media]
totalDocs: Int
offset: Int
limit: Int
totalPages: Int
page: Int
pagingCounter: Int
hasPrevPage: Boolean
hasNextPage: Boolean
prevPage: Int
nextPage: Int
}
input Media_where {
updatedAt: Media_updatedAt_operator
createdAt: Media_createdAt_operator
url: Media_url_operator
filename: Media_filename_operator
mimeType: Media_mimeType_operator
filesize: Media_filesize_operator
width: Media_width_operator
height: Media_height_operator
id: Media_id_operator
OR: [Media_where_or]
AND: [Media_where_and]
}
input Media_updatedAt_operator {
equals: DateTime
not_equals: DateTime
greater_than_equal: DateTime
greater_than: DateTime
less_than_equal: DateTime
less_than: DateTime
like: DateTime
exists: Boolean
}
input Media_createdAt_operator {
equals: DateTime
not_equals: DateTime
greater_than_equal: DateTime
greater_than: DateTime
less_than_equal: DateTime
less_than: DateTime
like: DateTime
exists: Boolean
}
input Media_url_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Media_filename_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Media_mimeType_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Media_filesize_operator {
equals: Float
not_equals: Float
greater_than_equal: Float
greater_than: Float
less_than_equal: Float
less_than: Float
exists: Boolean
}
input Media_width_operator {
equals: Float
not_equals: Float
greater_than_equal: Float
greater_than: Float
less_than_equal: Float
less_than: Float
exists: Boolean
}
input Media_height_operator {
equals: Float
not_equals: Float
greater_than_equal: Float
greater_than: Float
less_than_equal: Float
less_than: Float
exists: Boolean
}
input Media_id_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input Media_where_or {
updatedAt: Media_updatedAt_operator
createdAt: Media_createdAt_operator
url: Media_url_operator
filename: Media_filename_operator
mimeType: Media_mimeType_operator
filesize: Media_filesize_operator
width: Media_width_operator
height: Media_height_operator
id: Media_id_operator
}
input Media_where_and {
updatedAt: Media_updatedAt_operator
createdAt: Media_createdAt_operator
url: Media_url_operator
filename: Media_filename_operator
mimeType: Media_mimeType_operator
filesize: Media_filesize_operator
width: Media_width_operator
height: Media_height_operator
id: Media_id_operator
}
type mediaDocAccess {
fields: MediaDocAccessFields
create: MediaCreateDocAccess
read: MediaReadDocAccess
update: MediaUpdateDocAccess
delete: MediaDeleteDocAccess
}
type MediaDocAccessFields {
updatedAt: MediaDocAccessFields_updatedAt
createdAt: MediaDocAccessFields_createdAt
url: MediaDocAccessFields_url
filename: MediaDocAccessFields_filename
mimeType: MediaDocAccessFields_mimeType
filesize: MediaDocAccessFields_filesize
width: MediaDocAccessFields_width
height: MediaDocAccessFields_height
}
type MediaDocAccessFields_updatedAt {
create: MediaDocAccessFields_updatedAt_Create
read: MediaDocAccessFields_updatedAt_Read
update: MediaDocAccessFields_updatedAt_Update
delete: MediaDocAccessFields_updatedAt_Delete
}
type MediaDocAccessFields_updatedAt_Create {
permission: Boolean!
}
type MediaDocAccessFields_updatedAt_Read {
permission: Boolean!
}
type MediaDocAccessFields_updatedAt_Update {
permission: Boolean!
}
type MediaDocAccessFields_updatedAt_Delete {
permission: Boolean!
}
type MediaDocAccessFields_createdAt {
create: MediaDocAccessFields_createdAt_Create
read: MediaDocAccessFields_createdAt_Read
update: MediaDocAccessFields_createdAt_Update
delete: MediaDocAccessFields_createdAt_Delete
}
type MediaDocAccessFields_createdAt_Create {
permission: Boolean!
}
type MediaDocAccessFields_createdAt_Read {
permission: Boolean!
}
type MediaDocAccessFields_createdAt_Update {
permission: Boolean!
}
type MediaDocAccessFields_createdAt_Delete {
permission: Boolean!
}
type MediaDocAccessFields_url {
create: MediaDocAccessFields_url_Create
read: MediaDocAccessFields_url_Read
update: MediaDocAccessFields_url_Update
delete: MediaDocAccessFields_url_Delete
}
type MediaDocAccessFields_url_Create {
permission: Boolean!
}
type MediaDocAccessFields_url_Read {
permission: Boolean!
}
type MediaDocAccessFields_url_Update {
permission: Boolean!
}
type MediaDocAccessFields_url_Delete {
permission: Boolean!
}
type MediaDocAccessFields_filename {
create: MediaDocAccessFields_filename_Create
read: MediaDocAccessFields_filename_Read
update: MediaDocAccessFields_filename_Update
delete: MediaDocAccessFields_filename_Delete
}
type MediaDocAccessFields_filename_Create {
permission: Boolean!
}
type MediaDocAccessFields_filename_Read {
permission: Boolean!
}
type MediaDocAccessFields_filename_Update {
permission: Boolean!
}
type MediaDocAccessFields_filename_Delete {
permission: Boolean!
}
type MediaDocAccessFields_mimeType {
create: MediaDocAccessFields_mimeType_Create
read: MediaDocAccessFields_mimeType_Read
update: MediaDocAccessFields_mimeType_Update
delete: MediaDocAccessFields_mimeType_Delete
}
type MediaDocAccessFields_mimeType_Create {
permission: Boolean!
}
type MediaDocAccessFields_mimeType_Read {
permission: Boolean!
}
type MediaDocAccessFields_mimeType_Update {
permission: Boolean!
}
type MediaDocAccessFields_mimeType_Delete {
permission: Boolean!
}
type MediaDocAccessFields_filesize {
create: MediaDocAccessFields_filesize_Create
read: MediaDocAccessFields_filesize_Read
update: MediaDocAccessFields_filesize_Update
delete: MediaDocAccessFields_filesize_Delete
}
type MediaDocAccessFields_filesize_Create {
permission: Boolean!
}
type MediaDocAccessFields_filesize_Read {
permission: Boolean!
}
type MediaDocAccessFields_filesize_Update {
permission: Boolean!
}
type MediaDocAccessFields_filesize_Delete {
permission: Boolean!
}
type MediaDocAccessFields_width {
create: MediaDocAccessFields_width_Create
read: MediaDocAccessFields_width_Read
update: MediaDocAccessFields_width_Update
delete: MediaDocAccessFields_width_Delete
}
type MediaDocAccessFields_width_Create {
permission: Boolean!
}
type MediaDocAccessFields_width_Read {
permission: Boolean!
}
type MediaDocAccessFields_width_Update {
permission: Boolean!
}
type MediaDocAccessFields_width_Delete {
permission: Boolean!
}
type MediaDocAccessFields_height {
create: MediaDocAccessFields_height_Create
read: MediaDocAccessFields_height_Read
update: MediaDocAccessFields_height_Update
delete: MediaDocAccessFields_height_Delete
}
type MediaDocAccessFields_height_Create {
permission: Boolean!
}
type MediaDocAccessFields_height_Read {
permission: Boolean!
}
type MediaDocAccessFields_height_Update {
permission: Boolean!
}
type MediaDocAccessFields_height_Delete {
permission: Boolean!
}
type MediaCreateDocAccess {
permission: Boolean!
where: JSONObject
}
type MediaReadDocAccess {
permission: Boolean!
where: JSONObject
}
type MediaUpdateDocAccess {
permission: Boolean!
where: JSONObject
}
type MediaDeleteDocAccess {
permission: Boolean!
where: JSONObject
}
type User {
id: String
updatedAt: DateTime
createdAt: DateTime
email: EmailAddress
resetPasswordToken: String
resetPasswordExpiration: DateTime
loginAttempts: Float
lockUntil: DateTime
password: String!
}
"""
A field whose value conforms to the standard internet email address format as specified in HTML Spec: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address.
"""
scalar EmailAddress @specifiedBy(url: "https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address")
type Users {
docs: [User]
totalDocs: Int
offset: Int
limit: Int
totalPages: Int
page: Int
pagingCounter: Int
hasPrevPage: Boolean
hasNextPage: Boolean
prevPage: Int
nextPage: Int
}
input User_where {
updatedAt: User_updatedAt_operator
createdAt: User_createdAt_operator
email: User_email_operator
id: User_id_operator
OR: [User_where_or]
AND: [User_where_and]
}
input User_updatedAt_operator {
equals: DateTime
not_equals: DateTime
greater_than_equal: DateTime
greater_than: DateTime
less_than_equal: DateTime
less_than: DateTime
like: DateTime
exists: Boolean
}
input User_createdAt_operator {
equals: DateTime
not_equals: DateTime
greater_than_equal: DateTime
greater_than: DateTime
less_than_equal: DateTime
less_than: DateTime
like: DateTime
exists: Boolean
}
input User_email_operator {
equals: EmailAddress
not_equals: EmailAddress
like: EmailAddress
contains: EmailAddress
in: [EmailAddress]
not_in: [[EmailAddress]]
all: [[[EmailAddress]]]
exists: Boolean
}
input User_id_operator {
equals: String
not_equals: String
like: String
contains: String
in: [String]
not_in: [[String]]
all: [[[String]]]
exists: Boolean
}
input User_where_or {
updatedAt: User_updatedAt_operator
createdAt: User_createdAt_operator
email: User_email_operator
id: User_id_operator
}
input User_where_and {
updatedAt: User_updatedAt_operator
createdAt: User_createdAt_operator
email: User_email_operator
id: User_id_operator
}
type usersDocAccess {
fields: UsersDocAccessFields
create: UsersCreateDocAccess
read: UsersReadDocAccess
update: UsersUpdateDocAccess
delete: UsersDeleteDocAccess
unlock: UsersUnlockDocAccess
}
type UsersDocAccessFields {
updatedAt: UsersDocAccessFields_updatedAt
createdAt: UsersDocAccessFields_createdAt
email: UsersDocAccessFields_email
password: UsersDocAccessFields_password
}
type UsersDocAccessFields_updatedAt {
create: UsersDocAccessFields_updatedAt_Create
read: UsersDocAccessFields_updatedAt_Read
update: UsersDocAccessFields_updatedAt_Update
delete: UsersDocAccessFields_updatedAt_Delete
}
type UsersDocAccessFields_updatedAt_Create {
permission: Boolean!
}
type UsersDocAccessFields_updatedAt_Read {
permission: Boolean!
}
type UsersDocAccessFields_updatedAt_Update {
permission: Boolean!
}
type UsersDocAccessFields_updatedAt_Delete {
permission: Boolean!
}
type UsersDocAccessFields_createdAt {
create: UsersDocAccessFields_createdAt_Create
read: UsersDocAccessFields_createdAt_Read
update: UsersDocAccessFields_createdAt_Update
delete: UsersDocAccessFields_createdAt_Delete
}
type UsersDocAccessFields_createdAt_Create {
permission: Boolean!
}
type UsersDocAccessFields_createdAt_Read {
permission: Boolean!
}
type UsersDocAccessFields_createdAt_Update {
permission: Boolean!
}
type UsersDocAccessFields_createdAt_Delete {
permission: Boolean!
}
type UsersDocAccessFields_email {
create: UsersDocAccessFields_email_Create
read: UsersDocAccessFields_email_Read
update: UsersDocAccessFields_email_Update
delete: UsersDocAccessFields_email_Delete
}
type UsersDocAccessFields_email_Create {
permission: Boolean!
}
type UsersDocAccessFields_email_Read {
permission: Boolean!
}
type UsersDocAccessFields_email_Update {
permission: Boolean!
}
type UsersDocAccessFields_email_Delete {
permission: Boolean!
}
type UsersDocAccessFields_password {
create: UsersDocAccessFields_password_Create
read: UsersDocAccessFields_password_Read
update: UsersDocAccessFields_password_Update
delete: UsersDocAccessFields_password_Delete
}
type UsersDocAccessFields_password_Create {
permission: Boolean!
}
type UsersDocAccessFields_password_Read {
permission: Boolean!
}
type UsersDocAccessFields_password_Update {
permission: Boolean!
}
type UsersDocAccessFields_password_Delete {
permission: Boolean!
}
type UsersCreateDocAccess {
permission: Boolean!
where: JSONObject
}
type UsersReadDocAccess {
permission: Boolean!
where: JSONObject
}
type UsersUpdateDocAccess {
permission: Boolean!
where: JSONObject
}
type UsersDeleteDocAccess {
permission: Boolean!
where: JSONObject
}
type UsersUnlockDocAccess {
permission: Boolean!
where: JSONObject
}
type usersMe {
token: String
user: User
exp: Int
collection: String
}
type Menu {
globalText: String
}
type menuDocAccess {
fields: MenuDocAccessFields
read: MenuReadDocAccess
update: MenuUpdateDocAccess
}
type MenuDocAccessFields {
globalText: MenuDocAccessFields_globalText
}
type MenuDocAccessFields_globalText {
create: MenuDocAccessFields_globalText_Create
read: MenuDocAccessFields_globalText_Read
update: MenuDocAccessFields_globalText_Update
delete: MenuDocAccessFields_globalText_Delete
}
type MenuDocAccessFields_globalText_Create {
permission: Boolean!
}
type MenuDocAccessFields_globalText_Read {
permission: Boolean!
}
type MenuDocAccessFields_globalText_Update {
permission: Boolean!
}
type MenuDocAccessFields_globalText_Delete {
permission: Boolean!
}
type MenuReadDocAccess {
permission: Boolean!
where: JSONObject
}
type MenuUpdateDocAccess {
permission: Boolean!
where: JSONObject
}
type Preference {
key: String!
value: JSON
createdAt: DateTime!
updatedAt: DateTime!
}
"""
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 Access {
canAccessAdmin: Boolean!
posts: postsAccess
media: mediaAccess
users: usersAccess
menu: menuAccess
}
type postsAccess {
fields: PostsFields
create: PostsCreateAccess
read: PostsReadAccess
update: PostsUpdateAccess
delete: PostsDeleteAccess
}
type PostsFields {
text: PostsFields_text
associatedMedia: PostsFields_associatedMedia
updatedAt: PostsFields_updatedAt
createdAt: PostsFields_createdAt
}
type PostsFields_text {
create: PostsFields_text_Create
read: PostsFields_text_Read
update: PostsFields_text_Update
delete: PostsFields_text_Delete
}
type PostsFields_text_Create {
permission: Boolean!
}
type PostsFields_text_Read {
permission: Boolean!
}
type PostsFields_text_Update {
permission: Boolean!
}
type PostsFields_text_Delete {
permission: Boolean!
}
type PostsFields_associatedMedia {
create: PostsFields_associatedMedia_Create
read: PostsFields_associatedMedia_Read
update: PostsFields_associatedMedia_Update
delete: PostsFields_associatedMedia_Delete
}
type PostsFields_associatedMedia_Create {
permission: Boolean!
}
type PostsFields_associatedMedia_Read {
permission: Boolean!
}
type PostsFields_associatedMedia_Update {
permission: Boolean!
}
type PostsFields_associatedMedia_Delete {
permission: Boolean!
}
type PostsFields_updatedAt {
create: PostsFields_updatedAt_Create
read: PostsFields_updatedAt_Read
update: PostsFields_updatedAt_Update
delete: PostsFields_updatedAt_Delete
}
type PostsFields_updatedAt_Create {
permission: Boolean!
}
type PostsFields_updatedAt_Read {
permission: Boolean!
}
type PostsFields_updatedAt_Update {
permission: Boolean!
}
type PostsFields_updatedAt_Delete {
permission: Boolean!
}
type PostsFields_createdAt {
create: PostsFields_createdAt_Create
read: PostsFields_createdAt_Read
update: PostsFields_createdAt_Update
delete: PostsFields_createdAt_Delete
}
type PostsFields_createdAt_Create {
permission: Boolean!
}
type PostsFields_createdAt_Read {
permission: Boolean!
}
type PostsFields_createdAt_Update {
permission: Boolean!
}
type PostsFields_createdAt_Delete {
permission: Boolean!
}
type PostsCreateAccess {
permission: Boolean!
where: JSONObject
}
type PostsReadAccess {
permission: Boolean!
where: JSONObject
}
type PostsUpdateAccess {
permission: Boolean!
where: JSONObject
}
type PostsDeleteAccess {
permission: Boolean!
where: JSONObject
}
type mediaAccess {
fields: MediaFields
create: MediaCreateAccess
read: MediaReadAccess
update: MediaUpdateAccess
delete: MediaDeleteAccess
}
type MediaFields {
updatedAt: MediaFields_updatedAt
createdAt: MediaFields_createdAt
url: MediaFields_url
filename: MediaFields_filename
mimeType: MediaFields_mimeType
filesize: MediaFields_filesize
width: MediaFields_width
height: MediaFields_height
}
type MediaFields_updatedAt {
create: MediaFields_updatedAt_Create
read: MediaFields_updatedAt_Read
update: MediaFields_updatedAt_Update
delete: MediaFields_updatedAt_Delete
}
type MediaFields_updatedAt_Create {
permission: Boolean!
}
type MediaFields_updatedAt_Read {
permission: Boolean!
}
type MediaFields_updatedAt_Update {
permission: Boolean!
}
type MediaFields_updatedAt_Delete {
permission: Boolean!
}
type MediaFields_createdAt {
create: MediaFields_createdAt_Create
read: MediaFields_createdAt_Read
update: MediaFields_createdAt_Update
delete: MediaFields_createdAt_Delete
}
type MediaFields_createdAt_Create {
permission: Boolean!
}
type MediaFields_createdAt_Read {
permission: Boolean!
}
type MediaFields_createdAt_Update {
permission: Boolean!
}
type MediaFields_createdAt_Delete {
permission: Boolean!
}
type MediaFields_url {
create: MediaFields_url_Create
read: MediaFields_url_Read
update: MediaFields_url_Update
delete: MediaFields_url_Delete
}
type MediaFields_url_Create {
permission: Boolean!
}
type MediaFields_url_Read {
permission: Boolean!
}
type MediaFields_url_Update {
permission: Boolean!
}
type MediaFields_url_Delete {
permission: Boolean!
}
type MediaFields_filename {
create: MediaFields_filename_Create
read: MediaFields_filename_Read
update: MediaFields_filename_Update
delete: MediaFields_filename_Delete
}
type MediaFields_filename_Create {
permission: Boolean!
}
type MediaFields_filename_Read {
permission: Boolean!
}
type MediaFields_filename_Update {
permission: Boolean!
}
type MediaFields_filename_Delete {
permission: Boolean!
}
type MediaFields_mimeType {
create: MediaFields_mimeType_Create
read: MediaFields_mimeType_Read
update: MediaFields_mimeType_Update
delete: MediaFields_mimeType_Delete
}
type MediaFields_mimeType_Create {
permission: Boolean!
}
type MediaFields_mimeType_Read {
permission: Boolean!
}
type MediaFields_mimeType_Update {
permission: Boolean!
}
type MediaFields_mimeType_Delete {
permission: Boolean!
}
type MediaFields_filesize {
create: MediaFields_filesize_Create
read: MediaFields_filesize_Read
update: MediaFields_filesize_Update
delete: MediaFields_filesize_Delete
}
type MediaFields_filesize_Create {
permission: Boolean!
}
type MediaFields_filesize_Read {
permission: Boolean!
}
type MediaFields_filesize_Update {
permission: Boolean!
}
type MediaFields_filesize_Delete {
permission: Boolean!
}
type MediaFields_width {
create: MediaFields_width_Create
read: MediaFields_width_Read
update: MediaFields_width_Update
delete: MediaFields_width_Delete
}
type MediaFields_width_Create {
permission: Boolean!
}
type MediaFields_width_Read {
permission: Boolean!
}
type MediaFields_width_Update {
permission: Boolean!
}
type MediaFields_width_Delete {
permission: Boolean!
}
type MediaFields_height {
create: MediaFields_height_Create
read: MediaFields_height_Read
update: MediaFields_height_Update
delete: MediaFields_height_Delete
}
type MediaFields_height_Create {
permission: Boolean!
}
type MediaFields_height_Read {
permission: Boolean!
}
type MediaFields_height_Update {
permission: Boolean!
}
type MediaFields_height_Delete {
permission: Boolean!
}
type MediaCreateAccess {
permission: Boolean!
where: JSONObject
}
type MediaReadAccess {
permission: Boolean!
where: JSONObject
}
type MediaUpdateAccess {
permission: Boolean!
where: JSONObject
}
type MediaDeleteAccess {
permission: Boolean!
where: JSONObject
}
type usersAccess {
fields: UsersFields
create: UsersCreateAccess
read: UsersReadAccess
update: UsersUpdateAccess
delete: UsersDeleteAccess
unlock: UsersUnlockAccess
}
type UsersFields {
updatedAt: UsersFields_updatedAt
createdAt: UsersFields_createdAt
email: UsersFields_email
password: UsersFields_password
}
type UsersFields_updatedAt {
create: UsersFields_updatedAt_Create
read: UsersFields_updatedAt_Read
update: UsersFields_updatedAt_Update
delete: UsersFields_updatedAt_Delete
}
type UsersFields_updatedAt_Create {
permission: Boolean!
}
type UsersFields_updatedAt_Read {
permission: Boolean!
}
type UsersFields_updatedAt_Update {
permission: Boolean!
}
type UsersFields_updatedAt_Delete {
permission: Boolean!
}
type UsersFields_createdAt {
create: UsersFields_createdAt_Create
read: UsersFields_createdAt_Read
update: UsersFields_createdAt_Update
delete: UsersFields_createdAt_Delete
}
type UsersFields_createdAt_Create {
permission: Boolean!
}
type UsersFields_createdAt_Read {
permission: Boolean!
}
type UsersFields_createdAt_Update {
permission: Boolean!
}
type UsersFields_createdAt_Delete {
permission: Boolean!
}
type UsersFields_email {
create: UsersFields_email_Create
read: UsersFields_email_Read
update: UsersFields_email_Update
delete: UsersFields_email_Delete
}
type UsersFields_email_Create {
permission: Boolean!
}
type UsersFields_email_Read {
permission: Boolean!
}
type UsersFields_email_Update {
permission: Boolean!
}
type UsersFields_email_Delete {
permission: Boolean!
}
type UsersFields_password {
create: UsersFields_password_Create
read: UsersFields_password_Read
update: UsersFields_password_Update
delete: UsersFields_password_Delete
}
type UsersFields_password_Create {
permission: Boolean!
}
type UsersFields_password_Read {
permission: Boolean!
}
type UsersFields_password_Update {
permission: Boolean!
}
type UsersFields_password_Delete {
permission: Boolean!
}
type UsersCreateAccess {
permission: Boolean!
where: JSONObject
}
type UsersReadAccess {
permission: Boolean!
where: JSONObject
}
type UsersUpdateAccess {
permission: Boolean!
where: JSONObject
}
type UsersDeleteAccess {
permission: Boolean!
where: JSONObject
}
type UsersUnlockAccess {
permission: Boolean!
where: JSONObject
}
type menuAccess {
fields: MenuFields
read: MenuReadAccess
update: MenuUpdateAccess
}
type MenuFields {
globalText: MenuFields_globalText
}
type MenuFields_globalText {
create: MenuFields_globalText_Create
read: MenuFields_globalText_Read
update: MenuFields_globalText_Update
delete: MenuFields_globalText_Delete
}
type MenuFields_globalText_Create {
permission: Boolean!
}
type MenuFields_globalText_Read {
permission: Boolean!
}
type MenuFields_globalText_Update {
permission: Boolean!
}
type MenuFields_globalText_Delete {
permission: Boolean!
}
type MenuReadAccess {
permission: Boolean!
where: JSONObject
}
type MenuUpdateAccess {
permission: Boolean!
where: JSONObject
}
type Mutation {
createPost(data: mutationPostInput!, draft: Boolean): Post
updatePost(id: String!, data: mutationPostUpdateInput!, draft: Boolean, autosave: Boolean): Post
deletePost(id: String!): Post
createMedia(data: mutationMediaInput!, draft: Boolean): Media
updateMedia(id: String!, data: mutationMediaUpdateInput!, draft: Boolean, autosave: Boolean): Media
deleteMedia(id: String!): Media
createUser(data: mutationUserInput!, draft: Boolean): User
updateUser(id: String!, data: mutationUserUpdateInput!, draft: Boolean, autosave: Boolean): User
deleteUser(id: String!): User
refreshTokenUser(token: String): usersRefreshedUser
logoutUser: String
unlockUser(email: String!): Boolean!
loginUser(email: String, password: String): usersLoginResult
forgotPasswordUser(email: String!, disableEmail: Boolean, expiration: Int): Boolean!
resetPasswordUser(token: String, password: String): usersResetPassword
verifyEmailUser(token: String): Boolean
updateMenu(data: mutationMenuInput!, draft: Boolean): Menu
updatePreference(key: String!, value: JSON): Preference
deletePreference(key: String!): Preference
}
input mutationPostInput {
text: String
associatedMedia: String
updatedAt: String
createdAt: String
}
input mutationPostUpdateInput {
text: String
associatedMedia: String
updatedAt: String
createdAt: String
}
input mutationMediaInput {
updatedAt: String
createdAt: String
url: String
filename: String
mimeType: String
filesize: Float
width: Float
height: Float
}
input mutationMediaUpdateInput {
updatedAt: String
createdAt: String
url: String
filename: String
mimeType: String
filesize: Float
width: Float
height: Float
}
input mutationUserInput {
updatedAt: String
createdAt: String
email: String
resetPasswordToken: String
resetPasswordExpiration: String
loginAttempts: Float
lockUntil: String
password: String!
}
input mutationUserUpdateInput {
updatedAt: String
createdAt: String
email: String
resetPasswordToken: String
resetPasswordExpiration: String
loginAttempts: Float
lockUntil: String
password: String
}
type usersRefreshedUser {
user: usersJWT
refreshedToken: String
exp: Int
}
type usersJWT {
email: EmailAddress!
collection: String!
}
type usersLoginResult {
token: String
user: User
exp: Int
}
type usersResetPassword {
token: String
user: User
}
input mutationMenuInput {
globalText: String
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/watching/payload.git
git@gitee.com:watching/payload.git
watching
payload
payload
1.x

搜索帮助

0d507c66 1850385 C8b1a773 1850385