Skip to content

Commit

Permalink
feat!: update MessageChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Mar 20, 2024
1 parent f50e165 commit 7f7e1a3
Show file tree
Hide file tree
Showing 142 changed files with 7,105 additions and 1,782 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"search.exclude": {
"**/api-documents": true
},
"typescript.tsdk": "node_modules\\typescript\\lib"
"typescript.tsdk": "node_modules\\typescript\\lib",
"cSpell.words": ["Holoflows"]
}
25 changes: 22 additions & 3 deletions api-documents/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,26 @@

## Packages

| Package | Description |
| --- | --- |
| [@holoflows/kit](./kit.md) | A toolkit for browser extension developing. |
<table><thead><tr><th>

Package


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[@holoflows/kit](./kit.md)


</td><td>

A toolkit for browser extension developing.


</td></tr>
</tbody></table>
33 changes: 30 additions & 3 deletions api-documents/kit.assertenvironment.allof.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,37 @@ allOf: (...args: Environment[]) => void[]

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| args | [Environment](./kit.environment.md)<!-- -->\[\] | |
<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

args


</td><td>

[Environment](./kit.environment.md)<!-- -->\[\]


</td><td>


</td></tr>
</tbody></table>
**Returns:**

void\[\]
Expand Down
33 changes: 29 additions & 4 deletions api-documents/kit.assertenvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,33 @@ export declare namespace assertEnvironment
## Functions
| Function | Description |
| --- | --- |
| [allOf(args)](./kit.assertenvironment.allof.md) | |
| [oneOf(args)](./kit.assertenvironment.oneof.md) | |
<table><thead><tr><th>
Function
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[allOf(args)](./kit.assertenvironment.allof.md)
</td><td>
</td></tr>
<tr><td>
[oneOf(args)](./kit.assertenvironment.oneof.md)
</td><td>
</td></tr>
</tbody></table>
33 changes: 30 additions & 3 deletions api-documents/kit.assertenvironment.oneof.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,37 @@ oneOf: (...args: Environment[]) => void

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| args | [Environment](./kit.environment.md)<!-- -->\[\] | |
<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

args


</td><td>

[Environment](./kit.environment.md)<!-- -->\[\]


</td><td>


</td></tr>
</tbody></table>
**Returns:**

void
Expand Down
33 changes: 30 additions & 3 deletions api-documents/kit.assertnotenvironment.allof.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,37 @@ allOf: (...args: Environment[]) => void[]

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| args | [Environment](./kit.environment.md)<!-- -->\[\] | |
<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

args


</td><td>

[Environment](./kit.environment.md)<!-- -->\[\]


</td><td>


</td></tr>
</tbody></table>
**Returns:**

void\[\]
Expand Down
33 changes: 29 additions & 4 deletions api-documents/kit.assertnotenvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,33 @@ export declare namespace assertNotEnvironment
## Functions
| Function | Description |
| --- | --- |
| [allOf(args)](./kit.assertnotenvironment.allof.md) | |
| [oneOf(args)](./kit.assertnotenvironment.oneof.md) | |
<table><thead><tr><th>
Function
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[allOf(args)](./kit.assertnotenvironment.allof.md)
</td><td>
</td></tr>
<tr><td>
[oneOf(args)](./kit.assertnotenvironment.oneof.md)
</td><td>
</td></tr>
</tbody></table>
33 changes: 30 additions & 3 deletions api-documents/kit.assertnotenvironment.oneof.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,37 @@ oneOf: (...args: Environment[]) => void

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| args | [Environment](./kit.environment.md)<!-- -->\[\] | |
<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

args


</td><td>

[Environment](./kit.environment.md)<!-- -->\[\]


</td><td>


</td></tr>
</tbody></table>
**Returns:**

void
Expand Down
23 changes: 20 additions & 3 deletions api-documents/kit.domproxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,24 @@ Special Handlers:
## Methods
| Method | Description |
| --- | --- |
| [on(type, fn)](./kit.domproxy.on.md) | |
<table><thead><tr><th>
Method
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[on(type, fn)](./kit.domproxy.on.md)
</td><td>
</td></tr>
</tbody></table>
48 changes: 44 additions & 4 deletions api-documents/kit.domproxy.on.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,51 @@ on(type: 'currentChanged', fn: (data: {

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | 'currentChanged' | |
| fn | (data: { new: ProxiedElement \| null; old: ProxiedElement \| null; }) =&gt; void | |
<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

type


</td><td>

'currentChanged'


</td><td>


</td></tr>
<tr><td>

fn


</td><td>

(data: { new: ProxiedElement \| null; old: ProxiedElement \| null; }) =&gt; void


</td><td>


</td></tr>
</tbody></table>
**Returns:**

() =&gt; void
Expand Down
Loading

0 comments on commit 7f7e1a3

Please sign in to comment.