@signalapp/mock-server
Version:
Mock Signal Server for writing tests
28 lines (27 loc) • 711 B
JavaScript
;
// Copyright 2026 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
Object.defineProperty(exports, "__esModule", { value: true });
exports.ServerCall = void 0;
const call_1 = require("../data/call");
class ServerCall extends call_1.CallData {
#roomId;
#eraId;
#creatorUserId;
constructor(options) {
super(options);
this.#roomId = options.roomId;
this.#eraId = options.eraId;
this.#creatorUserId = options.creatorUserId;
}
get roomId() {
return this.#roomId;
}
get eraId() {
return this.#eraId;
}
get creatorUserId() {
return this.#creatorUserId;
}
}
exports.ServerCall = ServerCall;