oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1package equipo
2
3import (
4 "amadan.net/oficina/equipo/internal/equipo/personapi"
5 "context"
6)
7
8func (s *Store) nativeAPI() *personapi.Native {
9 return &personapi.Native{NativeOperations: s, LookupMember: s.Member, SettingsUpdate: s.saveAPIProjectSettings, Devices: s.personDevices, ReadTeam: s.readTeam, Owner: requireOwner, Copy: copyText, Invalid: ErrInvalid, Forbidden: ErrForbidden, NotFound: ErrNotFound, Conflict: ErrConflict, Unavailable: ErrUnavailable}
10}
11func (s *Store) PersonAPIExtendedMutation(ctx context.Context, a Actor, op, id string, in any, m Mutation) (personapi.Result, error) {
12 return s.nativeAPI().Mutate(ctx, a, op, id, in, m)
13}
14