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