@wepublish/api
Version:
API core for we.publish.
21 lines (20 loc) • 468 B
TypeScript
import { User as UserType } from '@prisma/client';
import { Consent } from '../consent/consent.model';
export declare class UserConsent {
id: string;
createdAt: Date;
modifiedAt: Date;
consent: Consent;
user: UserType;
value: boolean;
}
export declare class UserConsentInput {
consentId: string;
userId: string;
value: boolean;
}
export declare class UserConsentFilter {
name?: string;
slug?: string;
value?: boolean;
}