github-schema 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+
package/dist/index.cjs CHANGED
@@ -1,11 +1,20 @@
1
1
  'use strict';
2
2
 
3
- const graphqlTag = require('graphql-tag');
3
+ var graphqlTag = require('graphql-tag');
4
4
 
5
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
5
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
6
 
7
- const graphqlTag__default = /*#__PURE__*/_interopDefaultCompat(graphqlTag);
7
+ var graphqlTag__default = /*#__PURE__*/_interopDefault(graphqlTag);
8
8
 
9
+ // src/index.ts
9
10
 
11
+ // src/raw.ts
12
+ function gql(raw, ...keys) {
13
+ return keys.length === 0 ? raw[0] : String.raw({ raw }, ...keys);
14
+ }
10
15
 
11
- exports.gql = graphqlTag__default;
16
+ Object.defineProperty(exports, 'gqlTyped', {
17
+ enumerable: true,
18
+ get: function () { return graphqlTag__default.default; }
19
+ });
20
+ exports.gql = gql;