@@ -413,21 +413,31 @@ func ConvertWorkspaceRows(rows []GetWorkspacesRow) []Workspace {
413
413
workspaces := make ([]Workspace , len (rows ))
414
414
for i , r := range rows {
415
415
workspaces [i ] = Workspace {
416
- ID : r .ID ,
417
- CreatedAt : r .CreatedAt ,
418
- UpdatedAt : r .UpdatedAt ,
419
- OwnerID : r .OwnerID ,
420
- OrganizationID : r .OrganizationID ,
421
- TemplateID : r .TemplateID ,
422
- Deleted : r .Deleted ,
423
- Name : r .Name ,
424
- AutostartSchedule : r .AutostartSchedule ,
425
- Ttl : r .Ttl ,
426
- LastUsedAt : r .LastUsedAt ,
427
- DormantAt : r .DormantAt ,
428
- DeletingAt : r .DeletingAt ,
429
- AutomaticUpdates : r .AutomaticUpdates ,
430
- Favorite : r .Favorite ,
416
+ ID : r .ID ,
417
+ CreatedAt : r .CreatedAt ,
418
+ UpdatedAt : r .UpdatedAt ,
419
+ OwnerID : r .OwnerID ,
420
+ OrganizationID : r .OrganizationID ,
421
+ TemplateID : r .TemplateID ,
422
+ Deleted : r .Deleted ,
423
+ Name : r .Name ,
424
+ AutostartSchedule : r .AutostartSchedule ,
425
+ Ttl : r .Ttl ,
426
+ LastUsedAt : r .LastUsedAt ,
427
+ DormantAt : r .DormantAt ,
428
+ DeletingAt : r .DeletingAt ,
429
+ AutomaticUpdates : r .AutomaticUpdates ,
430
+ Favorite : r .Favorite ,
431
+ OwnerAvatarUrl : r .OwnerAvatarUrl ,
432
+ OwnerUsername : r .OwnerUsername ,
433
+ OrganizationName : r .OrganizationName ,
434
+ OrganizationDisplayName : r .OrganizationDisplayName ,
435
+ OrganizationIcon : r .OrganizationIcon ,
436
+ OrganizationDescription : r .OrganizationDescription ,
437
+ TemplateName : r .TemplateName ,
438
+ TemplateDisplayName : r .TemplateDisplayName ,
439
+ TemplateIcon : r .TemplateIcon ,
440
+ TemplateDescription : r .TemplateDescription ,
431
441
}
432
442
}
433
443
0 commit comments