mirror of https://github.com/pulumi/pulumi.git
63 lines
1.1 KiB
JSON
63 lines
1.1 KiB
JSON
{
|
|
"name": "my8110",
|
|
"version": "0.0.1",
|
|
"functions": {
|
|
"my8110::exampleFunc": {
|
|
"inputs": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enums": {
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "#/types/my8110::MyEnum"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"types": {
|
|
"my8110::MyEnum": {
|
|
"type": "string",
|
|
"enum": [
|
|
{
|
|
"value": "one"
|
|
},
|
|
{
|
|
"value": "two"
|
|
}
|
|
]
|
|
},
|
|
"my8110::MyObj": {
|
|
"type": "object",
|
|
"properties": {
|
|
"a": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"language": {
|
|
"nodejs": {
|
|
"devDependencies": {
|
|
"@types/node": "ts4.3",
|
|
"ts-node": "latest"
|
|
},
|
|
"extraTypeScriptFiles": [
|
|
"compileCheck.ts"
|
|
]
|
|
},
|
|
"go": {
|
|
"generateExtraInputTypes": true,
|
|
"importBasePath": "regress-node-8110/my8110"
|
|
}
|
|
}
|
|
}
|