Jarrod Flesch
a26d03190e
fix: re-exports graphql json types for external use ( #6711 )
...
Fixes https://github.com/payloadcms/payload/issues/6683
Exports import `GraphQLJSON` and `GraphQLJSONObject` from
`@payloadcms/graphql/types`
```ts
import { GraphQLJSON, GraphQLJSONObject } from '@payloadcms/graphql/types'
```
2024-06-10 14:53:31 -04:00
Elliot DeNolf
7309d474ee
feat!: type auto-generation ( #6657 )
...
Types are now auto-generated by default.
You can opt-out of this behavior by setting:
```ts
buildConfig({
// Rest of config
typescript: {
autoGenerate: false
},
})
```
2024-06-10 13:42:44 -04:00
Elliot DeNolf
354ad7092c
chore: type gen formatting ( #6309 )
2024-05-09 23:55:55 -04:00
Alessio Gravili
f7a2cf96b9
chore: properly working generated types within tests ( #6288 )
2024-05-09 17:12:51 -04:00
Elliot DeNolf
1ac76d7758
chore: more linting
2024-03-19 01:15:25 -04:00
Elliot DeNolf
c5ecf48d94
chore: add test/ to workspace, update most references
2024-03-19 00:59:56 -04:00
Elliot DeNolf
14eb66c87d
test: refactor int tests to use initPayloadInt which reduces boilerplate
2024-03-16 10:11:00 -04:00
Elliot DeNolf
978e19c817
test: fix custom-graphql beforeAll
2024-03-15 12:19:00 -04:00
Alessio Gravili
6789e61488
chore: run lint & prettier on everything
2024-03-14 23:53:47 -04:00
Dan Ribbens
d193c677c7
chore: attach mongoMemoryServer to db and destroy in tests ( #5326 )
...
* chore: attach mongoMemoryServer to db and destroy in tests
* bump mongodb-memory-server to 9.x
---------
Co-authored-by: Paul Popus <paul@nouance.io >
2024-03-14 15:41:20 -04:00
Alessio Gravili
da1326a336
chore: eslint perf improvements for test suite, make use of cascading for all eslint configs to minimize duplicative rule
2024-03-12 09:15:38 -04:00
Alessio Gravili
8895f6420f
chore: fix all esm test suite imports
2024-03-08 14:42:24 -05:00
Jarrod Flesch
28c4046300
chore: more passing int suites
2024-02-16 15:09:51 -05:00
Take Weiland
195a952c43
fix: transactionID isolation for GraphQL ( #4095 )
2023-11-14 16:07:10 -05:00