@genesislcap/foundation-broadcast-channel 14.225.3 → 14.225.4-alpha-9342136.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"broadcast-channel.d.ts","sourceRoot":"","sources":["../../../src/broadcast-channel/broadcast-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE;;;GAGG;AACH,MAAM,MAAM,iBAAiB,CAC3B,eAAe,SAAS,cAAc,EACtC,CAAC,SAAS,MAAM,eAAe,IAC7B,YAAY,CAAC;IACf,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;CAC5B,CAAC,CAAC;AAEH;;GAEG;AACH,KAAK,WAAW,CAAC,eAAe,SAAS,cAAc,IAAI,CAAC,CAAC,SAAS,MAAM,eAAe,EACzF,GAAG,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,KACzF,IAAI,CAAC;AAEV;;GAEG;AACH,KAAK,SAAS,CAAC,eAAe,SAAS,cAAc,IACjD,CAAC,CAAC,IAAI,EAAE,gBAAgB,EAAE,EAAE,EAAE,iBAAiB,CAAC,eAAe,EAAE,MAAM,eAAe,CAAC,KAAK,GAAG,CAAC,GAChG,IAAI,CAAC;AAET;;GAEG;AACH,KAAK,cAAc,CAAC,eAAe,SAAS,cAAc,IAAI,SAAS,CAAC,eAAe,CAAC,CAAC;AAEzF;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,qBAAqB,CAAC,eAAe,SAAS,cAAc,CAC3E,SAAQ,IAAI,CAAC,gBAAgB,EAAE,aAAa,GAAG,WAAW,GAAG,gBAAgB,CAAC;IAC9E;;;;;;;;;;;;;;OAcG;IACH,WAAW,EAAE,WAAW,CAAC,eAAe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,aAAa,0CACL,CAAC,SACA,kBAAkB,eAAe,EAAE,MAAM,eAAe,CAAC,oDAGhE;CACH;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,6BAA6B,iDAClC,MAAM,iGAQb,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,2BAA2B,iDAChC,MAAM,kDAGb,CAAC"}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.9"
8
+ "packageVersion": "7.48.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.34.9",
4
+ "toolVersion": "7.48.0",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -173,17 +173,13 @@
173
173
  "preserveMemberOrder": false,
174
174
  "members": [
175
175
  {
176
- "kind": "Variable",
177
- "canonicalReference": "@genesislcap/foundation-broadcast-channel!createTypedBroadcastChannel:var",
176
+ "kind": "Function",
177
+ "canonicalReference": "@genesislcap/foundation-broadcast-channel!createTypedBroadcastChannel:function(1)",
178
178
  "docComment": "/**\n * Creates a strongly typed broadcast channel.\n *\n * @remarks\n *\n * `registerTypedBroadcastChannel` may be preferred, as it will create and register the channel in the DI.\n *\n * @param name - The channel name.\n *\n * @returns The created TypedBroadcastChannel.\n *\n * @example\n * ```ts\n * const channel = createTypedBroadcastChannel<GenesisResourcesEvents>(GenesisResourcesChannelId);\n * ```\n *\n * @public\n */\n",
179
179
  "excerptTokens": [
180
180
  {
181
181
  "kind": "Content",
182
- "text": "createTypedBroadcastChannel: "
183
- },
184
- {
185
- "kind": "Content",
186
- "text": "<TEventDetailMap extends "
182
+ "text": "createTypedBroadcastChannel: <TEventDetailMap extends "
187
183
  },
188
184
  {
189
185
  "kind": "Reference",
@@ -192,7 +188,15 @@
192
188
  },
193
189
  {
194
190
  "kind": "Content",
195
- "text": ">(name: string) => "
191
+ "text": ">(name: "
192
+ },
193
+ {
194
+ "kind": "Content",
195
+ "text": "string"
196
+ },
197
+ {
198
+ "kind": "Content",
199
+ "text": ") => "
196
200
  },
197
201
  {
198
202
  "kind": "Reference",
@@ -205,13 +209,36 @@
205
209
  }
206
210
  ],
207
211
  "fileUrlPath": "src/broadcast-channel/broadcast-channel.ts",
208
- "isReadonly": true,
212
+ "returnTypeTokenRange": {
213
+ "startIndex": 5,
214
+ "endIndex": 7
215
+ },
209
216
  "releaseTag": "Public",
210
- "name": "createTypedBroadcastChannel",
211
- "variableTypeTokenRange": {
212
- "startIndex": 1,
213
- "endIndex": 6
214
- }
217
+ "overloadIndex": 1,
218
+ "parameters": [
219
+ {
220
+ "parameterName": "name",
221
+ "parameterTypeTokenRange": {
222
+ "startIndex": 3,
223
+ "endIndex": 4
224
+ },
225
+ "isOptional": false
226
+ }
227
+ ],
228
+ "typeParameters": [
229
+ {
230
+ "typeParameterName": "TEventDetailMap",
231
+ "constraintTokenRange": {
232
+ "startIndex": 1,
233
+ "endIndex": 2
234
+ },
235
+ "defaultTypeTokenRange": {
236
+ "startIndex": 0,
237
+ "endIndex": 0
238
+ }
239
+ }
240
+ ],
241
+ "name": "createTypedBroadcastChannel"
215
242
  },
216
243
  {
217
244
  "kind": "Class",
@@ -406,17 +433,13 @@
406
433
  }
407
434
  },
408
435
  {
409
- "kind": "Variable",
410
- "canonicalReference": "@genesislcap/foundation-broadcast-channel!registerTypedBroadcastChannel:var",
436
+ "kind": "Function",
437
+ "canonicalReference": "@genesislcap/foundation-broadcast-channel!registerTypedBroadcastChannel:function(1)",
411
438
  "docComment": "/**\n * Creates a dependency injection key for the broadcast channel being registered which is lazily created when injected.\n *\n * @param name - The channel name.\n *\n * @returns The created key.\n *\n * @example\n *\n * In a package's config.ts\n * ```ts\n * export interface GenesisResourcesChannel extends TypedBroadcastChannel<GenesisResourcesEvents> {}\n * ...\n * export const GenesisResourcesChannel = registerTypedBroadcastChannel<GenesisResourcesEvents>(GenesisResourcesChannelId);\n * ```\n *\n * @public\n */\n",
412
439
  "excerptTokens": [
413
440
  {
414
441
  "kind": "Content",
415
- "text": "registerTypedBroadcastChannel: "
416
- },
417
- {
418
- "kind": "Content",
419
- "text": "<TEventDetailMap extends "
442
+ "text": "registerTypedBroadcastChannel: <TEventDetailMap extends "
420
443
  },
421
444
  {
422
445
  "kind": "Reference",
@@ -425,7 +448,19 @@
425
448
  },
426
449
  {
427
450
  "kind": "Content",
428
- "text": ">(name: string) => import(\"@microsoft/fast-foundation\")."
451
+ "text": ">(name: "
452
+ },
453
+ {
454
+ "kind": "Content",
455
+ "text": "string"
456
+ },
457
+ {
458
+ "kind": "Content",
459
+ "text": ") => "
460
+ },
461
+ {
462
+ "kind": "Content",
463
+ "text": "import(\"@microsoft/fast-foundation\")."
429
464
  },
430
465
  {
431
466
  "kind": "Reference",
@@ -447,13 +482,36 @@
447
482
  }
448
483
  ],
449
484
  "fileUrlPath": "src/broadcast-channel/broadcast-channel.ts",
450
- "isReadonly": true,
485
+ "returnTypeTokenRange": {
486
+ "startIndex": 5,
487
+ "endIndex": 10
488
+ },
451
489
  "releaseTag": "Public",
452
- "name": "registerTypedBroadcastChannel",
453
- "variableTypeTokenRange": {
454
- "startIndex": 1,
455
- "endIndex": 8
456
- }
490
+ "overloadIndex": 1,
491
+ "parameters": [
492
+ {
493
+ "parameterName": "name",
494
+ "parameterTypeTokenRange": {
495
+ "startIndex": 3,
496
+ "endIndex": 4
497
+ },
498
+ "isOptional": false
499
+ }
500
+ ],
501
+ "typeParameters": [
502
+ {
503
+ "typeParameterName": "TEventDetailMap",
504
+ "constraintTokenRange": {
505
+ "startIndex": 1,
506
+ "endIndex": 2
507
+ },
508
+ "defaultTypeTokenRange": {
509
+ "startIndex": 0,
510
+ "endIndex": 0
511
+ }
512
+ }
513
+ ],
514
+ "name": "registerTypedBroadcastChannel"
457
515
  },
