@c15t/backend
Version:
Consent policy engine and API for c15t. Powers the cookie banner, consent manager, and preferences centre. Webhooks, audit logs, storage adapters. Self host or use consent.io
23 lines (21 loc) • 548 B
text/typescript
/**
* Subject Entity Type Definitions
*
* This module contains type definitions specific to the subject entity.
*/
import type { TimestampedEntityConfig } from '../types';
/**
* Subject entity configuration
* @default entityName: "subject", entityPrefix: "sub"
*/
export interface SubjectEntityConfig extends TimestampedEntityConfig {
fields?: Record<string, string> & {
id?: string;
isIdentified?: string;
externalId?: string;
identityProvider?: string;
lastIpAddress?: string;
createdAt?: string;
updatedAt?: string;
};
}