- Preparing search index...
- The search index is not available
sdk-v2
- tagged<T>(key: keyof MetadataStorage<{
__meta: "markets";
categories: undefined | ({ name: string; img?: string | undefined; ticker?: string | undefined; color?: string | undefined; })[];
confidentialId: undefined | string;
description: string;
img: undefined | string;
question: string;
scalarType: undefined | "number" | "date";
slug: string;
tags: undefined | string[];
}>, storage: Storage<T, CID<unknown, number, number, Version>>): Storage<any, TaggedID<any>>
-
Parameters
-
key: keyof MetadataStorage<{
__meta: "markets";
categories: undefined | ({ name: string; img?: string | undefined; ticker?: string | undefined; color?: string | undefined; })[];
confidentialId: undefined | string;
description: string;
img: undefined | string;
question: string;
scalarType: undefined | "number" | "date";
slug: string;
tags: undefined | string[];
}>
-
storage: Storage<T, CID<unknown, number, number, Version>>
Returns Storage<any, TaggedID<any>>
Utility to create a tagged metadata storage.
Returns
Storage<any, TaggedID>