-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ee9602
commit 341b0fd
Showing
11 changed files
with
347 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [zotero-plugin-toolkit](./zotero-plugin-toolkit.md) > [MessageHelper](./zotero-plugin-toolkit.messagehelper.md) > [(constructor)](./zotero-plugin-toolkit.messagehelper._constructor_.md) | ||
|
||
## MessageHelper.(constructor) | ||
|
||
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
> | ||
Constructs a new instance of the `MessageHelper` class | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
constructor(config: MessageServerConfig); | ||
``` | ||
|
||
## Parameters | ||
|
||
<table><thead><tr><th> | ||
|
||
Parameter | ||
|
||
|
||
</th><th> | ||
|
||
Type | ||
|
||
|
||
</th><th> | ||
|
||
Description | ||
|
||
|
||
</th></tr></thead> | ||
<tbody><tr><td> | ||
|
||
config | ||
|
||
|
||
</td><td> | ||
|
||
MessageServerConfig | ||
|
||
|
||
</td><td> | ||
|
||
|
||
</td></tr> | ||
</tbody></table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [zotero-plugin-toolkit](./zotero-plugin-toolkit.md) > [MessageHelper](./zotero-plugin-toolkit.messagehelper.md) > [config](./zotero-plugin-toolkit.messagehelper.config.md) | ||
|
||
## MessageHelper.config property | ||
|
||
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
> | ||
**Signature:** | ||
|
||
```typescript | ||
protected config: Required<MessageServerConfig>; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [zotero-plugin-toolkit](./zotero-plugin-toolkit.md) > [MessageHelper](./zotero-plugin-toolkit.messagehelper.md) > [env](./zotero-plugin-toolkit.messagehelper.env.md) | ||
|
||
## MessageHelper.env property | ||
|
||
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
> | ||
**Signature:** | ||
|
||
```typescript | ||
protected env: "webworker" | "chromeworker" | "browser" | "content"; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [zotero-plugin-toolkit](./zotero-plugin-toolkit.md) > [MessageHelper](./zotero-plugin-toolkit.messagehelper.md) > [listener](./zotero-plugin-toolkit.messagehelper.listener.md) | ||
|
||
## MessageHelper.listener property | ||
|
||
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
> | ||
**Signature:** | ||
|
||
```typescript | ||
protected listener?: any; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,199 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [zotero-plugin-toolkit](./zotero-plugin-toolkit.md) > [MessageHelper](./zotero-plugin-toolkit.messagehelper.md) | ||
|
||
## MessageHelper class | ||
|
||
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
> | ||
MessageHelper | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export declare class MessageHelper<_TargetHandlers extends MessageHandlers> | ||
``` | ||
|
||
## Constructors | ||
|
||
<table><thead><tr><th> | ||
|
||
Constructor | ||
|
||
|
||
</th><th> | ||
|
||
Modifiers | ||
|
||
|
||
</th><th> | ||
|
||
Description | ||
|
||
|
||
</th></tr></thead> | ||
<tbody><tr><td> | ||
|
||
[(constructor)(config)](./zotero-plugin-toolkit.messagehelper._constructor_.md) | ||
|
||
|
||
</td><td> | ||
|
||
|
||
</td><td> | ||
|
||
**_(ALPHA)_** Constructs a new instance of the `MessageHelper` class | ||
|
||
|
||
</td></tr> | ||
</tbody></table> | ||
|
||
## Properties | ||
|
||
<table><thead><tr><th> | ||
|
||
Property | ||
|
||
|
||
</th><th> | ||
|
||
Modifiers | ||
|
||
|
||
</th><th> | ||
|
||
Type | ||
|
||
|
||
</th><th> | ||
|
||
Description | ||
|
||
|
||
</th></tr></thead> | ||
<tbody><tr><td> | ||
|
||
[config](./zotero-plugin-toolkit.messagehelper.config.md) | ||
|
||
|
||
</td><td> | ||
|
||
`protected` | ||
|
||
|
||
</td><td> | ||
|
||
Required<MessageServerConfig> | ||
|
||
|
||
</td><td> | ||
|
||
**_(ALPHA)_** | ||
|
||
|
||
</td></tr> | ||
<tr><td> | ||
|
||
[env](./zotero-plugin-toolkit.messagehelper.env.md) | ||
|
||
|
||
</td><td> | ||
|
||
`protected` | ||
|
||
|
||
</td><td> | ||
|
||
"webworker" \| "chromeworker" \| "browser" \| "content" | ||
|
||
|
||
</td><td> | ||
|
||
**_(ALPHA)_** | ||
|
||
|
||
</td></tr> | ||
<tr><td> | ||
|
||
[listener?](./zotero-plugin-toolkit.messagehelper.listener.md) | ||
|
||
|
||
</td><td> | ||
|
||
`protected` | ||
|
||
|
||
</td><td> | ||
|
||
any | ||
|
||
|
||
</td><td> | ||
|
||
**_(ALPHA)_** _(Optional)_ | ||
|
||
|
||
</td></tr> | ||
<tr><td> | ||
|
||
[privileged](./zotero-plugin-toolkit.messagehelper.privileged.md) | ||
|
||
|
||
</td><td> | ||
|
||
`readonly` | ||
|
||
|
||
</td><td> | ||
|
||
boolean | ||
|
||
|
||
</td><td> | ||
|
||
**_(ALPHA)_** | ||
|
||
|
||
</td></tr> | ||
<tr><td> | ||
|
||
[running](./zotero-plugin-toolkit.messagehelper.running.md) | ||
|
||
|
||
</td><td> | ||
|
||
|
||
</td><td> | ||
|
||
boolean | ||
|
||
|
||
</td><td> | ||
|
||
**_(ALPHA)_** | ||
|
||
|
||
</td></tr> | ||
<tr><td> | ||
|
||
[target](./zotero-plugin-toolkit.messagehelper.target.md) | ||
|
||
|
||
</td><td> | ||
|
||
`readonly` | ||
|
||
|
||
</td><td> | ||
|
||
Window \| Worker | ||
|
||
|
||
</td><td> | ||
|
||
**_(ALPHA)_** | ||
|
||
|
||
</td></tr> | ||
</tbody></table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [zotero-plugin-toolkit](./zotero-plugin-toolkit.md) > [MessageHelper](./zotero-plugin-toolkit.messagehelper.md) > [privileged](./zotero-plugin-toolkit.messagehelper.privileged.md) | ||
|
||
## MessageHelper.privileged property | ||
|
||
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
> | ||
**Signature:** | ||
|
||
```typescript | ||
get privileged(): boolean; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [zotero-plugin-toolkit](./zotero-plugin-toolkit.md) > [MessageHelper](./zotero-plugin-toolkit.messagehelper.md) > [running](./zotero-plugin-toolkit.messagehelper.running.md) | ||
|
||
## MessageHelper.running property | ||
|
||
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
> | ||
**Signature:** | ||
|
||
```typescript | ||
running: boolean; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [zotero-plugin-toolkit](./zotero-plugin-toolkit.md) > [MessageHelper](./zotero-plugin-toolkit.messagehelper.md) > [target](./zotero-plugin-toolkit.messagehelper.target.md) | ||
|
||
## MessageHelper.target property | ||
|
||
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. | ||
> | ||
**Signature:** | ||
|
||
```typescript | ||
get target(): Window | Worker; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters