Skip to content

Commit 278afc5

Browse files
committed
Add comments for future source list additions in SubdomainRow interface and IngestService
1 parent 24b3c2e commit 278afc5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

libs/ingest/src/ingest.service.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,13 @@ export class IngestService {
251251
sourceList.push('public_inventory');
252252
}
253253

254+
// [SOURCE-ADD-POINT]
255+
// Add new source list here
256+
// e.g.
257+
// if (row.sourceListNewSource.toLowerCase() === 'true') {
258+
// sourceList.push('new_source');
259+
// }
260+
254261
return sourceList.join(',');
255262
}
256263
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ export interface SubdomainRow {
2727
sourceListCisa: string;
2828
sourceListDod2025: string;
2929
sourceListPublicInventory: string;
30+
// [SOURCE-ADD-POINT]
31+
// Add new source list here
32+
// e.g.
33+
// sourceListNewList: string;
3034
filtered: string;
3135
pageviews: number;
3236
visits: number;

0 commit comments

Comments
 (0)