Repository navigation
Generate content mapper types from json schema #65565
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
Merged
Gabriela Araujo Britto (gabritto)
merged 8 commits into
main
from
gabritto/gen-content-mapper
Nov 19, 2026
+1,510
−445
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
663af1b
generate content mapper Go types from json schema
gabritto a644480
Merge branch 'main' into gabritto/gen-content-mapper
gabritto 14d1545
generate marshalling stuff
gabritto 140b661
use schema as base for span map types too
gabritto b6a6b09
Merge branch 'main' into gabritto/gen-content-mapper
gabritto 9ef4cdd
code review
gabritto c6ef196
Merge branch 'main' into gabritto/gen-content-mapper
gabritto c3dbbcd
CR: watch content mapper schema file
gabritto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,26 @@ | ||
| // Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/spanmap/spanmap.go. DO NOT EDIT. | ||
| // Code generated by tools/scripts/tsc/generate-enums.ts from packages/typescript/schemas/contentmapper.schema.json. DO NOT EDIT. | ||
|
|
||
| export declare enum SpanMapFeature { | ||
| Hover = 1 << 0, | ||
| SignatureHelp = 1 << 1, | ||
| Completion = 1 << 2, | ||
| Definition = 1 << 3, | ||
| TypeDefinition = 1 << 4, | ||
| Implementation = 1 << 5, | ||
| References = 1 << 6, | ||
| DocumentHighlights = 1 << 7, | ||
| Rename = 1 << 8, | ||
| CallHierarchy = 1 << 9, | ||
| CodeActions = 1 << 10, | ||
| Formatting = 1 << 11, | ||
| InlayHints = 1 << 12, | ||
| SemanticTokens = 1 << 13, | ||
| FoldingRanges = 1 << 14, | ||
| SelectionRanges = 1 << 15, | ||
| LinkedEditing = 1 << 16, | ||
| AutoInsert = 1 << 17, | ||
| DocumentSymbols = 1 << 18, | ||
| CodeLens = 1 << 19, | ||
| Hover = 1, | ||
| SignatureHelp = 2, | ||
| Completion = 4, | ||
| Definition = 8, | ||
| TypeDefinition = 16, | ||
| Implementation = 32, | ||
| References = 64, | ||
| DocumentHighlights = 128, | ||
| Rename = 256, | ||
| CallHierarchy = 512, | ||
| CodeActions = 1024, | ||
| Formatting = 2048, | ||
| InlayHints = 4096, | ||
| SemanticTokens = 8192, | ||
| FoldingRanges = 16384, | ||
| SelectionRanges = 32768, | ||
| LinkedEditing = 65536, | ||
| AutoInsert = 131072, | ||
| DocumentSymbols = 262144, | ||
| CodeLens = 524288, | ||
| None = 0, | ||
| All = (CodeLens << 1) - 1, | ||
| All = 1048575, | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.