feat: prettier and eslint

This commit is contained in:
GramingFoxTeam
2022-11-16 13:59:55 +03:00
parent 0ad5ece085
commit 1c27ccb17c
22 changed files with 2359 additions and 324 deletions

View File

@@ -8,9 +8,9 @@ Sending the server this JSON (BSON) will send you back the AI predictions.
```json
{
"op": 1,
"id": "String",
"text": "How do i download ReVanced?"
"op": 1,
"id": "String",
"text": "How do i download ReVanced?"
}
```
@@ -18,14 +18,14 @@ And the server would return something like this:
```json
{
"op": 2,
"id": "String",
"predictions": [
{
"label": "DOWNLOAD",
"score": "1"
}
]
"op": 2,
"id": "String",
"predictions": [
{
"label": "DOWNLOAD",
"score": "1"
}
]
}
```
@@ -35,9 +35,9 @@ To add data to the train data, send a BSON (JSON) like this:
```json
{
"op": 3,
"label": "FALSEPOSITIVE",
"text": "how"
"op": 3,
"label": "FALSEPOSITIVE",
"text": "how"
}
```
@@ -45,7 +45,7 @@ To train the AI and to re-load it, send this BSON (JSON):
```json
{
"event": 4
"event": 4
}
```
@@ -55,9 +55,9 @@ Sending the server this JSON (BSON) will send you back the read text.
```json
{
"op": 5,
"id": "String",
"url": "https://cdn.discordapp.com/attachments/1033338556493606963/1033338557231796224/Screenshot_20221022-121318.jpg"
"op": 5,
"id": "String",
"url": "https://cdn.discordapp.com/attachments/1033338556493606963/1033338557231796224/Screenshot_20221022-121318.jpg"
}
```
@@ -65,8 +65,8 @@ And the server would return something like this:
```json
{
"op": 6,
"id": "String",
"ocrText": "..."
"op": 6,
"id": "String",
"ocrText": "..."
}
```
```