@genesislcap/foundation-comms 14.199.2-alpha-1ab46f4.0 → 14.199.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/dist/dts/connect/connect.d.ts +2 -2
  2. package/dist/dts/connect/connect.d.ts.map +1 -1
  3. package/dist/dts/connect/message.d.ts +4 -12
  4. package/dist/dts/connect/message.d.ts.map +1 -1
  5. package/dist/dts/datasource/datasource.d.ts +16 -18
  6. package/dist/dts/datasource/datasource.d.ts.map +1 -1
  7. package/dist/dts/datasource/datasource.types.d.ts +17 -37
  8. package/dist/dts/datasource/datasource.types.d.ts.map +1 -1
  9. package/dist/dts/metadata/metadata.types.d.ts +1 -23
  10. package/dist/dts/metadata/metadata.types.d.ts.map +1 -1
  11. package/dist/dts/testing/mocks/datasource/datasource.d.ts +2 -3
  12. package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
  13. package/dist/esm/connect/connect.js +2 -2
  14. package/dist/esm/connect/message.js +1 -2
  15. package/dist/esm/datasource/datasource.js +33 -58
  16. package/dist/esm/metadata/metadata.utils.js +1 -2
  17. package/dist/esm/testing/mocks/datasource/datasource.js +2 -9
  18. package/dist/foundation-comms.api.json +108 -458
  19. package/dist/foundation-comms.d.ts +42 -97
  20. package/docs/api/foundation-comms.connect.getmorerows.md +1 -2
  21. package/docs/api/foundation-comms.connect.md +1 -1
  22. package/docs/api/{foundation-comms.datasource.startstream.md → foundation-comms.datasource.deinit.md} +9 -5
  23. package/docs/api/foundation-comms.datasource.destroy.md +1 -5
  24. package/docs/api/foundation-comms.datasource.init.md +1 -2
  25. package/docs/api/foundation-comms.datasource.md +4 -4
  26. package/docs/api/foundation-comms.datasource.snapshot.md +3 -3
  27. package/docs/api/foundation-comms.datasource.snapshotfiltered.md +2 -2
  28. package/docs/api/foundation-comms.datasource.validresourcename.md +0 -5
  29. package/docs/api/foundation-comms.datasourceoptions.criteria.md +0 -5
  30. package/docs/api/foundation-comms.datasourceoptions.disablepolling.md +0 -5
  31. package/docs/api/foundation-comms.datasourceoptions.fields.md +0 -5
  32. package/docs/api/foundation-comms.datasourceoptions.maxrows.md +0 -5
  33. package/docs/api/foundation-comms.datasourceoptions.maxview.md +0 -5
  34. package/docs/api/foundation-comms.datasourceoptions.md +0 -2
  35. package/docs/api/foundation-comms.datasourceoptions.movingview.md +0 -5
  36. package/docs/api/foundation-comms.datasourceoptions.orderby.md +0 -5
  37. package/docs/api/foundation-comms.datasourceoptions.request.md +0 -5
  38. package/docs/api/foundation-comms.datasourceoptions.reverse.md +0 -5
  39. package/docs/api/foundation-comms.defaultconnect.getmorerows.md +1 -2
  40. package/docs/api/foundation-comms.defaultconnect.md +1 -1
  41. package/docs/api/{foundation-comms.defaultdatasource.startstream.md → foundation-comms.defaultdatasource.deinit.md} +4 -4
  42. package/docs/api/foundation-comms.defaultdatasource.destroy.md +1 -5
  43. package/docs/api/foundation-comms.defaultdatasource.init.md +1 -2
  44. package/docs/api/foundation-comms.defaultdatasource.md +4 -5
  45. package/docs/api/foundation-comms.defaultdatasource.snapshot.md +1 -8
  46. package/docs/api/foundation-comms.defaultmessagebuilder.createmorerowsmessage.md +2 -3
  47. package/docs/api/foundation-comms.defaultmessagebuilder.md +1 -1
  48. package/docs/api/foundation-comms.md +0 -2
  49. package/docs/api/foundation-comms.messagebuilder.createmorerowsmessage.md +2 -3
  50. package/docs/api/foundation-comms.messagebuilder.createrequestmessage.md +2 -2
  51. package/docs/api/foundation-comms.messagebuilder.md +1 -1
  52. package/docs/api/foundation-comms.messagedetails.morerows.md +0 -1
  53. package/docs/api/foundation-comms.metadata.md +2 -5
  54. package/docs/api/foundation-comms.metadatadetail.md +0 -3
  55. package/docs/api/foundation-comms.requestparams.md +1 -3
  56. package/docs/api/foundation-comms.requestserverresult.md +0 -5
  57. package/docs/api-report.md +18 -54
  58. package/package.json +13 -13
  59. package/docs/api/foundation-comms.datasourceoptions.requestautosetup.md +0 -18
  60. package/docs/api/foundation-comms.datasourceoptions.viewnumber.md +0 -18
  61. package/docs/api/foundation-comms.defaultdatasource.startstreamrequired.md +0 -12
  62. package/docs/api/foundation-comms.replydetail.md +0 -21
  63. package/docs/api/foundation-comms.requestdetailsparam.md +0 -15
