2021-10-31 15:12:49 +05:30
|
|
|
type Query {
|
|
|
|
post: Post
|
|
|
|
}
|
|
|
|
|
|
|
|
schema {
|
|
|
|
query: Query
|
|
|
|
}
|
|
|
|
|
|
|
|
type Paragraphs {
|
2021-10-31 22:17:48 +05:30
|
|
|
text: String!
|
|
|
|
type: String!
|
2021-10-31 15:12:49 +05:30
|
|
|
href: String
|
|
|
|
layout: String
|
|
|
|
iframe: IFrame
|
|
|
|
metadata: MetaData
|
2021-10-31 22:17:48 +05:30
|
|
|
markups: [MarkUp! ]!
|
2021-10-31 15:12:49 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
type MarkUp {
|
|
|
|
title: String
|
|
|
|
type: String!
|
|
|
|
href: String
|
|
|
|
userId: String
|
|
|
|
start: Int!
|
|
|
|
end: Int!
|
|
|
|
anchorType: String
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type IFrame {
|
|
|
|
mediaResource: MediaResource
|
|
|
|
}
|
|
|
|
|
|
|
|
type MediaResource{
|
|
|
|
href: String!
|
|
|
|
iframeSrc: String!
|
|
|
|
iframeWidth: Int!
|
|
|
|
iframeHeight: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type MetaData {
|
2021-10-31 22:17:48 +05:30
|
|
|
id: String!
|
2021-11-01 08:51:54 +05:30
|
|
|
originalWidth: Int
|
|
|
|
originalHeight: Int
|
2021-10-31 15:12:49 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-10-31 22:17:48 +05:30
|
|
|
type BodyModel { paragraphs: [Paragraphs! ]! }
|
2021-10-31 15:12:49 +05:30
|
|
|
|
2021-10-31 22:17:48 +05:30
|
|
|
type Content { bodyModel: BodyModel! }
|
2021-10-31 15:12:49 +05:30
|
|
|
|
2021-11-02 13:40:13 +05:30
|
|
|
type User { id: String! name: String! imageId: String! }
|
2021-10-31 15:12:49 +05:30
|
|
|
|
|
|
|
type Post {
|
|
|
|
id: ID!
|
2021-11-02 21:04:02 +05:30
|
|
|
readingTime: Float!
|
2021-10-31 22:17:48 +05:30
|
|
|
title: String!
|
|
|
|
createdAt: Int!
|
|
|
|
content: Content!
|
|
|
|
creator: User!
|
2021-10-31 15:12:49 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
type Data { post: Post }
|
|
|
|
|
|
|
|
type AutogeneratedMainType { data: Data }
|