Versions in this module Expand all Collapse all v2 v2.8.1 Aug 19, 2026 v2.8.0 Aug 13, 2026 Changes in this version + func CurrentActor(ctx context.Context) models.User + func DefaultOperationSecurity() []map[string][]string + func MapOneAPIResponse[S any, D any](source S, mappingMessage func(error) string) (base.ApiResponse[D], error) + func Operation(operationID, method, path, summary, description string, tags ...string) huma.Operation + func PaginationParams(start, limit int, sortCol, sortDir, search string) pagination.QueryParams + func PaginationResponse(p pagination.Response) base.PaginationResponse + func ParseMultipartJSONPart[T any](form multipart.Form, partName string) (T, error) + func ProxyRemoteJSON[T any](ctx context.Context, proxy RemoteJSONProxy, environmentID string, ...) (*T, error) + func ReadWorkspaceUploads(form multipart.Form, maxFileSizeBytes int64) (map[int][]byte, error) + func RegisterSecured[I, O any](api huma.API, op huma.Operation, permission string, ...) + func RequireUser(ctx context.Context) (*models.User, error) + func SessionMetaFromContext(ctx context.Context, userAgent string) auth.SessionMeta + func TranslateRemoteProxyError(err error) error + func WorkspaceMultipartRequestBody(manifestDescription string) *huma.RequestBody + type ActivityAppContext struct + func NewActivityAppContext(ctx context.Context) ActivityAppContext + func (c ActivityAppContext) Context() context.Context + type RemoteJSONProxy func(context.Context, string, string, string, []byte, any) error