export interface IDeviceBase { deviceId: string; pushToken?: string; deviceType: string; userId: string; osType: number; osVersion: string; jsVersion: string; nativeVersion: string; nativeCode: number; status: number; createdAt: string; updatedAt: string; } export interface IDeviceRegistration extends IDeviceBase { id?: string; } export interface IDevice extends IDeviceBase { id: string; } export interface IDeviceUpdate extends IDeviceBase { id: string; } /* deviceId: { type: 'string' }, pushToken: { type: 'string' }, userId: { type: 'string' }, osType: { type: 'number' }, osVersion: { type: 'string', maxLength: 64 }, jsVersion: { type: 'string', maxLength: 16 }, nativeVersion: { type: 'string', maxLength: 16 }, nativeCode: { type: 'number' }, status: { type: 'number' }, createdAt: { type: 'string', maxLength: 50 }, updatedAt: { type: 'string', maxLength: 50 }, */