Graph `Activity` type member `ActivityTemplate` must describe the member `variables` detailed
Open
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
Assessment
This issue has not been assessed yet.