Skip to content

Commit 571cf98

Browse files
committed
Add new sources
1 parent 458228d commit 571cf98

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

libs/ingest/src/ingest.service.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ export class IngestService {
6161
'sourceListSearchGov',
6262
'sourceListSearchGovMil',
6363
'sourceListPublicInventory',
64+
'sourceListNonGovMil',
65+
'sourceListGovtUrls',
6466
// [SOURCE-ADD-POINT]
6567
// Add new source list here
6668
// e.g.
@@ -275,6 +277,14 @@ export class IngestService {
275277
sourceList.push('public_inventory');
276278
}
277279

280+
if (row.sourceListNonGovMil.toLowerCase() === 'true') {
281+
sourceList.push('non_govmil');
282+
}
283+
284+
if (row.sourceListGovtUrls.toLowerCase() === 'true') {
285+
sourceList.push('govt_urls');
286+
}
287+
278288
// [SOURCE-ADD-POINT]
279289
// Add new source list here
280290
// e.g.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ export interface SubdomainRow {
3232
sourceListSearchGov: string;
3333
sourceListSearchGovMil: string;
3434
sourceListPublicInventory: string;
35+
sourceListNonGovMil: string;
36+
sourceListGovtUrls: string;
3537
// [SOURCE-ADD-POINT]
3638
// Add new source list here
3739
// e.g.

0 commit comments

Comments
 (0)