@genesislcap/foundation-comms 14.217.1 → 14.217.2-alpha-53d4080.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/connect/connect.d.ts +10 -10
- package/dist/dts/connect/connect.d.ts.map +1 -1
- package/dist/dts/connect/message.d.ts +9 -8
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/metadata/metadata.types.d.ts +1 -0
- package/dist/dts/metadata/metadata.types.d.ts.map +1 -1
- package/dist/foundation-comms.api.json +93 -29
- package/dist/foundation-comms.d.ts +18 -17
- package/docs/api/foundation-comms.commitparams.md +1 -1
- package/docs/api/foundation-comms.connect.snapshot.md +2 -2
- package/docs/api/foundation-comms.connect.stream.md +2 -2
- package/docs/api/foundation-comms.connect.streamstate.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.getavailableresources.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.snapshot.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.stream.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.streamstate.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.streamwithoutautoteardown.md +2 -2
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogonmessage.md +2 -2
- package/docs/api/foundation-comms.message.md +4 -4
- package/docs/api/foundation-comms.messagebuilder.createresourcesmessage.md +2 -2
- package/docs/api/foundation-comms.requestparams.md +2 -2
- package/docs/api/foundation-comms.serverrow.md +1 -0
- package/docs/api-report.md +19 -18
- package/package.json +13 -13
|
@@ -3,7 +3,7 @@ import type { Metadata, SchemaResponse } from '../metadata';
|
|
|
3
3
|
import { MetaCache } from '../metadata';
|
|
4
4
|
import { ConnectEventsEmitter } from './connect.events';
|
|
5
5
|
import { ConnectConfig } from './connect.types';
|
|
6
|
-
import { CommitParams, Message, MessageBuilder, RequestParams, ResourcesMessage } from './message';
|
|
6
|
+
import { CommitParams, DataserverParams, Message, MessageBuilder, RequestParams, ResourcesMessage } from './message';
|
|
7
7
|
import type { SocketObservable } from './socket';
|
|
8
8
|
import { Socket } from './socket';
|
|
9
9
|
/**
|
|
@@ -74,7 +74,7 @@ export interface Connect {
|
|
|
74
74
|
* @param params - Additional parameters to pass to the server.
|
|
75
75
|
* @returns A promise that resolves with the snapshot data.
|
|
76
76
|
*/
|
|
77
|
-
snapshot(resourceName: string, params?:
|
|
77
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
|
78
78
|
/**
|
|
79
79
|
* Starts listening for updates on the specified resource.
|
|
80
80
|
* @public
|
|
@@ -84,7 +84,7 @@ export interface Connect {
|
|
|
84
84
|
* @param params - Additional parameters to pass to the server.
|
|
85
85
|
* @returns An observable that emits messages received from the server.
|
|
86
86
|
*/
|
|
87
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
87
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
88
88
|
/**
|
|
89
89
|
* Starts listening for updates on the specified resource.
|
|
90
90
|
* @public
|
|
@@ -95,7 +95,7 @@ export interface Connect {
|
|
|
95
95
|
* @param initialState - State of the list to start with, defaults to empty array.
|
|
96
96
|
* @returns An observable that emits latest state of the list it subscribes to.
|
|
97
97
|
*/
|
|
98
|
-
streamState(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
98
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
|
99
99
|
/**
|
|
100
100
|
* Starts listening for updates on the specified resource without auto-teardown.
|
|
101
101
|
* @deprecated - Use `stream` instead. Will be removed in v15.
|
|
@@ -106,7 +106,7 @@ export interface Connect {
|
|
|
106
106
|
* @param params - Additional parameters to pass to the server.
|
|
107
107
|
* @returns An observable that emits messages received from the server.
|
|
108
108
|
*/
|
|
109
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
109
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
110
110
|
/**
|
|
111
111
|
* Requests additional rows of data for the specified source reference.
|
|
112
112
|
* @public
|
|
@@ -195,17 +195,17 @@ export declare class DefaultConnect implements Connect {
|
|
|
195
195
|
send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
|
|
196
196
|
connect(host?: string): Promise<boolean>;
|
|
197
197
|
disconnect(): void;
|
|
198
|
-
snapshot(resourceName: string, params?:
|
|
199
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
200
|
-
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?:
|
|
201
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
198
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
|
199
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
200
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
|
201
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
202
202
|
getMoreRows(sourceRef: string, viewNumber?: number): Promise<Message>;
|
|
203
203
|
getMoreColumns(sourceRef: string): Promise<Message>;
|
|
204
204
|
dataLogoff(streamSourceRef: string): Promise<Message>;
|
|
205
205
|
getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
|
|
206
206
|
getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
|
|
207
207
|
request(resourceName: string, params?: RequestParams): Promise<Message>;
|
|
208
|
-
getAvailableResources(params?:
|
|
208
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
|
209
209
|
commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/connect/connect.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EACL,YAAY,
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/connect/connect.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EACL,YAAY,EACZ,gBAAgB,EAEhB,OAAO,EACP,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACtB;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE5C;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAEvD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AQ,CAAC;IAmC9E,aAAa,CACxB,YAAY,EAAE,MAAM,EACpB,QAAQ,GAAE,OAAc,GACvB,OAAO,CAAC,cAAc,CAAC;IAiCnB,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC;IASxE,qBAAqB,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAMjE,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;CAOrF;AAID;;;GAGG;AACH,eAAO,MAAM,SAAS,+DAAkE,CAAC;AAEzF;;;GAGG;AACH,eAAO,MAAM,OAAO,+DAEnB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAEpC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UUID } from '@genesislcap/foundation-utils';
|
|
2
2
|
import { AuthInfo, LoginResult } from '../auth/auth.types';
|
|
3
|
+
import { ServerRow } from '../metadata';
|
|
3
4
|
import type { ResourceItem } from '../resources/genesis/types';
|
|
4
5
|
import { Session } from '../session';
|
|
5
6
|
/**
|
|
@@ -196,9 +197,9 @@ export type MessageError = {
|
|
|
196
197
|
* @public
|
|
197
198
|
*/
|
|
198
199
|
export type Message<T = void | any> = {
|
|
199
|
-
REPLY?:
|
|
200
|
+
REPLY?: Record<string, unknown>[];
|
|
200
201
|
CODE?: MessageCode | string;
|
|
201
|
-
DETAILS?: T
|
|
202
|
+
DETAILS?: T | Record<string, unknown>;
|
|
202
203
|
LOGGED_OUT?: boolean;
|
|
203
204
|
ERROR?: MessageError[];
|
|
204
205
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
|
@@ -206,7 +207,7 @@ export type Message<T = void | any> = {
|
|
|
206
207
|
PROFILE?: string[];
|
|
207
208
|
RESOURCES?: any[];
|
|
208
209
|
REFRESH_AUTH_TOKEN?: string;
|
|
209
|
-
ROW?:
|
|
210
|
+
ROW?: ServerRow[];
|
|
210
211
|
ROWS_COUNT?: number;
|
|
211
212
|
SEQUENCE_ID?: number;
|
|
212
213
|
SERVICE_NAME?: string;
|
|
@@ -299,15 +300,15 @@ export type RequestDetailsParam = {
|
|
|
299
300
|
* @public
|
|
300
301
|
*/
|
|
301
302
|
export type RequestParams = {
|
|
302
|
-
DETAILS?: RequestDetailsParam |
|
|
303
|
-
REQUEST?:
|
|
303
|
+
DETAILS?: RequestDetailsParam | Record<string, unknown>;
|
|
304
|
+
REQUEST?: Record<string, unknown>;
|
|
304
305
|
};
|
|
305
306
|
/**
|
|
306
307
|
* Parameters for a COMMIT message
|
|
307
308
|
* @public
|
|
308
309
|
*/
|
|
309
310
|
export type CommitParams = {
|
|
310
|
-
DETAILS:
|
|
311
|
+
DETAILS: Record<string, unknown>;
|
|
311
312
|
HOSTNAME?: string;
|
|
312
313
|
IGNORE_WARNINGS?: boolean;
|
|
313
314
|
VALIDATE?: boolean;
|
|
@@ -410,7 +411,7 @@ export interface MessageBuilder {
|
|
|
410
411
|
* @param params - The additional parameters.
|
|
411
412
|
* @returns The request message.
|
|
412
413
|
*/
|
|
413
|
-
createResourcesMessage<T = any>(params?:
|
|
414
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
|
414
415
|
/**
|
|
415
416
|
* Creates a metadata fetch message.
|
|
416
417
|
*
|
|
@@ -502,7 +503,7 @@ export declare class DefaultMessageBuilder implements MessageBuilder {
|
|
|
502
503
|
constructor(session: Session, uuid: UUID);
|
|
503
504
|
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
|
504
505
|
createLogoutMessage(loginResult?: LoginResult): Message;
|
|
505
|
-
createDataLogonMessage(resourceName: string, params?:
|
|
506
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
|
506
507
|
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
|
507
508
|
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
|
508
509
|
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/connect/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAY,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;GAGG;AACH,oBAAY,WAAW;IACrB,SAAS,cAAc;IACvB,UAAU,eAAe;IAEzB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IAEjC,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IAErC,OAAO,YAAY;IACnB,QAAQ,aAAa;IAErB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;CAC9B;AAED;;;GAGG;AACH,oBAAY,gBAAgB;IAC1B,gBAAgB,qBAAqB;IACrC,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAE/C,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;IAC7B,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,qBAAqB,0BAA0B;IAC/C,sBAAsB,2BAA2B;IAEjD,0BAA0B,+BAA+B;IACzD,iCAAiC,sCAAsC;IACvE,2BAA2B,gCAAgC;CAC5D;AAED;;;GAGG;AACH,oBAAY,WAAW;IACrB,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;CAC9C;AAED;;GAEG;AACH,yBAAiB,cAAc,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MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;CAUrB,CAAC"}
|
|
@@ -1112,7 +1112,16 @@
|
|
|
1112
1112
|
},
|
|
1113
1113
|
{
|
|
1114
1114
|
"kind": "Content",
|
|
1115
|
-
"text": "{\n DETAILS:
|
|
1115
|
+
"text": "{\n DETAILS: "
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"kind": "Reference",
|
|
1119
|
+
"text": "Record",
|
|
1120
|
+
"canonicalReference": "!Record:type"
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"kind": "Content",
|
|
1124
|
+
"text": "<string, unknown>;\n HOSTNAME?: string;\n IGNORE_WARNINGS?: boolean;\n VALIDATE?: boolean;\n}"
|
|
1116
1125
|
},
|
|
1117
1126
|
{
|
|
1118
1127
|
"kind": "Content",
|
|
@@ -1124,7 +1133,7 @@
|
|
|
1124
1133
|
"name": "CommitParams",
|
|
1125
1134
|
"typeTokenRange": {
|
|
1126
1135
|
"startIndex": 1,
|
|
1127
|
-
"endIndex":
|
|
1136
|
+
"endIndex": 4
|
|
1128
1137
|
}
|
|
1129
1138
|
},
|
|
1130
1139
|
{
|
|
@@ -1922,8 +1931,9 @@
|
|
|
1922
1931
|
"text": ", params?: "
|
|
1923
1932
|
},
|
|
1924
1933
|
{
|
|
1925
|
-
"kind": "
|
|
1926
|
-
"text": "
|
|
1934
|
+
"kind": "Reference",
|
|
1935
|
+
"text": "DataserverParams",
|
|
1936
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
|
1927
1937
|
},
|
|
1928
1938
|
{
|
|
1929
1939
|
"kind": "Content",
|
|
@@ -2015,8 +2025,9 @@
|
|
|
2015
2025
|
"text": ", params?: "
|
|
2016
2026
|
},
|
|
2017
2027
|
{
|
|
2018
|
-
"kind": "
|
|
2019
|
-
"text": "
|
|
2028
|
+
"kind": "Reference",
|
|
2029
|
+
"text": "DataserverParams",
|
|
2030
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
|
2020
2031
|
},
|
|
2021
2032
|
{
|
|
2022
2033
|
"kind": "Content",
|
|
@@ -2124,8 +2135,9 @@
|
|
|
2124
2135
|
"text": ", params?: "
|
|
2125
2136
|
},
|
|
2126
2137
|
{
|
|
2127
|
-
"kind": "
|
|
2128
|
-
"text": "
|
|
2138
|
+
"kind": "Reference",
|
|
2139
|
+
"text": "DataserverParams",
|
|
2140
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
|
2129
2141
|
},
|
|
2130
2142
|
{
|
|
2131
2143
|
"kind": "Content",
|
|
@@ -10652,8 +10664,9 @@
|
|
|
10652
10664
|
"text": "getAvailableResources(params?: "
|
|
10653
10665
|
},
|
|
10654
10666
|
{
|
|
10655
|
-
"kind": "
|
|
10656
|
-
"text": "
|
|
10667
|
+
"kind": "Reference",
|
|
10668
|
+
"text": "RequestParams",
|
|
10669
|
+
"canonicalReference": "@genesislcap/foundation-comms!RequestParams:type"
|
|
10657
10670
|
},
|
|
10658
10671
|
{
|
|
10659
10672
|
"kind": "Content",
|
|
@@ -11423,8 +11436,9 @@
|
|
|
11423
11436
|
"text": ", params?: "
|
|
11424
11437
|
},
|
|
11425
11438
|
{
|
|
11426
|
-
"kind": "
|
|
11427
|
-
"text": "
|
|
11439
|
+
"kind": "Reference",
|
|
11440
|
+
"text": "DataserverParams",
|
|
11441
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
|
11428
11442
|
},
|
|
11429
11443
|
{
|
|
11430
11444
|
"kind": "Content",
|
|
@@ -11550,8 +11564,9 @@
|
|
|
11550
11564
|
"text": ", params?: "
|
|
11551
11565
|
},
|
|
11552
11566
|
{
|
|
11553
|
-
"kind": "
|
|
11554
|
-
"text": "
|
|
11567
|
+
"kind": "Reference",
|
|
11568
|
+
"text": "DataserverParams",
|
|
11569
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
|
11555
11570
|
},
|
|
11556
11571
|
{
|
|
11557
11572
|
"kind": "Content",
|
|
@@ -11662,8 +11677,9 @@
|
|
|
11662
11677
|
"text": ", params?: "
|
|
11663
11678
|
},
|
|
11664
11679
|
{
|
|
11665
|
-
"kind": "
|
|
11666
|
-
"text": "
|
|
11680
|
+
"kind": "Reference",
|
|
11681
|
+
"text": "DataserverParams",
|
|
11682
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
|
11667
11683
|
},
|
|
11668
11684
|
{
|
|
11669
11685
|
"kind": "Content",
|
|
@@ -11781,8 +11797,9 @@
|
|
|
11781
11797
|
"text": ", params?: "
|
|
11782
11798
|
},
|
|
11783
11799
|
{
|
|
11784
|
-
"kind": "
|
|
11785
|
-
"text": "
|
|
11800
|
+
"kind": "Reference",
|
|
11801
|
+
"text": "DataserverParams",
|
|
11802
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
|
11786
11803
|
},
|
|
11787
11804
|
{
|
|
11788
11805
|
"kind": "Content",
|
|
@@ -17807,8 +17824,9 @@
|
|
|
17807
17824
|
"text": ", params?: "
|
|
17808
17825
|
},
|
|
17809
17826
|
{
|
|
17810
|
-
"kind": "
|
|
17811
|
-
"text": "
|
|
17827
|
+
"kind": "Reference",
|
|
17828
|
+
"text": "DataserverParams",
|
|
17829
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
|
17812
17830
|
},
|
|
17813
17831
|
{
|
|
17814
17832
|
"kind": "Content",
|
|
@@ -24563,7 +24581,16 @@
|
|
|
24563
24581
|
},
|
|
24564
24582
|
{
|
|
24565
24583
|
"kind": "Content",
|
|
24566
|
-
"text": "{\n REPLY?:
|
|
24584
|
+
"text": "{\n REPLY?: "
|
|
24585
|
+
},
|
|
24586
|
+
{
|
|
24587
|
+
"kind": "Reference",
|
|
24588
|
+
"text": "Record",
|
|
24589
|
+
"canonicalReference": "!Record:type"
|
|
24590
|
+
},
|
|
24591
|
+
{
|
|
24592
|
+
"kind": "Content",
|
|
24593
|
+
"text": "<string, unknown>[];\n CODE?: "
|
|
24567
24594
|
},
|
|
24568
24595
|
{
|
|
24569
24596
|
"kind": "Reference",
|
|
@@ -24572,7 +24599,16 @@
|
|
|
24572
24599
|
},
|
|
24573
24600
|
{
|
|
24574
24601
|
"kind": "Content",
|
|
24575
|
-
"text": " | string;\n DETAILS?: T
|
|
24602
|
+
"text": " | string;\n DETAILS?: T | "
|
|
24603
|
+
},
|
|
24604
|
+
{
|
|
24605
|
+
"kind": "Reference",
|
|
24606
|
+
"text": "Record",
|
|
24607
|
+
"canonicalReference": "!Record:type"
|
|
24608
|
+
},
|
|
24609
|
+
{
|
|
24610
|
+
"kind": "Content",
|
|
24611
|
+
"text": "<string, unknown>;\n LOGGED_OUT?: boolean;\n ERROR?: "
|
|
24576
24612
|
},
|
|
24577
24613
|
{
|
|
24578
24614
|
"kind": "Reference",
|
|
@@ -24599,7 +24635,16 @@
|
|
|
24599
24635
|
},
|
|
24600
24636
|
{
|
|
24601
24637
|
"kind": "Content",
|
|
24602
|
-
"text": " | string;\n PERMISSION?: string[];\n PROFILE?: string[];\n RESOURCES?: any[];\n REFRESH_AUTH_TOKEN?: string;\n ROW?:
|
|
24638
|
+
"text": " | string;\n PERMISSION?: string[];\n PROFILE?: string[];\n RESOURCES?: any[];\n REFRESH_AUTH_TOKEN?: string;\n ROW?: "
|
|
24639
|
+
},
|
|
24640
|
+
{
|
|
24641
|
+
"kind": "Reference",
|
|
24642
|
+
"text": "ServerRow",
|
|
24643
|
+
"canonicalReference": "@genesislcap/foundation-comms!ServerRow:type"
|
|
24644
|
+
},
|
|
24645
|
+
{
|
|
24646
|
+
"kind": "Content",
|
|
24647
|
+
"text": "[];\n ROWS_COUNT?: number;\n SEQUENCE_ID?: number;\n SERVICE_NAME?: string;\n SESSION_AUTH_TOKEN?: string;\n SESSION_ID?: string;\n SOURCE_REF?: string;\n USER_NAME?: string;\n WARNING?: any[];\n}"
|
|
24603
24648
|
},
|
|
24604
24649
|
{
|
|
24605
24650
|
"kind": "Content",
|
|
@@ -24624,7 +24669,7 @@
|
|
|
24624
24669
|
],
|
|
24625
24670
|
"typeTokenRange": {
|
|
24626
24671
|
"startIndex": 3,
|
|
24627
|
-
"endIndex":
|
|
24672
|
+
"endIndex": 18
|
|
24628
24673
|
}
|
|
24629
24674
|
},
|
|
24630
24675
|
{
|
|
@@ -25727,8 +25772,9 @@
|
|
|
25727
25772
|
"text": ">(params?: "
|
|
25728
25773
|
},
|
|
25729
25774
|
{
|
|
25730
|
-
"kind": "
|
|
25731
|
-
"text": "
|
|
25775
|
+
"kind": "Reference",
|
|
25776
|
+
"text": "RequestParams",
|
|
25777
|
+
"canonicalReference": "@genesislcap/foundation-comms!RequestParams:type"
|
|
25732
25778
|
},
|
|
25733
25779
|
{
|
|
25734
25780
|
"kind": "Content",
|
|
@@ -28479,7 +28525,25 @@
|
|
|
28479
28525
|
},
|
|
28480
28526
|
{
|
|
28481
28527
|
"kind": "Content",
|
|
28482
|
-
"text": " |
|
|
28528
|
+
"text": " | "
|
|
28529
|
+
},
|
|
28530
|
+
{
|
|
28531
|
+
"kind": "Reference",
|
|
28532
|
+
"text": "Record",
|
|
28533
|
+
"canonicalReference": "!Record:type"
|
|
28534
|
+
},
|
|
28535
|
+
{
|
|
28536
|
+
"kind": "Content",
|
|
28537
|
+
"text": "<string, unknown>;\n REQUEST?: "
|
|
28538
|
+
},
|
|
28539
|
+
{
|
|
28540
|
+
"kind": "Reference",
|
|
28541
|
+
"text": "Record",
|
|
28542
|
+
"canonicalReference": "!Record:type"
|
|
28543
|
+
},
|
|
28544
|
+
{
|
|
28545
|
+
"kind": "Content",
|
|
28546
|
+
"text": "<string, unknown>;\n}"
|
|
28483
28547
|
},
|
|
28484
28548
|
{
|
|
28485
28549
|
"kind": "Content",
|
|
@@ -28491,7 +28555,7 @@
|
|
|
28491
28555
|
"name": "RequestParams",
|
|
28492
28556
|
"typeTokenRange": {
|
|
28493
28557
|
"startIndex": 1,
|
|
28494
|
-
"endIndex":
|
|
28558
|
+
"endIndex": 8
|
|
28495
28559
|
}
|
|
28496
28560
|
},
|
|
28497
28561
|
{
|
|
@@ -29433,7 +29497,7 @@
|
|
|
29433
29497
|
},
|
|
29434
29498
|
{
|
|
29435
29499
|
"kind": "Content",
|
|
29436
|
-
"text": "{\n DETAILS: {\n OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';\n ROW_REF: string;\n };\n}"
|
|
29500
|
+
"text": "{\n DETAILS: {\n OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';\n ROW_REF: string;\n };\n [key: string]: any;\n}"
|
|
29437
29501
|
},
|
|
29438
29502
|
{
|
|
29439
29503
|
"kind": "Content",
|
|
@@ -178,7 +178,7 @@ export declare const CommitEventType = "connect-commit-event";
|
|
|
178
178
|
* @public
|
|
179
179
|
*/
|
|
180
180
|
export declare type CommitParams = {
|
|
181
|
-
DETAILS:
|
|
181
|
+
DETAILS: Record<string, unknown>;
|
|
182
182
|
HOSTNAME?: string;
|
|
183
183
|
IGNORE_WARNINGS?: boolean;
|
|
184
184
|
VALIDATE?: boolean;
|
|
@@ -252,7 +252,7 @@ export declare interface Connect {
|
|
|
252
252
|
* @param params - Additional parameters to pass to the server.
|
|
253
253
|
* @returns A promise that resolves with the snapshot data.
|
|
254
254
|
*/
|
|
255
|
-
snapshot(resourceName: string, params?:
|
|
255
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
|
256
256
|
/**
|
|
257
257
|
* Starts listening for updates on the specified resource.
|
|
258
258
|
* @public
|
|
@@ -262,7 +262,7 @@ export declare interface Connect {
|
|
|
262
262
|
* @param params - Additional parameters to pass to the server.
|
|
263
263
|
* @returns An observable that emits messages received from the server.
|
|
264
264
|
*/
|
|
265
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
265
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
266
266
|
/**
|
|
267
267
|
* Starts listening for updates on the specified resource.
|
|
268
268
|
* @public
|
|
@@ -273,7 +273,7 @@ export declare interface Connect {
|
|
|
273
273
|
* @param initialState - State of the list to start with, defaults to empty array.
|
|
274
274
|
* @returns An observable that emits latest state of the list it subscribes to.
|
|
275
275
|
*/
|
|
276
|
-
streamState(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
276
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
|
277
277
|
/**
|
|
278
278
|
* Starts listening for updates on the specified resource without auto-teardown.
|
|
279
279
|
* @deprecated - Use `stream` instead. Will be removed in v15.
|
|
@@ -284,7 +284,7 @@ export declare interface Connect {
|
|
|
284
284
|
* @param params - Additional parameters to pass to the server.
|
|
285
285
|
* @returns An observable that emits messages received from the server.
|
|
286
286
|
*/
|
|
287
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
287
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
288
288
|
/**
|
|
289
289
|
* Requests additional rows of data for the specified source reference.
|
|
290
290
|
* @public
|
|
@@ -1664,17 +1664,17 @@ export declare class DefaultConnect implements Connect {
|
|
|
1664
1664
|
send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
|
|
1665
1665
|
connect(host?: string): Promise<boolean>;
|
|
1666
1666
|
disconnect(): void;
|
|
1667
|
-
snapshot(resourceName: string, params?:
|
|
1668
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
1669
|
-
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?:
|
|
1670
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
1667
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
|
1668
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
1669
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
|
1670
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
1671
1671
|
getMoreRows(sourceRef: string, viewNumber?: number): Promise<Message>;
|
|
1672
1672
|
getMoreColumns(sourceRef: string): Promise<Message>;
|
|
1673
1673
|
dataLogoff(streamSourceRef: string): Promise<Message>;
|
|
1674
1674
|
getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
|
|
1675
1675
|
getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
|
|
1676
1676
|
request(resourceName: string, params?: RequestParams): Promise<Message>;
|
|
1677
|
-
getAvailableResources(params?:
|
|
1677
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
|
1678
1678
|
commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
|
|
1679
1679
|
}
|
|
1680
1680
|
|
|
@@ -2075,7 +2075,7 @@ export declare class DefaultMessageBuilder implements MessageBuilder {
|
|
|
2075
2075
|
constructor(session: Session, uuid: UUID);
|
|
2076
2076
|
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
|
2077
2077
|
createLogoutMessage(loginResult?: LoginResult): Message;
|
|
2078
|
-
createDataLogonMessage(resourceName: string, params?:
|
|
2078
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
|
2079
2079
|
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
|
2080
2080
|
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
|
2081
2081
|
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
|
@@ -3236,9 +3236,9 @@ export declare const MAX_RECONNECT_ATTEMPTS = 10;
|
|
|
3236
3236
|
* @public
|
|
3237
3237
|
*/
|
|
3238
3238
|
export declare type Message<T = void | any> = {
|
|
3239
|
-
REPLY?:
|
|
3239
|
+
REPLY?: Record<string, unknown>[];
|
|
3240
3240
|
CODE?: MessageCode | string;
|
|
3241
|
-
DETAILS?: T
|
|
3241
|
+
DETAILS?: T | Record<string, unknown>;
|
|
3242
3242
|
LOGGED_OUT?: boolean;
|
|
3243
3243
|
ERROR?: MessageError[];
|
|
3244
3244
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
|
@@ -3246,7 +3246,7 @@ export declare type Message<T = void | any> = {
|
|
|
3246
3246
|
PROFILE?: string[];
|
|
3247
3247
|
RESOURCES?: any[];
|
|
3248
3248
|
REFRESH_AUTH_TOKEN?: string;
|
|
3249
|
-
ROW?:
|
|
3249
|
+
ROW?: ServerRow[];
|
|
3250
3250
|
ROWS_COUNT?: number;
|
|
3251
3251
|
SEQUENCE_ID?: number;
|
|
3252
3252
|
SERVICE_NAME?: string;
|
|
@@ -3341,7 +3341,7 @@ export declare interface MessageBuilder {
|
|
|
3341
3341
|
* @param params - The additional parameters.
|
|
3342
3342
|
* @returns The request message.
|
|
3343
3343
|
*/
|
|
3344
|
-
createResourcesMessage<T = any>(params?:
|
|
3344
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
|
3345
3345
|
/**
|
|
3346
3346
|
* Creates a metadata fetch message.
|
|
3347
3347
|
*
|
|
@@ -3968,8 +3968,8 @@ export declare type RequestDetailsParam = {
|
|
|
3968
3968
|
* @public
|
|
3969
3969
|
*/
|
|
3970
3970
|
export declare type RequestParams = {
|
|
3971
|
-
DETAILS?: RequestDetailsParam |
|
|
3972
|
-
REQUEST?:
|
|
3971
|
+
DETAILS?: RequestDetailsParam | Record<string, unknown>;
|
|
3972
|
+
REQUEST?: Record<string, unknown>;
|
|
3973
3973
|
};
|
|
3974
3974
|
|
|
3975
3975
|
/**
|
|
@@ -4133,6 +4133,7 @@ export declare type ServerRow = {
|
|
|
4133
4133
|
OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';
|
|
4134
4134
|
ROW_REF: string;
|
|
4135
4135
|
};
|
|
4136
|
+
[key: string]: any;
|
|
4136
4137
|
};
|
|
4137
4138
|
|
|
4138
4139
|
/**
|
|
@@ -9,7 +9,7 @@ Retrieves a snapshot of data for the specified resource.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
snapshot(resourceName: string, params?:
|
|
12
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
@@ -17,7 +17,7 @@ snapshot(resourceName: string, params?: any): Promise<Message>;
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| resourceName | string | The name of the resource to retrieve the snapshot for. |
|
|
20
|
-
| params |
|
|
20
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ Additional parameters to pass to the server. |
|
|
21
21
|
|
|
22
22
|
**Returns:**
|
|
23
23
|
|
|
@@ -9,7 +9,7 @@ Starts listening for updates on the specified resource.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
12
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
@@ -19,7 +19,7 @@ stream(resourceName: string, onMessage: Function, onError: Function, params?: an
|
|
|
19
19
|
| resourceName | string | The name of the resource to listen for updates on. |
|
|
20
20
|
| onMessage | Function | A callback function to handle received messages. |
|
|
21
21
|
| onError | Function | A callback function to handle errors. |
|
|
22
|
-
| params |
|
|
22
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ Additional parameters to pass to the server. |
|
|
23
23
|
|
|
24
24
|
**Returns:**
|
|
25
25
|
|
|
@@ -9,7 +9,7 @@ Starts listening for updates on the specified resource.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
streamState(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
12
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
@@ -19,7 +19,7 @@ streamState(resourceName: string, onMessage: Function, onError: Function, params
|
|
|
19
19
|
| resourceName | string | The name of the resource to listen for updates on. |
|
|
20
20
|
| onMessage | Function | A callback function to handle received messages. |
|
|
21
21
|
| onError | Function | A callback function to handle errors. |
|
|
22
|
-
| params |
|
|
22
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ Additional parameters to pass to the server. |
|
|
23
23
|
| initialState | any\[\] | _(Optional)_ State of the list to start with, defaults to empty array. |
|
|
24
24
|
|
|
25
25
|
**Returns:**
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
getAvailableResources(params?:
|
|
10
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
15
15
|
| Parameter | Type | Description |
|
|
16
16
|
| --- | --- | --- |
|
|
17
|
-
| params |
|
|
17
|
+
| params | [RequestParams](./foundation-comms.requestparams.md) | _(Optional)_ |
|
|
18
18
|
|
|
19
19
|
**Returns:**
|
|
20
20
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
snapshot(resourceName: string, params?:
|
|
10
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
@@ -15,7 +15,7 @@ snapshot(resourceName: string, params?: any): Promise<Message>;
|
|
|
15
15
|
| Parameter | Type | Description |
|
|
16
16
|
| --- | --- | --- |
|
|
17
17
|
| resourceName | string | |
|
|
18
|
-
| params |
|
|
18
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
|
19
19
|
|
|
20
20
|
**Returns:**
|
|
21
21
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
10
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
@@ -17,7 +17,7 @@ stream(resourceName: string, onMessage: Function, onError: Function, params?: an
|
|
|
17
17
|
| resourceName | string | |
|
|
18
18
|
| onMessage | Function | |
|
|
19
19
|
| onError | Function | |
|
|
20
|
-
| params |
|
|
20
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
|
21
21
|
|
|
22
22
|
**Returns:**
|
|
23
23
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?:
|
|
10
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
@@ -17,7 +17,7 @@ streamState(resourceName: string, onMessage?: Function, onError?: Function, para
|
|
|
17
17
|
| resourceName | string | |
|
|
18
18
|
| onMessage | Function | _(Optional)_ |
|
|
19
19
|
| onError | Function | _(Optional)_ |
|
|
20
|
-
| params |
|
|
20
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
|
21
21
|
| initialState | any\[\] | _(Optional)_ |
|
|
22
22
|
|
|
23
23
|
**Returns:**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
10
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
@@ -17,7 +17,7 @@ streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Fu
|
|
|
17
17
|
| resourceName | string | |
|
|
18
18
|
| onMessage | Function | |
|
|
19
19
|
| onError | Function | |
|
|
20
|
-
| params |
|
|
20
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
|
21
21
|
|
|
22
22
|
**Returns:**
|
|
23
23
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
createDataLogonMessage(resourceName: string, params?:
|
|
10
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
@@ -15,7 +15,7 @@ createDataLogonMessage(resourceName: string, params?: any): Message<MessageDetai
|
|
|
15
15
|
| Parameter | Type | Description |
|
|
16
16
|
| --- | --- | --- |
|
|
17
17
|
| resourceName | string | |
|
|
18
|
-
| params |
|
|
18
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
|
19
19
|
|
|
20
20
|
**Returns:**
|
|
21
21
|
|
|
@@ -10,9 +10,9 @@ Base Message type for all DETAIL variants
|
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
12
|
export type Message<T = void | any> = {
|
|
13
|
-
REPLY?:
|
|
13
|
+
REPLY?: Record<string, unknown>[];
|
|
14
14
|
CODE?: MessageCode | string;
|
|
15
|
-
DETAILS?: T
|
|
15
|
+
DETAILS?: T | Record<string, unknown>;
|
|
16
16
|
LOGGED_OUT?: boolean;
|
|
17
17
|
ERROR?: MessageError[];
|
|
18
18
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
|
@@ -20,7 +20,7 @@ export type Message<T = void | any> = {
|
|
|
20
20
|
PROFILE?: string[];
|
|
21
21
|
RESOURCES?: any[];
|
|
22
22
|
REFRESH_AUTH_TOKEN?: string;
|
|
23
|
-
ROW?:
|
|
23
|
+
ROW?: ServerRow[];
|
|
24
24
|
ROWS_COUNT?: number;
|
|
25
25
|
SEQUENCE_ID?: number;
|
|
26
26
|
SERVICE_NAME?: string;
|
|
@@ -31,5 +31,5 @@ export type Message<T = void | any> = {
|
|
|
31
31
|
WARNING?: any[];
|
|
32
32
|
};
|
|
33
33
|
```
|
|
34
|
-
**References:** [MessageCode](./foundation-comms.messagecode.md)<!-- -->, [MessageError](./foundation-comms.messageerror.md)<!-- -->, [MessageType](./foundation-comms.messagetype.md)<!-- -->, [EventMessageType](./foundation-comms.eventmessagetype.md)
|
|
34
|
+
**References:** [MessageCode](./foundation-comms.messagecode.md)<!-- -->, [MessageError](./foundation-comms.messageerror.md)<!-- -->, [MessageType](./foundation-comms.messagetype.md)<!-- -->, [EventMessageType](./foundation-comms.eventmessagetype.md)<!-- -->, [ServerRow](./foundation-comms.serverrow.md)
|
|
35
35
|
|
|
@@ -9,14 +9,14 @@ Creates a message for getting list of resources.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
createResourcesMessage<T = any>(params?:
|
|
12
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| params |
|
|
19
|
+
| params | [RequestParams](./foundation-comms.requestparams.md) | _(Optional)_ The additional parameters. |
|
|
20
20
|
|
|
21
21
|
**Returns:**
|
|
22
22
|
|
|
@@ -10,8 +10,8 @@ Parameters for a REQ\_ messages
|
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
12
|
export type RequestParams = {
|
|
13
|
-
DETAILS?: RequestDetailsParam |
|
|
14
|
-
REQUEST?:
|
|
13
|
+
DETAILS?: RequestDetailsParam | Record<string, unknown>;
|
|
14
|
+
REQUEST?: Record<string, unknown>;
|
|
15
15
|
};
|
|
16
16
|
```
|
|
17
17
|
**References:** [RequestDetailsParam](./foundation-comms.requestdetailsparam.md)
|
package/docs/api-report.md
CHANGED
|
@@ -141,7 +141,7 @@ export const CommitEventType = "connect-commit-event";
|
|
|
141
141
|
|
|
142
142
|
// @public
|
|
143
143
|
export type CommitParams = {
|
|
144
|
-
DETAILS:
|
|
144
|
+
DETAILS: Record<string, unknown>;
|
|
145
145
|
HOSTNAME?: string;
|
|
146
146
|
IGNORE_WARNINGS?: boolean;
|
|
147
147
|
VALIDATE?: boolean;
|
|
@@ -174,11 +174,11 @@ export interface Connect {
|
|
|
174
174
|
send<T>(message: Message<T | any>, needsHandling?: boolean): Promise<Message | any>;
|
|
175
175
|
// @internal
|
|
176
176
|
setValidSession(valid: boolean): void;
|
|
177
|
-
snapshot(resourceName: string, params?:
|
|
178
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
179
|
-
streamState(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
177
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
|
178
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
179
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
|
180
180
|
// @alpha @deprecated
|
|
181
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
181
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
// @internal
|
|
@@ -941,7 +941,7 @@ export class DefaultConnect implements Connect {
|
|
|
941
941
|
// (undocumented)
|
|
942
942
|
disconnect(): void;
|
|
943
943
|
// (undocumented)
|
|
944
|
-
getAvailableResources(params?:
|
|
944
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
|
945
945
|
// (undocumented)
|
|
946
946
|
getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
|
|
947
947
|
// (undocumented)
|
|
@@ -969,15 +969,15 @@ export class DefaultConnect implements Connect {
|
|
|
969
969
|
// @deprecated (undocumented)
|
|
970
970
|
setValidSession(valid: boolean): void;
|
|
971
971
|
// (undocumented)
|
|
972
|
-
snapshot(resourceName: string, params?:
|
|
972
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
|
973
973
|
// (undocumented)
|
|
974
974
|
socket: Socket;
|
|
975
975
|
// (undocumented)
|
|
976
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
976
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
977
977
|
// (undocumented)
|
|
978
|
-
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?:
|
|
978
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
|
979
979
|
// (undocumented)
|
|
980
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
|
980
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
// @public
|
|
@@ -1338,7 +1338,7 @@ export class DefaultMessageBuilder implements MessageBuilder {
|
|
|
1338
1338
|
// (undocumented)
|
|
1339
1339
|
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
|
1340
1340
|
// (undocumented)
|
|
1341
|
-
createDataLogonMessage(resourceName: string, params?:
|
|
1341
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
|
1342
1342
|
// (undocumented)
|
|
1343
1343
|
createForgotPasswordMessage(username: string, returnUrl: string, requester?: string): Message<MessageDetails.ForgotPassword>;
|
|
1344
1344
|
// (undocumented)
|
|
@@ -1961,9 +1961,9 @@ export const MAX_RECONNECT_ATTEMPTS = 10;
|
|
|
1961
1961
|
|
|
1962
1962
|
// @public
|
|
1963
1963
|
export type Message<T = void | any> = {
|
|
1964
|
-
REPLY?:
|
|
1964
|
+
REPLY?: Record<string, unknown>[];
|
|
1965
1965
|
CODE?: MessageCode | string;
|
|
1966
|
-
DETAILS?: T
|
|
1966
|
+
DETAILS?: T | Record<string, unknown>;
|
|
1967
1967
|
LOGGED_OUT?: boolean;
|
|
1968
1968
|
ERROR?: MessageError[];
|
|
1969
1969
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
|
@@ -1971,7 +1971,7 @@ export type Message<T = void | any> = {
|
|
|
1971
1971
|
PROFILE?: string[];
|
|
1972
1972
|
RESOURCES?: any[];
|
|
1973
1973
|
REFRESH_AUTH_TOKEN?: string;
|
|
1974
|
-
ROW?:
|
|
1974
|
+
ROW?: ServerRow[];
|
|
1975
1975
|
ROWS_COUNT?: number;
|
|
1976
1976
|
SEQUENCE_ID?: number;
|
|
1977
1977
|
SERVICE_NAME?: string;
|
|
@@ -2002,7 +2002,7 @@ export interface MessageBuilder {
|
|
|
2002
2002
|
createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDetails.MoreRows>;
|
|
2003
2003
|
createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
|
|
2004
2004
|
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
|
2005
|
-
createResourcesMessage<T = any>(params?:
|
|
2005
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
|
2006
2006
|
}
|
|
2007
2007
|
|
|
2008
2008
|
// @internal
|
|
@@ -2314,8 +2314,8 @@ export type RequestDetailsParam = {
|
|
|
2314
2314
|
|
|
2315
2315
|
// @public
|
|
2316
2316
|
export type RequestParams = {
|
|
2317
|
-
DETAILS?: RequestDetailsParam |
|
|
2318
|
-
REQUEST?:
|
|
2317
|
+
DETAILS?: RequestDetailsParam | Record<string, unknown>;
|
|
2318
|
+
REQUEST?: Record<string, unknown>;
|
|
2319
2319
|
};
|
|
2320
2320
|
|
|
2321
2321
|
// @public
|
|
@@ -2424,6 +2424,7 @@ export type ServerRow = {
|
|
|
2424
2424
|
OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';
|
|
2425
2425
|
ROW_REF: string;
|
|
2426
2426
|
};
|
|
2427
|
+
[key: string]: any;
|
|
2427
2428
|
};
|
|
2428
2429
|
|
|
2429
2430
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Session" because one of its declarations is marked as @internal
|
|
@@ -2753,7 +2754,7 @@ export const WSConnect: InterfaceSymbol<Connect>;
|
|
|
2753
2754
|
|
|
2754
2755
|
// Warnings were encountered during analysis:
|
|
2755
2756
|
//
|
|
2756
|
-
// src/connect/message.ts:
|
|
2757
|
+
// src/connect/message.ts:291:3 - (ae-forgotten-export) The symbol "RESOURCE_DETAILS" needs to be exported by the entry point index.d.ts
|
|
2757
2758
|
|
|
2758
2759
|
// (No @packageDocumentation comment for this package)
|
|
2759
2760
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-comms",
|
|
3
3
|
"description": "Genesis Foundation UI Comms",
|
|
4
|
-
"version": "14.217.
|
|
4
|
+
"version": "14.217.2-alpha-53d4080.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -75,23 +75,23 @@
|
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@genesislcap/foundation-testing": "14.217.
|
|
79
|
-
"@genesislcap/genx": "14.217.
|
|
80
|
-
"@genesislcap/rollup-builder": "14.217.
|
|
81
|
-
"@genesislcap/ts-builder": "14.217.
|
|
82
|
-
"@genesislcap/uvu-playwright-builder": "14.217.
|
|
83
|
-
"@genesislcap/vite-builder": "14.217.
|
|
84
|
-
"@genesislcap/webpack-builder": "14.217.
|
|
78
|
+
"@genesislcap/foundation-testing": "14.217.2-alpha-53d4080.0",
|
|
79
|
+
"@genesislcap/genx": "14.217.2-alpha-53d4080.0",
|
|
80
|
+
"@genesislcap/rollup-builder": "14.217.2-alpha-53d4080.0",
|
|
81
|
+
"@genesislcap/ts-builder": "14.217.2-alpha-53d4080.0",
|
|
82
|
+
"@genesislcap/uvu-playwright-builder": "14.217.2-alpha-53d4080.0",
|
|
83
|
+
"@genesislcap/vite-builder": "14.217.2-alpha-53d4080.0",
|
|
84
|
+
"@genesislcap/webpack-builder": "14.217.2-alpha-53d4080.0",
|
|
85
85
|
"@types/js-cookie": "^3.0.2",
|
|
86
86
|
"@types/json-schema": "^7.0.11",
|
|
87
87
|
"@types/webappsec-credential-management": "^0.6.2",
|
|
88
88
|
"rimraf": "^5.0.0"
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
|
-
"@genesislcap/foundation-broadcast-channel": "14.217.
|
|
92
|
-
"@genesislcap/foundation-logger": "14.217.
|
|
93
|
-
"@genesislcap/foundation-user": "14.217.
|
|
94
|
-
"@genesislcap/foundation-utils": "14.217.
|
|
91
|
+
"@genesislcap/foundation-broadcast-channel": "14.217.2-alpha-53d4080.0",
|
|
92
|
+
"@genesislcap/foundation-logger": "14.217.2-alpha-53d4080.0",
|
|
93
|
+
"@genesislcap/foundation-user": "14.217.2-alpha-53d4080.0",
|
|
94
|
+
"@genesislcap/foundation-utils": "14.217.2-alpha-53d4080.0",
|
|
95
95
|
"@microsoft/fast-element": "^1.12.0",
|
|
96
96
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
97
97
|
"analytics": "^0.8.0",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"publishConfig": {
|
|
112
112
|
"access": "public"
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "9a5ce3a8fa95d7c5cdc1d670ce69e3403d85e7c6"
|
|
115
115
|
}
|