Skip to content

Commit b9888e2

Browse files
committed
refactor: client dir
1 parent 893ad01 commit b9888e2

File tree

14 files changed

+120
-115
lines changed

14 files changed

+120
-115
lines changed

src/ResultSet/ResultSet.test-d.ts renamed to src/client/ResultSet/ResultSet.test-d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* eslint-disable @typescript-eslint/ban-types */
22

33
import { expectTypeOf, test } from 'vitest'
4-
import type { Index } from '../../tests/ts/_/schema/generated/Index.js'
5-
import type * as Schema from '../../tests/ts/_/schema/generated/SchemaBuildtime.js'
4+
import type { Index } from '../../../tests/ts/_/schema/generated/Index.js'
5+
import type * as Schema from '../../../tests/ts/_/schema/generated/SchemaBuildtime.js'
66
import type { SelectionSet } from '../SelectionSet/__.js'
77
import type { ResultSet } from './__.js'
88

src/ResultSet/ResultSet.ts renamed to src/client/ResultSet/ResultSet.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* eslint-disable @typescript-eslint/ban-types */
22

33
import type { Simplify } from 'type-fest'
4-
import type { GetKeyOr, SimplifyDeep } from '../lib/prelude.js'
5-
import type { TSError } from '../lib/TSError.js'
6-
import type { Schema, SomeField } from '../Schema/__.js'
7-
import type { PickScalarFields } from '../Schema/Output/Output.js'
4+
import type { GetKeyOr, SimplifyDeep } from '../../lib/prelude.js'
5+
import type { TSError } from '../../lib/TSError.js'
6+
import type { Schema, SomeField } from '../../Schema/__.js'
7+
import type { PickScalarFields } from '../../Schema/Output/Output.js'
88
import type { SelectionSet } from '../SelectionSet/__.js'
99

1010
// dprint-ignore
File renamed without changes.

src/SelectionSet/SelectionSet.test-d.ts renamed to src/client/SelectionSet/SelectionSet.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { assertType, expectTypeOf, test } from 'vitest'
2-
import type { Index } from '../../tests/ts/_/schema/generated/Index.js'
2+
import type { Index } from '../../../tests/ts/_/schema/generated/Index.js'
33
import type { SelectionSet } from './__.js'
44

55
type Q = SelectionSet.Query<Index>

src/SelectionSet/SelectionSet.ts renamed to src/client/SelectionSet/SelectionSet.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
/* eslint-disable @typescript-eslint/ban-types */
22

3-
import type { MaybeList, StringNonEmpty, Values } from '../lib/prelude.js'
4-
import type { TSError } from '../lib/TSError.js'
3+
import type { MaybeList, StringNonEmpty, Values } from '../../lib/prelude.js'
4+
import type { TSError } from '../../lib/TSError.js'
55
import type {
66
InputFieldsAllNullable,
77
OmitNullableFields,
88
PickNullableFields,
99
Schema,
1010
SomeField,
1111
SomeFields,
12-
} from '../Schema/__.js'
12+
} from '../../Schema/__.js'
1313

1414
export type Query<$Index extends Schema.Index> = $Index['Root']['Query'] extends Schema.Object$2
1515
? Object<$Index['Root']['Query'], $Index>
File renamed without changes.
File renamed without changes.

src/SelectionSet/toGraphQLDocumentString.test.ts renamed to src/client/SelectionSet/toGraphQLDocumentString.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { parse, print } from 'graphql'
22
import { describe, expect, test } from 'vitest'
3-
import type { Index } from '../../tests/ts/_/schema/generated/Index.js'
3+
import type { Index } from '../../../tests/ts/_/schema/generated/Index.js'
44
import type { SelectionSet } from './__.js'
55
import { toGraphQLDocumentString } from './toGraphQLDocumentString.js'
66

0 commit comments

Comments
 (0)