From 85bc9c293e3244057b06cd02fb33ce0ffa602030 Mon Sep 17 00:00:00 2001 From: shrouxm Date: Thu, 21 Mar 2024 15:51:47 -0700 Subject: [PATCH] chore: update backend --- package-lock.json | 4 ++-- package.json | 2 +- src/project/projectSlice.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2f4d92f2..7339143a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "lodash": "^4.17.21", "react": "^18.2.0", "react-redux": "^8.1.3", - "terraso-backend": "github:techmatters/terraso-backend#17f50f3", + "terraso-backend": "github:techmatters/terraso-backend#6ecc942", "uuid": "^9.0.1" }, "devDependencies": { @@ -13848,7 +13848,7 @@ }, "node_modules/terraso-backend": { "version": "0.1.0", - "resolved": "git+ssh://git@github.com/techmatters/terraso-backend.git#17f50f3afc6f79a611e24a22a78daab01412060e" + "resolved": "git+ssh://git@github.com/techmatters/terraso-backend.git#6ecc9422eaae401b9c67836a6547213862afc66a" }, "node_modules/test-exclude": { "version": "6.0.0", diff --git a/package.json b/package.json index c18e0c91..e09c4bcf 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lodash": "^4.17.21", "react": "^18.2.0", "react-redux": "^8.1.3", - "terraso-backend": "github:techmatters/terraso-backend#17f50f3", + "terraso-backend": "github:techmatters/terraso-backend#6ecc942", "uuid": "^9.0.1" }, "scripts": { diff --git a/src/project/projectSlice.ts b/src/project/projectSlice.ts index 854354fa..46be8d3a 100644 --- a/src/project/projectSlice.ts +++ b/src/project/projectSlice.ts @@ -24,7 +24,7 @@ import { import { ProjectAddUserMutationInput, ProjectManagementProjectPrivacyChoices, - ProjectManagementProjectRoleChoices, + ProjectMembershipProjectRoleChoices, } from 'terraso-client-shared/graphqlSchema/graphql'; import * as projectService from 'terraso-client-shared/project/projectService'; import { setSites, updateSites } from 'terraso-client-shared/site/siteSlice'; @@ -41,7 +41,7 @@ export type ProjectMembership = { id: string; }; -export type ProjectRole = ProjectManagementProjectRoleChoices; +export type ProjectRole = ProjectMembershipProjectRoleChoices; export const PROJECT_ROLES = [ 'MANAGER', 'CONTRIBUTOR',