@genesislcap/foundation-comms 14.167.3-alpha-b40d1e5.0 → 14.167.3-alpha-69ba23f.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/auth/auth.d.ts.map +1 -1
- package/dist/dts/connect/connect.d.ts +1 -11
- package/dist/dts/connect/connect.d.ts.map +1 -1
- package/dist/dts/connect/http.connect.d.ts +0 -1
- package/dist/dts/connect/http.connect.d.ts.map +1 -1
- package/dist/dts/connect/index.d.ts +0 -2
- package/dist/dts/connect/index.d.ts.map +1 -1
- package/dist/dts/connect/message.d.ts +0 -51
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/connect/socket.d.ts +8 -72
- package/dist/dts/connect/socket.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.d.ts +0 -9
- package/dist/dts/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/fdc3/fdc3.d.ts +1 -17
- package/dist/dts/fdc3/fdc3.d.ts.map +1 -1
- package/dist/dts/index.d.ts +0 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/connect.d.ts +0 -1
- package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts +1 -5
- package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts +0 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/user/user.d.ts +0 -15
- package/dist/dts/user/user.d.ts.map +1 -1
- package/dist/esm/auth/auth.js +2 -5
- package/dist/esm/connect/connect.js +8 -30
- package/dist/esm/connect/http.connect.js +0 -6
- package/dist/esm/connect/index.js +0 -2
- package/dist/esm/connect/message.js +4 -25
- package/dist/esm/connect/socket.js +44 -113
- package/dist/esm/datasource/datasource.js +8 -18
- package/dist/esm/fdc3/fdc3.js +4 -4
- package/dist/esm/index.js +0 -1
- package/dist/esm/testing/mocks/connect/connect.js +0 -3
- package/dist/esm/testing/mocks/connect/socket.js +1 -1
- package/dist/esm/testing/mocks/datasource/datasource.js +0 -1
- package/dist/esm/user/user.js +1 -22
- package/dist/foundation-comms.api.json +6567 -13112
- package/dist/foundation-comms.d.ts +13 -841
- package/docs/api/foundation-comms.connect.md +0 -1
- package/docs/api/foundation-comms.currentuser.md +0 -2
- package/docs/api/foundation-comms.datasource.md +0 -1
- package/docs/api/foundation-comms.defaultconnect._constructor_.md +1 -2
- package/docs/api/foundation-comms.defaultconnect.md +1 -2
- package/docs/api/foundation-comms.defaultdatasource.md +0 -1
- package/docs/api/foundation-comms.defaulthttpconnect.md +0 -1
- package/docs/api/foundation-comms.md +0 -39
- package/docs/api/foundation-comms.messagebuilder.md +0 -1
- package/docs/api/foundation-comms.messagetype.md +0 -2
- package/docs/api/foundation-comms.socket.hasvalidsession.md +11 -0
- package/docs/api/foundation-comms.socket.isconnected.md +11 -0
- package/docs/api/{foundation-comms.socketstatus.isconnectedsubject.md → foundation-comms.socket.isconnectedsubject.md} +2 -2
- package/docs/api/foundation-comms.socket.isreconnecting.md +11 -0
- package/docs/api/foundation-comms.socket.md +11 -3
- package/docs/api/foundation-comms.socket.sendforstream.md +1 -2
- package/docs/api/foundation-comms.user.md +0 -2
- package/docs/api-report.md +16 -520
- package/package.json +11 -13
- package/dist/dts/connect/connect.events.d.ts +0 -173
- package/dist/dts/connect/connect.events.d.ts.map +0 -1
- package/dist/dts/connect/socket.status.d.ts +0 -79
- package/dist/dts/connect/socket.status.d.ts.map +0 -1
- package/dist/dts/networkMonitor/config.d.ts +0 -56
- package/dist/dts/networkMonitor/config.d.ts.map +0 -1
- package/dist/dts/networkMonitor/index.d.ts +0 -4
- package/dist/dts/networkMonitor/index.d.ts.map +0 -1
- package/dist/dts/networkMonitor/service.d.ts +0 -193
- package/dist/dts/networkMonitor/service.d.ts.map +0 -1
- package/dist/dts/networkMonitor/types.d.ts +0 -133
- package/dist/dts/networkMonitor/types.d.ts.map +0 -1
- package/dist/esm/connect/connect.events.js +0 -113
- package/dist/esm/connect/socket.status.js +0 -119
- package/dist/esm/networkMonitor/config.js +0 -46
- package/dist/esm/networkMonitor/index.js +0 -3
- package/dist/esm/networkMonitor/service.js +0 -432
- package/dist/esm/networkMonitor/types.js +0 -5
- package/docs/api/foundation-comms.commitevent.md +0 -14
- package/docs/api/foundation-comms.commiteventdetail.md +0 -17
- package/docs/api/foundation-comms.commiteventtype.md +0 -12
- package/docs/api/foundation-comms.connect.getmorecolumns.md +0 -26
- package/docs/api/foundation-comms.connectevents.addcommitlistener.md +0 -24
- package/docs/api/foundation-comms.connectevents.addmetadatalistener.md +0 -24
- package/docs/api/foundation-comms.connectevents.addstreamlistener.md +0 -25
- package/docs/api/foundation-comms.connectevents.md +0 -22
- package/docs/api/foundation-comms.connecteventsemitter.md +0 -24
- package/docs/api/foundation-comms.connecteventsemitter.oncommitevent.md +0 -25
- package/docs/api/foundation-comms.connecteventsemitter.onmetadataevent.md +0 -26
- package/docs/api/foundation-comms.connecteventsemitter.onstreamcompleteevent.md +0 -24
- package/docs/api/foundation-comms.connecteventsemitter.onstreamevent.md +0 -27
- package/docs/api/foundation-comms.currentuser.set.md +0 -22
- package/docs/api/foundation-comms.currentuser.unset.md +0 -15
- package/docs/api/foundation-comms.datasource.destroy.md +0 -17
- package/docs/api/foundation-comms.defaultconnect.getmorecolumns.md +0 -22
- package/docs/api/foundation-comms.defaultconnectevents.addcommitlistener.md +0 -24
- package/docs/api/foundation-comms.defaultconnectevents.addmetadatalistener.md +0 -24
- package/docs/api/foundation-comms.defaultconnectevents.addstreamlistener.md +0 -25
- package/docs/api/foundation-comms.defaultconnectevents.md +0 -27
- package/docs/api/foundation-comms.defaultconnectevents.oncommitevent.md +0 -25
- package/docs/api/foundation-comms.defaultconnectevents.onmetadataevent.md +0 -26
- package/docs/api/foundation-comms.defaultconnectevents.onstreamcompleteevent.md +0 -24
- package/docs/api/foundation-comms.defaultconnectevents.onstreamevent.md +0 -27
- package/docs/api/foundation-comms.defaultdatasource.destroy.md +0 -17
- package/docs/api/foundation-comms.defaulthttpconnect.getmorecolumns.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder._constructor_.md +0 -21
- package/docs/api/foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md +0 -24
- package/docs/api/foundation-comms.defaultmessagebuilder.createcommitmessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogonmessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md +0 -24
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md +0 -25
- package/docs/api/foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createloginmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createlogoutmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createmetarequestmessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorerowsmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md +0 -15
- package/docs/api/foundation-comms.defaultmessagebuilder.createrequestmessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createresourcesmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.md +0 -41
- package/docs/api/foundation-comms.defaultnetworkmonitor.addresource.md +0 -23
- package/docs/api/foundation-comms.defaultnetworkmonitor.create.md +0 -16
- package/docs/api/foundation-comms.defaultnetworkmonitor.destroy.md +0 -16
- package/docs/api/foundation-comms.defaultnetworkmonitor.md +0 -31
- package/docs/api/foundation-comms.defaultnetworkmonitor.removeresource.md +0 -22
- package/docs/api/foundation-comms.defaultnetworkmonitor.runallchecks.md +0 -11
- package/docs/api/foundation-comms.defaultnetworkmonitor.status.md +0 -12
- package/docs/api/foundation-comms.defaultnetworkmonitorconfig.md +0 -13
- package/docs/api/foundation-comms.defaultsocket._constructor_.md +0 -24
- package/docs/api/foundation-comms.defaultsocket.connect.md +0 -24
- package/docs/api/foundation-comms.defaultsocket.hasvalidsession.md +0 -13
- package/docs/api/foundation-comms.defaultsocket.isconfigured.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isconnected.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isconnectedsubject.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isconnecting.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isdisconnected.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isdisconnectedbyserver.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isreconnecting.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.md +0 -44
- package/docs/api/foundation-comms.defaultsocket.reset.md +0 -15
- package/docs/api/foundation-comms.defaultsocket.send.md +0 -23
- package/docs/api/foundation-comms.defaultsocket.sendforstream.md +0 -25
- package/docs/api/foundation-comms.defaultsocket.socketmessages.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.closedclean.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.closedcode.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.closedreason.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.hasvalidsession.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isconfigured.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isconnected.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isconnectedchanged.md +0 -15
- package/docs/api/foundation-comms.defaultsocketstatus.isconnectedsubject.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isconnecting.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isdisconnected.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isdisconnectedbyserver.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isreconnecting.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isreconnectingchanged.md +0 -15
- package/docs/api/foundation-comms.defaultsocketstatus.md +0 -42
- package/docs/api/foundation-comms.defaultsocketstatus.onclose.md +0 -22
- package/docs/api/foundation-comms.defaultsocketstatus.reconnectionlimitreached.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.resetclosedstate.md +0 -15
- package/docs/api/foundation-comms.defaultsocketstatus.serialize.md +0 -15
- package/docs/api/foundation-comms.genesisconnectevents.md +0 -18
- package/docs/api/foundation-comms.getnetworkmonitor.md +0 -30
- package/docs/api/foundation-comms.getsocket.md +0 -30
- package/docs/api/foundation-comms.getsocketstatus.md +0 -30
- package/docs/api/foundation-comms.messagebuilder.createmorecolumnsmessage.md +0 -30
- package/docs/api/foundation-comms.messagehaserrorcode.md +0 -13
- package/docs/api/foundation-comms.metadataevent.md +0 -14
- package/docs/api/foundation-comms.metadataeventdetail.md +0 -18
- package/docs/api/foundation-comms.metadataeventtype.md +0 -12
- package/docs/api/foundation-comms.monitoredresource.md +0 -15
- package/docs/api/foundation-comms.monitoredresourcechecks.md +0 -15
- package/docs/api/foundation-comms.monitoredresourcechecksresult.isconnected.md +0 -11
- package/docs/api/foundation-comms.monitoredresourcechecksresult.lastmessage.md +0 -11
- package/docs/api/foundation-comms.monitoredresourcechecksresult.lastupdated.md +0 -11
- package/docs/api/foundation-comms.monitoredresourcechecksresult.md +0 -23
- package/docs/api/foundation-comms.monitoredresourcechecksresult.timeout.md +0 -11
- package/docs/api/foundation-comms.monitoredresourcedatalogon.md +0 -15
- package/docs/api/foundation-comms.monitoredresourcemetadata.md +0 -15
- package/docs/api/foundation-comms.networklogger.md +0 -12
- package/docs/api/foundation-comms.networkmonitor.addresource.md +0 -23
- package/docs/api/foundation-comms.networkmonitor.create.md +0 -15
- package/docs/api/foundation-comms.networkmonitor.destroy.md +0 -15
- package/docs/api/foundation-comms.networkmonitor.md +0 -34
- package/docs/api/foundation-comms.networkmonitor.removeresource.md +0 -22
- package/docs/api/foundation-comms.networkmonitor.runallchecks.md +0 -23
- package/docs/api/foundation-comms.networkmonitor.status.md +0 -11
- package/docs/api/foundation-comms.networkmonitorconfig.checkinterval.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.checktimeout.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.documentevents.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.eventemitter.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.genesisconnectevents.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.md +0 -27
- package/docs/api/foundation-comms.networkmonitorconfig.resourcechecks.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.resourcedatalogon.md +0 -18
- package/docs/api/foundation-comms.networkmonitorconfig.windowevents.md +0 -13
- package/docs/api/foundation-comms.resourcehealth.md +0 -19
- package/docs/api/foundation-comms.serializedsocketstatus.closedclean.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.closedcode.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.closedreason.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.hasvalidsession.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isconfigured.md +0 -13
- package/docs/api/foundation-comms.serializedsocketstatus.isconnected.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isconnecting.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isdisconnected.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isdisconnectedbyserver.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isreconnecting.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.md +0 -30
- package/docs/api/foundation-comms.serializedsocketstatus.reconnectionlimitreached.md +0 -11
- package/docs/api/foundation-comms.socketstatus.md +0 -28
- package/docs/api/foundation-comms.socketstatus.onclose.md +0 -22
- package/docs/api/foundation-comms.socketstatus.serialize.md +0 -15
- package/docs/api/foundation-comms.streamcompleteevent.md +0 -14
- package/docs/api/foundation-comms.streamcompleteeventtype.md +0 -12
- package/docs/api/foundation-comms.streamevent.md +0 -14
- package/docs/api/foundation-comms.streameventdetail.md +0 -19
- package/docs/api/foundation-comms.streameventfunctions.md +0 -19
- package/docs/api/foundation-comms.streameventtype.md +0 -12
- package/docs/api/foundation-comms.systemhealthchanged.md +0 -13
- package/docs/api/foundation-comms.systemhealthchangedevent.md +0 -15
- package/docs/api/foundation-comms.systemhealthstatus.md +0 -29
- package/docs/api/foundation-comms.user.set.md +0 -22
- package/docs/api/foundation-comms.user.unset.md +0 -15
package/docs/api-report.md
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
|
9
9
|
import { AppIntent } from '@finos/fdc3';
|
10
10
|
import { BehaviorSubject } from 'rxjs';
|
11
|
-
import { default as Bowser_2 } from 'bowser';
|
12
11
|
import { Channel } from '@finos/fdc3';
|
13
12
|
import { Context } from '@finos/fdc3';
|
14
13
|
import { ContextHandler } from '@finos/fdc3';
|
@@ -18,14 +17,11 @@ import { Intents } from '@finos/fdc3';
|
|
18
17
|
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
19
18
|
import { JSONSchema7 } from 'json-schema';
|
20
19
|
import { JSONSerializer } from '@genesislcap/foundation-utils';
|
21
|
-
import { Listener } from '@genesislcap/foundation-utils';
|
22
20
|
import { Logger } from '@genesislcap/foundation-logger';
|
23
21
|
import { Observable } from 'rxjs';
|
24
|
-
import { Observer } from '
|
25
|
-
import { Observer as Observer_2 } from 'rxjs';
|
22
|
+
import { Observer } from 'rxjs';
|
26
23
|
import { Subscription as SocketSubscription } from 'rxjs';
|
27
24
|
import { Subject } from 'rxjs';
|
28
|
-
import { UUID } from '@genesislcap/foundation-utils';
|
29
25
|
|
30
26
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Auth" because one of its declarations is marked as @internal
|
31
27
|
//
|
@@ -122,18 +118,6 @@ export type BasicCredentialsInput = {
|
|
122
118
|
password: string;
|
123
119
|
};
|
124
120
|
|
125
|
-
// @public (undocumented)
|
126
|
-
export type CommitEvent = CustomEvent<CommitEventDetail>;
|
127
|
-
|
128
|
-
// @public (undocumented)
|
129
|
-
export type CommitEventDetail = {
|
130
|
-
eventName: string;
|
131
|
-
message: Message;
|
132
|
-
};
|
133
|
-
|
134
|
-
// @public (undocumented)
|
135
|
-
export const CommitEventType = "connect-commit-event";
|
136
|
-
|
137
121
|
// @public
|
138
122
|
export type CommitParams = {
|
139
123
|
DETAILS: any;
|
@@ -153,7 +137,6 @@ export interface Connect {
|
|
153
137
|
getAvailableResources(params?: RequestParams): Promise<Message>;
|
154
138
|
getJSONSchema(resourceName: string): Promise<SchemaResponse>;
|
155
139
|
getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
|
156
|
-
getMoreColumns(sourceRef: string): Promise<Message>;
|
157
140
|
getMoreRows(sourceRef: string): Promise<Message>;
|
158
141
|
// @internal
|
159
142
|
httpMode(): boolean;
|
@@ -185,31 +168,6 @@ export interface ConnectConfig {
|
|
185
168
|
// @internal
|
186
169
|
export const ConnectConfig: InterfaceSymbol<ConnectConfig>;
|
187
170
|
|
188
|
-
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "ConnectEvents" because one of its declarations is marked as @internal
|
189
|
-
//
|
190
|
-
// @public
|
191
|
-
export interface ConnectEvents {
|
192
|
-
addCommitListener(listener: Listener<CommitEvent>): () => void;
|
193
|
-
addMetadataListener(listener: Listener<MetadataEvent>): () => void;
|
194
|
-
addStreamListener(listener: Listener<StreamEvent>, complete: Listener<StreamCompleteEvent>): () => void;
|
195
|
-
}
|
196
|
-
|
197
|
-
// @internal
|
198
|
-
export const ConnectEvents: InterfaceSymbol<ConnectEvents>;
|
199
|
-
|
200
|
-
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "ConnectEventsEmitter" because one of its declarations is marked as @internal
|
201
|
-
//
|
202
|
-
// @public
|
203
|
-
export interface ConnectEventsEmitter extends ConnectEvents {
|
204
|
-
onCommitEvent(eventName: string, message: Message): void;
|
205
|
-
onMetadataEvent(resourceName: string, message: Message<MessageDetails.MetaRequest>, error?: any): void;
|
206
|
-
onStreamCompleteEvent(stream: SocketObservable<any>): void;
|
207
|
-
onStreamEvent(resourceName: string, message: Message<MessageDetails.DataserverRequest>, stream: SocketObservable<any>, functions: StreamEventFunctions): void;
|
208
|
-
}
|
209
|
-
|
210
|
-
// @internal
|
211
|
-
export const ConnectEventsEmitter: InterfaceSymbol<ConnectEventsEmitter>;
|
212
|
-
|
213
171
|
// @public
|
214
172
|
export type ConnectionStatus = 'connected' | 'disconnected' | 'busy';
|
215
173
|
|
@@ -232,8 +190,6 @@ export class ConnectMock implements Connect {
|
|
232
190
|
// (undocumented)
|
233
191
|
getMetadata(resourceName: string): Promise<Metadata>;
|
234
192
|
// (undocumented)
|
235
|
-
getMoreColumns(sourceRef: string): Promise<Message<any>>;
|
236
|
-
// (undocumented)
|
237
193
|
getMoreRows(sourceRef: string): Promise<Message<any>>;
|
238
194
|
// (undocumented)
|
239
195
|
httpMode(): boolean;
|
@@ -365,10 +321,6 @@ export class CurrentUser implements User {
|
|
365
321
|
// (undocumented)
|
366
322
|
profiles: UserProfile[];
|
367
323
|
// (undocumented)
|
368
|
-
set(options: UserOptions): void;
|
369
|
-
// (undocumented)
|
370
|
-
unset(): void;
|
371
|
-
// (undocumented)
|
372
324
|
username: string;
|
373
325
|
}
|
374
326
|
|
@@ -385,7 +337,6 @@ export interface Datasource {
|
|
385
337
|
dataHandler?(data: Array<any>): Array<any>;
|
386
338
|
deinit(): any;
|
387
339
|
deleteItem?(itemId: string): Promise<void>;
|
388
|
-
destroy(): void;
|
389
340
|
dropView?(view: Dataview): void;
|
390
341
|
fieldMetadata: FieldMetadata[];
|
391
342
|
getMetadata?(resourceName: string): Promise<Array<FieldMetadata>>;
|
@@ -451,8 +402,6 @@ export class DatasourceMock implements Datasource {
|
|
451
402
|
// (undocumented)
|
452
403
|
deleteItem?(itemId: string): Promise<void>;
|
453
404
|
// (undocumented)
|
454
|
-
destroy(): void;
|
455
|
-
// (undocumented)
|
456
405
|
dropView?(view: Dataview): void;
|
457
406
|
// (undocumented)
|
458
407
|
fieldMetadata: FieldMetadata[];
|
@@ -539,7 +488,7 @@ export class DefaultAuth implements Auth {
|
|
539
488
|
|
540
489
|
// @public
|
541
490
|
export class DefaultConnect implements Connect {
|
542
|
-
constructor(socket: Socket, messageBuilder: MessageBuilder, metaCache: MetaCache,
|
491
|
+
constructor(socket: Socket, messageBuilder: MessageBuilder, metaCache: MetaCache, config?: ConnectConfig);
|
543
492
|
// (undocumented)
|
544
493
|
commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
|
545
494
|
// (undocumented)
|
@@ -555,8 +504,6 @@ export class DefaultConnect implements Connect {
|
|
555
504
|
// (undocumented)
|
556
505
|
getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
|
557
506
|
// (undocumented)
|
558
|
-
getMoreColumns(sourceRef: string): Promise<Message>;
|
559
|
-
// (undocumented)
|
560
507
|
getMoreRows(sourceRef: string): Promise<Message>;
|
561
508
|
// (undocumented)
|
562
509
|
httpMode(): boolean;
|
@@ -585,46 +532,6 @@ export class DefaultConnect implements Connect {
|
|
585
532
|
// @public
|
586
533
|
export const defaultConnectConfig: ConnectConfig;
|
587
534
|
|
588
|
-
// @public
|
589
|
-
export class DefaultConnectEvents implements ConnectEventsEmitter {
|
590
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEvents" has more than one declaration; you need to add a TSDoc member reference selector
|
591
|
-
//
|
592
|
-
// (undocumented)
|
593
|
-
addCommitListener(listener: Listener<CommitEvent>): () => void;
|
594
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEvents" has more than one declaration; you need to add a TSDoc member reference selector
|
595
|
-
//
|
596
|
-
// (undocumented)
|
597
|
-
addMetadataListener(listener: Listener<MetadataEvent>): () => void;
|
598
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEvents" has more than one declaration; you need to add a TSDoc member reference selector
|
599
|
-
//
|
600
|
-
// (undocumented)
|
601
|
-
addStreamListener(listener: Listener<StreamEvent>, complete: Listener<StreamCompleteEvent>): () => void;
|
602
|
-
// @internal (undocumented)
|
603
|
-
protected commitListeners: Observer<CommitEvent>;
|
604
|
-
// @internal (undocumented)
|
605
|
-
protected metadataListeners: Observer<MetadataEvent>;
|
606
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEventsEmitter" has more than one declaration; you need to add a TSDoc member reference selector
|
607
|
-
//
|
608
|
-
// (undocumented)
|
609
|
-
onCommitEvent(eventName: string, message: Message): void;
|
610
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEventsEmitter" has more than one declaration; you need to add a TSDoc member reference selector
|
611
|
-
//
|
612
|
-
// (undocumented)
|
613
|
-
onMetadataEvent(resourceName: string, message: Message<MessageDetails.MetaRequest>, error?: any): void;
|
614
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEventsEmitter" has more than one declaration; you need to add a TSDoc member reference selector
|
615
|
-
//
|
616
|
-
// (undocumented)
|
617
|
-
onStreamCompleteEvent(stream: SocketObservable<any>): void;
|
618
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "ConnectEventsEmitter" has more than one declaration; you need to add a TSDoc member reference selector
|
619
|
-
//
|
620
|
-
// (undocumented)
|
621
|
-
onStreamEvent(resourceName: string, message: Message<MessageDetails.DataserverRequest>, stream: SocketObservable<any>, functions: StreamEventFunctions): void;
|
622
|
-
// @internal (undocumented)
|
623
|
-
protected streamCompleteListeners: Observer<StreamCompleteEvent>;
|
624
|
-
// @internal (undocumented)
|
625
|
-
protected streamListeners: Observer<StreamEvent>;
|
626
|
-
}
|
627
|
-
|
628
535
|
// @public
|
629
536
|
export class DefaultCredentialManager implements CredentialManager {
|
630
537
|
constructor(session: Session, config?: CredentialManagerConfig);
|
@@ -699,10 +606,6 @@ export class DefaultDatasource implements Datasource {
|
|
699
606
|
protected connect: Connect;
|
700
607
|
// (undocumented)
|
701
608
|
deinit(): void;
|
702
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "Datasource" has more than one declaration; you need to add a TSDoc member reference selector
|
703
|
-
//
|
704
|
-
// (undocumented)
|
705
|
-
destroy(): void;
|
706
609
|
// (undocumented)
|
707
610
|
fieldMetadata: FieldMetadata[];
|
708
611
|
// (undocumented)
|
@@ -778,30 +681,6 @@ export class DefaultEntityDatasource<TDTO, TEntity> extends DefaultDatasource im
|
|
778
681
|
protected updateCache(result: FilteredDataServerResult): void;
|
779
682
|
}
|
780
683
|
|
781
|
-
// Warning: (ae-forgotten-export) The symbol "FDC3_2" needs to be exported by the entry point index.d.ts
|
782
|
-
// Warning: (ae-internal-missing-underscore) The name "DefaultFDC3" should be prefixed with an underscore because the declaration is marked as @internal
|
783
|
-
//
|
784
|
-
// @internal
|
785
|
-
export class DefaultFDC3 implements FDC3_2 {
|
786
|
-
constructor();
|
787
|
-
// (undocumented)
|
788
|
-
addIntentListeners(listeners: Map<FDC3Intents, FDC3ContextHandler>): void;
|
789
|
-
// (undocumented)
|
790
|
-
broadcastOnChannel(channelId: string, context: FDC3Context): Promise<void>;
|
791
|
-
// (undocumented)
|
792
|
-
findIntent(intent: FDC3Intents, context?: FDC3Context): Promise<FDC3AppIntent>;
|
793
|
-
// (undocumented)
|
794
|
-
findIntentsByContext(context: FDC3Context): Promise<FDC3AppIntent[]>;
|
795
|
-
// (undocumented)
|
796
|
-
getOrCreateChannel(channelId: string): Promise<FDC3Channel>;
|
797
|
-
// (undocumented)
|
798
|
-
isReady: boolean;
|
799
|
-
// (undocumented)
|
800
|
-
joinChannel(channelId: string): Promise<void>;
|
801
|
-
// (undocumented)
|
802
|
-
raiseIntent(context: FDC3Context, intent?: FDC3Intents): Promise<FDC3IntentResolution>;
|
803
|
-
}
|
804
|
-
|
805
684
|
// @public
|
806
685
|
export class DefaultFoundationAnalytics implements FoundationAnalytics {
|
807
686
|
constructor(config: {
|
@@ -840,8 +719,6 @@ export class DefaultHttpConnect implements Connect {
|
|
840
719
|
// (undocumented)
|
841
720
|
getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
|
842
721
|
// (undocumented)
|
843
|
-
getMoreColumns(sourceRef: string): Promise<Message>;
|
844
|
-
// (undocumented)
|
845
722
|
getMoreRows(sourceRef: string): Promise<Message>;
|
846
723
|
// (undocumented)
|
847
724
|
host: string;
|
@@ -885,41 +762,6 @@ export class DefaultKVStorage implements KVStorage {
|
|
885
762
|
// @alpha
|
886
763
|
export const defaultKVStorageConfig: KVStorageConfig;
|
887
764
|
|
888
|
-
// @public
|
889
|
-
export class DefaultMessageBuilder implements MessageBuilder {
|
890
|
-
constructor(session: Session, uuid: UUID);
|
891
|
-
// (undocumented)
|
892
|
-
createChangePasswordMessage(username: string, oldPassword: string, newPassword: string): Message<MessageDetails.ChangePassword>;
|
893
|
-
// (undocumented)
|
894
|
-
createCommitMessage<T = any>(eventName: string, params?: CommitParams): Message<T>;
|
895
|
-
// (undocumented)
|
896
|
-
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
897
|
-
// (undocumented)
|
898
|
-
createDataLogonMessage(resourceName: string, params?: any): Message<MessageDetails.DataserverRequest>;
|
899
|
-
// (undocumented)
|
900
|
-
createForgotPasswordMessage(username: string, returnUrl: string, requester?: string): Message<MessageDetails.ForgotPassword>;
|
901
|
-
// (undocumented)
|
902
|
-
createForgotPasswordTokenMessage(username: string, resetToken: string, newPassword: string, requester?: string): Message<MessageDetails.ForgotPasswordToken>;
|
903
|
-
// (undocumented)
|
904
|
-
createHTTPHeadersFromMessage(message: Message, contentType?: string): HeadersInit;
|
905
|
-
// (undocumented)
|
906
|
-
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
907
|
-
// (undocumented)
|
908
|
-
createLogoutMessage(loginResult?: LoginResult): Message;
|
909
|
-
// (undocumented)
|
910
|
-
createMetaRequestMessage(resourceName: string, messageType?: EventMessageType): Message<MessageDetails.MetaRequest>;
|
911
|
-
// (undocumented)
|
912
|
-
createMoreColumnsMessage(sourceRef: string): Message;
|
913
|
-
// (undocumented)
|
914
|
-
createMoreRowsMessage(sourceRef: string): Message;
|
915
|
-
// (undocumented)
|
916
|
-
createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
|
917
|
-
// (undocumented)
|
918
|
-
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
919
|
-
// (undocumented)
|
920
|
-
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
921
|
-
}
|
922
|
-
|
923
765
|
// @public
|
924
766
|
export class DefaultMetaCache implements MetaCache {
|
925
767
|
// (undocumented)
|
@@ -940,77 +782,6 @@ export class DefaultMetaCache implements MetaCache {
|
|
940
782
|
setMetadataFor(resourceName: string, metadata: Metadata): void;
|
941
783
|
}
|
942
784
|
|
943
|
-
// @public
|
944
|
-
export class DefaultNetworkMonitor implements NetworkMonitor {
|
945
|
-
// @internal (undocumented)
|
946
|
-
protected addListeners(): void;
|
947
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "NetworkMonitor" has more than one declaration; you need to add a TSDoc member reference selector
|
948
|
-
//
|
949
|
-
// (undocumented)
|
950
|
-
addResource(resource: MonitoredResource, metadata: MonitoredResourceMetadata): void;
|
951
|
-
// @internal
|
952
|
-
protected config: NetworkMonitorConfig;
|
953
|
-
// @internal (undocumented)
|
954
|
-
protected connectEvents: ConnectEvents;
|
955
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "NetworkMonitor" has more than one declaration; you need to add a TSDoc member reference selector
|
956
|
-
//
|
957
|
-
// (undocumented)
|
958
|
-
create(): void;
|
959
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "NetworkMonitor" has more than one declaration; you need to add a TSDoc member reference selector
|
960
|
-
//
|
961
|
-
// (undocumented)
|
962
|
-
destroy(): void;
|
963
|
-
// @internal (undocumented)
|
964
|
-
protected getFormattedTimestamp(milliseconds: number): string;
|
965
|
-
// @internal (undocumented)
|
966
|
-
protected getNextTimestamp(): number;
|
967
|
-
// @internal (undocumented)
|
968
|
-
protected getNowTimestamp(): number;
|
969
|
-
// @internal (undocumented)
|
970
|
-
protected internalId: ReturnType<typeof setInterval>;
|
971
|
-
// @internal (undocumented)
|
972
|
-
protected isOnlineCheck(): Promise<boolean>;
|
973
|
-
// @internal (undocumented)
|
974
|
-
protected isRunningChecks: boolean;
|
975
|
-
// @internal (undocumented)
|
976
|
-
protected normaliseEventDetail(detail: Partial<SystemHealthStatus>): SystemHealthStatus;
|
977
|
-
// @internal (undocumented)
|
978
|
-
protected normaliseResourceHealth(health: ResourceHealth, isOnline?: boolean): ResourceHealth;
|
979
|
-
// @internal (undocumented)
|
980
|
-
protected normaliseSerializedSocketStatus(socketStatus: SerializedSocketStatus, isOnline?: boolean): SerializedSocketStatus;
|
981
|
-
// @internal (undocumented)
|
982
|
-
protected removeListeners(): void;
|
983
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "NetworkMonitor" has more than one declaration; you need to add a TSDoc member reference selector
|
984
|
-
//
|
985
|
-
// (undocumented)
|
986
|
-
removeResource(resource: MonitoredResource): void;
|
987
|
-
// @internal (undocumented)
|
988
|
-
protected reportStabilityToGenesis(detail: Partial<SystemHealthStatus>): Promise<boolean>;
|
989
|
-
// @internal (undocumented)
|
990
|
-
protected reportSystemHealth(detail: Partial<SystemHealthStatus>): void;
|
991
|
-
// @internal (undocumented)
|
992
|
-
protected resources: Map<MonitoredResource, MonitoredResourceMetadata>;
|
993
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "NetworkMonitor" has more than one declaration; you need to add a TSDoc member reference selector
|
994
|
-
//
|
995
|
-
// (undocumented)
|
996
|
-
runAllChecks: (source?: unknown, force?: boolean) => Promise<void>;
|
997
|
-
// @internal (undocumented)
|
998
|
-
protected socketStatus: SocketStatus;
|
999
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "NetworkMonitor" has more than one declaration; you need to add a TSDoc member reference selector
|
1000
|
-
//
|
1001
|
-
// (undocumented)
|
1002
|
-
status: SystemHealthStatus;
|
1003
|
-
// @internal (undocumented)
|
1004
|
-
protected synchroniseCheckInterval(): void;
|
1005
|
-
// @internal (undocumented)
|
1006
|
-
protected unsubscribableObservers: any[];
|
1007
|
-
// @internal (undocumented)
|
1008
|
-
protected user: User;
|
1009
|
-
}
|
1010
|
-
|
1011
|
-
// @public
|
1012
|
-
export const defaultNetworkMonitorConfig: NetworkMonitorConfig;
|
1013
|
-
|
1014
785
|
// @public
|
1015
786
|
export class DefaultSession implements Session {
|
1016
787
|
// (undocumented)
|
@@ -1045,76 +816,6 @@ export class DefaultSession implements Session {
|
|
1045
816
|
setStorageKeyPrefix(prefix: string): void;
|
1046
817
|
}
|
1047
818
|
|
1048
|
-
// @public
|
1049
|
-
export class DefaultSocket implements Socket {
|
1050
|
-
constructor(messageBuilder: MessageBuilder, session: Session, serializer: JSONSerializer, uuid: UUID, status: SocketStatus);
|
1051
|
-
// (undocumented)
|
1052
|
-
connect(host: string, connectOptions?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
|
1053
|
-
// (undocumented)
|
1054
|
-
get hasValidSession(): boolean;
|
1055
|
-
set hasValidSession(value: boolean);
|
1056
|
-
// (undocumented)
|
1057
|
-
get isConfigured(): boolean;
|
1058
|
-
// (undocumented)
|
1059
|
-
get isConnected(): boolean;
|
1060
|
-
// (undocumented)
|
1061
|
-
get isConnectedSubject(): BehaviorSubject<boolean>;
|
1062
|
-
// (undocumented)
|
1063
|
-
get isConnecting(): boolean;
|
1064
|
-
// (undocumented)
|
1065
|
-
get isDisconnected(): boolean;
|
1066
|
-
// (undocumented)
|
1067
|
-
get isDisconnectedByServer(): boolean;
|
1068
|
-
// (undocumented)
|
1069
|
-
get isReconnecting(): boolean;
|
1070
|
-
// (undocumented)
|
1071
|
-
reset(): void;
|
1072
|
-
// (undocumented)
|
1073
|
-
send<T>(message: Message<T | any>, needsHandling?: boolean): Promise<Message | any>;
|
1074
|
-
// (undocumented)
|
1075
|
-
sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Function, onComplete?: Function): Observable<Message>;
|
1076
|
-
// (undocumented)
|
1077
|
-
socketMessages: () => SocketSubject<Message>;
|
1078
|
-
}
|
1079
|
-
|
1080
|
-
// @public
|
1081
|
-
export class DefaultSocketStatus implements SocketStatus {
|
1082
|
-
// (undocumented)
|
1083
|
-
closedClean: any;
|
1084
|
-
// (undocumented)
|
1085
|
-
closedCode: any;
|
1086
|
-
// (undocumented)
|
1087
|
-
closedReason: any;
|
1088
|
-
// (undocumented)
|
1089
|
-
hasValidSession: boolean;
|
1090
|
-
// (undocumented)
|
1091
|
-
isConfigured: boolean;
|
1092
|
-
// (undocumented)
|
1093
|
-
isConnected: boolean;
|
1094
|
-
// (undocumented)
|
1095
|
-
protected isConnectedChanged(): void;
|
1096
|
-
// (undocumented)
|
1097
|
-
isConnectedSubject: BehaviorSubject<boolean>;
|
1098
|
-
// (undocumented)
|
1099
|
-
isConnecting: boolean;
|
1100
|
-
// (undocumented)
|
1101
|
-
get isDisconnected(): boolean;
|
1102
|
-
// (undocumented)
|
1103
|
-
get isDisconnectedByServer(): boolean;
|
1104
|
-
// (undocumented)
|
1105
|
-
isReconnecting: boolean;
|
1106
|
-
// (undocumented)
|
1107
|
-
protected isReconnectingChanged(): void;
|
1108
|
-
// (undocumented)
|
1109
|
-
onClose(event: CloseEvent): void;
|
1110
|
-
// (undocumented)
|
1111
|
-
reconnectionLimitReached: boolean;
|
1112
|
-
// (undocumented)
|
1113
|
-
protected resetClosedState(): void;
|
1114
|
-
// (undocumented)
|
1115
|
-
serialize(): SerializedSocketStatus;
|
1116
|
-
}
|
1117
|
-
|
1118
819
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "EntityDatasource" because one of its declarations is marked as @internal
|
1119
820
|
//
|
1120
821
|
// @alpha
|
@@ -1178,6 +879,7 @@ export const exponentialScheduler: SocketReconnectScheduler;
|
|
1178
879
|
// @public
|
1179
880
|
export const extractFieldDefinitions: (metadata: Metadata) => MetadataDetail[];
|
1180
881
|
|
882
|
+
// Warning: (ae-forgotten-export) The symbol "FDC3_2" needs to be exported by the entry point index.d.ts
|
1181
883
|
// Warning: (ae-internal-missing-underscore) The name "FDC3" should be prefixed with an underscore because the declaration is marked as @internal
|
1182
884
|
//
|
1183
885
|
// @internal
|
@@ -1277,9 +979,6 @@ export enum FoundationAnalyticsEventType {
|
|
1277
979
|
routeChanged = "routeChanged"
|
1278
980
|
}
|
1279
981
|
|
1280
|
-
// @public
|
1281
|
-
export type GenesisConnectEvents = 'stream' | 'commit';
|
1282
|
-
|
1283
982
|
// @public
|
1284
983
|
export function getConnect(): Connect;
|
1285
984
|
|
@@ -1289,15 +988,6 @@ export type GetCredentialOptions = CredentialRequestOptions & {};
|
|
1289
988
|
// @public
|
1290
989
|
export function getDatasource(): Datasource;
|
1291
990
|
|
1292
|
-
// @public
|
1293
|
-
export function getNetworkMonitor(): NetworkMonitor;
|
1294
|
-
|
1295
|
-
// @public
|
1296
|
-
export function getSocket(): Socket;
|
1297
|
-
|
1298
|
-
// @public
|
1299
|
-
export function getSocketStatus(): SocketStatus;
|
1300
|
-
|
1301
991
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Http" because one of its declarations is marked as @internal
|
1302
992
|
//
|
1303
993
|
// @public
|
@@ -1508,7 +1198,6 @@ export interface MessageBuilder {
|
|
1508
1198
|
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
1509
1199
|
createLogoutMessage(loginResult?: LoginResult): Message;
|
1510
1200
|
createMetaRequestMessage(resourceName: string, messageType?: EventMessageType): Message<MessageDetails.MetaRequest>;
|
1511
|
-
createMoreColumnsMessage(sourceRef: string): Message;
|
1512
1201
|
createMoreRowsMessage(sourceRef: string): Message;
|
1513
1202
|
createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
|
1514
1203
|
createRequestMessage<T = any>(resourceName: string, params?: any): Message<T>;
|
@@ -1599,9 +1288,6 @@ export type MessageError = {
|
|
1599
1288
|
TEXT: string;
|
1600
1289
|
};
|
1601
1290
|
|
1602
|
-
// @public
|
1603
|
-
export const messageHasErrorCode: (message: Message, code: string | number) => boolean;
|
1604
|
-
|
1605
1291
|
// @public
|
1606
1292
|
export const messageOrThrow: (message: Message) => Message<any>;
|
1607
1293
|
|
@@ -1624,10 +1310,6 @@ export enum MessageType {
|
|
1624
1310
|
// (undocumented)
|
1625
1311
|
LOGOUT_NACK = "LOGOUT_NACK",
|
1626
1312
|
// (undocumented)
|
1627
|
-
MORE_COLUMNS = "MORE_COLUMNS",
|
1628
|
-
// (undocumented)
|
1629
|
-
MORE_COLUMNS_ACK = "MORE_COLUMNS_ACK",
|
1630
|
-
// (undocumented)
|
1631
1313
|
MORE_ROWS = "MORE_ROWS",
|
1632
1314
|
// (undocumented)
|
1633
1315
|
MSG_ACK = "MSG_ACK",
|
@@ -1674,85 +1356,6 @@ export type MetadataDetail = {
|
|
1674
1356
|
UI_LABEL?: string;
|
1675
1357
|
};
|
1676
1358
|
|
1677
|
-
// @public (undocumented)
|
1678
|
-
export type MetadataEvent = CustomEvent<MetadataEventDetail>;
|
1679
|
-
|
1680
|
-
// @public (undocumented)
|
1681
|
-
export type MetadataEventDetail = {
|
1682
|
-
resourceName: string;
|
1683
|
-
message: Message<MessageDetails.MetaRequest>;
|
1684
|
-
error?: any;
|
1685
|
-
};
|
1686
|
-
|
1687
|
-
// @public (undocumented)
|
1688
|
-
export const MetadataEventType = "connect-metadata-event";
|
1689
|
-
|
1690
|
-
// @public
|
1691
|
-
export type MonitoredResource = SocketObservable<any>;
|
1692
|
-
|
1693
|
-
// @public
|
1694
|
-
export type MonitoredResourceChecks = (sourceRef: string, resource: MonitoredResource) => Promise<MonitoredResourceChecksResult>;
|
1695
|
-
|
1696
|
-
// @public
|
1697
|
-
export interface MonitoredResourceChecksResult {
|
1698
|
-
// (undocumented)
|
1699
|
-
isConnected: boolean;
|
1700
|
-
// (undocumented)
|
1701
|
-
lastMessage?: Message;
|
1702
|
-
// (undocumented)
|
1703
|
-
lastUpdated: number;
|
1704
|
-
// (undocumented)
|
1705
|
-
timeout?: boolean;
|
1706
|
-
}
|
1707
|
-
|
1708
|
-
// @public
|
1709
|
-
export type MonitoredResourceDataLogon = (metadata: MonitoredResourceMetadata) => void;
|
1710
|
-
|
1711
|
-
// @public
|
1712
|
-
export interface MonitoredResourceMetadata extends Partial<MonitoredResourceChecksResult>, Partial<StreamEventDetail> {
|
1713
|
-
}
|
1714
|
-
|
1715
|
-
// @public (undocumented)
|
1716
|
-
export const networkLogger: Logger;
|
1717
|
-
|
1718
|
-
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "NetworkMonitor" because one of its declarations is marked as @internal
|
1719
|
-
//
|
1720
|
-
// @public
|
1721
|
-
export interface NetworkMonitor {
|
1722
|
-
// (undocumented)
|
1723
|
-
addResource(resource: MonitoredResource, metadata: MonitoredResourceMetadata): void;
|
1724
|
-
// (undocumented)
|
1725
|
-
create(): void;
|
1726
|
-
// (undocumented)
|
1727
|
-
destroy(): void;
|
1728
|
-
// (undocumented)
|
1729
|
-
removeResource(resource: MonitoredResource): void;
|
1730
|
-
// (undocumented)
|
1731
|
-
runAllChecks(source?: unknown, force?: boolean): Promise<void>;
|
1732
|
-
// (undocumented)
|
1733
|
-
status: SystemHealthStatus;
|
1734
|
-
}
|
1735
|
-
|
1736
|
-
// @internal
|
1737
|
-
export const NetworkMonitor: InterfaceSymbol<NetworkMonitor>;
|
1738
|
-
|
1739
|
-
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "NetworkMonitorConfig" because one of its declarations is marked as @internal
|
1740
|
-
//
|
1741
|
-
// @public
|
1742
|
-
export interface NetworkMonitorConfig {
|
1743
|
-
checkInterval?: number;
|
1744
|
-
checkTimeout?: number;
|
1745
|
-
documentEvents?: (keyof DocumentEventMap)[];
|
1746
|
-
eventEmitter?: HTMLElement;
|
1747
|
-
genesisConnectEvents?: GenesisConnectEvents[];
|
1748
|
-
resourceChecks?: MonitoredResourceChecks;
|
1749
|
-
resourceDataLogon?: MonitoredResourceDataLogon;
|
1750
|
-
windowEvents?: (keyof WindowEventHandlersEventMap)[];
|
1751
|
-
}
|
1752
|
-
|
1753
|
-
// @internal
|
1754
|
-
export const NetworkMonitorConfig: InterfaceSymbol<NetworkMonitorConfig>;
|
1755
|
-
|
1756
1359
|
// @public
|
1757
1360
|
export function normaliseCriteria(criteria: string, delimiter?: string): string;
|
1758
1361
|
|
@@ -1801,13 +1404,6 @@ export type RequestServerResult = {
|
|
1801
1404
|
MESSAGE_TYPE?: string;
|
1802
1405
|
};
|
1803
1406
|
|
1804
|
-
// @public
|
1805
|
-
export type ResourceHealth = MonitoredResourceChecksResult & {
|
1806
|
-
name: string;
|
1807
|
-
sourceRef: string;
|
1808
|
-
lastError?: any;
|
1809
|
-
};
|
1810
|
-
|
1811
1407
|
// @public
|
1812
1408
|
export enum ResourceType {
|
1813
1409
|
// (undocumented)
|
@@ -1834,31 +1430,6 @@ export type SchemaResponse = {
|
|
1834
1430
|
SOURCE_REF: string;
|
1835
1431
|
};
|
1836
1432
|
|
1837
|
-
// @public
|
1838
|
-
export interface SerializedSocketStatus {
|
1839
|
-
// (undocumented)
|
1840
|
-
readonly closedClean: boolean;
|
1841
|
-
// (undocumented)
|
1842
|
-
readonly closedCode: number;
|
1843
|
-
// (undocumented)
|
1844
|
-
readonly closedReason: string;
|
1845
|
-
// (undocumented)
|
1846
|
-
hasValidSession: boolean;
|
1847
|
-
isConfigured: boolean;
|
1848
|
-
// (undocumented)
|
1849
|
-
isConnected: boolean;
|
1850
|
-
// (undocumented)
|
1851
|
-
isConnecting: boolean;
|
1852
|
-
// (undocumented)
|
1853
|
-
isDisconnected: boolean;
|
1854
|
-
// (undocumented)
|
1855
|
-
isDisconnectedByServer: boolean;
|
1856
|
-
// (undocumented)
|
1857
|
-
isReconnecting: boolean;
|
1858
|
-
// (undocumented)
|
1859
|
-
reconnectionLimitReached: boolean;
|
1860
|
-
}
|
1861
|
-
|
1862
1433
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Serializer" because one of its declarations is marked as @internal
|
1863
1434
|
//
|
1864
1435
|
// @public
|
@@ -1946,14 +1517,22 @@ export class SessionMock implements Session {
|
|
1946
1517
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Socket" because one of its declarations is marked as @internal
|
1947
1518
|
//
|
1948
1519
|
// @public
|
1949
|
-
export interface Socket
|
1520
|
+
export interface Socket {
|
1950
1521
|
// (undocumented)
|
1951
1522
|
connect(host: string, options?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
|
1523
|
+
// (undocumented)
|
1524
|
+
hasValidSession: boolean;
|
1525
|
+
// (undocumented)
|
1526
|
+
isConnected: boolean;
|
1527
|
+
// (undocumented)
|
1528
|
+
isConnectedSubject: BehaviorSubject<boolean>;
|
1529
|
+
// (undocumented)
|
1530
|
+
isReconnecting: boolean;
|
1952
1531
|
reset(): void;
|
1953
1532
|
// (undocumented)
|
1954
1533
|
send<T>(message: Message<T | any>, needsHandling?: boolean): Promise<Message | any>;
|
1955
1534
|
// (undocumented)
|
1956
|
-
sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Function
|
1535
|
+
sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Function): Observable<Message>;
|
1957
1536
|
// (undocumented)
|
1958
1537
|
socketMessages(): SocketSubject<Message>;
|
1959
1538
|
}
|
@@ -1964,7 +1543,7 @@ export const Socket: InterfaceSymbol<Socket>;
|
|
1964
1543
|
// @public
|
1965
1544
|
export type SocketConnectOptions = {
|
1966
1545
|
alwaysOn?: boolean;
|
1967
|
-
connectObserver?:
|
1546
|
+
connectObserver?: Observer<Message>;
|
1968
1547
|
enableHeartbeat?: boolean;
|
1969
1548
|
enableHeartbeatLogging?: boolean;
|
1970
1549
|
enableMessageLogging?: boolean;
|
@@ -1992,18 +1571,10 @@ export class SocketMock implements Socket {
|
|
1992
1571
|
// (undocumented)
|
1993
1572
|
hasValidSession: boolean;
|
1994
1573
|
// (undocumented)
|
1995
|
-
isConfigured: boolean;
|
1996
|
-
// (undocumented)
|
1997
1574
|
isConnected: boolean;
|
1998
1575
|
// (undocumented)
|
1999
1576
|
isConnectedSubject: BehaviorSubject<boolean>;
|
2000
1577
|
// (undocumented)
|
2001
|
-
isConnecting: boolean;
|
2002
|
-
// (undocumented)
|
2003
|
-
isDisconnected: boolean;
|
2004
|
-
// (undocumented)
|
2005
|
-
isDisconnectedByServer: boolean;
|
2006
|
-
// (undocumented)
|
2007
1578
|
isReconnecting: boolean;
|
2008
1579
|
// (undocumented)
|
2009
1580
|
nextMessage: Message;
|
@@ -2012,7 +1583,7 @@ export class SocketMock implements Socket {
|
|
2012
1583
|
// (undocumented)
|
2013
1584
|
send<T>(message: Message<any>): Promise<Message | any>;
|
2014
1585
|
// (undocumented)
|
2015
|
-
sendForStream<T>(message: Message<any>, onMessage: Function, onError: Function
|
1586
|
+
sendForStream<T>(message: Message<any>, onMessage: Function, onError: Function): Observable<Message>;
|
2016
1587
|
// (undocumented)
|
2017
1588
|
socketMessages(): SocketSubject<Message>;
|
2018
1589
|
// (undocumented)
|
@@ -2028,7 +1599,7 @@ export class SocketObservable<T> extends Observable<T> {
|
|
2028
1599
|
export type SocketReconnectOptions = {
|
2029
1600
|
reconnectAttempts?: number;
|
2030
1601
|
reconnectInterval?: number;
|
2031
|
-
reconnectObserver?:
|
1602
|
+
reconnectObserver?: Observer<any>;
|
2032
1603
|
reconnectStreams?: boolean;
|
2033
1604
|
reconnectStrategy?: SocketReconnectStrategy;
|
2034
1605
|
};
|
@@ -2044,21 +1615,6 @@ export enum SocketReconnectStrategy {
|
|
2044
1615
|
Linear = "linear"
|
2045
1616
|
}
|
2046
1617
|
|
2047
|
-
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "SocketStatus" because one of its declarations is marked as @internal
|
2048
|
-
//
|
2049
|
-
// @public
|
2050
|
-
export interface SocketStatus extends SerializedSocketStatus {
|
2051
|
-
// (undocumented)
|
2052
|
-
isConnectedSubject: BehaviorSubject<boolean>;
|
2053
|
-
// (undocumented)
|
2054
|
-
onClose(closeEvent: CloseEvent): void;
|
2055
|
-
// (undocumented)
|
2056
|
-
serialize(): SerializedSocketStatus;
|
2057
|
-
}
|
2058
|
-
|
2059
|
-
// @internal
|
2060
|
-
export const SocketStatus: InterfaceSymbol<SocketStatus>;
|
2061
|
-
|
2062
1618
|
// @public
|
2063
1619
|
export class SocketSubject<T> extends Subject<T> {
|
2064
1620
|
constructor();
|
@@ -2080,57 +1636,6 @@ export type SSOCredentialsInput = {
|
|
2080
1636
|
// @public
|
2081
1637
|
export type StorageType = 'local' | 'session';
|
2082
1638
|
|
2083
|
-
// @public (undocumented)
|
2084
|
-
export type StreamCompleteEvent = CustomEvent<SocketObservable<any>>;
|
2085
|
-
|
2086
|
-
// @public (undocumented)
|
2087
|
-
export const StreamCompleteEventType = "connect-stream-complete-event";
|
2088
|
-
|
2089
|
-
// @public (undocumented)
|
2090
|
-
export type StreamEvent = CustomEvent<StreamEventDetail>;
|
2091
|
-
|
2092
|
-
// @public (undocumented)
|
2093
|
-
export type StreamEventDetail = {
|
2094
|
-
functions: StreamEventFunctions;
|
2095
|
-
message: Message<MessageDetails.DataserverRequest>;
|
2096
|
-
resourceName: string;
|
2097
|
-
stream: SocketObservable<any>;
|
2098
|
-
};
|
2099
|
-
|
2100
|
-
// @public (undocumented)
|
2101
|
-
export type StreamEventFunctions = {
|
2102
|
-
onMessage?: Function;
|
2103
|
-
onError?: Function;
|
2104
|
-
resourceChecks?: MonitoredResourceChecks;
|
2105
|
-
resourceDataLogon?: MonitoredResourceDataLogon;
|
2106
|
-
};
|
2107
|
-
|
2108
|
-
// @public (undocumented)
|
2109
|
-
export const StreamEventType = "connect-stream-event";
|
2110
|
-
|
2111
|
-
// @public
|
2112
|
-
export const SystemHealthChanged = "system-health-changed";
|
2113
|
-
|
2114
|
-
// @public
|
2115
|
-
export type SystemHealthChangedEvent = CustomEvent<SystemHealthStatus>;
|
2116
|
-
|
2117
|
-
// @public
|
2118
|
-
export type SystemHealthStatus = {
|
2119
|
-
isOnline: boolean;
|
2120
|
-
browserInformation?: Bowser_2.Parser.ParsedResult;
|
2121
|
-
isAuthenticated: boolean;
|
2122
|
-
username?: string;
|
2123
|
-
isHealthy: boolean;
|
2124
|
-
socket: SerializedSocketStatus;
|
2125
|
-
resources: Record<string, ResourceHealth>;
|
2126
|
-
resourcesAllConnected: boolean;
|
2127
|
-
lastUpdated: number;
|
2128
|
-
nextUpdate: number;
|
2129
|
-
firstUpdated: number;
|
2130
|
-
runAllChecks(): void;
|
2131
|
-
reportStabilityToGenesis(): Promise<boolean>;
|
2132
|
-
};
|
2133
|
-
|
2134
1639
|
// @public
|
2135
1640
|
export const toFieldMetadata: (fieldDef: MetadataDetail[]) => FieldMetadata[];
|
2136
1641
|
|
@@ -2160,8 +1665,6 @@ export type UnknownUserProfiles = string;
|
|
2160
1665
|
// @public
|
2161
1666
|
export function until(conditionFunc: () => boolean, timeoutMs?: number): Promise<any>;
|
2162
1667
|
|
2163
|
-
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "User" because one of its declarations is marked as @internal
|
2164
|
-
//
|
2165
1668
|
// @public
|
2166
1669
|
export interface User extends UserOptions {
|
2167
1670
|
// (undocumented)
|
@@ -2174,15 +1677,8 @@ export interface User extends UserOptions {
|
|
2174
1677
|
//
|
2175
1678
|
// (undocumented)
|
2176
1679
|
hasProfile(profile: UserProfile | UserProfile[]): boolean;
|
2177
|
-
// (undocumented)
|
2178
|
-
set(options: UserOptions): void;
|
2179
|
-
// (undocumented)
|
2180
|
-
unset(): void;
|
2181
1680
|
}
|
2182
1681
|
|
2183
|
-
// @internal
|
2184
|
-
export const User: InterfaceSymbol<User>;
|
2185
|
-
|
2186
1682
|
// Warning: (ae-internal-missing-underscore) The name "UserPermission" should be prefixed with an underscore because the declaration is marked as @internal
|
2187
1683
|
//
|
2188
1684
|
// @internal (undocumented)
|