Skip to content

Commit 42cc809

Browse files
committed
document input types
1 parent 99d172b commit 42cc809

File tree

1 file changed

+108
-0
lines changed

1 file changed

+108
-0
lines changed

dashjoin-docs/llms/input.json

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,113 @@
5656
"options": "['one', 'two', 'three']"
5757
}
5858
}
59+
],
60+
"key value": [
61+
{
62+
"title": "key value input",
63+
"description": "key value inputs display a two column table to enter keys and values. Returns a JSON object",
64+
"code": {
65+
"widget": "key value"
66+
}
67+
}
68+
],
69+
"password": [
70+
{
71+
"title": "password input",
72+
"description": "Shows a password input field",
73+
"code": {
74+
"widget": "password"
75+
}
76+
}
77+
],
78+
"textarea": [
79+
{
80+
"title": "textarea input",
81+
"description": "Shows a multi line input field (textarea)",
82+
"code": {
83+
"widget": "textarea"
84+
}
85+
}
86+
],
87+
"date": [
88+
{
89+
"title": "date input",
90+
"description": "Shows a date picker input. Returns an ISO 8601 date string with the selected date at midnight",
91+
"code": {
92+
"widget": "date"
93+
}
94+
}
95+
],
96+
"time": [
97+
{
98+
"title": "time input",
99+
"description": "Shows a time picker input. Returns a ISO 8601 date string with the current day and the selected time",
100+
"code": {
101+
"widget": "time"
102+
}
103+
}
104+
],
105+
"datetime": [
106+
{
107+
"title": "datetime input",
108+
"description": "Shows a datetime picker input",
109+
"code": {
110+
"widget": "datetime"
111+
}
112+
}
113+
],
114+
"file": [
115+
{
116+
"title": "file input",
117+
"description": "Allows uploading a file. returns the file contents",
118+
"code": {
119+
"widget": "file"
120+
}
121+
}
122+
],
123+
"binary file": [
124+
{
125+
"title": "binary file input",
126+
"description": "Allows uploading a file. returns the file contents as a base 64 encoded data URL",
127+
"code": {
128+
"widget": " binary file"
129+
}
130+
}
131+
],
132+
"file with metadata": [
133+
{
134+
"title": "file with metadata input",
135+
"description": "Allows uploading a file. returns an object with name, lastModified, size, type, and value (containing the file contents)",
136+
"code": {
137+
"widget": " file with metadata"
138+
}
139+
}
140+
],
141+
"binary file with metadata": [
142+
{
143+
"title": "binary file with metadata input",
144+
"description": "Allows uploading a file. returns an object with name, lastModified, size, type, and value (containing the file contents as a base 64 encoded data URL)",
145+
"code": {
146+
"widget": " binary file with metadata"
147+
}
148+
}
149+
],
150+
"voice": [
151+
{
152+
"title": "voice input",
153+
"description": "Shows a text input field with a voice option",
154+
"code": {
155+
"widget": " voice"
156+
}
157+
}
158+
],
159+
"qrcode": [
160+
{
161+
"title": "qrcode input",
162+
"description": "Allows scanning a QR Code into the form field",
163+
"code": {
164+
"widget": " qrcode"
165+
}
166+
}
59167
]
60168
}

0 commit comments

Comments
 (0)