mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
Migrate to openapi-ts generator
This commit is contained in:
42
www/app/api/schemas/$GetTranscriptTopic.ts
Normal file
42
www/app/api/schemas/$GetTranscriptTopic.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
export const $GetTranscriptTopic = {
|
||||
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",
|
||||
},
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
Reference in New Issue
Block a user