Skip to content

Commit f0166c1

Browse files
Merge pull request #481 from GSA/add-new-source-list-comments
Revert changes and add comments for future source list additions in SubdomainRow interfa…
2 parents 24b3c2e + 2f774d3 commit f0166c1

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

libs/ingest/src/ingest.service.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ export class IngestService {
6060
'sourceListUsagovClicksMil',
6161
'sourceListSearchGov',
6262
'sourceListSearchGovMil',
63-
'sourceListPublicInventory',
63+
// [SOURCE-ADD-POINT]
64+
// Add new source list here
65+
// e.g.
66+
// 'sourceListNewList',
6467
'filtered',
6568
'pageviews',
6669
'visits',
@@ -247,9 +250,12 @@ export class IngestService {
247250
sourceList.push('dod_2025');
248251
}
249252

250-
if (row.sourceListPublicInventory.toLowerCase() === 'true') {
251-
sourceList.push('public_inventory');
252-
}
253+
// [SOURCE-ADD-POINT]
254+
// Add new source list here
255+
// e.g.
256+
// if (row.sourceListNewSource.toLowerCase() === 'true') {
257+
// sourceList.push('new_source');
258+
// }
253259

254260
return sourceList.join(',');
255261
}

libs/ingest/src/subdomain-row.interface.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ export interface SubdomainRow {
2626
sourceListGpoFdlp: string;
2727
sourceListCisa: string;
2828
sourceListDod2025: string;
29-
sourceListPublicInventory: string;
29+
// [SOURCE-ADD-POINT]
30+
// Add new source list here
31+
// e.g.
32+
// sourceListNewList: string;
3033
filtered: string;
3134
pageviews: number;
3235
visits: number;

0 commit comments

Comments
 (0)