owncloud / owncloud/ocis

Graph `Activity` type member `ActivityTemplate` must describe the member `variables` detailed

Open
#10,151 0 comments 1 reaction 0 assignees View on GitHub
Priority:p3-medium Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug
To make javascript-based clients use the type `Activity` we need to define the member `variables` in type `ActivityTemplate` properly, which is currently just type `object`.

This might be a helpful example:

```
type Activity = GraphActivity & {
template: {
variables?: {
space?: SpaceResource
resource?: Resource
user?: User
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.