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"] }
}
}
})
}