@m1212e/rumble 0.16.34 → 0.16.35
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/out/client/generate.cjs +1 -1
- package/out/client/generate.d.cts +3 -1
- package/out/client/generate.d.cts.map +1 -1
- package/out/client/generate.d.mts +3 -1
- package/out/client/generate.d.mts.map +1 -1
- package/out/client/generate.mjs +1 -1
- package/out/client.cjs +28 -18
- package/out/client.cjs.map +1 -1
- package/out/client.d.cts +12 -4
- package/out/client.d.cts.map +1 -1
- package/out/client.d.mts +12 -4
- package/out/client.d.mts.map +1 -1
- package/out/client.mjs +28 -18
- package/out/client.mjs.map +1 -1
- package/out/{generate-B6JGM5pc.mjs → generate-CwAZQRah.mjs} +10 -8
- package/out/generate-CwAZQRah.mjs.map +1 -0
- package/out/{generate-BjPxpUd6.cjs → generate-kjqygrmB.cjs} +10 -8
- package/out/generate-kjqygrmB.cjs.map +1 -0
- package/out/index.cjs +5 -4
- package/out/index.cjs.map +1 -1
- package/out/index.d.cts +3 -1
- package/out/index.d.cts.map +1 -1
- package/out/index.d.mts +3 -1
- package/out/index.d.mts.map +1 -1
- package/out/index.mjs +5 -4
- package/out/index.mjs.map +1 -1
- package/package.json +1 -1
- package/out/generate-B6JGM5pc.mjs.map +0 -1
- package/out/generate-BjPxpUd6.cjs.map +0 -1
package/out/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as lazy } from "./lazy-BgeBy3-B.mjs";
|
|
2
|
-
import { t as generateFromSchema } from "./generate-
|
|
2
|
+
import { t as generateFromSchema } from "./generate-CwAZQRah.mjs";
|
|
3
3
|
import { GraphQLError } from "graphql";
|
|
4
4
|
import { EnvelopArmorPlugin } from "@escape.tech/graphql-armor";
|
|
5
5
|
import { useDisableIntrospection } from "@graphql-yoga/plugin-disable-introspection";
|
|
@@ -181,7 +181,7 @@ function mapNullFieldsToUndefined(obj) {
|
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region package.json
|
|
184
|
-
var version = "0.16.
|
|
184
|
+
var version = "0.16.35";
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region lib/helpers/mergeFilters.ts
|
|
187
187
|
function mergeFilters(filterA, filterB) {
|
|
@@ -708,7 +708,7 @@ const createWhereArgImplementer = ({ db, schemaBuilder, enumImplementer }) => {
|
|
|
708
708
|
//#endregion
|
|
709
709
|
//#region lib/client/client.ts
|
|
710
710
|
const clientCreatorImplementer = ({ builtSchema }) => {
|
|
711
|
-
const clientCreator = async ({ apiUrl, outputPath, rumbleImportPath, useExternalUrqlClient, removeExisting, forceReactivity }) => {
|
|
711
|
+
const clientCreator = async ({ apiUrl, outputPath, rumbleImportPath, useExternalUrqlClient, removeExisting, forceReactivity, autoIncludeIdField = false }) => {
|
|
712
712
|
if (process.env.NODE_ENV !== "development") console.warn(`Running rumble client generation in non development mode. Are you sure this is correct? Called from ${__filename} with arguments: ${JSON.stringify({
|
|
713
713
|
outputPath,
|
|
714
714
|
apiUrl,
|
|
@@ -723,7 +723,8 @@ const clientCreatorImplementer = ({ builtSchema }) => {
|
|
|
723
723
|
apiUrl,
|
|
724
724
|
useExternalUrqlClient,
|
|
725
725
|
removeExisting,
|
|
726
|
-
forceReactivity
|
|
726
|
+
forceReactivity,
|
|
727
|
+
autoIncludeIdField
|
|
727
728
|
});
|
|
728
729
|
};
|
|
729
730
|
return clientCreator;
|