Function tagged

  • Utility to create a tagged metadata storage.

    Returns

    Storage<any, TaggedID>

    Type Parameters

    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[];
      }>

      keyof MetadataStorage

    • storage: Storage<T, CID<unknown, number, number, Version>>

      Storage<T, CID>

    Returns Storage<any, TaggedID<any>>

Generated using TypeDoc