|
1 | 1 | import { specifiedScalarTypes } from 'graphql'; |
2 | | -import type { Logger } from '../../../../utils/logger'; |
3 | | -import { stripTypeModifiers } from '../../../../utils/state'; |
4 | | -import type { EnumTypeState } from '../../../composition/enum-type'; |
5 | | -import type { InterfaceTypeState } from '../../../composition/interface-type'; |
6 | | -import type { ObjectTypeFieldState, ObjectTypeState } from '../../../composition/object-type'; |
7 | | -import type { ScalarTypeState } from '../../../composition/scalar-type'; |
8 | | -import type { UnionTypeState } from '../../../composition/union-type'; |
9 | | -import type { SupergraphState } from '../../../state'; |
10 | | -import { SUPERGRAPH_ID } from './constants'; |
| 2 | +import type { Logger } from '../../../../utils/logger.js'; |
| 3 | +import { stripTypeModifiers } from '../../../../utils/state.js'; |
| 4 | +import type { EnumTypeState } from '../../../composition/enum-type.js'; |
| 5 | +import type { InterfaceTypeState } from '../../../composition/interface-type.js'; |
| 6 | +import type { ObjectTypeFieldState, ObjectTypeState } from '../../../composition/object-type.js'; |
| 7 | +import type { ScalarTypeState } from '../../../composition/scalar-type.js'; |
| 8 | +import type { UnionTypeState } from '../../../composition/union-type.js'; |
| 9 | +import type { SupergraphState } from '../../../state.js'; |
| 10 | +import { SUPERGRAPH_ID } from './constants.js'; |
11 | 11 | import { |
12 | 12 | assertAbstractEdge, |
13 | 13 | assertFieldEdge, |
14 | 14 | Edge, |
15 | 15 | isAbstractEdge, |
16 | 16 | isEntityEdge, |
17 | 17 | isFieldEdge, |
18 | | -} from './edge'; |
19 | | -import type { Field, FieldsResolver } from './fields'; |
20 | | -import { scoreKeyFields } from './helpers'; |
21 | | -import { AbstractMove, EntityMove, FieldMove } from './moves'; |
22 | | -import { Node } from './node'; |
| 18 | +} from './edge.js'; |
| 19 | +import type { Field, FieldsResolver } from './fields.js'; |
| 20 | +import { scoreKeyFields } from './helpers.js'; |
| 21 | +import { AbstractMove, EntityMove, FieldMove } from './moves.js'; |
| 22 | +import { Node } from './node.js'; |
23 | 23 |
|
24 | 24 | export class Graph { |
25 | 25 | private _warnedAboutIncorrectEdge = false; |
|
0 commit comments