1
0
Fork 0
mirror of synced 2024-06-23 08:30:31 +12:00
budibase/packages/types/src/documents/platform/users.ts
Martin McKeaveney be396dc3c0 fixing tests
2022-09-14 14:22:53 +01:00

19 lines
336 B
TypeScript

import { Document } from "../document"
/**
* doc id is user email
*/
export interface PlatformUserByEmail extends Document {
tenantId: string
userId: string
}
/**
* doc id is userId
*/
export interface PlatformUserById extends Document {
tenantId: string
}
export type PlatformUser = PlatformUserByEmail | PlatformUserById