Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(generator): raise to external pos #1205

Merged
merged 4 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"packageManager": "pnpm@9.12.2",
"type": "module",
"bin": {
"graffle": "./build/cli/generate.js"
"graffle": "./build/generator/cli/generate.js"
},
"exports": {
".": {
Expand Down Expand Up @@ -84,7 +84,7 @@
"check:publint": "publint run --strict",
"prepublishOnly": "pnpm build",
"build:docs": "doctoc README.md --notitle && dprint fmt README.md",
"build": "pnpm clean && pnpm tsc --project tsconfig.build.json && chmod +x ./build/cli/generate.js",
"build": "pnpm clean && pnpm tsc --project tsconfig.build.json && chmod +x ./build/generator/cli/generate.js",
"clean": "tsc --build --clean && rm -rf build",
"test:unit": "vitest --exclude tests/examples",
"test:examples": "vitest --config vitest.examples.config.ts --dir tests/examples",
Expand Down
4 changes: 2 additions & 2 deletions src/entrypoints/_Generator.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { generate } from '../layers/4_generator/_.js'
export { create } from '../layers/4_generator/configFile/builder.js'
export { generate } from '../generator/_.js'
export { create } from '../generator/configFile/builder.js'
2 changes: 1 addition & 1 deletion src/entrypoints/extensionkit.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { createExtension as createGeneratorExtension } from '../layers/4_generator/extension/create.js'
export { createExtension as createGeneratorExtension } from '../generator/extension/create.js'
export { createExtension } from '../layers/6_client/extension/extension.js'
4 changes: 2 additions & 2 deletions src/entrypoints/utilities-for-generated.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
export { type Simplify } from 'type-fest'
export { type SchemaDrivenDataMap } from '../extensions/CustomScalars/schemaDrivenDataMap/__.js'
export { type Schema as SchemaIndexBase } from '../generator/generators/Schema.js'
export * from '../layers/2_Select/__.js'
export { type Schema as SchemaIndexBase } from '../layers/4_generator/generators/Schema.js'
export { type GlobalRegistry } from '../layers/4_generator/GlobalRegistry.js'
export type {
ConfigGetOutputError,
HandleOutput,
HandleOutputGraffleRootField,
} from '../layers/6_client/handleOutput.js'
export { type DocumentRunner } from '../layers/6_client/requestMethods/document.js'
export type { Config } from '../layers/6_client/Settings/Config.js'
export { type GlobalRegistry } from '../layers/GlobalRegistry.js'
export { type Exact, type ExactNonEmpty, type UnionExpanded } from '../lib/prelude.js'
export { TypeFunction } from '../lib/type-function/__.js'
10 changes: 5 additions & 5 deletions src/extensions/CustomScalars/schemaDrivenDataMap/generator.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { Config } from '../../../layers/4_generator/config/config.js'
import { ModuleGeneratorScalar } from '../../../layers/4_generator/generators/Scalar.js'
import { createModuleGenerator } from '../../../layers/4_generator/helpers/moduleGenerator.js'
import { createCodeGenerator } from '../../../layers/4_generator/helpers/moduleGeneratorRunner.js'
import { title1 } from '../../../layers/4_generator/helpers/render.js'
import type { Config } from '../../../generator/config/config.js'
import { ModuleGeneratorScalar } from '../../../generator/generators/Scalar.js'
import { createModuleGenerator } from '../../../generator/helpers/moduleGenerator.js'
import { createCodeGenerator } from '../../../generator/helpers/moduleGeneratorRunner.js'
import { title1 } from '../../../generator/helpers/render.js'
import { Code } from '../../../lib/Code.js'
import { Grafaid } from '../../../lib/grafaid/__.js'
import { entries } from '../../../lib/prelude.js'
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/SchemaErrors/generator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createGeneratorExtension } from '../../entrypoints/extensionkit.js'
import type { Config as GeneratorConfig } from '../../layers/4_generator/config/config.js'
import type { Config as GeneratorConfig } from '../../generator/config/config.js'
import { Code } from '../../lib/Code.js'
import { ConfigManager } from '../../lib/config-manager/__.js'
import { Grafaid } from '../../lib/grafaid/__.js'
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/SchemaErrors/global.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GlobalRegistry } from '../../layers/4_generator/GlobalRegistry.js'
import type { GlobalRegistry } from '../../layers/GlobalRegistry.js'

