@graphitation/supermassive 1.0.0 → 1.1.1
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.
- package/.eslintcache +1 -0
- package/CHANGELOG.md +18 -2
- package/lib/bin/supermassive.d.ts.map +1 -1
- package/lib/bin/supermassive.js +48 -4
- package/lib/bin/supermassive.mjs +48 -4
- package/lib/codegen/context/expect.d.ts +1 -0
- package/lib/codegen/context/expect.d.ts.map +1 -0
- package/lib/codegen/context/expect.js +0 -0
- package/lib/codegen/context/expect.mjs +0 -0
- package/lib/codegen/context/import.d.ts +5 -0
- package/lib/codegen/context/import.d.ts.map +1 -0
- package/lib/codegen/context/import.js +55 -0
- package/lib/codegen/context/import.mjs +37 -0
- package/lib/codegen/context/index.d.ts +52 -0
- package/lib/codegen/context/index.d.ts.map +1 -0
- package/lib/codegen/context/index.js +253 -0
- package/lib/codegen/context/index.mjs +242 -0
- package/lib/codegen/context/model.d.ts +5 -0
- package/lib/codegen/context/model.d.ts.map +1 -0
- package/lib/codegen/context/model.js +53 -0
- package/lib/codegen/context/model.mjs +37 -0
- package/lib/codegen/context/utilities.d.ts +2 -0
- package/lib/codegen/context/utilities.d.ts.map +1 -0
- package/lib/codegen/context/utilities.js +26 -0
- package/lib/codegen/context/utilities.mjs +8 -0
- package/lib/codegen/index.d.ts +7 -0
- package/lib/codegen/index.d.ts.map +1 -0
- package/lib/codegen/index.js +41 -0
- package/lib/codegen/index.mjs +23 -0
- package/lib/codegen/models.d.ts +5 -0
- package/lib/codegen/models.d.ts.map +1 -0
- package/lib/codegen/models.js +159 -0
- package/lib/codegen/models.mjs +142 -0
- package/lib/codegen/resolvers.d.ts +5 -0
- package/lib/codegen/resolvers.d.ts.map +1 -0
- package/lib/codegen/resolvers.js +155 -0
- package/lib/codegen/resolvers.mjs +143 -0
- package/lib/codegen/typedVisitor.d.ts +57 -0
- package/lib/codegen/typedVisitor.d.ts.map +1 -0
- package/lib/codegen/typedVisitor.js +26 -0
- package/lib/codegen/typedVisitor.mjs +8 -0
- package/lib/codegen/types.d.ts +18 -0
- package/lib/codegen/types.d.ts.map +1 -0
- package/lib/codegen/types.js +15 -0
- package/lib/codegen/types.mjs +0 -0
- package/lib/codegen/utilities.d.ts +50 -0
- package/lib/codegen/utilities.d.ts.map +1 -0
- package/lib/codegen/utilities.js +192 -0
- package/lib/codegen/utilities.mjs +174 -0
- package/lib/{extractImplicitTypesToTypescript.d.ts → extractors/extractImplicitTypesToTypescript.d.ts} +0 -0
- package/lib/extractors/extractImplicitTypesToTypescript.d.ts.map +1 -0
- package/lib/{extractImplicitTypesToTypescript.js → extractors/extractImplicitTypesToTypescript.js} +0 -0
- package/lib/{extractImplicitTypesToTypescript.mjs → extractors/extractImplicitTypesToTypescript.mjs} +1 -1
- package/lib/extractors/index.d.ts +1 -1
- package/lib/extractors/index.d.ts.map +1 -1
- package/lib/extractors/index.js +1 -1
- package/lib/extractors/index.mjs +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.mjs +2 -0
- package/lib/utilities/blankGraphQLTag.d.ts +2 -0
- package/lib/utilities/blankGraphQLTag.d.ts.map +1 -0
- package/lib/utilities/blankGraphQLTag.js +25 -0
- package/lib/utilities/blankGraphQLTag.mjs +7 -0
- package/package.json +1 -1
- package/lib/extractImplicitTypesToTypescript.d.ts.map +0 -1
package/lib/index.mjs
CHANGED
|
@@ -7,12 +7,14 @@ import { addTypesToRequestDocument } from "./ast/addTypesToRequestDocument.mjs";
|
|
|
7
7
|
import { extractImplicitTypes } from "./extractImplicitTypesRuntime.mjs";
|
|
8
8
|
import { specifiedScalars } from "./values.mjs";
|
|
9
9
|
import { annotateDocumentGraphQLTransform } from "./transforms/annotateDocumentGraphQLTransform.mjs";
|
|
10
|
+
import { generateTS } from "./codegen.mjs";
|
|
10
11
|
export {
|
|
11
12
|
addTypesToRequestDocument,
|
|
12
13
|
annotateDocumentGraphQLTransform,
|
|
13
14
|
executeWithSchema,
|
|
14
15
|
executeWithoutSchema,
|
|
15
16
|
extractImplicitTypes,
|
|
17
|
+
generateTS,
|
|
16
18
|
specifiedScalars,
|
|
17
19
|
subscribeWithSchema,
|
|
18
20
|
subscribeWithoutSchema
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blankGraphQLTag.d.ts","sourceRoot":"","sources":["../../src/utilities/blankGraphQLTag.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,OAAO,EAAE,oBAAoB,GAAG,MAAM,CAE7E"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var blankGraphQLTag_exports = {};
|
|
19
|
+
__export(blankGraphQLTag_exports, {
|
|
20
|
+
default: () => blankGraphQLTag
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(blankGraphQLTag_exports);
|
|
23
|
+
function blankGraphQLTag(strings) {
|
|
24
|
+
return strings[0];
|
|
25
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extractImplicitTypesToTypescript.d.ts","sourceRoot":"","sources":["../src/extractImplicitTypesToTypescript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,MAAM,YAAY,CAAC;AACzC,OAAO,EACL,YAAY,EAab,MAAM,SAAS,CAAC;AAmBjB,wBAAgB,gCAAgC,CAC9C,QAAQ,EAAE,YAAY,GACrB,EAAE,CAAC,UAAU,CA8Jf"}
|