Skip to content

Commit

Permalink
feat(alias import): Pr changes
Browse files Browse the repository at this point in the history
Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
  • Loading branch information
salujajaskeerat committed Jul 2, 2024
1 parent 79390b4 commit 9a19b1a
Showing 1 changed file with 105 additions and 1 deletion.
106 changes: 105 additions & 1 deletion test/cto/aliasedImportResolved.json
Original file line number Diff line number Diff line change
@@ -1 +1,105 @@
{"$class":"[email protected]","models":[{"$class":"[email protected]","decorators":[],"namespace":"org.saluja","imports":[],"declarations":[{"$class":"[email protected]","name":"doc","isAbstract":false,"properties":[{"$class":"[email protected]","name":"name","isArray":false,"isOptional":false,"location":{"$class":"[email protected]","start":{"offset":35,"line":4,"column":2,"$class":"[email protected]"},"end":{"offset":49,"line":5,"column":1,"$class":"[email protected]"}}}],"location":{"$class":"[email protected]","start":{"offset":22,"line":3,"column":1,"$class":"[email protected]"},"end":{"offset":50,"line":5,"column":2,"$class":"[email protected]"}}}]},{"$class":"[email protected]","decorators":[],"namespace":"org.test","imports":[{"$class":"[email protected]","namespace":"org.saluja","types":["doc"],"aliasedTypes":[{"$class":"[email protected]","name":"doc","aliasedName":"d"}]}],"declarations":[{"$class":"[email protected]","name":"file","isAbstract":false,"properties":[],"location":{"$class":"[email protected]","start":{"offset":50,"line":5,"column":1,"$class":"[email protected]"},"end":{"offset":75,"line":6,"column":2,"$class":"[email protected]"}},"superType":{"$class":"[email protected]","name":"d","namespace":"org.saluja"}}]}]}
{
"$class": "[email protected]",
"models": [
{
"$class": "[email protected]",
"decorators": [],
"namespace": "org.saluja",
"imports": [],
"declarations": [
{
"$class": "[email protected]",
"name": "doc",
"isAbstract": false,
"properties": [
{
"$class": "[email protected]",
"name": "name",
"isArray": false,
"isOptional": false,
"location": {
"$class": "[email protected]",
"start": {
"offset": 35,
"line": 4,
"column": 2,
"$class": "[email protected]"
},
"end": {
"offset": 49,
"line": 5,
"column": 1,
"$class": "[email protected]"
}
}
}
],
"location": {
"$class": "[email protected]",
"start": {
"offset": 22,
"line": 3,
"column": 1,
"$class": "[email protected]"
},
"end": {
"offset": 50,
"line": 5,
"column": 2,
"$class": "[email protected]"
}
}
}
]
},
{
"$class": "[email protected]",
"decorators": [],
"namespace": "org.test",
"imports": [
{
"$class": "[email protected]",
"namespace": "org.saluja",
"types": [
"doc"
],
"aliasedTypes": [
{
"$class": "[email protected]",
"name": "doc",
"aliasedName": "d"
}
]
}
],
"declarations": [
{
"$class": "[email protected]",
"name": "file",
"isAbstract": false,
"properties": [],
"location": {
"$class": "[email protected]",
"start": {
"offset": 50,
"line": 5,
"column": 1,
"$class": "[email protected]"
},
"end": {
"offset": 75,
"line": 6,
"column": 2,
"$class": "[email protected]"
}
},
"superType": {
"$class": "[email protected]",
"name": "d",
"namespace": "org.saluja"
}
}
]
}
]
}

0 comments on commit 9a19b1a

Please sign in to comment.