@pothos/plugin-complexity
Advanced tools
+13
-0
| # @giraphql/plugin-complexity | ||
| ## 4.0.0 | ||
| ### Major Changes | ||
| - 29841a8: Release Pothos v4 🎉 see https://pothos-graphql.dev/docs/migrations/v4 for more details | ||
| ### Patch Changes | ||
| - c1e6dcb: update readmes | ||
| - Updated dependencies [c1e6dcb] | ||
| - Updated dependencies [29841a8] | ||
| - @pothos/core@4.0.0 | ||
| ## 4.0.0-next.1 | ||
@@ -4,0 +17,0 @@ |
+5
-5
@@ -33,3 +33,3 @@ import './global-types'; | ||
| argMappers: ((args: Record<string, unknown>, context: Types["Context"], info: import("@pothos/core").PartialResolveInfo) => Record<string, unknown>)[]; | ||
| pothosOptions: PothosSchemaTypes.MutationFieldOptions<Types, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], Types["Root"], import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| pothosOptions: PothosSchemaTypes.MutationFieldOptions<Types, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], Types["Root"], import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| resolve: import("@pothos/core").Resolver<unknown, { | ||
@@ -57,3 +57,3 @@ [x: string]: unknown; | ||
| argMappers: ((args: Record<string, unknown>, context: Types["Context"], info: import("@pothos/core").PartialResolveInfo) => Record<string, unknown>)[]; | ||
| pothosOptions: PothosSchemaTypes.QueryFieldOptions<Types, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], Types["Root"], import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| pothosOptions: PothosSchemaTypes.QueryFieldOptions<Types, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], Types["Root"], import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| resolve: import("@pothos/core").Resolver<unknown, { | ||
@@ -81,3 +81,3 @@ [x: string]: unknown; | ||
| argMappers: ((args: Record<string, unknown>, context: Types["Context"], info: import("@pothos/core").PartialResolveInfo) => Record<string, unknown>)[]; | ||
| pothosOptions: PothosSchemaTypes.SubscriptionFieldOptions<Types, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown, unknown> & import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| pothosOptions: PothosSchemaTypes.SubscriptionFieldOptions<Types, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown, unknown> & import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| resolve: import("@pothos/core").Resolver<unknown, { | ||
@@ -105,3 +105,3 @@ [x: string]: unknown; | ||
| argMappers: ((args: Record<string, unknown>, context: Types["Context"], info: import("@pothos/core").PartialResolveInfo) => Record<string, unknown>)[]; | ||
| pothosOptions: PothosSchemaTypes.ObjectFieldOptions<Types, unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| pothosOptions: PothosSchemaTypes.ObjectFieldOptions<Types, unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| resolve: import("@pothos/core").Resolver<unknown, { | ||
@@ -129,3 +129,3 @@ [x: string]: unknown; | ||
| argMappers: ((args: Record<string, unknown>, context: Types["Context"], info: import("@pothos/core").PartialResolveInfo) => Record<string, unknown>)[]; | ||
| pothosOptions: PothosSchemaTypes.InterfaceFieldOptions<Types, unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & Partial<import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown>> & { | ||
| pothosOptions: PothosSchemaTypes.InterfaceFieldOptions<Types, unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown> & Partial<import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[unknown]>, import("@pothos/core").InputFieldMap, unknown>> & { | ||
| resolve: import("@pothos/core").Resolver<unknown, { | ||
@@ -132,0 +132,0 @@ [x: string]: unknown; |
+5
-5
@@ -37,3 +37,3 @@ import './global-types.js'; | ||
| unknown | ||
| ]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], Types["Root"], import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| ]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], Types["Root"], import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| unknown | ||
@@ -65,3 +65,3 @@ ]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| unknown | ||
| ]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], Types["Root"], import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| ]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], Types["Root"], import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| unknown | ||
@@ -93,3 +93,3 @@ ]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| unknown | ||
| ]>, import("@pothos/core").InputFieldMap, unknown, unknown> & import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| ]>, import("@pothos/core").InputFieldMap, unknown, unknown> & import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| unknown | ||
@@ -121,3 +121,3 @@ ]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| unknown | ||
| ]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| ]>, import("@pothos/core").InputFieldMap, unknown> & import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| unknown | ||
@@ -149,3 +149,3 @@ ]>, import("@pothos/core").InputFieldMap, unknown> & { | ||
| unknown | ||
| ]>, import("@pothos/core").InputFieldMap, unknown> & Partial<import("@pothos/core").InferredResolveOptionsByKind<Types, Types["InferredResolveOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| ]>, import("@pothos/core").InputFieldMap, unknown> & Partial<import("@pothos/core").InferredFieldOptionsByKind<Types, Types["InferredFieldOptionsKind"], unknown, import("@pothos/core").TypeParam<Types>, import("@pothos/core").FieldNullability<[ | ||
| unknown | ||
@@ -152,0 +152,0 @@ ]>, import("@pothos/core").InputFieldMap, unknown>> & { |
+7
-7
| { | ||
| "name": "@pothos/plugin-complexity", | ||
| "version": "4.0.0-next.1", | ||
| "version": "4.0.0", | ||
| "description": "A Pothos plugin for defining and limiting complexity of queries", | ||
@@ -36,13 +36,13 @@ "main": "./lib/index.js", | ||
| "access": "public", | ||
| "provenance": false | ||
| "provenance": true | ||
| }, | ||
| "peerDependencies": { | ||
| "@pothos/core": "4.0.0-next.1", | ||
| "@pothos/core": "4.0.0", | ||
| "graphql": "^16.8.1" | ||
| }, | ||
| "devDependencies": { | ||
| "graphql": "^16.9.0", | ||
| "graphql": "^16.8.1", | ||
| "graphql-tag": "^2.12.6", | ||
| "@pothos/core": "4.0.0-next.1", | ||
| "@pothos/test-utils": "2.0.0-next.1" | ||
| "@pothos/core": "4.0.0", | ||
| "@pothos/test-utils": "2.0.0" | ||
| }, | ||
@@ -58,4 +58,4 @@ "gitHead": "9dfe52f1975f41a111e01bf96a20033a914e2acc", | ||
| "esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts", | ||
| "test": "pnpm vitest --run --segfault-retry=3" | ||
| "test": "pnpm vitest --run" | ||
| } | ||
| } |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
134456
0.13%1
-50%