ocis icon indicating copy to clipboard operation
ocis copied to clipboard

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

Open AlexAndBear opened this issue 1 year ago • 0 comments

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
    }
  }
}

AlexAndBear avatar Sep 24 '24 18:09 AlexAndBear