@m1212e/rumble 0.18.0 → 0.18.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/README.md +1 -1
- package/out/index.cjs +2 -2
- package/out/index.cjs.map +1 -1
- package/out/index.d.cts +12 -0
- package/out/index.d.cts.map +1 -1
- package/out/index.d.mts +12 -0
- package/out/index.d.mts.map +1 -1
- package/out/index.mjs +2 -2
- package/out/index.mjs.map +1 -1
- package/package.json +2 -2
package/out/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _$graphql from "graphql";
|
|
2
2
|
import { GraphQLError } from "graphql";
|
|
3
|
+
import { EnvelopArmorPlugin } from "@escape.tech/graphql-armor";
|
|
3
4
|
import { Tracer } from "@opentelemetry/api";
|
|
4
5
|
import { TracingWrapperOptions } from "@pothos/tracing-opentelemetry";
|
|
5
6
|
import * as _$graphql_yoga0 from "graphql-yoga";
|
|
@@ -4382,6 +4383,17 @@ declare const rumble: <UserContext extends Record<string, any>, DB extends Drizz
|
|
|
4382
4383
|
* explorer and will not apply the additional envelop armor plugin.
|
|
4383
4384
|
*/
|
|
4384
4385
|
enableApiDocs?: boolean;
|
|
4386
|
+
/**
|
|
4387
|
+
* Optional configuration passed to the auto-installed graphql-armor
|
|
4388
|
+
* EnvelopArmorPlugin. Only applied when `enableApiDocs` is false
|
|
4389
|
+
* (i.e. in production). Useful for relaxing the default depth/alias/
|
|
4390
|
+
* directive/token limits when the generated schema legitimately exceeds
|
|
4391
|
+
* them. See https://github.com/Escape-Technologies/graphql-armor for available options.
|
|
4392
|
+
*
|
|
4393
|
+
* @example
|
|
4394
|
+
* createYoga({ armorConfig: { maxDepth: { n: 20 } } })
|
|
4395
|
+
*/
|
|
4396
|
+
armorConfig?: Parameters<typeof EnvelopArmorPlugin>[0];
|
|
4385
4397
|
}) | undefined) => _$graphql_yoga0.YogaServerInstance<RequestEvent, {}>;
|
|
4386
4398
|
/**
|
|
4387
4399
|
* Creates a sofa instance to offer a REST API.
|