@genesislcap/foundation-comms 14.199.1 → 14.199.2-alpha-6f7195d.0

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 +12 -4
  4. package/dist/dts/connect/message.d.ts.map +1 -1
  5. package/dist/dts/datasource/datasource.d.ts +18 -16
  6. package/dist/dts/datasource/datasource.d.ts.map +1 -1
  7. package/dist/dts/datasource/datasource.types.d.ts +37 -17
  8. package/dist/dts/datasource/datasource.types.d.ts.map +1 -1
  9. package/dist/dts/metadata/metadata.types.d.ts +23 -1
  10. package/dist/dts/metadata/metadata.types.d.ts.map +1 -1
  11. package/dist/dts/testing/mocks/datasource/datasource.d.ts +3 -2
  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 +2 -1
  15. package/dist/esm/datasource/datasource.js +58 -33
  16. package/dist/esm/metadata/metadata.utils.js +2 -1
  17. package/dist/esm/testing/mocks/datasource/datasource.js +9 -2
  18. package/dist/foundation-comms.api.json +458 -108
  19. package/dist/foundation-comms.d.ts +97 -42
  20. package/docs/api/foundation-comms.connect.getmorerows.md +2 -1
  21. package/docs/api/foundation-comms.connect.md +1 -1
  22. package/docs/api/foundation-comms.datasource.destroy.md +5 -1
  23. package/docs/api/foundation-comms.datasource.init.md +2 -1
  24. package/docs/api/foundation-comms.datasource.md +4 -4
  25. package/docs/api/foundation-comms.datasource.snapshot.md +3 -3
  26. package/docs/api/foundation-comms.datasource.snapshotfiltered.md +2 -2
  27. package/docs/api/{foundation-comms.datasource.deinit.md → foundation-comms.datasource.startstream.md} +5 -9
  28. package/docs/api/foundation-comms.datasource.validresourcename.md +5 -0
  29. package/docs/api/foundation-comms.datasourceoptions.criteria.md +5 -0
  30. package/docs/api/foundation-comms.datasourceoptions.disablepolling.md +5 -0
  31. package/docs/api/foundation-comms.datasourceoptions.fields.md +5 -0
  32. package/docs/api/foundation-comms.datasourceoptions.maxrows.md +5 -0
  33. package/docs/api/foundation-comms.datasourceoptions.maxview.md +5 -0
  34. package/docs/api/foundation-comms.datasourceoptions.md +2 -0
  35. package/docs/api/foundation-comms.datasourceoptions.movingview.md +5 -0
  36. package/docs/api/foundation-comms.datasourceoptions.orderby.md +5 -0
  37. package/docs/api/foundation-comms.datasourceoptions.request.md +5 -0
  38. package/docs/api/foundation-comms.datasourceoptions.requestautosetup.md +18 -0
  39. package/docs/api/foundation-comms.datasourceoptions.reverse.md +5 -0
  40. package/docs/api/foundation-comms.datasourceoptions.viewnumber.md +18 -0
  41. package/docs/api/foundation-comms.defaultconnect.getmorerows.md +2 -1
  42. package/docs/api/foundation-comms.defaultconnect.md +1 -1
  43. package/docs/api/foundation-comms.defaultdatasource.destroy.md +5 -1
  44. package/docs/api/foundation-comms.defaultdatasource.init.md +2 -1
  45. package/docs/api/foundation-comms.defaultdatasource.md +5 -4
  46. package/docs/api/foundation-comms.defaultdatasource.snapshot.md +8 -1
  47. package/docs/api/{foundation-comms.defaultdatasource.deinit.md → foundation-comms.defaultdatasource.startstream.md} +4 -4
  48. package/docs/api/foundation-comms.defaultdatasource.startstreamrequired.md +12 -0
  49. package/docs/api/foundation-comms.defaultmessagebuilder.createmorerowsmessage.md +3 -2
  50. package/docs/api/foundation-comms.defaultmessagebuilder.md +1 -1
  51. package/docs/api/foundation-comms.md +2 -0
  52. package/docs/api/foundation-comms.messagebuilder.createmorerowsmessage.md +3 -2
  53. package/docs/api/foundation-comms.messagebuilder.createrequestmessage.md +2 -2
  54. package/docs/api/foundation-comms.messagebuilder.md +1 -1
  55. package/docs/api/foundation-comms.messagedetails.morerows.md +1 -0
  56. package/docs/api/foundation-comms.metadata.md +5 -2
  57. package/docs/api/foundation-comms.metadatadetail.md +3 -0
  58. package/docs/api/foundation-comms.replydetail.md +21 -0
  59. package/docs/api/foundation-comms.requestdetailsparam.md +15 -0
  60. package/docs/api/foundation-comms.requestparams.md +3 -1
  61. package/docs/api/foundation-comms.requestserverresult.md +5 -0
  62. package/docs/api-report.md +54 -18
  63. package/package.json +13 -13
