Skip to content

Commit

Permalink
Rename ResourceAssociations type
Browse files Browse the repository at this point in the history
  • Loading branch information
deep-quality-dev committed Nov 17, 2022
1 parent e6f010d commit 36c083a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/api/dataStoreApi/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface DataStoreDomain {
buyNow: BuyNow;
locked: boolean; // Older domains may not have these properties
lockedBy: string;
resources: MappingResourceAssociations;
resources: ResourceAssociations;
}

export interface BuyNowPriceListing {
Expand All @@ -60,7 +60,7 @@ export interface ResourceAssociation extends ResourceRegistry {
resourceId: string;
}

export interface MappingResourceAssociations {
export interface ResourceAssociations {
[resourceType: string]: ResourceAssociation;
}

Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { Bid, BuyNowListing } from "./zAuction";
import {
BuyNowPriceListing,
DomainSortOptions,
MappingResourceAssociations,
ResourceAssociation,
ResourceAssociations,
ResourceRegistry,
} from "./api/dataStoreApi/types";

Expand Down Expand Up @@ -812,7 +812,7 @@ export interface Domain {
created?: Created;
isRoot?: boolean;
buyNow?: BuyNowPriceListing;
resources?: MappingResourceAssociations;
resources?: ResourceAssociations;
}

export interface DomainMetadata {
Expand Down

0 comments on commit 36c083a

Please sign in to comment.