@gql.tada/internal
Advanced tools
Comparing version 0.2.1 to 0.2.2-canary-5888a0cae81b989912bfa488df0f67548cfd4194
# @gql.tada/internal | ||
## 0.2.2-canary-5888a0cae81b989912bfa488df0f67548cfd4194 | ||
### Patch Changes | ||
- Add support for `${configDir}` to directory path configs | ||
Submitted by [@kitten](https://github.com/kitten) (See [#239](https://github.com/0no-co/gql.tada/pull/239)) | ||
## 0.2.1 | ||
@@ -4,0 +11,0 @@ |
@@ -78,2 +78,6 @@ import * as typescript from 'typescript'; | ||
declare const getURLConfig: (origin: SchemaOrigin | null) => { | ||
url: URL; | ||
headers: HeadersInit | undefined; | ||
} | null; | ||
interface LoadConfig { | ||
@@ -104,3 +108,12 @@ origin: SchemaOrigin; | ||
} | ||
declare const parseConfig: (input: Record<string, unknown>) => GraphQLSPConfig; | ||
declare const parseConfig: ( | ||
input: Record<string, unknown>, | ||
rootPath?: string | ||
) => { | ||
tadaOutputLocation: string | undefined; | ||
tadaTurboLocation: string | undefined; | ||
tadaPersistedLocation: string | undefined; | ||
schema: SchemaOrigin; | ||
template?: string | undefined; | ||
}; | ||
@@ -164,2 +177,3 @@ declare const readTSConfigFile: (filePath: string) => Promise<TsConfigJson>; | ||
findTSConfigFile, | ||
getURLConfig, | ||
importLib, | ||
@@ -166,0 +180,0 @@ importModule, |
{ | ||
"name": "@gql.tada/internal", | ||
"version": "0.2.1", | ||
"version": "0.2.2-canary-5888a0cae81b989912bfa488df0f67548cfd4194", | ||
"public": true, | ||
@@ -5,0 +5,0 @@ "description": "Internal logic for gql.tada’s CLI tool and GraphQLSP.", |
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 not supported yet
Sorry, the diff of this file is not supported yet
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
396088
6320