Skip to content

Commit

Permalink
Merge branch 'main' into feat/member-remove-confirm-dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
paanSinghCoder authored Sep 27, 2024
2 parents 0627bbf + 03b036e commit 7af7076
Show file tree
Hide file tree
Showing 32 changed files with 1,960 additions and 61 deletions.
8 changes: 8 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,12 @@ packages:
github.com/raystack/frontier/core/organization:
config:
dir: "core/organization/mocks"
all: true
github.com/raystack/frontier/core/invitation:
config:
dir: "core/invitation/mocks"
all: true
github.com/raystack/frontier/core/permission:
config:
dir: "core/permission/mocks"
all: true
5 changes: 3 additions & 2 deletions core/invitation/invite.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ import (
)

var (
ErrNotFound = errors.New("invitation not found")
InviteExpired = errors.New("invitation expired")
ErrNotFound = errors.New("invitation not found")
ErrInviteExpired = errors.New("invitation expired")
ErrAlreadyMember = errors.New("user already exists in organization")
)

const (
Expand Down
206 changes: 206 additions & 0 deletions core/invitation/mocks/group_service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7af7076

Please sign in to comment.