Skip to content

Commit

Permalink
fix(quoteSummary): misc interface fixes (fixes #295)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Sep 24, 2021
1 parent 083826c commit 5657df7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 6 additions & 2 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3579,6 +3579,9 @@
"industry": {
"type": "string"
},
"industrySymbol": {
"type": "string"
},
"sector": {
"type": "string"
},
Expand Down Expand Up @@ -5881,8 +5884,7 @@
"type",
"title",
"edgarUrl",
"maxAge",
"url"
"maxAge"
],
"additionalProperties": false
},
Expand Down Expand Up @@ -6401,6 +6403,7 @@
"Long-Term Buy",
"Market Outperform",
"Market Perform",
"Mixed",
"Negative",
"Neutral",
"In-Line",
Expand All @@ -6415,6 +6418,7 @@
"Sector Weight",
"Sell",
"Strong Buy",
"Top Pick",
"Underperform",
"Underperformer",
"Underweight"
Expand Down
5 changes: 4 additions & 1 deletion src/modules/quoteSummary-iface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export interface AssetProfile {
fax?: string;
website?: string;
industry?: string;
industrySymbol?: string;
sector?: string;
longBusinessSummary?: string;
fullTimeEmployees?: number;
Expand Down Expand Up @@ -728,7 +729,7 @@ export interface Filing {
title: string;
edgarUrl: string;
maxAge: number;
url: string;
url?: string;
}

export enum Type {
Expand Down Expand Up @@ -917,6 +918,7 @@ export enum Grade {
LongTermBuy = "Long-Term Buy",
MarketOutperform = "Market Outperform",
MarketPerform = "Market Perform",
Mixed = "Mixed",
Negative = "Negative",
Neutral = "Neutral",
InLine = "In-Line",
Expand All @@ -931,6 +933,7 @@ export enum Grade {
SectorWeight = "Sector Weight",
Sell = "Sell",
StrongBuy = "Strong Buy",
TopPick = "Top Pick",
Underperform = "Underperform",
Underperformer = "Underperformer",
Underweight = "Underweight",
Expand Down

0 comments on commit 5657df7

Please sign in to comment.