Socket
Socket
Sign inDemoInstall

gql.tada

Package Overview
Dependencies
Maintainers
1
Versions
229
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gql.tada - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0-beta.2

20

dist/gql-tada.d.ts

@@ -1402,5 +1402,4 @@ import {

* @example
*
* ```
* import { myIntrospection } from './myIntrospection';
* import type { myIntrospection } from './myIntrospection';
*

@@ -1437,3 +1436,2 @@ * declare module 'gql.tada' {

* @example
*
* ```

@@ -1469,2 +1467,6 @@ * import { graphql } from 'gql.tada';

}
type schemaOfConfig<Setup extends AbstractSetupSchema> = mapIntrospection<
matchOr<IntrospectionQuery, Setup['introspection'], never>,
matchOr<ScalarsLike, Setup['scalars'], {}>
>;
/** Setup function to create a typed `graphql` document function with.

@@ -1481,6 +1483,5 @@ *

* @example
*
* ```
* import { initGraphQLTada } from 'gql.tada';
* import { myIntrospection } from './myIntrospection';
* import type { myIntrospection } from './myIntrospection';
*

@@ -1499,6 +1500,3 @@ * export const graphql = initGraphQLTada<{

declare function initGraphQLTada<const Setup extends AbstractSetupSchema>(): GraphQLTadaAPI<
mapIntrospection<
matchOr<IntrospectionQuery, Setup['introspection'], never>,
matchOr<ScalarsLike, Setup['scalars'], {}>
>
schemaOfConfig<Setup>
>;

@@ -1586,3 +1584,2 @@ /** Alias to a GraphQL parse function returning an exact document type.

* @example
*
* ```

@@ -1643,3 +1640,2 @@ * import { FragmentOf, graphql, readFragment } from 'gql.tada';

* @example
*
* ```

@@ -1685,3 +1681,3 @@ * import { FragmentOf, graphql, readFragment } from 'gql.tada';

): fragmentOfTypeRec<Document> extends Fragment ? unknown : mirrorFragmentTypeRec<Fragment, Data>;
declare const graphql: GraphQLTadaAPI<mapIntrospection<never, {}>>;
declare const graphql: GraphQLTadaAPI<schemaOfConfig<setupSchema>>;

@@ -1688,0 +1684,0 @@ export {

2

package.json
{
"name": "gql.tada",
"description": "The spec-compliant & magical GraphQL query language engine in the TypeScript type system",
"version": "1.0.0-beta.1",
"version": "1.0.0-beta.2",
"author": "0no.co <hi@0no.co>",

@@ -6,0 +6,0 @@ "source": "./src/index.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc