Skip to content

Commit 8efd3b2

Browse files
authored
refactor: move client layer above core (#967)
1 parent ee3781d commit 8efd3b2

28 files changed

+12
-9
lines changed

src/entrypoints/alpha/_Graffle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from '../../layers/5_client/client.js'
1+
export * from '../../layers/6_client/client.js'
22
export * as Scalars from './scalars.js'

src/entrypoints/alpha/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export { Client, create, createPrefilled, Input, InputPrefilled } from '../../layers/5_client/client.js'
21
export { create as createSelect, select } from '../../layers/5_select/select.js'
2+
export { Client, create, createPrefilled, Input, InputPrefilled } from '../../layers/6_client/client.js'

src/layers/0_functions/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { StandardScalarVariables } from '../../lib/graphql.js'
2-
import type { DocumentInput, OperationNameInput } from '../5_client/types.js'
2+
import type { DocumentInput, OperationNameInput } from '../6_client/types.js'
33

44
export interface BaseInput {
55
document: DocumentInput

src/layers/3_SelectionSet/encode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { RootTypeName } from '../../lib/graphql.js'
22
import { assertArray, assertObject, lowerCaseFirstLetter } from '../../lib/prelude.js'
33
import { Schema } from '../1_Schema/__.js'
44
import { readMaybeThunk } from '../1_Schema/core/helpers.js'
5-
import type { ReturnModeType } from '../5_client/Config.js'
5+
import type { ReturnModeType } from '../6_client/Config.js'
66
import type { SelectionSet } from './__.js'
77
import { isSelectFieldName } from './helpers.js'
88
import { parseClientDirectiveDefer } from './runtime/directives/defer.js'

src/layers/5_core/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Schema } from '../1_Schema/__.js'
2-
import type { Config } from '../5_client/Config.js'
2+
import type { Config } from '../6_client/Config.js'
33

44
export type Transport = TransportMemory | TransportHttp
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import type { Extension } from '../5_client/client.js'
1+
import type { Extension } from '../6_client/client.js'
22

33
export const createExtension = (input: Extension) => input
File renamed without changes.

0 commit comments

Comments
 (0)