feat(quick-5): add CreatedAt/UpdatedAt to playlist Summary struct

- Add CreatedAt and UpdatedAt string fields to Summary struct
- Format as RFC3339 at all construction sites in playlist.go and favorites.go
- Update TypeScript bindings with new fields in models.ts
This commit is contained in:
2026-03-01 08:51:00 -05:00
parent ea3648f3f8
commit bdaff478e8
3 changed files with 51 additions and 13 deletions
+4
View File
@@ -305,6 +305,8 @@ export namespace playlist {
export class Summary {
ID: number;
Name: string;
CreatedAt: string;
UpdatedAt: string;
static createFrom(source: any = {}) {
return new Summary(source);
@@ -314,6 +316,8 @@ export namespace playlist {
if ('string' === typeof source) source = JSON.parse(source);
this.ID = source["ID"];
this.Name = source["Name"];
this.CreatedAt = source["CreatedAt"];
this.UpdatedAt = source["UpdatedAt"];
}
}
export class Track {