github.com/readium/readium-lcp-server@v0.0.0-20240101192032-6e95190e99f1/frontend/manage/app/lsd/license-status.ts (about) 1 export class Updated { 2 license: Date; 3 status: Date; 4 } 5 6 export class Link { 7 rel: string; 8 href: string; 9 type: string; 10 title: string; 11 profile: string; 12 templated: boolean; 13 } 14 15 export class PotentialRights { 16 end: Date; 17 } 18 19 export class Event { 20 name: string; // device name 21 timestamp: Date; 22 type: string; 23 id: string; // device ID 24 } 25 26 export class LicenseStatus { 27 id: string; 28 status: string; 29 updated: Updated; 30 message: string; 31 links: Link[]; 32 device_count: number; 33 potential_rights: PotentialRights; 34 events: Event[]; 35 }