@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
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.187.1-alpha-3406925.0",
4
+ "version": "14.187.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -74,23 +74,22 @@
74
74
  }
75
75
  },
76
76
  "devDependencies": {
77
- "@genesislcap/foundation-testing": "14.187.1-alpha-3406925.0",
78
- "@genesislcap/genx": "14.187.1-alpha-3406925.0",
79
- "@genesislcap/rollup-builder": "14.187.1-alpha-3406925.0",
80
- "@genesislcap/ts-builder": "14.187.1-alpha-3406925.0",
81
- "@genesislcap/uvu-playwright-builder": "14.187.1-alpha-3406925.0",
82
- "@genesislcap/vite-builder": "14.187.1-alpha-3406925.0",
83
- "@genesislcap/webpack-builder": "14.187.1-alpha-3406925.0",
77
+ "@genesislcap/foundation-testing": "14.187.1",
78
+ "@genesislcap/genx": "14.187.1",
79
+ "@genesislcap/rollup-builder": "14.187.1",
80
+ "@genesislcap/ts-builder": "14.187.1",
81
+ "@genesislcap/uvu-playwright-builder": "14.187.1",
82
+ "@genesislcap/vite-builder": "14.187.1",
83
+ "@genesislcap/webpack-builder": "14.187.1",
84
84
  "@types/js-cookie": "^3.0.2",
85
85
  "@types/json-schema": "^7.0.11",
86
86
  "@types/webappsec-credential-management": "^0.6.2",
87
87
  "rimraf": "^5.0.0"
88
88
  },
89
89
  "dependencies": {
90
- "@genesislcap/foundation-broadcast-channel": "14.187.1-alpha-3406925.0",
91
- "@genesislcap/foundation-logger": "14.187.1-alpha-3406925.0",
92
- "@genesislcap/foundation-user": "14.187.1-alpha-3406925.0",
93
- "@genesislcap/foundation-utils": "14.187.1-alpha-3406925.0",
90
+ "@genesislcap/foundation-logger": "14.187.1",
91
+ "@genesislcap/foundation-user": "14.187.1",
92
+ "@genesislcap/foundation-utils": "14.187.1",
94
93
  "@microsoft/fast-element": "^1.12.0",
95
94
  "@microsoft/fast-foundation": "^2.49.4",
96
95
  "analytics": "^0.8.0",
@@ -110,5 +109,5 @@
110
109
  "publishConfig": {
111
110
  "access": "public"
112
111
  },
113
- "gitHead": "8394746d77691ff404febada13c863d60551595f"
112
+ "gitHead": "ed7f2594a168c5d92f448fc0c65566a9f1074acb"
114
113
  }
