perf: outlink default value (#3134)
This commit is contained in:
parent
211061d122
commit
f68ae33cd8
4
packages/global/support/outLink/type.d.ts
vendored
4
packages/global/support/outLink/type.d.ts
vendored
@ -52,9 +52,9 @@ export type OutLinkSchema<T extends OutlinkAppType = undefined> = {
|
||||
// whether the response content is detailed
|
||||
responseDetail: boolean;
|
||||
// whether to hide the node status
|
||||
showNodeStatus: boolean;
|
||||
showNodeStatus?: boolean;
|
||||
// whether to show the complete quote
|
||||
showRawSource: boolean;
|
||||
showRawSource?: boolean;
|
||||
|
||||
// response when request
|
||||
immediateResponse?: string;
|
||||
|
||||
@ -48,12 +48,10 @@ const OutLinkSchema = new Schema({
|
||||
default: false
|
||||
},
|
||||
showNodeStatus: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
type: Boolean
|
||||
},
|
||||
showRawSource: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
type: Boolean
|
||||
},
|
||||
limit: {
|
||||
maxUsagePoints: {
|
||||
|
||||
@ -22,8 +22,8 @@ export const defaultApp: AppDetailType = {
|
||||
|
||||
export const defaultOutLinkForm: OutLinkEditType = {
|
||||
name: '',
|
||||
showNodeStatus: true,
|
||||
responseDetail: false,
|
||||
showNodeStatus: false,
|
||||
showRawSource: false,
|
||||
limit: {
|
||||
QPM: 100,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user