@@ -7,7 +7,7 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- init(options: DatasourceOptions, fetchMeta?: boolean, startStream?: boolean): Promise<boolean>;
10
+ init(options: DatasourceOptions, fetchMeta?: boolean): Promise<boolean>;
11
11
  ```
12
12
 
13
13
  ## Parameters
@@ -16,7 +16,6 @@ init(options: DatasourceOptions, fetchMeta?: boolean, startStream?: boolean): Pr
16
16
  | --- | --- | --- |
17
17
  | options | [DatasourceOptions](./foundation-comms.datasourceoptions.md) | |
18
18
  | fetchMeta | boolean | _(Optional)_ |
19
- | startStream | boolean | _(Optional)_ |
20
19
 
21
20
  **Returns:**
22
21
 
@@ -37,7 +37,6 @@ export declare class DefaultDatasource implements Datasource
37
37
  | [requestFields](./foundation-comms.defaultdatasource.requestfields.md) | | [MetadataDetail](./foundation-comms.metadatadetail.md)<!-- -->\[\] | |
38
38
  | [resources](./foundation-comms.defaultdatasource.resources.md) | <code>protected</code> | [GenesisResources](./foundation-comms.genesisresources.md) | |
39
39
  | [resourceType](./foundation-comms.defaultdatasource.resourcetype.md) | | [ResourceType](./foundation-comms.resourcetype.md) | |
40
- | [startStreamRequired](./foundation-comms.defaultdatasource.startstreamrequired.md) | | boolean | |
41
40
  | [status](./foundation-comms.defaultdatasource.status.md) | | [DatasourceStatus](./foundation-comms.datasourcestatus.md) | |
42
41
  | [stream](./foundation-comms.defaultdatasource.stream.md) | | [SocketObservable](./foundation-comms.socketobservable.md)<!-- -->&lt;[FilteredDataServerResult](./foundation-comms.filtereddataserverresult.md) \| [RequestServerResult](./foundation-comms.requestserverresult.md)<!-- -->&gt; | |
43
42
 
@@ -45,11 +44,11 @@ export declare class DefaultDatasource implements Datasource
45
44
 
46
45
  | Method | Modifiers | Description |
47
46
  | --- | --- | --- |
48
- | [destroy()](./foundation-comms.defaultdatasource.destroy.md) | | Destroys the datasource. |
47
+ | [deinit()](./foundation-comms.defaultdatasource.deinit.md) | | |
48
+ | [destroy()](./foundation-comms.defaultdatasource.destroy.md) | | Destroy the datasource. |
49
49
  | [fetchAndApplyMetadata(resourceName)](./foundation-comms.defaultdatasource.fetchandapplymetadata.md) | <code>protected</code> | |
50
- | [init(options, fetchMeta, startStream)](./foundation-comms.defaultdatasource.init.md) | | |
51
- | [snapshot(overrideParams)](./foundation-comms.defaultdatasource.snapshot.md) | | |
50
+ | [init(options, fetchMeta)](./foundation-comms.defaultdatasource.init.md) | | |
51
+ | [snapshot()](./foundation-comms.defaultdatasource.snapshot.md) | | |
52
52
  | [snapshotFiltered(rowId)](./foundation-comms.defaultdatasource.snapshotfiltered.md) | | |
53
- | [startStream()](./foundation-comms.defaultdatasource.startstream.md) | | |
54
53
  | [validResourceName(resourceName)](./foundation-comms.defaultdatasource.validresourcename.md) | | |
55
54
 
@@ -7,15 +7,8 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- snapshot(overrideParams?: any): Promise<Message>;
10
+ snapshot(): Promise<Message>;
11
11
  ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | overrideParams | any | _(Optional)_ |
18
-
19
12
  **Returns:**
20
13
 
21
14
  Promise&lt;[Message](./foundation-comms.message.md)<!-- -->&gt;
@@ -7,7 +7,7 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDetails.MoreRows>;
10
+ createMoreRowsMessage(sourceRef: string): Message;
11
11
  ```
12
12
 
13
13
  ## Parameters
@@ -15,9 +15,8 @@ createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDe
15
15
  | Parameter | Type | Description |
16
16
  | --- | --- | --- |
17
17
  | sourceRef | string | |
18
- | viewNumber | number | _(Optional)_ |
19
18
 
20
19
  **Returns:**
21
20
 
22
- [Message](./foundation-comms.message.md)<!-- -->&lt;[MessageDetails.MoreRows](./foundation-comms.messagedetails.morerows.md)<!-- -->&gt;
21
+ [Message](./foundation-comms.message.md)
23
22
 
@@ -35,7 +35,7 @@ export declare class DefaultMessageBuilder implements MessageBuilder
35
35
  | [createLogoutMessage(loginResult)](./foundation-comms.defaultmessagebuilder.createlogoutmessage.md) | | |
36
36
  | [createMetaRequestMessage(resourceName, messageType)](./foundation-comms.defaultmessagebuilder.createmetarequestmessage.md) | | |
37
37
  | [createMoreColumnsMessage(sourceRef)](./foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md) | | |
38
- | [createMoreRowsMessage(sourceRef, viewNumber)](./foundation-comms.defaultmessagebuilder.createmorerowsmessage.md) | | |
38
+ | [createMoreRowsMessage(sourceRef)](./foundation-comms.defaultmessagebuilder.createmorerowsmessage.md) | | |
39
39
  | [createRefreshTokenMessage()](./foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md) | | |
40
40
  | [createRequestMessage(resourceName, params)](./foundation-comms.defaultmessagebuilder.createrequestmessage.md) | | |
41
41
  | [createResourcesMessage(params)](./foundation-comms.defaultmessagebuilder.createresourcesmessage.md) | | |
@@ -177,8 +177,6 @@
177
177
  | [RawDataServerResult](./foundation-comms.rawdataserverresult.md) | Raw result from a DATASERVER data fetch. |
178
178
  | [RefreshAuthInfo](./foundation-comms.refreshauthinfo.md) | Represents refresh token authentication information. |
179
179
  | [RefreshCredentialsInput](./foundation-comms.refreshcredentialsinput.md) | Represents refresh credentials for a user. |
180
- | [ReplyDetail](./foundation-comms.replydetail.md) | Reply Detail definition. |
181
- | [RequestDetailsParam](./foundation-comms.requestdetailsparam.md) | |
182
180
  | [RequestParams](./foundation-comms.requestparams.md) | Parameters for a REQUEST message |
183
181
  | [RequestServerResult](./foundation-comms.requestserverresult.md) | Raw result from a REQUEST\_SERVER data fetch. |
184
182
  | [ResourceHealth](./foundation-comms.resourcehealth.md) | ResourceHealth. |