@@ -1,44 +0,0 @@
1
- import type { FilteredDataServerResult, RawDataServerResult } from '../metadata';
2
- import type { DatasourceOptions } from './datasource.types';
3
- /**
4
- * Default values for a DatasourceConfig
5
- * @public
6
- */
7
- export declare class DatasourceDefaults {
8
- static readonly MAX_ROWS_250 = 250;
9
- static readonly MAX_VIEW_1000 = 1000;
10
- static readonly REQ_REP_POLLING_INTERVAL_MS = 10000;
11
- static readonly DATASERVER_ROW_ID = "ROW_REF";
12
- static readonly REQUEST_SERVER_ROW_ID = "RECORD_ID";
13
- }
14
- /**
15
- * DatasourceConfig DI interface.
16
- *
17
- * @public
18
- */
19
- export interface DatasourceConfig {
20
- /**
21
- * The element to emit events from.
22
- *
23
- * @remarks
24
- * If omitted the document is used.
25
- */
26
- eventEmitter?: HTMLElement;
27
- options: DatasourceOptions;
28
- criteriaToFields(filters: string): Record<string, string>;
29
- dataServerResultFilter(result: RawDataServerResult, rowId?: string): FilteredDataServerResult;
30
- }
31
- /**
32
- * Default DatasourceConfig DI implementation.
33
- * @public
34
- */
35
- export declare const defaultDatasourceConfig: DatasourceConfig;
36
- /**
37
- * DatasourceConfig DI key.
38
- *
39
- * @internal
40
- * @privateRemarks
41
- * Marked as internal to stop api-extractor becoming confused cross-linking tokens with the same name.
42
- */
43
- export declare const DatasourceConfig: import("@microsoft/fast-foundation").InterfaceSymbol<DatasourceConfig>;
44
- //# sourceMappingURL=datasource.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datasource.config.d.ts","sourceRoot":"","sources":["../../../src/datasource/datasource.config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D;;;GAGG;AACH,qBAAa,kBAAkB;IAC7B,MAAM,CAAC,QAAQ,CAAC,YAAY,OAAO;IACnC,MAAM,CAAC,QAAQ,CAAC,aAAa,QAAQ;IACrC,MAAM,CAAC,QAAQ,CAAC,2BAA2B,SAAS;IACpD,MAAM,CAAC,QAAQ,CAAC,iBAAiB,aAAa;IAC9C,MAAM,CAAC,QAAQ,CAAC,qBAAqB,eAAe;CACrD;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1D,sBAAsB,CAAC,MAAM,EAAE,mBAAmB,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,wBAAwB,CAAC;CAC/F;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,gBAcrC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,wEAE5B,CAAC"}
@@ -1,367 +0,0 @@
1
- import type { FASTElement } from '@microsoft/fast-element';
2
- import { DatasourceStatus, DatasourceStatusChangedEvent } from './datasource.types';
3
- /**
4
- * Datasource event handler mixin for target classes that use or are interested in datasource status changes.
5
- *
6
- * @remarks
7
- * Classes that use the mixin are not required to own the datasource itself, there may be several interested parties.
8
- *
9
- * @example
10
- * ```ts
11
- * import { DatasourceEventHandler, DatasourceStatus } from '@genesislcap/foundation-comms';
12
- * ...
13
- * class MyComponent extends DatasourceEventHandler(FASTElement) {
14
- * resourceName: string = 'some-resource';
15
- * ...
16
- * datasourceStatusChanged(prev: DatasourceStatus, next: DatasourceStatus) {
17
- * // Respond to changes in the target datasource.
18
- * }
19
- * }
20
- * ```
21
- *
22
- * @privateRemarks
23
- * Unfortunately our datasource ui components do not share a common baseclass. Given datasource ui components contain a
24
- * Datasource and currently await their `init`, usage is more for example at this point, ie. how could we allow interested
25
- * parties to monitor and respond to changes, given they will exist at different levels of DOM hierarchy etc. Datasource
26
- * itself is also transient DI injectable, so each interested party would not have access to the same instance, nor would
27
- * we necessarily want to expose that via the event to prevent them operating on it to cause unwanted side effects.
28
- *
29
- * @param Target - The class to mix the event handler with.
30
- *
31
- * @public
32
- */
33
- export declare const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElement) => {
34
- new (): {
35
- datasourceStatus: DatasourceStatus;
36
- /**
37
- * Classes should provide.
38
- */
39
- resourceName: string;
40
- /**
41
- * The component-level handler for datasource status changes.
42
- *
43
- * @remarks
44
- * If implementing custom logic in the target class, please check the `event.detail.name` matches your resourceName.
45
- */
46
- onDatasourceStatusChanged: (event: DatasourceStatusChangedEvent) => void;
47
- /**
48
- * @remarks
49
- * Override this method to respond to changes in the target datasource.
50
- */
51
- datasourceStatusChanged(prev: DatasourceStatus, next: DatasourceStatus): void;
52
- connectedCallback(): void;
53
- disconnectedCallback(): void;
54
- accessKey: string;
55
- readonly accessKeyLabel: string;
56
- autocapitalize: string;
57
- dir: string;
58
- draggable: boolean;
59
- hidden: boolean;
60
- inert: boolean;
61
- innerText: string;
62
- lang: string;
63
- readonly offsetHeight: number;
64
- readonly offsetLeft: number;
65
- readonly offsetParent: Element;
66
- readonly offsetTop: number;
67
- readonly offsetWidth: number;
68
- outerText: string;
69
- spellcheck: boolean;
70
- title: string;
71
- translate: boolean;
72
- attachInternals(): ElementInternals;
73
- click(): void;
74
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
75
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
76
- removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
77
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
78
- readonly attributes: NamedNodeMap;
79
- readonly classList: DOMTokenList;
80
- className: string;
81
- readonly clientHeight: number;
82
- readonly clientLeft: number;
83
- readonly clientTop: number;
84
- readonly clientWidth: number;
85
- id: string;
86
- readonly localName: string;
87
- readonly namespaceURI: string;
88
- onfullscreenchange: (this: Element, ev: Event) => any;
89
- onfullscreenerror: (this: Element, ev: Event) => any;
90
- outerHTML: string;
91
- readonly ownerDocument: Document;
92
- readonly part: DOMTokenList;
93
- readonly prefix: string;
94
- readonly scrollHeight: number;
95
- scrollLeft: number;
96
- scrollTop: number;
97
- readonly scrollWidth: number;
98
- readonly shadowRoot: ShadowRoot;
99
- slot: string;
100
- readonly tagName: string;
101
- attachShadow(init: ShadowRootInit): ShadowRoot;
102
- closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
103
- closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
104
- closest<E extends Element = Element>(selectors: string): E;
105
- getAttribute(qualifiedName: string): string;
106
- getAttributeNS(namespace: string, localName: string): string;
107
- getAttributeNames(): string[];
108
- getAttributeNode(qualifiedName: string): Attr;
109
- getAttributeNodeNS(namespace: string, localName: string): Attr;
110
- getBoundingClientRect(): DOMRect;
111
- getClientRects(): DOMRectList;
112
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
113
- getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
114
- getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
115
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
116
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
117
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
118
- getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
119
- hasAttribute(qualifiedName: string): boolean;
120
- hasAttributeNS(namespace: string, localName: string): boolean;
121
- hasAttributes(): boolean;
122
- hasPointerCapture(pointerId: number): boolean;
123
- insertAdjacentElement(where: InsertPosition, element: Element): Element;
124
- insertAdjacentHTML(position: InsertPosition, text: string): void;
125
- insertAdjacentText(where: InsertPosition, data: string): void;
126
- matches(selectors: string): boolean;
127
- releasePointerCapture(pointerId: number): void;
128
- removeAttribute(qualifiedName: string): void;
129
- removeAttributeNS(namespace: string, localName: string): void;
130
- removeAttributeNode(attr: Attr): Attr;
131
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
132
- requestPointerLock(): void;
133
- scroll(options?: ScrollToOptions): void;
134
- scroll(x: number, y: number): void;
135
- scrollBy(options?: ScrollToOptions): void;
136
- scrollBy(x: number, y: number): void;
137
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
138
- scrollTo(options?: ScrollToOptions): void;
139
- scrollTo(x: number, y: number): void;
140
- setAttribute(qualifiedName: string, value: string): void;
141
- setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
142
- setAttributeNode(attr: Attr): Attr;
143
- setAttributeNodeNS(attr: Attr): Attr;
144
- setPointerCapture(pointerId: number): void;
145
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
146
- webkitMatchesSelector(selectors: string): boolean;
147
- readonly baseURI: string;
148
- readonly childNodes: NodeListOf<ChildNode>;
149
- readonly firstChild: ChildNode;
150
- readonly isConnected: boolean;
151
- readonly lastChild: ChildNode;
152
- readonly nextSibling: ChildNode;
153
- readonly nodeName: string;
154
- readonly nodeType: number;
155
- nodeValue: string;
156
- readonly parentElement: HTMLElement;
157
- readonly parentNode: ParentNode;
158
- readonly previousSibling: ChildNode;
159
- textContent: string;
160
- appendChild<T extends Node>(node: T): T;
161
- cloneNode(deep?: boolean): Node;
162
- compareDocumentPosition(other: Node): number;
163
- contains(other: Node): boolean;
164
- getRootNode(options?: GetRootNodeOptions): Node;
165
- hasChildNodes(): boolean;
166
- insertBefore<T_1 extends Node>(node: T_1, child: Node): T_1;
167
- isDefaultNamespace(namespace: string): boolean;
168
- isEqualNode(otherNode: Node): boolean;
169
- isSameNode(otherNode: Node): boolean;
170
- lookupNamespaceURI(prefix: string): string;
171
- lookupPrefix(namespace: string): string;
172
- normalize(): void;
173
- removeChild<T_2 extends Node>(child: T_2): T_2;
174
- replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
175
- readonly ATTRIBUTE_NODE: number;
176
- readonly CDATA_SECTION_NODE: number;
177
- readonly COMMENT_NODE: number;
178
- readonly DOCUMENT_FRAGMENT_NODE: number;
179
- readonly DOCUMENT_NODE: number;
180
- readonly DOCUMENT_POSITION_CONTAINED_BY: number;
181
- readonly DOCUMENT_POSITION_CONTAINS: number;
182
- readonly DOCUMENT_POSITION_DISCONNECTED: number;
183
- readonly DOCUMENT_POSITION_FOLLOWING: number;
184
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
185
- readonly DOCUMENT_POSITION_PRECEDING: number;
186
- readonly DOCUMENT_TYPE_NODE: number;
187
- readonly ELEMENT_NODE: number;
188
- readonly ENTITY_NODE: number;
189
- readonly ENTITY_REFERENCE_NODE: number;
190
- readonly NOTATION_NODE: number;
191
- readonly PROCESSING_INSTRUCTION_NODE: number;
192
- readonly TEXT_NODE: number;
193
- dispatchEvent(event: Event): boolean;
194
- ariaAtomic: string;
195
- ariaAutoComplete: string;
196
- ariaBusy: string;
197
- ariaChecked: string;
198
- ariaColCount: string;
199
- ariaColIndex: string;
200
- ariaColIndexText: string;
201
- ariaColSpan: string;
202
- ariaCurrent: string;
203
- ariaDisabled: string;
204
- ariaExpanded: string;
205
- ariaHasPopup: string;
206
- ariaHidden: string;
207
- ariaInvalid: string;
208
- ariaKeyShortcuts: string;
209
- ariaLabel: string;
210
- ariaLevel: string;
211
- ariaLive: string;
212
- ariaModal: string;
213
- ariaMultiLine: string;
214
- ariaMultiSelectable: string;
215
- ariaOrientation: string;
216
- ariaPlaceholder: string;
217
- ariaPosInSet: string;
218
- ariaPressed: string;
219
- ariaReadOnly: string;
220
- ariaRequired: string;
221
- ariaRoleDescription: string;
222
- ariaRowCount: string;
223
- ariaRowIndex: string;
224
- ariaRowIndexText: string;
225
- ariaRowSpan: string;
226
- ariaSelected: string;
227
- ariaSetSize: string;
228
- ariaSort: string;
229
- ariaValueMax: string;
230
- ariaValueMin: string;
231
- ariaValueNow: string;
232
- ariaValueText: string;
233
- role: string;
234
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
235
- getAnimations(options?: GetAnimationsOptions): Animation[];
236
- after(...nodes: (string | Node)[]): void;
237
- before(...nodes: (string | Node)[]): void;
238
- remove(): void;
239
- replaceWith(...nodes: (string | Node)[]): void;
240
- innerHTML: string;
241
- readonly nextElementSibling: Element;
242
- readonly previousElementSibling: Element;
243
- readonly childElementCount: number;
244
- readonly children: HTMLCollection;
245
- readonly firstElementChild: Element;
246
- readonly lastElementChild: Element;
247
- append(...nodes: (string | Node)[]): void;
248
- prepend(...nodes: (string | Node)[]): void;
249
- querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
250
- querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
251
- querySelector<E_1 extends Element = Element>(selectors: string): E_1;
252
- querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
253
- querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
254
- querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
255
- replaceChildren(...nodes: (string | Node)[]): void;
256
- readonly assignedSlot: HTMLSlotElement;
257
- oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
258
- oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
259
- onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
260
- readonly style: CSSStyleDeclaration;
261
- contentEditable: string;
262
- enterKeyHint: string;
263
- inputMode: string;
264
- readonly isContentEditable: boolean;
265
- onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
266
- onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
267
- onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
268
- onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
269
- onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
270
- onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
271
- onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
272
- onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
273
- oncancel: (this: GlobalEventHandlers, ev: Event) => any;
274
- oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
275
- oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
276
- onchange: (this: GlobalEventHandlers, ev: Event) => any;
277
- onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
278
- onclose: (this: GlobalEventHandlers, ev: Event) => any;
279
- oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
280
- oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
281
- ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
282
- ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
283
- ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
284
- ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
285
- ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
286
- ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
287
- ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
288
- ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
289
- ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
290
- onemptied: (this: GlobalEventHandlers, ev: Event) => any;
291
- onended: (this: GlobalEventHandlers, ev: Event) => any;
292
- onerror: OnErrorEventHandlerNonNull;
293
- onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
294
- onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
295
- ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
296
- oninput: (this: GlobalEventHandlers, ev: Event) => any;
297
- oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
298
- onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
299
- onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
300
- onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
301
- onload: (this: GlobalEventHandlers, ev: Event) => any;
302
- onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
303
- onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
304
- onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
305
- onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
306
- onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
307
- onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
308
- onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
309
- onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
310
- onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
311
- onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
312
- onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
313
- onpause: (this: GlobalEventHandlers, ev: Event) => any;
314
- onplay: (this: GlobalEventHandlers, ev: Event) => any;
315
- onplaying: (this: GlobalEventHandlers, ev: Event) => any;
316
- onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
317
- onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
318
- onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
319
- onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
320
- onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
321
- onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
322
- onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
323
- onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
324
- onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
325
- onratechange: (this: GlobalEventHandlers, ev: Event) => any;
326
- onreset: (this: GlobalEventHandlers, ev: Event) => any;
327
- onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
328
- onscroll: (this: GlobalEventHandlers, ev: Event) => any;
329
- onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
330
- onseeked: (this: GlobalEventHandlers, ev: Event) => any;
331
- onseeking: (this: GlobalEventHandlers, ev: Event) => any;
332
- onselect: (this: GlobalEventHandlers, ev: Event) => any;
333
- onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
334
- onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
335
- onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
336
- onstalled: (this: GlobalEventHandlers, ev: Event) => any;
337
- onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
338
- onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
339
- ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
340
- ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
341
- ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
342
- ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
343
- ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
344
- ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
345
- ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
346
- ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
347
- ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
348
- ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
349
- onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
350
- onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
351
- onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
352
- onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
353
- onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
354
- onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
355
- onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
356
- autofocus: boolean;
357
- readonly dataset: DOMStringMap;
358
- nonce?: string;
359
- tabIndex: number;
360
- blur(): void;
361
- focus(options?: FocusOptions): void;
362
- readonly $fastController: import("@microsoft/fast-element").Controller;
363
- $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
364
- attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
365
- };
366
- };
367
- //# sourceMappingURL=datasource.mixins.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datasource.mixins.d.ts","sourceRoot":"","sources":["../../../src/datasource/datasource.mixins.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,EACL,gBAAgB,EAEhB,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAE5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,sBAAsB,WAAY,UAAU,WAAW,GAAG,WAAW;;0BAGhD,gBAAgB;QAC9C;;WAEG;sBACW,MAAM;QACpB;;;;;WAKG;2CACgC,4BAA4B,KAAK,IAAI;QA4BxE;;;WAGG;sCAC2B,gBAAgB,QAAQ,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBzE,CAAC"}
@@ -1,81 +0,0 @@
1
- import { TypedBroadcastChannel } from '@genesislcap/foundation-broadcast-channel';
2
- import { GenesisResourcesEvents } from './types';
3
- /**
4
- * GenesisResourcesConfig DI interface.
5
- * @public
6
- */
7
- export interface GenesisResourcesConfig {
8
- /**
9
- * Treat unavailable/empty genesis resource sets as fatal errors.
10
- */
11
- throwWhenUnavailable?: boolean;
12
- /**
13
- * Treat unknown resources as fatal errors.
14
- */
15
- throwWhenUnknown?: boolean;
16
- }
17
- /**
18
- * Default GenesisResourcesConfig implementation.
19
- * @public
20
- */
21
- export declare const defaultGenesisResourcesConfig: GenesisResourcesConfig;
22
- /**
23
- * GenesisResourcesConfig DI key.
24
- * @internal
25
- * @privateRemarks
26
- * Marked as internal to stop api-extractor becoming confused cross-linking tokens with the same name.
27
- */
28
- export declare const GenesisResourcesConfig: import("@microsoft/fast-foundation").InterfaceSymbol<GenesisResourcesConfig>;
29
- /**
30
- * GenesisResourcesChannel DI interface.
31
- * @example
32
- * ```ts
33
- * import { GenesisResourcesChannel } from '@genesislcap/foundation-comms';
34
- * ...
35
- * @GenesisResourcesChannel protected channel: GenesisResourcesChannel;
36
- * ...
37
- * this.channel.onmessage = (e) => {
38
- * if (this.channel.isMessageType('resources-loaded', e)) {
39
- * logger.debug('resources-loaded', e.data.detail);
40
- * return;
41
- * }
42
- * }
43
- * ...
44
- * this.channel.close();
45
- * ```
46
- * @public
47
- */
48
- export interface GenesisResourcesChannel extends TypedBroadcastChannel<GenesisResourcesEvents> {
49
- }
50
- /**
51
- * GenesisResourcesChannel DI key.
52
- * @internal
53
- * @privateRemarks
54
- * Marked as internal to stop api-extractor becoming confused cross-linking tokens with the same name.
55
- */
56
- export declare const GenesisResourcesChannel: import("@microsoft/fast-foundation").InterfaceSymbol<TypedBroadcastChannel<GenesisResourcesEvents>>;
57
- /**
58
- * Gets GenesisResourcesChannel from the DI container.
59
- *
60
- * @remarks
61
- * A utility method for host applications that are not using decorators or the DI container.
62
- *
63
- * @example
64
- * ```ts
65
- * import { getGenesisResourcesChannel } from '@genesislcap/foundation-comms';
66
- * ...
67
- * const channel = getGenesisResourcesChannel();
68
- * ...
69
- * channel.onmessage = (e) => {
70
- * if (channel.isMessageType('resources-loaded', e)) {
71
- * logger.debug('resources-loaded', e.data.detail);
72
- * return;
73
- * }
74
- * }
75
- * ...
76
- * channel.close();
77
- * ```
78
- * @public
79
- */
80
- export declare function getGenesisResourcesChannel(): GenesisResourcesChannel;
81
- //# sourceMappingURL=config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/resources/genesis/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,qBAAqB,EACtB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAA6B,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,sBAG3C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,8EAElC,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,uBAAwB,SAAQ,qBAAqB,CAAC,sBAAsB,CAAC;CAAG;AAEjG;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,qGAC8C,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,0BAA0B,IAAI,uBAAuB,CAEpE"}
@@ -1,69 +0,0 @@
1
- import { Connect, ResourcesMessage } from '../../connect';
2
- import type { ResourceType } from '../../datasource';
3
- import { GenesisResourcesConfig } from './config';
4
- import type { ResourceItem } from './types';
5
- /**
6
- * GenesisResources DI interface.
7
- * @remarks
8
- * A lazy shared Genesis Resources lookup system. N number of callers can request information in succession, but only
9
- * the first will invoke the server request, and each caller will receive their results when that returns.
10
- * @public
11
- */
12
- export interface GenesisResources {
13
- /**
14
- * Checks if the resource exists
15
- * @param resourceName - The name of the resource to check.
16
- */
17
- isValidResource: (resourceName: string) => Promise<boolean>;
18
- /**
19
- * Gets the type of resource
20
- * @param resourceName - The name of the resource to get the type for.
21
- */
22
- getResourceTypeFor: (resourceName: string) => Promise<ResourceType>;
23
- /**
24
- * Destroy and garbage collect
25
- */
26
- destroy: () => void;
27
- }
28
- /**
29
- * Default GenesisResources implementation.
30
- * @public
31
- */
32
- export declare class DefaultGenesisResources implements GenesisResources {
33
- protected connect: Connect;
34
- protected config: GenesisResourcesConfig;
35
- protected resources: ResourceItem[];
36
- protected resourcesPromise: Promise<ResourcesMessage>;
37
- constructor(connect: Connect, config: GenesisResourcesConfig);
38
- /** {@inheritDoc GenesisResources.isValidResource} */
39
- isValidResource(resourceName: string): Promise<boolean>;
40
- /** {@inheritDoc GenesisResources.getResourceTypeFor} */
41
- getResourceTypeFor(resourceName: string): Promise<ResourceType>;
42
- /** {@inheritDoc GenesisResources.destroy} */
43
- destroy(): void;
44
- protected getResources(): Promise<void>;
45
- protected postLoadedMessage(): void;
46
- }
47
- /**
48
- * GenesisResources DI key.
49
- * @internal
50
- * @privateRemarks
51
- * Marked as internal to stop api-extractor becoming confused cross-linking tokens with the same name.
52
- */
53
- export declare const GenesisResources: import("@microsoft/fast-foundation").InterfaceSymbol<GenesisResources>;
54
- /**
55
- * Gets GenesisResources from the DI container.
56
- *
57
- * @remarks
58
- * A utility method for host applications that are not using decorators or the DI container.
59
- *
60
- * @example
61
- * ```ts
62
- * import { getGenesisResources } from '@genesislcap/foundation-comms';
63
- * ...
64
- * const genesisResources = getGenesisResources();
65
- * ```
66
- * @public
67
- */
68
- export declare function getGenesisResources(): GenesisResources;
69
- //# sourceMappingURL=genesis.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genesis.d.ts","sourceRoot":"","sources":["../../../../src/resources/genesis/genesis.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,sBAAsB,EAA8B,MAAM,UAAU,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,eAAe,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC5D;;;OAGG;IACH,kBAAkB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;IACpE;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,qBAAa,uBAAwB,YAAW,gBAAgB;IAKnD,SAAS,CAAC,OAAO,EAAE,OAAO;IACX,SAAS,CAAC,MAAM,EAAE,sBAAsB;IALlE,SAAS,CAAC,SAAS,EAAE,YAAY,EAAE,CAAC;IACpC,SAAS,CAAC,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;gBAGjC,OAAO,EAAE,OAAO,EACD,MAAM,EAAE,sBAAsB;IAGlE,qDAAqD;IAC/C,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAU7D,wDAAwD;IAClD,kBAAkB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAarE,6CAA6C;IAC7C,OAAO;cAKS,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAyB7C,SAAS,CAAC,iBAAiB;CAU5B;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,wEAE5B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,IAAI,gBAAgB,CAEtD"}
@@ -1,4 +0,0 @@
1
- export * from './config';
2
- export * from './genesis';
3
- export * from './types';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/genesis/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * @public
3
- */
4
- export type ResourceItem = {
5
- RESOURCE_NAME: string;
6
- RESOURCE_TYPE: string;
7
- };
8
- /**
9
- * @public
10
- */
11
- export declare const GenesisResourcesChannelId = "genesis-resources";
12
- /**
13
- * @public
14
- */
15
- export type GenesisResourcesEvents = {
16
- 'resources-loaded': ResourceItem[];
17
- 'resources-unloaded': void;
18
- };
19
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/resources/genesis/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,sBAAsB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,kBAAkB,EAAE,YAAY,EAAE,CAAC;IACnC,oBAAoB,EAAE,IAAI,CAAC;CAC5B,CAAC"}