@faststore/api 3.0.63 → 3.0.65-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import ChannelMarshal from './channel'
2
1
  import type { Context } from '..'
2
+ import ChannelMarshal from './channel'
3
3
 
4
4
  export const mutateChannelContext = (ctx: Context, channelString: string) => {
5
5
  ctx.storage.channel = ChannelMarshal.parse(channelString)
@@ -1,8 +1,7 @@
1
1
  import { print } from 'graphql'
2
- import path from 'path'
3
2
 
4
3
  import { loadFilesSync } from '@graphql-tools/load-files'
5
4
 
6
- export const typeDefs = loadFilesSync(path.join(process.cwd()), { extensions: ['.graphql'] })
5
+ export const typeDefs = loadFilesSync(__dirname, { extensions: ['.graphql'] })
7
6
  .map(print)
8
7
  .join('\n')