mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Autobahn: Add missing Publish Options (#16233)
Add all the missing publish options to interface IPublishOptions (according to documentation https://github.com/crossbario/autobahn-js/blob/master/doc/programming.md#publishing-events ). "disclose_me" is undocumented but it is indeed used inside autobahn's code
This commit is contained in:
Vendored
+8
-2
@@ -1,6 +1,6 @@
|
||||
// Type definitions for AutobahnJS v0.9.7
|
||||
// Project: http://autobahn.ws/js/
|
||||
// Definitions by: Elad Zelingher <https://github.com/darkl/>, Andy Hawkins <https://github.com/a904guy/,http://a904guy.com/,http://www.bmbsqd.com>
|
||||
// Definitions by: Elad Zelingher <https://github.com/darkl/>, Andy Hawkins <https://github.com/a904guy/,http://a904guy.com/,http://www.bmbsqd.com>, Wladimir Totino <https://github.com/valepu>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="when" />
|
||||
@@ -167,8 +167,14 @@ declare namespace autobahn {
|
||||
interface IPublishOptions {
|
||||
acknowledge?: boolean;
|
||||
exclude?: number[];
|
||||
exclude_authid?: string[];
|
||||
exclude_authrole?: string[];
|
||||
eligible?: number[];
|
||||
disclose_me?: Boolean;
|
||||
eligible_authid?: string[];
|
||||
eligible_authrole?: string[];
|
||||
retain?: boolean;
|
||||
disclose_me?: boolean;
|
||||
exclude_me?: boolean;
|
||||
}
|
||||
|
||||
interface ISubscribeOptions {
|
||||
|
||||
Reference in New Issue
Block a user