Skip to content

Commit 3981713

Browse files
author
bunsenstraat
authored
Merge branch 'master' into newbranch
2 parents df856c8 + edeaaa3 commit 3981713

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

packages/api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ _Click on the name of the api to get the full documentation._
1717
|Unit Testing |[solidityUnitTesting](./doc/unit-testing.md) |Unit testing library in solidity
1818
|Settings |[settings](./doc/settings.md) |Global settings of the IDE
1919
|Content Import |[contentImport](./doc/content-import.md) |Import files from github, swarm, ipfs, http or https.
20+
|Terminal |[terminal](./doc/terminal.md) |Log to the terminal
2021

packages/api/doc/terminal.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# File System
2+
3+
- Name in Remix: `terminal`
4+
5+
|Type |Name |Description |
6+
|---------|-----------------------|------------|
7+
|_method_ |`log` |Log text to the terminal
8+
9+
## Examples
10+
11+
### Methods
12+
`log`: Get the name of the current file selected.
13+
```typescript
14+
await client.terminal.log({ type: 'info', value: 'I am a string' })
15+
// OR
16+
await client.call('terminal',{ type: 'info', value: 'I am a string' })
17+
```
18+
19+
20+
> Type Definitions can be found [here](../src/lib/terminal/api.ts)

packages/utils/src/lib/types/profile.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ export interface Profile<T extends Api = any> {
1212
documentation?: string
1313
version?: string
1414
kind?: string,
15-
canActivate?: string[],
15+
canActivate?: string[]
1616
icon?: string
17+
maintainedBy?: string,
18+
author?: string
19+
repo?: string
20+
authorContact?: string
1721
}
1822

1923
export interface LocationProfile {

0 commit comments

Comments
 (0)