Skip to content

Commit 336be23

Browse files
authored
Update GDPR annotations (#27242)
* Use TypeScriptCommonProperties and add projectInfo * Improve projectId field 1. Add quotes where missing. 2. Fix name, which was projectInfo by mistake. 3. Add an endpoint of "ProjectId".
1 parent 9e4e569 commit 336be23

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/server/editorServices.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ namespace ts.server {
4646

4747
/* __GDPR__
4848
"projectInfo" : {
49+
"${include}": ["${TypeScriptCommonProperties}"],
50+
"projectId": { "classification": "EndUserPseudonymizedInformation", "purpose": "FeatureInsight", "endpoint": "ProjectId" },
4951
"fileStats": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
5052
"compilerOptions": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
5153
"extends": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },

src/server/protocol.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,6 +2739,7 @@ namespace ts.server.protocol {
27392739

27402740
/* __GDPR__
27412741
"typingsinstalled" : {
2742+
"${include}": ["${TypeScriptCommonProperties}"],
27422743
"installedPackages": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
27432744
"installSuccess": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
27442745
"typingsInstallerVersion": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }

0 commit comments

Comments
 (0)