@@ -113,7 +113,7 @@ export interface Connect {
113
113
  * @param sourceRef - The source reference to request more rows for.
114
114
  * @returns A promise that resolves with the additional rows of data.
115
115
  */
116
- getMoreRows(sourceRef: string): Promise<Message>;
116
+ getMoreRows(sourceRef: string, viewNumber?: number): Promise<Message>;
117
117
  /**
118
118
  * Requests additional columns for the specified source reference.
119
119
  * @public
@@ -198,7 +198,7 @@ export declare class DefaultConnect implements Connect {
198
198
  stream(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
199
199
  streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: any, initialState?: any[]): Observable<any[]>;
200
200
  streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
201
- getMoreRows(sourceRef: string): Promise<Message>;
201
+ getMoreRows(sourceRef: string, viewNumber?: number): Promise<Message>;
202
202
  getMoreColumns(sourceRef: string): Promise<Message>;
203
203
  dataLogoff(streamSourceRef: string): Promise<Message>;
204
204
  getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/connect/connect.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EACL,YAAY,EAEZ,OAAO,EACP,cAAc,EACd,aAAa,EACb,gBAAgB,EACjB,MAAM,WAAW,CAAC;AACnB,OA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AChB,UAAU,CAAC,GAAG,EAAE,CAAC;IAMb,yBAAyB,CAC9B,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,QAAQ,EACnB,OAAO,EAAE,QAAQ,EACjB,MAAM,CAAC,EAAE,GAAG,GACX,gBAAgB,CAAC,OAAO,CAAC;IAef,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAMrE,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKnD,UAAU,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAMrD,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,GAAE,OAAc,GAAG,OAAO,CAAC,QAAQ,CAAC;IAmC9E,aAAa,CACxB,YAAY,EAAE,MAAM,EACpB,QAAQ,GAAE,OAAc,GACvB,OAAO,CAAC,cAAc,CAAC;IAiCnB,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC;IASxE,qBAAqB,CAAC,MAAM,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAMvD,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;CAOrF;AAID;;;GAGG;AACH,eAAO,MAAM,SAAS,+DAAkE,CAAC;AAEzF;;;GAGG;AACH,eAAO,MAAM,OAAO,+DAEnB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAEpC"}
@@ -136,6 +136,7 @@ export declare namespace MessageDetails {
136
136
  */
137
137
  type MoreRows = {
138
138
  SOURCE_REF: string;
139
+ VIEW_NUMBER?: number;
139
140
  };
140
141
  /**
141
142
  * Details type to update columns
@@ -258,12 +259,19 @@ export type ResourcesMessage = {
258
259
  SOURCE_REF: string;
259
260
  RESOURCES: ResourceItem[];
260
261
  };
262
+ /**
263
+ * @public
264
+ */
265
+ export type RequestDetailsParam = {
266
+ MAX_ROWS?: number;
267
+ CRITERIA_MATCH?: string;
268
+ };
261
269
  /**
262
270
  * Parameters for a REQUEST message
263
271
  * @public
264
272
  */
265
273
  export type RequestParams = {
266
- DETAILS?: any;
274
+ DETAILS?: RequestDetailsParam | any;
267
275
  REQUEST?: any;
268
276
  };
269
277
  /**
@@ -345,7 +353,7 @@ export interface MessageBuilder {
345
353
  * @param sourceRef - The source reference.
346
354
  * @returns The more rows message.
347
355
  */
348
- createMoreRowsMessage(sourceRef: string): Message;
356
+ createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDetails.MoreRows>;
349
357
  /**
350
358
  * Creates a message to request more columns.
351
359
  *
@@ -365,7 +373,7 @@ export interface MessageBuilder {
365
373
  * @param params - The additional parameters.
366
374
  * @returns The request message.
367
375
  */
368
- createRequestMessage<T = any>(resourceName: string, params?: any): Message<T>;
376
+ createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
369
377
  /**
370
378
  * Creates a message for getting list of resources.
371
379
  *
@@ -475,7 +483,7 @@ export declare class DefaultMessageBuilder implements MessageBuilder {
475
483
  createChangePasswordMessage(username: string, oldPassword: string, newPassword: string): Message<MessageDetails.ChangePassword>;
476
484
  createForgotPasswordMessage(username: string, returnUrl: string, requester?: string): Message<MessageDetails.ForgotPassword>;
477
485
  createForgotPasswordTokenMessage(username: string, resetToken: string, newPassword: string, requester?: string): Message<MessageDetails.ForgotPasswordToken>;
478
- createMoreRowsMessage(sourceRef: string): Message;
486
+ createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDetails.MoreRows>;
479
487
  createMoreColumnsMessage(sourceRef: string): Message;
480
488
  createHTTPHeadersFromMessage(message: Message, contentType?: string): HeadersInit;
481
489
  /** {@inheritDoc MessageBuilder.createHeartbeatPingMessage} */
@@ -1 +1 @@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AY,CAAC;IAYjE,2BAA2B,CAChC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC;IAYlC,2BAA2B,CAChC,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,SAAS,GAAE,MAAiB,GAC3B,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC;IAYlC,gCAAgC,CACrC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,SAAS,GAAE,MAAiB,GAC3B,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC;IAavC,qBAAqB,CAC1B,SAAS,EAAE,MAAM,EACjB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC;IAY5B,wBAAwB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAOpD,4BAA4B,CACjC,OAAO,EAAE,OAAO,EAChB,WAAW,GAAE,MAA0C,GACtD,WAAW;IAed,8DAA8D;IACvD,0BAA0B,CAAC,OAAO,UAAQ,GAAG,WAAW;CAShE;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC"}
@@ -51,6 +51,7 @@ export interface Datasource extends DatasourceMetadata {
51
51
  /**
52
52
  * Indicates whether the resourceName is valid or not.
53
53
  * @public
54
+ * @deprecated - Please use {@link (GenesisResources:interface).isValidResource} instead.
54
55
  */
55
56
  validResourceName(resourceName: string): boolean;
56
57
  /**
@@ -58,15 +59,21 @@ export interface Datasource extends DatasourceMetadata {
58
59
  * @public
59
60
  * @param options - The options to initialize the datasource with.
60
61
  * @param fetchMeta - Optional flag to fetch metadata for the datasource. Defaults to true.
62
+ * @param startStream - Optional flag to start the data stream. Defaults to true.
61
63
  * @returns A promise that resolves with a boolean indicating whether the initialization was successful.
62
64
  */
63
- init(options: DatasourceOptions, fetchMeta?: boolean): Promise<boolean>;
65
+ init(options: DatasourceOptions, fetchMeta?: boolean, startStream?: boolean): Promise<boolean>;
64
66
  /**
65
- * Deinitializes the datasource.
67
+ * Starts the data stream for the datasource.
68
+ * @public
69
+ */
70
+ startStream(): Promise<void>;
71
+ /**
72
+ * Destroys the datasource.
66
73
  * @remarks This should be called to clean up any resources when the datasource is no longer needed.
67
74
  * @public
68
75
  */
69
- deinit(): any;
76
+ destroy(): void;
70
77
  /**
71
78
  * Fetches metadata for the specified resource name.
72
79
  * @public
@@ -77,15 +84,15 @@ export interface Datasource extends DatasourceMetadata {
77
84
  /**
78
85
  * Takes a snapshot of the data in the datasource.
79
86
  * @public
80
- * @param params - Optional parameters for taking the snapshot.
87
+ * @param overrideParams - Optional parameters for taking the snapshot.
81
88
  */
82
- snapshot(params?: any): any;
89
+ snapshot(overrideParams?: any): Promise<Message>;
83
90
  /**
84
91
  * Takes a filtered snapshot of the data in the datasource.
85
92
  * @public
86
93
  * @param rowId - Optional ID of the row to filter.
87
94
  */
88
- snapshotFiltered(rowId?: string): any;
95
+ snapshotFiltered(rowId?: string): Promise<any[]>;
89
96
  /**
90
97
  * Updates the data in the datasource with the specified data.
91
98
  * @public
@@ -150,13 +157,6 @@ export interface Datasource extends DatasourceMetadata {
150
157
  * @returns A promise that resolves when the item has been updated.
151
158
  */
152
159
  updateItem?(itemId: string, data: any): Promise<void>;
153
- /**
154
- * Destroy the datasource.
155
- * @privateRemarks
156
- * I suspect we may need to call this from datasource disconnectedCallbacks etc to ensure we fully clean up.
157
- * @public
158
- */
159
- destroy(): void;
160
160
  }
161
161
  /**
162
162
  * The default implementation for the Datasource interface.
@@ -173,6 +173,8 @@ export declare class DefaultDatasource implements Datasource {
173
173
  status: DatasourceStatus;
174
174
  /** {@inheritDoc DatasourceMetadata.fetchMetadataRequired} */
175
175
  fetchMetadataRequired: boolean;
176
+ /** {@inheritDoc DatasourceMetadata.startStream} */
177
+ startStreamRequired: boolean;
176
178
  /** {@inheritDoc DatasourceMetadata.originalFieldDef} */
177
179
  originalFieldDef: MetadataDetail[];
178
180
  /** {@inheritDoc DatasourceMetadata.fieldMetadata} */
@@ -192,12 +194,12 @@ export declare class DefaultDatasource implements Datasource {
192
194
  * @deprecated - Please use {@link (GenesisResources:interface).isValidResource} instead.
193
195
  */
194
196
  validResourceName(resourceName: string): boolean;
195
- init(options: DatasourceOptions, fetchMeta?: boolean): Promise<boolean>;
196
- deinit(): void;
197
+ init(options: DatasourceOptions, fetchMeta?: boolean, startStream?: boolean): Promise<boolean>;
198
+ startStream(): Promise<void>;
197
199
  /** {@inheritDoc Datasource.destroy} */
198
200
  destroy(): void;
199
201
  get params(): any;
200
- snapshot(): Promise<Message>;
202
+ snapshot(overrideParams?: any): Promise<Message>;
201
203
  snapshotFiltered(rowId?: string): Promise<any[]>;
202
204
  private createStream;
203
205
  private createDataserverStream;
@@ -1 +1 @@
1
- {"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/datasource.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACxB,WAAW,EACX,cAAc,EAEd,mBAAmB,EACpB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACxF,OAAO,EAA2B,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAE3E;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,WAAW,EAAE,CAAC;IACzC,QA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AAG,GAAG,OAAO,CAAC,OAAO,CAAC;IA0ChD,gBAAgB,CAAC,KAAK,GAAE,MAAkB,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;YAYnD,YAAY;YAeZ,sBAAsB;IAMpC,OAAO,CAAC,kBAAkB;cAaV,qBAAqB,CAAC,YAAY,EAAE,MAAM;IA0B1D;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,MAAM,GAAE,OAAO,CAAC,gBAAgB,CAAM;IAa7D;;OAEG;IACH,SAAS,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,gBAAgB;CAY/E;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,kEAAwE,CAAC;AAEhG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,aAAa,IAAI,UAAU,CAE1C"}
@@ -47,54 +47,74 @@ export interface Dataview {
47
47
  */
48
48
  export interface DatasourceOptions {
49
49
  /**
50
- * The criteria used to filter data in the datasource.
51
- */
52
- criteria?: string;
53
- /**
54
- * The fields to include in the returned data.
50
+ * The name of the resource to use for the datasource.
55
51
  */
56
- fields?: string;
52
+ resourceName?: string;
57
53
  /**
58
54
  * Whether the datasource is a snapshot or not.
59
55
  */
60
56
  isSnapshot?: boolean;
57
+ /**
58
+ * The criteria used to filter data in the datasource.
59
+ * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
60
+ */
61
+ criteria?: string;
61
62
  /**
62
63
  * The maximum number of rows to return from the datasource.
64
+ * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
63
65
  */
64
66
  maxRows?: number;
67
+ /**
68
+ * The current page/"view" number being displayed.
69
+ * @remarks Works with both DATASERVER and REQUEST_SERVER resources.
70
+ */
71
+ viewNumber?: number;
72
+ /**
73
+ * The fields to include in the returned data.
74
+ * @remarks Only works with DATASERVER resources.
75
+ */
76
+ fields?: string;
65
77
  /**
66
78
  * The maximum number of rows to track as part of a client "view"
79
+ * @remarks Only works with DATASERVER resources.
67
80
  */
68
81
  maxView?: number;
69
82
  /**
70
83
  * Defines the behaviour of the client view when new rows are received in real time.
84
+ * @remarks Only works with DATASERVER resources.
71
85
  */
72
86
  movingView?: boolean;
73
87
  /**
74
- * The polling interval to use when using request/reply.
75
- * @remarks in milliseconds
88
+ * The field to use for sorting the data.
89
+ * @remarks Only works with DATASERVER.
76
90
  */
77
- pollingInterval?: number;
91
+ orderBy?: string;
92
+ /**
93
+ * Whether to return the data in reverse order or not.
94
+ * @remarks Only works with DATASERVER resources.
95
+ */
96
+ reverse?: boolean;
78
97
  /**
79
98
  * Whether to disable polling when using request/reply
99
+ * @remarks Only works with REQUEST_SERVER resources.
80
100
  */
81
101
  disablePolling?: boolean;
82
102
  /**
83
- * The field to use for sorting the data.
103
+ * The polling interval to use when using request/reply.
104
+ * @remarks Only works with REQUEST_SERVER resources.
105
+ * @remarks in milliseconds
84
106
  */
85
- orderBy?: string;
107
+ pollingInterval?: number;
86
108
  /**
87
109
  * The request to send to the server.
110
+ * @remarks Only works with REQUEST_SERVER resources.
88
111
  */
89
112
  request?: any;
90
113
  /**
91
- * The name of the resource to use for the datasource.
114
+ * Whether the Datasource service will setup RQUEST object based on metadata.
115
+ * @remarks Only works with REQUEST_SERVER resources.
92
116
  */
93
- resourceName?: string;
94
- /**
95
- * Whether to return the data in reverse order or not.
96
- */
97
- reverse?: boolean;
117
+ requestAutoSetup?: boolean;
98
118
  }
99
119
  /**
100
120
  * DatasourceStatus.
@@ -1 +1 @@
1
- {"version":3,"file":"datasource.types.d.ts","sourceRoot":"","sources":["../../../src/datasource/datasource.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE;;;GAGG;AACH,oBAAY,YAAY;IACtB,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,KAAK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AC;IAC1B,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AAEnE;;;GAGG;AACH,MAAM,MAAM,4BAA4B,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"datasource.types.d.ts","sourceRoot":"","sources":["../../../src/datasource/datasource.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE;;;GAGG;AACH,oBAAY,YAAY;IACtB,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAClB,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ;;OAEG;IACH,eAAe,CAAC,EAAE,aAAa,EAAE,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,OAAO,CAAC,EAAE,GAAG,CAAC;IAEd;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,GAAG,YAAY,EAAE,CAAC;IACxB,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AAEnE;;;GAGG;AACH,MAAM,MAAM,4BAA4B,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAAC"}
@@ -6,9 +6,12 @@ import { JSONSchema7 } from 'json-schema';
6
6
  export type MetadataDetail = {
7
7
  NAME: string;
8
8
  TYPE: string;
9
+ DESCRIPTION?: string;
10
+ JSON_TYPE?: string;
9
11
  VALID_VALUES?: string;
10
12
  READ_ONLY?: boolean;
11
13
  OPTIONAL?: boolean;
14
+ NULLABLE?: boolean;
12
15
  UI_LABEL?: string;
13
16
  };
14
17
  /**
@@ -24,14 +27,28 @@ export type IndexDetail = {
24
27
  * @public
25
28
  */
26
29
  export type Metadata = {
30
+ DEFINITIONS?: Record<string, any>;
31
+ DESCRIPTION?: string;
27
32
  FIELD?: MetadataDetail[];
28
- INDEXES?: IndexDetail[];
33
+ REPLY?: ReplyDetail;
29
34
  REPLY_FIELD?: MetadataDetail[];
30
35
  REQUEST_FIELD?: MetadataDetail[];
31
36
  NAME?: string;
32
37
  TYPE?: string;
38
+ INDEXES?: IndexDetail[];
33
39
  ERROR?: string;
34
40
  };
41
+ /**
42
+ * Reply Detail definition.
43
+ * @public
44
+ */
45
+ export type ReplyDetail = {
46
+ DEFINITIONS?: Record<string, any>;
47
+ DESCRIPTION?: string;
48
+ FIELD: MetadataDetail[];
49
+ NAME: string;
50
+ [key: string]: any;
51
+ };
35
52
  /**
36
53
  * Schema Response definition.
37
54
  * @public
@@ -89,6 +106,11 @@ export type RequestServerResult = {
89
106
  SOURCE_REF?: string;
90
107
  REPLY: any[];
91
108
  MESSAGE_TYPE?: string;
109
+ MORE_ROWS?: boolean;
110
+ NEXT_VIEW?: number;
111
+ PARAMETRIC_TYPE?: string;
112
+ ROWS_COUNT?: number;
113
+ SEQUENCE_ID?: number;
92
114
  };
93
115
  /**
94
116
  * Available types for a field metadata.
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.types.d.ts","sourceRoot":"","sources":["../../../src/metadata/metadata.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,OAAO,CAAC,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AAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;CAUrB,CAAC"}
@@ -17,6 +17,7 @@ export declare class DatasourceMock implements Datasource {
17
17
  resourceType: ResourceType;
18
18
  stream: SocketObservable<FilteredDataServerResult | RequestServerResult>;
19
19
  init(options: DatasourceOptions, fetchMeta: boolean): Promise<boolean>;
20
+ startStream(): Promise<void>;
20
21
  /**
21
22
  * Convenience method to avoid you having to prime connect etc.
22
23
  * @param meta - The metadata to set.
@@ -33,8 +34,8 @@ export declare class DatasourceMock implements Datasource {
33
34
  destroy(): void;
34
35
  validResourceName(resourceName: string): boolean;
35
36
  getMetadata?(resourceName: string): Promise<FieldMetadata[]>;
36
- snapshot(params?: any): void;
37
- snapshotFiltered(rowId?: string): void;
37
+ snapshot(params?: any): Promise<Message<any>>;
38
+ snapshotFiltered(rowId?: string): Promise<any[]>;
38
39
  updateData?(data: any[]): Promise<void>;
39
40
  dataHandler?(data: any[]): any[];
40
41
  addView?(view: Dataview): void;
@@ -1 +1 @@
1
- {"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../../../../src/testing/mocks/datasource/datasource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,aAAa,EACb,wBAAwB,EACxB,WAAW,EACX,QAAQ,EACR,cAAc,EACd,mBAAmB,EAEpB,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,qBAAa,cAAe,YAAW,UAAU;IACnC,MAAM,EAAE,gBAAgB,CAAC;IACzB,qBAAqB,UAAQ;IACzC,SAAS,CAAC,gBAAgB,UAAS;IACvB,gBAAgB,EAAE,cAAc,EA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Ref, viewNumber) {
101
101
  return __awaiter(this, void 0, void 0, function* () {
102
- const moreRowsMessage = this.messageBuilder.createMoreRowsMessage(sourceRef);
102
+ const moreRowsMessage = this.messageBuilder.createMoreRowsMessage(sourceRef, viewNumber);
103
103
  logger.debug(`${moreRowsMessage.MESSAGE_TYPE} message created -> `, moreRowsMessage);
104
104
  return this.socket.send(moreRowsMessage, false);
105
105
  });
@@ -216,12 +216,13 @@ let DefaultMessageBuilder = class DefaultMessageBuilder {
216
216
  },
217
217
  };
218
218
  }
219
- createMoreRowsMessage(sourceRef) {
219
+ createMoreRowsMessage(sourceRef, viewNumber) {
220
220
  return {
221
221
  SOURCE_REF: this.uuid.createId(),
222
222
  MESSAGE_TYPE: MessageType.MORE_ROWS,
223
223
  DETAILS: {
224
224
  SOURCE_REF: sourceRef,
225
+ VIEW_NUMBER: viewNumber,
225
226
  },
226
227
  SESSION_AUTH_TOKEN: this.session.getSessionStorageItem('authToken'),
227
228
  };