Skip to main content

setAppProperties

setAppProperties can set some properties of the application. Currently, only displayConditions can be used.

displayConditions only applies to team extension points.

Usage

import { setAppProperties } from '@giteeteam/apps-api';

const set = async() => {
// This means that the test-plan extension point will only be displayed when the workspace key is not "A12" or "BIG"
await setAppProperties({
displayConditions: {
"test-plan": {
"not": { "workspaceKey":["A12","BIG"] }
}
}
})
}

Contact us

Mail:

client@oschina.cn

Mobile:

+86 133-5294-7997

+86 136-7025-2304

+86 181-2418-5312

+86 185-0387-0265

Address:

22nd Floor, Cloud Technology Building, Xili Street, Nanshan District, Shenzhen

5th floor, Shoukai Plaza, Huilongguan East Avenue, Changping District, Beijing

Consultant

image

Follow Us

English
Copyright ©2025 北京奥思研工智能科技有限公司京ICP备2025119063号