@daocloud-proto/skoala 0.33.2 → 0.34.0-12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -633,4 +633,5 @@ export type QueryGatewayByParamsReq = {
633
633
 
634
634
  export type QueryGatewayByParamsRes = {
635
635
  gatewayName?: string
636
+ namespaceName?: string
636
637
  }
@@ -136,6 +136,14 @@ type BaseHeaderRule = {
136
136
  export type HeaderRule = BaseHeaderRule
137
137
  & OneOf<{ contains: string; exact: string; notContains: string; notExact: string; present: boolean; notPresent: boolean; regex: string }>
138
138
 
139
+
140
+ type BaseQueryParameterRule = {
141
+ name?: string
142
+ }
143
+
144
+ export type QueryParameterRule = BaseQueryParameterRule
145
+ & OneOf<{ contains: string; exact: string; regex: string }>
146
+
139
147
  export type APIStatus = {
140
148
  currentStatus?: APIStatusEnum
141
149
  description?: string
@@ -97,6 +97,7 @@ export type MatchRule = BaseMatchRule
97
97
 
98
98
  type BaseRouteRule = {
99
99
  headers?: SkoalaApiHostedV1alpha1Http.HeaderRule[]
100
+ queryParameters?: SkoalaApiHostedV1alpha1Http.QueryParameterRule[]
100
101
  }
101
102
 
102
103
  export type RouteRule = BaseRouteRule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.33.2",
3
+ "version": "0.34.0-12",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {