chatkitty
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -5,4 +5,4 @@ "use strict"; | ||
exports.environment = { | ||
production: false, | ||
production: true, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZW52aXJvbm1lbnRzL2Vudmlyb25tZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFhLFFBQUEsV0FBVyxHQUFHO0lBQ3pCLFVBQVUsRUFBRSxLQUFLO0NBQ2xCLENBQUMifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZW52aXJvbm1lbnRzL2Vudmlyb25tZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFhLFFBQUEsV0FBVyxHQUFHO0lBQ3pCLFVBQVUsRUFBRSxJQUFJO0NBQ2pCLENBQUMifQ== |
import { ChatKittyConfiguration } from './chatkitty.configuration'; | ||
import { ChannelSession } from './model/channel-session/channel-session.model'; | ||
import { StartChannelSessionRequest } from './model/channel-session/start/channel-session.start.request'; | ||
import { StartedChannelSessionResult } from './model/channel-session/start/channel-session.start.results'; | ||
import { StartChannelSessionResult } from './model/channel-session/start/channel-session.start.result'; | ||
import { CreateChannelRequest } from './model/channel/create/channel.create.request'; | ||
import { CreateChannelResult } from './model/channel/create/channel.create.results'; | ||
import { GetChannelsResult } from './model/channel/get/channel.get.results'; | ||
import { CreateChannelResult } from './model/channel/create/channel.create.result'; | ||
import { GetChannelsResult } from './model/channel/get/channel.get.result'; | ||
import { JoinChannelRequest } from './model/channel/join/channel.join.request'; | ||
import { JoinChannelResult } from './model/channel/join/channel.join.result'; | ||
import { ChatkittyObserver } from './model/chatkitty.observer'; | ||
import { ChatKittyUnsubscribe } from './model/chatkitty.unsubscribe'; | ||
import { CurrentUser } from './model/current-user/current-user.model'; | ||
import { GetCurrentUserResult } from './model/current-user/get/current-user.get.results'; | ||
import { CreateChannelMessageRequest } from './model/message/create/message.create.request'; | ||
import { CreateMessageResult } from './model/message/create/message.create.results'; | ||
import { GetChannelMessagesRequest } from './model/message/get/message.get.request'; | ||
import { GetMessagesResult } from './model/message/get/message.get.results'; | ||
import { GetCurrentUserResult } from './model/current-user/get/current-user.get.result'; | ||
import { CreateMessageRequest } from './model/message/create/message.create.request'; | ||
import { CreateMessageResult } from './model/message/create/message.create.result'; | ||
import { GetMessagesRequest } from './model/message/get/message.get.request'; | ||
import { GetMessagesResult } from './model/message/get/message.get.result'; | ||
import { StartSessionRequest } from './model/session/start/session.start.request'; | ||
import { StartSessionResult } from './model/session/start/session.start.results'; | ||
import { StartSessionResult } from './model/session/start/session.start.result'; | ||
export default class ChatKitty { | ||
@@ -34,7 +36,8 @@ private readonly configuration; | ||
getJoinableChannels(): Promise<GetChannelsResult>; | ||
startChannelSession(request: StartChannelSessionRequest): StartedChannelSessionResult; | ||
createChannelMessage(request: CreateChannelMessageRequest): Promise<CreateMessageResult>; | ||
getChannelMessages(request: GetChannelMessagesRequest): Promise<GetMessagesResult>; | ||
joinChannel(request: JoinChannelRequest): Promise<JoinChannelResult>; | ||
startChannelSession(request: StartChannelSessionRequest): StartChannelSessionResult; | ||
createMessage(request: CreateMessageRequest): Promise<CreateMessageResult>; | ||
getMessages(request: GetMessagesRequest): Promise<GetMessagesResult>; | ||
endChannelSession(session: ChannelSession): void; | ||
endSession(): void; | ||
} |
@@ -5,13 +5,16 @@ "use strict"; | ||
var environment_1 = require("../environments/environment"); | ||
var channel_session_start_results_1 = require("./model/channel-session/start/channel-session.start.results"); | ||
var channel_create_results_1 = require("./model/channel/create/channel.create.results"); | ||
var channel_get_results_1 = require("./model/channel/get/channel.get.results"); | ||
var channel_session_start_error_1 = require("./model/channel-session/start/channel-session.start.error"); | ||
var channel_session_start_result_1 = require("./model/channel-session/start/channel-session.start.result"); | ||
var channel_create_result_1 = require("./model/channel/create/channel.create.result"); | ||
var channel_get_result_1 = require("./model/channel/get/channel.get.result"); | ||
var channel_join_error_1 = require("./model/channel/join/channel.join.error"); | ||
var channel_join_result_1 = require("./model/channel/join/channel.join.result"); | ||
var chatkitty_error_1 = require("./model/chatkitty.error"); | ||
var chatkitty_paginator_1 = require("./model/chatkitty.paginator"); | ||
var current_user_get_results_1 = require("./model/current-user/get/current-user.get.results"); | ||
var current_user_get_result_1 = require("./model/current-user/get/current-user.get.result"); | ||
var message_create_request_1 = require("./model/message/create/message.create.request"); | ||
var message_create_results_1 = require("./model/message/create/message.create.results"); | ||
var message_get_results_1 = require("./model/message/get/message.get.results"); | ||
var session_errors_1 = require("./model/session/start/session.errors"); | ||
var session_start_results_1 = require("./model/session/start/session.start.results"); | ||
var message_create_result_1 = require("./model/message/create/message.create.result"); | ||
var message_get_result_1 = require("./model/message/get/message.get.result"); | ||
var session_error_1 = require("./model/session/start/session.error"); | ||
var session_start_result_1 = require("./model/session/start/session.start.result"); | ||
var stompx_client_1 = require("./stompx/stompx.client"); | ||
@@ -52,3 +55,3 @@ var ChatKitty = /** @class */ (function () { | ||
_this.currentUserNextSubject.next(user); | ||
resolve(new session_start_results_1.StartedSessionResult({ user: user })); | ||
resolve(new session_start_result_1.StartedSessionResult({ user: user })); | ||
} | ||
@@ -59,6 +62,6 @@ }); | ||
if (error.error === 'AccessDeniedError') { | ||
resolve(new session_start_results_1.AccessDeniedSessionResult(new session_errors_1.AccessDeniedSessionError())); | ||
resolve(new session_start_result_1.AccessDeniedSessionResult(new session_error_1.AccessDeniedSessionError())); | ||
} | ||
else { | ||
resolve(new session_start_results_1.AccessDeniedSessionResult(new chatkitty_error_1.UnknownChatKittyError())); | ||
resolve(new session_start_result_1.AccessDeniedSessionResult(new chatkitty_error_1.UnknownChatKittyError())); | ||
} | ||
@@ -75,3 +78,3 @@ } | ||
onSuccess: function (user) { | ||
resolve(new current_user_get_results_1.GetCurrentUserResult(user)); | ||
resolve(new current_user_get_result_1.GetCurrentUserResult(user)); | ||
} | ||
@@ -96,3 +99,3 @@ }); | ||
if (_this.currentUser === undefined) { | ||
reject(new chatkitty_error_1.NoActiveSessionChatKittyError()); | ||
reject(new session_error_1.NoActiveSessionChatKittyError()); | ||
} | ||
@@ -102,5 +105,8 @@ else { | ||
destination: _this.currentUser._actions.createChannel, | ||
body: request, | ||
body: { | ||
type: request.type, | ||
name: request.name | ||
}, | ||
onSuccess: function (channel) { | ||
resolve(new channel_create_results_1.CreatedChannelResult(channel)); | ||
resolve(new channel_create_result_1.CreatedChannelResult(channel)); | ||
} | ||
@@ -115,7 +121,7 @@ }); | ||
if (_this.currentUser === undefined) { | ||
reject(new chatkitty_error_1.NoActiveSessionChatKittyError()); | ||
reject(new session_error_1.NoActiveSessionChatKittyError()); | ||
} | ||
else { | ||
chatkitty_paginator_1.ChatKittyPaginator.createInstance(_this.client, _this.currentUser._relays.channels, 'channels') | ||
.then(function (paginator) { return resolve(new channel_get_results_1.GetChannelsResult(paginator)); }); | ||
.then(function (paginator) { return resolve(new channel_get_result_1.GetChannelsResult(paginator)); }); | ||
} | ||
@@ -128,10 +134,32 @@ }); | ||
if (_this.currentUser === undefined) { | ||
reject(new chatkitty_error_1.NoActiveSessionChatKittyError()); | ||
reject(new session_error_1.NoActiveSessionChatKittyError()); | ||
} | ||
else { | ||
chatkitty_paginator_1.ChatKittyPaginator.createInstance(_this.client, _this.currentUser._relays.joinableChannels, 'channels') | ||
.then(function (paginator) { return resolve(new channel_get_results_1.GetChannelsResult(paginator)); }); | ||
.then(function (paginator) { return resolve(new channel_get_result_1.GetChannelsResult(paginator)); }); | ||
} | ||
}); | ||
}; | ||
ChatKitty.prototype.joinChannel = function (request) { | ||
var _this = this; | ||
return new Promise(function (resolve, reject) { | ||
if (_this.currentUser === undefined) { | ||
reject(new session_error_1.NoActiveSessionChatKittyError()); | ||
} | ||
else { | ||
if (request.channel._actions.join) { | ||
_this.client.performAction({ | ||
destination: request.channel._actions.join, | ||
body: request, | ||
onSuccess: function (channel) { | ||
resolve(new channel_join_result_1.JoinedChannelResult(channel)); | ||
} | ||
}); | ||
} | ||
else { | ||
reject(new channel_join_error_1.ChannelNotPubliclyJoinableChatKittyError(request.channel)); | ||
} | ||
} | ||
}); | ||
}; | ||
ChatKitty.prototype.startChannelSession = function (request) { | ||
@@ -151,3 +179,3 @@ var channelUnsubscribe = this.client.listenToTopic(request.channel._topics.self); | ||
} | ||
return new channel_session_start_results_1.StartedChannelSessionResult({ | ||
return new channel_session_start_result_1.StartedChannelSessionResult({ | ||
channel: request.channel, | ||
@@ -163,10 +191,10 @@ unsubscribe: function () { | ||
}; | ||
ChatKitty.prototype.createChannelMessage = function (request) { | ||
ChatKitty.prototype.createMessage = function (request) { | ||
var _this = this; | ||
return new Promise(function (resolve, reject) { | ||
if (_this.channelSessions.has(request.channel.id)) { | ||
reject(new chatkitty_error_1.NoActiveChannelSessionChatKittyError(request.channel)); | ||
} | ||
else { | ||
if (message_create_request_1.createTextMessage(request)) { | ||
if (message_create_request_1.createChannelTextMessage(request)) { | ||
if (_this.channelSessions.has(request.channel.id)) { | ||
reject(new channel_session_start_error_1.NoActiveChannelSessionChatKittyError(request.channel)); | ||
} | ||
else { | ||
_this.client.performAction({ | ||
@@ -179,3 +207,3 @@ destination: request.channel._actions.message, | ||
onSuccess: function (message) { | ||
resolve(new message_create_results_1.CreatedTextMessageResult(message)); | ||
resolve(new message_create_result_1.CreatedTextMessageResult(message)); | ||
} | ||
@@ -187,11 +215,11 @@ }); | ||
}; | ||
ChatKitty.prototype.getChannelMessages = function (request) { | ||
ChatKitty.prototype.getMessages = function (request) { | ||
var _this = this; | ||
return new Promise(function (resolve, reject) { | ||
if (_this.channelSessions.has(request.channel.id)) { | ||
reject(new chatkitty_error_1.NoActiveChannelSessionChatKittyError(request.channel)); | ||
reject(new channel_session_start_error_1.NoActiveChannelSessionChatKittyError(request.channel)); | ||
} | ||
else { | ||
chatkitty_paginator_1.ChatKittyPaginator.createInstance(_this.client, request.channel._relays.messages, 'messages') | ||
.then(function (paginator) { return resolve(new message_get_results_1.GetMessagesResult(paginator)); }); | ||
.then(function (paginator) { return resolve(new message_get_result_1.GetMessagesResult(paginator)); }); | ||
} | ||
@@ -216,2 +244,2 @@ }); | ||
exports.default = ChatKitty; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdGtpdHR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jaGF0a2l0dHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw2QkFBcUQ7QUFFckQsMkRBQTBEO0FBSzFELDZHQUEwRztBQUcxRyx3RkFHdUQ7QUFDdkQsK0VBQTRFO0FBQzVFLDJEQUlpQztBQUVqQyxtRUFBaUU7QUFHakUsOEZBQXlGO0FBQ3pGLHdGQUd1RDtBQUN2RCx3RkFHdUQ7QUFFdkQsK0VBQTRFO0FBRTVFLHVFQUFnRjtBQUVoRixxRkFHcUQ7QUFDckQsd0RBQXNEO0FBRXREO0lBMEJFLG1CQUFvQyxhQUFxQztRQUFyQyxrQkFBYSxHQUFiLGFBQWEsQ0FBd0I7UUFMeEQsMkJBQXNCLEdBQUcsSUFBSSxzQkFBZSxDQUFxQixJQUFJLENBQUMsQ0FBQztRQUdoRixvQkFBZSxHQUFnQyxJQUFJLEdBQUcsRUFBRSxDQUFDO1FBRy9ELElBQUksQ0FBQyxNQUFNLEdBQUcsSUFBSSw0QkFBWSxDQUFDO1lBQzdCLFFBQVEsRUFBRSxhQUFhLENBQUMsUUFBUSxLQUFLLFNBQVMsSUFBSSxhQUFhLENBQUMsUUFBUTtZQUN4RSxJQUFJLEVBQUUsYUFBYSxDQUFDLElBQUksSUFBSSxtQk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1QixvQkFBVSxHQUFHLElBQUksR0FBRyxFQUFxQixDQUFDO0lBRTFDLDBCQUFnQixHQUFHLGdDQUFnQyxDQUFDO0lBZ1A5RSxnQkFBQztDQUFBLEFBblBELElBbVBDO2tCQW5Qb0IsU0FBUyJ9 |
@@ -20,2 +20,3 @@ export declare class Channel { | ||
message: string; | ||
join?: string; | ||
} |
@@ -1,2 +0,1 @@ | ||
import { Channel } from './channel/channel.model'; | ||
export declare abstract class ChatKittyError { | ||
@@ -10,11 +9,4 @@ type: string; | ||
} | ||
export declare class NoActiveSessionChatKittyError extends ChatKittyError { | ||
constructor(); | ||
} | ||
export declare class NoActiveChannelSessionChatKittyError extends ChatKittyError { | ||
channel: Channel; | ||
constructor(channel: Channel); | ||
} | ||
export declare class PageOutOfBoundsChatKittyError extends ChatKittyError { | ||
constructor(); | ||
} |
@@ -16,3 +16,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PageOutOfBoundsChatKittyError = exports.NoActiveChannelSessionChatKittyError = exports.NoActiveSessionChatKittyError = exports.UnknownChatKittyError = exports.ChatKittyError = void 0; | ||
exports.PageOutOfBoundsChatKittyError = exports.UnknownChatKittyError = exports.ChatKittyError = void 0; | ||
var ChatKittyError = /** @class */ (function () { | ||
@@ -34,20 +34,2 @@ function ChatKittyError(type, message) { | ||
exports.UnknownChatKittyError = UnknownChatKittyError; | ||
var NoActiveSessionChatKittyError = /** @class */ (function (_super) { | ||
__extends(NoActiveSessionChatKittyError, _super); | ||
function NoActiveSessionChatKittyError() { | ||
return _super.call(this, 'NoActiveSessionChatKittyError', 'You\'re not connected to ChatKitty.') || this; | ||
} | ||
return NoActiveSessionChatKittyError; | ||
}(ChatKittyError)); | ||
exports.NoActiveSessionChatKittyError = NoActiveSessionChatKittyError; | ||
var NoActiveChannelSessionChatKittyError = /** @class */ (function (_super) { | ||
__extends(NoActiveChannelSessionChatKittyError, _super); | ||
function NoActiveChannelSessionChatKittyError(channel) { | ||
var _this = _super.call(this, 'NoActiveChannelSessionChatKittyError', "You haven't started a session for the channel " + channel.name + ".") || this; | ||
_this.channel = channel; | ||
return _this; | ||
} | ||
return NoActiveChannelSessionChatKittyError; | ||
}(ChatKittyError)); | ||
exports.NoActiveChannelSessionChatKittyError = NoActiveChannelSessionChatKittyError; | ||
var PageOutOfBoundsChatKittyError = /** @class */ (function (_super) { | ||
@@ -61,2 +43,2 @@ __extends(PageOutOfBoundsChatKittyError, _super); | ||
exports.PageOutOfBoundsChatKittyError = PageOutOfBoundsChatKittyError; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdGtpdHR5LmVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9tb2RlbC9jaGF0a2l0dHkuZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUVBO0lBQ0Usd0JBQTZCLElBQVksRUFBUyxPQUFlO1FBQXBDLFNBQUksR0FBSixJQUFJLENBQVE7UUFBUyxZQUFPLEdBQVAsT0FBTyxDQUFRO0lBQ2pFLENBQUM7SUFDSCxxQkFBQztBQUFELENBQUMsQUFIRCxJQUdDO0FBSHFCLHdDQUFjO0FBS3BDO0lBQTJDLHlDQUFjO0lBQ3ZEO2VBQ0Usa0JBQU0sdUJBQXVCLEVBQUUsZ0NBQWdDLENBQUM7SUFDbEUsQ0FBQztJQUNILDRCQUFDO0FBQUQsQ0FBQyxBQUpELENBQTJDLGNBQWMsR0FJeEQ7QUFKWSxzREFBcUI7QUFNbEM7SUFBbUQsaURBQWM7SUFDL0Q7ZUFDRSxrQkFBTSwrQkFBK0IsRUFBRSxxQ0FBcUMsQ0FBQztJQUMvRSxDQUFDO0lBQ0gsb0NBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBbUQsY0FBYyxHQUloRTtBQUpZLHNFQUE2QjtBQU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ZUFDRSxrQkFBTSwrQkFBK0IsRUFBRSxnREFBZ0QsQ0FBQztJQUMxRixDQUFDO0lBQ0gsb0NBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBbUQsY0FBYyxHQUloRTtBQUpZLHNFQUE2QiJ9 |
import { Channel } from '../../channel/channel.model'; | ||
export declare type CreateChannelMessageRequest = CreateChannelTextMessageRequest; | ||
export declare type CreateMessageRequest = CreateChannelTextMessageRequest; | ||
export declare class CreateChannelTextMessageRequest { | ||
@@ -7,2 +7,2 @@ channel: Channel; | ||
} | ||
export declare function createTextMessage(request: CreateChannelMessageRequest): request is CreateChannelTextMessageRequest; | ||
export declare function createChannelTextMessage(request: CreateMessageRequest): request is CreateChannelTextMessageRequest; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createTextMessage = void 0; | ||
function createTextMessage(request) { | ||
exports.createChannelTextMessage = void 0; | ||
function createChannelTextMessage(request) { | ||
return request.body !== undefined; | ||
} | ||
exports.createTextMessage = createTextMessage; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5jcmVhdGUucmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9kZWwvbWVzc2FnZS9jcmVhdGUvbWVzc2FnZS5jcmVhdGUucmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFVQSxTQUFnQixpQkFBaUIsQ0FBQyxPQUFvQztJQUNwRSxPQUFRLE9BQTJDLENBQUMsSUFBSSxLQUFLLFNBQVMsQ0FBQztBQUN6RSxDQUFDO0FBRkQsOENBRUMifQ== | ||
exports.createChannelTextMessage = createChannelTextMessage; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5jcmVhdGUucmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9kZWwvbWVzc2FnZS9jcmVhdGUvbWVzc2FnZS5jcmVhdGUucmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFVQSxTQUFnQix3QkFBd0IsQ0FBQyxPQUE2QjtJQUNwRSxPQUFRLE9BQTJDLENBQUMsSUFBSSxLQUFLLFNBQVMsQ0FBQztBQUN6RSxDQUFDO0FBRkQsNERBRUMifQ== |
import { Channel } from '../../channel/channel.model'; | ||
export declare class GetChannelMessagesRequest { | ||
export declare class GetMessagesRequest { | ||
channel: Channel; | ||
} |
export const environment = { | ||
production: false, | ||
production: true, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZW52aXJvbm1lbnRzL2Vudmlyb25tZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRztJQUN6QixVQUFVLEVBQUUsS0FBSztDQUNsQixDQUFDIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZW52aXJvbm1lbnRzL2Vudmlyb25tZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRztJQUN6QixVQUFVLEVBQUUsSUFBSTtDQUNqQixDQUFDIn0= |
import { ChatKittyConfiguration } from './chatkitty.configuration'; | ||
import { ChannelSession } from './model/channel-session/channel-session.model'; | ||
import { StartChannelSessionRequest } from './model/channel-session/start/channel-session.start.request'; | ||
import { StartedChannelSessionResult } from './model/channel-session/start/channel-session.start.results'; | ||
import { StartChannelSessionResult } from './model/channel-session/start/channel-session.start.result'; | ||
import { CreateChannelRequest } from './model/channel/create/channel.create.request'; | ||
import { CreateChannelResult } from './model/channel/create/channel.create.results'; | ||
import { GetChannelsResult } from './model/channel/get/channel.get.results'; | ||
import { CreateChannelResult } from './model/channel/create/channel.create.result'; | ||
import { GetChannelsResult } from './model/channel/get/channel.get.result'; | ||
import { JoinChannelRequest } from './model/channel/join/channel.join.request'; | ||
import { JoinChannelResult } from './model/channel/join/channel.join.result'; | ||
import { ChatkittyObserver } from './model/chatkitty.observer'; | ||
import { ChatKittyUnsubscribe } from './model/chatkitty.unsubscribe'; | ||
import { CurrentUser } from './model/current-user/current-user.model'; | ||
import { GetCurrentUserResult } from './model/current-user/get/current-user.get.results'; | ||
import { CreateChannelMessageRequest } from './model/message/create/message.create.request'; | ||
import { CreateMessageResult } from './model/message/create/message.create.results'; | ||
import { GetChannelMessagesRequest } from './model/message/get/message.get.request'; | ||
import { GetMessagesResult } from './model/message/get/message.get.results'; | ||
import { GetCurrentUserResult } from './model/current-user/get/current-user.get.result'; | ||
import { CreateMessageRequest } from './model/message/create/message.create.request'; | ||
import { CreateMessageResult } from './model/message/create/message.create.result'; | ||
import { GetMessagesRequest } from './model/message/get/message.get.request'; | ||
import { GetMessagesResult } from './model/message/get/message.get.result'; | ||
import { StartSessionRequest } from './model/session/start/session.start.request'; | ||
import { StartSessionResult } from './model/session/start/session.start.results'; | ||
import { StartSessionResult } from './model/session/start/session.start.result'; | ||
export default class ChatKitty { | ||
@@ -34,7 +36,8 @@ private readonly configuration; | ||
getJoinableChannels(): Promise<GetChannelsResult>; | ||
startChannelSession(request: StartChannelSessionRequest): StartedChannelSessionResult; | ||
createChannelMessage(request: CreateChannelMessageRequest): Promise<CreateMessageResult>; | ||
getChannelMessages(request: GetChannelMessagesRequest): Promise<GetMessagesResult>; | ||
joinChannel(request: JoinChannelRequest): Promise<JoinChannelResult>; | ||
startChannelSession(request: StartChannelSessionRequest): StartChannelSessionResult; | ||
createMessage(request: CreateMessageRequest): Promise<CreateMessageResult>; | ||
getMessages(request: GetMessagesRequest): Promise<GetMessagesResult>; | ||
endChannelSession(session: ChannelSession): void; | ||
endSession(): void; | ||
} |
import { BehaviorSubject } from 'rxjs'; | ||
import { environment } from '../environments/environment'; | ||
import { StartedChannelSessionResult } from './model/channel-session/start/channel-session.start.results'; | ||
import { CreatedChannelResult } from './model/channel/create/channel.create.results'; | ||
import { GetChannelsResult } from './model/channel/get/channel.get.results'; | ||
import { NoActiveChannelSessionChatKittyError, NoActiveSessionChatKittyError, UnknownChatKittyError } from './model/chatkitty.error'; | ||
import { NoActiveChannelSessionChatKittyError } from './model/channel-session/start/channel-session.start.error'; | ||
import { StartedChannelSessionResult } from './model/channel-session/start/channel-session.start.result'; | ||
import { CreatedChannelResult } from './model/channel/create/channel.create.result'; | ||
import { GetChannelsResult } from './model/channel/get/channel.get.result'; | ||
import { ChannelNotPubliclyJoinableChatKittyError } from './model/channel/join/channel.join.error'; | ||
import { JoinedChannelResult } from './model/channel/join/channel.join.result'; | ||
import { UnknownChatKittyError } from './model/chatkitty.error'; | ||
import { ChatKittyPaginator } from './model/chatkitty.paginator'; | ||
import { GetCurrentUserResult } from './model/current-user/get/current-user.get.results'; | ||
import { createTextMessage } from './model/message/create/message.create.request'; | ||
import { CreatedTextMessageResult } from './model/message/create/message.create.results'; | ||
import { GetMessagesResult } from './model/message/get/message.get.results'; | ||
import { AccessDeniedSessionError } from './model/session/start/session.errors'; | ||
import { AccessDeniedSessionResult, StartedSessionResult } from './model/session/start/session.start.results'; | ||
import { GetCurrentUserResult } from './model/current-user/get/current-user.get.result'; | ||
import { createChannelTextMessage } from './model/message/create/message.create.request'; | ||
import { CreatedTextMessageResult } from './model/message/create/message.create.result'; | ||
import { GetMessagesResult } from './model/message/get/message.get.result'; | ||
import { AccessDeniedSessionError, NoActiveSessionChatKittyError } from './model/session/start/session.error'; | ||
import { AccessDeniedSessionResult, StartedSessionResult } from './model/session/start/session.start.result'; | ||
import { StompXClient } from './stompx/stompx.client'; | ||
@@ -92,3 +95,6 @@ export default class ChatKitty { | ||
destination: this.currentUser._actions.createChannel, | ||
body: request, | ||
body: { | ||
type: request.type, | ||
name: request.name | ||
}, | ||
onSuccess: channel => { | ||
@@ -123,2 +129,23 @@ resolve(new CreatedChannelResult(channel)); | ||
} | ||
joinChannel(request) { | ||
return new Promise((resolve, reject) => { | ||
if (this.currentUser === undefined) { | ||
reject(new NoActiveSessionChatKittyError()); | ||
} | ||
else { | ||
if (request.channel._actions.join) { | ||
this.client.performAction({ | ||
destination: request.channel._actions.join, | ||
body: request, | ||
onSuccess: channel => { | ||
resolve(new JoinedChannelResult(channel)); | ||
} | ||
}); | ||
} | ||
else { | ||
reject(new ChannelNotPubliclyJoinableChatKittyError(request.channel)); | ||
} | ||
} | ||
}); | ||
} | ||
startChannelSession(request) { | ||
@@ -149,9 +176,9 @@ const channelUnsubscribe = this.client.listenToTopic(request.channel._topics.self); | ||
} | ||
createChannelMessage(request) { | ||
createMessage(request) { | ||
return new Promise((resolve, reject) => { | ||
if (this.channelSessions.has(request.channel.id)) { | ||
reject(new NoActiveChannelSessionChatKittyError(request.channel)); | ||
} | ||
else { | ||
if (createTextMessage(request)) { | ||
if (createChannelTextMessage(request)) { | ||
if (this.channelSessions.has(request.channel.id)) { | ||
reject(new NoActiveChannelSessionChatKittyError(request.channel)); | ||
} | ||
else { | ||
this.client.performAction({ | ||
@@ -171,3 +198,3 @@ destination: request.channel._actions.message, | ||
} | ||
getChannelMessages(request) { | ||
getMessages(request) { | ||
return new Promise((resolve, reject) => { | ||
@@ -196,2 +223,2 @@ if (this.channelSessions.has(request.channel.id)) { | ||
ChatKitty.currentUserRelay = '/application/v1/users/me.relay'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdGtpdHR5LmpzIiwic291c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,3 @@ export declare class Channel { | ||
message: string; | ||
join?: string; | ||
} |
@@ -1,2 +0,1 @@ | ||
import { Channel } from './channel/channel.model'; | ||
export declare abstract class ChatKittyError { | ||
@@ -10,11 +9,4 @@ type: string; | ||
} | ||
export declare class NoActiveSessionChatKittyError extends ChatKittyError { | ||
constructor(); | ||
} | ||
export declare class NoActiveChannelSessionChatKittyError extends ChatKittyError { | ||
channel: Channel; | ||
constructor(channel: Channel); | ||
} | ||
export declare class PageOutOfBoundsChatKittyError extends ChatKittyError { | ||
constructor(); | ||
} |
@@ -12,13 +12,2 @@ export class ChatKittyError { | ||
} | ||
export class NoActiveSessionChatKittyError extends ChatKittyError { | ||
constructor() { | ||
super('NoActiveSessionChatKittyError', 'You\'re not connected to ChatKitty.'); | ||
} | ||
} | ||
export class NoActiveChannelSessionChatKittyError extends ChatKittyError { | ||
constructor(channel) { | ||
super('NoActiveChannelSessionChatKittyError', `You haven't started a session for the channel ${channel.name}.`); | ||
this.channel = channel; | ||
} | ||
} | ||
export class PageOutOfBoundsChatKittyError extends ChatKittyError { | ||
@@ -29,2 +18,2 @@ constructor() { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdGtpdHR5LmVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9tb2RlbC9jaGF0a2l0dHkuZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFnQixjQUFjO0lBQ2xDLFlBQTZCLElBQVksRUFBUyxPQUFlO1FBQXBDLFNBQUksR0FBSixJQUFJLENBQVE7UUFBUyxZQUFPLEdBQVAsT0FBTyxDQUFRO0lBQ2pFLENBQUM7Q0FDRjtBQUVELE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxjQUFjO0lBQ3ZEO1FBQ0UsS0FBSyxDQUFDLHVCQUF1QixFQUFFLGdDQU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M7SUFDL0Q7UUFDRSxLQUFLLENBQUMsK0JBQStCLEVBQUUsZ0RBQWdELENBQUMsQ0FBQztJQUMzRixDQUFDO0NBQ0YifQ== |
import { Channel } from '../../channel/channel.model'; | ||
export declare type CreateChannelMessageRequest = CreateChannelTextMessageRequest; | ||
export declare type CreateMessageRequest = CreateChannelTextMessageRequest; | ||
export declare class CreateChannelTextMessageRequest { | ||
@@ -7,2 +7,2 @@ channel: Channel; | ||
} | ||
export declare function createTextMessage(request: CreateChannelMessageRequest): request is CreateChannelTextMessageRequest; | ||
export declare function createChannelTextMessage(request: CreateMessageRequest): request is CreateChannelTextMessageRequest; |
@@ -1,4 +0,4 @@ | ||
export function createTextMessage(request) { | ||
export function createChannelTextMessage(request) { | ||
return request.body !== undefined; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5jcmVhdGUucmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9kZWwvbWVzc2FnZS9jcmVhdGUvbWVzc2FnZS5jcmVhdGUucmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVQSxNQUFNLFVBQVUsaUJBQWlCLENBQUMsT0FBb0M7SUFDcEUsT0FBUSxPQUEyQyxDQUFDLElBQUksS0FBSyxTQUFTLENBQUM7QUFDekUsQ0FBQyJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5jcmVhdGUucmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9kZWwvbWVzc2FnZS9jcmVhdGUvbWVzc2FnZS5jcmVhdGUucmVxdWVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVQSxNQUFNLFVBQVUsd0JBQXdCLENBQUMsT0FBNkI7SUFDcEUsT0FBUSxPQUEyQyxDQUFDLElBQUksS0FBSyxTQUFTLENBQUM7QUFDekUsQ0FBQyJ9 |
import { Channel } from '../../channel/channel.model'; | ||
export declare class GetChannelMessagesRequest { | ||
export declare class GetMessagesRequest { | ||
channel: Channel; | ||
} |
{ | ||
"name": "chatkitty", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "JS SDK for the ChatKitty Chat API", | ||
@@ -5,0 +5,0 @@ "main": "build/main/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167952
2363