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:
123
www/app/api/schemas/$GetTranscript.ts
Normal file
123
www/app/api/schemas/$GetTranscript.ts
Normal file
@@ -0,0 +1,123 @@
|
||||
export const $GetTranscript = {
|
||||
properties: {
|
||||
id: {
|
||||
type: "string",
|
||||
isRequired: true,
|
||||
},
|
||||
user_id: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "string",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
name: {
|
||||
type: "string",
|
||||
isRequired: true,
|
||||
},
|
||||
status: {
|
||||
type: "string",
|
||||
isRequired: true,
|
||||
},
|
||||
locked: {
|
||||
type: "boolean",
|
||||
isRequired: true,
|
||||
},
|
||||
duration: {
|
||||
type: "number",
|
||||
isRequired: true,
|
||||
},
|
||||
title: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "string",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
short_summary: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "string",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
long_summary: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "string",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
created_at: {
|
||||
type: "string",
|
||||
isRequired: true,
|
||||
format: "date-time",
|
||||
},
|
||||
share_mode: {
|
||||
type: "string",
|
||||
},
|
||||
source_language: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "string",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
target_language: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "string",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
participants: {
|
||||
type: "any-of",
|
||||
contains: [
|
||||
{
|
||||
type: "array",
|
||||
contains: {
|
||||
type: "TranscriptParticipant",
|
||||
},
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
isRequired: true,
|
||||
},
|
||||
reviewed: {
|
||||
type: "boolean",
|
||||
isRequired: true,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
Reference in New Issue
Block a user