kyodo.dorks
Version:
TypeScript API wrapper for Kyodo: Communities & Chats
18 lines • 1.01 kB
TypeScript
import { HttpWorkflow } from '../core/httpworkflow';
import { DorksManagerImpl } from '../interfaces/manager';
import { Safe } from '../private';
import { KyodoDorksConfig, StartLimit } from '../public';
import { Post } from '../schemas/kyodo/post';
import { BasicResponse } from '../schemas/responses/basic';
export declare class DorksPostManager implements DorksManagerImpl {
endpoint: string;
config: KyodoDorksConfig;
httpWorkflow: HttpWorkflow;
constructor(config: KyodoDorksConfig, httpWorkflow: HttpWorkflow);
get: (id: Safe<string>) => Promise<Post>;
create: (title: Safe<string>, content: Safe<string>, cover: Safe<string>, backgroundUrl?: Safe<string>) => Promise<Post>;
getManyFrom: (startLimit?: StartLimit, userId?: Safe<string>) => Promise<Post[]>;
sendComment: (postId: Safe<string>, content: Safe<string>, title?: Safe<string>) => Promise<BasicResponse>;
likeStatus: (postId: Safe<string>) => Promise<BasicResponse>;
}
//# sourceMappingURL=postManager.d.ts.map