--- /dev/null
+import { Resource } from "./resource";
+
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
+export interface Link extends Resource {
+ headUuid: string;
+ tailUuid: string;
+ linkClass: string;
+ name: string;
+ properties: {};
+}
--- /dev/null
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
+import CommonResourceService from "../../common/api/common-resource-service";
+import { Link } from "../../models/link";
+import { AxiosInstance } from "../../../node_modules/axios";
+
+export default class LinkService<T extends Link = Link> extends CommonResourceService<T> {
+ constructor(serverApi: AxiosInstance) {
+ super(serverApi, "links");
+ }
+}
\ No newline at end of file
import GroupsService from "./groups-service/groups-service";
import { serverApi } from "../common/api/server-api";
import ProjectService from "./project-service/project-service";
+import LinkService from "./link-service/link-service";
export const authService = new AuthService(serverApi);
export const groupsService = new GroupsService(serverApi);
export const projectService = new ProjectService(serverApi);
+export const linkService = new LinkService(serverApi);