@wepublish/api
Version:
API core for we.publish.
23 lines (22 loc) • 1.64 kB
TypeScript
import { GraphQLEnumType, GraphQLInputObjectType, GraphQLObjectType } from 'graphql';
import { Context } from '../../context';
import { CalculatedRating, Comment, CommentRevision, PublicComment } from '../../db/comment';
export declare const GraphQLCommentState: GraphQLEnumType;
export declare const GraphQLCommentRejectionReason: GraphQLEnumType;
export declare const GraphQLCommentAuthorType: GraphQLEnumType;
export declare const GraphQLCommentItemType: GraphQLEnumType;
export declare const GraphQLCommentSort: GraphQLEnumType;
export declare const GraphQLPublicCommentSort: GraphQLEnumType;
export declare const GraphQLCommentFilter: GraphQLInputObjectType;
export declare const GraphQLCommentRevision: GraphQLObjectType<CommentRevision, Context>;
export declare const GraphQLCommentRevisionUpdateInput: GraphQLInputObjectType;
export declare const GraphQLCommentRatingOverrideUpdateInput: GraphQLInputObjectType;
export declare const GraphQLPublicCommentUpdateInput: GraphQLInputObjectType;
export declare const GraphQLChallengeInput: GraphQLInputObjectType;
export declare const GraphQLPublicCommentInput: GraphQLInputObjectType;
export declare const GraphQLoverriddenRating: GraphQLObjectType<CalculatedRating, Context>;
export declare const GraphQLComment: GraphQLObjectType<Comment, Context>;
export declare const GraphQLCalculatedRating: GraphQLObjectType<CalculatedRating, Context>;
export declare const GraphQLPublicComment: GraphQLObjectType<PublicComment, Context>;
export declare const GraphQLCommentConnection: GraphQLObjectType<any, any>;
export declare const GraphQLPublicCommentConnection: GraphQLObjectType<any, any>;