wip
This commit is contained in:
parent
9bf5dc67f5
commit
17d62b689d
6 changed files with 215 additions and 4 deletions
|
@ -24,6 +24,12 @@ export class ClipRepository extends Repository<Clip> {
|
|||
isPublic: clip.isPublic,
|
||||
});
|
||||
}
|
||||
|
||||
public packMany(
|
||||
clips: Clip[],
|
||||
) {
|
||||
return Promise.all(clips.map(x => this.pack(x)));
|
||||
}
|
||||
}
|
||||
|
||||
export const packedClipSchema = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue