-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
for relationships when the id is number it write string everywhere
export interface Person {
/** @PrimaryKey /
id: number;
status?: 'published' | 'draft' | 'archived';
sort?: number | null;
user_created?: DirectusUser | string | null;
date_created?: string | null;
user_updated?: DirectusUser | string | null;
date_updated?: string | null;
phones?: Phone[] | string[];
}
export interface Phone {
/* @PrimaryKey */
id: number;
status?: 'published' | 'draft' | 'archived';
sort?: number | null;
user_created?: DirectusUser | string | null;
date_created?: string | null;
user_updated?: DirectusUser | string | null;
date_updated?: string | null;
person?: Person | string | null;
phone?: string | null;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working