@ts-gql/tag
Advanced tools
Comparing version 0.1.0 to 0.2.0
# @ts-gql/tag | ||
## 0.1.0 | ||
## 0.2.0 | ||
### Minor Changes | ||
- [`8485b1a`](https://github.com/Thinkmill/ts-gql/commit/8485b1a28228feea836d076cc7dd1a0691414248) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Remove -with-required-variables types | ||
## 0.1.0 | ||
### Minor Changes | ||
- [`b444283`](https://github.com/Thinkmill/ts-gql/commit/b44428353e6e94f7df60b8ffc409b44b6fbca1ca) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Initial release |
@@ -17,23 +17,4 @@ import { DocumentNode } from "graphql"; | ||
// we have separate types for operations with _required_ | ||
// variables because we want to be able to discriminate between | ||
// operations that require variables and those that don't | ||
// so that when you execute an operation, we can determine whether | ||
// there is at least one variable that you must pass or not | ||
type BaseTypedQueryWithRequiredVariables = BaseTypedDocument & { | ||
type: "query-with-required-variables"; | ||
variables: Record<string, any>; | ||
}; | ||
type BaseOperations = BaseTypedQuery | BaseTypedMutation; | ||
type BaseTypedMutationWithRequiredVariables = BaseTypedDocument & { | ||
type: "mutation-with-required-variables"; | ||
variables: Record<string, any>; | ||
}; | ||
type BaseOperations = | ||
| BaseTypedQuery | ||
| BaseTypedMutation | ||
| BaseTypedQueryWithRequiredVariables | ||
| BaseTypedMutationWithRequiredVariables; | ||
type BaseTypedFragment = BaseTypedDocument & { | ||
@@ -40,0 +21,0 @@ type: "fragment"; |
{ | ||
"name": "@ts-gql/tag", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"main": "dist/tag.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/tag.esm.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4977
94