declare global {
namespace GraffleGlobal {
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/cli/generate.ts → src/generator/cli/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import { Command } from '@molt/command'
import * as Path from 'node:path'
import { z } from 'zod'
import { Generator } from '../layers/4_generator/__.js'
import { toAbsolutePath } from '../lib/fs.js'
import { isError, urlParseSafe } from '../lib/prelude.js'
import { toAbsolutePath } from '../../lib/fs.js'
import { isError, urlParseSafe } from '../../lib/prelude.js'
import { Generator } from '../__.js'

const args = Command.create().description(`Generate a type safe GraphQL client.`)
.parameter(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from 'vitest'
import { test } from '../../../../tests/_/helpers.js'
import { test } from '../../../tests/_/helpers.js'
import { createConfig } from './config.js'

test(`can load schema from custom path`, async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import fs from 'node:fs/promises'
import * as Path from 'node:path'
import { Graffle } from '../../../entrypoints/__Graffle.js'
import { Introspection } from '../../../entrypoints/extensions.js'
import { ConfigManager } from '../../../lib/config-manager/__.js'
import { fileExists, isPathToADirectory, toAbsolutePath, toFilePath } from '../../../lib/fs.js'
import { Grafaid } from '../../../lib/grafaid/__.js'
import { isString } from '../../../lib/prelude.js'
import { Graffle } from '../../entrypoints/__Graffle.js'
import { Introspection } from '../../entrypoints/extensions.js'
import { ConfigManager } from '../../lib/config-manager/__.js'
import { fileExists, isPathToADirectory, toAbsolutePath, toFilePath } from '../../lib/fs.js'
import { Grafaid } from '../../lib/grafaid/__.js'
import { isString } from '../../lib/prelude.js'
import {
type Formatter,
getTypescriptFormatterOrPassthrough,
passthroughFormatter,
} from '../../../lib/typescript-formatter.js'
} from '../../lib/typescript-formatter.js'
import type { Extension } from '../extension/types.js'
import { defaultLibraryPaths } from './defaults.js'
import { defaultName } from './defaults.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Grafaid } from '../../../lib/grafaid/__.js'
import type { Grafaid } from '../../lib/grafaid/__.js'
import type { Extension } from '../extension/types.js'

export interface InputLint {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as Path from 'node:path'
import { Errors } from '../../../lib/errors/__.js'
import { isPathToADirectory, toAbsolutePath } from '../../../lib/fs.js'
import { importFirst } from '../../../lib/import-first.js'
import { isError } from '../../../lib/prelude.js'
import { Errors } from '../../lib/errors/__.js'
import { isPathToADirectory, toAbsolutePath } from '../../lib/fs.js'
import { importFirst } from '../../lib/import-first.js'
import { isError } from '../../lib/prelude.js'
import { type Builder, isBuilder } from './builder.js'

interface Config {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Code } from '../../../lib/Code.js'
import type { Grafaid } from '../../../lib/grafaid/__.js'
import type { Code } from '../../lib/Code.js'
import type { Grafaid } from '../../lib/grafaid/__.js'
import type { Config } from '../config/config.js'

export interface Extension {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,18 @@ export namespace Schema {
//
//

// todo generate code like this:
export interface DateInterface2 extends $.Interface {
name: 'DateInterface1'
implementors: [DateObject1]
fields: {
date1: {
inlineType: [0]
namedType: $Scalar.Date
}
}
}

export type DateInterface1 = $.Interface<'DateInterface1', {
date1: $.Field<'date1', $.Output.Nullable<$Scalar.Date>, null>
}, [DateObject1]>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'node:fs/promises'
import { ModuleGeneratorSchemaDrivenDataMap } from '../../../extensions/CustomScalars/schemaDrivenDataMap/generator.js'
import { ModuleGeneratorSchemaDrivenDataMap } from '../../extensions/CustomScalars/schemaDrivenDataMap/generator.js'
import { createConfig } from '../config/config.js'
import type { Input } from '../config/input.js'
import { ModuleGenerator_ } from '../generators/_.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ModuleGeneratorSchemaDrivenDataMap } from '../../../extensions/CustomScalars/schemaDrivenDataMap/generator.js'
import { ModuleGeneratorSchemaDrivenDataMap } from '../../extensions/CustomScalars/schemaDrivenDataMap/generator.js'
import { createModuleGenerator } from '../helpers/moduleGenerator.js'
import { ModuleGeneratorData } from './Data.js'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// todo remove use of Utils.Aug when schema errors not in use
import { Grafaid } from '../../../lib/grafaid/__.js'
import { Grafaid } from '../../lib/grafaid/__.js'
import { createModuleGenerator } from '../helpers/moduleGenerator.js'
import { createCodeGenerator } from '../helpers/moduleGeneratorRunner.js'
import { renderDocumentation, renderName } from '../helpers/render.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// todo jsdoc
import { Grafaid } from '../../../lib/grafaid/__.js'
import { Grafaid } from '../../lib/grafaid/__.js'
import { createModuleGenerator } from '../helpers/moduleGenerator.js'
import { renderName, title1 } from '../helpers/render.js'
import { ModuleGeneratorSelectionSets } from './SelectionSets.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Grafaid } from '../../../lib/grafaid/__.js'
import { Grafaid } from '../../lib/grafaid/__.js'
import { createModuleGenerator } from '../helpers/moduleGenerator.js'
import { typeTitle2 } from '../helpers/render.js'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { SchemaDrivenDataMap } from '../../../entrypoints/utilities-for-generated.js'
import { Code } from '../../../lib/Code.js'
import { Grafaid } from '../../../lib/grafaid/__.js'
import { entries, isObjectEmpty, values } from '../../../lib/prelude.js'
import type { SchemaKit } from '../../1_Schema/__.js'
import type { SchemaDrivenDataMap } from '../../entrypoints/utilities-for-generated.js'
import type { SchemaKit } from '../../layers/1_Schema/__.js'
import type { GlobalRegistry } from '../../layers/GlobalRegistry.js'
import { Code } from '../../lib/Code.js'
import { Grafaid } from '../../lib/grafaid/__.js'
import { entries, isObjectEmpty, values } from '../../lib/prelude.js'
import type { Config } from '../config/config.js'
import type { GlobalRegistry } from '../GlobalRegistry.js'
import { identifiers } from '../helpers/identifiers.js'
import { createModuleGenerator } from '../helpers/moduleGenerator.js'
import { createCodeGenerator } from '../helpers/moduleGeneratorRunner.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assertType, test } from 'vitest'
import type * as SelectionSets from '../../../../tests/_/schemas/kitchen-sink/graffle/modules/SelectionSets.js'
import type * as SelectionSets from '../../../tests/_/schemas/kitchen-sink/graffle/modules/SelectionSets.js'

type Q = SelectionSets.Query

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// todo: generate in JSDoc how the feature maps to GQL syntax.
// todo: on union fields, JSDoc that mentions the syntax `on*`

import { Code } from '../../../lib/Code.js'
import { Grafaid } from '../../../lib/grafaid/__.js'
import { analyzeArgsNullability } from '../../../lib/grafaid/schema/args.js'
import { RootTypeName } from '../../../lib/grafaid/schema/schema.js'
import { Select } from '../../2_Select/__.js'
import { Select } from '../../layers/2_Select/__.js'
import { Code } from '../../lib/Code.js'
import { Grafaid } from '../../lib/grafaid/__.js'
import { analyzeArgsNullability } from '../../lib/grafaid/schema/args.js'
import { RootTypeName } from '../../lib/grafaid/schema/schema.js'
import { createModuleGenerator } from '../helpers/moduleGenerator.js'
import { createCodeGenerator } from '../helpers/moduleGeneratorRunner.js'
import { getDocumentation, renderDocumentation, renderName, title1, typeTitle2SelectionSet } from '../helpers/render.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ModuleGeneratorSchemaDrivenDataMap } from '../../../extensions/CustomScalars/schemaDrivenDataMap/generator.js'
import { ModuleGeneratorSchemaDrivenDataMap } from '../../extensions/CustomScalars/schemaDrivenDataMap/generator.js'
import { createModuleGenerator } from '../helpers/moduleGenerator.js'
import { ModuleGeneratorClient } from './Client.js'
import { ModuleGeneratorSelect } from './Select.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { capitalizeFirstLetter } from '../../../lib/prelude.js'
import { capitalizeFirstLetter } from '../../lib/prelude.js'
import { defaultName } from '../config/defaults.js'
import { createModuleGenerator } from '../helpers/moduleGenerator.js'
import { ModuleGenerator_ } from './_.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Code } from '../../../lib/Code.js'
import { Code } from '../../lib/Code.js'
import { identifiers } from '../helpers/identifiers.js'
import { createModuleGenerator } from '../helpers/moduleGenerator.js'
import { ModuleGeneratorData } from './Data.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Code } from '../../../lib/Code.js'
import { Grafaid } from '../../../lib/grafaid/__.js'
import { getNodeDisplayName } from '../../../lib/grafaid/graphql.js'
import { borderThickFullWidth, borderThinFullWidth, centerTo } from '../../../lib/text.js'
import { Code } from '../../lib/Code.js'
import { Grafaid } from '../../lib/grafaid/__.js'
import { getNodeDisplayName } from '../../lib/grafaid/graphql.js'
import { borderThickFullWidth, borderThinFullWidth, centerTo } from '../../lib/text.js'
import type { Config } from '../config/config.js'

export const title1 = (title: string, subTitle?: string) => {
Expand Down
2 changes: 1 addition & 1 deletion src/layers/1_Schema/Hybrid/types/Scalar/Scalar.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GlobalRegistry } from '../../../../4_generator/GlobalRegistry.js'
import type { GlobalRegistry } from '../../../../GlobalRegistry.js'
import type { Codec, Mapper } from './codec.js'
import { JavaScriptScalarCodecs } from './nativeScalarCodecs.js'

Expand Down
2 changes: 1 addition & 1 deletion src/layers/3_InferResult/Alias.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Schema } from '../../generator/generators/Schema.js'
import type { mergeObjectArray, ValuesOrEmptyObject } from '../../lib/prelude.js'
import type { SchemaKit } from '../1_Schema/__.js'
import type { Select } from '../2_Select/__.js'
import type { Schema } from '../4_generator/generators/Schema.js'
import type { Field } from './Field.js'

// dprint-ignore
Expand Down
2 changes: 1 addition & 1 deletion src/layers/3_InferResult/Field.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { Simplify } from 'type-fest'
import type { Schema } from '../../generator/generators/Schema.js'
import type { TSErrorDescriptive } from '../../lib/ts-error.js'
import type { SchemaKit } from '../1_Schema/__.js'
import type { Select } from '../2_Select/__.js'
import type { Schema } from '../4_generator/generators/Schema.js'
import type { Interface } from './Interface.js'
import type { Object } from './Object.js'
import type { Union } from './Union.js'
Expand Down
2 changes: 1 addition & 1 deletion src/layers/3_InferResult/InlineFragment.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Schema } from '../../generator/generators/Schema.js'
import { type GetKeyOr } from '../../lib/prelude.js'
import type { SchemaKit } from '../1_Schema/__.js'
import type { Select } from '../2_Select/__.js'
import type { Schema } from '../4_generator/generators/Schema.js'
import type { Object } from './Object.js'

// dprint-ignore
Expand Down
2 changes: 1 addition & 1 deletion src/layers/3_InferResult/Interface.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Schema } from '../../generator/generators/Schema.js'
import type { SchemaKit } from '../1_Schema/__.js'
import type { Schema } from '../4_generator/generators/Schema.js'
import type { InlineFragmentTypeConditional } from './InlineFragment.js'

// dprint-ignore
Expand Down
2 changes: 1 addition & 1 deletion src/layers/3_InferResult/Object.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Simplify } from 'type-fest'
import type { Schema } from '../../generator/generators/Schema.js'
import { type StringKeyof } from '../../lib/prelude.js'
import type { TSErrorDescriptive } from '../../lib/ts-error.js'
import type { SchemaKit } from '../1_Schema/__.js'
import type { Select } from '../2_Select/__.js'
import type { Schema } from '../4_generator/generators/Schema.js'
import type { Alias } from './Alias.js'
import type { Field } from './Field.js'
import type { ScalarsWildcard } from './ScalarsWildcard.js'
Expand Down
2 changes: 1 addition & 1 deletion src/layers/3_InferResult/ScalarsWildcard.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Schema } from '../../generator/generators/Schema.js'
import type { SchemaKit } from '../1_Schema/__.js'
import type { Schema } from '../4_generator/generators/Schema.js'
import type { Field } from './Field.js'

export type ScalarsWildcard<
Expand Down
2 changes: 1 addition & 1 deletion src/layers/3_InferResult/Union.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Schema } from '../../generator/generators/Schema.js'
import type { SchemaKit } from '../1_Schema/__.js'
import type { Schema } from '../4_generator/generators/Schema.js'
import type { InlineFragmentTypeConditional } from './InlineFragment.js'

