몰?루
- 로그인 후 a 채널 b 카테고리에 새 글 작성 후 로그아웃
import { Arcalive } from "./arcalive";
import LoginUser from "./loginUser";
const user = new LoginUser("nickname", "password");
const arcalive = new Arcalive(user);
await arcalive.auth.login();
const channel = arcalive.channel("a");
await channel.article.write("title", "content", "b");
await arcalive.auth.logout();
- 익명 상태로 a 채널 b 카테고리에 새 글 작성 후 로그아웃
import Anonymous from "./anonymous";
const user = new Anonymous("nickname", "password");
const arcalive = new Arcalive(user);
// WIP
const channel = arcalive.channel("a");
await channel.article.write("title", "content");