mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Migrate to openapi-ts generator
This commit is contained in:
48
www/app/api/schemas/$GetTranscriptTopicWithWords.ts
Normal file
48
www/app/api/schemas/$GetTranscriptTopicWithWords.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
export const $GetTranscriptTopicWithWords = {
|
||||
properties: {
|
||||
id: {
|
||||
type: "string",
|
||||
isRequired: true,
|
||||
},
|
||||
title: {
|
||||
type: "string",
|
||||
isRequired: true,
|
||||
},
|
||||
summary: {
|
||||
type: "string",
|
||||
isRequired: true,
|
||||
},
|
||||
timestamp: {
|
||||
type: "number",
|
||||
isRequired: true,
|
||||
},
|
||||
duration: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "number",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
transcript: {
|
||||
type: "string",
|
||||
isRequired: true,
|
||||
},
|
||||
segments: {
|
||||
type: "array",
|
||||
contains: {
|
||||
type: "GetTranscriptSegmentTopic",
|
||||
},
|
||||
},
|
||||
words: {
|
||||
type: "array",
|
||||
contains: {
|
||||
type: "Word",
|
||||
},
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
Reference in New Issue
Block a user