chore: add SpeakerDeck and video validation
This commit is contained in:
parent
17803091cf
commit
61d329e87c
|
@ -29,9 +29,16 @@ const talkCollection = defineCollection({
|
|||
name: z.string(),
|
||||
online: z.boolean().optional(),
|
||||
})),
|
||||
speakerdeck: z.object({
|
||||
id: z.string(),
|
||||
ratio: z.string(),
|
||||
url: z.string(),
|
||||
}).optional(),
|
||||
title: z.string(),
|
||||
// TODO: add SpeakerDeck
|
||||
// TODO: add Video
|
||||
video: z.object({
|
||||
id: z.string(),
|
||||
type: z.enum(['vimeo', 'youtube']),
|
||||
}).or(z.null()).optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ description: A short talk on using reStructuredText and rst2pdf to build present
|
|||
speakerdeck:
|
||||
id: 80498c7b5e7448f194091461cb14f1c1
|
||||
ratio: "1.77777777777778"
|
||||
url: https://speakerdeck.com/opdavies/building-and-presenting-slide-decks-with-rst2pdf
|
||||
|
||||
video:
|
||||
id: KZ89tGG-p6M
|
||||
|
|
|
@ -7,9 +7,7 @@ speakerdeck:
|
|||
ratio: "1.37081659973226"
|
||||
url: https://speakerdeck.com/opdavies/configuring-all-the-things-in-drupal-8
|
||||
|
||||
video:
|
||||
type: ~
|
||||
id: ~
|
||||
video: ~
|
||||
|
||||
events:
|
||||
- name: Drupal Bristol
|
||||
|
|
|
@ -4,6 +4,7 @@ description: A crash course in developing PHP packages and Drupal 8 modules, bas
|
|||
speakerdeck:
|
||||
id: 6e42ae9620bb4e91b3955f8c30d66934
|
||||
ratio: "1.77777777777778"
|
||||
url: https://speakerdeck.com/opdavies/having-fun-with-drupal-8-php-libraries-and-the-drupal-dot-org-api
|
||||
image:
|
||||
url: /images/talks/having-fun-drupalorg-api.png
|
||||
width: 2000
|
||||
|
|
|
@ -3,7 +3,8 @@ title: An introduction to mob programming
|
|||
description: ''
|
||||
speakerdeck:
|
||||
id: f37b16f915d64bc0b4a20f9f965e5353
|
||||
ratio: 1.77725118483412
|
||||
ratio: '1.77725118483412'
|
||||
url: https://speakerdeck.com/opdavies/an-introduction-to-mob-programming
|
||||
events:
|
||||
- name: PHP South Wales
|
||||
location: Cardiff, Wales
|
||||
|
|
|
@ -5,9 +5,7 @@ speakerdeck:
|
|||
id: 3f66c48653f44ed4867fc3cc05c1db06
|
||||
ratio: "1.77777777777778"
|
||||
url: https://speakerdeck.com/opdavies/out-of-the-box-initiative-update
|
||||
video:
|
||||
type: youtube
|
||||
id: ~
|
||||
video: ~
|
||||
events:
|
||||
- name: Drupal Bristol
|
||||
location: Bristol, UK
|
||||
|
|
|
@ -3,7 +3,7 @@ title: So, what is this Drupal thing?
|
|||
description: My first talk, where I talk about Drupal, what it is and what it can do.
|
||||
video:
|
||||
type: vimeo
|
||||
id: 49827006
|
||||
id: '49827006'
|
||||
events:
|
||||
- name: unified.diff
|
||||
location: Cardiff, UK
|
||||
|
|
|
@ -4,6 +4,7 @@ description: An introduction to PHP, presented to the Swansea Software Developme
|
|||
speakerdeck:
|
||||
id: fe360f1030f34bdb9eb14cdab907bb3c
|
||||
ratio: "1.78343949044586"
|
||||
url: https://speakerdeck.com/opdavies/things-you-should-know-about-php-a58cd83b-e10c-40df-9ab4-3ed5d55827e7
|
||||
video:
|
||||
id: NH1mVSwCzWs
|
||||
type: youtube
|
||||
|
|
Loading…
Reference in a new issue