@effect-gql/core 1.4.6 → 1.4.8
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/builder/index.cjs +42 -21
- package/builder/index.cjs.map +1 -1
- package/builder/index.d.cts +2 -2
- package/builder/index.d.ts +2 -2
- package/builder/index.js +42 -21
- package/builder/index.js.map +1 -1
- package/index.cjs +44 -22
- package/index.cjs.map +1 -1
- package/index.d.cts +2 -2
- package/index.d.ts +2 -2
- package/index.js +44 -22
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/{schema-builder-DKvkzU_M.d.cts → schema-builder-CAij36fD.d.cts} +7 -0
- package/{schema-builder-DKvkzU_M.d.ts → schema-builder-CAij36fD.d.ts} +7 -0
- package/server/index.d.cts +2 -2
- package/server/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -948,6 +948,13 @@ declare class GraphQLSchemaBuilder<R = never> implements Pipeable.Pipeable {
|
|
|
948
948
|
getCacheHints(): CacheHintMap;
|
|
949
949
|
/**
|
|
950
950
|
* Build the GraphQL schema (no services required)
|
|
951
|
+
*
|
|
952
|
+
* Uses a two-phase approach:
|
|
953
|
+
* 1. Phase 1: Build enum and input registries first (these may be referenced by other types)
|
|
954
|
+
* 2. Phase 2: Build interface, object, and union types (which may reference inputs in args)
|
|
955
|
+
*
|
|
956
|
+
* This ensures that when object type fields with args are processed,
|
|
957
|
+
* all registered input types are already available in the inputRegistry.
|
|
951
958
|
*/
|
|
952
959
|
buildSchema(): GraphQLSchema;
|
|
953
960
|
private buildDirectiveRegistry;
|
|
@@ -948,6 +948,13 @@ declare class GraphQLSchemaBuilder<R = never> implements Pipeable.Pipeable {
|
|
|
948
948
|
getCacheHints(): CacheHintMap;
|
|
949
949
|
/**
|
|
950
950
|
* Build the GraphQL schema (no services required)
|
|
951
|
+
*
|
|
952
|
+
* Uses a two-phase approach:
|
|
953
|
+
* 1. Phase 1: Build enum and input registries first (these may be referenced by other types)
|
|
954
|
+
* 2. Phase 2: Build interface, object, and union types (which may reference inputs in args)
|
|
955
|
+
*
|
|
956
|
+
* This ensures that when object type fields with args are processed,
|
|
957
|
+
* all registered input types are already available in the inputRegistry.
|
|
951
958
|
*/
|
|
952
959
|
buildSchema(): GraphQLSchema;
|
|
953
960
|
private buildDirectiveRegistry;
|
package/server/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Config, Layer, Cause, Effect, Stream, Runtime } from 'effect';
|
|
2
|
-
import { j as ComplexityConfig, y as CacheControlConfig, F as FieldComplexityMap, w as CacheHintMap, G as GraphQLExtension, i as GraphQLSchemaBuilder } from '../schema-builder-
|
|
3
|
-
export { J as CacheControlConfigFromEnv, x as CachePolicy, z as CachePolicyAnalysisInfo, q as ComplexityAnalysisError, l as ComplexityAnalysisInfo, n as ComplexityCalculator, u as ComplexityConfigFromEnv, m as ComplexityExceededInfo, p as ComplexityLimitExceededError, k as ComplexityResult, o as FieldComplexity, t as combineCalculators, A as computeCachePolicy, B as computeCachePolicyFromQuery, r as defaultComplexityCalculator, s as depthOnlyCalculator, H as toCacheControlHeader, v as validateComplexity } from '../schema-builder-
|
|
2
|
+
import { j as ComplexityConfig, y as CacheControlConfig, F as FieldComplexityMap, w as CacheHintMap, G as GraphQLExtension, i as GraphQLSchemaBuilder } from '../schema-builder-CAij36fD.cjs';
|
|
3
|
+
export { J as CacheControlConfigFromEnv, x as CachePolicy, z as CachePolicyAnalysisInfo, q as ComplexityAnalysisError, l as ComplexityAnalysisInfo, n as ComplexityCalculator, u as ComplexityConfigFromEnv, m as ComplexityExceededInfo, p as ComplexityLimitExceededError, k as ComplexityResult, o as FieldComplexity, t as combineCalculators, A as computeCachePolicy, B as computeCachePolicyFromQuery, r as defaultComplexityCalculator, s as depthOnlyCalculator, H as toCacheControlHeader, v as validateComplexity } from '../schema-builder-CAij36fD.cjs';
|
|
4
4
|
import { HttpServerResponse, HttpRouter } from '@effect/platform';
|
|
5
5
|
import { GraphQLSchema, ExecutionResult } from 'graphql';
|
|
6
6
|
import * as effect_Cause from 'effect/Cause';
|
package/server/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Config, Layer, Cause, Effect, Stream, Runtime } from 'effect';
|
|
2
|
-
import { j as ComplexityConfig, y as CacheControlConfig, F as FieldComplexityMap, w as CacheHintMap, G as GraphQLExtension, i as GraphQLSchemaBuilder } from '../schema-builder-
|
|
3
|
-
export { J as CacheControlConfigFromEnv, x as CachePolicy, z as CachePolicyAnalysisInfo, q as ComplexityAnalysisError, l as ComplexityAnalysisInfo, n as ComplexityCalculator, u as ComplexityConfigFromEnv, m as ComplexityExceededInfo, p as ComplexityLimitExceededError, k as ComplexityResult, o as FieldComplexity, t as combineCalculators, A as computeCachePolicy, B as computeCachePolicyFromQuery, r as defaultComplexityCalculator, s as depthOnlyCalculator, H as toCacheControlHeader, v as validateComplexity } from '../schema-builder-
|
|
2
|
+
import { j as ComplexityConfig, y as CacheControlConfig, F as FieldComplexityMap, w as CacheHintMap, G as GraphQLExtension, i as GraphQLSchemaBuilder } from '../schema-builder-CAij36fD.js';
|
|
3
|
+
export { J as CacheControlConfigFromEnv, x as CachePolicy, z as CachePolicyAnalysisInfo, q as ComplexityAnalysisError, l as ComplexityAnalysisInfo, n as ComplexityCalculator, u as ComplexityConfigFromEnv, m as ComplexityExceededInfo, p as ComplexityLimitExceededError, k as ComplexityResult, o as FieldComplexity, t as combineCalculators, A as computeCachePolicy, B as computeCachePolicyFromQuery, r as defaultComplexityCalculator, s as depthOnlyCalculator, H as toCacheControlHeader, v as validateComplexity } from '../schema-builder-CAij36fD.js';
|
|
4
4
|
import { HttpServerResponse, HttpRouter } from '@effect/platform';
|
|
5
5
|
import { GraphQLSchema, ExecutionResult } from 'graphql';
|
|
6
6
|
import * as effect_Cause from 'effect/Cause';
|