Last active
May 2, 2024 22:44
-
-
Save stack72/7400abf9c59998b2c06660db74016259 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function main() { | |
const arnProp = new PropBuilder() | |
.setName("ARN") | |
.setKind("string") | |
.setWidget(new PropWidgetDefinitionBuilder().setKind("text") | |
.build()) | |
.build(); | |
const arnOutputSocket = new SocketDefinitionBuilder() | |
.setName("ARN") | |
.setArity("many") | |
.setValueFrom(new ValueFromBuilder() | |
.setKind("prop") | |
.setPropPath(["root", "domain", "ARN"]) | |
.build()) | |
.build(); | |
return new AssetBuilder() | |
.addProp(arnProp) | |
.addOutputSocket(arnOutputSocket) | |
.build() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment