-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/0.4.0' into released
- Loading branch information
Showing
171 changed files
with
3,119 additions
and
1,563 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
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 |
---|---|---|
@@ -1,27 +1,20 @@ | ||
.DS_Store | ||
*.log* | ||
*.tsbuildinfo | ||
/temp | ||
.rpt2_cache | ||
tsdoc-metadata.json | ||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
# config | ||
/.vscode | ||
/.circleci | ||
|
||
# testing | ||
/coverage | ||
# use less build output | ||
/umd/**/*.ts | ||
/umd/**/*.ts.map | ||
|
||
# production | ||
/build | ||
# can be regenerated | ||
/api-documents | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
# temp file | ||
/temp | ||
*.tsbuildinfo | ||
/.rpt2_cache | ||
|
||
# misc | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"typescript.tsdk": "node_modules\\typescript\\lib", | ||
"search.exclude": { | ||
"**/api-document": true | ||
"**/api-documents": true | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,15 +1,14 @@ | ||
{ | ||
// 有关 tasks.json 格式的文档,请参见 | ||
// 有关 tasks.json 格式的文档,请参见 | ||
// https://go.microsoft.com/fwlink/?LinkId=733558 | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "start-tsc", | ||
"problemMatcher": [ | ||
"$tsc-watch" | ||
], | ||
"isBackground": true | ||
"type": "typescript", | ||
"tsconfig": "tsconfig.json", | ||
"option": "watch", | ||
"problemMatcher": ["$tsc-watch"], | ||
"label": "holoflows" | ||
} | ||
] | ||
} | ||
} |
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
11 changes: 0 additions & 11 deletions
11
api-documents/kit.asynccalloptions.dontthrowonnotimplemented.md
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holoflows/kit](./kit.md) > [AsyncCallOptions](./kit.asynccalloptions.md) > [log](./kit.asynccalloptions.log.md) | ||
|
||
## AsyncCallOptions.log property | ||
|
||
Log what to console | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
log: { | ||
beCalled?: boolean; | ||
localError?: boolean; | ||
remoteError?: boolean; | ||
type?: 'basic' | 'pretty'; | ||
} | 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
This file was deleted.
Oops, something went wrong.
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,16 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holoflows/kit](./kit.md) > [AsyncCallOptions](./kit.asynccalloptions.md) > [messageChannel](./kit.asynccalloptions.messagechannel.md) | ||
|
||
## AsyncCallOptions.messageChannel property | ||
|
||
A class that can let you transfer messages between two sides | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
messageChannel: { | ||
on(event: string, callback: (data: unknown) => void): void; | ||
emit(event: string, data: unknown): void; | ||
}; | ||
``` |
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holoflows/kit](./kit.md) > [AsyncCallOptions](./kit.asynccalloptions.md) > [parameterStructures](./kit.asynccalloptions.parameterstructures.md) | ||
|
||
## AsyncCallOptions.parameterStructures property | ||
|
||
How parameters passed to remote https://www.jsonrpc.org/specification\#parameter\_structures | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
parameterStructures: 'by-position' | 'by-name'; | ||
``` |
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,17 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holoflows/kit](./kit.md) > [AsyncCallOptions](./kit.asynccalloptions.md) > [strict](./kit.asynccalloptions.strict.md) | ||
|
||
## AsyncCallOptions.strict property | ||
|
||
Strict options | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
strict: { | ||
methodNotFound?: boolean; | ||
noUndefined?: boolean; | ||
unknownMessage?: boolean; | ||
} | boolean; | ||
``` |
This file was deleted.
Oops, something went wrong.
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
15 changes: 15 additions & 0 deletions
15
api-documents/kit.automatedtabtaskruntimeoptions.needredirect.md
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,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holoflows/kit](./kit.md) > [AutomatedTabTaskRuntimeOptions](./kit.automatedtabtaskruntimeoptions.md) > [needRedirect](./kit.automatedtabtaskruntimeoptions.needredirect.md) | ||
|
||
## AutomatedTabTaskRuntimeOptions.needRedirect property | ||
|
||
Use with runAtTabID, tell AutomatedTabTask if you need to redirect the tab to the url provided | ||
|
||
defaults: false | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
needRedirect: boolean; | ||
``` |
13 changes: 13 additions & 0 deletions
13
api-documents/kit.automatedtabtaskruntimeoptions.runattabid.md
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holoflows/kit](./kit.md) > [AutomatedTabTaskRuntimeOptions](./kit.automatedtabtaskruntimeoptions.md) > [runAtTabID](./kit.automatedtabtaskruntimeoptions.runattabid.md) | ||
|
||
## AutomatedTabTaskRuntimeOptions.runAtTabID property | ||
|
||
Instead of start a new tab, run the script at the existing tab. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
runAtTabID: number; | ||
``` |
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holoflows/kit](./kit.md) > [AutomatedTabTaskSharedOptions](./kit.automatedtabtasksharedoptions.md) > [active](./kit.automatedtabtasksharedoptions.active.md) | ||
|
||
## AutomatedTabTaskSharedOptions.active property | ||
|
||
Should the new tab to be active? | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
active: boolean; | ||
``` |
13 changes: 13 additions & 0 deletions
13
api-documents/kit.automatedtabtasksharedoptions.autoclose.md
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holoflows/kit](./kit.md) > [AutomatedTabTaskSharedOptions](./kit.automatedtabtasksharedoptions.md) > [autoClose](./kit.automatedtabtasksharedoptions.autoclose.md) | ||
|
||
## AutomatedTabTaskSharedOptions.autoClose property | ||
|
||
Should the new tab to be closed automatically? | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
autoClose: 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,24 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holoflows/kit](./kit.md) > [AutomatedTabTaskSharedOptions](./kit.automatedtabtasksharedoptions.md) | ||
|
||
## AutomatedTabTaskSharedOptions interface | ||
|
||
Shared options for AutomatedTabTask between the define-time and the runtime. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface AutomatedTabTaskSharedOptions | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [active](./kit.automatedtabtasksharedoptions.active.md) | <code>boolean</code> | Should the new tab to be active? | | ||
| [autoClose](./kit.automatedtabtasksharedoptions.autoclose.md) | <code>boolean</code> | Should the new tab to be closed automatically? | | ||
| [memorable](./kit.automatedtabtasksharedoptions.memorable.md) | <code>boolean</code> | If the task is memorable. - true: Memorize by url and all options - false: Does not use Memory | | ||
| [pinned](./kit.automatedtabtasksharedoptions.pinned.md) | <code>boolean</code> | Should the new tab pinned? | | ||
| [timeout](./kit.automatedtabtasksharedoptions.timeout.md) | <code>number</code> | Task timeout. | | ||
|
Oops, something went wrong.