classes.ts 116 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447
  1. // This file has been auto-generated by Warthog. Do not update directly as it
  2. // will be re-written. If you need to change this file, update models or add
  3. // new TypeGraphQL objects
  4. // prettier-ignore
  5. // @ts-ignore
  6. import { DateResolver as Date } from 'graphql-scalars';
  7. // prettier-ignore
  8. // @ts-ignore
  9. import { GraphQLID as ID } from 'graphql';
  10. // prettier-ignore
  11. // @ts-ignore
  12. import { ArgsType, Field as TypeGraphQLField, Float, InputType as TypeGraphQLInputType, Int } from 'type-graphql';
  13. // prettier-ignore
  14. // @ts-ignore
  15. import { registerEnumType, GraphQLISODateTime as DateTime } from "type-graphql";
  16. import * as BN from "bn.js";
  17. // prettier-ignore
  18. // @ts-ignore eslint-disable-next-line @typescript-eslint/no-var-requires
  19. const { GraphQLJSONObject } = require('graphql-type-json');
  20. // prettier-ignore
  21. // @ts-ignore
  22. import { BaseWhereInput, JsonObject, PaginationArgs, DateOnlyString, DateTimeString, BigInt, Bytes } from 'warthog';
  23. import { WorkerType } from "../src/modules/worker/worker.model";
  24. import { AssetAvailability } from "../src/modules/video/video.model";
  25. import { LiaisonJudgement } from "../src/modules/data-object/data-object.model";
  26. import { MembershipEntryMethod } from "../src/modules/membership/membership.model";
  27. // @ts-ignore
  28. import { CuratorGroup } from "../src/modules/curator-group/curator-group.model";
  29. // @ts-ignore
  30. import { ChannelCategory } from "../src/modules/channel-category/channel-category.model";
  31. // @ts-ignore
  32. import { Worker } from "../src/modules/worker/worker.model";
  33. // @ts-ignore
  34. import { VideoCategory } from "../src/modules/video-category/video-category.model";
  35. // @ts-ignore
  36. import { Language } from "../src/modules/language/language.model";
  37. // @ts-ignore
  38. import { License } from "../src/modules/license/license.model";
  39. // @ts-ignore
  40. import { VideoMediaEncoding } from "../src/modules/video-media-encoding/video-media-encoding.model";
  41. // @ts-ignore
  42. import { VideoMediaMetadata } from "../src/modules/video-media-metadata/video-media-metadata.model";
  43. // @ts-ignore
  44. import { Video } from "../src/modules/video/video.model";
  45. // @ts-ignore
  46. import { DataObject } from "../src/modules/data-object/data-object.model";
  47. // @ts-ignore
  48. import { Channel } from "../src/modules/channel/channel.model";
  49. // @ts-ignore
  50. import { Membership } from "../src/modules/membership/membership.model";
  51. // @ts-ignore
  52. import { NextEntityId } from "../src/modules/next-entity-id/next-entity-id.model";
  53. export enum CuratorGroupOrderByEnum {
  54. createdAt_ASC = "createdAt_ASC",
  55. createdAt_DESC = "createdAt_DESC",
  56. updatedAt_ASC = "updatedAt_ASC",
  57. updatedAt_DESC = "updatedAt_DESC",
  58. deletedAt_ASC = "deletedAt_ASC",
  59. deletedAt_DESC = "deletedAt_DESC",
  60. isActive_ASC = "isActive_ASC",
  61. isActive_DESC = "isActive_DESC"
  62. }
  63. registerEnumType(CuratorGroupOrderByEnum, {
  64. name: "CuratorGroupOrderByInput"
  65. });
  66. @TypeGraphQLInputType()
  67. export class CuratorGroupWhereInput {
  68. @TypeGraphQLField(() => ID, { nullable: true })
  69. id_eq?: string;
  70. @TypeGraphQLField(() => [ID], { nullable: true })
  71. id_in?: string[];
  72. @TypeGraphQLField(() => DateTime, { nullable: true })
  73. createdAt_eq?: Date;
  74. @TypeGraphQLField(() => DateTime, { nullable: true })
  75. createdAt_lt?: Date;
  76. @TypeGraphQLField(() => DateTime, { nullable: true })
  77. createdAt_lte?: Date;
  78. @TypeGraphQLField(() => DateTime, { nullable: true })
  79. createdAt_gt?: Date;
  80. @TypeGraphQLField(() => DateTime, { nullable: true })
  81. createdAt_gte?: Date;
  82. @TypeGraphQLField(() => ID, { nullable: true })
  83. createdById_eq?: string;
  84. @TypeGraphQLField(() => [ID], { nullable: true })
  85. createdById_in?: string[];
  86. @TypeGraphQLField(() => DateTime, { nullable: true })
  87. updatedAt_eq?: Date;
  88. @TypeGraphQLField(() => DateTime, { nullable: true })
  89. updatedAt_lt?: Date;
  90. @TypeGraphQLField(() => DateTime, { nullable: true })
  91. updatedAt_lte?: Date;
  92. @TypeGraphQLField(() => DateTime, { nullable: true })
  93. updatedAt_gt?: Date;
  94. @TypeGraphQLField(() => DateTime, { nullable: true })
  95. updatedAt_gte?: Date;
  96. @TypeGraphQLField(() => ID, { nullable: true })
  97. updatedById_eq?: string;
  98. @TypeGraphQLField(() => [ID], { nullable: true })
  99. updatedById_in?: string[];
  100. @TypeGraphQLField({ nullable: true })
  101. deletedAt_all?: Boolean;
  102. @TypeGraphQLField(() => DateTime, { nullable: true })
  103. deletedAt_eq?: Date;
  104. @TypeGraphQLField(() => DateTime, { nullable: true })
  105. deletedAt_lt?: Date;
  106. @TypeGraphQLField(() => DateTime, { nullable: true })
  107. deletedAt_lte?: Date;
  108. @TypeGraphQLField(() => DateTime, { nullable: true })
  109. deletedAt_gt?: Date;
  110. @TypeGraphQLField(() => DateTime, { nullable: true })
  111. deletedAt_gte?: Date;
  112. @TypeGraphQLField(() => ID, { nullable: true })
  113. deletedById_eq?: string;
  114. @TypeGraphQLField(() => [ID], { nullable: true })
  115. deletedById_in?: string[];
  116. @TypeGraphQLField(() => [Int], { nullable: true })
  117. curatorIds_containsAll?: [number];
  118. @TypeGraphQLField(() => [Int], { nullable: true })
  119. curatorIds_containsNone?: [number];
  120. @TypeGraphQLField(() => [Int], { nullable: true })
  121. curatorIds_containsAny?: [number];
  122. @TypeGraphQLField(() => Boolean, { nullable: true })
  123. isActive_eq?: Boolean;
  124. @TypeGraphQLField(() => [Boolean], { nullable: true })
  125. isActive_in?: Boolean[];
  126. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  127. channels_none?: ChannelWhereInput;
  128. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  129. channels_some?: ChannelWhereInput;
  130. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  131. channels_every?: ChannelWhereInput;
  132. @TypeGraphQLField(() => CuratorGroupWhereInput, { nullable: true })
  133. AND?: [CuratorGroupWhereInput];
  134. @TypeGraphQLField(() => CuratorGroupWhereInput, { nullable: true })
  135. OR?: [CuratorGroupWhereInput];
  136. }
  137. @TypeGraphQLInputType()
  138. export class CuratorGroupWhereUniqueInput {
  139. @TypeGraphQLField(() => ID)
  140. id?: string;
  141. }
  142. @TypeGraphQLInputType()
  143. export class CuratorGroupCreateInput {
  144. @TypeGraphQLField(() => [Int])
  145. curatorIds!: number[];
  146. @TypeGraphQLField()
  147. isActive!: boolean;
  148. }
  149. @TypeGraphQLInputType()
  150. export class CuratorGroupUpdateInput {
  151. @TypeGraphQLField(() => [Int], { nullable: true })
  152. curatorIds?: number[];
  153. @TypeGraphQLField({ nullable: true })
  154. isActive?: boolean;
  155. }
  156. @ArgsType()
  157. export class CuratorGroupWhereArgs extends PaginationArgs {
  158. @TypeGraphQLField(() => CuratorGroupWhereInput, { nullable: true })
  159. where?: CuratorGroupWhereInput;
  160. @TypeGraphQLField(() => CuratorGroupOrderByEnum, { nullable: true })
  161. orderBy?: CuratorGroupOrderByEnum[];
  162. }
  163. @ArgsType()
  164. export class CuratorGroupCreateManyArgs {
  165. @TypeGraphQLField(() => [CuratorGroupCreateInput])
  166. data!: CuratorGroupCreateInput[];
  167. }
  168. @ArgsType()
  169. export class CuratorGroupUpdateArgs {
  170. @TypeGraphQLField() data!: CuratorGroupUpdateInput;
  171. @TypeGraphQLField() where!: CuratorGroupWhereUniqueInput;
  172. }
  173. export enum ChannelCategoryOrderByEnum {
  174. createdAt_ASC = "createdAt_ASC",
  175. createdAt_DESC = "createdAt_DESC",
  176. updatedAt_ASC = "updatedAt_ASC",
  177. updatedAt_DESC = "updatedAt_DESC",
  178. deletedAt_ASC = "deletedAt_ASC",
  179. deletedAt_DESC = "deletedAt_DESC",
  180. name_ASC = "name_ASC",
  181. name_DESC = "name_DESC",
  182. createdInBlock_ASC = "createdInBlock_ASC",
  183. createdInBlock_DESC = "createdInBlock_DESC"
  184. }
  185. registerEnumType(ChannelCategoryOrderByEnum, {
  186. name: "ChannelCategoryOrderByInput"
  187. });
  188. @TypeGraphQLInputType()
  189. export class ChannelCategoryWhereInput {
  190. @TypeGraphQLField(() => ID, { nullable: true })
  191. id_eq?: string;
  192. @TypeGraphQLField(() => [ID], { nullable: true })
  193. id_in?: string[];
  194. @TypeGraphQLField(() => DateTime, { nullable: true })
  195. createdAt_eq?: Date;
  196. @TypeGraphQLField(() => DateTime, { nullable: true })
  197. createdAt_lt?: Date;
  198. @TypeGraphQLField(() => DateTime, { nullable: true })
  199. createdAt_lte?: Date;
  200. @TypeGraphQLField(() => DateTime, { nullable: true })
  201. createdAt_gt?: Date;
  202. @TypeGraphQLField(() => DateTime, { nullable: true })
  203. createdAt_gte?: Date;
  204. @TypeGraphQLField(() => ID, { nullable: true })
  205. createdById_eq?: string;
  206. @TypeGraphQLField(() => [ID], { nullable: true })
  207. createdById_in?: string[];
  208. @TypeGraphQLField(() => DateTime, { nullable: true })
  209. updatedAt_eq?: Date;
  210. @TypeGraphQLField(() => DateTime, { nullable: true })
  211. updatedAt_lt?: Date;
  212. @TypeGraphQLField(() => DateTime, { nullable: true })
  213. updatedAt_lte?: Date;
  214. @TypeGraphQLField(() => DateTime, { nullable: true })
  215. updatedAt_gt?: Date;
  216. @TypeGraphQLField(() => DateTime, { nullable: true })
  217. updatedAt_gte?: Date;
  218. @TypeGraphQLField(() => ID, { nullable: true })
  219. updatedById_eq?: string;
  220. @TypeGraphQLField(() => [ID], { nullable: true })
  221. updatedById_in?: string[];
  222. @TypeGraphQLField({ nullable: true })
  223. deletedAt_all?: Boolean;
  224. @TypeGraphQLField(() => DateTime, { nullable: true })
  225. deletedAt_eq?: Date;
  226. @TypeGraphQLField(() => DateTime, { nullable: true })
  227. deletedAt_lt?: Date;
  228. @TypeGraphQLField(() => DateTime, { nullable: true })
  229. deletedAt_lte?: Date;
  230. @TypeGraphQLField(() => DateTime, { nullable: true })
  231. deletedAt_gt?: Date;
  232. @TypeGraphQLField(() => DateTime, { nullable: true })
  233. deletedAt_gte?: Date;
  234. @TypeGraphQLField(() => ID, { nullable: true })
  235. deletedById_eq?: string;
  236. @TypeGraphQLField(() => [ID], { nullable: true })
  237. deletedById_in?: string[];
  238. @TypeGraphQLField({ nullable: true })
  239. name_eq?: string;
  240. @TypeGraphQLField({ nullable: true })
  241. name_contains?: string;
  242. @TypeGraphQLField({ nullable: true })
  243. name_startsWith?: string;
  244. @TypeGraphQLField({ nullable: true })
  245. name_endsWith?: string;
  246. @TypeGraphQLField(() => [String], { nullable: true })
  247. name_in?: string[];
  248. @TypeGraphQLField(() => Int, { nullable: true })
  249. createdInBlock_eq?: number;
  250. @TypeGraphQLField(() => Int, { nullable: true })
  251. createdInBlock_gt?: number;
  252. @TypeGraphQLField(() => Int, { nullable: true })
  253. createdInBlock_gte?: number;
  254. @TypeGraphQLField(() => Int, { nullable: true })
  255. createdInBlock_lt?: number;
  256. @TypeGraphQLField(() => Int, { nullable: true })
  257. createdInBlock_lte?: number;
  258. @TypeGraphQLField(() => [Int], { nullable: true })
  259. createdInBlock_in?: number[];
  260. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  261. channels_none?: ChannelWhereInput;
  262. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  263. channels_some?: ChannelWhereInput;
  264. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  265. channels_every?: ChannelWhereInput;
  266. @TypeGraphQLField(() => ChannelCategoryWhereInput, { nullable: true })
  267. AND?: [ChannelCategoryWhereInput];
  268. @TypeGraphQLField(() => ChannelCategoryWhereInput, { nullable: true })
  269. OR?: [ChannelCategoryWhereInput];
  270. }
  271. @TypeGraphQLInputType()
  272. export class ChannelCategoryWhereUniqueInput {
  273. @TypeGraphQLField(() => ID)
  274. id?: string;
  275. }
  276. @TypeGraphQLInputType()
  277. export class ChannelCategoryCreateInput {
  278. @TypeGraphQLField({ nullable: true })
  279. name?: string;
  280. @TypeGraphQLField()
  281. createdInBlock!: number;
  282. }
  283. @TypeGraphQLInputType()
  284. export class ChannelCategoryUpdateInput {
  285. @TypeGraphQLField({ nullable: true })
  286. name?: string;
  287. @TypeGraphQLField({ nullable: true })
  288. createdInBlock?: number;
  289. }
  290. @ArgsType()
  291. export class ChannelCategoryWhereArgs extends PaginationArgs {
  292. @TypeGraphQLField(() => ChannelCategoryWhereInput, { nullable: true })
  293. where?: ChannelCategoryWhereInput;
  294. @TypeGraphQLField(() => ChannelCategoryOrderByEnum, { nullable: true })
  295. orderBy?: ChannelCategoryOrderByEnum[];
  296. }
  297. @ArgsType()
  298. export class ChannelCategoryCreateManyArgs {
  299. @TypeGraphQLField(() => [ChannelCategoryCreateInput])
  300. data!: ChannelCategoryCreateInput[];
  301. }
  302. @ArgsType()
  303. export class ChannelCategoryUpdateArgs {
  304. @TypeGraphQLField() data!: ChannelCategoryUpdateInput;
  305. @TypeGraphQLField() where!: ChannelCategoryWhereUniqueInput;
  306. }
  307. export enum DataObjectOwnerChannelOrderByEnum {
  308. createdAt_ASC = "createdAt_ASC",
  309. createdAt_DESC = "createdAt_DESC",
  310. updatedAt_ASC = "updatedAt_ASC",
  311. updatedAt_DESC = "updatedAt_DESC",
  312. deletedAt_ASC = "deletedAt_ASC",
  313. deletedAt_DESC = "deletedAt_DESC",
  314. channel_ASC = "channel_ASC",
  315. channel_DESC = "channel_DESC",
  316. dummy_ASC = "dummy_ASC",
  317. dummy_DESC = "dummy_DESC"
  318. }
  319. registerEnumType(DataObjectOwnerChannelOrderByEnum, {
  320. name: "DataObjectOwnerChannelOrderByInput"
  321. });
  322. @TypeGraphQLInputType()
  323. export class DataObjectOwnerChannelWhereInput {
  324. @TypeGraphQLField(() => ID, { nullable: true })
  325. id_eq?: string;
  326. @TypeGraphQLField(() => [ID], { nullable: true })
  327. id_in?: string[];
  328. @TypeGraphQLField(() => DateTime, { nullable: true })
  329. createdAt_eq?: Date;
  330. @TypeGraphQLField(() => DateTime, { nullable: true })
  331. createdAt_lt?: Date;
  332. @TypeGraphQLField(() => DateTime, { nullable: true })
  333. createdAt_lte?: Date;
  334. @TypeGraphQLField(() => DateTime, { nullable: true })
  335. createdAt_gt?: Date;
  336. @TypeGraphQLField(() => DateTime, { nullable: true })
  337. createdAt_gte?: Date;
  338. @TypeGraphQLField(() => ID, { nullable: true })
  339. createdById_eq?: string;
  340. @TypeGraphQLField(() => [ID], { nullable: true })
  341. createdById_in?: string[];
  342. @TypeGraphQLField(() => DateTime, { nullable: true })
  343. updatedAt_eq?: Date;
  344. @TypeGraphQLField(() => DateTime, { nullable: true })
  345. updatedAt_lt?: Date;
  346. @TypeGraphQLField(() => DateTime, { nullable: true })
  347. updatedAt_lte?: Date;
  348. @TypeGraphQLField(() => DateTime, { nullable: true })
  349. updatedAt_gt?: Date;
  350. @TypeGraphQLField(() => DateTime, { nullable: true })
  351. updatedAt_gte?: Date;
  352. @TypeGraphQLField(() => ID, { nullable: true })
  353. updatedById_eq?: string;
  354. @TypeGraphQLField(() => [ID], { nullable: true })
  355. updatedById_in?: string[];
  356. @TypeGraphQLField({ nullable: true })
  357. deletedAt_all?: Boolean;
  358. @TypeGraphQLField(() => DateTime, { nullable: true })
  359. deletedAt_eq?: Date;
  360. @TypeGraphQLField(() => DateTime, { nullable: true })
  361. deletedAt_lt?: Date;
  362. @TypeGraphQLField(() => DateTime, { nullable: true })
  363. deletedAt_lte?: Date;
  364. @TypeGraphQLField(() => DateTime, { nullable: true })
  365. deletedAt_gt?: Date;
  366. @TypeGraphQLField(() => DateTime, { nullable: true })
  367. deletedAt_gte?: Date;
  368. @TypeGraphQLField(() => ID, { nullable: true })
  369. deletedById_eq?: string;
  370. @TypeGraphQLField(() => [ID], { nullable: true })
  371. deletedById_in?: string[];
  372. @TypeGraphQLField(() => Int, { nullable: true })
  373. channel_eq?: number;
  374. @TypeGraphQLField(() => Int, { nullable: true })
  375. channel_gt?: number;
  376. @TypeGraphQLField(() => Int, { nullable: true })
  377. channel_gte?: number;
  378. @TypeGraphQLField(() => Int, { nullable: true })
  379. channel_lt?: number;
  380. @TypeGraphQLField(() => Int, { nullable: true })
  381. channel_lte?: number;
  382. @TypeGraphQLField(() => [Int], { nullable: true })
  383. channel_in?: number[];
  384. @TypeGraphQLField(() => Int, { nullable: true })
  385. dummy_eq?: number;
  386. @TypeGraphQLField(() => Int, { nullable: true })
  387. dummy_gt?: number;
  388. @TypeGraphQLField(() => Int, { nullable: true })
  389. dummy_gte?: number;
  390. @TypeGraphQLField(() => Int, { nullable: true })
  391. dummy_lt?: number;
  392. @TypeGraphQLField(() => Int, { nullable: true })
  393. dummy_lte?: number;
  394. @TypeGraphQLField(() => [Int], { nullable: true })
  395. dummy_in?: number[];
  396. @TypeGraphQLField(() => DataObjectOwnerChannelWhereInput, { nullable: true })
  397. AND?: [DataObjectOwnerChannelWhereInput];
  398. @TypeGraphQLField(() => DataObjectOwnerChannelWhereInput, { nullable: true })
  399. OR?: [DataObjectOwnerChannelWhereInput];
  400. }
  401. @TypeGraphQLInputType()
  402. export class DataObjectOwnerChannelWhereUniqueInput {
  403. @TypeGraphQLField(() => ID)
  404. id?: string;
  405. }
  406. @TypeGraphQLInputType()
  407. export class DataObjectOwnerChannelCreateInput {
  408. @TypeGraphQLField()
  409. channel!: number;
  410. @TypeGraphQLField({ nullable: true })
  411. dummy?: number;
  412. }
  413. @TypeGraphQLInputType()
  414. export class DataObjectOwnerChannelUpdateInput {
  415. @TypeGraphQLField({ nullable: true })
  416. channel?: number;
  417. @TypeGraphQLField({ nullable: true })
  418. dummy?: number;
  419. }
  420. @ArgsType()
  421. export class DataObjectOwnerChannelWhereArgs extends PaginationArgs {
  422. @TypeGraphQLField(() => DataObjectOwnerChannelWhereInput, { nullable: true })
  423. where?: DataObjectOwnerChannelWhereInput;
  424. @TypeGraphQLField(() => DataObjectOwnerChannelOrderByEnum, { nullable: true })
  425. orderBy?: DataObjectOwnerChannelOrderByEnum[];
  426. }
  427. @ArgsType()
  428. export class DataObjectOwnerChannelCreateManyArgs {
  429. @TypeGraphQLField(() => [DataObjectOwnerChannelCreateInput])
  430. data!: DataObjectOwnerChannelCreateInput[];
  431. }
  432. @ArgsType()
  433. export class DataObjectOwnerChannelUpdateArgs {
  434. @TypeGraphQLField() data!: DataObjectOwnerChannelUpdateInput;
  435. @TypeGraphQLField() where!: DataObjectOwnerChannelWhereUniqueInput;
  436. }
  437. export enum DataObjectOwnerCouncilOrderByEnum {
  438. createdAt_ASC = "createdAt_ASC",
  439. createdAt_DESC = "createdAt_DESC",
  440. updatedAt_ASC = "updatedAt_ASC",
  441. updatedAt_DESC = "updatedAt_DESC",
  442. deletedAt_ASC = "deletedAt_ASC",
  443. deletedAt_DESC = "deletedAt_DESC",
  444. dummy_ASC = "dummy_ASC",
  445. dummy_DESC = "dummy_DESC"
  446. }
  447. registerEnumType(DataObjectOwnerCouncilOrderByEnum, {
  448. name: "DataObjectOwnerCouncilOrderByInput"
  449. });
  450. @TypeGraphQLInputType()
  451. export class DataObjectOwnerCouncilWhereInput {
  452. @TypeGraphQLField(() => ID, { nullable: true })
  453. id_eq?: string;
  454. @TypeGraphQLField(() => [ID], { nullable: true })
  455. id_in?: string[];
  456. @TypeGraphQLField(() => DateTime, { nullable: true })
  457. createdAt_eq?: Date;
  458. @TypeGraphQLField(() => DateTime, { nullable: true })
  459. createdAt_lt?: Date;
  460. @TypeGraphQLField(() => DateTime, { nullable: true })
  461. createdAt_lte?: Date;
  462. @TypeGraphQLField(() => DateTime, { nullable: true })
  463. createdAt_gt?: Date;
  464. @TypeGraphQLField(() => DateTime, { nullable: true })
  465. createdAt_gte?: Date;
  466. @TypeGraphQLField(() => ID, { nullable: true })
  467. createdById_eq?: string;
  468. @TypeGraphQLField(() => [ID], { nullable: true })
  469. createdById_in?: string[];
  470. @TypeGraphQLField(() => DateTime, { nullable: true })
  471. updatedAt_eq?: Date;
  472. @TypeGraphQLField(() => DateTime, { nullable: true })
  473. updatedAt_lt?: Date;
  474. @TypeGraphQLField(() => DateTime, { nullable: true })
  475. updatedAt_lte?: Date;
  476. @TypeGraphQLField(() => DateTime, { nullable: true })
  477. updatedAt_gt?: Date;
  478. @TypeGraphQLField(() => DateTime, { nullable: true })
  479. updatedAt_gte?: Date;
  480. @TypeGraphQLField(() => ID, { nullable: true })
  481. updatedById_eq?: string;
  482. @TypeGraphQLField(() => [ID], { nullable: true })
  483. updatedById_in?: string[];
  484. @TypeGraphQLField({ nullable: true })
  485. deletedAt_all?: Boolean;
  486. @TypeGraphQLField(() => DateTime, { nullable: true })
  487. deletedAt_eq?: Date;
  488. @TypeGraphQLField(() => DateTime, { nullable: true })
  489. deletedAt_lt?: Date;
  490. @TypeGraphQLField(() => DateTime, { nullable: true })
  491. deletedAt_lte?: Date;
  492. @TypeGraphQLField(() => DateTime, { nullable: true })
  493. deletedAt_gt?: Date;
  494. @TypeGraphQLField(() => DateTime, { nullable: true })
  495. deletedAt_gte?: Date;
  496. @TypeGraphQLField(() => ID, { nullable: true })
  497. deletedById_eq?: string;
  498. @TypeGraphQLField(() => [ID], { nullable: true })
  499. deletedById_in?: string[];
  500. @TypeGraphQLField(() => Int, { nullable: true })
  501. dummy_eq?: number;
  502. @TypeGraphQLField(() => Int, { nullable: true })
  503. dummy_gt?: number;
  504. @TypeGraphQLField(() => Int, { nullable: true })
  505. dummy_gte?: number;
  506. @TypeGraphQLField(() => Int, { nullable: true })
  507. dummy_lt?: number;
  508. @TypeGraphQLField(() => Int, { nullable: true })
  509. dummy_lte?: number;
  510. @TypeGraphQLField(() => [Int], { nullable: true })
  511. dummy_in?: number[];
  512. @TypeGraphQLField(() => DataObjectOwnerCouncilWhereInput, { nullable: true })
  513. AND?: [DataObjectOwnerCouncilWhereInput];
  514. @TypeGraphQLField(() => DataObjectOwnerCouncilWhereInput, { nullable: true })
  515. OR?: [DataObjectOwnerCouncilWhereInput];
  516. }
  517. @TypeGraphQLInputType()
  518. export class DataObjectOwnerCouncilWhereUniqueInput {
  519. @TypeGraphQLField(() => ID)
  520. id?: string;
  521. }
  522. @TypeGraphQLInputType()
  523. export class DataObjectOwnerCouncilCreateInput {
  524. @TypeGraphQLField({ nullable: true })
  525. dummy?: number;
  526. }
  527. @TypeGraphQLInputType()
  528. export class DataObjectOwnerCouncilUpdateInput {
  529. @TypeGraphQLField({ nullable: true })
  530. dummy?: number;
  531. }
  532. @ArgsType()
  533. export class DataObjectOwnerCouncilWhereArgs extends PaginationArgs {
  534. @TypeGraphQLField(() => DataObjectOwnerCouncilWhereInput, { nullable: true })
  535. where?: DataObjectOwnerCouncilWhereInput;
  536. @TypeGraphQLField(() => DataObjectOwnerCouncilOrderByEnum, { nullable: true })
  537. orderBy?: DataObjectOwnerCouncilOrderByEnum[];
  538. }
  539. @ArgsType()
  540. export class DataObjectOwnerCouncilCreateManyArgs {
  541. @TypeGraphQLField(() => [DataObjectOwnerCouncilCreateInput])
  542. data!: DataObjectOwnerCouncilCreateInput[];
  543. }
  544. @ArgsType()
  545. export class DataObjectOwnerCouncilUpdateArgs {
  546. @TypeGraphQLField() data!: DataObjectOwnerCouncilUpdateInput;
  547. @TypeGraphQLField() where!: DataObjectOwnerCouncilWhereUniqueInput;
  548. }
  549. export enum DataObjectOwnerDaoOrderByEnum {
  550. createdAt_ASC = "createdAt_ASC",
  551. createdAt_DESC = "createdAt_DESC",
  552. updatedAt_ASC = "updatedAt_ASC",
  553. updatedAt_DESC = "updatedAt_DESC",
  554. deletedAt_ASC = "deletedAt_ASC",
  555. deletedAt_DESC = "deletedAt_DESC",
  556. dao_ASC = "dao_ASC",
  557. dao_DESC = "dao_DESC"
  558. }
  559. registerEnumType(DataObjectOwnerDaoOrderByEnum, {
  560. name: "DataObjectOwnerDaoOrderByInput"
  561. });
  562. @TypeGraphQLInputType()
  563. export class DataObjectOwnerDaoWhereInput {
  564. @TypeGraphQLField(() => ID, { nullable: true })
  565. id_eq?: string;
  566. @TypeGraphQLField(() => [ID], { nullable: true })
  567. id_in?: string[];
  568. @TypeGraphQLField(() => DateTime, { nullable: true })
  569. createdAt_eq?: Date;
  570. @TypeGraphQLField(() => DateTime, { nullable: true })
  571. createdAt_lt?: Date;
  572. @TypeGraphQLField(() => DateTime, { nullable: true })
  573. createdAt_lte?: Date;
  574. @TypeGraphQLField(() => DateTime, { nullable: true })
  575. createdAt_gt?: Date;
  576. @TypeGraphQLField(() => DateTime, { nullable: true })
  577. createdAt_gte?: Date;
  578. @TypeGraphQLField(() => ID, { nullable: true })
  579. createdById_eq?: string;
  580. @TypeGraphQLField(() => [ID], { nullable: true })
  581. createdById_in?: string[];
  582. @TypeGraphQLField(() => DateTime, { nullable: true })
  583. updatedAt_eq?: Date;
  584. @TypeGraphQLField(() => DateTime, { nullable: true })
  585. updatedAt_lt?: Date;
  586. @TypeGraphQLField(() => DateTime, { nullable: true })
  587. updatedAt_lte?: Date;
  588. @TypeGraphQLField(() => DateTime, { nullable: true })
  589. updatedAt_gt?: Date;
  590. @TypeGraphQLField(() => DateTime, { nullable: true })
  591. updatedAt_gte?: Date;
  592. @TypeGraphQLField(() => ID, { nullable: true })
  593. updatedById_eq?: string;
  594. @TypeGraphQLField(() => [ID], { nullable: true })
  595. updatedById_in?: string[];
  596. @TypeGraphQLField({ nullable: true })
  597. deletedAt_all?: Boolean;
  598. @TypeGraphQLField(() => DateTime, { nullable: true })
  599. deletedAt_eq?: Date;
  600. @TypeGraphQLField(() => DateTime, { nullable: true })
  601. deletedAt_lt?: Date;
  602. @TypeGraphQLField(() => DateTime, { nullable: true })
  603. deletedAt_lte?: Date;
  604. @TypeGraphQLField(() => DateTime, { nullable: true })
  605. deletedAt_gt?: Date;
  606. @TypeGraphQLField(() => DateTime, { nullable: true })
  607. deletedAt_gte?: Date;
  608. @TypeGraphQLField(() => ID, { nullable: true })
  609. deletedById_eq?: string;
  610. @TypeGraphQLField(() => [ID], { nullable: true })
  611. deletedById_in?: string[];
  612. @TypeGraphQLField(() => Int, { nullable: true })
  613. dao_eq?: number;
  614. @TypeGraphQLField(() => Int, { nullable: true })
  615. dao_gt?: number;
  616. @TypeGraphQLField(() => Int, { nullable: true })
  617. dao_gte?: number;
  618. @TypeGraphQLField(() => Int, { nullable: true })
  619. dao_lt?: number;
  620. @TypeGraphQLField(() => Int, { nullable: true })
  621. dao_lte?: number;
  622. @TypeGraphQLField(() => [Int], { nullable: true })
  623. dao_in?: number[];
  624. @TypeGraphQLField(() => DataObjectOwnerDaoWhereInput, { nullable: true })
  625. AND?: [DataObjectOwnerDaoWhereInput];
  626. @TypeGraphQLField(() => DataObjectOwnerDaoWhereInput, { nullable: true })
  627. OR?: [DataObjectOwnerDaoWhereInput];
  628. }
  629. @TypeGraphQLInputType()
  630. export class DataObjectOwnerDaoWhereUniqueInput {
  631. @TypeGraphQLField(() => ID)
  632. id?: string;
  633. }
  634. @TypeGraphQLInputType()
  635. export class DataObjectOwnerDaoCreateInput {
  636. @TypeGraphQLField()
  637. dao!: number;
  638. }
  639. @TypeGraphQLInputType()
  640. export class DataObjectOwnerDaoUpdateInput {
  641. @TypeGraphQLField({ nullable: true })
  642. dao?: number;
  643. }
  644. @ArgsType()
  645. export class DataObjectOwnerDaoWhereArgs extends PaginationArgs {
  646. @TypeGraphQLField(() => DataObjectOwnerDaoWhereInput, { nullable: true })
  647. where?: DataObjectOwnerDaoWhereInput;
  648. @TypeGraphQLField(() => DataObjectOwnerDaoOrderByEnum, { nullable: true })
  649. orderBy?: DataObjectOwnerDaoOrderByEnum[];
  650. }
  651. @ArgsType()
  652. export class DataObjectOwnerDaoCreateManyArgs {
  653. @TypeGraphQLField(() => [DataObjectOwnerDaoCreateInput])
  654. data!: DataObjectOwnerDaoCreateInput[];
  655. }
  656. @ArgsType()
  657. export class DataObjectOwnerDaoUpdateArgs {
  658. @TypeGraphQLField() data!: DataObjectOwnerDaoUpdateInput;
  659. @TypeGraphQLField() where!: DataObjectOwnerDaoWhereUniqueInput;
  660. }
  661. export enum DataObjectOwnerMemberOrderByEnum {
  662. createdAt_ASC = "createdAt_ASC",
  663. createdAt_DESC = "createdAt_DESC",
  664. updatedAt_ASC = "updatedAt_ASC",
  665. updatedAt_DESC = "updatedAt_DESC",
  666. deletedAt_ASC = "deletedAt_ASC",
  667. deletedAt_DESC = "deletedAt_DESC",
  668. member_ASC = "member_ASC",
  669. member_DESC = "member_DESC",
  670. dummy_ASC = "dummy_ASC",
  671. dummy_DESC = "dummy_DESC"
  672. }
  673. registerEnumType(DataObjectOwnerMemberOrderByEnum, {
  674. name: "DataObjectOwnerMemberOrderByInput"
  675. });
  676. @TypeGraphQLInputType()
  677. export class DataObjectOwnerMemberWhereInput {
  678. @TypeGraphQLField(() => ID, { nullable: true })
  679. id_eq?: string;
  680. @TypeGraphQLField(() => [ID], { nullable: true })
  681. id_in?: string[];
  682. @TypeGraphQLField(() => DateTime, { nullable: true })
  683. createdAt_eq?: Date;
  684. @TypeGraphQLField(() => DateTime, { nullable: true })
  685. createdAt_lt?: Date;
  686. @TypeGraphQLField(() => DateTime, { nullable: true })
  687. createdAt_lte?: Date;
  688. @TypeGraphQLField(() => DateTime, { nullable: true })
  689. createdAt_gt?: Date;
  690. @TypeGraphQLField(() => DateTime, { nullable: true })
  691. createdAt_gte?: Date;
  692. @TypeGraphQLField(() => ID, { nullable: true })
  693. createdById_eq?: string;
  694. @TypeGraphQLField(() => [ID], { nullable: true })
  695. createdById_in?: string[];
  696. @TypeGraphQLField(() => DateTime, { nullable: true })
  697. updatedAt_eq?: Date;
  698. @TypeGraphQLField(() => DateTime, { nullable: true })
  699. updatedAt_lt?: Date;
  700. @TypeGraphQLField(() => DateTime, { nullable: true })
  701. updatedAt_lte?: Date;
  702. @TypeGraphQLField(() => DateTime, { nullable: true })
  703. updatedAt_gt?: Date;
  704. @TypeGraphQLField(() => DateTime, { nullable: true })
  705. updatedAt_gte?: Date;
  706. @TypeGraphQLField(() => ID, { nullable: true })
  707. updatedById_eq?: string;
  708. @TypeGraphQLField(() => [ID], { nullable: true })
  709. updatedById_in?: string[];
  710. @TypeGraphQLField({ nullable: true })
  711. deletedAt_all?: Boolean;
  712. @TypeGraphQLField(() => DateTime, { nullable: true })
  713. deletedAt_eq?: Date;
  714. @TypeGraphQLField(() => DateTime, { nullable: true })
  715. deletedAt_lt?: Date;
  716. @TypeGraphQLField(() => DateTime, { nullable: true })
  717. deletedAt_lte?: Date;
  718. @TypeGraphQLField(() => DateTime, { nullable: true })
  719. deletedAt_gt?: Date;
  720. @TypeGraphQLField(() => DateTime, { nullable: true })
  721. deletedAt_gte?: Date;
  722. @TypeGraphQLField(() => ID, { nullable: true })
  723. deletedById_eq?: string;
  724. @TypeGraphQLField(() => [ID], { nullable: true })
  725. deletedById_in?: string[];
  726. @TypeGraphQLField(() => Int, { nullable: true })
  727. member_eq?: number;
  728. @TypeGraphQLField(() => Int, { nullable: true })
  729. member_gt?: number;
  730. @TypeGraphQLField(() => Int, { nullable: true })
  731. member_gte?: number;
  732. @TypeGraphQLField(() => Int, { nullable: true })
  733. member_lt?: number;
  734. @TypeGraphQLField(() => Int, { nullable: true })
  735. member_lte?: number;
  736. @TypeGraphQLField(() => [Int], { nullable: true })
  737. member_in?: number[];
  738. @TypeGraphQLField(() => Int, { nullable: true })
  739. dummy_eq?: number;
  740. @TypeGraphQLField(() => Int, { nullable: true })
  741. dummy_gt?: number;
  742. @TypeGraphQLField(() => Int, { nullable: true })
  743. dummy_gte?: number;
  744. @TypeGraphQLField(() => Int, { nullable: true })
  745. dummy_lt?: number;
  746. @TypeGraphQLField(() => Int, { nullable: true })
  747. dummy_lte?: number;
  748. @TypeGraphQLField(() => [Int], { nullable: true })
  749. dummy_in?: number[];
  750. @TypeGraphQLField(() => DataObjectOwnerMemberWhereInput, { nullable: true })
  751. AND?: [DataObjectOwnerMemberWhereInput];
  752. @TypeGraphQLField(() => DataObjectOwnerMemberWhereInput, { nullable: true })
  753. OR?: [DataObjectOwnerMemberWhereInput];
  754. }
  755. @TypeGraphQLInputType()
  756. export class DataObjectOwnerMemberWhereUniqueInput {
  757. @TypeGraphQLField(() => ID)
  758. id?: string;
  759. }
  760. @TypeGraphQLInputType()
  761. export class DataObjectOwnerMemberCreateInput {
  762. @TypeGraphQLField()
  763. member!: number;
  764. @TypeGraphQLField({ nullable: true })
  765. dummy?: number;
  766. }
  767. @TypeGraphQLInputType()
  768. export class DataObjectOwnerMemberUpdateInput {
  769. @TypeGraphQLField({ nullable: true })
  770. member?: number;
  771. @TypeGraphQLField({ nullable: true })
  772. dummy?: number;
  773. }
  774. @ArgsType()
  775. export class DataObjectOwnerMemberWhereArgs extends PaginationArgs {
  776. @TypeGraphQLField(() => DataObjectOwnerMemberWhereInput, { nullable: true })
  777. where?: DataObjectOwnerMemberWhereInput;
  778. @TypeGraphQLField(() => DataObjectOwnerMemberOrderByEnum, { nullable: true })
  779. orderBy?: DataObjectOwnerMemberOrderByEnum[];
  780. }
  781. @ArgsType()
  782. export class DataObjectOwnerMemberCreateManyArgs {
  783. @TypeGraphQLField(() => [DataObjectOwnerMemberCreateInput])
  784. data!: DataObjectOwnerMemberCreateInput[];
  785. }
  786. @ArgsType()
  787. export class DataObjectOwnerMemberUpdateArgs {
  788. @TypeGraphQLField() data!: DataObjectOwnerMemberUpdateInput;
  789. @TypeGraphQLField() where!: DataObjectOwnerMemberWhereUniqueInput;
  790. }
  791. export enum DataObjectOwnerWorkingGroupOrderByEnum {
  792. createdAt_ASC = "createdAt_ASC",
  793. createdAt_DESC = "createdAt_DESC",
  794. updatedAt_ASC = "updatedAt_ASC",
  795. updatedAt_DESC = "updatedAt_DESC",
  796. deletedAt_ASC = "deletedAt_ASC",
  797. deletedAt_DESC = "deletedAt_DESC",
  798. workingGroup_ASC = "workingGroup_ASC",
  799. workingGroup_DESC = "workingGroup_DESC"
  800. }
  801. registerEnumType(DataObjectOwnerWorkingGroupOrderByEnum, {
  802. name: "DataObjectOwnerWorkingGroupOrderByInput"
  803. });
  804. @TypeGraphQLInputType()
  805. export class DataObjectOwnerWorkingGroupWhereInput {
  806. @TypeGraphQLField(() => ID, { nullable: true })
  807. id_eq?: string;
  808. @TypeGraphQLField(() => [ID], { nullable: true })
  809. id_in?: string[];
  810. @TypeGraphQLField(() => DateTime, { nullable: true })
  811. createdAt_eq?: Date;
  812. @TypeGraphQLField(() => DateTime, { nullable: true })
  813. createdAt_lt?: Date;
  814. @TypeGraphQLField(() => DateTime, { nullable: true })
  815. createdAt_lte?: Date;
  816. @TypeGraphQLField(() => DateTime, { nullable: true })
  817. createdAt_gt?: Date;
  818. @TypeGraphQLField(() => DateTime, { nullable: true })
  819. createdAt_gte?: Date;
  820. @TypeGraphQLField(() => ID, { nullable: true })
  821. createdById_eq?: string;
  822. @TypeGraphQLField(() => [ID], { nullable: true })
  823. createdById_in?: string[];
  824. @TypeGraphQLField(() => DateTime, { nullable: true })
  825. updatedAt_eq?: Date;
  826. @TypeGraphQLField(() => DateTime, { nullable: true })
  827. updatedAt_lt?: Date;
  828. @TypeGraphQLField(() => DateTime, { nullable: true })
  829. updatedAt_lte?: Date;
  830. @TypeGraphQLField(() => DateTime, { nullable: true })
  831. updatedAt_gt?: Date;
  832. @TypeGraphQLField(() => DateTime, { nullable: true })
  833. updatedAt_gte?: Date;
  834. @TypeGraphQLField(() => ID, { nullable: true })
  835. updatedById_eq?: string;
  836. @TypeGraphQLField(() => [ID], { nullable: true })
  837. updatedById_in?: string[];
  838. @TypeGraphQLField({ nullable: true })
  839. deletedAt_all?: Boolean;
  840. @TypeGraphQLField(() => DateTime, { nullable: true })
  841. deletedAt_eq?: Date;
  842. @TypeGraphQLField(() => DateTime, { nullable: true })
  843. deletedAt_lt?: Date;
  844. @TypeGraphQLField(() => DateTime, { nullable: true })
  845. deletedAt_lte?: Date;
  846. @TypeGraphQLField(() => DateTime, { nullable: true })
  847. deletedAt_gt?: Date;
  848. @TypeGraphQLField(() => DateTime, { nullable: true })
  849. deletedAt_gte?: Date;
  850. @TypeGraphQLField(() => ID, { nullable: true })
  851. deletedById_eq?: string;
  852. @TypeGraphQLField(() => [ID], { nullable: true })
  853. deletedById_in?: string[];
  854. @TypeGraphQLField(() => Int, { nullable: true })
  855. workingGroup_eq?: number;
  856. @TypeGraphQLField(() => Int, { nullable: true })
  857. workingGroup_gt?: number;
  858. @TypeGraphQLField(() => Int, { nullable: true })
  859. workingGroup_gte?: number;
  860. @TypeGraphQLField(() => Int, { nullable: true })
  861. workingGroup_lt?: number;
  862. @TypeGraphQLField(() => Int, { nullable: true })
  863. workingGroup_lte?: number;
  864. @TypeGraphQLField(() => [Int], { nullable: true })
  865. workingGroup_in?: number[];
  866. @TypeGraphQLField(() => DataObjectOwnerWorkingGroupWhereInput, {
  867. nullable: true
  868. })
  869. AND?: [DataObjectOwnerWorkingGroupWhereInput];
  870. @TypeGraphQLField(() => DataObjectOwnerWorkingGroupWhereInput, {
  871. nullable: true
  872. })
  873. OR?: [DataObjectOwnerWorkingGroupWhereInput];
  874. }
  875. @TypeGraphQLInputType()
  876. export class DataObjectOwnerWorkingGroupWhereUniqueInput {
  877. @TypeGraphQLField(() => ID)
  878. id?: string;
  879. }
  880. @TypeGraphQLInputType()
  881. export class DataObjectOwnerWorkingGroupCreateInput {
  882. @TypeGraphQLField()
  883. workingGroup!: number;
  884. }
  885. @TypeGraphQLInputType()
  886. export class DataObjectOwnerWorkingGroupUpdateInput {
  887. @TypeGraphQLField({ nullable: true })
  888. workingGroup?: number;
  889. }
  890. @ArgsType()
  891. export class DataObjectOwnerWorkingGroupWhereArgs extends PaginationArgs {
  892. @TypeGraphQLField(() => DataObjectOwnerWorkingGroupWhereInput, {
  893. nullable: true
  894. })
  895. where?: DataObjectOwnerWorkingGroupWhereInput;
  896. @TypeGraphQLField(() => DataObjectOwnerWorkingGroupOrderByEnum, {
  897. nullable: true
  898. })
  899. orderBy?: DataObjectOwnerWorkingGroupOrderByEnum[];
  900. }
  901. @ArgsType()
  902. export class DataObjectOwnerWorkingGroupCreateManyArgs {
  903. @TypeGraphQLField(() => [DataObjectOwnerWorkingGroupCreateInput])
  904. data!: DataObjectOwnerWorkingGroupCreateInput[];
  905. }
  906. @ArgsType()
  907. export class DataObjectOwnerWorkingGroupUpdateArgs {
  908. @TypeGraphQLField() data!: DataObjectOwnerWorkingGroupUpdateInput;
  909. @TypeGraphQLField() where!: DataObjectOwnerWorkingGroupWhereUniqueInput;
  910. }
  911. export enum WorkerOrderByEnum {
  912. createdAt_ASC = "createdAt_ASC",
  913. createdAt_DESC = "createdAt_DESC",
  914. updatedAt_ASC = "updatedAt_ASC",
  915. updatedAt_DESC = "updatedAt_DESC",
  916. deletedAt_ASC = "deletedAt_ASC",
  917. deletedAt_DESC = "deletedAt_DESC",
  918. isActive_ASC = "isActive_ASC",
  919. isActive_DESC = "isActive_DESC",
  920. workerId_ASC = "workerId_ASC",
  921. workerId_DESC = "workerId_DESC",
  922. type_ASC = "type_ASC",
  923. type_DESC = "type_DESC",
  924. metadata_ASC = "metadata_ASC",
  925. metadata_DESC = "metadata_DESC"
  926. }
  927. registerEnumType(WorkerOrderByEnum, {
  928. name: "WorkerOrderByInput"
  929. });
  930. @TypeGraphQLInputType()
  931. export class WorkerWhereInput {
  932. @TypeGraphQLField(() => ID, { nullable: true })
  933. id_eq?: string;
  934. @TypeGraphQLField(() => [ID], { nullable: true })
  935. id_in?: string[];
  936. @TypeGraphQLField(() => DateTime, { nullable: true })
  937. createdAt_eq?: Date;
  938. @TypeGraphQLField(() => DateTime, { nullable: true })
  939. createdAt_lt?: Date;
  940. @TypeGraphQLField(() => DateTime, { nullable: true })
  941. createdAt_lte?: Date;
  942. @TypeGraphQLField(() => DateTime, { nullable: true })
  943. createdAt_gt?: Date;
  944. @TypeGraphQLField(() => DateTime, { nullable: true })
  945. createdAt_gte?: Date;
  946. @TypeGraphQLField(() => ID, { nullable: true })
  947. createdById_eq?: string;
  948. @TypeGraphQLField(() => [ID], { nullable: true })
  949. createdById_in?: string[];
  950. @TypeGraphQLField(() => DateTime, { nullable: true })
  951. updatedAt_eq?: Date;
  952. @TypeGraphQLField(() => DateTime, { nullable: true })
  953. updatedAt_lt?: Date;
  954. @TypeGraphQLField(() => DateTime, { nullable: true })
  955. updatedAt_lte?: Date;
  956. @TypeGraphQLField(() => DateTime, { nullable: true })
  957. updatedAt_gt?: Date;
  958. @TypeGraphQLField(() => DateTime, { nullable: true })
  959. updatedAt_gte?: Date;
  960. @TypeGraphQLField(() => ID, { nullable: true })
  961. updatedById_eq?: string;
  962. @TypeGraphQLField(() => [ID], { nullable: true })
  963. updatedById_in?: string[];
  964. @TypeGraphQLField({ nullable: true })
  965. deletedAt_all?: Boolean;
  966. @TypeGraphQLField(() => DateTime, { nullable: true })
  967. deletedAt_eq?: Date;
  968. @TypeGraphQLField(() => DateTime, { nullable: true })
  969. deletedAt_lt?: Date;
  970. @TypeGraphQLField(() => DateTime, { nullable: true })
  971. deletedAt_lte?: Date;
  972. @TypeGraphQLField(() => DateTime, { nullable: true })
  973. deletedAt_gt?: Date;
  974. @TypeGraphQLField(() => DateTime, { nullable: true })
  975. deletedAt_gte?: Date;
  976. @TypeGraphQLField(() => ID, { nullable: true })
  977. deletedById_eq?: string;
  978. @TypeGraphQLField(() => [ID], { nullable: true })
  979. deletedById_in?: string[];
  980. @TypeGraphQLField(() => Boolean, { nullable: true })
  981. isActive_eq?: Boolean;
  982. @TypeGraphQLField(() => [Boolean], { nullable: true })
  983. isActive_in?: Boolean[];
  984. @TypeGraphQLField({ nullable: true })
  985. workerId_eq?: string;
  986. @TypeGraphQLField({ nullable: true })
  987. workerId_contains?: string;
  988. @TypeGraphQLField({ nullable: true })
  989. workerId_startsWith?: string;
  990. @TypeGraphQLField({ nullable: true })
  991. workerId_endsWith?: string;
  992. @TypeGraphQLField(() => [String], { nullable: true })
  993. workerId_in?: string[];
  994. @TypeGraphQLField(() => WorkerType, { nullable: true })
  995. type_eq?: WorkerType;
  996. @TypeGraphQLField(() => [WorkerType], { nullable: true })
  997. type_in?: WorkerType[];
  998. @TypeGraphQLField({ nullable: true })
  999. metadata_eq?: string;
  1000. @TypeGraphQLField({ nullable: true })
  1001. metadata_contains?: string;
  1002. @TypeGraphQLField({ nullable: true })
  1003. metadata_startsWith?: string;
  1004. @TypeGraphQLField({ nullable: true })
  1005. metadata_endsWith?: string;
  1006. @TypeGraphQLField(() => [String], { nullable: true })
  1007. metadata_in?: string[];
  1008. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  1009. dataObjects_none?: DataObjectWhereInput;
  1010. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  1011. dataObjects_some?: DataObjectWhereInput;
  1012. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  1013. dataObjects_every?: DataObjectWhereInput;
  1014. @TypeGraphQLField(() => WorkerWhereInput, { nullable: true })
  1015. AND?: [WorkerWhereInput];
  1016. @TypeGraphQLField(() => WorkerWhereInput, { nullable: true })
  1017. OR?: [WorkerWhereInput];
  1018. }
  1019. @TypeGraphQLInputType()
  1020. export class WorkerWhereUniqueInput {
  1021. @TypeGraphQLField(() => ID)
  1022. id?: string;
  1023. }
  1024. @TypeGraphQLInputType()
  1025. export class WorkerCreateInput {
  1026. @TypeGraphQLField()
  1027. isActive!: boolean;
  1028. @TypeGraphQLField()
  1029. workerId!: string;
  1030. @TypeGraphQLField(() => WorkerType)
  1031. type!: WorkerType;
  1032. @TypeGraphQLField({ nullable: true })
  1033. metadata?: string;
  1034. }
  1035. @TypeGraphQLInputType()
  1036. export class WorkerUpdateInput {
  1037. @TypeGraphQLField({ nullable: true })
  1038. isActive?: boolean;
  1039. @TypeGraphQLField({ nullable: true })
  1040. workerId?: string;
  1041. @TypeGraphQLField(() => WorkerType, { nullable: true })
  1042. type?: WorkerType;
  1043. @TypeGraphQLField({ nullable: true })
  1044. metadata?: string;
  1045. }
  1046. @ArgsType()
  1047. export class WorkerWhereArgs extends PaginationArgs {
  1048. @TypeGraphQLField(() => WorkerWhereInput, { nullable: true })
  1049. where?: WorkerWhereInput;
  1050. @TypeGraphQLField(() => WorkerOrderByEnum, { nullable: true })
  1051. orderBy?: WorkerOrderByEnum[];
  1052. }
  1053. @ArgsType()
  1054. export class WorkerCreateManyArgs {
  1055. @TypeGraphQLField(() => [WorkerCreateInput])
  1056. data!: WorkerCreateInput[];
  1057. }
  1058. @ArgsType()
  1059. export class WorkerUpdateArgs {
  1060. @TypeGraphQLField() data!: WorkerUpdateInput;
  1061. @TypeGraphQLField() where!: WorkerWhereUniqueInput;
  1062. }
  1063. export enum VideoCategoryOrderByEnum {
  1064. createdAt_ASC = "createdAt_ASC",
  1065. createdAt_DESC = "createdAt_DESC",
  1066. updatedAt_ASC = "updatedAt_ASC",
  1067. updatedAt_DESC = "updatedAt_DESC",
  1068. deletedAt_ASC = "deletedAt_ASC",
  1069. deletedAt_DESC = "deletedAt_DESC",
  1070. name_ASC = "name_ASC",
  1071. name_DESC = "name_DESC",
  1072. createdInBlock_ASC = "createdInBlock_ASC",
  1073. createdInBlock_DESC = "createdInBlock_DESC"
  1074. }
  1075. registerEnumType(VideoCategoryOrderByEnum, {
  1076. name: "VideoCategoryOrderByInput"
  1077. });
  1078. @TypeGraphQLInputType()
  1079. export class VideoCategoryWhereInput {
  1080. @TypeGraphQLField(() => ID, { nullable: true })
  1081. id_eq?: string;
  1082. @TypeGraphQLField(() => [ID], { nullable: true })
  1083. id_in?: string[];
  1084. @TypeGraphQLField(() => DateTime, { nullable: true })
  1085. createdAt_eq?: Date;
  1086. @TypeGraphQLField(() => DateTime, { nullable: true })
  1087. createdAt_lt?: Date;
  1088. @TypeGraphQLField(() => DateTime, { nullable: true })
  1089. createdAt_lte?: Date;
  1090. @TypeGraphQLField(() => DateTime, { nullable: true })
  1091. createdAt_gt?: Date;
  1092. @TypeGraphQLField(() => DateTime, { nullable: true })
  1093. createdAt_gte?: Date;
  1094. @TypeGraphQLField(() => ID, { nullable: true })
  1095. createdById_eq?: string;
  1096. @TypeGraphQLField(() => [ID], { nullable: true })
  1097. createdById_in?: string[];
  1098. @TypeGraphQLField(() => DateTime, { nullable: true })
  1099. updatedAt_eq?: Date;
  1100. @TypeGraphQLField(() => DateTime, { nullable: true })
  1101. updatedAt_lt?: Date;
  1102. @TypeGraphQLField(() => DateTime, { nullable: true })
  1103. updatedAt_lte?: Date;
  1104. @TypeGraphQLField(() => DateTime, { nullable: true })
  1105. updatedAt_gt?: Date;
  1106. @TypeGraphQLField(() => DateTime, { nullable: true })
  1107. updatedAt_gte?: Date;
  1108. @TypeGraphQLField(() => ID, { nullable: true })
  1109. updatedById_eq?: string;
  1110. @TypeGraphQLField(() => [ID], { nullable: true })
  1111. updatedById_in?: string[];
  1112. @TypeGraphQLField({ nullable: true })
  1113. deletedAt_all?: Boolean;
  1114. @TypeGraphQLField(() => DateTime, { nullable: true })
  1115. deletedAt_eq?: Date;
  1116. @TypeGraphQLField(() => DateTime, { nullable: true })
  1117. deletedAt_lt?: Date;
  1118. @TypeGraphQLField(() => DateTime, { nullable: true })
  1119. deletedAt_lte?: Date;
  1120. @TypeGraphQLField(() => DateTime, { nullable: true })
  1121. deletedAt_gt?: Date;
  1122. @TypeGraphQLField(() => DateTime, { nullable: true })
  1123. deletedAt_gte?: Date;
  1124. @TypeGraphQLField(() => ID, { nullable: true })
  1125. deletedById_eq?: string;
  1126. @TypeGraphQLField(() => [ID], { nullable: true })
  1127. deletedById_in?: string[];
  1128. @TypeGraphQLField({ nullable: true })
  1129. name_eq?: string;
  1130. @TypeGraphQLField({ nullable: true })
  1131. name_contains?: string;
  1132. @TypeGraphQLField({ nullable: true })
  1133. name_startsWith?: string;
  1134. @TypeGraphQLField({ nullable: true })
  1135. name_endsWith?: string;
  1136. @TypeGraphQLField(() => [String], { nullable: true })
  1137. name_in?: string[];
  1138. @TypeGraphQLField(() => Int, { nullable: true })
  1139. createdInBlock_eq?: number;
  1140. @TypeGraphQLField(() => Int, { nullable: true })
  1141. createdInBlock_gt?: number;
  1142. @TypeGraphQLField(() => Int, { nullable: true })
  1143. createdInBlock_gte?: number;
  1144. @TypeGraphQLField(() => Int, { nullable: true })
  1145. createdInBlock_lt?: number;
  1146. @TypeGraphQLField(() => Int, { nullable: true })
  1147. createdInBlock_lte?: number;
  1148. @TypeGraphQLField(() => [Int], { nullable: true })
  1149. createdInBlock_in?: number[];
  1150. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1151. videos_none?: VideoWhereInput;
  1152. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1153. videos_some?: VideoWhereInput;
  1154. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1155. videos_every?: VideoWhereInput;
  1156. @TypeGraphQLField(() => VideoCategoryWhereInput, { nullable: true })
  1157. AND?: [VideoCategoryWhereInput];
  1158. @TypeGraphQLField(() => VideoCategoryWhereInput, { nullable: true })
  1159. OR?: [VideoCategoryWhereInput];
  1160. }
  1161. @TypeGraphQLInputType()
  1162. export class VideoCategoryWhereUniqueInput {
  1163. @TypeGraphQLField(() => ID)
  1164. id?: string;
  1165. }
  1166. @TypeGraphQLInputType()
  1167. export class VideoCategoryCreateInput {
  1168. @TypeGraphQLField({ nullable: true })
  1169. name?: string;
  1170. @TypeGraphQLField()
  1171. createdInBlock!: number;
  1172. }
  1173. @TypeGraphQLInputType()
  1174. export class VideoCategoryUpdateInput {
  1175. @TypeGraphQLField({ nullable: true })
  1176. name?: string;
  1177. @TypeGraphQLField({ nullable: true })
  1178. createdInBlock?: number;
  1179. }
  1180. @ArgsType()
  1181. export class VideoCategoryWhereArgs extends PaginationArgs {
  1182. @TypeGraphQLField(() => VideoCategoryWhereInput, { nullable: true })
  1183. where?: VideoCategoryWhereInput;
  1184. @TypeGraphQLField(() => VideoCategoryOrderByEnum, { nullable: true })
  1185. orderBy?: VideoCategoryOrderByEnum[];
  1186. }
  1187. @ArgsType()
  1188. export class VideoCategoryCreateManyArgs {
  1189. @TypeGraphQLField(() => [VideoCategoryCreateInput])
  1190. data!: VideoCategoryCreateInput[];
  1191. }
  1192. @ArgsType()
  1193. export class VideoCategoryUpdateArgs {
  1194. @TypeGraphQLField() data!: VideoCategoryUpdateInput;
  1195. @TypeGraphQLField() where!: VideoCategoryWhereUniqueInput;
  1196. }
  1197. export enum LanguageOrderByEnum {
  1198. createdAt_ASC = "createdAt_ASC",
  1199. createdAt_DESC = "createdAt_DESC",
  1200. updatedAt_ASC = "updatedAt_ASC",
  1201. updatedAt_DESC = "updatedAt_DESC",
  1202. deletedAt_ASC = "deletedAt_ASC",
  1203. deletedAt_DESC = "deletedAt_DESC",
  1204. iso_ASC = "iso_ASC",
  1205. iso_DESC = "iso_DESC",
  1206. createdInBlock_ASC = "createdInBlock_ASC",
  1207. createdInBlock_DESC = "createdInBlock_DESC"
  1208. }
  1209. registerEnumType(LanguageOrderByEnum, {
  1210. name: "LanguageOrderByInput"
  1211. });
  1212. @TypeGraphQLInputType()
  1213. export class LanguageWhereInput {
  1214. @TypeGraphQLField(() => ID, { nullable: true })
  1215. id_eq?: string;
  1216. @TypeGraphQLField(() => [ID], { nullable: true })
  1217. id_in?: string[];
  1218. @TypeGraphQLField(() => DateTime, { nullable: true })
  1219. createdAt_eq?: Date;
  1220. @TypeGraphQLField(() => DateTime, { nullable: true })
  1221. createdAt_lt?: Date;
  1222. @TypeGraphQLField(() => DateTime, { nullable: true })
  1223. createdAt_lte?: Date;
  1224. @TypeGraphQLField(() => DateTime, { nullable: true })
  1225. createdAt_gt?: Date;
  1226. @TypeGraphQLField(() => DateTime, { nullable: true })
  1227. createdAt_gte?: Date;
  1228. @TypeGraphQLField(() => ID, { nullable: true })
  1229. createdById_eq?: string;
  1230. @TypeGraphQLField(() => [ID], { nullable: true })
  1231. createdById_in?: string[];
  1232. @TypeGraphQLField(() => DateTime, { nullable: true })
  1233. updatedAt_eq?: Date;
  1234. @TypeGraphQLField(() => DateTime, { nullable: true })
  1235. updatedAt_lt?: Date;
  1236. @TypeGraphQLField(() => DateTime, { nullable: true })
  1237. updatedAt_lte?: Date;
  1238. @TypeGraphQLField(() => DateTime, { nullable: true })
  1239. updatedAt_gt?: Date;
  1240. @TypeGraphQLField(() => DateTime, { nullable: true })
  1241. updatedAt_gte?: Date;
  1242. @TypeGraphQLField(() => ID, { nullable: true })
  1243. updatedById_eq?: string;
  1244. @TypeGraphQLField(() => [ID], { nullable: true })
  1245. updatedById_in?: string[];
  1246. @TypeGraphQLField({ nullable: true })
  1247. deletedAt_all?: Boolean;
  1248. @TypeGraphQLField(() => DateTime, { nullable: true })
  1249. deletedAt_eq?: Date;
  1250. @TypeGraphQLField(() => DateTime, { nullable: true })
  1251. deletedAt_lt?: Date;
  1252. @TypeGraphQLField(() => DateTime, { nullable: true })
  1253. deletedAt_lte?: Date;
  1254. @TypeGraphQLField(() => DateTime, { nullable: true })
  1255. deletedAt_gt?: Date;
  1256. @TypeGraphQLField(() => DateTime, { nullable: true })
  1257. deletedAt_gte?: Date;
  1258. @TypeGraphQLField(() => ID, { nullable: true })
  1259. deletedById_eq?: string;
  1260. @TypeGraphQLField(() => [ID], { nullable: true })
  1261. deletedById_in?: string[];
  1262. @TypeGraphQLField({ nullable: true })
  1263. iso_eq?: string;
  1264. @TypeGraphQLField({ nullable: true })
  1265. iso_contains?: string;
  1266. @TypeGraphQLField({ nullable: true })
  1267. iso_startsWith?: string;
  1268. @TypeGraphQLField({ nullable: true })
  1269. iso_endsWith?: string;
  1270. @TypeGraphQLField(() => [String], { nullable: true })
  1271. iso_in?: string[];
  1272. @TypeGraphQLField(() => Int, { nullable: true })
  1273. createdInBlock_eq?: number;
  1274. @TypeGraphQLField(() => Int, { nullable: true })
  1275. createdInBlock_gt?: number;
  1276. @TypeGraphQLField(() => Int, { nullable: true })
  1277. createdInBlock_gte?: number;
  1278. @TypeGraphQLField(() => Int, { nullable: true })
  1279. createdInBlock_lt?: number;
  1280. @TypeGraphQLField(() => Int, { nullable: true })
  1281. createdInBlock_lte?: number;
  1282. @TypeGraphQLField(() => [Int], { nullable: true })
  1283. createdInBlock_in?: number[];
  1284. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  1285. channellanguage_none?: ChannelWhereInput;
  1286. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  1287. channellanguage_some?: ChannelWhereInput;
  1288. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  1289. channellanguage_every?: ChannelWhereInput;
  1290. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1291. videolanguage_none?: VideoWhereInput;
  1292. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1293. videolanguage_some?: VideoWhereInput;
  1294. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1295. videolanguage_every?: VideoWhereInput;
  1296. @TypeGraphQLField(() => LanguageWhereInput, { nullable: true })
  1297. AND?: [LanguageWhereInput];
  1298. @TypeGraphQLField(() => LanguageWhereInput, { nullable: true })
  1299. OR?: [LanguageWhereInput];
  1300. }
  1301. @TypeGraphQLInputType()
  1302. export class LanguageWhereUniqueInput {
  1303. @TypeGraphQLField(() => ID)
  1304. id?: string;
  1305. }
  1306. @TypeGraphQLInputType()
  1307. export class LanguageCreateInput {
  1308. @TypeGraphQLField()
  1309. iso!: string;
  1310. @TypeGraphQLField()
  1311. createdInBlock!: number;
  1312. }
  1313. @TypeGraphQLInputType()
  1314. export class LanguageUpdateInput {
  1315. @TypeGraphQLField({ nullable: true })
  1316. iso?: string;
  1317. @TypeGraphQLField({ nullable: true })
  1318. createdInBlock?: number;
  1319. }
  1320. @ArgsType()
  1321. export class LanguageWhereArgs extends PaginationArgs {
  1322. @TypeGraphQLField(() => LanguageWhereInput, { nullable: true })
  1323. where?: LanguageWhereInput;
  1324. @TypeGraphQLField(() => LanguageOrderByEnum, { nullable: true })
  1325. orderBy?: LanguageOrderByEnum[];
  1326. }
  1327. @ArgsType()
  1328. export class LanguageCreateManyArgs {
  1329. @TypeGraphQLField(() => [LanguageCreateInput])
  1330. data!: LanguageCreateInput[];
  1331. }
  1332. @ArgsType()
  1333. export class LanguageUpdateArgs {
  1334. @TypeGraphQLField() data!: LanguageUpdateInput;
  1335. @TypeGraphQLField() where!: LanguageWhereUniqueInput;
  1336. }
  1337. export enum LicenseOrderByEnum {
  1338. createdAt_ASC = "createdAt_ASC",
  1339. createdAt_DESC = "createdAt_DESC",
  1340. updatedAt_ASC = "updatedAt_ASC",
  1341. updatedAt_DESC = "updatedAt_DESC",
  1342. deletedAt_ASC = "deletedAt_ASC",
  1343. deletedAt_DESC = "deletedAt_DESC",
  1344. code_ASC = "code_ASC",
  1345. code_DESC = "code_DESC",
  1346. attribution_ASC = "attribution_ASC",
  1347. attribution_DESC = "attribution_DESC",
  1348. customText_ASC = "customText_ASC",
  1349. customText_DESC = "customText_DESC"
  1350. }
  1351. registerEnumType(LicenseOrderByEnum, {
  1352. name: "LicenseOrderByInput"
  1353. });
  1354. @TypeGraphQLInputType()
  1355. export class LicenseWhereInput {
  1356. @TypeGraphQLField(() => ID, { nullable: true })
  1357. id_eq?: string;
  1358. @TypeGraphQLField(() => [ID], { nullable: true })
  1359. id_in?: string[];
  1360. @TypeGraphQLField(() => DateTime, { nullable: true })
  1361. createdAt_eq?: Date;
  1362. @TypeGraphQLField(() => DateTime, { nullable: true })
  1363. createdAt_lt?: Date;
  1364. @TypeGraphQLField(() => DateTime, { nullable: true })
  1365. createdAt_lte?: Date;
  1366. @TypeGraphQLField(() => DateTime, { nullable: true })
  1367. createdAt_gt?: Date;
  1368. @TypeGraphQLField(() => DateTime, { nullable: true })
  1369. createdAt_gte?: Date;
  1370. @TypeGraphQLField(() => ID, { nullable: true })
  1371. createdById_eq?: string;
  1372. @TypeGraphQLField(() => [ID], { nullable: true })
  1373. createdById_in?: string[];
  1374. @TypeGraphQLField(() => DateTime, { nullable: true })
  1375. updatedAt_eq?: Date;
  1376. @TypeGraphQLField(() => DateTime, { nullable: true })
  1377. updatedAt_lt?: Date;
  1378. @TypeGraphQLField(() => DateTime, { nullable: true })
  1379. updatedAt_lte?: Date;
  1380. @TypeGraphQLField(() => DateTime, { nullable: true })
  1381. updatedAt_gt?: Date;
  1382. @TypeGraphQLField(() => DateTime, { nullable: true })
  1383. updatedAt_gte?: Date;
  1384. @TypeGraphQLField(() => ID, { nullable: true })
  1385. updatedById_eq?: string;
  1386. @TypeGraphQLField(() => [ID], { nullable: true })
  1387. updatedById_in?: string[];
  1388. @TypeGraphQLField({ nullable: true })
  1389. deletedAt_all?: Boolean;
  1390. @TypeGraphQLField(() => DateTime, { nullable: true })
  1391. deletedAt_eq?: Date;
  1392. @TypeGraphQLField(() => DateTime, { nullable: true })
  1393. deletedAt_lt?: Date;
  1394. @TypeGraphQLField(() => DateTime, { nullable: true })
  1395. deletedAt_lte?: Date;
  1396. @TypeGraphQLField(() => DateTime, { nullable: true })
  1397. deletedAt_gt?: Date;
  1398. @TypeGraphQLField(() => DateTime, { nullable: true })
  1399. deletedAt_gte?: Date;
  1400. @TypeGraphQLField(() => ID, { nullable: true })
  1401. deletedById_eq?: string;
  1402. @TypeGraphQLField(() => [ID], { nullable: true })
  1403. deletedById_in?: string[];
  1404. @TypeGraphQLField(() => Int, { nullable: true })
  1405. code_eq?: number;
  1406. @TypeGraphQLField(() => Int, { nullable: true })
  1407. code_gt?: number;
  1408. @TypeGraphQLField(() => Int, { nullable: true })
  1409. code_gte?: number;
  1410. @TypeGraphQLField(() => Int, { nullable: true })
  1411. code_lt?: number;
  1412. @TypeGraphQLField(() => Int, { nullable: true })
  1413. code_lte?: number;
  1414. @TypeGraphQLField(() => [Int], { nullable: true })
  1415. code_in?: number[];
  1416. @TypeGraphQLField({ nullable: true })
  1417. attribution_eq?: string;
  1418. @TypeGraphQLField({ nullable: true })
  1419. attribution_contains?: string;
  1420. @TypeGraphQLField({ nullable: true })
  1421. attribution_startsWith?: string;
  1422. @TypeGraphQLField({ nullable: true })
  1423. attribution_endsWith?: string;
  1424. @TypeGraphQLField(() => [String], { nullable: true })
  1425. attribution_in?: string[];
  1426. @TypeGraphQLField({ nullable: true })
  1427. customText_eq?: string;
  1428. @TypeGraphQLField({ nullable: true })
  1429. customText_contains?: string;
  1430. @TypeGraphQLField({ nullable: true })
  1431. customText_startsWith?: string;
  1432. @TypeGraphQLField({ nullable: true })
  1433. customText_endsWith?: string;
  1434. @TypeGraphQLField(() => [String], { nullable: true })
  1435. customText_in?: string[];
  1436. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1437. videolanguage_none?: VideoWhereInput;
  1438. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1439. videolanguage_some?: VideoWhereInput;
  1440. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1441. videolanguage_every?: VideoWhereInput;
  1442. @TypeGraphQLField(() => LicenseWhereInput, { nullable: true })
  1443. AND?: [LicenseWhereInput];
  1444. @TypeGraphQLField(() => LicenseWhereInput, { nullable: true })
  1445. OR?: [LicenseWhereInput];
  1446. }
  1447. @TypeGraphQLInputType()
  1448. export class LicenseWhereUniqueInput {
  1449. @TypeGraphQLField(() => ID)
  1450. id?: string;
  1451. }
  1452. @TypeGraphQLInputType()
  1453. export class LicenseCreateInput {
  1454. @TypeGraphQLField({ nullable: true })
  1455. code?: number;
  1456. @TypeGraphQLField({ nullable: true })
  1457. attribution?: string;
  1458. @TypeGraphQLField({ nullable: true })
  1459. customText?: string;
  1460. }
  1461. @TypeGraphQLInputType()
  1462. export class LicenseUpdateInput {
  1463. @TypeGraphQLField({ nullable: true })
  1464. code?: number;
  1465. @TypeGraphQLField({ nullable: true })
  1466. attribution?: string;
  1467. @TypeGraphQLField({ nullable: true })
  1468. customText?: string;
  1469. }
  1470. @ArgsType()
  1471. export class LicenseWhereArgs extends PaginationArgs {
  1472. @TypeGraphQLField(() => LicenseWhereInput, { nullable: true })
  1473. where?: LicenseWhereInput;
  1474. @TypeGraphQLField(() => LicenseOrderByEnum, { nullable: true })
  1475. orderBy?: LicenseOrderByEnum[];
  1476. }
  1477. @ArgsType()
  1478. export class LicenseCreateManyArgs {
  1479. @TypeGraphQLField(() => [LicenseCreateInput])
  1480. data!: LicenseCreateInput[];
  1481. }
  1482. @ArgsType()
  1483. export class LicenseUpdateArgs {
  1484. @TypeGraphQLField() data!: LicenseUpdateInput;
  1485. @TypeGraphQLField() where!: LicenseWhereUniqueInput;
  1486. }
  1487. export enum VideoMediaEncodingOrderByEnum {
  1488. createdAt_ASC = "createdAt_ASC",
  1489. createdAt_DESC = "createdAt_DESC",
  1490. updatedAt_ASC = "updatedAt_ASC",
  1491. updatedAt_DESC = "updatedAt_DESC",
  1492. deletedAt_ASC = "deletedAt_ASC",
  1493. deletedAt_DESC = "deletedAt_DESC",
  1494. codecName_ASC = "codecName_ASC",
  1495. codecName_DESC = "codecName_DESC",
  1496. container_ASC = "container_ASC",
  1497. container_DESC = "container_DESC",
  1498. mimeMediaType_ASC = "mimeMediaType_ASC",
  1499. mimeMediaType_DESC = "mimeMediaType_DESC"
  1500. }
  1501. registerEnumType(VideoMediaEncodingOrderByEnum, {
  1502. name: "VideoMediaEncodingOrderByInput"
  1503. });
  1504. @TypeGraphQLInputType()
  1505. export class VideoMediaEncodingWhereInput {
  1506. @TypeGraphQLField(() => ID, { nullable: true })
  1507. id_eq?: string;
  1508. @TypeGraphQLField(() => [ID], { nullable: true })
  1509. id_in?: string[];
  1510. @TypeGraphQLField(() => DateTime, { nullable: true })
  1511. createdAt_eq?: Date;
  1512. @TypeGraphQLField(() => DateTime, { nullable: true })
  1513. createdAt_lt?: Date;
  1514. @TypeGraphQLField(() => DateTime, { nullable: true })
  1515. createdAt_lte?: Date;
  1516. @TypeGraphQLField(() => DateTime, { nullable: true })
  1517. createdAt_gt?: Date;
  1518. @TypeGraphQLField(() => DateTime, { nullable: true })
  1519. createdAt_gte?: Date;
  1520. @TypeGraphQLField(() => ID, { nullable: true })
  1521. createdById_eq?: string;
  1522. @TypeGraphQLField(() => [ID], { nullable: true })
  1523. createdById_in?: string[];
  1524. @TypeGraphQLField(() => DateTime, { nullable: true })
  1525. updatedAt_eq?: Date;
  1526. @TypeGraphQLField(() => DateTime, { nullable: true })
  1527. updatedAt_lt?: Date;
  1528. @TypeGraphQLField(() => DateTime, { nullable: true })
  1529. updatedAt_lte?: Date;
  1530. @TypeGraphQLField(() => DateTime, { nullable: true })
  1531. updatedAt_gt?: Date;
  1532. @TypeGraphQLField(() => DateTime, { nullable: true })
  1533. updatedAt_gte?: Date;
  1534. @TypeGraphQLField(() => ID, { nullable: true })
  1535. updatedById_eq?: string;
  1536. @TypeGraphQLField(() => [ID], { nullable: true })
  1537. updatedById_in?: string[];
  1538. @TypeGraphQLField({ nullable: true })
  1539. deletedAt_all?: Boolean;
  1540. @TypeGraphQLField(() => DateTime, { nullable: true })
  1541. deletedAt_eq?: Date;
  1542. @TypeGraphQLField(() => DateTime, { nullable: true })
  1543. deletedAt_lt?: Date;
  1544. @TypeGraphQLField(() => DateTime, { nullable: true })
  1545. deletedAt_lte?: Date;
  1546. @TypeGraphQLField(() => DateTime, { nullable: true })
  1547. deletedAt_gt?: Date;
  1548. @TypeGraphQLField(() => DateTime, { nullable: true })
  1549. deletedAt_gte?: Date;
  1550. @TypeGraphQLField(() => ID, { nullable: true })
  1551. deletedById_eq?: string;
  1552. @TypeGraphQLField(() => [ID], { nullable: true })
  1553. deletedById_in?: string[];
  1554. @TypeGraphQLField({ nullable: true })
  1555. codecName_eq?: string;
  1556. @TypeGraphQLField({ nullable: true })
  1557. codecName_contains?: string;
  1558. @TypeGraphQLField({ nullable: true })
  1559. codecName_startsWith?: string;
  1560. @TypeGraphQLField({ nullable: true })
  1561. codecName_endsWith?: string;
  1562. @TypeGraphQLField(() => [String], { nullable: true })
  1563. codecName_in?: string[];
  1564. @TypeGraphQLField({ nullable: true })
  1565. container_eq?: string;
  1566. @TypeGraphQLField({ nullable: true })
  1567. container_contains?: string;
  1568. @TypeGraphQLField({ nullable: true })
  1569. container_startsWith?: string;
  1570. @TypeGraphQLField({ nullable: true })
  1571. container_endsWith?: string;
  1572. @TypeGraphQLField(() => [String], { nullable: true })
  1573. container_in?: string[];
  1574. @TypeGraphQLField({ nullable: true })
  1575. mimeMediaType_eq?: string;
  1576. @TypeGraphQLField({ nullable: true })
  1577. mimeMediaType_contains?: string;
  1578. @TypeGraphQLField({ nullable: true })
  1579. mimeMediaType_startsWith?: string;
  1580. @TypeGraphQLField({ nullable: true })
  1581. mimeMediaType_endsWith?: string;
  1582. @TypeGraphQLField(() => [String], { nullable: true })
  1583. mimeMediaType_in?: string[];
  1584. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  1585. videomediametadataencoding_none?: VideoMediaMetadataWhereInput;
  1586. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  1587. videomediametadataencoding_some?: VideoMediaMetadataWhereInput;
  1588. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  1589. videomediametadataencoding_every?: VideoMediaMetadataWhereInput;
  1590. @TypeGraphQLField(() => VideoMediaEncodingWhereInput, { nullable: true })
  1591. AND?: [VideoMediaEncodingWhereInput];
  1592. @TypeGraphQLField(() => VideoMediaEncodingWhereInput, { nullable: true })
  1593. OR?: [VideoMediaEncodingWhereInput];
  1594. }
  1595. @TypeGraphQLInputType()
  1596. export class VideoMediaEncodingWhereUniqueInput {
  1597. @TypeGraphQLField(() => ID)
  1598. id?: string;
  1599. }
  1600. @TypeGraphQLInputType()
  1601. export class VideoMediaEncodingCreateInput {
  1602. @TypeGraphQLField({ nullable: true })
  1603. codecName?: string;
  1604. @TypeGraphQLField({ nullable: true })
  1605. container?: string;
  1606. @TypeGraphQLField({ nullable: true })
  1607. mimeMediaType?: string;
  1608. }
  1609. @TypeGraphQLInputType()
  1610. export class VideoMediaEncodingUpdateInput {
  1611. @TypeGraphQLField({ nullable: true })
  1612. codecName?: string;
  1613. @TypeGraphQLField({ nullable: true })
  1614. container?: string;
  1615. @TypeGraphQLField({ nullable: true })
  1616. mimeMediaType?: string;
  1617. }
  1618. @ArgsType()
  1619. export class VideoMediaEncodingWhereArgs extends PaginationArgs {
  1620. @TypeGraphQLField(() => VideoMediaEncodingWhereInput, { nullable: true })
  1621. where?: VideoMediaEncodingWhereInput;
  1622. @TypeGraphQLField(() => VideoMediaEncodingOrderByEnum, { nullable: true })
  1623. orderBy?: VideoMediaEncodingOrderByEnum[];
  1624. }
  1625. @ArgsType()
  1626. export class VideoMediaEncodingCreateManyArgs {
  1627. @TypeGraphQLField(() => [VideoMediaEncodingCreateInput])
  1628. data!: VideoMediaEncodingCreateInput[];
  1629. }
  1630. @ArgsType()
  1631. export class VideoMediaEncodingUpdateArgs {
  1632. @TypeGraphQLField() data!: VideoMediaEncodingUpdateInput;
  1633. @TypeGraphQLField() where!: VideoMediaEncodingWhereUniqueInput;
  1634. }
  1635. export enum VideoMediaMetadataOrderByEnum {
  1636. createdAt_ASC = "createdAt_ASC",
  1637. createdAt_DESC = "createdAt_DESC",
  1638. updatedAt_ASC = "updatedAt_ASC",
  1639. updatedAt_DESC = "updatedAt_DESC",
  1640. deletedAt_ASC = "deletedAt_ASC",
  1641. deletedAt_DESC = "deletedAt_DESC",
  1642. encoding_ASC = "encoding_ASC",
  1643. encoding_DESC = "encoding_DESC",
  1644. encodingId_ASC = "encodingId_ASC",
  1645. encodingId_DESC = "encodingId_DESC",
  1646. pixelWidth_ASC = "pixelWidth_ASC",
  1647. pixelWidth_DESC = "pixelWidth_DESC",
  1648. pixelHeight_ASC = "pixelHeight_ASC",
  1649. pixelHeight_DESC = "pixelHeight_DESC",
  1650. size_ASC = "size_ASC",
  1651. size_DESC = "size_DESC",
  1652. createdInBlock_ASC = "createdInBlock_ASC",
  1653. createdInBlock_DESC = "createdInBlock_DESC"
  1654. }
  1655. registerEnumType(VideoMediaMetadataOrderByEnum, {
  1656. name: "VideoMediaMetadataOrderByInput"
  1657. });
  1658. @TypeGraphQLInputType()
  1659. export class VideoMediaMetadataWhereInput {
  1660. @TypeGraphQLField(() => ID, { nullable: true })
  1661. id_eq?: string;
  1662. @TypeGraphQLField(() => [ID], { nullable: true })
  1663. id_in?: string[];
  1664. @TypeGraphQLField(() => DateTime, { nullable: true })
  1665. createdAt_eq?: Date;
  1666. @TypeGraphQLField(() => DateTime, { nullable: true })
  1667. createdAt_lt?: Date;
  1668. @TypeGraphQLField(() => DateTime, { nullable: true })
  1669. createdAt_lte?: Date;
  1670. @TypeGraphQLField(() => DateTime, { nullable: true })
  1671. createdAt_gt?: Date;
  1672. @TypeGraphQLField(() => DateTime, { nullable: true })
  1673. createdAt_gte?: Date;
  1674. @TypeGraphQLField(() => ID, { nullable: true })
  1675. createdById_eq?: string;
  1676. @TypeGraphQLField(() => [ID], { nullable: true })
  1677. createdById_in?: string[];
  1678. @TypeGraphQLField(() => DateTime, { nullable: true })
  1679. updatedAt_eq?: Date;
  1680. @TypeGraphQLField(() => DateTime, { nullable: true })
  1681. updatedAt_lt?: Date;
  1682. @TypeGraphQLField(() => DateTime, { nullable: true })
  1683. updatedAt_lte?: Date;
  1684. @TypeGraphQLField(() => DateTime, { nullable: true })
  1685. updatedAt_gt?: Date;
  1686. @TypeGraphQLField(() => DateTime, { nullable: true })
  1687. updatedAt_gte?: Date;
  1688. @TypeGraphQLField(() => ID, { nullable: true })
  1689. updatedById_eq?: string;
  1690. @TypeGraphQLField(() => [ID], { nullable: true })
  1691. updatedById_in?: string[];
  1692. @TypeGraphQLField({ nullable: true })
  1693. deletedAt_all?: Boolean;
  1694. @TypeGraphQLField(() => DateTime, { nullable: true })
  1695. deletedAt_eq?: Date;
  1696. @TypeGraphQLField(() => DateTime, { nullable: true })
  1697. deletedAt_lt?: Date;
  1698. @TypeGraphQLField(() => DateTime, { nullable: true })
  1699. deletedAt_lte?: Date;
  1700. @TypeGraphQLField(() => DateTime, { nullable: true })
  1701. deletedAt_gt?: Date;
  1702. @TypeGraphQLField(() => DateTime, { nullable: true })
  1703. deletedAt_gte?: Date;
  1704. @TypeGraphQLField(() => ID, { nullable: true })
  1705. deletedById_eq?: string;
  1706. @TypeGraphQLField(() => [ID], { nullable: true })
  1707. deletedById_in?: string[];
  1708. @TypeGraphQLField(() => ID, { nullable: true })
  1709. encodingId_eq?: string;
  1710. @TypeGraphQLField(() => [ID], { nullable: true })
  1711. encodingId_in?: string[];
  1712. @TypeGraphQLField(() => Int, { nullable: true })
  1713. pixelWidth_eq?: number;
  1714. @TypeGraphQLField(() => Int, { nullable: true })
  1715. pixelWidth_gt?: number;
  1716. @TypeGraphQLField(() => Int, { nullable: true })
  1717. pixelWidth_gte?: number;
  1718. @TypeGraphQLField(() => Int, { nullable: true })
  1719. pixelWidth_lt?: number;
  1720. @TypeGraphQLField(() => Int, { nullable: true })
  1721. pixelWidth_lte?: number;
  1722. @TypeGraphQLField(() => [Int], { nullable: true })
  1723. pixelWidth_in?: number[];
  1724. @TypeGraphQLField(() => Int, { nullable: true })
  1725. pixelHeight_eq?: number;
  1726. @TypeGraphQLField(() => Int, { nullable: true })
  1727. pixelHeight_gt?: number;
  1728. @TypeGraphQLField(() => Int, { nullable: true })
  1729. pixelHeight_gte?: number;
  1730. @TypeGraphQLField(() => Int, { nullable: true })
  1731. pixelHeight_lt?: number;
  1732. @TypeGraphQLField(() => Int, { nullable: true })
  1733. pixelHeight_lte?: number;
  1734. @TypeGraphQLField(() => [Int], { nullable: true })
  1735. pixelHeight_in?: number[];
  1736. @TypeGraphQLField(() => Float, { nullable: true })
  1737. size_eq?: number;
  1738. @TypeGraphQLField(() => Float, { nullable: true })
  1739. size_gt?: number;
  1740. @TypeGraphQLField(() => Float, { nullable: true })
  1741. size_gte?: number;
  1742. @TypeGraphQLField(() => Float, { nullable: true })
  1743. size_lt?: number;
  1744. @TypeGraphQLField(() => Float, { nullable: true })
  1745. size_lte?: number;
  1746. @TypeGraphQLField(() => [Float], { nullable: true })
  1747. size_in?: number[];
  1748. @TypeGraphQLField(() => Int, { nullable: true })
  1749. createdInBlock_eq?: number;
  1750. @TypeGraphQLField(() => Int, { nullable: true })
  1751. createdInBlock_gt?: number;
  1752. @TypeGraphQLField(() => Int, { nullable: true })
  1753. createdInBlock_gte?: number;
  1754. @TypeGraphQLField(() => Int, { nullable: true })
  1755. createdInBlock_lt?: number;
  1756. @TypeGraphQLField(() => Int, { nullable: true })
  1757. createdInBlock_lte?: number;
  1758. @TypeGraphQLField(() => [Int], { nullable: true })
  1759. createdInBlock_in?: number[];
  1760. @TypeGraphQLField(() => VideoMediaEncodingWhereInput, { nullable: true })
  1761. encoding?: VideoMediaEncodingWhereInput;
  1762. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  1763. video?: VideoWhereInput;
  1764. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  1765. AND?: [VideoMediaMetadataWhereInput];
  1766. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  1767. OR?: [VideoMediaMetadataWhereInput];
  1768. }
  1769. @TypeGraphQLInputType()
  1770. export class VideoMediaMetadataWhereUniqueInput {
  1771. @TypeGraphQLField(() => ID)
  1772. id?: string;
  1773. }
  1774. @TypeGraphQLInputType()
  1775. export class VideoMediaMetadataCreateInput {
  1776. @TypeGraphQLField(() => ID, { nullable: true })
  1777. encoding?: string;
  1778. @TypeGraphQLField(() => ID, { nullable: true })
  1779. encodingId?: string;
  1780. @TypeGraphQLField({ nullable: true })
  1781. pixelWidth?: number;
  1782. @TypeGraphQLField({ nullable: true })
  1783. pixelHeight?: number;
  1784. @TypeGraphQLField({ nullable: true })
  1785. size?: number;
  1786. @TypeGraphQLField()
  1787. createdInBlock!: number;
  1788. }
  1789. @TypeGraphQLInputType()
  1790. export class VideoMediaMetadataUpdateInput {
  1791. @TypeGraphQLField(() => ID, { nullable: true })
  1792. encoding?: string;
  1793. @TypeGraphQLField(() => ID, { nullable: true })
  1794. encodingId?: string;
  1795. @TypeGraphQLField({ nullable: true })
  1796. pixelWidth?: number;
  1797. @TypeGraphQLField({ nullable: true })
  1798. pixelHeight?: number;
  1799. @TypeGraphQLField({ nullable: true })
  1800. size?: number;
  1801. @TypeGraphQLField({ nullable: true })
  1802. createdInBlock?: number;
  1803. }
  1804. @ArgsType()
  1805. export class VideoMediaMetadataWhereArgs extends PaginationArgs {
  1806. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  1807. where?: VideoMediaMetadataWhereInput;
  1808. @TypeGraphQLField(() => VideoMediaMetadataOrderByEnum, { nullable: true })
  1809. orderBy?: VideoMediaMetadataOrderByEnum[];
  1810. }
  1811. @ArgsType()
  1812. export class VideoMediaMetadataCreateManyArgs {
  1813. @TypeGraphQLField(() => [VideoMediaMetadataCreateInput])
  1814. data!: VideoMediaMetadataCreateInput[];
  1815. }
  1816. @ArgsType()
  1817. export class VideoMediaMetadataUpdateArgs {
  1818. @TypeGraphQLField() data!: VideoMediaMetadataUpdateInput;
  1819. @TypeGraphQLField() where!: VideoMediaMetadataWhereUniqueInput;
  1820. }
  1821. export enum VideoOrderByEnum {
  1822. createdAt_ASC = "createdAt_ASC",
  1823. createdAt_DESC = "createdAt_DESC",
  1824. updatedAt_ASC = "updatedAt_ASC",
  1825. updatedAt_DESC = "updatedAt_DESC",
  1826. deletedAt_ASC = "deletedAt_ASC",
  1827. deletedAt_DESC = "deletedAt_DESC",
  1828. channel_ASC = "channel_ASC",
  1829. channel_DESC = "channel_DESC",
  1830. channelId_ASC = "channelId_ASC",
  1831. channelId_DESC = "channelId_DESC",
  1832. category_ASC = "category_ASC",
  1833. category_DESC = "category_DESC",
  1834. categoryId_ASC = "categoryId_ASC",
  1835. categoryId_DESC = "categoryId_DESC",
  1836. title_ASC = "title_ASC",
  1837. title_DESC = "title_DESC",
  1838. description_ASC = "description_ASC",
  1839. description_DESC = "description_DESC",
  1840. duration_ASC = "duration_ASC",
  1841. duration_DESC = "duration_DESC",
  1842. thumbnailPhotoDataObject_ASC = "thumbnailPhotoDataObject_ASC",
  1843. thumbnailPhotoDataObject_DESC = "thumbnailPhotoDataObject_DESC",
  1844. thumbnailPhotoDataObjectId_ASC = "thumbnailPhotoDataObjectId_ASC",
  1845. thumbnailPhotoDataObjectId_DESC = "thumbnailPhotoDataObjectId_DESC",
  1846. thumbnailPhotoAvailability_ASC = "thumbnailPhotoAvailability_ASC",
  1847. thumbnailPhotoAvailability_DESC = "thumbnailPhotoAvailability_DESC",
  1848. language_ASC = "language_ASC",
  1849. language_DESC = "language_DESC",
  1850. languageId_ASC = "languageId_ASC",
  1851. languageId_DESC = "languageId_DESC",
  1852. hasMarketing_ASC = "hasMarketing_ASC",
  1853. hasMarketing_DESC = "hasMarketing_DESC",
  1854. publishedBeforeJoystream_ASC = "publishedBeforeJoystream_ASC",
  1855. publishedBeforeJoystream_DESC = "publishedBeforeJoystream_DESC",
  1856. isPublic_ASC = "isPublic_ASC",
  1857. isPublic_DESC = "isPublic_DESC",
  1858. isCensored_ASC = "isCensored_ASC",
  1859. isCensored_DESC = "isCensored_DESC",
  1860. isExplicit_ASC = "isExplicit_ASC",
  1861. isExplicit_DESC = "isExplicit_DESC",
  1862. license_ASC = "license_ASC",
  1863. license_DESC = "license_DESC",
  1864. licenseId_ASC = "licenseId_ASC",
  1865. licenseId_DESC = "licenseId_DESC",
  1866. mediaDataObject_ASC = "mediaDataObject_ASC",
  1867. mediaDataObject_DESC = "mediaDataObject_DESC",
  1868. mediaDataObjectId_ASC = "mediaDataObjectId_ASC",
  1869. mediaDataObjectId_DESC = "mediaDataObjectId_DESC",
  1870. mediaAvailability_ASC = "mediaAvailability_ASC",
  1871. mediaAvailability_DESC = "mediaAvailability_DESC",
  1872. mediaMetadata_ASC = "mediaMetadata_ASC",
  1873. mediaMetadata_DESC = "mediaMetadata_DESC",
  1874. mediaMetadataId_ASC = "mediaMetadataId_ASC",
  1875. mediaMetadataId_DESC = "mediaMetadataId_DESC",
  1876. createdInBlock_ASC = "createdInBlock_ASC",
  1877. createdInBlock_DESC = "createdInBlock_DESC",
  1878. isFeatured_ASC = "isFeatured_ASC",
  1879. isFeatured_DESC = "isFeatured_DESC"
  1880. }
  1881. registerEnumType(VideoOrderByEnum, {
  1882. name: "VideoOrderByInput"
  1883. });
  1884. @TypeGraphQLInputType()
  1885. export class VideoWhereInput {
  1886. @TypeGraphQLField(() => ID, { nullable: true })
  1887. id_eq?: string;
  1888. @TypeGraphQLField(() => [ID], { nullable: true })
  1889. id_in?: string[];
  1890. @TypeGraphQLField(() => DateTime, { nullable: true })
  1891. createdAt_eq?: Date;
  1892. @TypeGraphQLField(() => DateTime, { nullable: true })
  1893. createdAt_lt?: Date;
  1894. @TypeGraphQLField(() => DateTime, { nullable: true })
  1895. createdAt_lte?: Date;
  1896. @TypeGraphQLField(() => DateTime, { nullable: true })
  1897. createdAt_gt?: Date;
  1898. @TypeGraphQLField(() => DateTime, { nullable: true })
  1899. createdAt_gte?: Date;
  1900. @TypeGraphQLField(() => ID, { nullable: true })
  1901. createdById_eq?: string;
  1902. @TypeGraphQLField(() => [ID], { nullable: true })
  1903. createdById_in?: string[];
  1904. @TypeGraphQLField(() => DateTime, { nullable: true })
  1905. updatedAt_eq?: Date;
  1906. @TypeGraphQLField(() => DateTime, { nullable: true })
  1907. updatedAt_lt?: Date;
  1908. @TypeGraphQLField(() => DateTime, { nullable: true })
  1909. updatedAt_lte?: Date;
  1910. @TypeGraphQLField(() => DateTime, { nullable: true })
  1911. updatedAt_gt?: Date;
  1912. @TypeGraphQLField(() => DateTime, { nullable: true })
  1913. updatedAt_gte?: Date;
  1914. @TypeGraphQLField(() => ID, { nullable: true })
  1915. updatedById_eq?: string;
  1916. @TypeGraphQLField(() => [ID], { nullable: true })
  1917. updatedById_in?: string[];
  1918. @TypeGraphQLField({ nullable: true })
  1919. deletedAt_all?: Boolean;
  1920. @TypeGraphQLField(() => DateTime, { nullable: true })
  1921. deletedAt_eq?: Date;
  1922. @TypeGraphQLField(() => DateTime, { nullable: true })
  1923. deletedAt_lt?: Date;
  1924. @TypeGraphQLField(() => DateTime, { nullable: true })
  1925. deletedAt_lte?: Date;
  1926. @TypeGraphQLField(() => DateTime, { nullable: true })
  1927. deletedAt_gt?: Date;
  1928. @TypeGraphQLField(() => DateTime, { nullable: true })
  1929. deletedAt_gte?: Date;
  1930. @TypeGraphQLField(() => ID, { nullable: true })
  1931. deletedById_eq?: string;
  1932. @TypeGraphQLField(() => [ID], { nullable: true })
  1933. deletedById_in?: string[];
  1934. @TypeGraphQLField(() => ID, { nullable: true })
  1935. channelId_eq?: string;
  1936. @TypeGraphQLField(() => [ID], { nullable: true })
  1937. channelId_in?: string[];
  1938. @TypeGraphQLField(() => ID, { nullable: true })
  1939. categoryId_eq?: string;
  1940. @TypeGraphQLField(() => [ID], { nullable: true })
  1941. categoryId_in?: string[];
  1942. @TypeGraphQLField({ nullable: true })
  1943. title_eq?: string;
  1944. @TypeGraphQLField({ nullable: true })
  1945. title_contains?: string;
  1946. @TypeGraphQLField({ nullable: true })
  1947. title_startsWith?: string;
  1948. @TypeGraphQLField({ nullable: true })
  1949. title_endsWith?: string;
  1950. @TypeGraphQLField(() => [String], { nullable: true })
  1951. title_in?: string[];
  1952. @TypeGraphQLField({ nullable: true })
  1953. description_eq?: string;
  1954. @TypeGraphQLField({ nullable: true })
  1955. description_contains?: string;
  1956. @TypeGraphQLField({ nullable: true })
  1957. description_startsWith?: string;
  1958. @TypeGraphQLField({ nullable: true })
  1959. description_endsWith?: string;
  1960. @TypeGraphQLField(() => [String], { nullable: true })
  1961. description_in?: string[];
  1962. @TypeGraphQLField(() => Int, { nullable: true })
  1963. duration_eq?: number;
  1964. @TypeGraphQLField(() => Int, { nullable: true })
  1965. duration_gt?: number;
  1966. @TypeGraphQLField(() => Int, { nullable: true })
  1967. duration_gte?: number;
  1968. @TypeGraphQLField(() => Int, { nullable: true })
  1969. duration_lt?: number;
  1970. @TypeGraphQLField(() => Int, { nullable: true })
  1971. duration_lte?: number;
  1972. @TypeGraphQLField(() => [Int], { nullable: true })
  1973. duration_in?: number[];
  1974. @TypeGraphQLField(() => ID, { nullable: true })
  1975. thumbnailPhotoDataObjectId_eq?: string;
  1976. @TypeGraphQLField(() => [ID], { nullable: true })
  1977. thumbnailPhotoDataObjectId_in?: string[];
  1978. @TypeGraphQLField(() => [String], { nullable: true })
  1979. thumbnailPhotoUrls_containsAll?: [string];
  1980. @TypeGraphQLField(() => [String], { nullable: true })
  1981. thumbnailPhotoUrls_containsNone?: [string];
  1982. @TypeGraphQLField(() => [String], { nullable: true })
  1983. thumbnailPhotoUrls_containsAny?: [string];
  1984. @TypeGraphQLField(() => AssetAvailability, { nullable: true })
  1985. thumbnailPhotoAvailability_eq?: AssetAvailability;
  1986. @TypeGraphQLField(() => [AssetAvailability], { nullable: true })
  1987. thumbnailPhotoAvailability_in?: AssetAvailability[];
  1988. @TypeGraphQLField(() => ID, { nullable: true })
  1989. languageId_eq?: string;
  1990. @TypeGraphQLField(() => [ID], { nullable: true })
  1991. languageId_in?: string[];
  1992. @TypeGraphQLField(() => Boolean, { nullable: true })
  1993. hasMarketing_eq?: Boolean;
  1994. @TypeGraphQLField(() => [Boolean], { nullable: true })
  1995. hasMarketing_in?: Boolean[];
  1996. @TypeGraphQLField(() => DateTime, { nullable: true })
  1997. publishedBeforeJoystream_eq?: DateTimeString;
  1998. @TypeGraphQLField(() => DateTime, { nullable: true })
  1999. publishedBeforeJoystream_lt?: DateTimeString;
  2000. @TypeGraphQLField(() => DateTime, { nullable: true })
  2001. publishedBeforeJoystream_lte?: DateTimeString;
  2002. @TypeGraphQLField(() => DateTime, { nullable: true })
  2003. publishedBeforeJoystream_gt?: DateTimeString;
  2004. @TypeGraphQLField(() => DateTime, { nullable: true })
  2005. publishedBeforeJoystream_gte?: DateTimeString;
  2006. @TypeGraphQLField(() => Boolean, { nullable: true })
  2007. isPublic_eq?: Boolean;
  2008. @TypeGraphQLField(() => [Boolean], { nullable: true })
  2009. isPublic_in?: Boolean[];
  2010. @TypeGraphQLField(() => Boolean, { nullable: true })
  2011. isCensored_eq?: Boolean;
  2012. @TypeGraphQLField(() => [Boolean], { nullable: true })
  2013. isCensored_in?: Boolean[];
  2014. @TypeGraphQLField(() => Boolean, { nullable: true })
  2015. isExplicit_eq?: Boolean;
  2016. @TypeGraphQLField(() => [Boolean], { nullable: true })
  2017. isExplicit_in?: Boolean[];
  2018. @TypeGraphQLField(() => ID, { nullable: true })
  2019. licenseId_eq?: string;
  2020. @TypeGraphQLField(() => [ID], { nullable: true })
  2021. licenseId_in?: string[];
  2022. @TypeGraphQLField(() => ID, { nullable: true })
  2023. mediaDataObjectId_eq?: string;
  2024. @TypeGraphQLField(() => [ID], { nullable: true })
  2025. mediaDataObjectId_in?: string[];
  2026. @TypeGraphQLField(() => [String], { nullable: true })
  2027. mediaUrls_containsAll?: [string];
  2028. @TypeGraphQLField(() => [String], { nullable: true })
  2029. mediaUrls_containsNone?: [string];
  2030. @TypeGraphQLField(() => [String], { nullable: true })
  2031. mediaUrls_containsAny?: [string];
  2032. @TypeGraphQLField(() => AssetAvailability, { nullable: true })
  2033. mediaAvailability_eq?: AssetAvailability;
  2034. @TypeGraphQLField(() => [AssetAvailability], { nullable: true })
  2035. mediaAvailability_in?: AssetAvailability[];
  2036. @TypeGraphQLField(() => ID, { nullable: true })
  2037. mediaMetadataId_eq?: string;
  2038. @TypeGraphQLField(() => [ID], { nullable: true })
  2039. mediaMetadataId_in?: string[];
  2040. @TypeGraphQLField(() => Int, { nullable: true })
  2041. createdInBlock_eq?: number;
  2042. @TypeGraphQLField(() => Int, { nullable: true })
  2043. createdInBlock_gt?: number;
  2044. @TypeGraphQLField(() => Int, { nullable: true })
  2045. createdInBlock_gte?: number;
  2046. @TypeGraphQLField(() => Int, { nullable: true })
  2047. createdInBlock_lt?: number;
  2048. @TypeGraphQLField(() => Int, { nullable: true })
  2049. createdInBlock_lte?: number;
  2050. @TypeGraphQLField(() => [Int], { nullable: true })
  2051. createdInBlock_in?: number[];
  2052. @TypeGraphQLField(() => Boolean, { nullable: true })
  2053. isFeatured_eq?: Boolean;
  2054. @TypeGraphQLField(() => [Boolean], { nullable: true })
  2055. isFeatured_in?: Boolean[];
  2056. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2057. channel?: ChannelWhereInput;
  2058. @TypeGraphQLField(() => VideoCategoryWhereInput, { nullable: true })
  2059. category?: VideoCategoryWhereInput;
  2060. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  2061. thumbnailPhotoDataObject?: DataObjectWhereInput;
  2062. @TypeGraphQLField(() => LanguageWhereInput, { nullable: true })
  2063. language?: LanguageWhereInput;
  2064. @TypeGraphQLField(() => LicenseWhereInput, { nullable: true })
  2065. license?: LicenseWhereInput;
  2066. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  2067. mediaDataObject?: DataObjectWhereInput;
  2068. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  2069. mediaMetadata?: VideoMediaMetadataWhereInput;
  2070. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  2071. AND?: [VideoWhereInput];
  2072. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  2073. OR?: [VideoWhereInput];
  2074. }
  2075. @TypeGraphQLInputType()
  2076. export class VideoWhereUniqueInput {
  2077. @TypeGraphQLField(() => ID)
  2078. id?: string;
  2079. }
  2080. @TypeGraphQLInputType()
  2081. export class VideoCreateInput {
  2082. @TypeGraphQLField(() => ID, { nullable: true })
  2083. channel?: string;
  2084. @TypeGraphQLField(() => ID, { nullable: true })
  2085. channelId?: string;
  2086. @TypeGraphQLField(() => ID, { nullable: true })
  2087. category?: string;
  2088. @TypeGraphQLField(() => ID, { nullable: true })
  2089. categoryId?: string;
  2090. @TypeGraphQLField({ nullable: true })
  2091. title?: string;
  2092. @TypeGraphQLField({ nullable: true })
  2093. description?: string;
  2094. @TypeGraphQLField({ nullable: true })
  2095. duration?: number;
  2096. @TypeGraphQLField(() => ID, { nullable: true })
  2097. thumbnailPhotoDataObject?: string;
  2098. @TypeGraphQLField(() => ID, { nullable: true })
  2099. thumbnailPhotoDataObjectId?: string;
  2100. @TypeGraphQLField(() => [String])
  2101. thumbnailPhotoUrls!: string[];
  2102. @TypeGraphQLField(() => AssetAvailability)
  2103. thumbnailPhotoAvailability!: AssetAvailability;
  2104. @TypeGraphQLField(() => ID, { nullable: true })
  2105. language?: string;
  2106. @TypeGraphQLField(() => ID, { nullable: true })
  2107. languageId?: string;
  2108. @TypeGraphQLField({ nullable: true })
  2109. hasMarketing?: boolean;
  2110. @TypeGraphQLField(() => DateTime, { nullable: true })
  2111. publishedBeforeJoystream?: DateTimeString;
  2112. @TypeGraphQLField({ nullable: true })
  2113. isPublic?: boolean;
  2114. @TypeGraphQLField()
  2115. isCensored!: boolean;
  2116. @TypeGraphQLField({ nullable: true })
  2117. isExplicit?: boolean;
  2118. @TypeGraphQLField(() => ID, { nullable: true })
  2119. license?: string;
  2120. @TypeGraphQLField(() => ID, { nullable: true })
  2121. licenseId?: string;
  2122. @TypeGraphQLField(() => ID, { nullable: true })
  2123. mediaDataObject?: string;
  2124. @TypeGraphQLField(() => ID, { nullable: true })
  2125. mediaDataObjectId?: string;
  2126. @TypeGraphQLField(() => [String])
  2127. mediaUrls!: string[];
  2128. @TypeGraphQLField(() => AssetAvailability)
  2129. mediaAvailability!: AssetAvailability;
  2130. @TypeGraphQLField(() => ID, { nullable: true })
  2131. mediaMetadata?: string;
  2132. @TypeGraphQLField(() => ID, { nullable: true })
  2133. mediaMetadataId?: string;
  2134. @TypeGraphQLField()
  2135. createdInBlock!: number;
  2136. @TypeGraphQLField()
  2137. isFeatured!: boolean;
  2138. }
  2139. @TypeGraphQLInputType()
  2140. export class VideoUpdateInput {
  2141. @TypeGraphQLField(() => ID, { nullable: true })
  2142. channel?: string;
  2143. @TypeGraphQLField(() => ID, { nullable: true })
  2144. channelId?: string;
  2145. @TypeGraphQLField(() => ID, { nullable: true })
  2146. category?: string;
  2147. @TypeGraphQLField(() => ID, { nullable: true })
  2148. categoryId?: string;
  2149. @TypeGraphQLField({ nullable: true })
  2150. title?: string;
  2151. @TypeGraphQLField({ nullable: true })
  2152. description?: string;
  2153. @TypeGraphQLField({ nullable: true })
  2154. duration?: number;
  2155. @TypeGraphQLField(() => ID, { nullable: true })
  2156. thumbnailPhotoDataObject?: string;
  2157. @TypeGraphQLField(() => ID, { nullable: true })
  2158. thumbnailPhotoDataObjectId?: string;
  2159. @TypeGraphQLField(() => [String], { nullable: true })
  2160. thumbnailPhotoUrls?: string[];
  2161. @TypeGraphQLField(() => AssetAvailability, { nullable: true })
  2162. thumbnailPhotoAvailability?: AssetAvailability;
  2163. @TypeGraphQLField(() => ID, { nullable: true })
  2164. language?: string;
  2165. @TypeGraphQLField(() => ID, { nullable: true })
  2166. languageId?: string;
  2167. @TypeGraphQLField({ nullable: true })
  2168. hasMarketing?: boolean;
  2169. @TypeGraphQLField(() => DateTime, { nullable: true })
  2170. publishedBeforeJoystream?: DateTimeString;
  2171. @TypeGraphQLField({ nullable: true })
  2172. isPublic?: boolean;
  2173. @TypeGraphQLField({ nullable: true })
  2174. isCensored?: boolean;
  2175. @TypeGraphQLField({ nullable: true })
  2176. isExplicit?: boolean;
  2177. @TypeGraphQLField(() => ID, { nullable: true })
  2178. license?: string;
  2179. @TypeGraphQLField(() => ID, { nullable: true })
  2180. licenseId?: string;
  2181. @TypeGraphQLField(() => ID, { nullable: true })
  2182. mediaDataObject?: string;
  2183. @TypeGraphQLField(() => ID, { nullable: true })
  2184. mediaDataObjectId?: string;
  2185. @TypeGraphQLField(() => [String], { nullable: true })
  2186. mediaUrls?: string[];
  2187. @TypeGraphQLField(() => AssetAvailability, { nullable: true })
  2188. mediaAvailability?: AssetAvailability;
  2189. @TypeGraphQLField(() => ID, { nullable: true })
  2190. mediaMetadata?: string;
  2191. @TypeGraphQLField(() => ID, { nullable: true })
  2192. mediaMetadataId?: string;
  2193. @TypeGraphQLField({ nullable: true })
  2194. createdInBlock?: number;
  2195. @TypeGraphQLField({ nullable: true })
  2196. isFeatured?: boolean;
  2197. }
  2198. @ArgsType()
  2199. export class VideoWhereArgs extends PaginationArgs {
  2200. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  2201. where?: VideoWhereInput;
  2202. @TypeGraphQLField(() => VideoOrderByEnum, { nullable: true })
  2203. orderBy?: VideoOrderByEnum[];
  2204. }
  2205. @ArgsType()
  2206. export class VideoCreateManyArgs {
  2207. @TypeGraphQLField(() => [VideoCreateInput])
  2208. data!: VideoCreateInput[];
  2209. }
  2210. @ArgsType()
  2211. export class VideoUpdateArgs {
  2212. @TypeGraphQLField() data!: VideoUpdateInput;
  2213. @TypeGraphQLField() where!: VideoWhereUniqueInput;
  2214. }
  2215. export enum DataObjectOrderByEnum {
  2216. createdAt_ASC = "createdAt_ASC",
  2217. createdAt_DESC = "createdAt_DESC",
  2218. updatedAt_ASC = "updatedAt_ASC",
  2219. updatedAt_DESC = "updatedAt_DESC",
  2220. deletedAt_ASC = "deletedAt_ASC",
  2221. deletedAt_DESC = "deletedAt_DESC",
  2222. createdInBlock_ASC = "createdInBlock_ASC",
  2223. createdInBlock_DESC = "createdInBlock_DESC",
  2224. typeId_ASC = "typeId_ASC",
  2225. typeId_DESC = "typeId_DESC",
  2226. size_ASC = "size_ASC",
  2227. size_DESC = "size_DESC",
  2228. liaison_ASC = "liaison_ASC",
  2229. liaison_DESC = "liaison_DESC",
  2230. liaisonId_ASC = "liaisonId_ASC",
  2231. liaisonId_DESC = "liaisonId_DESC",
  2232. liaisonJudgement_ASC = "liaisonJudgement_ASC",
  2233. liaisonJudgement_DESC = "liaisonJudgement_DESC",
  2234. ipfsContentId_ASC = "ipfsContentId_ASC",
  2235. ipfsContentId_DESC = "ipfsContentId_DESC",
  2236. joystreamContentId_ASC = "joystreamContentId_ASC",
  2237. joystreamContentId_DESC = "joystreamContentId_DESC"
  2238. }
  2239. registerEnumType(DataObjectOrderByEnum, {
  2240. name: "DataObjectOrderByInput"
  2241. });
  2242. @TypeGraphQLInputType()
  2243. export class DataObjectWhereInput {
  2244. @TypeGraphQLField(() => ID, { nullable: true })
  2245. id_eq?: string;
  2246. @TypeGraphQLField(() => [ID], { nullable: true })
  2247. id_in?: string[];
  2248. @TypeGraphQLField(() => DateTime, { nullable: true })
  2249. createdAt_eq?: Date;
  2250. @TypeGraphQLField(() => DateTime, { nullable: true })
  2251. createdAt_lt?: Date;
  2252. @TypeGraphQLField(() => DateTime, { nullable: true })
  2253. createdAt_lte?: Date;
  2254. @TypeGraphQLField(() => DateTime, { nullable: true })
  2255. createdAt_gt?: Date;
  2256. @TypeGraphQLField(() => DateTime, { nullable: true })
  2257. createdAt_gte?: Date;
  2258. @TypeGraphQLField(() => ID, { nullable: true })
  2259. createdById_eq?: string;
  2260. @TypeGraphQLField(() => [ID], { nullable: true })
  2261. createdById_in?: string[];
  2262. @TypeGraphQLField(() => DateTime, { nullable: true })
  2263. updatedAt_eq?: Date;
  2264. @TypeGraphQLField(() => DateTime, { nullable: true })
  2265. updatedAt_lt?: Date;
  2266. @TypeGraphQLField(() => DateTime, { nullable: true })
  2267. updatedAt_lte?: Date;
  2268. @TypeGraphQLField(() => DateTime, { nullable: true })
  2269. updatedAt_gt?: Date;
  2270. @TypeGraphQLField(() => DateTime, { nullable: true })
  2271. updatedAt_gte?: Date;
  2272. @TypeGraphQLField(() => ID, { nullable: true })
  2273. updatedById_eq?: string;
  2274. @TypeGraphQLField(() => [ID], { nullable: true })
  2275. updatedById_in?: string[];
  2276. @TypeGraphQLField({ nullable: true })
  2277. deletedAt_all?: Boolean;
  2278. @TypeGraphQLField(() => DateTime, { nullable: true })
  2279. deletedAt_eq?: Date;
  2280. @TypeGraphQLField(() => DateTime, { nullable: true })
  2281. deletedAt_lt?: Date;
  2282. @TypeGraphQLField(() => DateTime, { nullable: true })
  2283. deletedAt_lte?: Date;
  2284. @TypeGraphQLField(() => DateTime, { nullable: true })
  2285. deletedAt_gt?: Date;
  2286. @TypeGraphQLField(() => DateTime, { nullable: true })
  2287. deletedAt_gte?: Date;
  2288. @TypeGraphQLField(() => ID, { nullable: true })
  2289. deletedById_eq?: string;
  2290. @TypeGraphQLField(() => [ID], { nullable: true })
  2291. deletedById_in?: string[];
  2292. @TypeGraphQLField(() => GraphQLJSONObject, { nullable: true })
  2293. owner_json?: JsonObject;
  2294. @TypeGraphQLField(() => Int, { nullable: true })
  2295. createdInBlock_eq?: number;
  2296. @TypeGraphQLField(() => Int, { nullable: true })
  2297. createdInBlock_gt?: number;
  2298. @TypeGraphQLField(() => Int, { nullable: true })
  2299. createdInBlock_gte?: number;
  2300. @TypeGraphQLField(() => Int, { nullable: true })
  2301. createdInBlock_lt?: number;
  2302. @TypeGraphQLField(() => Int, { nullable: true })
  2303. createdInBlock_lte?: number;
  2304. @TypeGraphQLField(() => [Int], { nullable: true })
  2305. createdInBlock_in?: number[];
  2306. @TypeGraphQLField(() => Int, { nullable: true })
  2307. typeId_eq?: number;
  2308. @TypeGraphQLField(() => Int, { nullable: true })
  2309. typeId_gt?: number;
  2310. @TypeGraphQLField(() => Int, { nullable: true })
  2311. typeId_gte?: number;
  2312. @TypeGraphQLField(() => Int, { nullable: true })
  2313. typeId_lt?: number;
  2314. @TypeGraphQLField(() => Int, { nullable: true })
  2315. typeId_lte?: number;
  2316. @TypeGraphQLField(() => [Int], { nullable: true })
  2317. typeId_in?: number[];
  2318. @TypeGraphQLField(() => Float, { nullable: true })
  2319. size_eq?: number;
  2320. @TypeGraphQLField(() => Float, { nullable: true })
  2321. size_gt?: number;
  2322. @TypeGraphQLField(() => Float, { nullable: true })
  2323. size_gte?: number;
  2324. @TypeGraphQLField(() => Float, { nullable: true })
  2325. size_lt?: number;
  2326. @TypeGraphQLField(() => Float, { nullable: true })
  2327. size_lte?: number;
  2328. @TypeGraphQLField(() => [Float], { nullable: true })
  2329. size_in?: number[];
  2330. @TypeGraphQLField(() => ID, { nullable: true })
  2331. liaisonId_eq?: string;
  2332. @TypeGraphQLField(() => [ID], { nullable: true })
  2333. liaisonId_in?: string[];
  2334. @TypeGraphQLField(() => LiaisonJudgement, { nullable: true })
  2335. liaisonJudgement_eq?: LiaisonJudgement;
  2336. @TypeGraphQLField(() => [LiaisonJudgement], { nullable: true })
  2337. liaisonJudgement_in?: LiaisonJudgement[];
  2338. @TypeGraphQLField({ nullable: true })
  2339. ipfsContentId_eq?: string;
  2340. @TypeGraphQLField({ nullable: true })
  2341. ipfsContentId_contains?: string;
  2342. @TypeGraphQLField({ nullable: true })
  2343. ipfsContentId_startsWith?: string;
  2344. @TypeGraphQLField({ nullable: true })
  2345. ipfsContentId_endsWith?: string;
  2346. @TypeGraphQLField(() => [String], { nullable: true })
  2347. ipfsContentId_in?: string[];
  2348. @TypeGraphQLField({ nullable: true })
  2349. joystreamContentId_eq?: string;
  2350. @TypeGraphQLField({ nullable: true })
  2351. joystreamContentId_contains?: string;
  2352. @TypeGraphQLField({ nullable: true })
  2353. joystreamContentId_startsWith?: string;
  2354. @TypeGraphQLField({ nullable: true })
  2355. joystreamContentId_endsWith?: string;
  2356. @TypeGraphQLField(() => [String], { nullable: true })
  2357. joystreamContentId_in?: string[];
  2358. @TypeGraphQLField(() => WorkerWhereInput, { nullable: true })
  2359. liaison?: WorkerWhereInput;
  2360. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2361. channelcoverPhotoDataObject_none?: ChannelWhereInput;
  2362. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2363. channelcoverPhotoDataObject_some?: ChannelWhereInput;
  2364. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2365. channelcoverPhotoDataObject_every?: ChannelWhereInput;
  2366. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2367. channelavatarPhotoDataObject_none?: ChannelWhereInput;
  2368. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2369. channelavatarPhotoDataObject_some?: ChannelWhereInput;
  2370. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2371. channelavatarPhotoDataObject_every?: ChannelWhereInput;
  2372. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  2373. videothumbnailPhotoDataObject_none?: VideoMediaMetadataWhereInput;
  2374. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  2375. videothumbnailPhotoDataObject_some?: VideoMediaMetadataWhereInput;
  2376. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  2377. videothumbnailPhotoDataObject_every?: VideoMediaMetadataWhereInput;
  2378. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  2379. videomediaDataObject_none?: VideoMediaMetadataWhereInput;
  2380. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  2381. videomediaDataObject_some?: VideoMediaMetadataWhereInput;
  2382. @TypeGraphQLField(() => VideoMediaMetadataWhereInput, { nullable: true })
  2383. videomediaDataObject_every?: VideoMediaMetadataWhereInput;
  2384. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  2385. AND?: [DataObjectWhereInput];
  2386. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  2387. OR?: [DataObjectWhereInput];
  2388. }
  2389. @TypeGraphQLInputType()
  2390. export class DataObjectWhereUniqueInput {
  2391. @TypeGraphQLField(() => ID)
  2392. id?: string;
  2393. }
  2394. @TypeGraphQLInputType()
  2395. export class DataObjectCreateInput {
  2396. @TypeGraphQLField(() => GraphQLJSONObject)
  2397. owner!: JsonObject;
  2398. @TypeGraphQLField()
  2399. createdInBlock!: number;
  2400. @TypeGraphQLField()
  2401. typeId!: number;
  2402. @TypeGraphQLField()
  2403. size!: number;
  2404. @TypeGraphQLField(() => ID, { nullable: true })
  2405. liaison?: string;
  2406. @TypeGraphQLField(() => ID, { nullable: true })
  2407. liaisonId?: string;
  2408. @TypeGraphQLField(() => LiaisonJudgement)
  2409. liaisonJudgement!: LiaisonJudgement;
  2410. @TypeGraphQLField()
  2411. ipfsContentId!: string;
  2412. @TypeGraphQLField()
  2413. joystreamContentId!: string;
  2414. }
  2415. @TypeGraphQLInputType()
  2416. export class DataObjectUpdateInput {
  2417. @TypeGraphQLField(() => GraphQLJSONObject, { nullable: true })
  2418. owner?: JsonObject;
  2419. @TypeGraphQLField({ nullable: true })
  2420. createdInBlock?: number;
  2421. @TypeGraphQLField({ nullable: true })
  2422. typeId?: number;
  2423. @TypeGraphQLField({ nullable: true })
  2424. size?: number;
  2425. @TypeGraphQLField(() => ID, { nullable: true })
  2426. liaison?: string;
  2427. @TypeGraphQLField(() => ID, { nullable: true })
  2428. liaisonId?: string;
  2429. @TypeGraphQLField(() => LiaisonJudgement, { nullable: true })
  2430. liaisonJudgement?: LiaisonJudgement;
  2431. @TypeGraphQLField({ nullable: true })
  2432. ipfsContentId?: string;
  2433. @TypeGraphQLField({ nullable: true })
  2434. joystreamContentId?: string;
  2435. }
  2436. @ArgsType()
  2437. export class DataObjectWhereArgs extends PaginationArgs {
  2438. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  2439. where?: DataObjectWhereInput;
  2440. @TypeGraphQLField(() => DataObjectOrderByEnum, { nullable: true })
  2441. orderBy?: DataObjectOrderByEnum[];
  2442. }
  2443. @ArgsType()
  2444. export class DataObjectCreateManyArgs {
  2445. @TypeGraphQLField(() => [DataObjectCreateInput])
  2446. data!: DataObjectCreateInput[];
  2447. }
  2448. @ArgsType()
  2449. export class DataObjectUpdateArgs {
  2450. @TypeGraphQLField() data!: DataObjectUpdateInput;
  2451. @TypeGraphQLField() where!: DataObjectWhereUniqueInput;
  2452. }
  2453. export enum ChannelOrderByEnum {
  2454. createdAt_ASC = "createdAt_ASC",
  2455. createdAt_DESC = "createdAt_DESC",
  2456. updatedAt_ASC = "updatedAt_ASC",
  2457. updatedAt_DESC = "updatedAt_DESC",
  2458. deletedAt_ASC = "deletedAt_ASC",
  2459. deletedAt_DESC = "deletedAt_DESC",
  2460. ownerMember_ASC = "ownerMember_ASC",
  2461. ownerMember_DESC = "ownerMember_DESC",
  2462. ownerMemberId_ASC = "ownerMemberId_ASC",
  2463. ownerMemberId_DESC = "ownerMemberId_DESC",
  2464. ownerCuratorGroup_ASC = "ownerCuratorGroup_ASC",
  2465. ownerCuratorGroup_DESC = "ownerCuratorGroup_DESC",
  2466. ownerCuratorGroupId_ASC = "ownerCuratorGroupId_ASC",
  2467. ownerCuratorGroupId_DESC = "ownerCuratorGroupId_DESC",
  2468. category_ASC = "category_ASC",
  2469. category_DESC = "category_DESC",
  2470. categoryId_ASC = "categoryId_ASC",
  2471. categoryId_DESC = "categoryId_DESC",
  2472. rewardAccount_ASC = "rewardAccount_ASC",
  2473. rewardAccount_DESC = "rewardAccount_DESC",
  2474. title_ASC = "title_ASC",
  2475. title_DESC = "title_DESC",
  2476. description_ASC = "description_ASC",
  2477. description_DESC = "description_DESC",
  2478. coverPhotoDataObject_ASC = "coverPhotoDataObject_ASC",
  2479. coverPhotoDataObject_DESC = "coverPhotoDataObject_DESC",
  2480. coverPhotoDataObjectId_ASC = "coverPhotoDataObjectId_ASC",
  2481. coverPhotoDataObjectId_DESC = "coverPhotoDataObjectId_DESC",
  2482. coverPhotoAvailability_ASC = "coverPhotoAvailability_ASC",
  2483. coverPhotoAvailability_DESC = "coverPhotoAvailability_DESC",
  2484. avatarPhotoDataObject_ASC = "avatarPhotoDataObject_ASC",
  2485. avatarPhotoDataObject_DESC = "avatarPhotoDataObject_DESC",
  2486. avatarPhotoDataObjectId_ASC = "avatarPhotoDataObjectId_ASC",
  2487. avatarPhotoDataObjectId_DESC = "avatarPhotoDataObjectId_DESC",
  2488. avatarPhotoAvailability_ASC = "avatarPhotoAvailability_ASC",
  2489. avatarPhotoAvailability_DESC = "avatarPhotoAvailability_DESC",
  2490. isPublic_ASC = "isPublic_ASC",
  2491. isPublic_DESC = "isPublic_DESC",
  2492. isCensored_ASC = "isCensored_ASC",
  2493. isCensored_DESC = "isCensored_DESC",
  2494. language_ASC = "language_ASC",
  2495. language_DESC = "language_DESC",
  2496. languageId_ASC = "languageId_ASC",
  2497. languageId_DESC = "languageId_DESC",
  2498. createdInBlock_ASC = "createdInBlock_ASC",
  2499. createdInBlock_DESC = "createdInBlock_DESC"
  2500. }
  2501. registerEnumType(ChannelOrderByEnum, {
  2502. name: "ChannelOrderByInput"
  2503. });
  2504. @TypeGraphQLInputType()
  2505. export class ChannelWhereInput {
  2506. @TypeGraphQLField(() => ID, { nullable: true })
  2507. id_eq?: string;
  2508. @TypeGraphQLField(() => [ID], { nullable: true })
  2509. id_in?: string[];
  2510. @TypeGraphQLField(() => DateTime, { nullable: true })
  2511. createdAt_eq?: Date;
  2512. @TypeGraphQLField(() => DateTime, { nullable: true })
  2513. createdAt_lt?: Date;
  2514. @TypeGraphQLField(() => DateTime, { nullable: true })
  2515. createdAt_lte?: Date;
  2516. @TypeGraphQLField(() => DateTime, { nullable: true })
  2517. createdAt_gt?: Date;
  2518. @TypeGraphQLField(() => DateTime, { nullable: true })
  2519. createdAt_gte?: Date;
  2520. @TypeGraphQLField(() => ID, { nullable: true })
  2521. createdById_eq?: string;
  2522. @TypeGraphQLField(() => [ID], { nullable: true })
  2523. createdById_in?: string[];
  2524. @TypeGraphQLField(() => DateTime, { nullable: true })
  2525. updatedAt_eq?: Date;
  2526. @TypeGraphQLField(() => DateTime, { nullable: true })
  2527. updatedAt_lt?: Date;
  2528. @TypeGraphQLField(() => DateTime, { nullable: true })
  2529. updatedAt_lte?: Date;
  2530. @TypeGraphQLField(() => DateTime, { nullable: true })
  2531. updatedAt_gt?: Date;
  2532. @TypeGraphQLField(() => DateTime, { nullable: true })
  2533. updatedAt_gte?: Date;
  2534. @TypeGraphQLField(() => ID, { nullable: true })
  2535. updatedById_eq?: string;
  2536. @TypeGraphQLField(() => [ID], { nullable: true })
  2537. updatedById_in?: string[];
  2538. @TypeGraphQLField({ nullable: true })
  2539. deletedAt_all?: Boolean;
  2540. @TypeGraphQLField(() => DateTime, { nullable: true })
  2541. deletedAt_eq?: Date;
  2542. @TypeGraphQLField(() => DateTime, { nullable: true })
  2543. deletedAt_lt?: Date;
  2544. @TypeGraphQLField(() => DateTime, { nullable: true })
  2545. deletedAt_lte?: Date;
  2546. @TypeGraphQLField(() => DateTime, { nullable: true })
  2547. deletedAt_gt?: Date;
  2548. @TypeGraphQLField(() => DateTime, { nullable: true })
  2549. deletedAt_gte?: Date;
  2550. @TypeGraphQLField(() => ID, { nullable: true })
  2551. deletedById_eq?: string;
  2552. @TypeGraphQLField(() => [ID], { nullable: true })
  2553. deletedById_in?: string[];
  2554. @TypeGraphQLField(() => ID, { nullable: true })
  2555. ownerMemberId_eq?: string;
  2556. @TypeGraphQLField(() => [ID], { nullable: true })
  2557. ownerMemberId_in?: string[];
  2558. @TypeGraphQLField(() => ID, { nullable: true })
  2559. ownerCuratorGroupId_eq?: string;
  2560. @TypeGraphQLField(() => [ID], { nullable: true })
  2561. ownerCuratorGroupId_in?: string[];
  2562. @TypeGraphQLField(() => ID, { nullable: true })
  2563. categoryId_eq?: string;
  2564. @TypeGraphQLField(() => [ID], { nullable: true })
  2565. categoryId_in?: string[];
  2566. @TypeGraphQLField({ nullable: true })
  2567. rewardAccount_eq?: string;
  2568. @TypeGraphQLField({ nullable: true })
  2569. rewardAccount_contains?: string;
  2570. @TypeGraphQLField({ nullable: true })
  2571. rewardAccount_startsWith?: string;
  2572. @TypeGraphQLField({ nullable: true })
  2573. rewardAccount_endsWith?: string;
  2574. @TypeGraphQLField(() => [String], { nullable: true })
  2575. rewardAccount_in?: string[];
  2576. @TypeGraphQLField({ nullable: true })
  2577. title_eq?: string;
  2578. @TypeGraphQLField({ nullable: true })
  2579. title_contains?: string;
  2580. @TypeGraphQLField({ nullable: true })
  2581. title_startsWith?: string;
  2582. @TypeGraphQLField({ nullable: true })
  2583. title_endsWith?: string;
  2584. @TypeGraphQLField(() => [String], { nullable: true })
  2585. title_in?: string[];
  2586. @TypeGraphQLField({ nullable: true })
  2587. description_eq?: string;
  2588. @TypeGraphQLField({ nullable: true })
  2589. description_contains?: string;
  2590. @TypeGraphQLField({ nullable: true })
  2591. description_startsWith?: string;
  2592. @TypeGraphQLField({ nullable: true })
  2593. description_endsWith?: string;
  2594. @TypeGraphQLField(() => [String], { nullable: true })
  2595. description_in?: string[];
  2596. @TypeGraphQLField(() => ID, { nullable: true })
  2597. coverPhotoDataObjectId_eq?: string;
  2598. @TypeGraphQLField(() => [ID], { nullable: true })
  2599. coverPhotoDataObjectId_in?: string[];
  2600. @TypeGraphQLField(() => [String], { nullable: true })
  2601. coverPhotoUrls_containsAll?: [string];
  2602. @TypeGraphQLField(() => [String], { nullable: true })
  2603. coverPhotoUrls_containsNone?: [string];
  2604. @TypeGraphQLField(() => [String], { nullable: true })
  2605. coverPhotoUrls_containsAny?: [string];
  2606. @TypeGraphQLField(() => AssetAvailability, { nullable: true })
  2607. coverPhotoAvailability_eq?: AssetAvailability;
  2608. @TypeGraphQLField(() => [AssetAvailability], { nullable: true })
  2609. coverPhotoAvailability_in?: AssetAvailability[];
  2610. @TypeGraphQLField(() => ID, { nullable: true })
  2611. avatarPhotoDataObjectId_eq?: string;
  2612. @TypeGraphQLField(() => [ID], { nullable: true })
  2613. avatarPhotoDataObjectId_in?: string[];
  2614. @TypeGraphQLField(() => [String], { nullable: true })
  2615. avatarPhotoUrls_containsAll?: [string];
  2616. @TypeGraphQLField(() => [String], { nullable: true })
  2617. avatarPhotoUrls_containsNone?: [string];
  2618. @TypeGraphQLField(() => [String], { nullable: true })
  2619. avatarPhotoUrls_containsAny?: [string];
  2620. @TypeGraphQLField(() => AssetAvailability, { nullable: true })
  2621. avatarPhotoAvailability_eq?: AssetAvailability;
  2622. @TypeGraphQLField(() => [AssetAvailability], { nullable: true })
  2623. avatarPhotoAvailability_in?: AssetAvailability[];
  2624. @TypeGraphQLField(() => Boolean, { nullable: true })
  2625. isPublic_eq?: Boolean;
  2626. @TypeGraphQLField(() => [Boolean], { nullable: true })
  2627. isPublic_in?: Boolean[];
  2628. @TypeGraphQLField(() => Boolean, { nullable: true })
  2629. isCensored_eq?: Boolean;
  2630. @TypeGraphQLField(() => [Boolean], { nullable: true })
  2631. isCensored_in?: Boolean[];
  2632. @TypeGraphQLField(() => ID, { nullable: true })
  2633. languageId_eq?: string;
  2634. @TypeGraphQLField(() => [ID], { nullable: true })
  2635. languageId_in?: string[];
  2636. @TypeGraphQLField(() => Int, { nullable: true })
  2637. createdInBlock_eq?: number;
  2638. @TypeGraphQLField(() => Int, { nullable: true })
  2639. createdInBlock_gt?: number;
  2640. @TypeGraphQLField(() => Int, { nullable: true })
  2641. createdInBlock_gte?: number;
  2642. @TypeGraphQLField(() => Int, { nullable: true })
  2643. createdInBlock_lt?: number;
  2644. @TypeGraphQLField(() => Int, { nullable: true })
  2645. createdInBlock_lte?: number;
  2646. @TypeGraphQLField(() => [Int], { nullable: true })
  2647. createdInBlock_in?: number[];
  2648. @TypeGraphQLField(() => MembershipWhereInput, { nullable: true })
  2649. ownerMember?: MembershipWhereInput;
  2650. @TypeGraphQLField(() => CuratorGroupWhereInput, { nullable: true })
  2651. ownerCuratorGroup?: CuratorGroupWhereInput;
  2652. @TypeGraphQLField(() => ChannelCategoryWhereInput, { nullable: true })
  2653. category?: ChannelCategoryWhereInput;
  2654. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  2655. coverPhotoDataObject?: DataObjectWhereInput;
  2656. @TypeGraphQLField(() => DataObjectWhereInput, { nullable: true })
  2657. avatarPhotoDataObject?: DataObjectWhereInput;
  2658. @TypeGraphQLField(() => LanguageWhereInput, { nullable: true })
  2659. language?: LanguageWhereInput;
  2660. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  2661. videos_none?: VideoWhereInput;
  2662. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  2663. videos_some?: VideoWhereInput;
  2664. @TypeGraphQLField(() => VideoWhereInput, { nullable: true })
  2665. videos_every?: VideoWhereInput;
  2666. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2667. AND?: [ChannelWhereInput];
  2668. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2669. OR?: [ChannelWhereInput];
  2670. }
  2671. @TypeGraphQLInputType()
  2672. export class ChannelWhereUniqueInput {
  2673. @TypeGraphQLField(() => ID)
  2674. id?: string;
  2675. }
  2676. @TypeGraphQLInputType()
  2677. export class ChannelCreateInput {
  2678. @TypeGraphQLField(() => ID, { nullable: true })
  2679. ownerMember?: string;
  2680. @TypeGraphQLField(() => ID, { nullable: true })
  2681. ownerMemberId?: string;
  2682. @TypeGraphQLField(() => ID, { nullable: true })
  2683. ownerCuratorGroup?: string;
  2684. @TypeGraphQLField(() => ID, { nullable: true })
  2685. ownerCuratorGroupId?: string;
  2686. @TypeGraphQLField(() => ID, { nullable: true })
  2687. category?: string;
  2688. @TypeGraphQLField(() => ID, { nullable: true })
  2689. categoryId?: string;
  2690. @TypeGraphQLField({ nullable: true })
  2691. rewardAccount?: string;
  2692. @TypeGraphQLField({ nullable: true })
  2693. title?: string;
  2694. @TypeGraphQLField({ nullable: true })
  2695. description?: string;
  2696. @TypeGraphQLField(() => ID, { nullable: true })
  2697. coverPhotoDataObject?: string;
  2698. @TypeGraphQLField(() => ID, { nullable: true })
  2699. coverPhotoDataObjectId?: string;
  2700. @TypeGraphQLField(() => [String])
  2701. coverPhotoUrls!: string[];
  2702. @TypeGraphQLField(() => AssetAvailability)
  2703. coverPhotoAvailability!: AssetAvailability;
  2704. @TypeGraphQLField(() => ID, { nullable: true })
  2705. avatarPhotoDataObject?: string;
  2706. @TypeGraphQLField(() => ID, { nullable: true })
  2707. avatarPhotoDataObjectId?: string;
  2708. @TypeGraphQLField(() => [String])
  2709. avatarPhotoUrls!: string[];
  2710. @TypeGraphQLField(() => AssetAvailability)
  2711. avatarPhotoAvailability!: AssetAvailability;
  2712. @TypeGraphQLField({ nullable: true })
  2713. isPublic?: boolean;
  2714. @TypeGraphQLField()
  2715. isCensored!: boolean;
  2716. @TypeGraphQLField(() => ID, { nullable: true })
  2717. language?: string;
  2718. @TypeGraphQLField(() => ID, { nullable: true })
  2719. languageId?: string;
  2720. @TypeGraphQLField()
  2721. createdInBlock!: number;
  2722. }
  2723. @TypeGraphQLInputType()
  2724. export class ChannelUpdateInput {
  2725. @TypeGraphQLField(() => ID, { nullable: true })
  2726. ownerMember?: string;
  2727. @TypeGraphQLField(() => ID, { nullable: true })
  2728. ownerMemberId?: string;
  2729. @TypeGraphQLField(() => ID, { nullable: true })
  2730. ownerCuratorGroup?: string;
  2731. @TypeGraphQLField(() => ID, { nullable: true })
  2732. ownerCuratorGroupId?: string;
  2733. @TypeGraphQLField(() => ID, { nullable: true })
  2734. category?: string;
  2735. @TypeGraphQLField(() => ID, { nullable: true })
  2736. categoryId?: string;
  2737. @TypeGraphQLField({ nullable: true })
  2738. rewardAccount?: string;
  2739. @TypeGraphQLField({ nullable: true })
  2740. title?: string;
  2741. @TypeGraphQLField({ nullable: true })
  2742. description?: string;
  2743. @TypeGraphQLField(() => ID, { nullable: true })
  2744. coverPhotoDataObject?: string;
  2745. @TypeGraphQLField(() => ID, { nullable: true })
  2746. coverPhotoDataObjectId?: string;
  2747. @TypeGraphQLField(() => [String], { nullable: true })
  2748. coverPhotoUrls?: string[];
  2749. @TypeGraphQLField(() => AssetAvailability, { nullable: true })
  2750. coverPhotoAvailability?: AssetAvailability;
  2751. @TypeGraphQLField(() => ID, { nullable: true })
  2752. avatarPhotoDataObject?: string;
  2753. @TypeGraphQLField(() => ID, { nullable: true })
  2754. avatarPhotoDataObjectId?: string;
  2755. @TypeGraphQLField(() => [String], { nullable: true })
  2756. avatarPhotoUrls?: string[];
  2757. @TypeGraphQLField(() => AssetAvailability, { nullable: true })
  2758. avatarPhotoAvailability?: AssetAvailability;
  2759. @TypeGraphQLField({ nullable: true })
  2760. isPublic?: boolean;
  2761. @TypeGraphQLField({ nullable: true })
  2762. isCensored?: boolean;
  2763. @TypeGraphQLField(() => ID, { nullable: true })
  2764. language?: string;
  2765. @TypeGraphQLField(() => ID, { nullable: true })
  2766. languageId?: string;
  2767. @TypeGraphQLField({ nullable: true })
  2768. createdInBlock?: number;
  2769. }
  2770. @ArgsType()
  2771. export class ChannelWhereArgs extends PaginationArgs {
  2772. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2773. where?: ChannelWhereInput;
  2774. @TypeGraphQLField(() => ChannelOrderByEnum, { nullable: true })
  2775. orderBy?: ChannelOrderByEnum[];
  2776. }
  2777. @ArgsType()
  2778. export class ChannelCreateManyArgs {
  2779. @TypeGraphQLField(() => [ChannelCreateInput])
  2780. data!: ChannelCreateInput[];
  2781. }
  2782. @ArgsType()
  2783. export class ChannelUpdateArgs {
  2784. @TypeGraphQLField() data!: ChannelUpdateInput;
  2785. @TypeGraphQLField() where!: ChannelWhereUniqueInput;
  2786. }
  2787. export enum MembershipOrderByEnum {
  2788. createdAt_ASC = "createdAt_ASC",
  2789. createdAt_DESC = "createdAt_DESC",
  2790. updatedAt_ASC = "updatedAt_ASC",
  2791. updatedAt_DESC = "updatedAt_DESC",
  2792. deletedAt_ASC = "deletedAt_ASC",
  2793. deletedAt_DESC = "deletedAt_DESC",
  2794. handle_ASC = "handle_ASC",
  2795. handle_DESC = "handle_DESC",
  2796. avatarUri_ASC = "avatarUri_ASC",
  2797. avatarUri_DESC = "avatarUri_DESC",
  2798. about_ASC = "about_ASC",
  2799. about_DESC = "about_DESC",
  2800. controllerAccount_ASC = "controllerAccount_ASC",
  2801. controllerAccount_DESC = "controllerAccount_DESC",
  2802. rootAccount_ASC = "rootAccount_ASC",
  2803. rootAccount_DESC = "rootAccount_DESC",
  2804. createdInBlock_ASC = "createdInBlock_ASC",
  2805. createdInBlock_DESC = "createdInBlock_DESC",
  2806. entry_ASC = "entry_ASC",
  2807. entry_DESC = "entry_DESC",
  2808. subscription_ASC = "subscription_ASC",
  2809. subscription_DESC = "subscription_DESC"
  2810. }
  2811. registerEnumType(MembershipOrderByEnum, {
  2812. name: "MembershipOrderByInput"
  2813. });
  2814. @TypeGraphQLInputType()
  2815. export class MembershipWhereInput {
  2816. @TypeGraphQLField(() => ID, { nullable: true })
  2817. id_eq?: string;
  2818. @TypeGraphQLField(() => [ID], { nullable: true })
  2819. id_in?: string[];
  2820. @TypeGraphQLField(() => DateTime, { nullable: true })
  2821. createdAt_eq?: Date;
  2822. @TypeGraphQLField(() => DateTime, { nullable: true })
  2823. createdAt_lt?: Date;
  2824. @TypeGraphQLField(() => DateTime, { nullable: true })
  2825. createdAt_lte?: Date;
  2826. @TypeGraphQLField(() => DateTime, { nullable: true })
  2827. createdAt_gt?: Date;
  2828. @TypeGraphQLField(() => DateTime, { nullable: true })
  2829. createdAt_gte?: Date;
  2830. @TypeGraphQLField(() => ID, { nullable: true })
  2831. createdById_eq?: string;
  2832. @TypeGraphQLField(() => [ID], { nullable: true })
  2833. createdById_in?: string[];
  2834. @TypeGraphQLField(() => DateTime, { nullable: true })
  2835. updatedAt_eq?: Date;
  2836. @TypeGraphQLField(() => DateTime, { nullable: true })
  2837. updatedAt_lt?: Date;
  2838. @TypeGraphQLField(() => DateTime, { nullable: true })
  2839. updatedAt_lte?: Date;
  2840. @TypeGraphQLField(() => DateTime, { nullable: true })
  2841. updatedAt_gt?: Date;
  2842. @TypeGraphQLField(() => DateTime, { nullable: true })
  2843. updatedAt_gte?: Date;
  2844. @TypeGraphQLField(() => ID, { nullable: true })
  2845. updatedById_eq?: string;
  2846. @TypeGraphQLField(() => [ID], { nullable: true })
  2847. updatedById_in?: string[];
  2848. @TypeGraphQLField({ nullable: true })
  2849. deletedAt_all?: Boolean;
  2850. @TypeGraphQLField(() => DateTime, { nullable: true })
  2851. deletedAt_eq?: Date;
  2852. @TypeGraphQLField(() => DateTime, { nullable: true })
  2853. deletedAt_lt?: Date;
  2854. @TypeGraphQLField(() => DateTime, { nullable: true })
  2855. deletedAt_lte?: Date;
  2856. @TypeGraphQLField(() => DateTime, { nullable: true })
  2857. deletedAt_gt?: Date;
  2858. @TypeGraphQLField(() => DateTime, { nullable: true })
  2859. deletedAt_gte?: Date;
  2860. @TypeGraphQLField(() => ID, { nullable: true })
  2861. deletedById_eq?: string;
  2862. @TypeGraphQLField(() => [ID], { nullable: true })
  2863. deletedById_in?: string[];
  2864. @TypeGraphQLField({ nullable: true })
  2865. handle_eq?: string;
  2866. @TypeGraphQLField({ nullable: true })
  2867. handle_contains?: string;
  2868. @TypeGraphQLField({ nullable: true })
  2869. handle_startsWith?: string;
  2870. @TypeGraphQLField({ nullable: true })
  2871. handle_endsWith?: string;
  2872. @TypeGraphQLField(() => [String], { nullable: true })
  2873. handle_in?: string[];
  2874. @TypeGraphQLField({ nullable: true })
  2875. avatarUri_eq?: string;
  2876. @TypeGraphQLField({ nullable: true })
  2877. avatarUri_contains?: string;
  2878. @TypeGraphQLField({ nullable: true })
  2879. avatarUri_startsWith?: string;
  2880. @TypeGraphQLField({ nullable: true })
  2881. avatarUri_endsWith?: string;
  2882. @TypeGraphQLField(() => [String], { nullable: true })
  2883. avatarUri_in?: string[];
  2884. @TypeGraphQLField({ nullable: true })
  2885. about_eq?: string;
  2886. @TypeGraphQLField({ nullable: true })
  2887. about_contains?: string;
  2888. @TypeGraphQLField({ nullable: true })
  2889. about_startsWith?: string;
  2890. @TypeGraphQLField({ nullable: true })
  2891. about_endsWith?: string;
  2892. @TypeGraphQLField(() => [String], { nullable: true })
  2893. about_in?: string[];
  2894. @TypeGraphQLField({ nullable: true })
  2895. controllerAccount_eq?: string;
  2896. @TypeGraphQLField({ nullable: true })
  2897. controllerAccount_contains?: string;
  2898. @TypeGraphQLField({ nullable: true })
  2899. controllerAccount_startsWith?: string;
  2900. @TypeGraphQLField({ nullable: true })
  2901. controllerAccount_endsWith?: string;
  2902. @TypeGraphQLField(() => [String], { nullable: true })
  2903. controllerAccount_in?: string[];
  2904. @TypeGraphQLField({ nullable: true })
  2905. rootAccount_eq?: string;
  2906. @TypeGraphQLField({ nullable: true })
  2907. rootAccount_contains?: string;
  2908. @TypeGraphQLField({ nullable: true })
  2909. rootAccount_startsWith?: string;
  2910. @TypeGraphQLField({ nullable: true })
  2911. rootAccount_endsWith?: string;
  2912. @TypeGraphQLField(() => [String], { nullable: true })
  2913. rootAccount_in?: string[];
  2914. @TypeGraphQLField(() => Int, { nullable: true })
  2915. createdInBlock_eq?: number;
  2916. @TypeGraphQLField(() => Int, { nullable: true })
  2917. createdInBlock_gt?: number;
  2918. @TypeGraphQLField(() => Int, { nullable: true })
  2919. createdInBlock_gte?: number;
  2920. @TypeGraphQLField(() => Int, { nullable: true })
  2921. createdInBlock_lt?: number;
  2922. @TypeGraphQLField(() => Int, { nullable: true })
  2923. createdInBlock_lte?: number;
  2924. @TypeGraphQLField(() => [Int], { nullable: true })
  2925. createdInBlock_in?: number[];
  2926. @TypeGraphQLField(() => MembershipEntryMethod, { nullable: true })
  2927. entry_eq?: MembershipEntryMethod;
  2928. @TypeGraphQLField(() => [MembershipEntryMethod], { nullable: true })
  2929. entry_in?: MembershipEntryMethod[];
  2930. @TypeGraphQLField(() => Int, { nullable: true })
  2931. subscription_eq?: number;
  2932. @TypeGraphQLField(() => Int, { nullable: true })
  2933. subscription_gt?: number;
  2934. @TypeGraphQLField(() => Int, { nullable: true })
  2935. subscription_gte?: number;
  2936. @TypeGraphQLField(() => Int, { nullable: true })
  2937. subscription_lt?: number;
  2938. @TypeGraphQLField(() => Int, { nullable: true })
  2939. subscription_lte?: number;
  2940. @TypeGraphQLField(() => [Int], { nullable: true })
  2941. subscription_in?: number[];
  2942. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2943. channels_none?: ChannelWhereInput;
  2944. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2945. channels_some?: ChannelWhereInput;
  2946. @TypeGraphQLField(() => ChannelWhereInput, { nullable: true })
  2947. channels_every?: ChannelWhereInput;
  2948. @TypeGraphQLField(() => MembershipWhereInput, { nullable: true })
  2949. AND?: [MembershipWhereInput];
  2950. @TypeGraphQLField(() => MembershipWhereInput, { nullable: true })
  2951. OR?: [MembershipWhereInput];
  2952. }
  2953. @TypeGraphQLInputType()
  2954. export class MembershipWhereUniqueInput {
  2955. @TypeGraphQLField(() => ID, { nullable: true })
  2956. id?: string;
  2957. @TypeGraphQLField(() => String, { nullable: true })
  2958. handle?: string;
  2959. }
  2960. @TypeGraphQLInputType()
  2961. export class MembershipCreateInput {
  2962. @TypeGraphQLField()
  2963. handle!: string;
  2964. @TypeGraphQLField({ nullable: true })
  2965. avatarUri?: string;
  2966. @TypeGraphQLField({ nullable: true })
  2967. about?: string;
  2968. @TypeGraphQLField()
  2969. controllerAccount!: string;
  2970. @TypeGraphQLField()
  2971. rootAccount!: string;
  2972. @TypeGraphQLField()
  2973. createdInBlock!: number;
  2974. @TypeGraphQLField(() => MembershipEntryMethod)
  2975. entry!: MembershipEntryMethod;
  2976. @TypeGraphQLField({ nullable: true })
  2977. subscription?: number;
  2978. }
  2979. @TypeGraphQLInputType()
  2980. export class MembershipUpdateInput {
  2981. @TypeGraphQLField({ nullable: true })
  2982. handle?: string;
  2983. @TypeGraphQLField({ nullable: true })
  2984. avatarUri?: string;
  2985. @TypeGraphQLField({ nullable: true })
  2986. about?: string;
  2987. @TypeGraphQLField({ nullable: true })
  2988. controllerAccount?: string;
  2989. @TypeGraphQLField({ nullable: true })
  2990. rootAccount?: string;
  2991. @TypeGraphQLField({ nullable: true })
  2992. createdInBlock?: number;
  2993. @TypeGraphQLField(() => MembershipEntryMethod, { nullable: true })
  2994. entry?: MembershipEntryMethod;
  2995. @TypeGraphQLField({ nullable: true })
  2996. subscription?: number;
  2997. }
  2998. @ArgsType()
  2999. export class MembershipWhereArgs extends PaginationArgs {
  3000. @TypeGraphQLField(() => MembershipWhereInput, { nullable: true })
  3001. where?: MembershipWhereInput;
  3002. @TypeGraphQLField(() => MembershipOrderByEnum, { nullable: true })
  3003. orderBy?: MembershipOrderByEnum[];
  3004. }
  3005. @ArgsType()
  3006. export class MembershipCreateManyArgs {
  3007. @TypeGraphQLField(() => [MembershipCreateInput])
  3008. data!: MembershipCreateInput[];
  3009. }
  3010. @ArgsType()
  3011. export class MembershipUpdateArgs {
  3012. @TypeGraphQLField() data!: MembershipUpdateInput;
  3013. @TypeGraphQLField() where!: MembershipWhereUniqueInput;
  3014. }
  3015. export enum NextEntityIdOrderByEnum {
  3016. createdAt_ASC = "createdAt_ASC",
  3017. createdAt_DESC = "createdAt_DESC",
  3018. updatedAt_ASC = "updatedAt_ASC",
  3019. updatedAt_DESC = "updatedAt_DESC",
  3020. deletedAt_ASC = "deletedAt_ASC",
  3021. deletedAt_DESC = "deletedAt_DESC",
  3022. nextId_ASC = "nextId_ASC",
  3023. nextId_DESC = "nextId_DESC"
  3024. }
  3025. registerEnumType(NextEntityIdOrderByEnum, {
  3026. name: "NextEntityIdOrderByInput"
  3027. });
  3028. @TypeGraphQLInputType()
  3029. export class NextEntityIdWhereInput {
  3030. @TypeGraphQLField(() => ID, { nullable: true })
  3031. id_eq?: string;
  3032. @TypeGraphQLField(() => [ID], { nullable: true })
  3033. id_in?: string[];
  3034. @TypeGraphQLField(() => DateTime, { nullable: true })
  3035. createdAt_eq?: Date;
  3036. @TypeGraphQLField(() => DateTime, { nullable: true })
  3037. createdAt_lt?: Date;
  3038. @TypeGraphQLField(() => DateTime, { nullable: true })
  3039. createdAt_lte?: Date;
  3040. @TypeGraphQLField(() => DateTime, { nullable: true })
  3041. createdAt_gt?: Date;
  3042. @TypeGraphQLField(() => DateTime, { nullable: true })
  3043. createdAt_gte?: Date;
  3044. @TypeGraphQLField(() => ID, { nullable: true })
  3045. createdById_eq?: string;
  3046. @TypeGraphQLField(() => [ID], { nullable: true })
  3047. createdById_in?: string[];
  3048. @TypeGraphQLField(() => DateTime, { nullable: true })
  3049. updatedAt_eq?: Date;
  3050. @TypeGraphQLField(() => DateTime, { nullable: true })
  3051. updatedAt_lt?: Date;
  3052. @TypeGraphQLField(() => DateTime, { nullable: true })
  3053. updatedAt_lte?: Date;
  3054. @TypeGraphQLField(() => DateTime, { nullable: true })
  3055. updatedAt_gt?: Date;
  3056. @TypeGraphQLField(() => DateTime, { nullable: true })
  3057. updatedAt_gte?: Date;
  3058. @TypeGraphQLField(() => ID, { nullable: true })
  3059. updatedById_eq?: string;
  3060. @TypeGraphQLField(() => [ID], { nullable: true })
  3061. updatedById_in?: string[];
  3062. @TypeGraphQLField({ nullable: true })
  3063. deletedAt_all?: Boolean;
  3064. @TypeGraphQLField(() => DateTime, { nullable: true })
  3065. deletedAt_eq?: Date;
  3066. @TypeGraphQLField(() => DateTime, { nullable: true })
  3067. deletedAt_lt?: Date;
  3068. @TypeGraphQLField(() => DateTime, { nullable: true })
  3069. deletedAt_lte?: Date;
  3070. @TypeGraphQLField(() => DateTime, { nullable: true })
  3071. deletedAt_gt?: Date;
  3072. @TypeGraphQLField(() => DateTime, { nullable: true })
  3073. deletedAt_gte?: Date;
  3074. @TypeGraphQLField(() => ID, { nullable: true })
  3075. deletedById_eq?: string;
  3076. @TypeGraphQLField(() => [ID], { nullable: true })
  3077. deletedById_in?: string[];
  3078. @TypeGraphQLField(() => Float, { nullable: true })
  3079. nextId_eq?: number;
  3080. @TypeGraphQLField(() => Float, { nullable: true })
  3081. nextId_gt?: number;
  3082. @TypeGraphQLField(() => Float, { nullable: true })
  3083. nextId_gte?: number;
  3084. @TypeGraphQLField(() => Float, { nullable: true })
  3085. nextId_lt?: number;
  3086. @TypeGraphQLField(() => Float, { nullable: true })
  3087. nextId_lte?: number;
  3088. @TypeGraphQLField(() => [Float], { nullable: true })
  3089. nextId_in?: number[];
  3090. @TypeGraphQLField(() => NextEntityIdWhereInput, { nullable: true })
  3091. AND?: [NextEntityIdWhereInput];
  3092. @TypeGraphQLField(() => NextEntityIdWhereInput, { nullable: true })
  3093. OR?: [NextEntityIdWhereInput];
  3094. }
  3095. @TypeGraphQLInputType()
  3096. export class NextEntityIdWhereUniqueInput {
  3097. @TypeGraphQLField(() => ID)
  3098. id?: string;
  3099. }
  3100. @TypeGraphQLInputType()
  3101. export class NextEntityIdCreateInput {
  3102. @TypeGraphQLField()
  3103. nextId!: number;
  3104. }
  3105. @TypeGraphQLInputType()
  3106. export class NextEntityIdUpdateInput {
  3107. @TypeGraphQLField({ nullable: true })
  3108. nextId?: number;
  3109. }
  3110. @ArgsType()
  3111. export class NextEntityIdWhereArgs extends PaginationArgs {
  3112. @TypeGraphQLField(() => NextEntityIdWhereInput, { nullable: true })
  3113. where?: NextEntityIdWhereInput;
  3114. @TypeGraphQLField(() => NextEntityIdOrderByEnum, { nullable: true })
  3115. orderBy?: NextEntityIdOrderByEnum[];
  3116. }
  3117. @ArgsType()
  3118. export class NextEntityIdCreateManyArgs {
  3119. @TypeGraphQLField(() => [NextEntityIdCreateInput])
  3120. data!: NextEntityIdCreateInput[];
  3121. }
  3122. @ArgsType()
  3123. export class NextEntityIdUpdateArgs {
  3124. @TypeGraphQLField() data!: NextEntityIdUpdateInput;
  3125. @TypeGraphQLField() where!: NextEntityIdWhereUniqueInput;
  3126. }