Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat): ir now adds a TypeReference for container types that makes it easier to generate snippets + autogenerated type examples #4038

Merged
merged 15 commits into from
Jul 17, 2024
10 changes: 10 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -126,7 +126,8 @@ exports[`dependencies correctly incorporates dependencies 1`] = `
}
},
"referencedTypes": [],
"examples": [],
"userProvidedExamples": [],
"autogeneratedExamples": [],
"availability": null,
"docs": null
},
@@ -222,7 +223,8 @@ exports[`dependencies correctly incorporates dependencies 1`] = `
}
},
"referencedTypes": [],
"examples": [],
"userProvidedExamples": [],
"autogeneratedExamples": [],
"availability": null,
"docs": null
},
@@ -357,7 +359,8 @@ exports[`dependencies correctly incorporates dependencies 1`] = `
}
},
"referencedTypes": [],
"examples": [],
"userProvidedExamples": [],
"autogeneratedExamples": [],
"availability": null,
"docs": null
}
@@ -843,4 +846,4 @@ exports[`dependencies correctly incorporates dependencies 1`] = `
}"
`;

exports[`dependencies file dependencies 1`] = `2805341`;
exports[`dependencies file dependencies 1`] = `2968379`;
929 changes: 865 additions & 64 deletions packages/cli/ete-tests/src/tests/ir/__snapshots__/ir.test.ts.snap

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -3765,9 +3765,9 @@ exports[`generate IR 1`] = `
},
"types": {
"type_imdb:CreateMovieRequest": {
"autogeneratedExamples": [],
"availability": null,
"docs": null,
"examples": [],
"name": {
"fernFilepath": {
"allParts": [
@@ -3915,11 +3915,12 @@ exports[`generate IR 1`] = `
},
],
},
"userProvidedExamples": [],
},
"type_imdb:Movie": {
"autogeneratedExamples": [],
"availability": null,
"docs": null,
"examples": [],
"name": {
"fernFilepath": {
"allParts": [
@@ -4161,11 +4162,12 @@ exports[`generate IR 1`] = `
},
],
},
"userProvidedExamples": [],
},
"type_imdb:MovieId": {
"autogeneratedExamples": [],
"availability": null,
"docs": "The unique identifier for a Movie in the database",
"examples": [],
"name": {
"fernFilepath": {
"allParts": [
@@ -4257,11 +4259,12 @@ exports[`generate IR 1`] = `
},
},
},
"userProvidedExamples": [],
},
"type_webhooks:User": {
"autogeneratedExamples": [],
"availability": null,
"docs": null,
"examples": [],
"name": {
"fernFilepath": {
"allParts": [
@@ -4372,6 +4375,7 @@ exports[`generate IR 1`] = `
},
],
},
"userProvidedExamples": [],
},
},
"variables": [],
Loading