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
|
// whether the response content is detailed
|
||||||
responseDetail: boolean;
|
responseDetail: boolean;
|
||||||
// whether to hide the node status
|
// whether to hide the node status
|
||||||
showNodeStatus: boolean;
|
showNodeStatus?: boolean;
|
||||||
// whether to show the complete quote
|
// whether to show the complete quote
|
||||||
showRawSource: boolean;
|
showRawSource?: boolean;
|
||||||
|
|
||||||
// response when request
|
// response when request
|
||||||
immediateResponse?: string;
|
immediateResponse?: string;
|
||||||
|
|||||||
@ -48,12 +48,10 @@ const OutLinkSchema = new Schema({
|
|||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
showNodeStatus: {
|
showNodeStatus: {
|
||||||
type: Boolean,
|
type: Boolean
|
||||||
default: false
|
|
||||||
},
|
},
|
||||||
showRawSource: {
|
showRawSource: {
|
||||||
type: Boolean,
|
type: Boolean
|
||||||
default: false
|
|
||||||
},
|
},
|
||||||
limit: {
|
limit: {
|
||||||
maxUsagePoints: {
|
maxUsagePoints: {
|
||||||
|
|||||||
@ -22,8 +22,8 @@ export const defaultApp: AppDetailType = {
|
|||||||
|
|
||||||
export const defaultOutLinkForm: OutLinkEditType = {
|
export const defaultOutLinkForm: OutLinkEditType = {
|
||||||
name: '',
|
name: '',
|
||||||
|
showNodeStatus: true,
|
||||||
responseDetail: false,
|
responseDetail: false,
|
||||||
showNodeStatus: false,
|
|
||||||
showRawSource: false,
|
showRawSource: false,
|
||||||
limit: {
|
limit: {
|
||||||
QPM: 100,
|
QPM: 100,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user