schema.js to TS

This commit is contained in:
Kristaps Fabians Geikins
2024-09-26 14:24:05 +03:00
parent 8f658266b1
commit 62d749f02c
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
overwrite: true
schema:
- 'modules/schema.js'
- 'modules/schema.ts'
documents: null
generates:
modules/core/graph/generated/graphql.ts:
-8
View File
@@ -1,8 +0,0 @@
const { graphSchema } = require('@/modules/index')
/**
* Used in codegen.yml
*/
const schema = graphSchema()
module.exports = schema
+8
View File
@@ -0,0 +1,8 @@
import { graphSchema } from '@/modules/index'
/**
* Used in codegen.yml
*/
const schema = graphSchema()
export default schema