feat(medusa-react,medusa,utils): add users/me endpoint + add missing specs (#6441)

**what:**

- adds /me endpoint
- adds fixes to routes
- adds specs for auth endpoint
- updates dotenv package versions


Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
This commit is contained in:
Riqwan Thamir
2024-03-04 14:37:47 +05:30
committed by GitHub
parent 883cb0dca7
commit 8dad2b51a2
20 changed files with 305 additions and 36 deletions

View File

@@ -1,10 +1,11 @@
import { RedisOptions } from "ioredis"
import { LoggerOptions } from "typeorm"
import {
ExternalModuleDeclaration,
InternalModuleDeclaration,
} from "../modules-sdk"
import { LoggerOptions } from "typeorm"
import { RedisOptions } from "ioredis"
/**
* @interface
*
@@ -174,6 +175,7 @@ export type ProjectConfigOptions = {
* ```
*/
admin_cors?: string
auth_cors?: string
/**
* A random string used to create cookie tokens. Although this configuration option is not required, its highly recommended to set it for better security.
*