- Preparing search index...
- The search index is not available
sdk-v2
- sdk<C, MS>(context: C): Sdk<C, MS>
-
Type Parameters
-
-
MS extends 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[];
}, MS> = 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[];
}>
Returns Sdk<C, MS>
Utility for creating a new SDK.
Generic
C extends Context
Generic
MS extends MetadataStorage = MetadataStorage
Returns
Sdk<C, MS>