// dprint-ignore
Expand Down
2 changes: 1 addition & 1 deletion src/layers/3_InferResult/root.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Schema } from '../../generator/generators/Schema.js'
import { type ExcludeNull } from '../../lib/prelude.js'
import type { SchemaKit } from '../1_Schema/__.js'
import type { Schema } from '../4_generator/generators/Schema.js'
import type { Object } from './Object.js'

export type RootViaObject<
Expand Down
2 changes: 1 addition & 1 deletion src/layers/5_select/select.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { identityProxy } from '../../lib/prelude.js'
import type { GlobalRegistry } from '../4_generator/GlobalRegistry.js'
import type { GlobalRegistry } from '../GlobalRegistry.js'

// dprint-ignore
type Create = <$Name extends GlobalRegistry.ClientNames>(name: $Name) =>
Expand Down
2 changes: 1 addition & 1 deletion src/layers/6_client/Settings/Config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { GraphQLSchema } from 'graphql'
import type { SchemaDrivenDataMap } from '../../../extensions/CustomScalars/schemaDrivenDataMap/__.js'
import type { RequireProperties } from '../../../lib/prelude.js'
import type { GlobalRegistry } from '../../4_generator/GlobalRegistry.js'
import type { TransportHttp, TransportMemory } from '../../5_request/types.js'
import type { GlobalRegistry } from '../../GlobalRegistry.js'
import type { Extension } from '../extension/extension.js'
import type { TransportHttpInput } from '../transportHttp/request.js'
import type { InputStatic } from './Input.js'
Expand Down
2 changes: 1 addition & 1 deletion src/layers/6_client/Settings/Input.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { GraphQLSchema } from 'graphql'
import type { SchemaDrivenDataMap } from '../../../extensions/CustomScalars/schemaDrivenDataMap/__.js'
import type { GlobalRegistry } from '../../4_generator/GlobalRegistry.js'
import type { GlobalRegistry } from '../../GlobalRegistry.js'
import type { WithInput } from './inputIncrementable/inputIncrementable.js'

