@daocloud-proto/skoala 0.12.2-26 → 0.12.2-30

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.
@@ -57,6 +57,7 @@ export enum TimeUnit {
57
57
  Hour = "Hour",
58
58
  Minute = "Minute",
59
59
  Second = "Second",
60
+ Millisecond = "Millisecond",
60
61
  }
61
62
 
62
63
  export enum PluginSwitchStatus {
@@ -50,7 +50,7 @@ export type VirtualhostConfig = {
50
50
  export type JwtProvider = {
51
51
  audiences?: string[]
52
52
  default?: boolean
53
- forwardJJWT?: boolean
53
+ forwardJWT?: boolean
54
54
  issuer?: string
55
55
  name?: string
56
56
  remoteJwks?: RemoteJWKS
@@ -100,6 +100,7 @@ export type VirtualhostInfo = {
100
100
  secretName?: string
101
101
  secretNamespaceName?: string
102
102
  healthCheckUrl?: string
103
+ enableJWT?: boolean
103
104
  namespaceName?: string
104
105
  apiCount?: number
105
106
  updatedAt?: string
@@ -128,7 +129,7 @@ export type GetVirtualhostRes = {
128
129
  rateLimitPolicy?: RateLimitPolicy
129
130
  corsPolicy?: CorsPolicy
130
131
  tlsPolicy?: VirtualhostTLSPolicy
131
- jwtProvider?: JwtProvider[]
132
+ jwtProviders?: JwtProvider[]
132
133
  }
133
134
 
134
135
  export type UpdateVirtualhostReq = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.12.2-26",
3
+ "version": "0.12.2-30",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {