Options
All
  • Public
  • Public/Protected
  • All
Menu

Module mocks

Index

Variables

Const arweaveReplyMock

arweaveReplyMock: { animation_hash: null; animation_url: null; category: string; copies: number; description: string; document: null; document_hash: null; external_url: string; extra: never[]; lock: null; media: string; media_hash: string; royalty: { mintbase.testnet: number }; royalty_perc: number; split_revenue: null; store: string; tags: string[]; title: string; type: string; visibility: string; youtube_url: null } = ...

Type declaration

  • animation_hash: null
  • animation_url: null
  • category: string
  • copies: number
  • description: string
  • document: null
  • document_hash: null
  • external_url: string
  • extra: never[]
  • lock: null
  • media: string
  • media_hash: string
  • royalty: { mintbase.testnet: number }
    • mintbase.testnet: number
  • royalty_perc: number
  • split_revenue: null
  • store: string
  • tags: string[]
  • title: string
  • type: string
  • visibility: string
  • youtube_url: null

Const fetchMarketplaceReplyMock

fetchMarketplaceReplyMock: { createdAt: string; groupId: string; id: string; metadata: { animation_hash: null; animation_url: null; category: string; copies: number; description: string; document: null; document_hash: null; external_url: string; extra: never[]; lock: null; media: string; media_hash: string; royalty: { mintbase.testnet: number }; royalty_perc: number; split_revenue: null; store: string; tags: string[]; title: string; type: string; visibility: string; youtube_url: null }; ownerId: string; price: number; token: { royaltys: { account: string; id: string; txId: string }[]; splits: { account: string; id: string; txId: string }[]; thing: { id: string; metaId: string; store: { baseUri: string } } } }[] = ...

Const marketplaceAPIResponseMock

marketplaceAPIResponseMock: { list: { createdAt: string; groupId: string; id: string; ownerId: string; price: number; token: { royaltys: { account: string; id: string; txId: string }[]; splits: { account: string; id: string; txId: string }[]; thing: { id: string; metaId: string; store: { baseUri: string } } } }[] } = ...

Type declaration

  • list: { createdAt: string; groupId: string; id: string; ownerId: string; price: number; token: { royaltys: { account: string; id: string; txId: string }[]; splits: { account: string; id: string; txId: string }[]; thing: { id: string; metaId: string; store: { baseUri: string } } } }[]

Const thingByIdMock

thingByIdMock: { thing: { id: string; memo: string; metaId: string; store: { baseUri: string; owner: string }; storeId: string; tokens: { id: string; ownerId: string }[] }[] } = ...

Type declaration

  • thing: { id: string; memo: string; metaId: string; store: { baseUri: string; owner: string }; storeId: string; tokens: { id: string; ownerId: string }[] }[]

Generated using TypeDoc