458
516
  {
459
517
  "kind": "Interface",
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) &gt; [@genesislcap/foundation-broadcast-channel](./foundation-broadcast-channel.md) &gt; [createTypedBroadcastChannel](./foundation-broadcast-channel.createtypedbroadcastchannel.md)
4
4
 
5
- ## createTypedBroadcastChannel variable
5
+ ## createTypedBroadcastChannel() function
6
6
 
7
7
  Creates a strongly typed broadcast channel.
8
8
 
@@ -12,6 +12,18 @@ Creates a strongly typed broadcast channel.
12
12
  createTypedBroadcastChannel: <TEventDetailMap extends EventDetailMap>(name: string) => DefaultTypedBroadcastChannel<TEventDetailMap>
13
13
  ```
14
14
 
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | name | string | The channel name. |
20
+
21
+ **Returns:**
22
+
23
+ [DefaultTypedBroadcastChannel](./foundation-broadcast-channel.defaulttypedbroadcastchannel.md)<!-- -->&lt;TEventDetailMap&gt;
24
+
25
+ The created TypedBroadcastChannel.
26
+
15
27
  ## Remarks
16
28
 
17
29
  `registerTypedBroadcastChannel` may be preferred, as it will create and register the channel in the DI.
@@ -10,6 +10,13 @@
10
10
  | --- | --- |
11
11
  | [DefaultTypedBroadcastChannel](./foundation-broadcast-channel.defaulttypedbroadcastchannel.md) | Default TypedBroadcastChannel implementation. |
12
12
 
13
+ ## Functions
14
+
15
+ | Function | Description |
16
+ | --- | --- |
17
+ | [createTypedBroadcastChannel(name)](./foundation-broadcast-channel.createtypedbroadcastchannel.md) | Creates a strongly typed broadcast channel. |
18
+ | [registerTypedBroadcastChannel(name)](./foundation-broadcast-channel.registertypedbroadcastchannel.md) | Creates a dependency injection key for the broadcast channel being registered which is lazily created when injected. |
19
+
13
20
  ## Interfaces
14
21
 
15
22
  | Interface | Description |
@@ -20,9 +27,7 @@
20
27
 
21
28
  | Variable | Description |
22
29
  | --- | --- |
23
- | [createTypedBroadcastChannel](./foundation-broadcast-channel.createtypedbroadcastchannel.md) | Creates a strongly typed broadcast channel. |
24
30
  | [logger](./foundation-broadcast-channel.logger.md) | |
25
- | [registerTypedBroadcastChannel](./foundation-broadcast-channel.registertypedbroadcastchannel.md) | Creates a dependency injection key for the broadcast channel being registered which is lazily created when injected. |
26
31
 
27
32
  ## Type Aliases
28
33
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) &gt; [@genesislcap/foundation-broadcast-channel](./foundation-broadcast-channel.md) &gt; [registerTypedBroadcastChannel](./foundation-broadcast-channel.registertypedbroadcastchannel.md)
4
4
 
5
- ## registerTypedBroadcastChannel variable
5
+ ## registerTypedBroadcastChannel() function
6
6
 
7
7
  Creates a dependency injection key for the broadcast channel being registered which is lazily created when injected.
8
8
 
@@ -12,6 +12,18 @@ Creates a dependency injection key for the broadcast channel being registered wh
12
12
  registerTypedBroadcastChannel: <TEventDetailMap extends EventDetailMap>(name: string) => import("@microsoft/fast-foundation").InterfaceSymbol<TypedBroadcastChannel<TEventDetailMap>>
13
13
  ```
