Skip to content

Commit 17f7609

Browse files
committed
Prettier
1 parent 61eb174 commit 17f7609

File tree

5 files changed

+11
-29
lines changed

5 files changed

+11
-29
lines changed

specification/_json_spec/query_ruleset.delete.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,13 @@
77
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
10-
"accept": [
11-
"application/json"
12-
]
10+
"accept": ["application/json"]
1311
},
1412
"url": {
1513
"paths": [
1614
{
1715
"path": "/_query_rules/{ruleset_id}",
18-
"methods": [
19-
"DELETE"
20-
],
16+
"methods": ["DELETE"],
2117
"parts": {
2218
"ruleset_id": {
2319
"type": "string",

specification/_json_spec/query_ruleset.get.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,13 @@
77
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
10-
"accept": [
11-
"application/json"
12-
]
10+
"accept": ["application/json"]
1311
},
1412
"url": {
1513
"paths": [
1614
{
1715
"path": "/_query_rules/{ruleset_id}",
18-
"methods": [
19-
"GET"
20-
],
16+
"methods": ["GET"],
2117
"parts": {
2218
"ruleset_id": {
2319
"type": "string",

specification/_json_spec/query_ruleset.list.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,13 @@
77
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
10-
"accept": [
11-
"application/json"
12-
]
10+
"accept": ["application/json"]
1311
},
1412
"url": {
1513
"paths": [
1614
{
1715
"path": "/_query_rules",
18-
"methods": [
19-
"GET"
20-
]
16+
"methods": ["GET"]
2117
}
2218
]
2319
},

specification/_json_spec/query_ruleset.put.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,14 @@
77
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
10-
"accept": [
11-
"application/json"
12-
],
13-
"content_type": [
14-
"application/json"
15-
]
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
1612
},
1713
"url": {
1814
"paths": [
1915
{
2016
"path": "/_query_rules/{ruleset_id}",
21-
"methods": [
22-
"PUT"
23-
],
17+
"methods": ["PUT"],
2418
"parts": {
2519
"ruleset_id": {
2620
"type": "string",

specification/query_rules/_types/QueryRuleset.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class QueryRuleset {
3333
rules: QueryRule[]
3434
}
3535

36-
export type QueryRulesetId = string;
36+
export type QueryRulesetId = string
3737

3838
export class QueryRule {
3939
rule_id: QueryRulesetId
@@ -42,7 +42,7 @@ export class QueryRule {
4242
actions: QueryRuleActions
4343
}
4444

45-
export type QueryRuleId = string;
45+
export type QueryRuleId = string
4646

4747
export enum QueryRuleType {
4848
pinned

0 commit comments

Comments
 (0)