koishi-plugin-booru
Version:
Image service for Koishi
13 lines (12 loc) • 724 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PROFILE_URL = exports.USERS_URL = exports.POOLS_URL = exports.TAGS_URL = exports.AI_POSTS_URL = exports.POSTS_URL = exports.LOGIN_URL = exports.API_URL = exports.BASE_URL = void 0;
exports.BASE_URL = 'https://login.sankakucomplex.com';
exports.API_URL = 'https://capi-v2.sankakucomplex.com';
exports.LOGIN_URL = `${exports.BASE_URL}/auth/token`;
exports.POSTS_URL = `${exports.API_URL}/posts`;
exports.AI_POSTS_URL = `${exports.API_URL}/ai_posts`;
exports.TAGS_URL = `${exports.API_URL}/tags`;
exports.POOLS_URL = `${exports.API_URL}/pools`;
exports.USERS_URL = `${exports.API_URL}/users`;
exports.PROFILE_URL = `${exports.USERS_URL}/me`;