1
0
Fork 0
mirror of synced 2024-06-28 11:00:55 +12:00
budibase/packages/types/src/documents/platform/users.ts

19 lines
336 B
TypeScript
Raw Normal View History

import { Document } from "../document"
2022-08-23 20:37:13 +12:00
/**
* doc id is user email
*/
export interface PlatformUserByEmail extends Document {
tenantId: string
userId: string
}
2022-09-15 01:22:53 +12:00
/**
* doc id is userId
*/
export interface PlatformUserById extends Document {
tenantId: string
}
export type PlatformUser = PlatformUserByEmail | PlatformUserById