add middleware and pagination, change resources model and store
[arvados.git] / src / models / resource.ts
index 31f3eb883f974b26c05b45cd28837fe4f493600c..6f82402821ec26fc9c8cc5ea94876df6dfa4c508 100644 (file)
@@ -2,6 +2,8 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
+import { ApiClientAuthorization } from '~/models/api-client-authorization';
+
 export interface Resource {
     uuid: string;
     ownerUuid: string;
@@ -14,6 +16,8 @@ export interface Resource {
     etag: string;
 }
 
+export type ResourceTypes = Resource | ApiClientAuthorization;
+
 export interface TrashableResource extends Resource {
     trashAt: string;
     deleteAt: string;