Skip to content

Commit

Permalink
chore: add extra prettierignore rule
Browse files Browse the repository at this point in the history
  • Loading branch information
getlarge committed Dec 19, 2023
1 parent 72ee80e commit 6a26e4e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 106 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
/dist
/coverage

/.nx/cache
/.nx/cache
*-template.yaml
48 changes: 11 additions & 37 deletions apps/auth/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
}
}
},
"tags": [
"users"
]
"tags": ["users"]
}
},
"/api/users/on-sign-in": {
Expand Down Expand Up @@ -62,9 +60,7 @@
}
}
},
"tags": [
"users"
]
"tags": ["users"]
}
},
"/api/users/sign-up": {
Expand Down Expand Up @@ -95,9 +91,7 @@
}
}
},
"tags": [
"users"
]
"tags": ["users"]
}
},
"/api/users/current-user": {
Expand All @@ -118,9 +112,7 @@
}
}
},
"tags": [
"users"
],
"tags": ["users"],
"security": [
{
"session": []
Expand Down Expand Up @@ -176,9 +168,7 @@
"type": "string"
}
},
"required": [
"email"
]
"required": ["email"]
},
"OryIdentityDto": {
"type": "object",
Expand Down Expand Up @@ -228,12 +218,7 @@
"type": "string"
}
},
"required": [
"id",
"schema_id",
"schema_url",
"traits"
]
"required": ["id", "schema_id", "schema_url", "traits"]
},
"OnOrySignUpDto": {
"type": "object",
Expand All @@ -247,9 +232,7 @@
]
}
},
"required": [
"identity"
]
"required": ["identity"]
},
"OnOrySignInDto": {
"type": "object",
Expand All @@ -263,9 +246,7 @@
]
}
},
"required": [
"identity"
]
"required": ["identity"]
},
"UserCredentialsDto": {
"type": "object",
Expand All @@ -283,10 +264,7 @@
"format": "email"
}
},
"required": [
"password",
"email"
]
"required": ["password", "email"]
},
"UserDto": {
"type": "object",
Expand All @@ -306,11 +284,7 @@
"format": "uuid"
}
},
"required": [
"email",
"id",
"identityId"
]
"required": ["email", "id", "identityId"]
}
}
},
Expand All @@ -322,4 +296,4 @@
"bearer": []
}
]
}
}
83 changes: 15 additions & 68 deletions apps/tickets/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
}
}
},
"tags": [
"tickets"
],
"tags": ["tickets"],
"security": [
{
"session": []
Expand Down Expand Up @@ -138,9 +136,7 @@
}
}
},
"tags": [
"tickets"
]
"tags": ["tickets"]
}
},
"/api/tickets/{id}": {
Expand Down Expand Up @@ -170,9 +166,7 @@
}
}
},
"tags": [
"tickets"
]
"tags": ["tickets"]
},
"patch": {
"operationId": "TicketsController_updateById",
Expand Down Expand Up @@ -210,9 +204,7 @@
}
}
},
"tags": [
"tickets"
],
"tags": ["tickets"],
"security": [
{
"session": []
Expand Down Expand Up @@ -278,10 +270,7 @@
]
}
},
"required": [
"key",
"value"
]
"required": ["key", "value"]
},
"PaginatedDto": {
"type": "object",
Expand All @@ -295,9 +284,7 @@
}
}
},
"required": [
"next"
]
"required": ["next"]
},
"CreateTicketDto": {
"type": "object",
Expand All @@ -314,10 +301,7 @@
"minimum": 0
}
},
"required": [
"title",
"price"
]
"required": ["title", "price"]
},
"TicketDto": {
"type": "object",
Expand Down Expand Up @@ -350,13 +334,7 @@
"description": "Ticket reservation order id"
}
},
"required": [
"id",
"title",
"price",
"version",
"userId"
]
"required": ["id", "title", "price", "version", "userId"]
},
"StartKeyDto": {
"type": "object",
Expand All @@ -375,10 +353,7 @@
]
}
},
"required": [
"key",
"value"
]
"required": ["key", "value"]
},
"SortDto": {
"type": "object",
Expand All @@ -392,23 +367,11 @@
"type": "number"
}
},
"required": [
"field",
"order"
]
"required": ["field", "order"]
},
"FilterOperatorType": {
"type": "string",
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"regex",
"in",
"nin"
]
"enum": ["eq", "gt", "gte", "lt", "lte", "regex", "in", "nin"]
},
"FilterDto": {
"type": "object",
Expand Down Expand Up @@ -452,16 +415,7 @@
"mode": {
"oneOf": [
{
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"regex",
"in",
"nin"
],
"enum": ["eq", "gt", "gte", "lt", "lte", "regex", "in", "nin"],
"default": "eq"
},
{
Expand All @@ -470,11 +424,7 @@
]
}
},
"required": [
"name",
"value",
"operator"
]
"required": ["name", "value", "operator"]
},
"ProjectionDto": {
"type": "object",
Expand All @@ -490,10 +440,7 @@
"maximum": 1
}
},
"required": [
"name",
"mode"
]
"required": ["name", "mode"]
},
"UpdateTicketDto": {
"type": "object",
Expand Down Expand Up @@ -525,4 +472,4 @@
"bearer": []
}
]
}
}

0 comments on commit 6a26e4e

Please sign in to comment.