@daocloud-proto/hydra 0.18.0-dev-10 → 0.18.0-dev-11
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.
|
@@ -259,15 +259,20 @@ export type ModelRateLimitPolicy = {
|
|
|
259
259
|
generation?: string
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
+
export type RateLimitValue = {
|
|
263
|
+
name?: string
|
|
264
|
+
value?: string
|
|
265
|
+
}
|
|
266
|
+
|
|
262
267
|
export type RateLimitTarget = {
|
|
263
268
|
selectors?: RateLimitSelector[]
|
|
264
269
|
dimension?: RateLimitDimension
|
|
265
|
-
values?:
|
|
270
|
+
values?: RateLimitValue[]
|
|
266
271
|
}
|
|
267
272
|
|
|
268
273
|
export type RateLimitSelector = {
|
|
269
274
|
dimension?: RateLimitDimension
|
|
270
|
-
values?:
|
|
275
|
+
values?: RateLimitValue[]
|
|
271
276
|
}
|
|
272
277
|
|
|
273
278
|
export type RequestRateLimit = {
|
|
@@ -308,6 +313,7 @@ export type RateLimitExemption = {
|
|
|
308
313
|
}
|
|
309
314
|
|
|
310
315
|
export type ModelRateLimitPolicyRule = {
|
|
316
|
+
name?: string
|
|
311
317
|
id?: string
|
|
312
318
|
type?: RateLimitType
|
|
313
319
|
target?: RateLimitTarget
|