exec cue export
cmp stdout out/stdout

-- cue.mod/module.cue --
module: "module.test/foo"
language: version: "v0.9.0"

-- main.cue --
package p

import "module.test/foo/imported@v0"

items: [imported.List]
-- imported/imported.cue --
package imported

Namespace: "default"

List: [...{namespace: Namespace}]

List: [{name: "kube-api-server"}]
-- out/stdout --
{
    "items": [
        [
            {
                "namespace": "default",
                "name": "kube-api-server"
            }
        ]
    ]
}
