Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ProgressPlugin.json 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "definitions": {
  3. "HandlerFunction": {
  4. "description": "Function that executes for every progress step",
  5. "instanceof": "Function",
  6. "tsType": "((percentage: number, msg: string, ...args: string[]) => void)"
  7. },
  8. "ProgressPluginOptions": {
  9. "type": "object",
  10. "additionalProperties": false,
  11. "properties": {
  12. "activeModules": {
  13. "description": "Show active modules count and one active module in progress message",
  14. "type": "boolean"
  15. },
  16. "entries": {
  17. "description": "Show entries count in progress message",
  18. "type": "boolean"
  19. },
  20. "handler": {
  21. "description": "Function that executes for every progress step",
  22. "anyOf": [
  23. {
  24. "$ref": "#/definitions/HandlerFunction"
  25. }
  26. ]
  27. },
  28. "modules": {
  29. "description": "Show modules count in progress message",
  30. "type": "boolean"
  31. },
  32. "modulesCount": {
  33. "description": "Minimum modules count to start with. Only for mode=modules. Default: 500",
  34. "type": "number"
  35. },
  36. "profile": {
  37. "description": "Collect profile data for progress steps. Default: false",
  38. "enum": [true, false, null]
  39. }
  40. }
  41. }
  42. },
  43. "title": "ProgressPluginArgument",
  44. "oneOf": [
  45. {
  46. "$ref": "#/definitions/ProgressPluginOptions"
  47. },
  48. {
  49. "$ref": "#/definitions/HandlerFunction"
  50. }
  51. ]
  52. }