Skip to content

use latest arena-core (UserGroup type)#162

Merged
SteRiccio merged 1 commit into
masterfrom
feat/user-group-types
Jul 17, 2026
Merged

use latest arena-core (UserGroup type)#162
SteRiccio merged 1 commit into
masterfrom
feat/user-group-types

Conversation

@SteRiccio

Copy link
Copy Markdown
Member

No description provided.

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Arena Server to use the latest @openforis/arena-core dependency and adopts the UserGroup type (and related props) from arena-core instead of maintaining a duplicated local definition.

Changes:

  • Bump @openforis/arena-core from ^1.3.8 to ^1.3.10 (and update lockfile accordingly).
  • Replace local UserGroup/UserGroupProps type usage with @openforis/arena-core exports across service, API, and repository layers.
  • Remove the local src/repository/userGroup/types.ts type definitions and stop exporting them from repository barrels.

Reviewed changes

Copilot reviewed 11 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
yarn.lock Updates resolved @openforis/arena-core version to 1.3.10.
package.json Bumps @openforis/arena-core dependency to ^1.3.10.
src/service/userGroup/index.ts Switches UserGroup/UserGroupProps imports to come from arena-core.
src/api/userGroup/common.ts Switches UserGroup type import to come from arena-core.
src/repository/userGroup/update.ts Uses arena-core UserGroup type for repository function typing.
src/repository/userGroup/read.ts Uses arena-core UserGroup type for repository function typing.
src/repository/userGroup/insert.ts Uses arena-core UserGroup type for repository function typing.
src/repository/userGroup/delete.ts Uses arena-core UserGroup type for repository function typing.
src/repository/userGroup/getUserGroupsByUser.ts Uses arena-core UserGroup type for repository function typing.
src/repository/userGroup/index.ts Removes re-export of local UserGroup types from the userGroup repository barrel.
src/repository/userGroup/types.ts Deletes the local UserGroup type definitions.
src/repository/index.ts Removes re-export of UserGroup types from the top-level repository barrel.
Comments suppressed due to low confidence (1)

src/repository/userGroup/index.ts:23

  • This module no longer re-exports UserGroup/UserGroupProps, which can break consumers that import these types from ../../repository/userGroup.

If the goal is to use the canonical types from @openforis/arena-core, consider re-exporting them from here (type-only) to preserve the existing public surface area.

export type { UserGroupMember } from './members'


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/repository/index.ts
@SteRiccio
SteRiccio merged commit 6102f2c into master Jul 17, 2026
7 checks passed
@SteRiccio
SteRiccio deleted the feat/user-group-types branch July 17, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants