fix: fixed patent level and mapping status model
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
This commit is contained in:
+1
-1
@@ -5,12 +5,12 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
import { Router } from '@angular/router';
|
||||
import { PatentEntry } from '../../../api/model/patentEntry';
|
||||
import { KeywordPatentMatch } from '../../../api/model/keywordPatentMatch';
|
||||
import { KeywordPatentMappingStatus } from '../../../api/model/patentsByKeywordsResponse';
|
||||
import { LoadingComponent } from '../../../shared/ui/loading/loading.component';
|
||||
import {
|
||||
formatPatentDate,
|
||||
getPublicationStageLabel,
|
||||
} from '../../patent-detail/patent-detail.utils';
|
||||
import { KeywordPatentMappingStatus } from '../../../api';
|
||||
|
||||
type SourceFilter = 'all' | 'EPO' | 'USPTO';
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
import { KeywordPatentMappingStatus } from '../../api';
|
||||
import { KeywordEntryWithTopic } from '../../api/model/keywordEntryWithTopic';
|
||||
import { KeywordPatentMatch } from '../../api/model/keywordPatentMatch';
|
||||
import { KeywordPatentSearchItem } from '../../api/model/keywordPatentSearchItem';
|
||||
import {
|
||||
KeywordPatentMappingStatus,
|
||||
} from '../../api/model/patentsByKeywordsResponse';
|
||||
import {
|
||||
PatentKeywordEntry,
|
||||
SearchResultsPayload,
|
||||
@@ -11,8 +9,6 @@ import {
|
||||
|
||||
export const PATENTS_CACHE_KEY = 'keywords-patents-cache';
|
||||
|
||||
export type { KeywordPatentMappingStatus };
|
||||
|
||||
export interface PatentsCache {
|
||||
keywords: string[];
|
||||
matches: KeywordPatentMatch[];
|
||||
|
||||
+2
-4
@@ -6,10 +6,7 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
|
||||
import { KeywordsService } from '../../../../api/api/keywords.service';
|
||||
import { KeywordPatentMatch } from '../../../../api/model/keywordPatentMatch';
|
||||
import {
|
||||
KeywordPatentMappingStatus,
|
||||
PatentsByKeywordsResponse,
|
||||
} from '../../../../api/model/patentsByKeywordsResponse';
|
||||
import { PatentsByKeywordsResponse } from '../../../../api/model/patentsByKeywordsResponse';
|
||||
import {
|
||||
WeightMap,
|
||||
WeightSliderOption,
|
||||
@@ -28,6 +25,7 @@ import {
|
||||
writePatentsCache,
|
||||
} from '../../patent-search.utils';
|
||||
import { SearchResultsStateService } from '../search-results-state.service';
|
||||
import { KeywordPatentMappingStatus } from '../../../../api';
|
||||
|
||||
@Component({
|
||||
selector: 'app-patents-results',
|
||||
|
||||
Reference in New Issue
Block a user