@@ -9,7 +9,7 @@ Creates a message to request more rows.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDetails.MoreRows>;
12
+ createMoreRowsMessage(sourceRef: string): Message;
13
13
  ```
14
14
 
15
15
  ## Parameters
@@ -17,11 +17,10 @@ createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDe
17
17
  | Parameter | Type | Description |
18
18
  | --- | --- | --- |
19
19
  | sourceRef | string | The source reference. |
20
- | viewNumber | number | _(Optional)_ |
21
20
 
22
21
  **Returns:**
23
22
 
24
- [Message](./foundation-comms.message.md)<!-- -->&lt;[MessageDetails.MoreRows](./foundation-comms.messagedetails.morerows.md)<!-- -->&gt;
23
+ [Message](./foundation-comms.message.md)
25
24
 
26
25
  The more rows message.
27
26
 
@@ -9,7 +9,7 @@ Creates a request message.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
12
+ createRequestMessage<T = any>(resourceName: string, params?: any): Message<T>;
13
13
  ```
14
14
 
15
15
  ## Parameters
@@ -17,7 +17,7 @@ createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Mes
17
17
  | Parameter | Type | Description |
18
18
  | --- | --- | --- |
19
19
  | resourceName | string | The resource name. |
20
- | params | [RequestParams](./foundation-comms.requestparams.md) | _(Optional)_ The additional parameters. |
20
+ | params | any | _(Optional)_ The additional parameters. |
21
21
 
22
22
  **Returns:**
23
23
 
@@ -28,7 +28,7 @@ export interface MessageBuilder
28
28
  | [createLogoutMessage(loginResult)](./foundation-comms.messagebuilder.createlogoutmessage.md) | Creates a logout message. |
29
29
  | [createMetaRequestMessage(resourceName, messageType)](./foundation-comms.messagebuilder.createmetarequestmessage.md) | Creates a metadata fetch message. |
30
30
  | [createMoreColumnsMessage(sourceRef)](./foundation-comms.messagebuilder.createmorecolumnsmessage.md) | Creates a message to request more columns. |
31
- | [createMoreRowsMessage(sourceRef, viewNumber)](./foundation-comms.messagebuilder.createmorerowsmessage.md) | Creates a message to request more rows. |
31
+ | [createMoreRowsMessage(sourceRef)](./foundation-comms.messagebuilder.createmorerowsmessage.md) | Creates a message to request more rows. |
32
32
  | [createRefreshTokenMessage()](./foundation-comms.messagebuilder.createrefreshtokenmessage.md) | Creates an auth message specific for token refresh. |
33
33
  | [createRequestMessage(resourceName, params)](./foundation-comms.messagebuilder.createrequestmessage.md) | Creates a request message. |
34
34
  | [createResourcesMessage(params)](./foundation-comms.messagebuilder.createresourcesmessage.md) | Creates a message for getting list of resources. |
@@ -11,6 +11,5 @@ Details type to request more rows
11
11
  ```typescript
12
12
  type MoreRows = {
13
13
  SOURCE_REF: string;
14
- VIEW_NUMBER?: number;
15
14
  };
16
15
  ```
@@ -10,17 +10,14 @@ Metadata definition for a given resource.
10
10
 
11
11
  ```typescript
12
12
  export type Metadata = {
13
- DEFINITIONS?: Record<string, any>;
14
- DESCRIPTION?: string;
15
13
  FIELD?: MetadataDetail[];
16
- REPLY?: ReplyDetail;
14
+ INDEXES?: IndexDetail[];
17
15
  REPLY_FIELD?: MetadataDetail[];
18
16
  REQUEST_FIELD?: MetadataDetail[];
19
17
  NAME?: string;
20
18
  TYPE?: string;
21
- INDEXES?: IndexDetail[];
22
19
  ERROR?: string;
23
20
  };
24
21
  ```
25
- **References:** [MetadataDetail](./foundation-comms.metadatadetail.md)<!-- -->, [ReplyDetail](./foundation-comms.replydetail.md)<!-- -->, [IndexDetail](./foundation-comms.indexdetail.md)
22
+ **References:** [MetadataDetail](./foundation-comms.metadatadetail.md)<!-- -->, [IndexDetail](./foundation-comms.indexdetail.md)
26
23
 
