UBERF-7996 Hide github project attributes (#6444)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2024-08-29 23:50:27 +07:00
committed by GitHub
parent 387aecd12e
commit 699e553e83
2 changed files with 10 additions and 2 deletions
@@ -355,25 +355,31 @@ export class TGithubAuthentication extends TPreference implements GithubAuthenti
export class TGithubProject extends TProject implements GithubProject {
@Prop(TypeRef(github.class.GithubIntegration), getEmbeddedLabel('Integration'))
@ReadOnly()
@Hidden()
integration!: Ref<GithubIntegration>
@Prop(ArrOf(TypeRef(github.class.GithubIntegrationRepository)), getEmbeddedLabel('Repositories'))
@ReadOnly()
@Hidden()
repositories!: Ref<GithubIntegrationRepository>[]
@Prop(TypeString(), getEmbeddedLabel('NodeID'))
@ReadOnly()
@Hidden()
projectNodeId!: string
@Prop(TypeNumber(), getEmbeddedLabel('Number'))
@ReadOnly()
@Hidden()
projectNumber!: number
@Prop(TypeRef(core.class.Class), getEmbeddedLabel('Attribute Class'))
@ReadOnly()
@Hidden()
mixinClass!: Ref<Class<GithubIssue>>
@Prop(ArrOf(TypeRecord()), getEmbeddedLabel('Field mappings'))
@Hidden()
// Mapping of all fields in this project.
mappings!: GithubFieldMapping[]
}