mirror of
https://github.com/nestriness/nestri.git
synced 2026-09-20 01:35:19 +03:00
feat: Sync to OSS repo
This commit is contained in:
10
packages/core/src/auth/subjects.ts
Normal file
10
packages/core/src/auth/subjects.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { createSubjects } from '@nestri/auth/subject';
|
||||
import { z } from 'zod';
|
||||
|
||||
export const subjects = createSubjects({
|
||||
user: z.object({
|
||||
userID: z.string(),
|
||||
linkedAccountID: z.string(),
|
||||
fingerprint: z.string().optional()
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user