Files
dify-plugin-daemon/cmd/commandline/plugin/templates/python/datasource_provider.yaml
crazywoola dbbc4a29cc 454 bump cli template (#455)
* feat: update template

* feat: update ja_JP

* feat: update GUIDE.md
2025-09-22 14:41:47 +08:00

64 lines
2.2 KiB
YAML

identity:
author: "{{ .Author }}"
name: "{{ .PluginName }}"
label:
en_US: "{{ .PluginName }}"
zh_Hans: "{{ .PluginName }}"
pt_BR: "{{ .PluginName }}"
ja_JP: "{{ .PluginName }}"
description:
en_US: "{{ .PluginDescription }}"
zh_Hans: "{{ .PluginDescription }}"
pt_BR: "{{ .PluginDescription }}"
ja_JP: "{{ .PluginDescription }}"
icon: "icon.svg"
provider_type: online_drive # online_document, website_crawl
#########################################################################################
# If you want to support OAuth, you can uncomment the following code.
#########################################################################################
# oauth_schema:
# client_schema:
# - name: "client_id"
# type: "secret-input"
# required: true
# url: https://example.com/oauth/authorize
# placeholder:
# en_US: "Please input your Client ID"
# zh_Hans: "请输入你的 Client ID"
# pt_BR: "Insira seu Client ID"
# help:
# en_US: "Client ID is used to authenticate requests to the example.com API."
# zh_Hans: "Client ID 用于认证请求到 example.com API。"
# pt_BR: "Client ID é usado para autenticar solicitações à API do example.com."
# label:
# zh_Hans: "Client ID"
# en_US: "Client ID"
# - name: "client_secret"
# type: "secret-input"
# required: true
# url: https://example.com/oauth/authorize
# placeholder:
# en_US: "Please input your Client Secret"
# zh_Hans: "请输入你的 Client Secret"
# pt_BR: "Insira seu Client Secret"
# help:
# en_US: "Client Secret is used to authenticate requests to the example.com API."
# zh_Hans: "Client Secret 用于认证请求到 example.com API。"
# pt_BR: "Client Secret é usado para autenticar solicitações à API do example.com."
# label:
# zh_Hans: "Client Secret"
# en_US: "Client Secret"
# credentials_schema:
# - name: "access_token"
# type: "secret-input"
# label:
# zh_Hans: "Access Token"
# en_US: "Access Token"
datasources:
- datasources/{{ .PluginName }}.yaml
extra:
python:
source: provider/{{ .PluginName }}.py