mirror of
https://github.com/spacebarchat/docs.git
synced 2024-11-22 02:02:32 +01:00
prettier
This commit is contained in:
parent
6536f2e1fe
commit
779dc55dd8
10
.prettierrc
10
.prettierrc
@ -1,3 +1,11 @@
|
|||||||
{
|
{
|
||||||
"tabWidth": 4
|
"trailingComma": "all",
|
||||||
|
"tabWidth": 4,
|
||||||
|
"semi": true,
|
||||||
|
"arrowParens": "always",
|
||||||
|
"bracketSameLine": false,
|
||||||
|
"bracketSpacing": true,
|
||||||
|
"quoteProps": "as-needed",
|
||||||
|
"useTabs": true,
|
||||||
|
"singleQuote": false
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
.map((x, i) =>
|
.map((x, i) =>
|
||||||
x.indexOf("<<") == 2 // if this column is the `value` column
|
x.indexOf("<<") == 2 // if this column is the `value` column
|
||||||
? x.split(" ").reverse()[0] // get the value we shift by
|
? x.split(" ").reverse()[0] // get the value we shift by
|
||||||
: x
|
: x,
|
||||||
); // otherwise dont do anything
|
); // otherwise dont do anything
|
||||||
const mount = document.getElementById("rights-container");
|
const mount = document.getElementById("rights-container");
|
||||||
const outputMount = document.getElementById("rights-output");
|
const outputMount = document.getElementById("rights-output");
|
||||||
|
@ -3,10 +3,11 @@
|
|||||||
!!! info "[Have you read the Code of Conduct?](conduct.md)"
|
!!! info "[Have you read the Code of Conduct?](conduct.md)"
|
||||||
|
|
||||||
## Notable Technologies
|
## Notable Technologies
|
||||||
* Typescript
|
|
||||||
* [Typeorm](https://www.npmjs.com/package/typeorm)
|
- Typescript
|
||||||
* [WS](https://www.npmjs.com/package/ws)
|
- [Typeorm](https://www.npmjs.com/package/typeorm)
|
||||||
* [Express](https://www.npmjs.com/package/express)
|
- [WS](https://www.npmjs.com/package/ws)
|
||||||
|
- [Express](https://www.npmjs.com/package/express)
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
|
|
||||||
|
@ -6,12 +6,14 @@ There are 3 options, all of which require the Fosscord server have [erlpack](htt
|
|||||||
to the Fosscord web app URL. This assumes the Fosscord instance has the [test client](../server/Test%20Client/index.md) enabled.
|
to the Fosscord web app URL. This assumes the Fosscord instance has the [test client](../server/Test%20Client/index.md) enabled.
|
||||||
|
|
||||||
1. You may edit your desktop client's `settings.json` file at
|
1. You may edit your desktop client's `settings.json` file at
|
||||||
`%appdata%/discord/settings.json`,
|
`%appdata%/discord/settings.json`, adding the following line
|
||||||
adding the following line
|
|
||||||
```json
|
```json
|
||||||
"WEBAPP_ENDPOINT" : "https://your_fosscord_instance_url"
|
"WEBAPP_ENDPOINT" : "https://your_fosscord_instance_url"
|
||||||
```
|
```
|
||||||
|
|
||||||
such that it looks like this, as an example
|
such that it looks like this, as an example
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"IS_MAXIMIZED": true,
|
"IS_MAXIMIZED": true,
|
||||||
@ -26,6 +28,7 @@ such that it looks like this, as an example
|
|||||||
"WEBAPP_ENDPOINT": "https://your_fosscord_instance_url"
|
"WEBAPP_ENDPOINT": "https://your_fosscord_instance_url"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
This also assumes the Fosscord instance has enabled the test client.
|
This also assumes the Fosscord instance has enabled the test client.
|
||||||
|
|
||||||
1. If an instance does not have the test client enabled, you can [host the proxy yourself](https://github.com/fosscord/Discord-Client-Proxy),
|
1. If an instance does not have the test client enabled, you can [host the proxy yourself](https://github.com/fosscord/Discord-Client-Proxy),
|
||||||
|
Loading…
Reference in New Issue
Block a user