Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ts-gql/tag

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-gql/tag - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

6

CHANGELOG.md
# @ts-gql/tag
## 0.4.0
### Minor Changes
- [`b83e180`](https://github.com/Thinkmill/ts-gql/commit/b83e180ea94cd7fb1d66d5c7835f333a5fcf56f5) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Rename some types
## 0.3.0

@@ -4,0 +10,0 @@

24

index.d.ts

@@ -5,5 +5,5 @@ import { DocumentNode } from "graphql";

type BaseTypedDocument = { document?: string; result: any };
export type BaseTypedDocument = { document?: string; result: any };
type BaseTypedQuery = BaseTypedDocument & {
export type BaseTypedQuery = BaseTypedDocument & {
type: "query";

@@ -13,3 +13,3 @@ variables: Record<string, any> | undefined;

type BaseTypedMutation = BaseTypedDocument & {
export type BaseTypedMutation = BaseTypedDocument & {
type: "mutation";

@@ -19,22 +19,26 @@ variables: Record<string, any> | undefined;

type BaseOperations = BaseTypedQuery | BaseTypedMutation;
export type BaseOperations = BaseTypedQuery | BaseTypedMutation;
type BaseTypedFragment = BaseTypedDocument & {
export type BaseTypedFragment = BaseTypedDocument & {
type: "fragment";
};
type BaseDocumentTypes = BaseOperations | BaseTypedFragment;
export type BaseDocumentTypes = BaseOperations | BaseTypedFragment;
type TypedDocumentNode<TypedDocument extends BaseDocumentTypes> = {
export type TypedDocumentNode<TypedDocument extends BaseDocumentTypes> = {
___type: TypedDocument;
};
type DocumentResult<
Node extends TypedDocumentNode<BaseDocumentTypes>
export type OperationData<
Node extends TypedDocumentNode<BaseOperations>
> = Node["___type"]["result"];
type DocumentVariables<
export type OperationVariables<
Node extends TypedDocumentNode<BaseOperations>
> = Node["___type"]["variables"];
export type FragmentData<
Node extends TypedDocumentNode<BaseTypedFragment>
> = Node["___type"]["result"];
interface GqlTag {

@@ -41,0 +45,0 @@ (

{
"name": "@ts-gql/tag",
"version": "0.3.0",
"version": "0.4.0",
"main": "dist/tag.cjs.js",

@@ -5,0 +5,0 @@ "module": "dist/tag.esm.js",

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