Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

mock.ts 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. const tools = [
  2. {
  3. author: 'Novice',
  4. name: 'NOTION_ADD_PAGE_CONTENT',
  5. label: {
  6. en_US: 'NOTION_ADD_PAGE_CONTENT',
  7. zh_Hans: 'NOTION_ADD_PAGE_CONTENT',
  8. pt_BR: 'NOTION_ADD_PAGE_CONTENT',
  9. ja_JP: 'NOTION_ADD_PAGE_CONTENT',
  10. },
  11. description: {
  12. en_US: 'Adds a single content block to a notion page. multiple calls needed for multiple blocks. note: only supports adding to notion pages. blocks that can contain children: - page (any block type) - toggle (any nested content) - to-do (nested to-dos/blocks) - bulleted list (nested lists/blocks) - numbered list (nested lists/blocks) - callout (child blocks) - quote (nested blocks)',
  13. zh_Hans: 'Adds a single content block to a notion page. multiple calls needed for multiple blocks. note: only supports adding to notion pages. blocks that can contain children: - page (any block type) - toggle (any nested content) - to-do (nested to-dos/blocks) - bulleted list (nested lists/blocks) - numbered list (nested lists/blocks) - callout (child blocks) - quote (nested blocks)',
  14. pt_BR: 'Adds a single content block to a notion page. multiple calls needed for multiple blocks. note: only supports adding to notion pages. blocks that can contain children: - page (any block type) - toggle (any nested content) - to-do (nested to-dos/blocks) - bulleted list (nested lists/blocks) - numbered list (nested lists/blocks) - callout (child blocks) - quote (nested blocks)',
  15. ja_JP: 'Adds a single content block to a notion page. multiple calls needed for multiple blocks. note: only supports adding to notion pages. blocks that can contain children: - page (any block type) - toggle (any nested content) - to-do (nested to-dos/blocks) - bulleted list (nested lists/blocks) - numbered list (nested lists/blocks) - callout (child blocks) - quote (nested blocks)',
  16. },
  17. parameters: [
  18. {
  19. name: 'after',
  20. label: {
  21. en_US: 'after',
  22. zh_Hans: 'after',
  23. pt_BR: 'after',
  24. ja_JP: 'after',
  25. },
  26. placeholder: null,
  27. scope: null,
  28. auto_generate: null,
  29. template: null,
  30. required: false,
  31. default: null,
  32. min: null,
  33. max: null,
  34. precision: null,
  35. options: [],
  36. type: 'string',
  37. human_description: {
  38. en_US: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',
  39. zh_Hans: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',
  40. pt_BR: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',
  41. ja_JP: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',
  42. },
  43. form: 'llm',
  44. llm_description: 'The ID of the existing block that the new block should be appended after. If not provided, content will be appended at the end of the page.',
  45. },
  46. {
  47. name: 'content_block',
  48. label: {
  49. en_US: 'content_block',
  50. zh_Hans: 'content_block',
  51. pt_BR: 'content_block',
  52. ja_JP: 'content_block',
  53. },
  54. placeholder: null,
  55. scope: null,
  56. auto_generate: null,
  57. template: null,
  58. required: false,
  59. default: null,
  60. min: null,
  61. max: null,
  62. precision: null,
  63. options: [],
  64. type: 'string',
  65. human_description: {
  66. en_US: 'Child content to append to a page.',
  67. zh_Hans: 'Child content to append to a page.',
  68. pt_BR: 'Child content to append to a page.',
  69. ja_JP: 'Child content to append to a page.',
  70. },
  71. form: 'llm',
  72. llm_description: 'Child content to append to a page.',
  73. },
  74. {
  75. name: 'parent_block_id',
  76. label: {
  77. en_US: 'parent_block_id',
  78. zh_Hans: 'parent_block_id',
  79. pt_BR: 'parent_block_id',
  80. ja_JP: 'parent_block_id',
  81. },
  82. placeholder: null,
  83. scope: null,
  84. auto_generate: null,
  85. template: null,
  86. required: false,
  87. default: null,
  88. min: null,
  89. max: null,
  90. precision: null,
  91. options: [],
  92. type: 'string',
  93. human_description: {
  94. en_US: 'The ID of the page which the children will be added.',
  95. zh_Hans: 'The ID of the page which the children will be added.',
  96. pt_BR: 'The ID of the page which the children will be added.',
  97. ja_JP: 'The ID of the page which the children will be added.',
  98. },
  99. form: 'llm',
  100. llm_description: 'The ID of the page which the children will be added.',
  101. },
  102. ],
  103. labels: [],
  104. output_schema: null,
  105. },
  106. ]
  107. export const listData = [
  108. {
  109. id: 'fdjklajfkljadslf111',
  110. author: 'KVOJJJin',
  111. name: 'GOGOGO',
  112. icon: 'https://cloud.dify.dev/console/api/workspaces/694cc430-fa36-4458-86a0-4a98c09c4684/model-providers/langgenius/openai/openai/icon_small/en_US',
  113. server_url: 'https://mcp.composio.dev/notion/****/abc',
  114. type: 'mcp',
  115. is_team_authorization: true,
  116. tools,
  117. update_elapsed_time: 1744793369,
  118. label: {
  119. en_US: 'GOGOGO',
  120. zh_Hans: 'GOGOGO',
  121. },
  122. },
  123. {
  124. id: 'fdjklajfkljadslf222',
  125. author: 'KVOJJJin',
  126. name: 'GOGOGO2',
  127. icon: 'https://cloud.dify.dev/console/api/workspaces/694cc430-fa36-4458-86a0-4a98c09c4684/model-providers/langgenius/openai/openai/icon_small/en_US',
  128. server_url: 'https://mcp.composio.dev/notion/****/abc',
  129. type: 'mcp',
  130. is_team_authorization: false,
  131. tools: [],
  132. update_elapsed_time: 1744793369,
  133. label: {
  134. en_US: 'GOGOGO2',
  135. zh_Hans: 'GOGOGO2',
  136. },
  137. },
  138. {
  139. id: 'fdjklajfkljadslf333',
  140. author: 'KVOJJJin',
  141. name: 'GOGOGO3',
  142. icon: 'https://cloud.dify.dev/console/api/workspaces/694cc430-fa36-4458-86a0-4a98c09c4684/model-providers/langgenius/openai/openai/icon_small/en_US',
  143. server_url: 'https://mcp.composio.dev/notion/****/abc',
  144. type: 'mcp',
  145. is_team_authorization: true,
  146. tools,
  147. update_elapsed_time: 1744793369,
  148. label: {
  149. en_US: 'GOGOGO3',
  150. zh_Hans: 'GOGOGO3',
  151. },
  152. },
  153. ]