Files
Genarrative/packages/shared/src/contracts/generated/AdminUpsertProfileMembershipPlanRequest.ts
T
k88936 87a3794423 文档(会员契约): 后台改档请求并发上限不再硬编码 128
- AdminUpsertProfileMembershipPlanRequest.concurrentJobLimit 改为引用后端下发的 unlimitedConcurrencyThreshold
- 同步重新生成 ts-rs 绑定
2026-10-05 17:56:02 +08:00

21 lines
973 B
TypeScript
Generated
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ProfileMembershipModelAccessToken } from "./ProfileMembershipModelAccessToken";
import type { ProfileMembershipPlanToken } from "./ProfileMembershipPlanToken";
/**
* 后台按档位改会员价格与权益;`rank` 不在请求里,升级比较基准由代码内目录决定。
*/
export type AdminUpsertProfileMembershipPlanRequest = {
/**
* 档位 token,作为主键即档位身份。
*/
plan: ProfileMembershipPlanToken, title: string, monthPriceCents: number, yearPriceCents: number, periodPoints: number,
/**
* 模型权限 token:`basic` / `full`;本期只落字段、不做服务端拦截。
*/
modelAccess: ProfileMembershipModelAccessToken,
/**
* 并发上限;达到后端下发的 `unlimitedConcurrencyThreshold` 即表示不设上限,前端不硬编码哨兵值。
*/
concurrentJobLimit: number, enabled: boolean, };