提交 6a86ea07 编写于 作者: 郝先瑞

feat(client.d.ts): 添加客户端API的TypeScript类型描述文件

上级 bb065604
import { PageQueryParam, PageResult } from "./base"
/**
* 客户端查询参数类型声明
*/
export interface ClientQueryParam extends PageQueryParam {
/**
* 客户端名称
*/
clientId: string | undefined
}
/**
* 客户端分页列表项声明
*/
export interface ClientItem {
clientId: string;
clientSecret: string;
resourceIds: string;
scope: string;
authorizedGrantTypes: string;
webServerRedirectUri?: any;
authorities?: any;
accessTokenValidity: number;
refreshTokenValidity: number;
additionalInformation?: any;
autoapprove: string;
}
/**
* 客户端分页项类型声明
*/
export interface ClientPageResult extends PageResult<ClientItem[]> {
}
/**
* 客户端表单类型声明
*/
export interface ClientFormData {
authorizedGrantTypes: string;
clientId: string;
clientSecret: string;
accessTokenValidity: string;
refreshTokenValidity: string;
webServerRedirectUri: string;
authorities: string;
additionalInformation: string;
autoapprove: string;
scope:string;
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册