@apollo/federation-internals
Advanced tools
Comparing version 2.4.9 to 2.4.10
@@ -10,7 +10,3 @@ import { ArgumentNode, DocumentNode, FieldNode, FragmentDefinitionNode, SelectionNode, SelectionSetNode } from "graphql"; | ||
abstract asPathElement(): string | undefined; | ||
abstract rebaseOn(args: { | ||
parentType: CompositeType; | ||
errorIfCannotRebase: boolean; | ||
}): T | undefined; | ||
rebaseOnOrError(parentType: CompositeType): T; | ||
abstract rebaseOn(parentType: CompositeType): T; | ||
abstract withUpdatedDirectives(newDirectives: readonly Directive<any>[]): T; | ||
@@ -48,6 +44,3 @@ protected abstract collectVariablesInElement(collector: VariableCollector): void; | ||
validate(variableDefinitions: VariableDefinitions): void; | ||
rebaseOn({ parentType, errorIfCannotRebase }: { | ||
parentType: CompositeType; | ||
errorIfCannotRebase: boolean; | ||
}): Field<TArgs> | undefined; | ||
rebaseOn(parentType: CompositeType): Field<TArgs>; | ||
private canRebaseOn; | ||
@@ -76,6 +69,3 @@ typeIfAddedTo(parentType: CompositeType): Type | undefined; | ||
withUpdatedDirectives(newDirectives: Directive<OperationElement>[]): FragmentElement; | ||
rebaseOn({ parentType, errorIfCannotRebase }: { | ||
parentType: CompositeType; | ||
errorIfCannotRebase: boolean; | ||
}): FragmentElement | undefined; | ||
rebaseOn(parentType: CompositeType): FragmentElement; | ||
private canRebaseOn; | ||
@@ -166,3 +156,2 @@ castedTypeIfAddedTo(parentType: CompositeType): CompositeType | undefined; | ||
mapToExpandedSelectionSets(mapper: (selectionSet: SelectionSet) => SelectionSet | undefined): NamedFragments | undefined; | ||
private selectionSetIsWorthUsing; | ||
rebaseOn(schema: Schema): NamedFragments | undefined; | ||
@@ -204,3 +193,2 @@ filter(predicate: (fragment: NamedFragmentDefinition) => boolean): NamedFragments | undefined; | ||
hasTopLevelTypenameField(): boolean; | ||
withoutTopLevelTypenameField(): SelectionSet; | ||
fieldsInSet(): CollectedFieldsInSet; | ||
@@ -228,11 +216,5 @@ fieldsByResponseName(): MultiMap<string, FieldSelection>; | ||
withoutEmptyBranches(): SelectionSet | undefined; | ||
rebaseOn({ parentType, fragments, errorIfCannotRebase, }: { | ||
parentType: CompositeType; | ||
fragments: NamedFragments | undefined; | ||
errorIfCannotRebase: boolean; | ||
}): SelectionSet; | ||
rebaseOn(parentType: CompositeType, fragments: NamedFragments | undefined): SelectionSet; | ||
equals(that: SelectionSet): boolean; | ||
contains(that: SelectionSet, options?: { | ||
ignoreMissingTypename?: boolean; | ||
}): ContainsResult; | ||
contains(that: SelectionSet): ContainsResult; | ||
containsTopLevelField(field: Field): boolean; | ||
@@ -302,11 +284,3 @@ minus(that: SelectionSet): SelectionSet; | ||
abstract validate(variableDefinitions: VariableDefinitions): void; | ||
abstract rebaseOn(args: { | ||
parentType: CompositeType; | ||
fragments: NamedFragments | undefined; | ||
errorIfCannotRebase: boolean; | ||
}): TOwnType | undefined; | ||
rebaseOnOrError({ parentType, fragments }: { | ||
parentType: CompositeType; | ||
fragments: NamedFragments | undefined; | ||
}): TOwnType; | ||
abstract rebaseOn(parentType: CompositeType, fragments: NamedFragments | undefined): TOwnType; | ||
get parentType(): CompositeType; | ||
@@ -369,7 +343,3 @@ isTypenameField(): boolean; | ||
validate(variableDefinitions: VariableDefinitions): void; | ||
rebaseOn({ parentType, fragments, errorIfCannotRebase, }: { | ||
parentType: CompositeType; | ||
fragments: NamedFragments | undefined; | ||
errorIfCannotRebase: boolean; | ||
}): FieldSelection | undefined; | ||
rebaseOn(parentType: CompositeType, fragments: NamedFragments | undefined): FieldSelection; | ||
canAddTo(parentType: CompositeType): boolean; | ||
@@ -386,5 +356,3 @@ toSelectionNode(): FieldNode; | ||
equals(that: Selection): boolean; | ||
contains(that: Selection, options?: { | ||
ignoreMissingTypename?: boolean; | ||
}): ContainsResult; | ||
contains(that: Selection): ContainsResult; | ||
toString(expandFragments?: boolean, indent?: string): string; | ||
@@ -400,5 +368,3 @@ } | ||
abstract equals(that: Selection): boolean; | ||
abstract contains(that: Selection, options?: { | ||
ignoreMissingTypename?: boolean; | ||
}): ContainsResult; | ||
abstract contains(that: Selection): ContainsResult; | ||
normalize({ parentType, recursive }: { | ||
@@ -405,0 +371,0 @@ parentType: CompositeType; |
{ | ||
"name": "@apollo/federation-internals", | ||
"version": "2.4.9", | ||
"version": "2.4.10", | ||
"description": "Apollo Federation internal utilities", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1903505
30780