Skip to content

Commit

Permalink
Merge pull request #17 from RadarDAO-xyz/feat/add-video-id
Browse files Browse the repository at this point in the history
feat: add video id
  • Loading branch information
marcuspang authored Sep 28, 2023
2 parents 48188ed + 4ab4473 commit afc492e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/models/Project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export interface IProject {
description: string;
thumbnail?: string;
video_url: string;
// TODO: make required once all videos are on IPFS
video_id?: string;
tldr: string;
brief: string;
tags: string[];
Expand Down Expand Up @@ -99,6 +101,10 @@ const projectSchema = new Schema<IProject, ProjectModel, IProjectMethods>(
type: String,
required: true
},
video_id: {
type: String
// TODO: make required once all videos are on IPFS
},
tldr: {
type: String,
required: true
Expand Down

0 comments on commit afc492e

Please sign in to comment.