@genesislcap/foundation-comms 14.217.2-alpha-06a4fa3.0 → 14.217.2
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 +8 -10
- 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 +29 -75
- package/dist/foundation-comms.d.ts +17 -20
- package/docs/api/foundation-comms.commitparams.md +1 -2
- 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 +3 -3
- package/docs/api/foundation-comms.messagebuilder.createresourcesmessage.md +2 -2
- package/docs/api/foundation-comms.requestparams.md +2 -3
- package/docs/api/foundation-comms.serverrow.md +0 -1
- package/docs/api-report.md +18 -21
- 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,iBAAiB,CAAC;AAE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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"}
|
@@ -196,9 +196,9 @@ export type MessageError = {
|
|
196
196
|
* @public
|
197
197
|
*/
|
198
198
|
export type Message<T = void | any> = {
|
199
|
-
REPLY?: any;
|
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;
|
@@ -206,7 +206,7 @@ export type Message<T = void | any> = {
|
|
206
206
|
PROFILE?: string[];
|
207
207
|
RESOURCES?: any[];
|
208
208
|
REFRESH_AUTH_TOKEN?: string;
|
209
|
-
ROW?: any;
|
209
|
+
ROW?: any[];
|
210
210
|
ROWS_COUNT?: number;
|
211
211
|
SEQUENCE_ID?: number;
|
212
212
|
SERVICE_NAME?: string;
|
@@ -299,20 +299,18 @@ export type RequestDetailsParam = {
|
|
299
299
|
* @public
|
300
300
|
*/
|
301
301
|
export type RequestParams = {
|
302
|
-
DETAILS?: RequestDetailsParam |
|
303
|
-
REQUEST?:
|
304
|
-
[key: string]: any;
|
302
|
+
DETAILS?: RequestDetailsParam | any;
|
303
|
+
REQUEST?: any;
|
305
304
|
};
|
306
305
|
/**
|
307
306
|
* Parameters for a COMMIT message
|
308
307
|
* @public
|
309
308
|
*/
|
310
309
|
export type CommitParams = {
|
311
|
-
DETAILS:
|
310
|
+
DETAILS: any;
|
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;
|
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,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AS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;CAUrB,CAAC"}
|
@@ -1112,16 +1112,7 @@
|
|
1112
1112
|
},
|
1113
1113
|
{
|
1114
1114
|
"kind": "Content",
|
1115
|
-
"text": "{\n DETAILS: "
|
1116
|
-
},
|
1117
|
-
{
|
1118
|
-
"kind": "Reference",
|
1119
|
-
"text": "Record",
|
1120
|
-
"canonicalReference": "!Record:type"
|
1121
|
-
},
|
1122
|
-
{
|
1123
|
-
"kind": "Content",
|
1124
|
-
"text": "<string, any>;\n HOSTNAME?: string;\n IGNORE_WARNINGS?: boolean;\n VALIDATE?: boolean;\n [key: string]: any;\n}"
|
1115
|
+
"text": "{\n DETAILS: any;\n HOSTNAME?: string;\n IGNORE_WARNINGS?: boolean;\n VALIDATE?: boolean;\n}"
|
1125
1116
|
},
|
1126
1117
|
{
|
1127
1118
|
"kind": "Content",
|
@@ -1133,7 +1124,7 @@
|
|
1133
1124
|
"name": "CommitParams",
|
1134
1125
|
"typeTokenRange": {
|
1135
1126
|
"startIndex": 1,
|
1136
|
-
"endIndex":
|
1127
|
+
"endIndex": 2
|
1137
1128
|
}
|
1138
1129
|
},
|
1139
1130
|
{
|
@@ -1931,9 +1922,8 @@
|
|
1931
1922
|
"text": ", params?: "
|
1932
1923
|
},
|
1933
1924
|
{
|
1934
|
-
"kind": "
|
1935
|
-
"text": "
|
1936
|
-
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
1925
|
+
"kind": "Content",
|
1926
|
+
"text": "any"
|
1937
1927
|
},
|
1938
1928
|
{
|
1939
1929
|
"kind": "Content",
|
@@ -2025,9 +2015,8 @@
|
|
2025
2015
|
"text": ", params?: "
|
2026
2016
|
},
|
2027
2017
|
{
|
2028
|
-
"kind": "
|
2029
|
-
"text": "
|
2030
|
-
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
2018
|
+
"kind": "Content",
|
2019
|
+
"text": "any"
|
2031
2020
|
},
|
2032
2021
|
{
|
2033
2022
|
"kind": "Content",
|
@@ -2135,9 +2124,8 @@
|
|
2135
2124
|
"text": ", params?: "
|
2136
2125
|
},
|
2137
2126
|
{
|
2138
|
-
"kind": "
|
2139
|
-
"text": "
|
2140
|
-
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
2127
|
+
"kind": "Content",
|
2128
|
+
"text": "any"
|
2141
2129
|
},
|
2142
2130
|
{
|
2143
2131
|
"kind": "Content",
|
@@ -10664,9 +10652,8 @@
|
|
10664
10652
|
"text": "getAvailableResources(params?: "
|
10665
10653
|
},
|
10666
10654
|
{
|
10667
|
-
"kind": "
|
10668
|
-
"text": "
|
10669
|
-
"canonicalReference": "@genesislcap/foundation-comms!RequestParams:type"
|
10655
|
+
"kind": "Content",
|
10656
|
+
"text": "any"
|
10670
10657
|
},
|
10671
10658
|
{
|
10672
10659
|
"kind": "Content",
|
@@ -11436,9 +11423,8 @@
|
|
11436
11423
|
"text": ", params?: "
|
11437
11424
|
},
|
11438
11425
|
{
|
11439
|
-
"kind": "
|
11440
|
-
"text": "
|
11441
|
-
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11426
|
+
"kind": "Content",
|
11427
|
+
"text": "any"
|
11442
11428
|
},
|
11443
11429
|
{
|
11444
11430
|
"kind": "Content",
|
@@ -11564,9 +11550,8 @@
|
|
11564
11550
|
"text": ", params?: "
|
11565
11551
|
},
|
11566
11552
|
{
|
11567
|
-
"kind": "
|
11568
|
-
"text": "
|
11569
|
-
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11553
|
+
"kind": "Content",
|
11554
|
+
"text": "any"
|
11570
11555
|
},
|
11571
11556
|
{
|
11572
11557
|
"kind": "Content",
|
@@ -11677,9 +11662,8 @@
|
|
11677
11662
|
"text": ", params?: "
|
11678
11663
|
},
|
11679
11664
|
{
|
11680
|
-
"kind": "
|
11681
|
-
"text": "
|
11682
|
-
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11665
|
+
"kind": "Content",
|
11666
|
+
"text": "any"
|
11683
11667
|
},
|
11684
11668
|
{
|
11685
11669
|
"kind": "Content",
|
@@ -11797,9 +11781,8 @@
|
|
11797
11781
|
"text": ", params?: "
|
11798
11782
|
},
|
11799
11783
|
{
|
11800
|
-
"kind": "
|
11801
|
-
"text": "
|
11802
|
-
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11784
|
+
"kind": "Content",
|
11785
|
+
"text": "any"
|
11803
11786
|
},
|
11804
11787
|
{
|
11805
11788
|
"kind": "Content",
|
@@ -17824,9 +17807,8 @@
|
|
17824
17807
|
"text": ", params?: "
|
17825
17808
|
},
|
17826
17809
|
{
|
17827
|
-
"kind": "
|
17828
|
-
"text": "
|
17829
|
-
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
17810
|
+
"kind": "Content",
|
17811
|
+
"text": "any"
|
17830
17812
|
},
|
17831
17813
|
{
|
17832
17814
|
"kind": "Content",
|
@@ -24581,7 +24563,7 @@
|
|
24581
24563
|
},
|
24582
24564
|
{
|
24583
24565
|
"kind": "Content",
|
24584
|
-
"text": "{\n REPLY?: any;\n CODE?: "
|
24566
|
+
"text": "{\n REPLY?: any[];\n CODE?: "
|
24585
24567
|
},
|
24586
24568
|
{
|
24587
24569
|
"kind": "Reference",
|
@@ -24590,16 +24572,7 @@
|
|
24590
24572
|
},
|
24591
24573
|
{
|
24592
24574
|
"kind": "Content",
|
24593
|
-
"text": " | string;\n DETAILS?: T
|
24594
|
-
},
|
24595
|
-
{
|
24596
|
-
"kind": "Reference",
|
24597
|
-
"text": "Record",
|
24598
|
-
"canonicalReference": "!Record:type"
|
24599
|
-
},
|
24600
|
-
{
|
24601
|
-
"kind": "Content",
|
24602
|
-
"text": "<string, any>;\n LOGGED_OUT?: boolean;\n ERROR?: "
|
24575
|
+
"text": " | string;\n DETAILS?: T;\n LOGGED_OUT?: boolean;\n ERROR?: "
|
24603
24576
|
},
|
24604
24577
|
{
|
24605
24578
|
"kind": "Reference",
|
@@ -24626,7 +24599,7 @@
|
|
24626
24599
|
},
|
24627
24600
|
{
|
24628
24601
|
"kind": "Content",
|
24629
|
-
"text": " | string;\n PERMISSION?: string[];\n PROFILE?: string[];\n RESOURCES?: any[];\n REFRESH_AUTH_TOKEN?: string;\n ROW?: any;\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}"
|
24602
|
+
"text": " | string;\n PERMISSION?: string[];\n PROFILE?: string[];\n RESOURCES?: any[];\n REFRESH_AUTH_TOKEN?: string;\n ROW?: any[];\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}"
|
24630
24603
|
},
|
24631
24604
|
{
|
24632
24605
|
"kind": "Content",
|
@@ -24651,7 +24624,7 @@
|
|
24651
24624
|
],
|
24652
24625
|
"typeTokenRange": {
|
24653
24626
|
"startIndex": 3,
|
24654
|
-
"endIndex":
|
24627
|
+
"endIndex": 12
|
24655
24628
|
}
|
24656
24629
|
},
|
24657
24630
|
{
|
@@ -25754,9 +25727,8 @@
|
|
25754
25727
|
"text": ">(params?: "
|
25755
25728
|
},
|
25756
25729
|
{
|
25757
|
-
"kind": "
|
25758
|
-
"text": "
|
25759
|
-
"canonicalReference": "@genesislcap/foundation-comms!RequestParams:type"
|
25730
|
+
"kind": "Content",
|
25731
|
+
"text": "any"
|
25760
25732
|
},
|
25761
25733
|
{
|
25762
25734
|
"kind": "Content",
|
@@ -28507,25 +28479,7 @@
|
|
28507
28479
|
},
|
28508
28480
|
{
|
28509
28481
|
"kind": "Content",
|
28510
|
-
"text": " | "
|
28511
|
-
},
|
28512
|
-
{
|
28513
|
-
"kind": "Reference",
|
28514
|
-
"text": "Record",
|
28515
|
-
"canonicalReference": "!Record:type"
|
28516
|
-
},
|
28517
|
-
{
|
28518
|
-
"kind": "Content",
|
28519
|
-
"text": "<string, any>;\n REQUEST?: "
|
28520
|
-
},
|
28521
|
-
{
|
28522
|
-
"kind": "Reference",
|
28523
|
-
"text": "Record",
|
28524
|
-
"canonicalReference": "!Record:type"
|
28525
|
-
},
|
28526
|
-
{
|
28527
|
-
"kind": "Content",
|
28528
|
-
"text": "<string, any>;\n [key: string]: any;\n}"
|
28482
|
+
"text": " | any;\n REQUEST?: any;\n}"
|
28529
28483
|
},
|
28530
28484
|
{
|
28531
28485
|
"kind": "Content",
|
@@ -28537,7 +28491,7 @@
|
|
28537
28491
|
"name": "RequestParams",
|
28538
28492
|
"typeTokenRange": {
|
28539
28493
|
"startIndex": 1,
|
28540
|
-
"endIndex":
|
28494
|
+
"endIndex": 4
|
28541
28495
|
}
|
28542
28496
|
},
|
28543
28497
|
{
|
@@ -29479,7 +29433,7 @@
|
|
29479
29433
|
},
|
29480
29434
|
{
|
29481
29435
|
"kind": "Content",
|
29482
|
-
"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}"
|
29483
29437
|
},
|
29484
29438
|
{
|
29485
29439
|
"kind": "Content",
|
@@ -178,11 +178,10 @@ export declare const CommitEventType = "connect-commit-event";
|
|
178
178
|
* @public
|
179
179
|
*/
|
180
180
|
export declare type CommitParams = {
|
181
|
-
DETAILS:
|
181
|
+
DETAILS: any;
|
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>;
|
@@ -3237,9 +3236,9 @@ export declare const MAX_RECONNECT_ATTEMPTS = 10;
|
|
3237
3236
|
* @public
|
3238
3237
|
*/
|
3239
3238
|
export declare type Message<T = void | any> = {
|
3240
|
-
REPLY?: any;
|
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;
|
@@ -3247,7 +3246,7 @@ export declare type Message<T = void | any> = {
|
|
3247
3246
|
PROFILE?: string[];
|
3248
3247
|
RESOURCES?: any[];
|
3249
3248
|
REFRESH_AUTH_TOKEN?: string;
|
3250
|
-
ROW?: any;
|
3249
|
+
ROW?: any[];
|
3251
3250
|
ROWS_COUNT?: number;
|
3252
3251
|
SEQUENCE_ID?: number;
|
3253
3252
|
SERVICE_NAME?: 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
|
*
|
@@ -3969,9 +3968,8 @@ export declare type RequestDetailsParam = {
|
|
3969
3968
|
* @public
|
3970
3969
|
*/
|
3971
3970
|
export declare type RequestParams = {
|
3972
|
-
DETAILS?: RequestDetailsParam |
|
3973
|
-
REQUEST?:
|
3974
|
-
[key: string]: any;
|
3971
|
+
DETAILS?: RequestDetailsParam | any;
|
3972
|
+
REQUEST?: 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
|
|
@@ -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?: any;
|
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;
|
@@ -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?: any;
|
23
|
+
ROW?: any[];
|
24
24
|
ROWS_COUNT?: number;
|
25
25
|
SEQUENCE_ID?: number;
|
26
26
|
SERVICE_NAME?: 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
|
|
@@ -10,9 +10,8 @@ Parameters for a REQ\_ messages
|
|
10
10
|
|
11
11
|
```typescript
|
12
12
|
export type RequestParams = {
|
13
|
-
DETAILS?: RequestDetailsParam |
|
14
|
-
REQUEST?:
|
15
|
-
[key: string]: any;
|
13
|
+
DETAILS?: RequestDetailsParam | any;
|
14
|
+
REQUEST?: any;
|
16
15
|
};
|
17
16
|
```
|
18
17
|
**References:** [RequestDetailsParam](./foundation-comms.requestdetailsparam.md)
|
package/docs/api-report.md
CHANGED
@@ -141,11 +141,10 @@ export const CommitEventType = "connect-commit-event";
|
|
141
141
|
|
142
142
|
// @public
|
143
143
|
export type CommitParams = {
|
144
|
-
DETAILS:
|
144
|
+
DETAILS: any;
|
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)
|
@@ -1962,9 +1961,9 @@ export const MAX_RECONNECT_ATTEMPTS = 10;
|
|
1962
1961
|
|
1963
1962
|
// @public
|
1964
1963
|
export type Message<T = void | any> = {
|
1965
|
-
REPLY?: any;
|
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;
|
@@ -1972,7 +1971,7 @@ export type Message<T = void | any> = {
|
|
1972
1971
|
PROFILE?: string[];
|
1973
1972
|
RESOURCES?: any[];
|
1974
1973
|
REFRESH_AUTH_TOKEN?: string;
|
1975
|
-
ROW?: any;
|
1974
|
+
ROW?: any[];
|
1976
1975
|
ROWS_COUNT?: number;
|
1977
1976
|
SEQUENCE_ID?: number;
|
1978
1977
|
SERVICE_NAME?: 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
|
@@ -2315,9 +2314,8 @@ export type RequestDetailsParam = {
|
|
2315
2314
|
|
2316
2315
|
// @public
|
2317
2316
|
export type RequestParams = {
|
2318
|
-
DETAILS?: RequestDetailsParam |
|
2319
|
-
REQUEST?:
|
2320
|
-
[key: string]: any;
|
2317
|
+
DETAILS?: RequestDetailsParam | any;
|
2318
|
+
REQUEST?: 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
|
@@ -2756,7 +2753,7 @@ export const WSConnect: InterfaceSymbol<Connect>;
|
|
2756
2753
|
|
2757
2754
|
// Warnings were encountered during analysis:
|
2758
2755
|
//
|
2759
|
-
// src/connect/message.ts:
|
2756
|
+
// src/connect/message.ts:290:3 - (ae-forgotten-export) The symbol "RESOURCE_DETAILS" needs to be exported by the entry point index.d.ts
|
2760
2757
|
|
2761
2758
|
// (No @packageDocumentation comment for this package)
|
2762
2759
|
|
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.2
|
4
|
+
"version": "14.217.2",
|
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.2
|
79
|
-
"@genesislcap/genx": "14.217.2
|
80
|
-
"@genesislcap/rollup-builder": "14.217.2
|
81
|
-
"@genesislcap/ts-builder": "14.217.2
|
82
|
-
"@genesislcap/uvu-playwright-builder": "14.217.2
|
83
|
-
"@genesislcap/vite-builder": "14.217.2
|
84
|
-
"@genesislcap/webpack-builder": "14.217.2
|
78
|
+
"@genesislcap/foundation-testing": "14.217.2",
|
79
|
+
"@genesislcap/genx": "14.217.2",
|
80
|
+
"@genesislcap/rollup-builder": "14.217.2",
|
81
|
+
"@genesislcap/ts-builder": "14.217.2",
|
82
|
+
"@genesislcap/uvu-playwright-builder": "14.217.2",
|
83
|
+
"@genesislcap/vite-builder": "14.217.2",
|
84
|
+
"@genesislcap/webpack-builder": "14.217.2",
|
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.2
|
92
|
-
"@genesislcap/foundation-logger": "14.217.2
|
93
|
-
"@genesislcap/foundation-user": "14.217.2
|
94
|
-
"@genesislcap/foundation-utils": "14.217.2
|
91
|
+
"@genesislcap/foundation-broadcast-channel": "14.217.2",
|
92
|
+
"@genesislcap/foundation-logger": "14.217.2",
|
93
|
+
"@genesislcap/foundation-user": "14.217.2",
|
94
|
+
"@genesislcap/foundation-utils": "14.217.2",
|
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": "69c1d43ea24b182462a2bc522e270c2fb5502244"
|
115
115
|
}
|