@@ -12,12 +12,9 @@ Metadata Detail definition.
12
12
  export type MetadataDetail = {
13
13
  NAME: string;
14
14
  TYPE: string;
15
- DESCRIPTION?: string;
16
- JSON_TYPE?: string;
17
15
  VALID_VALUES?: string;
18
16
  READ_ONLY?: boolean;
19
17
  OPTIONAL?: boolean;
20
- NULLABLE?: boolean;
21
18
  UI_LABEL?: string;
22
19
  };
23
20
  ```
@@ -10,9 +10,7 @@ Parameters for a REQUEST message
10
10
 
11
11
  ```typescript
12
12
  export type RequestParams = {
13
- DETAILS?: RequestDetailsParam | any;
13
+ DETAILS?: any;
14
14
  REQUEST?: any;
15
15
  };
16
16
  ```
17
- **References:** [RequestDetailsParam](./foundation-comms.requestdetailsparam.md)
18
-
@@ -13,10 +13,5 @@ export type RequestServerResult = {
13
13
  SOURCE_REF?: string;
14
14
  REPLY: any[];
15
15
  MESSAGE_TYPE?: string;
16
- MORE_ROWS?: boolean;
17
- NEXT_VIEW?: number;
18
- PARAMETRIC_TYPE?: string;
19
- ROWS_COUNT?: number;
20
- SEQUENCE_ID?: number;
21
16
  };
22
17
  ```
