@fils/sanity-components 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -112,6 +112,7 @@ export const VideoFileObject = defineType({
|
|
|
112
112
|
defineField({
|
|
113
113
|
name: 'video',
|
|
114
114
|
type: 'file',
|
|
115
|
+
title: 'File',
|
|
115
116
|
options: {
|
|
116
117
|
accept: "video/mp4, video/webm"
|
|
117
118
|
}
|
|
@@ -140,7 +141,9 @@ export const VideoURLObject = defineType({
|
|
|
140
141
|
fields: [
|
|
141
142
|
defineField({
|
|
142
143
|
name: 'video',
|
|
143
|
-
type: 'url'
|
|
144
|
+
type: 'url',
|
|
145
|
+
title: "URL",
|
|
146
|
+
description: "Paste your URL from Vimeo or similar here."
|
|
144
147
|
}),
|
|
145
148
|
defineField({
|
|
146
149
|
name: 'image',
|
|
@@ -163,6 +166,7 @@ export const VideoFileNoThumb = defineType({
|
|
|
163
166
|
defineField({
|
|
164
167
|
name: 'video',
|
|
165
168
|
type: 'file',
|
|
169
|
+
title: 'File',
|
|
166
170
|
options: {
|
|
167
171
|
accept: 'video/mp4, video/webm'
|
|
168
172
|
}
|
|
@@ -182,10 +186,9 @@ export const VideoURLNoThumb = defineType({
|
|
|
182
186
|
fields: [
|
|
183
187
|
defineField({
|
|
184
188
|
name: 'video',
|
|
185
|
-
type: '
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
+
type: 'url',
|
|
190
|
+
title: "URL",
|
|
191
|
+
description: "Paste your URL from Vimeo or similar here."
|
|
189
192
|
})
|
|
190
193
|
],
|
|
191
194
|
components: {
|
package/package.json
CHANGED
|
@@ -117,6 +117,7 @@ export const VideoFileObject = defineType({
|
|
|
117
117
|
defineField({
|
|
118
118
|
name: 'video',
|
|
119
119
|
type: 'file',
|
|
120
|
+
title: 'File',
|
|
120
121
|
options: {
|
|
121
122
|
accept: "video/mp4, video/webm"
|
|
122
123
|
}
|
|
@@ -146,7 +147,9 @@ export const VideoURLObject = defineType({
|
|
|
146
147
|
fields: [
|
|
147
148
|
defineField({
|
|
148
149
|
name: 'video',
|
|
149
|
-
type: 'url'
|
|
150
|
+
type: 'url',
|
|
151
|
+
title: "URL",
|
|
152
|
+
description: "Paste your URL from Vimeo or similar here."
|
|
150
153
|
}),
|
|
151
154
|
defineField({
|
|
152
155
|
name: 'image',
|
|
@@ -170,6 +173,7 @@ export const VideoFileNoThumb = defineType({
|
|
|
170
173
|
defineField({
|
|
171
174
|
name: 'video',
|
|
172
175
|
type: 'file',
|
|
176
|
+
title: 'File',
|
|
173
177
|
options: {
|
|
174
178
|
accept: 'video/mp4, video/webm'
|
|
175
179
|
}
|
|
@@ -190,10 +194,9 @@ export const VideoURLNoThumb = defineType({
|
|
|
190
194
|
fields: [
|
|
191
195
|
defineField({
|
|
192
196
|
name: 'video',
|
|
193
|
-
type: '
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
197
|
+
type: 'url',
|
|
198
|
+
title: "URL",
|
|
199
|
+
description: "Paste your URL from Vimeo or similar here."
|
|
197
200
|
})
|
|
198
201
|
],
|
|
199
202
|
components: {
|