MCPcopy
hub / github.com/joschan21/digitalhippo / User

Interface User

src/payload-types.ts:21–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 globals: {};
20}
21export interface User {
22 id: string;
23 products?: (string | Product)[] | null;
24 product_files?: (string | ProductFile)[] | null;
25 role: 'admin' | 'user';
26 updatedAt: string;
27 createdAt: string;
28 email: string;
29 resetPasswordToken?: string | null;
30 resetPasswordExpiration?: string | null;
31 salt?: string | null;
32 hash?: string | null;
33 _verified?: boolean | null;
34 _verificationToken?: string | null;
35 loginAttempts?: number | null;
36 lockUntil?: string | null;
37 password: string | null;
38}
39export interface Product {
40 id: string;
41 user?: (string | null) | User;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected