run api extractor
This commit is contained in:
parent
313ebcde43
commit
1b6216df51
|
@ -551,7 +551,7 @@ type Channel = components['schemas']['Channel'];
|
||||||
// Warning: (ae-forgotten-export) The symbol "AnyOf" needs to be exported by the entry point index.d.ts
|
// Warning: (ae-forgotten-export) The symbol "AnyOf" needs to be exported by the entry point index.d.ts
|
||||||
//
|
//
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
export abstract class ChannelConnection<Channel extends AnyOf<Channels> = any> extends EventEmitter<Channel['events']> {
|
export abstract class ChannelConnection<Channel extends AnyOf<Channels> = any> extends EventEmitter<Channel['events']> implements IChannelConnection<Channel> {
|
||||||
constructor(stream: Stream, channel: string, name?: string);
|
constructor(stream: Stream, channel: string, name?: string);
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
channel: string;
|
channel: string;
|
||||||
|
@ -2114,6 +2114,24 @@ type IAuthorizedAppsResponse = operations['i___authorized-apps']['responses']['2
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
type IChangePasswordRequest = operations['i___change-password']['requestBody']['content']['application/json'];
|
type IChangePasswordRequest = operations['i___change-password']['requestBody']['content']['application/json'];
|
||||||
|
|
||||||
|
// @public (undocumented)
|
||||||
|
export interface IChannelConnection<Channel extends AnyOf<Channels> = any> extends EventEmitter<Channel['events']> {
|
||||||
|
// (undocumented)
|
||||||
|
channel: string;
|
||||||
|
// (undocumented)
|
||||||
|
dispose(): void;
|
||||||
|
// (undocumented)
|
||||||
|
id: string;
|
||||||
|
// (undocumented)
|
||||||
|
inCount: number;
|
||||||
|
// (undocumented)
|
||||||
|
name?: string;
|
||||||
|
// (undocumented)
|
||||||
|
outCount: number;
|
||||||
|
// (undocumented)
|
||||||
|
send<T extends keyof Channel['receives']>(type: T, body: Channel['receives'][T]): void;
|
||||||
|
}
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
type IClaimAchievementRequest = operations['i___claim-achievement']['requestBody']['content']['application/json'];
|
type IClaimAchievementRequest = operations['i___claim-achievement']['requestBody']['content']['application/json'];
|
||||||
|
|
||||||
|
@ -2273,6 +2291,40 @@ type ISigninHistoryRequest = operations['i___signin-history']['requestBody']['co
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
type ISigninHistoryResponse = operations['i___signin-history']['responses']['200']['content']['application/json'];
|
type ISigninHistoryResponse = operations['i___signin-history']['responses']['200']['content']['application/json'];
|
||||||
|
|
||||||
|
// @public (undocumented)
|
||||||
|
export interface IStream extends EventEmitter<StreamEvents> {
|
||||||
|
// (undocumented)
|
||||||
|
close(): void;
|
||||||
|
// Warning: (ae-forgotten-export) The symbol "NonSharedConnection" needs to be exported by the entry point index.d.ts
|
||||||
|
//
|
||||||
|
// (undocumented)
|
||||||
|
disconnectToChannel(connection: NonSharedConnection): void;
|
||||||
|
// (undocumented)
|
||||||
|
heartbeat(): void;
|
||||||
|
// (undocumented)
|
||||||
|
ping(): void;
|
||||||
|
// Warning: (ae-forgotten-export) The symbol "SharedConnection" needs to be exported by the entry point index.d.ts
|
||||||
|
//
|
||||||
|
// (undocumented)
|
||||||
|
removeSharedConnection(connection: SharedConnection): void;
|
||||||
|
// Warning: (ae-forgotten-export) The symbol "Pool" needs to be exported by the entry point index.d.ts
|
||||||
|
//
|
||||||
|
// (undocumented)
|
||||||
|
removeSharedConnectionPool(pool: Pool): void;
|
||||||
|
// (undocumented)
|
||||||
|
send(typeOrPayload: string): void;
|
||||||
|
// (undocumented)
|
||||||
|
send(typeOrPayload: string, payload: any): void;
|
||||||
|
// (undocumented)
|
||||||
|
send(typeOrPayload: Record<string, any> | any[]): void;
|
||||||
|
// (undocumented)
|
||||||
|
send(typeOrPayload: string | Record<string, any> | any[], payload?: any): void;
|
||||||
|
// (undocumented)
|
||||||
|
state: 'initializing' | 'reconnecting' | 'connected';
|
||||||
|
// (undocumented)
|
||||||
|
useChannel<C extends keyof Channels>(channel: C, params?: Channels[C]['params'], name?: string): IChannelConnection<Channels[C]>;
|
||||||
|
}
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
type IUnpinRequest = operations['i___unpin']['requestBody']['content']['application/json'];
|
type IUnpinRequest = operations['i___unpin']['requestBody']['content']['application/json'];
|
||||||
|
|
||||||
|
@ -2947,7 +2999,7 @@ type SignupResponse = MeDetailed & {
|
||||||
type StatsResponse = operations['stats']['responses']['200']['content']['application/json'];
|
type StatsResponse = operations['stats']['responses']['200']['content']['application/json'];
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
export class Stream extends EventEmitter<StreamEvents> {
|
export class Stream extends EventEmitter<StreamEvents> implements IStream {
|
||||||
constructor(origin: string, user: {
|
constructor(origin: string, user: {
|
||||||
token: string;
|
token: string;
|
||||||
} | null, options?: {
|
} | null, options?: {
|
||||||
|
@ -2955,20 +3007,14 @@ export class Stream extends EventEmitter<StreamEvents> {
|
||||||
});
|
});
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
close(): void;
|
close(): void;
|
||||||
// Warning: (ae-forgotten-export) The symbol "NonSharedConnection" needs to be exported by the entry point index.d.ts
|
|
||||||
//
|
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
disconnectToChannel(connection: NonSharedConnection): void;
|
disconnectToChannel(connection: NonSharedConnection): void;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
heartbeat(): void;
|
heartbeat(): void;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
ping(): void;
|
ping(): void;
|
||||||
// Warning: (ae-forgotten-export) The symbol "SharedConnection" needs to be exported by the entry point index.d.ts
|
|
||||||
//
|
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
removeSharedConnection(connection: SharedConnection): void;
|
removeSharedConnection(connection: SharedConnection): void;
|
||||||
// Warning: (ae-forgotten-export) The symbol "Pool" needs to be exported by the entry point index.d.ts
|
|
||||||
//
|
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
removeSharedConnectionPool(pool: Pool): void;
|
removeSharedConnectionPool(pool: Pool): void;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
|
|
Loading…
Reference in New Issue