@mysten/sui
Version:
Sui TypeScript API
18 lines (12 loc) • 521 B
text/typescript
// Copyright (c) Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
import { initGraphQLTada } from 'gql.tada';
import type { introspection } from '../generated/tada-env.js';
import type { CustomScalars } from '../types.js';
export type * 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;
}>();