@genesislcap/foundation-comms 14.219.2-alpha-8e7b8ad.0 → 14.219.3-alpha-cbd5fc5.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +5 -3
- 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 +34 -24
- package/dist/foundation-comms.d.ts +15 -12
- package/docs/api/foundation-comms.commitparams.md +1 -0
- 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 +1 -1
- package/docs/api/foundation-comms.messagebuilder.createresourcesmessage.md +2 -2
- package/docs/api/foundation-comms.requestparams.md +1 -0
- package/docs/api/foundation-comms.serverrow.md +1 -0
- package/docs/api-report.md +15 -12
- 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,aAA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xE,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"}
|
@@ -198,7 +198,7 @@ export type MessageError = {
|
|
198
198
|
export type Message<T = void | any> = {
|
199
199
|
REPLY?: any[];
|
200
200
|
CODE?: MessageCode | string;
|
201
|
-
DETAILS?: T;
|
201
|
+
DETAILS?: T | any;
|
202
202
|
LOGGED_OUT?: boolean;
|
203
203
|
ERROR?: MessageError[];
|
204
204
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
@@ -301,6 +301,7 @@ export type RequestDetailsParam = {
|
|
301
301
|
export type RequestParams = {
|
302
302
|
DETAILS?: RequestDetailsParam | any;
|
303
303
|
REQUEST?: any;
|
304
|
+
[key: string]: any;
|
304
305
|
};
|
305
306
|
/**
|
306
307
|
* Parameters for a COMMIT message
|
@@ -311,6 +312,7 @@ export type CommitParams = {
|
|
311
312
|
HOSTNAME?: string;
|
312
313
|
IGNORE_WARNINGS?: boolean;
|
313
314
|
VALIDATE?: boolean;
|
315
|
+
[key: string]: any;
|
314
316
|
};
|
315
317
|
/**
|
316
318
|
* Check if the provided message contains an error and throw an Error if it does
|
@@ -410,7 +412,7 @@ export interface MessageBuilder {
|
|
410
412
|
* @param params - The additional parameters.
|
411
413
|
* @returns The request message.
|
412
414
|
*/
|
413
|
-
createResourcesMessage<T = any>(params?:
|
415
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
414
416
|
/**
|
415
417
|
* Creates a metadata fetch message.
|
416
418
|
*
|
@@ -502,7 +504,7 @@ export declare class DefaultMessageBuilder implements MessageBuilder {
|
|
502
504
|
constructor(session: Session, uuid: UUID);
|
503
505
|
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
504
506
|
createLogoutMessage(loginResult?: LoginResult): Message;
|
505
|
-
createDataLogonMessage(resourceName: string, params?:
|
507
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
506
508
|
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
507
509
|
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
508
510
|
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,iB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,MAAM,CAAC;IAGzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AAED;;;GAGG;AACH,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,7 @@
|
|
1112
1112
|
},
|
1113
1113
|
{
|
1114
1114
|
"kind": "Content",
|
1115
|
-
"text": "{\n DETAILS: any;\n HOSTNAME?: string;\n IGNORE_WARNINGS?: boolean;\n VALIDATE?: boolean;\n}"
|
1115
|
+
"text": "{\n DETAILS: any;\n HOSTNAME?: string;\n IGNORE_WARNINGS?: boolean;\n VALIDATE?: boolean;\n [key: string]: any;\n}"
|
1116
1116
|
},
|
1117
1117
|
{
|
1118
1118
|
"kind": "Content",
|
@@ -1922,8 +1922,9 @@
|
|
1922
1922
|
"text": ", params?: "
|
1923
1923
|
},
|
1924
1924
|
{
|
1925
|
-
"kind": "
|
1926
|
-
"text": "
|
1925
|
+
"kind": "Reference",
|
1926
|
+
"text": "DataserverParams",
|
1927
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
1927
1928
|
},
|
1928
1929
|
{
|
1929
1930
|
"kind": "Content",
|
@@ -2015,8 +2016,9 @@
|
|
2015
2016
|
"text": ", params?: "
|
2016
2017
|
},
|
2017
2018
|
{
|
2018
|
-
"kind": "
|
2019
|
-
"text": "
|
2019
|
+
"kind": "Reference",
|
2020
|
+
"text": "DataserverParams",
|
2021
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
2020
2022
|
},
|
2021
2023
|
{
|
2022
2024
|
"kind": "Content",
|
@@ -2124,8 +2126,9 @@
|
|
2124
2126
|
"text": ", params?: "
|
2125
2127
|
},
|
2126
2128
|
{
|
2127
|
-
"kind": "
|
2128
|
-
"text": "
|
2129
|
+
"kind": "Reference",
|
2130
|
+
"text": "DataserverParams",
|
2131
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
2129
2132
|
},
|
2130
2133
|
{
|
2131
2134
|
"kind": "Content",
|
@@ -10652,8 +10655,9 @@
|
|
10652
10655
|
"text": "getAvailableResources(params?: "
|
10653
10656
|
},
|
10654
10657
|
{
|
10655
|
-
"kind": "
|
10656
|
-
"text": "
|
10658
|
+
"kind": "Reference",
|
10659
|
+
"text": "RequestParams",
|
10660
|
+
"canonicalReference": "@genesislcap/foundation-comms!RequestParams:type"
|
10657
10661
|
},
|
10658
10662
|
{
|
10659
10663
|
"kind": "Content",
|
@@ -11423,8 +11427,9 @@
|
|
11423
11427
|
"text": ", params?: "
|
11424
11428
|
},
|
11425
11429
|
{
|
11426
|
-
"kind": "
|
11427
|
-
"text": "
|
11430
|
+
"kind": "Reference",
|
11431
|
+
"text": "DataserverParams",
|
11432
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11428
11433
|
},
|
11429
11434
|
{
|
11430
11435
|
"kind": "Content",
|
@@ -11550,8 +11555,9 @@
|
|
11550
11555
|
"text": ", params?: "
|
11551
11556
|
},
|
11552
11557
|
{
|
11553
|
-
"kind": "
|
11554
|
-
"text": "
|
11558
|
+
"kind": "Reference",
|
11559
|
+
"text": "DataserverParams",
|
11560
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11555
11561
|
},
|
11556
11562
|
{
|
11557
11563
|
"kind": "Content",
|
@@ -11662,8 +11668,9 @@
|
|
11662
11668
|
"text": ", params?: "
|
11663
11669
|
},
|
11664
11670
|
{
|
11665
|
-
"kind": "
|
11666
|
-
"text": "
|
11671
|
+
"kind": "Reference",
|
11672
|
+
"text": "DataserverParams",
|
11673
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11667
11674
|
},
|
11668
11675
|
{
|
11669
11676
|
"kind": "Content",
|
@@ -11781,8 +11788,9 @@
|
|
11781
11788
|
"text": ", params?: "
|
11782
11789
|
},
|
11783
11790
|
{
|
11784
|
-
"kind": "
|
11785
|
-
"text": "
|
11791
|
+
"kind": "Reference",
|
11792
|
+
"text": "DataserverParams",
|
11793
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11786
11794
|
},
|
11787
11795
|
{
|
11788
11796
|
"kind": "Content",
|
@@ -17807,8 +17815,9 @@
|
|
17807
17815
|
"text": ", params?: "
|
17808
17816
|
},
|
17809
17817
|
{
|
17810
|
-
"kind": "
|
17811
|
-
"text": "
|
17818
|
+
"kind": "Reference",
|
17819
|
+
"text": "DataserverParams",
|
17820
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
17812
17821
|
},
|
17813
17822
|
{
|
17814
17823
|
"kind": "Content",
|
@@ -24572,7 +24581,7 @@
|
|
24572
24581
|
},
|
24573
24582
|
{
|
24574
24583
|
"kind": "Content",
|
24575
|
-
"text": " | string;\n DETAILS?: T;\n LOGGED_OUT?: boolean;\n ERROR?: "
|
24584
|
+
"text": " | string;\n DETAILS?: T | any;\n LOGGED_OUT?: boolean;\n ERROR?: "
|
24576
24585
|
},
|
24577
24586
|
{
|
24578
24587
|
"kind": "Reference",
|
@@ -25727,8 +25736,9 @@
|
|
25727
25736
|
"text": ">(params?: "
|
25728
25737
|
},
|
25729
25738
|
{
|
25730
|
-
"kind": "
|
25731
|
-
"text": "
|
25739
|
+
"kind": "Reference",
|
25740
|
+
"text": "RequestParams",
|
25741
|
+
"canonicalReference": "@genesislcap/foundation-comms!RequestParams:type"
|
25732
25742
|
},
|
25733
25743
|
{
|
25734
25744
|
"kind": "Content",
|
@@ -28479,7 +28489,7 @@
|
|
28479
28489
|
},
|
28480
28490
|
{
|
28481
28491
|
"kind": "Content",
|
28482
|
-
"text": " | any;\n REQUEST?: any;\n}"
|
28492
|
+
"text": " | any;\n REQUEST?: any;\n [key: string]: any;\n}"
|
28483
28493
|
},
|
28484
28494
|
{
|
28485
28495
|
"kind": "Content",
|
@@ -29433,7 +29443,7 @@
|
|
29433
29443
|
},
|
29434
29444
|
{
|
29435
29445
|
"kind": "Content",
|
29436
|
-
"text": "{\n DETAILS: {\n OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';\n ROW_REF: string;\n };\n}"
|
29446
|
+
"text": "{\n DETAILS: {\n OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';\n ROW_REF: string;\n };\n [key: string]: any;\n}"
|
29437
29447
|
},
|
29438
29448
|
{
|
29439
29449
|
"kind": "Content",
|
@@ -182,6 +182,7 @@ export declare type CommitParams = {
|
|
182
182
|
HOSTNAME?: string;
|
183
183
|
IGNORE_WARNINGS?: boolean;
|
184
184
|
VALIDATE?: boolean;
|
185
|
+
[key: string]: any;
|
185
186
|
};
|
186
187
|
|
187
188
|
/**
|
@@ -252,7 +253,7 @@ export declare interface Connect {
|
|
252
253
|
* @param params - Additional parameters to pass to the server.
|
253
254
|
* @returns A promise that resolves with the snapshot data.
|
254
255
|
*/
|
255
|
-
snapshot(resourceName: string, params?:
|
256
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
256
257
|
/**
|
257
258
|
* Starts listening for updates on the specified resource.
|
258
259
|
* @public
|
@@ -262,7 +263,7 @@ export declare interface Connect {
|
|
262
263
|
* @param params - Additional parameters to pass to the server.
|
263
264
|
* @returns An observable that emits messages received from the server.
|
264
265
|
*/
|
265
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
266
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
266
267
|
/**
|
267
268
|
* Starts listening for updates on the specified resource.
|
268
269
|
* @public
|
@@ -273,7 +274,7 @@ export declare interface Connect {
|
|
273
274
|
* @param initialState - State of the list to start with, defaults to empty array.
|
274
275
|
* @returns An observable that emits latest state of the list it subscribes to.
|
275
276
|
*/
|
276
|
-
streamState(resourceName: string, onMessage: Function, onError: Function, params?:
|
277
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
277
278
|
/**
|
278
279
|
* Starts listening for updates on the specified resource without auto-teardown.
|
279
280
|
* @deprecated - Use `stream` instead. Will be removed in v15.
|
@@ -284,7 +285,7 @@ export declare interface Connect {
|
|
284
285
|
* @param params - Additional parameters to pass to the server.
|
285
286
|
* @returns An observable that emits messages received from the server.
|
286
287
|
*/
|
287
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
288
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
288
289
|
/**
|
289
290
|
* Requests additional rows of data for the specified source reference.
|
290
291
|
* @public
|
@@ -1664,17 +1665,17 @@ export declare class DefaultConnect implements Connect {
|
|
1664
1665
|
send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
|
1665
1666
|
connect(host?: string): Promise<boolean>;
|
1666
1667
|
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?:
|
1668
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
1669
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
1670
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
1671
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
1671
1672
|
getMoreRows(sourceRef: string, viewNumber?: number): Promise<Message>;
|
1672
1673
|
getMoreColumns(sourceRef: string): Promise<Message>;
|
1673
1674
|
dataLogoff(streamSourceRef: string): Promise<Message>;
|
1674
1675
|
getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
|
1675
1676
|
getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
|
1676
1677
|
request(resourceName: string, params?: RequestParams): Promise<Message>;
|
1677
|
-
getAvailableResources(params?:
|
1678
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
1678
1679
|
commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
|
1679
1680
|
}
|
1680
1681
|
|
@@ -2078,7 +2079,7 @@ export declare class DefaultMessageBuilder implements MessageBuilder {
|
|
2078
2079
|
constructor(session: Session, uuid: UUID);
|
2079
2080
|
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
2080
2081
|
createLogoutMessage(loginResult?: LoginResult): Message;
|
2081
|
-
createDataLogonMessage(resourceName: string, params?:
|
2082
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
2082
2083
|
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
2083
2084
|
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
2084
2085
|
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
@@ -3241,7 +3242,7 @@ export declare const MAX_RECONNECT_ATTEMPTS = 10;
|
|
3241
3242
|
export declare type Message<T = void | any> = {
|
3242
3243
|
REPLY?: any[];
|
3243
3244
|
CODE?: MessageCode | string;
|
3244
|
-
DETAILS?: T;
|
3245
|
+
DETAILS?: T | any;
|
3245
3246
|
LOGGED_OUT?: boolean;
|
3246
3247
|
ERROR?: MessageError[];
|
3247
3248
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
@@ -3344,7 +3345,7 @@ export declare interface MessageBuilder {
|
|
3344
3345
|
* @param params - The additional parameters.
|
3345
3346
|
* @returns The request message.
|
3346
3347
|
*/
|
3347
|
-
createResourcesMessage<T = any>(params?:
|
3348
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
3348
3349
|
/**
|
3349
3350
|
* Creates a metadata fetch message.
|
3350
3351
|
*
|
@@ -3973,6 +3974,7 @@ export declare type RequestDetailsParam = {
|
|
3973
3974
|
export declare type RequestParams = {
|
3974
3975
|
DETAILS?: RequestDetailsParam | any;
|
3975
3976
|
REQUEST?: any;
|
3977
|
+
[key: string]: any;
|
3976
3978
|
};
|
3977
3979
|
|
3978
3980
|
/**
|
@@ -4136,6 +4138,7 @@ export declare type ServerRow = {
|
|
4136
4138
|
OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';
|
4137
4139
|
ROW_REF: string;
|
4138
4140
|
};
|
4141
|
+
[key: string]: any;
|
4139
4142
|
};
|
4140
4143
|
|
4141
4144
|
/**
|
@@ -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
|
|
@@ -12,7 +12,7 @@ Base Message type for all DETAIL variants
|
|
12
12
|
export type Message<T = void | any> = {
|
13
13
|
REPLY?: any[];
|
14
14
|
CODE?: MessageCode | string;
|
15
|
-
DETAILS?: T;
|
15
|
+
DETAILS?: T | any;
|
16
16
|
LOGGED_OUT?: boolean;
|
17
17
|
ERROR?: MessageError[];
|
18
18
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
@@ -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
|
|
package/docs/api-report.md
CHANGED
@@ -145,6 +145,7 @@ export type CommitParams = {
|
|
145
145
|
HOSTNAME?: string;
|
146
146
|
IGNORE_WARNINGS?: boolean;
|
147
147
|
VALIDATE?: boolean;
|
148
|
+
[key: string]: any;
|
148
149
|
};
|
149
150
|
|
150
151
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Connect" because one of its declarations is marked as @internal
|
@@ -174,11 +175,11 @@ export interface Connect {
|
|
174
175
|
send<T>(message: Message<T | any>, needsHandling?: boolean): Promise<Message | any>;
|
175
176
|
// @internal
|
176
177
|
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?:
|
178
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
179
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
180
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
180
181
|
// @alpha @deprecated
|
181
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
182
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
182
183
|
}
|
183
184
|
|
184
185
|
// @internal
|
@@ -941,7 +942,7 @@ export class DefaultConnect implements Connect {
|
|
941
942
|
// (undocumented)
|
942
943
|
disconnect(): void;
|
943
944
|
// (undocumented)
|
944
|
-
getAvailableResources(params?:
|
945
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
945
946
|
// (undocumented)
|
946
947
|
getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
|
947
948
|
// (undocumented)
|
@@ -969,15 +970,15 @@ export class DefaultConnect implements Connect {
|
|
969
970
|
// @deprecated (undocumented)
|
970
971
|
setValidSession(valid: boolean): void;
|
971
972
|
// (undocumented)
|
972
|
-
snapshot(resourceName: string, params?:
|
973
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
973
974
|
// (undocumented)
|
974
975
|
socket: Socket;
|
975
976
|
// (undocumented)
|
976
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
977
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
977
978
|
// (undocumented)
|
978
|
-
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?:
|
979
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
979
980
|
// (undocumented)
|
980
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
981
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
981
982
|
}
|
982
983
|
|
983
984
|
// @public
|
@@ -1338,7 +1339,7 @@ export class DefaultMessageBuilder implements MessageBuilder {
|
|
1338
1339
|
// (undocumented)
|
1339
1340
|
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
1340
1341
|
// (undocumented)
|
1341
|
-
createDataLogonMessage(resourceName: string, params?:
|
1342
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
1342
1343
|
// (undocumented)
|
1343
1344
|
createForgotPasswordMessage(username: string, returnUrl: string, requester?: string): Message<MessageDetails.ForgotPassword>;
|
1344
1345
|
// (undocumented)
|
@@ -1963,7 +1964,7 @@ export const MAX_RECONNECT_ATTEMPTS = 10;
|
|
1963
1964
|
export type Message<T = void | any> = {
|
1964
1965
|
REPLY?: any[];
|
1965
1966
|
CODE?: MessageCode | string;
|
1966
|
-
DETAILS?: T;
|
1967
|
+
DETAILS?: T | any;
|
1967
1968
|
LOGGED_OUT?: boolean;
|
1968
1969
|
ERROR?: MessageError[];
|
1969
1970
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
@@ -2002,7 +2003,7 @@ export interface MessageBuilder {
|
|
2002
2003
|
createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDetails.MoreRows>;
|
2003
2004
|
createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
|
2004
2005
|
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
2005
|
-
createResourcesMessage<T = any>(params?:
|
2006
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
2006
2007
|
}
|
2007
2008
|
|
2008
2009
|
// @internal
|
@@ -2316,6 +2317,7 @@ export type RequestDetailsParam = {
|
|
2316
2317
|
export type RequestParams = {
|
2317
2318
|
DETAILS?: RequestDetailsParam | any;
|
2318
2319
|
REQUEST?: any;
|
2320
|
+
[key: string]: any;
|
2319
2321
|
};
|
2320
2322
|
|
2321
2323
|
// @public
|
@@ -2424,6 +2426,7 @@ export type ServerRow = {
|
|
2424
2426
|
OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';
|
2425
2427
|
ROW_REF: string;
|
2426
2428
|
};
|
2429
|
+
[key: string]: any;
|
2427
2430
|
};
|
2428
2431
|
|
2429
2432
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Session" because one of its declarations is marked as @internal
|
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.219.
|
4
|
+
"version": "14.219.3-alpha-cbd5fc5.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.219.
|
79
|
-
"@genesislcap/genx": "14.219.
|
80
|
-
"@genesislcap/rollup-builder": "14.219.
|
81
|
-
"@genesislcap/ts-builder": "14.219.
|
82
|
-
"@genesislcap/uvu-playwright-builder": "14.219.
|
83
|
-
"@genesislcap/vite-builder": "14.219.
|
84
|
-
"@genesislcap/webpack-builder": "14.219.
|
78
|
+
"@genesislcap/foundation-testing": "14.219.3-alpha-cbd5fc5.0",
|
79
|
+
"@genesislcap/genx": "14.219.3-alpha-cbd5fc5.0",
|
80
|
+
"@genesislcap/rollup-builder": "14.219.3-alpha-cbd5fc5.0",
|
81
|
+
"@genesislcap/ts-builder": "14.219.3-alpha-cbd5fc5.0",
|
82
|
+
"@genesislcap/uvu-playwright-builder": "14.219.3-alpha-cbd5fc5.0",
|
83
|
+
"@genesislcap/vite-builder": "14.219.3-alpha-cbd5fc5.0",
|
84
|
+
"@genesislcap/webpack-builder": "14.219.3-alpha-cbd5fc5.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.219.
|
92
|
-
"@genesislcap/foundation-logger": "14.219.
|
93
|
-
"@genesislcap/foundation-user": "14.219.
|
94
|
-
"@genesislcap/foundation-utils": "14.219.
|
91
|
+
"@genesislcap/foundation-broadcast-channel": "14.219.3-alpha-cbd5fc5.0",
|
92
|
+
"@genesislcap/foundation-logger": "14.219.3-alpha-cbd5fc5.0",
|
93
|
+
"@genesislcap/foundation-user": "14.219.3-alpha-cbd5fc5.0",
|
94
|
+
"@genesislcap/foundation-utils": "14.219.3-alpha-cbd5fc5.0",
|
95
95
|
"@microsoft/fast-element": "^1.12.0",
|
96
96
|
"@microsoft/fast-foundation": "2.49.6",
|
97
97
|
"analytics": "^0.8.0",
|
@@ -111,5 +111,5 @@
|
|
111
111
|
"publishConfig": {
|
112
112
|
"access": "public"
|
113
113
|
},
|
114
|
-
"gitHead": "
|
114
|
+
"gitHead": "1882a14a52bd115b82d360b63510b3102fac2aa8"
|
115
115
|
}
|