From 33ce88290a3cd66cd2cda3e44451b07ce288d953 Mon Sep 17 00:00:00 2001 From: Guillem Puche <3519924+guillempuche@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:29:50 +0100 Subject: [PATCH] feat(server): add UserMetadataService for user metadata management --- apps/server/src/api/user_metadata.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 apps/server/src/api/user_metadata.ts diff --git a/apps/server/src/api/user_metadata.ts b/apps/server/src/api/user_metadata.ts new file mode 100644 index 0000000..52f4503 --- /dev/null +++ b/apps/server/src/api/user_metadata.ts @@ -0,0 +1,7 @@ +import { Context } from 'effect' +import type UserMetadata from 'supertokens-node/recipe/usermetadata' + +export class UserMetadataService extends Context.Tag('UserMetadataService')< + UserMetadataService, + UserMetadata.RecipeInterface +>() {}