James
047efe02ff
chore: revert #1794 for now until permanent init architecture is established
2023-01-11 09:32:44 -05:00
Christian Schurr
82961767e3
feat!: enforces payload.init is async
...
* Run connectMongoose before starting payload init
* - reverted changes
- added deprecated to init
- docs: changed all payload.init to payload.initAsync
- changed all internal init calls
* forgotten inits in docs
* reverted back - removed init and renamed initAsync to init
2023-01-09 11:24:22 -05:00
James Mikrut
c11bcd1416
feat: swc register ( #1779 )
...
* feat: implements esbuild and removes babel
* chore: implements esbuild-register
* chore: tests passing
* chore: implements @swc/jest for tests
* feat: implements swc
* chore: removes build and relies on swc/register only
* chore: converts some exports
* chore: flattens ts configs
* chore: allows tsx in swc
* chore: converts more exports into js
* chore: restores payload module.exports
* chore: removes unused dependency
2023-01-04 10:11:26 -05:00
James
d103f6c94f
fix: ensures admin components is defaulted
2022-11-14 15:46:34 -05:00
Alberto Maghini
a345ef0d31
feat: admin UI logout extensibility ( #1274 )
...
* added Logout documentation
* updated type and schema
* updated logout component, route and inactivityRoute references
* added custom Logout component into test admin instance
* fixed windows path management
* added dotenv usage
* added check on testSuiteDir and provided more meaningful error message
* fixed object destructure
* updated from logout.route to logoutRoute
* extracted getSanitizedLogoutRoutes method
* added unit tests
* updated references
* updated doc
* reviewed casing and added defaults
* updated usage
* restored workers previous value
* fixed config validation
* updated docs and schema
* updated reference to logoutRoute and inactivityRoute
* updated test ref
Co-authored-by: Alberto Maghini (MSC Technology Italia) <alberto.maghini@msc.com >
Co-authored-by: Alberto Maghini <alberto@newesis.com >
2022-11-14 14:55:31 -05:00
James Mikrut
a1083727ef
feat: #1001 - builds a way to allow list view to search multiple fields
...
* make textfields searchable
* shorten namings in placeholder function
* chore: finishes listSearchableFields
Co-authored-by: Christian Reichart <christian.reichart@camperboys.com >
2022-09-12 16:38:02 -07:00
James
b4ffa22885
feat: adds initAsync
2022-07-19 01:32:25 -07:00
Elliot DeNolf
4b0a257246
test: fix all test scripts
2022-07-15 14:36:09 -07:00