Home | History | Annotate | Download | only in test
      1 [
      2   {
      3     "namespace": "functions_as_parameters",
      4     "description": "The functionsAsParameters API",
      5     "types": [
      6       {
      7         "id": "FunctionType",
      8         "type": "object",
      9         "properties": {
     10           "event_callback": {
     11             "type": "function",
     12             "parameters": { }
     13           }
     14         }
     15       },
     16       {
     17         "id": "OptionalFunctionType",
     18         "type": "object",
     19         "properties": {
     20           "event_callback": {
     21             "type": "function",
     22             "optional": true,
     23             "parameters": { }
     24           }
     25         }
     26       }
     27     ]
     28   }
     29 ]
     30