@genesislcap/foundation-comms 14.187.1-alpha-3406925.0 → 14.187.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. package/dist/dts/connect/connect.d.ts +6 -11
  2. package/dist/dts/connect/connect.d.ts.map +1 -1
  3. package/dist/dts/connect/http.connect.d.ts +2 -2
  4. package/dist/dts/connect/http.connect.d.ts.map +1 -1
  5. package/dist/dts/connect/message.d.ts +0 -11
  6. package/dist/dts/connect/message.d.ts.map +1 -1
  7. package/dist/dts/connect/socket.d.ts +2 -6
  8. package/dist/dts/connect/socket.d.ts.map +1 -1
  9. package/dist/dts/datasource/datasource.d.ts +19 -49
  10. package/dist/dts/datasource/datasource.d.ts.map +1 -1
  11. package/dist/dts/datasource/datasource.types.d.ts +22 -14
  12. package/dist/dts/datasource/datasource.types.d.ts.map +1 -1
  13. package/dist/dts/datasource/entityDatasource.d.ts +8 -5
  14. package/dist/dts/datasource/entityDatasource.d.ts.map +1 -1
  15. package/dist/dts/datasource/index.d.ts +0 -2
  16. package/dist/dts/datasource/index.d.ts.map +1 -1
  17. package/dist/dts/index.d.ts +0 -1
  18. package/dist/dts/index.d.ts.map +1 -1
  19. package/dist/dts/testing/mocks/auth/auth.d.ts +0 -3
  20. package/dist/dts/testing/mocks/auth/auth.d.ts.map +1 -1
  21. package/dist/dts/testing/mocks/connect/connect.d.ts +2 -3
  22. package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
  23. package/dist/dts/testing/mocks/connect/socket.d.ts +0 -1
  24. package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
  25. package/dist/dts/testing/mocks/datasource/datasource.d.ts +4 -22
  26. package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
  27. package/dist/dts/testing/mocks/index.d.ts +0 -1
  28. package/dist/dts/testing/mocks/index.d.ts.map +1 -1
  29. package/dist/esm/connect/connect.js +15 -12
  30. package/dist/esm/connect/http.connect.js +3 -5
  31. package/dist/esm/connect/message.js +0 -2
  32. package/dist/esm/connect/socket.js +6 -19
  33. package/dist/esm/datasource/datasource.js +58 -133
  34. package/dist/esm/datasource/datasource.types.js +18 -2
  35. package/dist/esm/datasource/entityDatasource.js +0 -6
  36. package/dist/esm/datasource/index.js +0 -2
  37. package/dist/esm/index.js +0 -1
  38. package/dist/esm/testing/mocks/auth/auth.js +0 -10
  39. package/dist/esm/testing/mocks/connect/connect.js +2 -9
  40. package/dist/esm/testing/mocks/connect/socket.js +0 -2
  41. package/dist/esm/testing/mocks/datasource/datasource.js +0 -59
  42. package/dist/esm/testing/mocks/index.js +0 -1
  43. package/dist/foundation-comms.api.json +6042 -10797
  44. package/dist/foundation-comms.d.ts +37 -696
  45. package/docs/api/foundation-comms.connect.connect.md +2 -2
  46. package/docs/api/foundation-comms.connect.getavailableresources.md +2 -2
  47. package/docs/api/foundation-comms.connect.md +0 -1
  48. package/docs/api/{foundation-comms.datasource.status.md → foundation-comms.datasource.fieldmetadata.md} +4 -3
  49. package/docs/api/foundation-comms.datasource.init.md +2 -2
  50. package/docs/api/foundation-comms.datasource.md +2 -3
  51. package/docs/api/foundation-comms.datasourceconfig.md +1 -2
  52. package/docs/api/foundation-comms.defaultconnect.connect.md +2 -2
  53. package/docs/api/foundation-comms.defaultconnect.getavailableresources.md +2 -2
  54. package/docs/api/foundation-comms.defaultconnect.md +0 -1
  55. package/docs/api/foundation-comms.defaultdatasource._constructor_.md +2 -3
  56. package/docs/api/{foundation-comms.defaultdatasource.fetchmetadatarequired.md → foundation-comms.defaultdatasource._stream.md} +3 -4
  57. package/docs/api/foundation-comms.defaultdatasource.availableindexes.md +1 -2
  58. package/docs/api/foundation-comms.defaultdatasource.fieldmetadata.md +0 -1
  59. package/docs/api/foundation-comms.defaultdatasource.initialized.md +1 -3
  60. package/docs/api/foundation-comms.defaultdatasource.md +7 -10
  61. package/docs/api/foundation-comms.defaultdatasource.originalfielddef.md +1 -2
  62. package/docs/api/foundation-comms.defaultdatasource.requestfields.md +1 -2
  63. package/docs/api/foundation-comms.defaultdatasource.stream.md +1 -1
  64. package/docs/api/foundation-comms.defaultdatasource.validresourcename.md +0 -5
  65. package/docs/api/foundation-comms.defaultdatasourceconfig.md +1 -1
  66. package/docs/api/foundation-comms.defaulthttpconnect.getavailableresources.md +2 -2
  67. package/docs/api/foundation-comms.defaultsocket._constructor_.md +1 -2
  68. package/docs/api/foundation-comms.defaultsocket.connect.md +2 -2
  69. package/docs/api/foundation-comms.defaultsocket.md +1 -3
  70. package/docs/api/foundation-comms.eventmessagetype.md +0 -2
  71. package/docs/api/foundation-comms.md +2 -19
  72. package/docs/api/foundation-comms.socket.md +0 -6
  73. package/docs/api-report.md +25 -550
  74. package/package.json +12 -13
  75. package/dist/dts/datasource/datasource.config.d.ts +0 -44
  76. package/dist/dts/datasource/datasource.config.d.ts.map +0 -1
  77. package/dist/dts/datasource/datasource.mixins.d.ts +0 -367
  78. package/dist/dts/datasource/datasource.mixins.d.ts.map +0 -1
  79. package/dist/dts/resources/genesis/config.d.ts +0 -81
  80. package/dist/dts/resources/genesis/config.d.ts.map +0 -1
  81. package/dist/dts/resources/genesis/genesis.d.ts +0 -69
  82. package/dist/dts/resources/genesis/genesis.d.ts.map +0 -1
  83. package/dist/dts/resources/genesis/index.d.ts +0 -4
  84. package/dist/dts/resources/genesis/index.d.ts.map +0 -1
  85. package/dist/dts/resources/genesis/types.d.ts +0 -19
  86. package/dist/dts/resources/genesis/types.d.ts.map +0 -1
  87. package/dist/dts/resources/index.d.ts +0 -2
  88. package/dist/dts/resources/index.d.ts.map +0 -1
  89. package/dist/dts/testing/mocks/resources/genesis/genesis.d.ts +0 -16
  90. package/dist/dts/testing/mocks/resources/genesis/genesis.d.ts.map +0 -1
  91. package/dist/dts/testing/mocks/resources/genesis/index.d.ts +0 -2
  92. package/dist/dts/testing/mocks/resources/genesis/index.d.ts.map +0 -1
  93. package/dist/dts/testing/mocks/resources/index.d.ts +0 -2
  94. package/dist/dts/testing/mocks/resources/index.d.ts.map +0 -1
  95. package/dist/esm/datasource/datasource.config.js +0 -41
  96. package/dist/esm/datasource/datasource.mixins.js +0 -86
  97. package/dist/esm/resources/genesis/config.js +0 -51
  98. package/dist/esm/resources/genesis/genesis.js +0 -114
  99. package/dist/esm/resources/genesis/index.js +0 -3
  100. package/dist/esm/resources/genesis/types.js +0 -4
  101. package/dist/esm/resources/index.js +0 -1
  102. package/dist/esm/testing/mocks/resources/genesis/genesis.js +0 -25
  103. package/dist/esm/testing/mocks/resources/genesis/index.js +0 -1
  104. package/dist/esm/testing/mocks/resources/index.js +0 -1
  105. package/docs/api/foundation-comms.connect.host.md +0 -11
  106. package/docs/api/foundation-comms.datasourceconfig.eventemitter.md +0 -18
  107. package/docs/api/foundation-comms.datasourceeventhandler.md +0 -353
  108. package/docs/api/foundation-comms.datasourcemetadata.availableindexes.md +0 -11
  109. package/docs/api/foundation-comms.datasourcemetadata.fetchmetadatarequired.md +0 -11
  110. package/docs/api/foundation-comms.datasourcemetadata.fieldmetadata.md +0 -11
  111. package/docs/api/foundation-comms.datasourcemetadata.md +0 -24
  112. package/docs/api/foundation-comms.datasourcemetadata.originalfielddef.md +0 -11
  113. package/docs/api/foundation-comms.datasourcemetadata.requestfields.md +0 -11
  114. package/docs/api/foundation-comms.datasourcestatus.md +0 -21
  115. package/docs/api/foundation-comms.datasourcestatuschanged.md +0 -13
  116. package/docs/api/foundation-comms.datasourcestatuschangedevent.md +0 -15
  117. package/docs/api/foundation-comms.defaultconnect.host.md +0 -11
  118. package/docs/api/foundation-comms.defaultdatasource.fetchandapplymetadata.md +0 -22
  119. package/docs/api/foundation-comms.defaultdatasource.resources.md +0 -11
  120. package/docs/api/foundation-comms.defaultdatasource.status.md +0 -12
  121. package/docs/api/foundation-comms.defaultgenesisresources._constructor_.md +0 -21
  122. package/docs/api/foundation-comms.defaultgenesisresources.config.md +0 -11
  123. package/docs/api/foundation-comms.defaultgenesisresources.connect.md +0 -11
  124. package/docs/api/foundation-comms.defaultgenesisresources.destroy.md +0 -17
  125. package/docs/api/foundation-comms.defaultgenesisresources.getresources.md +0 -15
  126. package/docs/api/foundation-comms.defaultgenesisresources.getresourcetypefor.md +0 -24
  127. package/docs/api/foundation-comms.defaultgenesisresources.isvalidresource.md +0 -24
  128. package/docs/api/foundation-comms.defaultgenesisresources.md +0 -40
  129. package/docs/api/foundation-comms.defaultgenesisresources.postloadedmessage.md +0 -15
  130. package/docs/api/foundation-comms.defaultgenesisresources.resources.md +0 -11
  131. package/docs/api/foundation-comms.defaultgenesisresources.resourcespromise.md +0 -11
  132. package/docs/api/foundation-comms.defaultgenesisresourcesconfig.md +0 -13
  133. package/docs/api/foundation-comms.defaultsocket.config.md +0 -11
  134. package/docs/api/foundation-comms.defaultsocket.host.md +0 -11
  135. package/docs/api/foundation-comms.genesisresources.destroy.md +0 -13
  136. package/docs/api/foundation-comms.genesisresources.getresourcetypefor.md +0 -13
  137. package/docs/api/foundation-comms.genesisresources.isvalidresource.md +0 -13
  138. package/docs/api/foundation-comms.genesisresources.md +0 -26
  139. package/docs/api/foundation-comms.genesisresourceschannel.md +0 -33
  140. package/docs/api/foundation-comms.genesisresourceschannelid.md +0 -12
  141. package/docs/api/foundation-comms.genesisresourcesconfig.md +0 -21
  142. package/docs/api/foundation-comms.genesisresourcesconfig.throwwhenunavailable.md +0 -13
  143. package/docs/api/foundation-comms.genesisresourcesconfig.throwwhenunknown.md +0 -13
  144. package/docs/api/foundation-comms.genesisresourcesevents.md +0 -17
  145. package/docs/api/foundation-comms.genesisresourcesmock.destroy.md +0 -15
  146. package/docs/api/foundation-comms.genesisresourcesmock.getresourcetypefor.md +0 -24
  147. package/docs/api/foundation-comms.genesisresourcesmock.isvalidresource.md +0 -24
  148. package/docs/api/foundation-comms.genesisresourcesmock.md +0 -30
  149. package/docs/api/foundation-comms.genesisresourcesmock.nextisvalidresourceresponse.md +0 -11
  150. package/docs/api/foundation-comms.genesisresourcesmock.nextresourcetypeforresponse.md +0 -11
  151. package/docs/api/foundation-comms.genesisresourcesmock.resources.md +0 -11
  152. package/docs/api/foundation-comms.getgenesisresources.md +0 -30
  153. package/docs/api/foundation-comms.getgenesisresourceschannel.md +0 -39
  154. package/docs/api/foundation-comms.resourceitem.md +0 -15
  155. package/docs/api/foundation-comms.resourcesmessage.md +0 -18
  156. package/docs/api/foundation-comms.socket.host.md +0 -11
@@ -8,10 +8,8 @@
8
8
 
9
9
  import { BehaviorSubject } from 'rxjs';
10
10
  import { default as Bowser_2 } from 'bowser';
11
- import { Controller } from '@microsoft/fast-element';
12
11
  import { DefaultUser } from '@genesislcap/foundation-user';
13
12
  import type { DTOMapper } from '@genesislcap/foundation-utils';
14
- import type { FASTElement } from '@microsoft/fast-element';
15
13
  import { InterfaceSymbol } from '@microsoft/fast-foundation';
16
14
  import { JSONSchema7 } from 'json-schema';
17
15
  import { JSONSerializer } from '@genesislcap/foundation-utils';
@@ -21,10 +19,8 @@ import type { LogLevel } from '@genesislcap/foundation-utils';
21
19
  import { Observable } from 'rxjs';
22
20
  import { Observer } from '@genesislcap/foundation-utils';
23
21
  import { Observer as Observer_2 } from 'rxjs';
24
- import { SetUserProperties } from '@genesislcap/foundation-user/dist/esm';
25
22
  import { Subscription as SocketSubscription } from 'rxjs';
26
23
  import { Subject } from 'rxjs';
27
- import { TypedBroadcastChannel } from '@genesislcap/foundation-broadcast-channel';
28
24
  import { User as User_2 } from '@genesislcap/foundation-user';
