mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
50 lines
687 B
JavaScript
50 lines
687 B
JavaScript
|
|
/* eslint-disable */
|
||
|
|
'use strict';
|
||
|
|
|
||
|
|
const api = require('../../api');
|
||
|
|
|
||
|
|
const helpers = require('../helpers');
|
||
|
|
|
||
|
|
const Chats = module.exports;
|
||
|
|
|
||
|
|
Chats.list = async (req, res) => {
|
||
|
|
// ...
|
||
|
|
};
|
||
|
|
|
||
|
|
Chats.create = async (req, res) => {
|
||
|
|
// ...
|
||
|
|
};
|
||
|
|
|
||
|
|
Chats.exists = async (req, res) => {
|
||
|
|
helpers.formatApiResponse(200, res);
|
||
|
|
};
|
||
|
|
|
||
|
|
Chats.get = async (req, res) => {
|
||
|
|
// ...
|
||
|
|
};
|
||
|
|
|
||
|
|
Chats.post = async (req, res) => {
|
||
|
|
// ...
|
||
|
|
};
|
||
|
|
|
||
|
|
Chats.users = async (req, res) => {
|
||
|
|
// ...
|
||
|
|
};
|
||
|
|
|
||
|
|
Chats.invite = async (req, res) => {
|
||
|
|
// ...
|
||
|
|
};
|
||
|
|
|
||
|
|
Chats.kick = async (req, res) => {
|
||
|
|
// ...
|
||
|
|
};
|
||
|
|
|
||
|
|
Chats.message = {};
|
||
|
|
Chats.messages.edit = async (req, res) => {
|
||
|
|
// ...
|
||
|
|
};
|
||
|
|
|
||
|
|
Chats.messages.delete = async (req, res) => {
|
||
|
|
// ...
|
||
|
|
};
|