@@ -159,7 +159,7 @@ export interface Connect {
159
159
  getJSONSchema(resourceName: string): Promise<SchemaResponse>;
160
160
  getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
161
161
  getMoreColumns(sourceRef: string): Promise<Message>;
162
- getMoreRows(sourceRef: string, viewNumber?: number): Promise<Message>;
162
+ getMoreRows(sourceRef: string): Promise<Message>;
163
163
  // (undocumented)
164
164
  host: string;
165
165
  // @internal
@@ -381,24 +381,23 @@ export interface Datasource extends DatasourceMetadata {
381
381
  clearFilter?(name: string): Promise<void>;
382
382
  createItem?(data: any): Promise<string>;
383
383
  dataHandler?(data: Array<any>): Array<any>;
384
+ deinit(): any;
384
385
  deleteItem?(itemId: string): Promise<void>;
385
386
  destroy(): void;
386
387
  dropView?(view: Dataview): void;
387
388
  getMetadata?(resourceName: string): Promise<Array<FieldMetadata>>;
388
- init(options: DatasourceOptions, fetchMeta?: boolean, startStream?: boolean): Promise<boolean>;
389
+ init(options: DatasourceOptions, fetchMeta?: boolean): Promise<boolean>;
389
390
  initialized: boolean;
390
391
  readOnly: boolean;
391
392
  resourceType: ResourceType;
392
393
  setFilter?(name: string, value: any, type?: string): Promise<void>;
393
- snapshot(overrideParams?: any): Promise<Message>;
394
- snapshotFiltered(rowId?: string): Promise<any[]>;
395
- startStream(): Promise<void>;
394
+ snapshot(params?: any): any;
395
+ snapshotFiltered(rowId?: string): any;
396
396
  // (undocumented)
397
397
  status: Partial<DatasourceStatus>;
398
398
  stream: SocketObservable<FilteredDataServerResult | RequestServerResult>;
399
399
  updateData?(data: Array<any>): Promise<void>;
400
400
  updateItem?(itemId: string, data: any): Promise<void>;
401
- // @deprecated
402
401
  validResourceName(resourceName: string): boolean;
403
402
  }
404
403
 
@@ -819,11 +818,9 @@ export class DatasourceMock implements Datasource {
819
818
  setMetadata(meta: Metadata): void;
820
819
  setStream(message: Message): void;
821
820
  // (undocumented)
822
- snapshot(params?: any): Promise<Message<any>>;
821
+ snapshot(params?: any): void;
823
822
  // (undocumented)
824
- snapshotFiltered(rowId?: string): Promise<any[]>;
825
- // (undocumented)
826
- startStream(): Promise<void>;
823
+ snapshotFiltered(rowId?: string): void;
827
824
  // (undocumented)
828
825
  status: DatasourceStatus;
829
826
  // (undocumented)
@@ -852,10 +849,8 @@ export interface DatasourceOptions {
852
849
  orderBy?: string;
853
850
  pollingInterval?: number;
854
851
  request?: any;
855
- requestAutoSetup?: boolean;
856
852
  resourceName?: string;
857
853
  reverse?: boolean;
858
- viewNumber?: number;
859
854
  }
860
855
 
861
856
  // @public
@@ -932,7 +927,7 @@ export class DefaultConnect implements Connect {
932
927
  // (undocumented)
933
928
  getMoreColumns(sourceRef: string): Promise<Message>;
934
929
  // (undocumented)
935
- getMoreRows(sourceRef: string, viewNumber?: number): Promise<Message>;
930
+ getMoreRows(sourceRef: string): Promise<Message>;
936
931
  // (undocumented)
937
932
  get host(): string;
938
933
  // (undocumented)
@@ -1084,6 +1079,8 @@ export class DefaultDatasource implements Datasource {
1084
1079
  protected config: DatasourceConfig;
1085
1080
  // (undocumented)
1086
1081
  protected connect: Connect;
1082
+ // (undocumented)
1083
+ deinit(): void;
1087
1084
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "Datasource" has more than one declaration; you need to add a TSDoc member reference selector
1088
1085
  //
1089
1086
  // (undocumented)
@@ -1095,7 +1092,7 @@ export class DefaultDatasource implements Datasource {
1095
1092
  // (undocumented)
1096
1093
  fieldMetadata: FieldMetadata[];
1097
1094
  // (undocumented)
1098
- init(options: DatasourceOptions, fetchMeta?: boolean, startStream?: boolean): Promise<boolean>;
1095
+ init(options: DatasourceOptions, fetchMeta?: boolean): Promise<boolean>;
1099
1096
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "Datasource" has more than one declaration; you need to add a TSDoc member reference selector
1100
1097
  //
1101
1098
  // (undocumented)
@@ -1119,15 +1116,9 @@ export class DefaultDatasource implements Datasource {
1119
1116
  // (undocumented)
1120
1117
  resourceType: ResourceType;
1121
1118
  // (undocumented)
1122
- snapshot(overrideParams?: any): Promise<Message>;
1119
+ snapshot(): Promise<Message>;
1123
1120
  // (undocumented)
1124
1121
  snapshotFiltered(rowId?: string): Promise<any[]>;
1125
- // (undocumented)
1126
- startStream(): Promise<void>;
1127
- // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: No member was found with name "startStream"
1128
- //
1129
- // (undocumented)
1130
- startStreamRequired: boolean;
1131
1122
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "Datasource" has more than one declaration; you need to add a TSDoc member reference selector
1132
1123
  //
1133
1124
  // (undocumented)
@@ -1335,7 +1326,7 @@ export class DefaultMessageBuilder implements MessageBuilder {
1335
1326
  // (undocumented)
1336
1327
  createMoreColumnsMessage(sourceRef: string): Message;
1337
1328
  // (undocumented)
1338
- createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDetails.MoreRows>;
1329
+ createMoreRowsMessage(sourceRef: string): Message;
1339
1330
  // (undocumented)
1340
1331
  createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
1341
1332
  // (undocumented)
@@ -1976,9 +1967,9 @@ export interface MessageBuilder {
1976
1967
  createLogoutMessage(loginResult?: LoginResult): Message;
1977
1968
  createMetaRequestMessage(resourceName: string, messageType?: EventMessageType): Message<MessageDetails.MetaRequest>;
1978
1969
  createMoreColumnsMessage(sourceRef: string): Message;
1979
- createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDetails.MoreRows>;
1970
+ createMoreRowsMessage(sourceRef: string): Message;
1980
1971
  createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
1981
- createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
1972
+ createRequestMessage<T = any>(resourceName: string, params?: any): Message<T>;
1982
1973
  createResourcesMessage<T = any>(params?: any): Message<T>;
1983
1974
  }
1984
1975
 
@@ -2044,7 +2035,6 @@ export namespace MessageDetails {
2044
2035
  };
2045
2036
  export type MoreRows = {
2046
2037
  SOURCE_REF: string;
2047
- VIEW_NUMBER?: number;
2048
2038
  };
2049
2039
  export type RefreshToken = {
2050
2040
  REFRESH_AUTH_TOKEN: string;
@@ -2115,15 +2105,12 @@ export const MetaCache: InterfaceSymbol<MetaCache>;
2115
2105
 
2116
2106
  // @public
2117
2107
  export type Metadata = {
2118
- DEFINITIONS?: Record<string, any>;
2119
- DESCRIPTION?: string;
2120
2108
  FIELD?: MetadataDetail[];
2121
- REPLY?: ReplyDetail;
2109
+ INDEXES?: IndexDetail[];
2122
2110
  REPLY_FIELD?: MetadataDetail[];
2123
2111
  REQUEST_FIELD?: MetadataDetail[];
2124
2112
  NAME?: string;
2125
2113
  TYPE?: string;
2126
- INDEXES?: IndexDetail[];
2127
2114
  ERROR?: string;
2128
2115
  };
2129
2116
 
@@ -2139,12 +2126,9 @@ export interface MetadataCache {
2139
2126
  export type MetadataDetail = {
2140
2127
  NAME: string;
2141
2128
  TYPE: string;
2142
- DESCRIPTION?: string;
2143
- JSON_TYPE?: string;
2144
2129
  VALID_VALUES?: string;
2145
2130
  READ_ONLY?: boolean;
2146
2131
  OPTIONAL?: boolean;
2147
- NULLABLE?: boolean;
2148
2132
  UI_LABEL?: string;
2149
2133
  };
2150
2134
 
@@ -2273,24 +2257,9 @@ export type RefreshCredentialsInput = {
2273
2257
  mfaToken?: string;
2274
2258
  };
2275
2259
 
2276
- // @public
2277
- export type ReplyDetail = {
2278
- DEFINITIONS?: Record<string, any>;
2279
- DESCRIPTION?: string;
2280
- FIELD: MetadataDetail[];
2281
- NAME: string;
2282
- [key: string]: any;
2283
- };
2284
-
2285
- // @public (undocumented)
2286
- export type RequestDetailsParam = {
2287
- MAX_ROWS?: number;
2288
- CRITERIA_MATCH?: string;
2289
- };
2290
-
2291
2260
  // @public
2292
2261
  export type RequestParams = {
2293
- DETAILS?: RequestDetailsParam | any;
2262
+ DETAILS?: any;
2294
2263
  REQUEST?: any;
2295
2264
  };
2296
2265
 
@@ -2299,11 +2268,6 @@ export type RequestServerResult = {
2299
2268
  SOURCE_REF?: string;
2300
2269
  REPLY: any[];
2301
2270
  MESSAGE_TYPE?: string;
2302
- MORE_ROWS?: boolean;
2303
- NEXT_VIEW?: number;
2304
- PARAMETRIC_TYPE?: string;
2305
- ROWS_COUNT?: number;
2306
- SEQUENCE_ID?: number;
2307
2271
  };
2308
2272
 
2309
2273
  // @public
@@ -2729,7 +2693,7 @@ export const WSConnect: InterfaceSymbol<Connect>;
2729
2693
 
2730
2694
  // Warnings were encountered during analysis:
2731
2695
  //
2732
- // src/connect/message.ts:290:3 - (ae-forgotten-export) The symbol "RESOURCE_DETAILS" needs to be exported by the entry point index.d.ts
2696
+ // src/connect/message.ts:289:3 - (ae-forgotten-export) The symbol "RESOURCE_DETAILS" needs to be exported by the entry point index.d.ts
2733
2697
 
2734
2698
  // (No @packageDocumentation comment for this package)
2735
2699
 
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.199.2-alpha-1ab46f4.0",
4
+ "version": "14.199.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.199.2-alpha-1ab46f4.0",
79
- "@genesislcap/genx": "14.199.2-alpha-1ab46f4.0",
80
- "@genesislcap/rollup-builder": "14.199.2-alpha-1ab46f4.0",
81
- "@genesislcap/ts-builder": "14.199.2-alpha-1ab46f4.0",
82
- "@genesislcap/uvu-playwright-builder": "14.199.2-alpha-1ab46f4.0",
83
- "@genesislcap/vite-builder": "14.199.2-alpha-1ab46f4.0",
84
- "@genesislcap/webpack-builder": "14.199.2-alpha-1ab46f4.0",
78
+ "@genesislcap/foundation-testing": "14.199.2",
79
+ "@genesislcap/genx": "14.199.2",
80
+ "@genesislcap/rollup-builder": "14.199.2",
81
+ "@genesislcap/ts-builder": "14.199.2",
82
+ "@genesislcap/uvu-playwright-builder": "14.199.2",
83
+ "@genesislcap/vite-builder": "14.199.2",
84
+ "@genesislcap/webpack-builder": "14.199.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.199.2-alpha-1ab46f4.0",
92
- "@genesislcap/foundation-logger": "14.199.2-alpha-1ab46f4.0",
93
- "@genesislcap/foundation-user": "14.199.2-alpha-1ab46f4.0",
94
- "@genesislcap/foundation-utils": "14.199.2-alpha-1ab46f4.0",
91
+ "@genesislcap/foundation-broadcast-channel": "14.199.2",
92
+ "@genesislcap/foundation-logger": "14.199.2",
93
+ "@genesislcap/foundation-user": "14.199.2",
94
+ "@genesislcap/foundation-utils": "14.199.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": "f8e1021cce46ca0ac9f658db17eabd951405337c"
114
+ "gitHead": "7e312ac8f65e7153b76119b4b0160fab945fcdf4"
115
115
  }
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceOptions](./foundation-comms.datasourceoptions.md) &gt; [requestAutoSetup](./foundation-comms.datasourceoptions.requestautosetup.md)
4
-
5
- ## DatasourceOptions.requestAutoSetup property
6
-
7
- Whether the Datasource service will setup RQUEST object based on metadata.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- requestAutoSetup?: boolean;
13
- ```
14
-
15
- ## Remarks
16
-
17
- Only works with REQUEST\_SERVER resources.
18
-
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DatasourceOptions](./foundation-comms.datasourceoptions.md) &gt; [viewNumber](./foundation-comms.datasourceoptions.viewnumber.md)
4
-
5
- ## DatasourceOptions.viewNumber property
6
-
7
- The current page/"view" number being displayed.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- viewNumber?: number;
13
- ```
14
-
15
- ## Remarks
16
-
17
- Works with both DATASERVER and REQUEST\_SERVER resources.
18
-
@@ -1,12 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultDatasource](./foundation-comms.defaultdatasource.md) &gt; [startStreamRequired](./foundation-comms.defaultdatasource.startstreamrequired.md)
4
-
5
- ## DefaultDatasource.startStreamRequired property
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- startStreamRequired: boolean;
12
- ```
@@ -1,21 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [ReplyDetail](./foundation-comms.replydetail.md)
4
-
5
- ## ReplyDetail type
6
-
7
- Reply Detail definition.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export type ReplyDetail = {
13
- DEFINITIONS?: Record<string, any>;
14
- DESCRIPTION?: string;
15
- FIELD: MetadataDetail[];
16
- NAME: string;
17
- [key: string]: any;
18
- };
19
- ```
20
- **References:** [MetadataDetail](./foundation-comms.metadatadetail.md)
21
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [RequestDetailsParam](./foundation-comms.requestdetailsparam.md)
4
-
5
- ## RequestDetailsParam type
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- export type RequestDetailsParam = {
12
- MAX_ROWS?: number;
13
- CRITERIA_MATCH?: string;
14
- };
15
- ```