@mysten/sui
Version:
Sui TypeScript API(Work in Progress)
18 lines (12 loc) • 532 B
text/typescript
// Copyright (c) Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
import { initGraphQLTada } from 'gql.tada';
import type { introspection } from '../../generated/latest/tada-env.js';
import type { CustomScalars } from '../../types.js';
export * from '../../types.js';
export type { FragmentOf, ResultOf, VariablesOf, TadaDocumentNode } from 'gql.tada';
export { readFragment, maskFragments } from 'gql.tada';
export const graphql = initGraphQLTada<{
introspection: typeof introspection;
scalars: CustomScalars;
}>();