Skip to content

project.object.visibility

3 functions / 0 types

Index

FunctionDescription
getGet the ProjectVisibilitySchema of the given ProjectNodeSchema if one exists
removeRemove the ProjectVisibilitySchema of the given ProjectNodeSchema if one exists
setAdd a ProjectVisibilitySchema to the given ProjectNodeSchema

get

get(args: { node: ProjectObjectProjectNode }, transactionId?: string): Promise<ProjectObjectProjectVisibility | undefined>

Get the ProjectVisibilitySchema of the given ProjectNodeSchema if one exists

Returns Promise<ProjectObjectProjectVisibility | undefined>.

node : ProjectObjectProjectNode

ProjectNodeSchema to get the ProjectVisibilitySchema of

transactionId optional : string

remove

remove(args: { node: ProjectObjectProjectNode }, transactionId?: string): Promise<ProjectObjectProjectVisibility | undefined>

Remove the ProjectVisibilitySchema of the given ProjectNodeSchema if one exists

Returns the old ProjectVisibilitySchema if available

Returns Promise<ProjectObjectProjectVisibility | undefined>.

node : ProjectObjectProjectNode

ProjectNodeSchema to remove the ProjectVisibilitySchema of

transactionId optional : string

set

set(args: { node: ProjectObjectProjectNode; visibility: ProjectObjectProjectVisibility }, transactionId?: string): Promise<void>

Add a ProjectVisibilitySchema to the given ProjectNodeSchema

Returns Promise<void>.

node : ProjectObjectProjectNode

ProjectNodeSchema to change the ProjectVisibilitySchema of

visibility : ProjectObjectProjectVisibility

The new ProjectVisibilitySchema

transactionId optional : string