Skip to content

Commit

Permalink
fix: indent style
Browse files Browse the repository at this point in the history
wait the prettier issue be fixed prettier/prettier#15526
  • Loading branch information
F-loat committed Jul 8, 2024
1 parent 40b5a78 commit 0fcfe0b
Show file tree
Hide file tree
Showing 12 changed files with 316 additions and 310 deletions.
10 changes: 8 additions & 2 deletions .vitepress/config/en.mts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@ export const en = defineConfig({
text: 'Main Features',
link: '/overview/main-features'
},
{ text: 'Design Concepts', link: '/overview/design-concepts' },
{ text: 'Authentication', link: '/overview/authentication' },
{
text: 'Design Concepts',
link: '/overview/design-concepts'
},
{
text: 'Authentication',
link: '/overview/authentication'
},
{ text: 'Errors', link: '/overview/errors' },
{ text: 'Data Structure', link: '/overview/data-structure' }
]
Expand Down
4 changes: 2 additions & 2 deletions .vitepress/config/shared.mts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const getApiTitle = (title: string, method: 'GET' | 'POST') => {
const bg = method === 'GET' ? 'bg-[#0e9b71]' : 'bg-[#0171c2]'
return `
<span class="flex justify-between items-center">
<span>${title}</span>
<span class="text-[8px] w-9 h-4 rounded-xl text-white text-center leading-4 ${bg}">${method}</span>
<span>${title}</span>
<span class="text-[8px] w-9 h-4 rounded-xl text-white text-center leading-4 ${bg}">${method}</span>
</span>`
}

Expand Down
348 changes: 174 additions & 174 deletions src/en/export/export-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,188 +7,188 @@ api:
---

<Params
:body="body"
:results="results"
:body="body"
:results="results"
/>

<script setup>
const body = {
projectId: {
type: 'long',
description: 'project id'
},
completeTimeAfter: {
type: 'string',
description: 'Complete time of task after the date, include the day, such as 2024-05-01'
},
completeTimeBefore: {
type: 'string',
description: 'Complete time of task before the date, such as 2024-06-01'
},
taskIds: {
type: 'long[]',
description: 'Task Id List'
},
projectId: {
type: 'long',
description: 'project id'
},
completeTimeAfter: {
type: 'string',
description: 'Complete time of task after the date, include the day, such as 2024-05-01'
},
completeTimeBefore: {
type: 'string',
description: 'Complete time of task before the date, such as 2024-06-01'
},
taskIds: {
type: 'long[]',
description: 'Task Id List'
},
}
const results = {
200: {
200: {
"code": 200,
"message": "Success",
"data": {
"annotationResultList": [
{
"annotations": [
{
"key": "string",
"label": "string",
"slots": [
{
"confidence": 0,
"confirmed": true,
"hintConfidence": "High",
"hintStatus": "Unconfirmed",
"id": "string",
"label": "string",
"length": 0,
"source": "string",
"start": 0,
"text": "string",
"type": "text"
}
],
"type": "slot"
}
],
"hints": [
{
"key": "string",
"label": "string",
"slots": [
{
"confidence": 0,
"confirmed": true,
"hintConfidence": "High",
"hintStatus": "Unconfirmed",
"id": "string",
"label": "string",
"length": 0,
"source": "string",
"start": 0,
"text": "string",
"type": "text"
}
],
"type": "slot"
}
],
"issues": [
{
"actions": [
{
"comments": [
"string"
],
"createdAt": "string",
"note": "string",
"pool": {
"id": 0,
"name": "string",
"operatorIDBlackList": [
"string"
],
"rejectTaskCountDown": {
"day": 0,
"hour": 0,
"minute": 0
},
"taskCountDown": {
"day": 0,
"hour": 0,
"minute": 0
},
"type": 0
},
"taskId": 0,
"team": {
"id": 0,
"name": "string"
},
"type": "Create",
"user": {
"id": 0,
"name": "string",
"phone": "string"
}
}
],
"annotationPath": [
"string"
],
"id": "string",
"location": {
"position": 0,
"source": "string",
"type": "text"
},
"timeFrame": 0,
"type": 0
}
],
"metadata": {
"imageRotateAngle": 0,
"invalidFrame": [
0
],
"noNeedToAnnotate": true
},
"notes": [
{
"createdAt": "string",
"note": "string",
"pool": {
"id": 0,
"name": "string",
"operatorIDBlackList": [
"string"
],
"rejectTaskCountDown": {
"day": 0,
"hour": 0,
"minute": 0
},
"taskCountDown": {
"day": 0,
"hour": 0,
"minute": 0
},
"type": 0
},
"taskId": 0,
"team": {
"id": 0,
"name": "string"
},
"user": {
"id": 0,
"name": "string",
"phone": "string"
}
}
]
}
]
},
"date": "2024-05-17 17:45:50",
"requestId": "77bdf4cd171593981208210031afb4",
"success": true
},
400: {
"code": 400,
"data": null,
"date": "",
"message": "Invalid Parameter",
"requestId": "77bdf4cd171593981208210031afbv",
"success": false
}
"annotationResultList": [
{
"annotations": [
{
"key": "string",
"label": "string",
"slots": [
{
"confidence": 0,
"confirmed": true,
"hintConfidence": "High",
"hintStatus": "Unconfirmed",
"id": "string",
"label": "string",
"length": 0,
"source": "string",
"start": 0,
"text": "string",
"type": "text"
}
],
"type": "slot"
}
],
"hints": [
{
"key": "string",
"label": "string",
"slots": [
{
"confidence": 0,
"confirmed": true,
"hintConfidence": "High",
"hintStatus": "Unconfirmed",
"id": "string",
"label": "string",
"length": 0,
"source": "string",
"start": 0,
"text": "string",
"type": "text"
}
],
"type": "slot"
}
],
"issues": [
{
"actions": [
{
"comments": [
"string"
],
"createdAt": "string",
"note": "string",
"pool": {
"id": 0,
"name": "string",
"operatorIDBlackList": [
"string"
],
"rejectTaskCountDown": {
"day": 0,
"hour": 0,
"minute": 0
},
"taskCountDown": {
"day": 0,
"hour": 0,
"minute": 0
},
"type": 0
},
"taskId": 0,
"team": {
"id": 0,
"name": "string"
},
"type": "Create",
"user": {
"id": 0,
"name": "string",
"phone": "string"
}
}
],
"annotationPath": [
"string"
],
"id": "string",
"location": {
"position": 0,
"source": "string",
"type": "text"
},
"timeFrame": 0,
"type": 0
}
],
"metadata": {
"imageRotateAngle": 0,
"invalidFrame": [
0
],
"noNeedToAnnotate": true
},
"notes": [
{
"createdAt": "string",
"note": "string",
"pool": {
"id": 0,
"name": "string",
"operatorIDBlackList": [
"string"
],
"rejectTaskCountDown": {
"day": 0,
"hour": 0,
"minute": 0
},
"taskCountDown": {
"day": 0,
"hour": 0,
"minute": 0
},
"type": 0
},
"taskId": 0,
"team": {
"id": 0,
"name": "string"
},
"user": {
"id": 0,
"name": "string",
"phone": "string"
}
}
]
}
]
},
"date": "2024-05-17 17:45:50",
"requestId": "77bdf4cd171593981208210031afb4",
"success": true
},
400: {
"code": 400,
"data": null,
"date": "",
"message": "Invalid Parameter",
"requestId": "77bdf4cd171593981208210031afbv",
"success": false
}
}
</script>
Loading

0 comments on commit 0fcfe0b

Please sign in to comment.