export type URLInput = URL | string
Expand Down
2 changes: 1 addition & 1 deletion src/layers/6_client/Settings/InputToConfig.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { IsUnknown } from 'type-fest'
import type { ConfigManager } from '../../../lib/config-manager/__.js'
import type { GlobalRegistry } from '../../4_generator/GlobalRegistry.js'
import { Transport } from '../../5_request/types.js'
import type { GlobalRegistry } from '../../GlobalRegistry.js'
import { defaultMethodMode } from '../transportHttp/request.js'
import { outputConfigDefault, type TransportConfigHttp, type TransportConfigMemory } from './Config.js'
import type { InputOutputEnvelopeLonghand, InputStatic, URLInput } from './Input.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { GlobalRegistry } from '../../../4_generator/GlobalRegistry.js'
import type { Transport, TransportMemory } from '../../../5_request/types.js'
import type { GlobalRegistry } from '../../../GlobalRegistry.js'
import type { TransportHttpInput } from '../../transportHttp/request.js'
import type { Config } from '../Config.js'
import type { NormalizeInput } from '../InputToConfig.js'
Expand Down
2 changes: 1 addition & 1 deletion src/layers/6_client/extension/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import type { AssertConstraint } from '../../../lib/prelude.js'
import type { TypeFunction } from '../../../lib/type-function/__.js'
import type { Fn } from '../../../lib/type-function/TypeFunction.js'
import type { Select } from '../../2_Select/__.js'
import type { GlobalRegistry } from '../../4_generator/GlobalRegistry.js'
import type { RequestCore } from '../../5_request/__.js'
import type { GlobalRegistry } from '../../GlobalRegistry.js'
import type { Client } from '../client.js'
import type { GraffleExecutionResultEnvelope } from '../handleOutput.js'
import type { Config } from '../Settings/Config.js'
Expand Down
2 changes: 1 addition & 1 deletion src/layers/6_client/handleOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
type GetOrNever,
type Values,
} from '../../lib/prelude.js'
import type { GlobalRegistry } from '../4_generator/GlobalRegistry.js'
import type { TransportHttp } from '../5_request/types.js'
import type { GlobalRegistry } from '../GlobalRegistry.js'
import type { RunTypeHookOnRequestResult } from './extension/extension.js'
import type { State } from './fluent.js'
import {
Expand Down
Loading