Skip to content

Commit 3254358

Browse files
authored
Update GDPR comment formatting (#46585)
...so that they are picked up properly by the tooling.
1 parent 9cdbb72 commit 3254358

File tree

2 files changed

+24
-26
lines changed

2 files changed

+24
-26
lines changed

src/server/editorServices.ts

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,23 @@ namespace ts.server {
4949
readonly data: ProjectInfoTelemetryEventData;
5050
}
5151

52-
/*
53-
* __GDPR__
54-
* "projectInfo" : {
55-
* "${include}": ["${TypeScriptCommonProperties}"],
56-
* "projectId": { "classification": "EndUserPseudonymizedInformation", "purpose": "FeatureInsight", "endpoint": "ProjectId" },
57-
* "fileStats": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
58-
* "compilerOptions": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
59-
* "extends": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
60-
* "files": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
61-
* "include": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
62-
* "exclude": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
63-
* "compileOnSave": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
64-
* "typeAcquisition": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
65-
* "configFileName": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
66-
* "projectType": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
67-
* "languageServiceEnabled": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
68-
* "version": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
69-
* }
52+
/* __GDPR__
53+
"projectInfo" : {
54+
"${include}": ["${TypeScriptCommonProperties}"],
55+
"projectId": { "classification": "EndUserPseudonymizedInformation", "purpose": "FeatureInsight", "endpoint": "ProjectId" },
56+
"fileStats": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
57+
"compilerOptions": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
58+
"extends": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
59+
"files": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
60+
"include": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
61+
"exclude": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
62+
"compileOnSave": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
63+
"typeAcquisition": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
64+
"configFileName": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
65+
"projectType": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
66+
"languageServiceEnabled": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
67+
"version": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
68+
}
7069
*/
7170
export interface ProjectInfoTelemetryEventData {
7271
/** Cryptographically secure hash of project file location. */

src/server/protocol.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3199,14 +3199,13 @@ namespace ts.server.protocol {
31993199
payload: TypingsInstalledTelemetryEventPayload;
32003200
}
32013201

3202-
/*
3203-
* __GDPR__
3204-
* "typingsinstalled" : {
3205-
* "${include}": ["${TypeScriptCommonProperties}"],
3206-
* "installedPackages": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
3207-
* "installSuccess": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
3208-
* "typingsInstallerVersion": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
3209-
* }
3202+
/* __GDPR__
3203+
"typingsinstalled" : {
3204+
"${include}": ["${TypeScriptCommonProperties}"],
3205+
"installedPackages": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
3206+
"installSuccess": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
3207+
"typingsInstallerVersion": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
3208+
}
32103209
*/
32113210
export interface TypingsInstalledTelemetryEventPayload {
32123211
/**

0 commit comments

Comments
 (0)