14
14
 
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | name | string | The channel name. |
20
+
21
+ **Returns:**
22
+
23
+ import("@microsoft/fast-foundation").InterfaceSymbol&lt;[TypedBroadcastChannel](./foundation-broadcast-channel.typedbroadcastchannel.md)<!-- -->&lt;TEventDetailMap&gt;&gt;
24
+
25
+ The created key.
26
+
15
27
  ## Example
16
28
 
17
29
  In a package's config.ts
@@ -24,7 +24,7 @@ export type GenesisResourcesEvents = {
24
24
  ...
25
25
  protected channel: TypedBroadcastChannel<GenesisResourcesEvents>;
26
26
  ```
27
- See the [registerTypedBroadcastChannel](./foundation-broadcast-channel.registertypedbroadcastchannel.md) and [createTypedBroadcastChannel](./foundation-broadcast-channel.createtypedbroadcastchannel.md) APIs below.
27
+ See the [registerTypedBroadcastChannel()](./foundation-broadcast-channel.registertypedbroadcastchannel.md) and [createTypedBroadcastChannel()](./foundation-broadcast-channel.createtypedbroadcastchannel.md) APIs below.
28
28
 
29
29
  ## Properties
30
30
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-broadcast-channel",
3
3
  "description": "Genesis Broadcast Channel",
4
- "version": "14.225.3",
4
+ "version": "14.225.4-alpha-9342136.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -24,18 +24,18 @@
24
24
  }
25
25
  },
26
26
  "devDependencies": {
27
- "@genesislcap/foundation-testing": "14.225.3",
28
- "@genesislcap/genx": "14.225.3",
29
- "@genesislcap/rollup-builder": "14.225.3",
30
- "@genesislcap/ts-builder": "14.225.3",
31
- "@genesislcap/uvu-playwright-builder": "14.225.3",
32
- "@genesislcap/vite-builder": "14.225.3",
33
- "@genesislcap/webpack-builder": "14.225.3",
27
+ "@genesislcap/foundation-testing": "14.225.4-alpha-9342136.0",
28
+ "@genesislcap/genx": "14.225.4-alpha-9342136.0",
29
+ "@genesislcap/rollup-builder": "14.225.4-alpha-9342136.0",
30
+ "@genesislcap/ts-builder": "14.225.4-alpha-9342136.0",
31
+ "@genesislcap/uvu-playwright-builder": "14.225.4-alpha-9342136.0",
32
+ "@genesislcap/vite-builder": "14.225.4-alpha-9342136.0",
33
+ "@genesislcap/webpack-builder": "14.225.4-alpha-9342136.0",
34
34
  "rimraf": "^5.0.0"
35
35
  },
36
36
  "dependencies": {
37
- "@genesislcap/foundation-events": "14.225.3",
38
- "@genesislcap/foundation-logger": "14.225.3",
37
+ "@genesislcap/foundation-events": "14.225.4-alpha-9342136.0",
38
+ "@genesislcap/foundation-logger": "14.225.4-alpha-9342136.0",
39
39
  "@microsoft/fast-element": "1.14.0",
40
40
  "@microsoft/fast-foundation": "2.49.6"
41
41
  },
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "8c9e4ede68df7e397194a05207ea7cd7b7a9f239"
50
+ "gitHead": "fc6d550b6235df216dc52fc120675e1a0cde3d1e"
51
51
  }
File without changes