Skip to content

Commit

Permalink
Add networkName to search object
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Mar 14, 2023
1 parent d9fe734 commit 58985ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/model/ChainObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type ObjectType = 'network' | 'asset';
export abstract class ChainObject extends RepoObject {
id: string;
networkCode: string;
networkName: string;
active: boolean;
color: string | null;
config: Config | null;
Expand Down
3 changes: 3 additions & 0 deletions src/releaser/algolia/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ declare interface IndexedAsset {
objectID: string;
address?: string;
networkCode: string;
networkName: string;
type: ObjectType;
name: string;
symbol: string;
Expand All @@ -20,6 +21,7 @@ declare interface IndexedAsset {
function transform({
id: objectID,
networkCode,
networkName,
type,
name,
symbol,
Expand All @@ -33,6 +35,7 @@ function transform({
return {
objectID,
networkCode,
networkName,
type,
name,
symbol,
Expand Down

0 comments on commit 58985ac

Please sign in to comment.