# ------------------------------------------------------ # THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY) # ------------------------------------------------------ type Paginator { total: Float! size: Float! currentPage: Float! totalPage: Float! hasNextPage: Boolean! hasPrevPage: Boolean! } type Image { width: Float height: Float accent: String type: String src: String! } type CountMixed { read: Float like: Float } type Coordinate { latitude: Float! longitude: Float! } type NoteMusic { type: String! id: String! } type NoteModel { created: DateTime id: ID commentsIndex: Float allowComment: Boolean! images: Image modified: DateTime title: String! text: String! coordinates: Coordinate count: CountMixed music: [NoteMusic!] nid: Float! hide: Boolean! password: String secret: DateTime mood: String weather: String hasMemory: Boolean location: String } """ A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format. """ scalar DateTime type NoteItemAggregateModel { data: NoteModel! prev: NoteModel next: NoteModel } type NotePaginatorModel { data: [NoteModel!]! pagination: Paginator! } type CategoryModel { created: DateTime id: ID name: String! type: CategoryType slug: String! } enum CategoryType { Category Tag } type PostModel { created: DateTime id: ID commentsIndex: Float allowComment: Boolean! images: Image modified: DateTime title: String! text: String! categoryId: String! category: CategoryModel count: CountMixed slug: String! summary: String hide: Boolean copyright: Boolean tags: [String!] } type PostPaginatorModel { data: [PostModel!]! pagination: Paginator! } type Query { sayHello: String! getPostById(id: ID!): PostModel! getPostList(size: Int, page: Int, select: String, year: Float, state: Float, sortOrder: Int, sortBy: String): PostPaginatorModel! getByCateAndSlug(category: String!, slug: String!): PostModel! getNoteById(password: String, nid: Int, id: ID): NoteItemAggregateModel! getLastestNote: NoteItemAggregateModel! getNotesWithPager(size: Int, page: Int, select: String, year: Float, state: Float, sortOrder: Int, sortBy: String): NotePaginatorModel! }