diff --git a/src/model/ChainObject.ts b/src/model/ChainObject.ts index 6f42173..e58865d 100644 --- a/src/model/ChainObject.ts +++ b/src/model/ChainObject.ts @@ -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; diff --git a/src/releaser/algolia/index.ts b/src/releaser/algolia/index.ts index c5211a8..f757aec 100644 --- a/src/releaser/algolia/index.ts +++ b/src/releaser/algolia/index.ts @@ -10,6 +10,7 @@ declare interface IndexedAsset { objectID: string; address?: string; networkCode: string; + networkName: string; type: ObjectType; name: string; symbol: string; @@ -20,6 +21,7 @@ declare interface IndexedAsset { function transform({ id: objectID, networkCode, + networkName, type, name, symbol, @@ -33,6 +35,7 @@ function transform({ return { objectID, networkCode, + networkName, type, name, symbol,