suspend fun createInterfaceSpecification(authorizationContext: GropiusAuthorizationContext, input: CreateInterfaceSpecificationInput): InterfaceSpecification
Creates a new InterfaceSpecification based on the provided input Checks the authorization status
Return
the saved created InterfaceSpecification
Parameters
authorizationContext
used to check for the required permission
input
defines the InterfaceSpecification
suspend fun createInterfaceSpecification(component: Component, input: InterfaceSpecificationInput): InterfaceSpecification
Creates a new InterfaceSpecification based on the provided input on component Does not check the authorization status, does not save the created nodes Validates the input
Return
the created InterfaceSpecification
Parameters
component
the Component the created InterfaceSpecification is part of
input
defines the InterfaceSpecification