16067: Adds remaining collection resource read-only fields.
[arvados-workbench2.git] / src / services / collection-service / collection-service.ts
index 6eb9b5ba664f15892d570206051a93803050987b..77f5bf3bc605b76a6a37053e9ff1b540925319a4 100644 (file)
@@ -15,7 +15,16 @@ export type UploadProgress = (fileId: number, loaded: number, total: number, cur
 
 export class CollectionService extends TrashableResourceService<CollectionResource> {
     constructor(serverApi: AxiosInstance, private webdavClient: WebDAV, private authService: AuthService, actions: ApiActions) {
-        super(serverApi, "collections", actions);
+        super(serverApi, "collections", actions, [
+            'fileCount',
+            'fileSizeTotal',
+            'replicationConfirmed',
+            'replicationConfirmedAt',
+            'storageClassesConfirmed',
+            'storageClassesConfirmedAt',
+            'unsignedManifestText',
+            'version',
+        ]);
     }
 
     async files(uuid: string) {