strapi-plugin-comments
Version:
96 lines (95 loc) • 3.14 kB
TypeScript
import { CoreStrapi } from '../../@types';
import { Nexus } from '../../@types/graphql';
export declare const getCreateAbuseReport: (strapi: CoreStrapi, nexus: Nexus) => {
type: import("nexus/dist/core").NexusNonNullDef<any>;
args: {
input: import("nexus/dist/core").NexusNonNullDef<any>;
};
resolve(_: Object, args: any, ctx: any): Promise<{
related: {
id?: number;
documentId?: string;
content?: string;
blocked?: boolean;
blockedThread?: boolean;
blockReason?: string;
isAdminComment?: boolean;
removed?: boolean;
approvalStatus?: string;
related?: string;
createdAt?: string;
updatedAt?: string;
publishedAt?: string;
authorId?: string;
authorName?: string;
authorEmail?: string;
authorAvatar?: string;
authorUser?: string | {
id?: number;
email?: string;
};
locale?: string;
gotThread?: boolean;
threadFirstItemId?: number;
reports?: {
id?: number;
documentId?: string;
content?: string;
createdAt?: string;
updatedAt?: string;
publishedAt?: string;
locale?: string;
reason?: string;
resolved?: boolean;
}[];
author?: any;
threadOf?: number | {
id?: number;
documentId?: string;
content?: string;
blocked?: boolean;
blockedThread?: boolean;
blockReason?: string;
isAdminComment?: boolean;
removed?: boolean;
approvalStatus?: string;
related?: string;
createdAt?: string;
updatedAt?: string;
publishedAt?: string;
authorId?: string;
authorName?: string;
authorEmail?: string;
authorAvatar?: string;
authorUser?: string | {
id?: number;
email?: string;
};
locale?: string;
gotThread?: boolean;
threadFirstItemId?: number;
reports?: {
id?: number;
documentId?: string;
content?: string;
createdAt?: string;
updatedAt?: string;
publishedAt?: string;
locale?: string;
reason?: string;
resolved?: boolean;
}[];
author?: any;
};
};
id?: number;
documentId?: string;
content?: string;
createdAt?: string;
updatedAt?: string;
publishedAt?: string;
locale?: string;
reason?: string;
resolved?: boolean;
}>;
};