29
25
  import { UUID } from '@genesislcap/foundation-utils';
30
26
 
@@ -95,10 +91,6 @@ export class AuthMock implements Auth {
95
91
  nextReAuthResult: boolean;
96
92
  // (undocumented)
97
93
  reAuthFromSession(): Promise<boolean>;
98
- // (undocumented)
99
- resetTestUser(): void;
100
- // (undocumented)
101
- setTestUser(properties?: Partial<SetUserProperties>): void;
102
94
  }
103
95
 
104
96
  // @public
@@ -152,16 +144,14 @@ export type CommitParams = {
152
144
  // @public
153
145
  export interface Connect {
154
146
  commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
155
- connect(host?: string): Promise<boolean>;
147
+ connect(host: string): Promise<boolean>;
156
148
  dataLogoff(sourceRef: string): Promise<Message>;
157
149
  disconnect(): void;
158
- getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
150
+ getAvailableResources(params?: RequestParams): Promise<Message>;
159
151
  getJSONSchema(resourceName: string): Promise<SchemaResponse>;
160
152
  getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
161
153
  getMoreColumns(sourceRef: string): Promise<Message>;
162
154
  getMoreRows(sourceRef: string): Promise<Message>;
163
- // (undocumented)
164
- host: string;
165
155
  // @internal
166
156
  httpMode(): boolean;
167
157
  readonly isConnected$?: Observable<boolean>;
@@ -238,7 +228,7 @@ export class ConnectMock implements Connect {
238
228
  // (undocumented)
239
229
  disconnect(): void;
240
230
  // (undocumented)
241
- getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
231
+ getAvailableResources(params?: RequestParams): Promise<Message>;
242
232
  // (undocumented)
243
233
  getJSONSchema(resourceName: string): Promise<any>;
244
234
  // (undocumented)
@@ -248,8 +238,6 @@ export class ConnectMock implements Connect {
248
238
  // (undocumented)
249
239
  getMoreRows(sourceRef: string): Promise<Message<any>>;
250
240
  // (undocumented)
251
- get host(): string;
252
- // (undocumented)
253
241
  httpMode(): boolean;
254
242
  // (undocumented)
255
243
  get isConnected$(): Observable<boolean>;
@@ -376,7 +364,7 @@ export function dataServerResultFilter(result: RawDataServerResult, rowId?: stri
376
364
  // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Datasource" because one of its declarations is marked as @internal
377
365
  //
378
366
  // @public
379
- export interface Datasource extends DatasourceMetadata {
367
+ export interface Datasource {
380
368
  addView?(view: Dataview): void;
381
369
  clearFilter?(name: string): Promise<void>;
382
370
  createItem?(data: any): Promise<string>;
@@ -385,16 +373,15 @@ export interface Datasource extends DatasourceMetadata {
385
373
  deleteItem?(itemId: string): Promise<void>;
386
374
  destroy(): void;
387
375
  dropView?(view: Dataview): void;
376
+ fieldMetadata: FieldMetadata[];
388
377
  getMetadata?(resourceName: string): Promise<Array<FieldMetadata>>;
389
- init(options: DatasourceOptions, fetchMeta?: boolean): Promise<boolean>;
378
+ init(options: DatasourceOptions, fetchMeta: boolean): Promise<boolean>;
390
379
  initialized: boolean;
391
380
  readOnly: boolean;
392
381
  resourceType: ResourceType;
393
382
  setFilter?(name: string, value: any, type?: string): Promise<void>;
394
383
  snapshot(params?: any): any;
395
384
  snapshotFiltered(rowId?: string): any;
396
- // (undocumented)
397
- status: Partial<DatasourceStatus>;
398
385
  stream: SocketObservable<FilteredDataServerResult | RequestServerResult>;
399
386
  updateData?(data: Array<any>): Promise<void>;
400
387
  updateItem?(itemId: string, data: any): Promise<void>;
@@ -412,7 +399,6 @@ export interface DatasourceConfig {
412
399
  criteriaToFields(filters: string): Record<string, string>;
413
400
  // (undocumented)
414
401
  dataServerResultFilter(result: RawDataServerResult, rowId?: string): FilteredDataServerResult;
415
- eventEmitter?: HTMLElement;
416
402
  // (undocumented)
417
403
  options: DatasourceOptions;
418
404
  }
@@ -434,343 +420,6 @@ export class DatasourceDefaults {
434
420
  static readonly REQUEST_SERVER_ROW_ID = "RECORD_ID";
435
421
  }
436
422
 
437
- // @public
438
- export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElement) => {
439
- new (): {
440
- datasourceStatus: DatasourceStatus;
441
- resourceName: string;
442
- onDatasourceStatusChanged: (event: DatasourceStatusChangedEvent) => void;
443
- datasourceStatusChanged(prev: DatasourceStatus, next: DatasourceStatus): void;
444
- connectedCallback(): void;
445
- disconnectedCallback(): void;
446
- accessKey: string;
447
- readonly accessKeyLabel: string;
448
- autocapitalize: string;
449
- dir: string;
450
- draggable: boolean;
451
- hidden: boolean;
452
- inert: boolean;
453
- innerText: string;
454
- lang: string;
455
- readonly offsetHeight: number;
456
- readonly offsetLeft: number;
457
- readonly offsetParent: Element;
458
- readonly offsetTop: number;
459
- readonly offsetWidth: number;
460
- outerText: string;
461
- spellcheck: boolean;
462
- title: string;
463
- translate: boolean;
464
- attachInternals(): ElementInternals;
465
- click(): void;
466
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
467
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
468
- removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
469
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
470
- readonly attributes: NamedNodeMap;
471
- readonly classList: DOMTokenList;
472
- className: string;
473
- readonly clientHeight: number;
474
- readonly clientLeft: number;
475
- readonly clientTop: number;
476
- readonly clientWidth: number;
477
- id: string;
478
- readonly localName: string;
479
- readonly namespaceURI: string;
480
- onfullscreenchange: (this: Element, ev: Event) => any;
481
- onfullscreenerror: (this: Element, ev: Event) => any;
482
- outerHTML: string;
483
- readonly ownerDocument: Document;
484
- readonly part: DOMTokenList;
485
- readonly prefix: string;
486
- readonly scrollHeight: number;
487
- scrollLeft: number;
488
- scrollTop: number;
489
- readonly scrollWidth: number;
490
- readonly shadowRoot: ShadowRoot;
491
- slot: string;
492
- readonly tagName: string;
493
- attachShadow(init: ShadowRootInit): ShadowRoot;
494
- closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
495
- closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
496
- closest<E extends Element = Element>(selectors: string): E;
497
- getAttribute(qualifiedName: string): string;
498
- getAttributeNS(namespace: string, localName: string): string;
499
- getAttributeNames(): string[];
500
- getAttributeNode(qualifiedName: string): Attr;
501
- getAttributeNodeNS(namespace: string, localName: string): Attr;
502
- getBoundingClientRect(): DOMRect;
503
- getClientRects(): DOMRectList;
504
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
505
- getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
506
- getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
507
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
508
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
509
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
510
- getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
511
- hasAttribute(qualifiedName: string): boolean;
512
- hasAttributeNS(namespace: string, localName: string): boolean;
513
- hasAttributes(): boolean;
514
- hasPointerCapture(pointerId: number): boolean;
515
- insertAdjacentElement(where: InsertPosition, element: Element): Element;
516
- insertAdjacentHTML(position: InsertPosition, text: string): void;
517
- insertAdjacentText(where: InsertPosition, data: string): void;
518
- matches(selectors: string): boolean;
519
- releasePointerCapture(pointerId: number): void;
520
- removeAttribute(qualifiedName: string): void;
521
- removeAttributeNS(namespace: string, localName: string): void;
522
- removeAttributeNode(attr: Attr): Attr;
523
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
524
- requestPointerLock(): void;
525
- scroll(options?: ScrollToOptions): void;
526
- scroll(x: number, y: number): void;
527
- scrollBy(options?: ScrollToOptions): void;
528
- scrollBy(x: number, y: number): void;
529
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
530
- scrollTo(options?: ScrollToOptions): void;
531
- scrollTo(x: number, y: number): void;
532
- setAttribute(qualifiedName: string, value: string): void;
533
- setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
534
- setAttributeNode(attr: Attr): Attr;
535
- setAttributeNodeNS(attr: Attr): Attr;
536
- setPointerCapture(pointerId: number): void;
537
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
538
- webkitMatchesSelector(selectors: string): boolean;
539
- readonly baseURI: string;
540
- readonly childNodes: NodeListOf<ChildNode>;
541
- readonly firstChild: ChildNode;
542
- readonly isConnected: boolean;
543
- readonly lastChild: ChildNode;
544
- readonly nextSibling: ChildNode;
545
- readonly nodeName: string;
546
- readonly nodeType: number;
547
- nodeValue: string;
548
- readonly parentElement: HTMLElement;
549
- readonly parentNode: ParentNode;
550
- readonly previousSibling: ChildNode;
551
- textContent: string;
552
- appendChild<T extends Node>(node: T): T;
553
- cloneNode(deep?: boolean): Node;
554
- compareDocumentPosition(other: Node): number;
555
- contains(other: Node): boolean;
556
- getRootNode(options?: GetRootNodeOptions): Node;
557
- hasChildNodes(): boolean;
558
- insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
559
- isDefaultNamespace(namespace: string): boolean;
560
- isEqualNode(otherNode: Node): boolean;
561
- isSameNode(otherNode: Node): boolean;
562
- lookupNamespaceURI(prefix: string): string;
563
- lookupPrefix(namespace: string): string;
564
- normalize(): void;
565
- removeChild<T_2 extends Node>(child: T_2): T_2;
566
- replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
567
- readonly ATTRIBUTE_NODE: number;
568
- readonly CDATA_SECTION_NODE: number;
569
- readonly COMMENT_NODE: number;
570
- readonly DOCUMENT_FRAGMENT_NODE: number;
571
- readonly DOCUMENT_NODE: number;
572
- readonly DOCUMENT_POSITION_CONTAINED_BY: number;
573
- readonly DOCUMENT_POSITION_CONTAINS: number;
574
- readonly DOCUMENT_POSITION_DISCONNECTED: number;
575
- readonly DOCUMENT_POSITION_FOLLOWING: number;
576
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
577
- readonly DOCUMENT_POSITION_PRECEDING: number;
578
- readonly DOCUMENT_TYPE_NODE: number;
579
- readonly ELEMENT_NODE: number;
580
- readonly ENTITY_NODE: number;
581
- readonly ENTITY_REFERENCE_NODE: number;
582
- readonly NOTATION_NODE: number;
583
- readonly PROCESSING_INSTRUCTION_NODE: number;
584
- readonly TEXT_NODE: number;
585
- dispatchEvent(event: Event): boolean;
586
- ariaAtomic: string;
587
- ariaAutoComplete: string;
588
- ariaBusy: string;
589
- ariaChecked: string;
590
- ariaColCount: string;
591
- ariaColIndex: string;
592
- ariaColIndexText: string;
593
- ariaColSpan: string;
594
- ariaCurrent: string;
595
- ariaDisabled: string;
596
- ariaExpanded: string;
597
- ariaHasPopup: string;
598
- ariaHidden: string;
599
- ariaInvalid: string;
600
- ariaKeyShortcuts: string;
601
- ariaLabel: string;
602
- ariaLevel: string;
603
- ariaLive: string;
604
- ariaModal: string;
605
- ariaMultiLine: string;
606
- ariaMultiSelectable: string;
607
- ariaOrientation: string;
608
- ariaPlaceholder: string;
609
- ariaPosInSet: string;
610
- ariaPressed: string;
611
- ariaReadOnly: string;
612
- ariaRequired: string;
613
- ariaRoleDescription: string;
614
- ariaRowCount: string;
615
- ariaRowIndex: string;
616
- ariaRowIndexText: string;
617
- ariaRowSpan: string;
618
- ariaSelected: string;
619
- ariaSetSize: string;
620
- ariaSort: string;
621
- ariaValueMax: string;
622
- ariaValueMin: string;
623
- ariaValueNow: string;
624
- ariaValueText: string;
625
- role: string;
626
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
627
- getAnimations(options?: GetAnimationsOptions): Animation[];
628
- after(...nodes: (string | Node)[]): void;
629
- before(...nodes: (string | Node)[]): void;
630
- remove(): void;
631
- replaceWith(...nodes: (string | Node)[]): void;
632
- innerHTML: string;
633
- readonly nextElementSibling: Element;
634
- readonly previousElementSibling: Element;
635
- readonly childElementCount: number;
636
- readonly children: HTMLCollection;
637
- readonly firstElementChild: Element;
638
- readonly lastElementChild: Element;
639
- append(...nodes: (string | Node)[]): void;
640
- prepend(...nodes: (string | Node)[]): void;
641
- querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
642
- querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
643
- querySelector<E_1 extends Element = Element>(selectors: string): E_1;
644
- querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
645
- querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
646
- querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
647
- replaceChildren(...nodes: (string | Node)[]): void;
648
- readonly assignedSlot: HTMLSlotElement;
649
- oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
650
- oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
651
- onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
652
- readonly style: CSSStyleDeclaration;
653
- contentEditable: string;
654
- enterKeyHint: string;
655
- inputMode: string;
656
- readonly isContentEditable: boolean;
657
- onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
658
- onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
659
- onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
660
- onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
661
- onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
662
- onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
663
- onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
664
- onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
665
- oncancel: (this: GlobalEventHandlers, ev: Event) => any;
666
- oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
667
- oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
668
- onchange: (this: GlobalEventHandlers, ev: Event) => any;
669
- onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
670
- onclose: (this: GlobalEventHandlers, ev: Event) => any;
671
- oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
672
- oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
673
- ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
674
- ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
675
- ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
676
- ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
677
- ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
678
- ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
679
- ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
680
- ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
681
- ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
682
- onemptied: (this: GlobalEventHandlers, ev: Event) => any;
683
- onended: (this: GlobalEventHandlers, ev: Event) => any;
684
- onerror: OnErrorEventHandlerNonNull;
685
- onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
686
- onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
687
- ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
688
- oninput: (this: GlobalEventHandlers, ev: Event) => any;
689
- oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
690
- onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
691
- onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
692
- onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
693
- onload: (this: GlobalEventHandlers, ev: Event) => any;
694
- onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
695
- onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
696
- onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
697
- onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
698
- onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
699
- onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
700
- onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
701
- onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
702
- onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
703
- onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
704
- onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
705
- onpause: (this: GlobalEventHandlers, ev: Event) => any;
706
- onplay: (this: GlobalEventHandlers, ev: Event) => any;
707
- onplaying: (this: GlobalEventHandlers, ev: Event) => any;
708
- onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
709
- onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
710
- onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
711
- onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
712
- onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
713
- onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
714
- onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
715
- onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
716
- onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
717
- onratechange: (this: GlobalEventHandlers, ev: Event) => any;
718
- onreset: (this: GlobalEventHandlers, ev: Event) => any;
719
- onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
720
- onscroll: (this: GlobalEventHandlers, ev: Event) => any;
721
- onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
722
- onseeked: (this: GlobalEventHandlers, ev: Event) => any;
723
- onseeking: (this: GlobalEventHandlers, ev: Event) => any;
724
- onselect: (this: GlobalEventHandlers, ev: Event) => any;
725
- onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
726
- onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
727
- onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
728
- onstalled: (this: GlobalEventHandlers, ev: Event) => any;
729
- onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
730
- onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
731
- ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
732
- ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
733
- ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
734
- ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
735
- ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
736
- ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
737
- ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
738
- ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
739
- ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
740
- ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
741
- onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
742
- onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
743
- onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
744
- onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
745
- onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
746
- onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
747
- onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
748
- autofocus: boolean;
749
- readonly dataset: DOMStringMap;
750
- nonce?: string;
751
- tabIndex: number;
752
- blur(): void;
753
- focus(options?: FocusOptions): void;
754
- readonly $fastController: Controller;
755
- $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
756
- attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
757
- };
758
- };
759
-
760
- // @public
761
- export interface DatasourceMetadata {
762
- // (undocumented)
763
- readonly availableIndexes: IndexDetail[];
764
- // (undocumented)
765
- fetchMetadataRequired: boolean;
766
- // (undocumented)
767
- readonly fieldMetadata: FieldMetadata[];
768
- // (undocumented)
769
- readonly originalFieldDef: MetadataDetail[];
770
- // (undocumented)
771
- readonly requestFields: MetadataDetail[];
772
- }
773
-
774
423
  // Warning: (ae-internal-missing-underscore) The name "DatasourceMock" should be prefixed with an underscore because the declaration is marked as @internal
775
424
  //
776
425
  // @internal (undocumented)
@@ -778,8 +427,6 @@ export class DatasourceMock implements Datasource {
778
427
  // (undocumented)
779
428
  addView?(view: Dataview): void;
780
429
  // (undocumented)
781
- availableIndexes: IndexDetail[];
782
- // (undocumented)
783
430
  clearFilter?(name: string): Promise<void>;
784
431
  // (undocumented)
785
432
  createItem?(data: any): Promise<string>;
@@ -794,10 +441,6 @@ export class DatasourceMock implements Datasource {
794
441
  // (undocumented)
795
442
  dropView?(view: Dataview): void;
796
443
  // (undocumented)
797
- protected fetchingMetadata: boolean;
798
- // (undocumented)
799
- fetchMetadataRequired: boolean;
800
- // (undocumented)
801
444
  fieldMetadata: FieldMetadata[];
802
445
  // (undocumented)
803
446
  getMetadata?(resourceName: string): Promise<FieldMetadata[]>;
@@ -806,30 +449,18 @@ export class DatasourceMock implements Datasource {
806
449
  // (undocumented)
807
450
  initialized: boolean;
808
451
  // (undocumented)
809
- originalFieldDef: MetadataDetail[];
810
- // (undocumented)
811
452
  readOnly: boolean;
812
453
  // (undocumented)
813
- requestFields: MetadataDetail[];
814
- // (undocumented)
815
454
  resourceType: ResourceType;
816
455
  // (undocumented)
817
456
  setFilter?(name: string, value: any, type?: string): Promise<void>;
818
- setMetadata(meta: Metadata): void;
819
- setStream(message: Message): void;
820
457
  // (undocumented)
821
458
  snapshot(params?: any): void;
822
459
  // (undocumented)
823
460
  snapshotFiltered(rowId?: string): void;
824
461
  // (undocumented)
825
- status: DatasourceStatus;
826
- // (undocumented)
827
462
  stream: SocketObservable<FilteredDataServerResult | RequestServerResult>;
828
463
  // (undocumented)
829
- unsetMedata(): void;
830
- // (undocumented)
831
- unsetStream(): void;
832
- // (undocumented)
833
464
  updateData?(data: any[]): Promise<void>;
834
465
  // (undocumented)
835
466
  updateItem?(itemId: string, data: any): Promise<void>;
@@ -853,21 +484,6 @@ export interface DatasourceOptions {
853
484
  reverse?: boolean;
854
485
  }
855
486
 
856
- // @public
857
- export type DatasourceStatus = {
858
- name: string;
859
- type: `${ResourceType}`;
860
- isInitialized: boolean;
861
- metadataRequired: boolean;
862
- hasMetadata: boolean;
863
- };
864
-
865
- // @public
866
- export const DatasourceStatusChanged = "datasource-status-changed";
867
-
868
- // @public
869
- export type DatasourceStatusChangedEvent = CustomEvent<DatasourceStatus>;
870
-
871
487
  // @public
872
488
  export interface DataUpdate {
873
489
  // (undocumented)
@@ -913,13 +529,13 @@ export class DefaultConnect implements Connect {
913
529
  // (undocumented)
914
530
  commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
915
531
  // (undocumented)
916
- connect(host?: string): Promise<boolean>;
532
+ connect(host: string): Promise<boolean>;
917
533
  // (undocumented)
918
534
  dataLogoff(streamSourceRef: string): Promise<Message>;
919
535
  // (undocumented)
920
536
  disconnect(): void;
921
537
  // (undocumented)
922
- getAvailableResources(params?: any): Promise<ResourcesMessage>;
538
+ getAvailableResources(params?: any): Promise<Message>;
923
539
  // (undocumented)
924
540
  getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
925
541
  // (undocumented)
@@ -929,8 +545,6 @@ export class DefaultConnect implements Connect {
929
545
  // (undocumented)
930
546
  getMoreRows(sourceRef: string): Promise<Message>;
931
547
  // (undocumented)
932
- get host(): string;
933
- // (undocumented)
934
548
  httpMode(): boolean;
935
549
  // (undocumented)
936
550
  get isConnected$(): Observable<boolean>;
@@ -1070,11 +684,11 @@ export const defaultCredentialRequestOptions: GetCredentialOptions;
1070
684
 
1071
685
  // @public
1072
686
  export class DefaultDatasource implements Datasource {
1073
- constructor(connect: Connect, auth: Auth, resources: GenesisResources, config: DatasourceConfig);
687
+ constructor(connect: Connect, auth: Auth, config?: DatasourceConfig);
1074
688
  // (undocumented)
1075
689
  protected auth: Auth;
1076
690
  // (undocumented)
1077
- availableIndexes: IndexDetail[];
691
+ protected availableIndexes: IndexDetail[];
1078
692
  // (undocumented)
1079
693
  protected config: DatasourceConfig;
1080
694
  // (undocumented)
@@ -1086,46 +700,32 @@ export class DefaultDatasource implements Datasource {
1086
700
  // (undocumented)
1087
701
  destroy(): void;
1088
702
  // (undocumented)
1089
- protected fetchAndApplyMetadata(resourceName: string): Promise<void>;
1090
- // (undocumented)
1091
- fetchMetadataRequired: boolean;
1092
- // (undocumented)
1093
703
  fieldMetadata: FieldMetadata[];
1094
704
  // (undocumented)
1095
705
  init(options: DatasourceOptions, fetchMeta?: boolean): Promise<boolean>;
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
1097
- //
1098
706
  // (undocumented)
1099
- get initialized(): boolean;
1100
- // @internal (undocumented)
1101
- protected normaliseStatus(status: Partial<DatasourceStatus>): DatasourceStatus;
707
+ initialized: boolean;
1102
708
  // (undocumented)
1103
709
  protected options: DatasourceOptions;
1104
710
  // (undocumented)
1105
- originalFieldDef: MetadataDetail[];
711
+ protected originalFieldDef: MetadataDetail[];
1106
712
  // (undocumented)
1107
713
  get params(): any;
1108
714
  // (undocumented)
1109
715
  readOnly: boolean;
1110
- // @internal (undocumented)
1111
- protected reportStatus(detail?: Partial<DatasourceStatus>): void;
1112
- // (undocumented)
1113
- requestFields: MetadataDetail[];
1114
716
  // (undocumented)
1115
- protected resources: GenesisResources;
717
+ protected requestFields: MetadataDetail[];
1116
718
  // (undocumented)
1117
719
  resourceType: ResourceType;
1118
720
  // (undocumented)
1119
721
  snapshot(): Promise<Message>;
1120
722
  // (undocumented)
1121
723
  snapshotFiltered(rowId?: string): Promise<any[]>;
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
1123
- //
1124
724
  // (undocumented)
1125
- status: DatasourceStatus;
725
+ get stream(): SocketObservable<FilteredDataServerResult | RequestServerResult>;
726
+ // (undocumented)
727
+ protected _stream: SocketObservable<FilteredDataServerResult | RequestServerResult>;
1126
728
  // (undocumented)
1127
- stream: SocketObservable<FilteredDataServerResult | RequestServerResult>;
1128
- // @deprecated (undocumented)
1129
729
  validResourceName(resourceName: string): boolean;
1130
730
  }
1131
731
 
@@ -1150,13 +750,10 @@ export class DefaultEntityDatasource<TDTO, TEntity> extends DefaultDatasource im
1150
750
  //
1151
751
  // (undocumented)
1152
752
  initialize: (init: EntityDatasourceInit<TDTO, TEntity>) => Promise<boolean>;
1153
- // (undocumented)
1154
- get initialized(): boolean;
1155
- set initialized(value: boolean);
1156
753
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "EntityDatasource" has more than one declaration; you need to add a TSDoc member reference selector
1157
754
  //
1158
755
  // (undocumented)
1159
- protected _initialized: boolean;
756
+ initialized: boolean;
1160
757
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "EntityDatasource" has more than one declaration; you need to add a TSDoc member reference selector
1161
758
  //
1162
759
  // (undocumented)
@@ -1188,38 +785,6 @@ export class DefaultFoundationAnalytics implements FoundationAnalytics {
1188
785
  trackEvent(eventName: FoundationAnalyticsEventType.routeChanged, payload: FoundationAnalyticsEvent.RouteChanged): void;
1189
786
  }
1190
787
 
1191
- // @public
1192
- export class DefaultGenesisResources implements GenesisResources {
1193
- constructor(connect: Connect, config: GenesisResourcesConfig);
1194
- // (undocumented)
1195
- protected config: GenesisResourcesConfig;
1196
- // (undocumented)
1197
- protected connect: Connect;
1198
- // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "GenesisResources" has more than one declaration; you need to add a TSDoc member reference selector
1199
- //
1200
- // (undocumented)
1201
- destroy(): void;
1202
- // (undocumented)
1203
- protected getResources(): Promise<void>;
1204
- // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "GenesisResources" has more than one declaration; you need to add a TSDoc member reference selector
1205
- //
1206
- // (undocumented)
1207
- getResourceTypeFor(resourceName: string): Promise<ResourceType>;
1208
- // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "GenesisResources" has more than one declaration; you need to add a TSDoc member reference selector
1209
- //
1210
- // (undocumented)
1211
- isValidResource(resourceName: string): Promise<boolean>;
1212
- // (undocumented)
1213
- protected postLoadedMessage(): void;
1214
- // (undocumented)
1215
- protected resources: ResourceItem[];
1216
- // (undocumented)
1217
- protected resourcesPromise: Promise<ResourcesMessage>;
1218
- }
1219
-
1220
- // @public
1221
- export const defaultGenesisResourcesConfig: GenesisResourcesConfig;
1222
-
1223
788
  // @public
1224
789
  export class DefaultHttp implements Http {
1225
790
  constructor(serializer: JSONSerializer);
@@ -1242,7 +807,7 @@ export class DefaultHttpConnect implements Connect {
1242
807
  // (undocumented)
1243
808
  disconnect(): void;
1244
809
  // (undocumented)
1245
- getAvailableResources(params?: any): Promise<ResourcesMessage>;
810
+ getAvailableResources(params?: any): Promise<Message>;
1246
811
  // (undocumented)
1247
812
  getJSONSchema(resourceName: string): Promise<SchemaResponse>;
1248
813
  // (undocumented)
@@ -1468,17 +1033,13 @@ export class DefaultSession implements Session {
1468
1033
  // @public
1469
1034
  export class DefaultSocket implements Socket {
1470
1035
  constructor(messageBuilder: MessageBuilder, session: Session, serializer: JSONSerializer, uuid: UUID, status: SocketStatus,
1471
- user: User_2, config: ConnectConfig);
1472
- // (undocumented)
1473
- protected config: ConnectConfig;
1036
+ user: User_2);
1474
1037
  // (undocumented)
1475
- connect(host?: string, connectOptions?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
1038
+ connect(host: string, connectOptions?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
1476
1039
  // (undocumented)
1477
1040
  get hasValidSession(): boolean;
1478
1041
  set hasValidSession(value: boolean);
1479
1042
  // (undocumented)
1480
- get host(): string;
1481
- // (undocumented)
1482
1043
  get isConfigured(): boolean;
1483
1044
  // (undocumented)
1484
1045
  get isConnected(): boolean;
@@ -1548,7 +1109,7 @@ export class DefaultSocketStatus implements SocketStatus {
1548
1109
  // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "EntityDatasource" because one of its declarations is marked as @internal
1549
1110
  //
1550
1111
  // @alpha
1551
- export interface EntityDatasource<TDTO, TEntity> extends Datasource {
1112
+ export interface EntityDatasource<TDTO, TEntity> {
1552
1113
  // (undocumented)
1553
1114
  readonly cache: TEntity[];
1554
1115
  // (undocumented)
@@ -1556,6 +1117,8 @@ export interface EntityDatasource<TDTO, TEntity> extends Datasource {
1556
1117
  // (undocumented)
1557
1118
  initialize(init: EntityDatasourceInit<TDTO, TEntity>): Promise<boolean>;
1558
1119
  // (undocumented)
1120
+ readonly initialized: boolean;
1121
+ // (undocumented)
1559
1122
  readonly isEmpty: boolean;
1560
1123
  }
1561
1124
 
@@ -1597,11 +1160,7 @@ export enum EventMessageType {
1597
1160
  // (undocumented)
1598
1161
  META_REQUEST = "META_REQUEST",
1599
1162
  // (undocumented)
1600
- RESOURCES_REQUEST = "RESOURCES_REQUEST",
1601
- // (undocumented)
1602
- RESOURCES_REQUEST_ACK = "RESOURCES_REQUEST_ACK",
1603
- // (undocumented)
1604
- RESOURCES_REQUEST_NACK = "RESOURCES_REQUEST_NACK"
1163
+ RESOURCES_REQUEST = "RESOURCES_REQUEST"
1605
1164
  }
1606
1165
 
1607
1166
  // @public
@@ -1685,67 +1244,6 @@ export enum FoundationAnalyticsEventType {
1685
1244
  // @public
1686
1245
  export type GenesisConnectEvents = 'stream' | 'commit';
1687
1246
 
1688
- // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "GenesisResources" because one of its declarations is marked as @internal
1689
- //
1690
- // @public
1691
- export interface GenesisResources {
1692
- destroy: () => void;
1693
- getResourceTypeFor: (resourceName: string) => Promise<ResourceType>;
1694
- isValidResource: (resourceName: string) => Promise<boolean>;
1695
- }
1696
-
1697
- // @internal
1698
- export const GenesisResources: InterfaceSymbol<GenesisResources>;
1699
-
1700
- // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "GenesisResourcesChannel" because one of its declarations is marked as @internal
1701
- //
1702
- // @public
1703
- export interface GenesisResourcesChannel extends TypedBroadcastChannel<GenesisResourcesEvents> {
1704
- }
1705
-
1706
- // @internal
1707
- export const GenesisResourcesChannel: InterfaceSymbol<TypedBroadcastChannel<GenesisResourcesEvents>>;
1708
-
1709
- // @public (undocumented)
1710
- export const GenesisResourcesChannelId = "genesis-resources";
1711
-
1712
- // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "GenesisResourcesConfig" because one of its declarations is marked as @internal
1713
- //
1714
- // @public
1715
- export interface GenesisResourcesConfig {
1716
- throwWhenUnavailable?: boolean;
1717
- throwWhenUnknown?: boolean;
1718
- }
1719
-
1720
- // @internal
1721
- export const GenesisResourcesConfig: InterfaceSymbol<GenesisResourcesConfig>;
1722
-
1723
- // @public (undocumented)
1724
- export type GenesisResourcesEvents = {
1725
- 'resources-loaded': ResourceItem[];
1726
- 'resources-unloaded': void;
1727
- };
1728
-
1729
- // @public (undocumented)
1730
- export class GenesisResourcesMock implements GenesisResources {
1731
- // (undocumented)
1732
- destroy(): void;
1733
- // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "GenesisResources" has more than one declaration; you need to add a TSDoc member reference selector
1734
- //
1735
- // (undocumented)
1736
- getResourceTypeFor(resourceName: string): Promise<ResourceType>;
1737
- // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "GenesisResources" has more than one declaration; you need to add a TSDoc member reference selector
1738
- //
1739
- // (undocumented)
1740
- isValidResource(resourceName: string): Promise<boolean>;
1741
- // (undocumented)
1742
- nextIsValidResourceResponse: boolean;
1743
- // (undocumented)
1744
- nextResourceTypeForResponse: ResourceType;
1745
- // (undocumented)
1746
- resources: ResourceItem[];
1747
- }
1748
-
1749
1247
  // @public
1750
1248
  export function getConnect(): Connect;
1751
1249
 
@@ -1755,12 +1253,6 @@ export type GetCredentialOptions = CredentialRequestOptions & {};
1755
1253
  // @public
1756
1254
  export function getDatasource(): Datasource;
1757
1255
 
1758
- // @public
1759
- export function getGenesisResources(): GenesisResources;
1760
-
1761
- // @public
1762
- export function getGenesisResourcesChannel(): GenesisResourcesChannel;
1763
-
1764
1256
  // Warning: (ae-incompatible-release-tags) The symbol "getKVStorage" is marked as @public, but its signature references "KVStorage" which is marked as @alpha
1765
1257
  //
1766
1258
  // @public
@@ -2277,19 +1769,6 @@ export type ResourceHealth = MonitoredResourceChecksResult & {
2277
1769
  lastError?: any;
2278
1770
  };
2279
1771
 
2280
- // @public (undocumented)
2281
- export type ResourceItem = {
2282
- RESOURCE_NAME: string;
2283
- RESOURCE_TYPE: string;
2284
- };
2285
-
2286
- // @public (undocumented)
2287
- export type ResourcesMessage = {
2288
- MESSAGE_TYPE: EventMessageType.RESOURCES_REQUEST_ACK | EventMessageType.RESOURCES_REQUEST_NACK | MessageType.MSG_NACK;
2289
- SOURCE_REF: string;
2290
- RESOURCES: ResourceItem[];
2291
- };
2292
-
2293
1772
  // @public
2294
1773
  export enum ResourceType {
2295
1774
  // (undocumented)
@@ -2431,8 +1910,6 @@ export class SessionMock implements Session {
2431
1910
  export interface Socket extends Omit<SocketStatus, 'serialize' | 'onClose' | 'reconnectionLimitReached' | 'closedCode' | 'closedReason' | 'closedClean'> {
2432
1911
  // (undocumented)
2433
1912
  connect(host: string, options?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
2434
- // (undocumented)
2435
- host: string;
2436
1913
  reset(): void;
2437
1914
  // (undocumented)
2438
1915
  send<T>(message: Message<T | any>, needsHandling?: boolean): Promise<Message | any>;
@@ -2481,8 +1958,6 @@ export class SocketMock implements Socket {
2481
1958
  // (undocumented)
2482
1959
  hasValidSession: boolean;
2483
1960
  // (undocumented)
2484
- host: string;
2485
- // (undocumented)
2486
1961
  isConfigured: boolean;
2487
1962
  // (undocumented)
2488
1963
  isConnected: boolean;
@@ -2693,7 +2168,7 @@ export const WSConnect: InterfaceSymbol<Connect>;
2693
2168
 
2694
2169
  // Warnings were encountered during analysis:
2695
2170
  //
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
2171
+ // src/connect/message.ts:286:3 - (ae-forgotten-export) The symbol "RESOURCE_DETAILS" needs to be exported by the entry point index.d.ts
2697
2172
 
2698
2173
  // (No @packageDocumentation comment for this package)
2699
2174