1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src/lib
Nuno Góis fd580c9539
fix: extract username from user should not return undefined (#5061)
This fixes a return type error by changing the logic of
`extractUsernameFromUser` to never return undefined.

In the previous code, `user` could be truthy, but that doesn't mean
`email` or `username` were defined. This assumes we always fallback to
"unknown" in those scenarios.
2023-10-17 09:18:44 +01:00
..
__snapshots__ feat: add playground imrpovements flag (#5045) 2023-10-16 14:08:21 +03:00
addons feat: add new message banner events (#5055) 2023-10-16 14:30:40 +01:00
db feat: validate archive dependent features (#5019) 2023-10-13 12:09:46 +02:00
domain/project-health Project health tests (#3028) 2023-02-02 12:01:16 +01:00
error fix: export NotFoundError and ISegmentService in internals.ts (#4997) 2023-10-11 14:31:45 +03:00
features feat: import dependencies (#5044) 2023-10-17 08:22:54 +03:00
middleware feat: make maintenance-related 503s more intuitive (#5018) 2023-10-16 09:27:29 +01:00
openapi feat: show dependencies only when using pro/enterprise or at least on… (#5052) 2023-10-16 20:56:06 +02:00
proxy feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
routes feat: remove dependency on archive (#5040) 2023-10-16 08:59:34 +02:00
schema feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
segments feat: context/segment usage private (#4826) 2023-09-25 15:50:44 +03:00
services Refactor/separate client and admin store (#5006) 2023-10-12 13:58:23 +02:00
types chore: add enterprise event (#5056) 2023-10-16 15:37:11 +02:00
util fix: extract username from user should not return undefined (#5061) 2023-10-17 09:18:44 +01:00
app.test.ts
app.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
create-config.test.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
create-config.ts feat: allow defining initial admin user as env variable (#4927) 2023-10-06 09:07:06 +02:00
default-custom-auth-deny-all.ts refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
internals.ts fix: export NotFoundError and ISegmentService in internals.ts (#4997) 2023-10-11 14:31:45 +03:00
logger.test.ts
logger.ts
metric-events.ts fix: refactor event types 2021-04-29 10:21:29 +02:00
metrics.test.ts feat: feature changes counted in new table (#4958) 2023-10-10 12:32:23 +02:00
metrics.ts feat: feature changes counted in new table (#4958) 2023-10-10 12:32:23 +02:00
server-impl.test.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
server-impl.ts feat: disable scheduler for tests (#4496) 2023-08-15 15:58:36 +02:00