Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentio Bot committed Nov 29, 2024
1 parent 861ad41 commit 5286df0
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 82 deletions.
130 changes: 64 additions & 66 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,6 @@
}
};
defs["alert_service.AlertRule"] = {
"title" : "maybe need to extract to common so it could used by web as well",
"type" : "object",
"properties" : {
"id" : {
Expand Down Expand Up @@ -994,7 +993,70 @@
"type" : "object",
"properties" : {
"rule" : {
"$ref" : "#/components/schemas/maybe_need_to_extract_to_common_so_it_could_used_by_web_as_well"
"$ref" : "#/components/schemas/alert_service_AlertService_SaveAlertRuleBody_rule"
}
}
};
defs["alert_service_AlertService_SaveAlertRuleBody_rule"] = {
"type" : "object",
"properties" : {
"projectId" : {
"title" : "project it belongs to",
"type" : "string"
},
"state" : {
"$ref" : "#/components/schemas/alert_service.AlertRule.State"
},
"subject" : {
"type" : "string"
},
"message" : {
"type" : "string"
},
"group" : {
"type" : "string"
},
"query" : {
"type" : "string"
},
"for" : {
"$ref" : "#/components/schemas/common.Duration"
},
"channels" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/common.Channel"
}
},
"updateTime" : {
"type" : "string",
"format" : "date-time"
},
"condition" : {
"$ref" : "#/components/schemas/alert_service.Condition"
},
"renotifyDuration" : {
"$ref" : "#/components/schemas/common.Duration"
},
"renotifyLimit" : {
"type" : "integer",
"format" : "int32"
},
"alertType" : {
"$ref" : "#/components/schemas/alert_service.AlertType"
},
"logCondition" : {
"$ref" : "#/components/schemas/alert_service.LogCondition"
},
"lastQueryTime" : {
"type" : "string",
"format" : "date-time"
},
"mute" : {
"type" : "boolean"
},
"interval" : {
"$ref" : "#/components/schemas/common.Duration"
}
}
};
Expand Down Expand Up @@ -3385,70 +3447,6 @@
"type" : "string"
}
}
};
defs["maybe_need_to_extract_to_common_so_it_could_used_by_web_as_well"] = {
"title" : "maybe need to extract to common so it could used by web as well",
"type" : "object",
"properties" : {
"projectId" : {
"title" : "project it belongs to",
"type" : "string"
},
"state" : {
"$ref" : "#/components/schemas/alert_service.AlertRule.State"
},
"subject" : {
"type" : "string"
},
"message" : {
"type" : "string"
},
"group" : {
"type" : "string"
},
"query" : {
"type" : "string"
},
"for" : {
"$ref" : "#/components/schemas/common.Duration"
},
"channels" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/common.Channel"
}
},
"updateTime" : {
"type" : "string",
"format" : "date-time"
},
"condition" : {
"$ref" : "#/components/schemas/alert_service.Condition"
},
"renotifyDuration" : {
"$ref" : "#/components/schemas/common.Duration"
},
"renotifyLimit" : {
"type" : "integer",
"format" : "int32"
},
"alertType" : {
"$ref" : "#/components/schemas/alert_service.AlertType"
},
"logCondition" : {
"$ref" : "#/components/schemas/alert_service.LogCondition"
},
"lastQueryTime" : {
"type" : "string",
"format" : "date-time"
},
"mute" : {
"type" : "boolean"
},
"interval" : {
"$ref" : "#/components/schemas/common.Duration"
}
}
};
defs["metrics_service.GetMetricsResponse"] = {
"type" : "object",
Expand Down
6 changes: 2 additions & 4 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2684,8 +2684,7 @@
"interval": {
"$ref": "#/definitions/common.Duration"
}
},
"title": "maybe need to extract to common so it could used by web as well"
}
},
"alert_service.AlertRule.State": {
"type": "string",
Expand Down Expand Up @@ -2761,8 +2760,7 @@
"interval": {
"$ref": "#/definitions/common.Duration"
}
},
"title": "maybe need to extract to common so it could used by web as well"
}
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions src/models/AlertServiceAlertServiceSaveAlertRuleBody.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/models/ObjectSerializer.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/models/all.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/types/ObjectParamAPI.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/types/ObservableAPI.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/types/PromiseAPI.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5286df0

Please sign in to comment.