From 336be239a9c6cd3ed58ad17e122d70b28ddfbaa4 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Fri, 21 Sep 2018 10:55:20 -0700 Subject: [PATCH] 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". --- src/server/editorServices.ts | 2 ++ src/server/protocol.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 74072bfd2e6..293c09b3b1c 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -46,6 +46,8 @@ namespace ts.server { /* __GDPR__ "projectInfo" : { + "${include}": ["${TypeScriptCommonProperties}"], + "projectId": { "classification": "EndUserPseudonymizedInformation", "purpose": "FeatureInsight", "endpoint": "ProjectId" }, "fileStats": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "compilerOptions": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "extends": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }, diff --git a/src/server/protocol.ts b/src/server/protocol.ts index 45136c86cee..68c855eecca 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -2739,6 +2739,7 @@ namespace ts.server.protocol { /* __GDPR__ "typingsinstalled" : { + "${include}": ["${TypeScriptCommonProperties}"], "installedPackages": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" }, "installSuccess": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "typingsInstallerVersion": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }