-
Notifications
You must be signed in to change notification settings - Fork 576
feat(route): add publish and offline to route #451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1f986c8
7561b49
3618172
804b9a5
8afc906
672be20
29b6ee5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,11 +36,13 @@ declare namespace RouteModule { | |
| desc: string; | ||
| uris: string[]; | ||
| hosts: string[]; | ||
| status: boolean; | ||
| }; | ||
|
|
||
| type Step1Data = { | ||
| name: string; | ||
| desc: string; | ||
| status: boolean; | ||
| priority: number; | ||
| protocols: RequestProtocol[]; | ||
| websocket: boolean; | ||
|
|
@@ -69,6 +71,7 @@ declare namespace RouteModule { | |
| step3Data: Step3Data; | ||
| }; | ||
| onChange(data: T): void; | ||
| isEdit?: boolean; | ||
| } | ||
|
|
||
| type UpstreamHost = { | ||
|
|
@@ -117,6 +120,7 @@ declare namespace RouteModule { | |
| id?: number; | ||
| route_group_id?: string; | ||
| route_group_name: string; | ||
| status: boolean; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need to add a boolean flag in route? https://github.com/apache/apisix/blob/master/doc/admin-api.md#route we'll remove mysql soon.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If moved |
||
| name: string; | ||
| desc: string; | ||
| priority?: number; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.