Browse Source

query node - graphql playground settings + reenabling relation id fields

ondratra 3 years ago
parent
commit
27dfe5a50b

+ 1 - 1
package.json

@@ -38,7 +38,7 @@
     "@polkadot/util": "^6.0.5",
     "@polkadot/util-crypto": "^6.0.5",
     "@polkadot/wasm-crypto": "^4.0.2",
-    "warthog": "https://github.com/Joystream/warthog/releases/download/v2.37.0/joystream-warthog-v2.37.0.tgz",
+    "warthog": "https://github.com/Joystream/warthog/releases/download/v2.37.2-sumer/joystream-warthog-v2.37.2-sumer.tgz",
     "babel-core": "^7.0.0-bridge.0",
     "typescript": "^3.9.7",
     "bn.js": "^5.1.2",

+ 6 - 17
query-node/README.md

@@ -60,22 +60,11 @@ The simplest way to run an indexer locally is to run `docker-compose-indexer.yml
 
 Follow the links for more information about the [indexer](https://github.com/Joystream/hydra/tree/master/packages/hydra-indexer/README.md) service and [indexer-api-gateway](https://github.com/Joystream/hydra/tree/master/packages/hydra-indexer-gateway/README.md).
 
-
-
-# Tmp command order
-TODO: remove after integration tests are finished and query node runs without any issues
-```
-# build everything
-yarn
-yarn build
-
+## GraphQL Playground assets url
+Query node's user interface, GraphQL Playground, is expecting to be served at `/graphql`. 
+If you are serving the files on path like `/query/server/graphql` via some nginx proxy, aliasing, etc. you will need to provide
+the base url to query node server via `GRAPHQL_PLAYGROUND_CDN` environment variable.
 ```
-
-running the processor:
-```
-cp types/augment/all/defs.json query-node/mappings/lib/generated/types/typedefs.json
-docker-compose up -d db
-yarn workspace query-node-root db:create
-yarn workspace query-node-root db:migrate
-
+# use the following when serving playground at `/query/server/graphql`
+GRAPHQL_PLAYGROUND_CDN="query/server" yarn workspace query-node-root query-node:start:dev 
 ```

+ 1 - 0
query-node/generated/graphql-server/.env

@@ -19,3 +19,4 @@ PGHOST=localhost
 PGPORT=5432
 DEBUG=qnode-cli:*
 NODE_ENV=development
+GRAPHQL_PLAYGROUND_CDN=

+ 90 - 0
query-node/generated/graphql-server/generated/binding.ts

@@ -108,6 +108,8 @@ export type DataObjectOrderByInput =   'createdAt_ASC' |
   'size_DESC' |
   'liaison_ASC' |
   'liaison_DESC' |
+  'liaisonId_ASC' |
+  'liaisonId_DESC' |
   'liaisonJudgement_ASC' |
   'liaisonJudgement_DESC' |
   'ipfsContentId_ASC' |
@@ -134,10 +136,16 @@ export type ChannelOrderByInput =   'createdAt_ASC' |
   'deletedAt_DESC' |
   'ownerMember_ASC' |
   'ownerMember_DESC' |
+  'ownerMemberId_ASC' |
+  'ownerMemberId_DESC' |
   'ownerCuratorGroup_ASC' |
   'ownerCuratorGroup_DESC' |
+  'ownerCuratorGroupId_ASC' |
+  'ownerCuratorGroupId_DESC' |
   'category_ASC' |
   'category_DESC' |
+  'categoryId_ASC' |
+  'categoryId_DESC' |
   'rewardAccount_ASC' |
   'rewardAccount_DESC' |
   'title_ASC' |
@@ -146,10 +154,14 @@ export type ChannelOrderByInput =   'createdAt_ASC' |
   'description_DESC' |
   'coverPhotoDataObject_ASC' |
   'coverPhotoDataObject_DESC' |
+  'coverPhotoDataObjectId_ASC' |
+  'coverPhotoDataObjectId_DESC' |
   'coverPhotoAvailability_ASC' |
   'coverPhotoAvailability_DESC' |
   'avatarPhotoDataObject_ASC' |
   'avatarPhotoDataObject_DESC' |
+  'avatarPhotoDataObjectId_ASC' |
+  'avatarPhotoDataObjectId_DESC' |
   'avatarPhotoAvailability_ASC' |
   'avatarPhotoAvailability_DESC' |
   'isPublic_ASC' |
@@ -158,6 +170,8 @@ export type ChannelOrderByInput =   'createdAt_ASC' |
   'isCensored_DESC' |
   'language_ASC' |
   'language_DESC' |
+  'languageId_ASC' |
+  'languageId_DESC' |
   'createdInBlock_ASC' |
   'createdInBlock_DESC'
 
@@ -256,6 +270,8 @@ export type VideoMediaMetadataOrderByInput =   'createdAt_ASC' |
   'deletedAt_DESC' |
   'encoding_ASC' |
   'encoding_DESC' |
+  'encodingId_ASC' |
+  'encodingId_DESC' |
   'pixelWidth_ASC' |
   'pixelWidth_DESC' |
   'pixelHeight_ASC' |
@@ -273,8 +289,12 @@ export type VideoOrderByInput =   'createdAt_ASC' |
   'deletedAt_DESC' |
   'channel_ASC' |
   'channel_DESC' |
+  'channelId_ASC' |
+  'channelId_DESC' |
   'category_ASC' |
   'category_DESC' |
+  'categoryId_ASC' |
+  'categoryId_DESC' |
   'title_ASC' |
   'title_DESC' |
   'description_ASC' |
@@ -283,10 +303,14 @@ export type VideoOrderByInput =   'createdAt_ASC' |
   'duration_DESC' |
   'thumbnailPhotoDataObject_ASC' |
   'thumbnailPhotoDataObject_DESC' |
+  'thumbnailPhotoDataObjectId_ASC' |
+  'thumbnailPhotoDataObjectId_DESC' |
   'thumbnailPhotoAvailability_ASC' |
   'thumbnailPhotoAvailability_DESC' |
   'language_ASC' |
   'language_DESC' |
+  'languageId_ASC' |
+  'languageId_DESC' |
   'hasMarketing_ASC' |
   'hasMarketing_DESC' |
   'publishedBeforeJoystream_ASC' |
@@ -299,12 +323,18 @@ export type VideoOrderByInput =   'createdAt_ASC' |
   'isExplicit_DESC' |
   'license_ASC' |
   'license_DESC' |
+  'licenseId_ASC' |
+  'licenseId_DESC' |
   'mediaDataObject_ASC' |
   'mediaDataObject_DESC' |
+  'mediaDataObjectId_ASC' |
+  'mediaDataObjectId_DESC' |
   'mediaAvailability_ASC' |
   'mediaAvailability_DESC' |
   'mediaMetadata_ASC' |
   'mediaMetadata_DESC' |
+  'mediaMetadataId_ASC' |
+  'mediaMetadataId_DESC' |
   'createdInBlock_ASC' |
   'createdInBlock_DESC' |
   'isFeatured_ASC' |
@@ -409,6 +439,7 @@ export interface DataObjectCreateInput {
   typeId: Float
   size: Float
   liaison?: ID_Input | null
+  liaisonId?: ID_Input | null
   liaisonJudgement: LiaisonJudgement
   ipfsContentId: String
   joystreamContentId: String
@@ -671,6 +702,7 @@ export interface DataObjectUpdateInput {
   typeId?: Float | null
   size?: Float | null
   liaison?: ID_Input | null
+  liaisonId?: ID_Input | null
   liaisonJudgement?: LiaisonJudgement | null
   ipfsContentId?: String | null
   joystreamContentId?: String | null
@@ -720,6 +752,8 @@ export interface DataObjectWhereInput {
   size_lt?: Float | null
   size_lte?: Float | null
   size_in?: Float[] | Float | null
+  liaisonId_eq?: ID_Input | null
+  liaisonId_in?: ID_Output[] | ID_Output | null
   liaisonJudgement_eq?: LiaisonJudgement | null
   liaisonJudgement_in?: LiaisonJudgement[] | LiaisonJudgement | null
   ipfsContentId_eq?: String | null
@@ -812,39 +846,51 @@ export interface ChannelCategoryWhereUniqueInput {
 
 export interface ChannelCreateInput {
   ownerMember?: ID_Input | null
+  ownerMemberId?: ID_Input | null
   ownerCuratorGroup?: ID_Input | null
+  ownerCuratorGroupId?: ID_Input | null
   category?: ID_Input | null
+  categoryId?: ID_Input | null
   rewardAccount?: String | null
   title?: String | null
   description?: String | null
   coverPhotoDataObject?: ID_Input | null
+  coverPhotoDataObjectId?: ID_Input | null
   coverPhotoUrls: Array<String>
   coverPhotoAvailability: AssetAvailability
   avatarPhotoDataObject?: ID_Input | null
+  avatarPhotoDataObjectId?: ID_Input | null
   avatarPhotoUrls: Array<String>
   avatarPhotoAvailability: AssetAvailability
   isPublic?: Boolean | null
   isCensored: Boolean
   language?: ID_Input | null
+  languageId?: ID_Input | null
   createdInBlock: Float
 }
 
 export interface ChannelUpdateInput {
   ownerMember?: ID_Input | null
+  ownerMemberId?: ID_Input | null
   ownerCuratorGroup?: ID_Input | null
+  ownerCuratorGroupId?: ID_Input | null
   category?: ID_Input | null
+  categoryId?: ID_Input | null
   rewardAccount?: String | null
   title?: String | null
   description?: String | null
   coverPhotoDataObject?: ID_Input | null
+  coverPhotoDataObjectId?: ID_Input | null
   coverPhotoUrls?: String[] | String | null
   coverPhotoAvailability?: AssetAvailability | null
   avatarPhotoDataObject?: ID_Input | null
+  avatarPhotoDataObjectId?: ID_Input | null
   avatarPhotoUrls?: String[] | String | null
   avatarPhotoAvailability?: AssetAvailability | null
   isPublic?: Boolean | null
   isCensored?: Boolean | null
   language?: ID_Input | null
+  languageId?: ID_Input | null
   createdInBlock?: Float | null
 }
 
@@ -873,6 +919,12 @@ export interface ChannelWhereInput {
   deletedAt_gte?: DateTime | null
   deletedById_eq?: ID_Input | null
   deletedById_in?: ID_Output[] | ID_Output | null
+  ownerMemberId_eq?: ID_Input | null
+  ownerMemberId_in?: ID_Output[] | ID_Output | null
+  ownerCuratorGroupId_eq?: ID_Input | null
+  ownerCuratorGroupId_in?: ID_Output[] | ID_Output | null
+  categoryId_eq?: ID_Input | null
+  categoryId_in?: ID_Output[] | ID_Output | null
   rewardAccount_eq?: String | null
   rewardAccount_contains?: String | null
   rewardAccount_startsWith?: String | null
@@ -888,11 +940,15 @@ export interface ChannelWhereInput {
   description_startsWith?: String | null
   description_endsWith?: String | null
   description_in?: String[] | String | null
+  coverPhotoDataObjectId_eq?: ID_Input | null
+  coverPhotoDataObjectId_in?: ID_Output[] | ID_Output | null
   coverPhotoUrls_containsAll?: String[] | String | null
   coverPhotoUrls_containsNone?: String[] | String | null
   coverPhotoUrls_containsAny?: String[] | String | null
   coverPhotoAvailability_eq?: AssetAvailability | null
   coverPhotoAvailability_in?: AssetAvailability[] | AssetAvailability | null
+  avatarPhotoDataObjectId_eq?: ID_Input | null
+  avatarPhotoDataObjectId_in?: ID_Output[] | ID_Output | null
   avatarPhotoUrls_containsAll?: String[] | String | null
   avatarPhotoUrls_containsNone?: String[] | String | null
   avatarPhotoUrls_containsAny?: String[] | String | null
@@ -902,6 +958,8 @@ export interface ChannelWhereInput {
   isPublic_in?: Boolean[] | Boolean | null
   isCensored_eq?: Boolean | null
   isCensored_in?: Boolean[] | Boolean | null
+  languageId_eq?: ID_Input | null
+  languageId_in?: ID_Output[] | ID_Output | null
   createdInBlock_eq?: Int | null
   createdInBlock_gt?: Int | null
   createdInBlock_gte?: Int | null
@@ -1253,24 +1311,31 @@ export interface VideoCategoryWhereUniqueInput {
 
 export interface VideoCreateInput {
   channel?: ID_Input | null
+  channelId?: ID_Input | null
   category?: ID_Input | null
+  categoryId?: ID_Input | null
   title?: String | null
   description?: String | null
   duration?: Float | null
   thumbnailPhotoDataObject?: ID_Input | null
+  thumbnailPhotoDataObjectId?: ID_Input | null
   thumbnailPhotoUrls: Array<String>
   thumbnailPhotoAvailability: AssetAvailability
   language?: ID_Input | null
+  languageId?: ID_Input | null
   hasMarketing?: Boolean | null
   publishedBeforeJoystream?: DateTime | null
   isPublic?: Boolean | null
   isCensored: Boolean
   isExplicit?: Boolean | null
   license?: ID_Input | null
+  licenseId?: ID_Input | null
   mediaDataObject?: ID_Input | null
+  mediaDataObjectId?: ID_Input | null
   mediaUrls: Array<String>
   mediaAvailability: AssetAvailability
   mediaMetadata?: ID_Input | null
+  mediaMetadataId?: ID_Input | null
   createdInBlock: Float
   isFeatured: Boolean
 }
@@ -1340,6 +1405,7 @@ export interface VideoMediaEncodingWhereUniqueInput {
 
 export interface VideoMediaMetadataCreateInput {
   encoding?: ID_Input | null
+  encodingId?: ID_Input | null
   pixelWidth?: Float | null
   pixelHeight?: Float | null
   size?: Float | null
@@ -1348,6 +1414,7 @@ export interface VideoMediaMetadataCreateInput {
 
 export interface VideoMediaMetadataUpdateInput {
   encoding?: ID_Input | null
+  encodingId?: ID_Input | null
   pixelWidth?: Float | null
   pixelHeight?: Float | null
   size?: Float | null
@@ -1379,6 +1446,8 @@ export interface VideoMediaMetadataWhereInput {
   deletedAt_gte?: DateTime | null
   deletedById_eq?: ID_Input | null
   deletedById_in?: ID_Output[] | ID_Output | null
+  encodingId_eq?: ID_Input | null
+  encodingId_in?: ID_Output[] | ID_Output | null
   pixelWidth_eq?: Int | null
   pixelWidth_gt?: Int | null
   pixelWidth_gte?: Int | null
@@ -1415,24 +1484,31 @@ export interface VideoMediaMetadataWhereUniqueInput {
 
 export interface VideoUpdateInput {
   channel?: ID_Input | null
+  channelId?: ID_Input | null
   category?: ID_Input | null
+  categoryId?: ID_Input | null
   title?: String | null
   description?: String | null
   duration?: Float | null
   thumbnailPhotoDataObject?: ID_Input | null
+  thumbnailPhotoDataObjectId?: ID_Input | null
   thumbnailPhotoUrls?: String[] | String | null
   thumbnailPhotoAvailability?: AssetAvailability | null
   language?: ID_Input | null
+  languageId?: ID_Input | null
   hasMarketing?: Boolean | null
   publishedBeforeJoystream?: DateTime | null
   isPublic?: Boolean | null
   isCensored?: Boolean | null
   isExplicit?: Boolean | null
   license?: ID_Input | null
+  licenseId?: ID_Input | null
   mediaDataObject?: ID_Input | null
+  mediaDataObjectId?: ID_Input | null
   mediaUrls?: String[] | String | null
   mediaAvailability?: AssetAvailability | null
   mediaMetadata?: ID_Input | null
+  mediaMetadataId?: ID_Input | null
   createdInBlock?: Float | null
   isFeatured?: Boolean | null
 }
@@ -1462,6 +1538,10 @@ export interface VideoWhereInput {
   deletedAt_gte?: DateTime | null
   deletedById_eq?: ID_Input | null
   deletedById_in?: ID_Output[] | ID_Output | null
+  channelId_eq?: ID_Input | null
+  channelId_in?: ID_Output[] | ID_Output | null
+  categoryId_eq?: ID_Input | null
+  categoryId_in?: ID_Output[] | ID_Output | null
   title_eq?: String | null
   title_contains?: String | null
   title_startsWith?: String | null
@@ -1478,11 +1558,15 @@ export interface VideoWhereInput {
   duration_lt?: Int | null
   duration_lte?: Int | null
   duration_in?: Int[] | Int | null
+  thumbnailPhotoDataObjectId_eq?: ID_Input | null
+  thumbnailPhotoDataObjectId_in?: ID_Output[] | ID_Output | null
   thumbnailPhotoUrls_containsAll?: String[] | String | null
   thumbnailPhotoUrls_containsNone?: String[] | String | null
   thumbnailPhotoUrls_containsAny?: String[] | String | null
   thumbnailPhotoAvailability_eq?: AssetAvailability | null
   thumbnailPhotoAvailability_in?: AssetAvailability[] | AssetAvailability | null
+  languageId_eq?: ID_Input | null
+  languageId_in?: ID_Output[] | ID_Output | null
   hasMarketing_eq?: Boolean | null
   hasMarketing_in?: Boolean[] | Boolean | null
   publishedBeforeJoystream_eq?: DateTime | null
@@ -1496,11 +1580,17 @@ export interface VideoWhereInput {
   isCensored_in?: Boolean[] | Boolean | null
   isExplicit_eq?: Boolean | null
   isExplicit_in?: Boolean[] | Boolean | null
+  licenseId_eq?: ID_Input | null
+  licenseId_in?: ID_Output[] | ID_Output | null
+  mediaDataObjectId_eq?: ID_Input | null
+  mediaDataObjectId_in?: ID_Output[] | ID_Output | null
   mediaUrls_containsAll?: String[] | String | null
   mediaUrls_containsNone?: String[] | String | null
   mediaUrls_containsAny?: String[] | String | null
   mediaAvailability_eq?: AssetAvailability | null
   mediaAvailability_in?: AssetAvailability[] | AssetAvailability | null
+  mediaMetadataId_eq?: ID_Input | null
+  mediaMetadataId_in?: ID_Output[] | ID_Output | null
   createdInBlock_eq?: Int | null
   createdInBlock_gt?: Int | null
   createdInBlock_gte?: Int | null

+ 225 - 0
query-node/generated/graphql-server/generated/classes.ts

@@ -2209,6 +2209,9 @@ export enum VideoMediaMetadataOrderByEnum {
   encoding_ASC = "encoding_ASC",
   encoding_DESC = "encoding_DESC",
 
+  encodingId_ASC = "encodingId_ASC",
+  encodingId_DESC = "encodingId_DESC",
+
   pixelWidth_ASC = "pixelWidth_ASC",
   pixelWidth_DESC = "pixelWidth_DESC",
 
@@ -2300,6 +2303,12 @@ export class VideoMediaMetadataWhereInput {
   @TypeGraphQLField(() => [ID], { nullable: true })
   deletedById_in?: string[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  encodingId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  encodingId_in?: string[];
+
   @TypeGraphQLField(() => Int, { nullable: true })
   pixelWidth_eq?: number;
 
@@ -2396,6 +2405,9 @@ export class VideoMediaMetadataCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   encoding?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  encodingId?: string;
+
   @TypeGraphQLField({ nullable: true })
   pixelWidth?: number;
 
@@ -2414,6 +2426,9 @@ export class VideoMediaMetadataUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   encoding?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  encodingId?: string;
+
   @TypeGraphQLField({ nullable: true })
   pixelWidth?: number;
 
@@ -2461,9 +2476,15 @@ export enum VideoOrderByEnum {
   channel_ASC = "channel_ASC",
   channel_DESC = "channel_DESC",
 
+  channelId_ASC = "channelId_ASC",
+  channelId_DESC = "channelId_DESC",
+
   category_ASC = "category_ASC",
   category_DESC = "category_DESC",
 
+  categoryId_ASC = "categoryId_ASC",
+  categoryId_DESC = "categoryId_DESC",
+
   title_ASC = "title_ASC",
   title_DESC = "title_DESC",
 
@@ -2476,12 +2497,18 @@ export enum VideoOrderByEnum {
   thumbnailPhotoDataObject_ASC = "thumbnailPhotoDataObject_ASC",
   thumbnailPhotoDataObject_DESC = "thumbnailPhotoDataObject_DESC",
 
+  thumbnailPhotoDataObjectId_ASC = "thumbnailPhotoDataObjectId_ASC",
+  thumbnailPhotoDataObjectId_DESC = "thumbnailPhotoDataObjectId_DESC",
+
   thumbnailPhotoAvailability_ASC = "thumbnailPhotoAvailability_ASC",
   thumbnailPhotoAvailability_DESC = "thumbnailPhotoAvailability_DESC",
 
   language_ASC = "language_ASC",
   language_DESC = "language_DESC",
 
+  languageId_ASC = "languageId_ASC",
+  languageId_DESC = "languageId_DESC",
+
   hasMarketing_ASC = "hasMarketing_ASC",
   hasMarketing_DESC = "hasMarketing_DESC",
 
@@ -2500,15 +2527,24 @@ export enum VideoOrderByEnum {
   license_ASC = "license_ASC",
   license_DESC = "license_DESC",
 
+  licenseId_ASC = "licenseId_ASC",
+  licenseId_DESC = "licenseId_DESC",
+
   mediaDataObject_ASC = "mediaDataObject_ASC",
   mediaDataObject_DESC = "mediaDataObject_DESC",
 
+  mediaDataObjectId_ASC = "mediaDataObjectId_ASC",
+  mediaDataObjectId_DESC = "mediaDataObjectId_DESC",
+
   mediaAvailability_ASC = "mediaAvailability_ASC",
   mediaAvailability_DESC = "mediaAvailability_DESC",
 
   mediaMetadata_ASC = "mediaMetadata_ASC",
   mediaMetadata_DESC = "mediaMetadata_DESC",
 
+  mediaMetadataId_ASC = "mediaMetadataId_ASC",
+  mediaMetadataId_DESC = "mediaMetadataId_DESC",
+
   createdInBlock_ASC = "createdInBlock_ASC",
   createdInBlock_DESC = "createdInBlock_DESC",
 
@@ -2594,6 +2630,18 @@ export class VideoWhereInput {
   @TypeGraphQLField(() => [ID], { nullable: true })
   deletedById_in?: string[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  channelId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  channelId_in?: string[];
+
+  @TypeGraphQLField(() => ID, { nullable: true })
+  categoryId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  categoryId_in?: string[];
+
   @TypeGraphQLField({ nullable: true })
   title_eq?: string;
 
@@ -2642,6 +2690,12 @@ export class VideoWhereInput {
   @TypeGraphQLField(() => [Int], { nullable: true })
   duration_in?: number[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  thumbnailPhotoDataObjectId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  thumbnailPhotoDataObjectId_in?: string[];
+
   @TypeGraphQLField(() => [String], { nullable: true })
   thumbnailPhotoUrls_containsAll?: [string];
 
@@ -2657,6 +2711,12 @@ export class VideoWhereInput {
   @TypeGraphQLField(() => [AssetAvailability], { nullable: true })
   thumbnailPhotoAvailability_in?: AssetAvailability[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  languageId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  languageId_in?: string[];
+
   @TypeGraphQLField(() => Boolean, { nullable: true })
   hasMarketing_eq?: Boolean;
 
@@ -2696,6 +2756,18 @@ export class VideoWhereInput {
   @TypeGraphQLField(() => [Boolean], { nullable: true })
   isExplicit_in?: Boolean[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  licenseId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  licenseId_in?: string[];
+
+  @TypeGraphQLField(() => ID, { nullable: true })
+  mediaDataObjectId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  mediaDataObjectId_in?: string[];
+
   @TypeGraphQLField(() => [String], { nullable: true })
   mediaUrls_containsAll?: [string];
 
@@ -2711,6 +2783,12 @@ export class VideoWhereInput {
   @TypeGraphQLField(() => [AssetAvailability], { nullable: true })
   mediaAvailability_in?: AssetAvailability[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  mediaMetadataId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  mediaMetadataId_in?: string[];
+
   @TypeGraphQLField(() => Int, { nullable: true })
   createdInBlock_eq?: number;
 
@@ -2774,9 +2852,15 @@ export class VideoCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   channel?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  channelId?: string;
+
   @TypeGraphQLField(() => ID, { nullable: true })
   category?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  categoryId?: string;
+
   @TypeGraphQLField({ nullable: true })
   title?: string;
 
@@ -2789,6 +2873,9 @@ export class VideoCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   thumbnailPhotoDataObject?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  thumbnailPhotoDataObjectId?: string;
+
   @TypeGraphQLField(() => [String])
   thumbnailPhotoUrls!: string[];
 
@@ -2798,6 +2885,9 @@ export class VideoCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   language?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  languageId?: string;
+
   @TypeGraphQLField({ nullable: true })
   hasMarketing?: boolean;
 
@@ -2816,9 +2906,15 @@ export class VideoCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   license?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  licenseId?: string;
+
   @TypeGraphQLField(() => ID, { nullable: true })
   mediaDataObject?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  mediaDataObjectId?: string;
+
   @TypeGraphQLField(() => [String])
   mediaUrls!: string[];
 
@@ -2828,6 +2924,9 @@ export class VideoCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   mediaMetadata?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  mediaMetadataId?: string;
+
   @TypeGraphQLField()
   createdInBlock!: number;
 
@@ -2840,9 +2939,15 @@ export class VideoUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   channel?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  channelId?: string;
+
   @TypeGraphQLField(() => ID, { nullable: true })
   category?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  categoryId?: string;
+
   @TypeGraphQLField({ nullable: true })
   title?: string;
 
@@ -2855,6 +2960,9 @@ export class VideoUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   thumbnailPhotoDataObject?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  thumbnailPhotoDataObjectId?: string;
+
   @TypeGraphQLField(() => [String], { nullable: true })
   thumbnailPhotoUrls?: string[];
 
@@ -2864,6 +2972,9 @@ export class VideoUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   language?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  languageId?: string;
+
   @TypeGraphQLField({ nullable: true })
   hasMarketing?: boolean;
 
@@ -2882,9 +2993,15 @@ export class VideoUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   license?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  licenseId?: string;
+
   @TypeGraphQLField(() => ID, { nullable: true })
   mediaDataObject?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  mediaDataObjectId?: string;
+
   @TypeGraphQLField(() => [String], { nullable: true })
   mediaUrls?: string[];
 
@@ -2894,6 +3011,9 @@ export class VideoUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   mediaMetadata?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  mediaMetadataId?: string;
+
   @TypeGraphQLField({ nullable: true })
   createdInBlock?: number;
 
@@ -3133,12 +3253,21 @@ export enum ChannelOrderByEnum {
   ownerMember_ASC = "ownerMember_ASC",
   ownerMember_DESC = "ownerMember_DESC",
 
+  ownerMemberId_ASC = "ownerMemberId_ASC",
+  ownerMemberId_DESC = "ownerMemberId_DESC",
+
   ownerCuratorGroup_ASC = "ownerCuratorGroup_ASC",
   ownerCuratorGroup_DESC = "ownerCuratorGroup_DESC",
 
+  ownerCuratorGroupId_ASC = "ownerCuratorGroupId_ASC",
+  ownerCuratorGroupId_DESC = "ownerCuratorGroupId_DESC",
+
   category_ASC = "category_ASC",
   category_DESC = "category_DESC",
 
+  categoryId_ASC = "categoryId_ASC",
+  categoryId_DESC = "categoryId_DESC",
+
   rewardAccount_ASC = "rewardAccount_ASC",
   rewardAccount_DESC = "rewardAccount_DESC",
 
@@ -3151,12 +3280,18 @@ export enum ChannelOrderByEnum {
   coverPhotoDataObject_ASC = "coverPhotoDataObject_ASC",
   coverPhotoDataObject_DESC = "coverPhotoDataObject_DESC",
 
+  coverPhotoDataObjectId_ASC = "coverPhotoDataObjectId_ASC",
+  coverPhotoDataObjectId_DESC = "coverPhotoDataObjectId_DESC",
+
   coverPhotoAvailability_ASC = "coverPhotoAvailability_ASC",
   coverPhotoAvailability_DESC = "coverPhotoAvailability_DESC",
 
   avatarPhotoDataObject_ASC = "avatarPhotoDataObject_ASC",
   avatarPhotoDataObject_DESC = "avatarPhotoDataObject_DESC",
 
+  avatarPhotoDataObjectId_ASC = "avatarPhotoDataObjectId_ASC",
+  avatarPhotoDataObjectId_DESC = "avatarPhotoDataObjectId_DESC",
+
   avatarPhotoAvailability_ASC = "avatarPhotoAvailability_ASC",
   avatarPhotoAvailability_DESC = "avatarPhotoAvailability_DESC",
 
@@ -3169,6 +3304,9 @@ export enum ChannelOrderByEnum {
   language_ASC = "language_ASC",
   language_DESC = "language_DESC",
 
+  languageId_ASC = "languageId_ASC",
+  languageId_DESC = "languageId_DESC",
+
   createdInBlock_ASC = "createdInBlock_ASC",
   createdInBlock_DESC = "createdInBlock_DESC"
 }
@@ -3251,6 +3389,24 @@ export class ChannelWhereInput {
   @TypeGraphQLField(() => [ID], { nullable: true })
   deletedById_in?: string[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  ownerMemberId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  ownerMemberId_in?: string[];
+
+  @TypeGraphQLField(() => ID, { nullable: true })
+  ownerCuratorGroupId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  ownerCuratorGroupId_in?: string[];
+
+  @TypeGraphQLField(() => ID, { nullable: true })
+  categoryId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  categoryId_in?: string[];
+
   @TypeGraphQLField({ nullable: true })
   rewardAccount_eq?: string;
 
@@ -3296,6 +3452,12 @@ export class ChannelWhereInput {
   @TypeGraphQLField(() => [String], { nullable: true })
   description_in?: string[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  coverPhotoDataObjectId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  coverPhotoDataObjectId_in?: string[];
+
   @TypeGraphQLField(() => [String], { nullable: true })
   coverPhotoUrls_containsAll?: [string];
 
@@ -3311,6 +3473,12 @@ export class ChannelWhereInput {
   @TypeGraphQLField(() => [AssetAvailability], { nullable: true })
   coverPhotoAvailability_in?: AssetAvailability[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  avatarPhotoDataObjectId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  avatarPhotoDataObjectId_in?: string[];
+
   @TypeGraphQLField(() => [String], { nullable: true })
   avatarPhotoUrls_containsAll?: [string];
 
@@ -3338,6 +3506,12 @@ export class ChannelWhereInput {
   @TypeGraphQLField(() => [Boolean], { nullable: true })
   isCensored_in?: Boolean[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  languageId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  languageId_in?: string[];
+
   @TypeGraphQLField(() => Int, { nullable: true })
   createdInBlock_eq?: number;
 
@@ -3401,12 +3575,21 @@ export class ChannelCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   ownerMember?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  ownerMemberId?: string;
+
   @TypeGraphQLField(() => ID, { nullable: true })
   ownerCuratorGroup?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  ownerCuratorGroupId?: string;
+
   @TypeGraphQLField(() => ID, { nullable: true })
   category?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  categoryId?: string;
+
   @TypeGraphQLField({ nullable: true })
   rewardAccount?: string;
 
@@ -3419,6 +3602,9 @@ export class ChannelCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   coverPhotoDataObject?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  coverPhotoDataObjectId?: string;
+
   @TypeGraphQLField(() => [String])
   coverPhotoUrls!: string[];
 
@@ -3428,6 +3614,9 @@ export class ChannelCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   avatarPhotoDataObject?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  avatarPhotoDataObjectId?: string;
+
   @TypeGraphQLField(() => [String])
   avatarPhotoUrls!: string[];
 
@@ -3443,6 +3632,9 @@ export class ChannelCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   language?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  languageId?: string;
+
   @TypeGraphQLField()
   createdInBlock!: number;
 }
@@ -3452,12 +3644,21 @@ export class ChannelUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   ownerMember?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  ownerMemberId?: string;
+
   @TypeGraphQLField(() => ID, { nullable: true })
   ownerCuratorGroup?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  ownerCuratorGroupId?: string;
+
   @TypeGraphQLField(() => ID, { nullable: true })
   category?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  categoryId?: string;
+
   @TypeGraphQLField({ nullable: true })
   rewardAccount?: string;
 
@@ -3470,6 +3671,9 @@ export class ChannelUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   coverPhotoDataObject?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  coverPhotoDataObjectId?: string;
+
   @TypeGraphQLField(() => [String], { nullable: true })
   coverPhotoUrls?: string[];
 
@@ -3479,6 +3683,9 @@ export class ChannelUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   avatarPhotoDataObject?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  avatarPhotoDataObjectId?: string;
+
   @TypeGraphQLField(() => [String], { nullable: true })
   avatarPhotoUrls?: string[];
 
@@ -3494,6 +3701,9 @@ export class ChannelUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   language?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  languageId?: string;
+
   @TypeGraphQLField({ nullable: true })
   createdInBlock?: number;
 }
@@ -3541,6 +3751,9 @@ export enum DataObjectOrderByEnum {
   liaison_ASC = "liaison_ASC",
   liaison_DESC = "liaison_DESC",
 
+  liaisonId_ASC = "liaisonId_ASC",
+  liaisonId_DESC = "liaisonId_DESC",
+
   liaisonJudgement_ASC = "liaisonJudgement_ASC",
   liaisonJudgement_DESC = "liaisonJudgement_DESC",
 
@@ -3686,6 +3899,12 @@ export class DataObjectWhereInput {
   @TypeGraphQLField(() => [Float], { nullable: true })
   size_in?: number[];
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  liaisonId_eq?: string;
+
+  @TypeGraphQLField(() => [ID], { nullable: true })
+  liaisonId_in?: string[];
+
   @TypeGraphQLField(() => LiaisonJudgement, { nullable: true })
   liaisonJudgement_eq?: LiaisonJudgement;
 
@@ -3791,6 +4010,9 @@ export class DataObjectCreateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   liaison?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  liaisonId?: string;
+
   @TypeGraphQLField(() => LiaisonJudgement)
   liaisonJudgement!: LiaisonJudgement;
 
@@ -3818,6 +4040,9 @@ export class DataObjectUpdateInput {
   @TypeGraphQLField(() => ID, { nullable: true })
   liaison?: string;
 
+  @TypeGraphQLField(() => ID, { nullable: true })
+  liaisonId?: string;
+
   @TypeGraphQLField(() => LiaisonJudgement, { nullable: true })
   liaisonJudgement?: LiaisonJudgement;
 

+ 90 - 0
query-node/generated/graphql-server/generated/schema.graphql

@@ -203,6 +203,7 @@ input DataObjectCreateInput {
   typeId: Float!
   size: Float!
   liaison: ID
+  liaisonId: ID
   liaisonJudgement: LiaisonJudgement!
   ipfsContentId: String!
   joystreamContentId: String!
@@ -228,6 +229,8 @@ enum DataObjectOrderByInput {
   size_DESC
   liaison_ASC
   liaison_DESC
+  liaisonId_ASC
+  liaisonId_DESC
   liaisonJudgement_ASC
   liaisonJudgement_DESC
   ipfsContentId_ASC
@@ -526,6 +529,7 @@ input DataObjectUpdateInput {
   typeId: Float
   size: Float
   liaison: ID
+  liaisonId: ID
   liaisonJudgement: LiaisonJudgement
   ipfsContentId: String
   joystreamContentId: String
@@ -575,6 +579,8 @@ input DataObjectWhereInput {
   size_lt: Float
   size_lte: Float
   size_in: [Float!]
+  liaisonId_eq: ID
+  liaisonId_in: [ID!]
   liaisonJudgement_eq: LiaisonJudgement
   liaisonJudgement_in: [LiaisonJudgement!]
   ipfsContentId_eq: String
@@ -784,20 +790,26 @@ type ChannelConnection {
 
 input ChannelCreateInput {
   ownerMember: ID
+  ownerMemberId: ID
   ownerCuratorGroup: ID
+  ownerCuratorGroupId: ID
   category: ID
+  categoryId: ID
   rewardAccount: String
   title: String
   description: String
   coverPhotoDataObject: ID
+  coverPhotoDataObjectId: ID
   coverPhotoUrls: [String!]!
   coverPhotoAvailability: AssetAvailability!
   avatarPhotoDataObject: ID
+  avatarPhotoDataObjectId: ID
   avatarPhotoUrls: [String!]!
   avatarPhotoAvailability: AssetAvailability!
   isPublic: Boolean
   isCensored: Boolean!
   language: ID
+  languageId: ID
   createdInBlock: Float!
 }
 
@@ -815,10 +827,16 @@ enum ChannelOrderByInput {
   deletedAt_DESC
   ownerMember_ASC
   ownerMember_DESC
+  ownerMemberId_ASC
+  ownerMemberId_DESC
   ownerCuratorGroup_ASC
   ownerCuratorGroup_DESC
+  ownerCuratorGroupId_ASC
+  ownerCuratorGroupId_DESC
   category_ASC
   category_DESC
+  categoryId_ASC
+  categoryId_DESC
   rewardAccount_ASC
   rewardAccount_DESC
   title_ASC
@@ -827,10 +845,14 @@ enum ChannelOrderByInput {
   description_DESC
   coverPhotoDataObject_ASC
   coverPhotoDataObject_DESC
+  coverPhotoDataObjectId_ASC
+  coverPhotoDataObjectId_DESC
   coverPhotoAvailability_ASC
   coverPhotoAvailability_DESC
   avatarPhotoDataObject_ASC
   avatarPhotoDataObject_DESC
+  avatarPhotoDataObjectId_ASC
+  avatarPhotoDataObjectId_DESC
   avatarPhotoAvailability_ASC
   avatarPhotoAvailability_DESC
   isPublic_ASC
@@ -839,26 +861,34 @@ enum ChannelOrderByInput {
   isCensored_DESC
   language_ASC
   language_DESC
+  languageId_ASC
+  languageId_DESC
   createdInBlock_ASC
   createdInBlock_DESC
 }
 
 input ChannelUpdateInput {
   ownerMember: ID
+  ownerMemberId: ID
   ownerCuratorGroup: ID
+  ownerCuratorGroupId: ID
   category: ID
+  categoryId: ID
   rewardAccount: String
   title: String
   description: String
   coverPhotoDataObject: ID
+  coverPhotoDataObjectId: ID
   coverPhotoUrls: [String!]
   coverPhotoAvailability: AssetAvailability
   avatarPhotoDataObject: ID
+  avatarPhotoDataObjectId: ID
   avatarPhotoUrls: [String!]
   avatarPhotoAvailability: AssetAvailability
   isPublic: Boolean
   isCensored: Boolean
   language: ID
+  languageId: ID
   createdInBlock: Float
 }
 
@@ -887,6 +917,12 @@ input ChannelWhereInput {
   deletedAt_gte: DateTime
   deletedById_eq: ID
   deletedById_in: [ID!]
+  ownerMemberId_eq: ID
+  ownerMemberId_in: [ID!]
+  ownerCuratorGroupId_eq: ID
+  ownerCuratorGroupId_in: [ID!]
+  categoryId_eq: ID
+  categoryId_in: [ID!]
   rewardAccount_eq: String
   rewardAccount_contains: String
   rewardAccount_startsWith: String
@@ -902,11 +938,15 @@ input ChannelWhereInput {
   description_startsWith: String
   description_endsWith: String
   description_in: [String!]
+  coverPhotoDataObjectId_eq: ID
+  coverPhotoDataObjectId_in: [ID!]
   coverPhotoUrls_containsAll: [String!]
   coverPhotoUrls_containsNone: [String!]
   coverPhotoUrls_containsAny: [String!]
   coverPhotoAvailability_eq: AssetAvailability
   coverPhotoAvailability_in: [AssetAvailability!]
+  avatarPhotoDataObjectId_eq: ID
+  avatarPhotoDataObjectId_in: [ID!]
   avatarPhotoUrls_containsAll: [String!]
   avatarPhotoUrls_containsNone: [String!]
   avatarPhotoUrls_containsAny: [String!]
@@ -916,6 +956,8 @@ input ChannelWhereInput {
   isPublic_in: [Boolean!]
   isCensored_eq: Boolean
   isCensored_in: [Boolean!]
+  languageId_eq: ID
+  languageId_in: [ID!]
   createdInBlock_eq: Int
   createdInBlock_gt: Int
   createdInBlock_gte: Int
@@ -1688,24 +1730,31 @@ type VideoConnection {
 
 input VideoCreateInput {
   channel: ID
+  channelId: ID
   category: ID
+  categoryId: ID
   title: String
   description: String
   duration: Float
   thumbnailPhotoDataObject: ID
+  thumbnailPhotoDataObjectId: ID
   thumbnailPhotoUrls: [String!]!
   thumbnailPhotoAvailability: AssetAvailability!
   language: ID
+  languageId: ID
   hasMarketing: Boolean
   publishedBeforeJoystream: DateTime
   isPublic: Boolean
   isCensored: Boolean!
   isExplicit: Boolean
   license: ID
+  licenseId: ID
   mediaDataObject: ID
+  mediaDataObjectId: ID
   mediaUrls: [String!]!
   mediaAvailability: AssetAvailability!
   mediaMetadata: ID
+  mediaMetadataId: ID
   createdInBlock: Float!
   isFeatured: Boolean!
 }
@@ -1857,6 +1906,7 @@ type VideoMediaMetadataConnection {
 
 input VideoMediaMetadataCreateInput {
   encoding: ID
+  encodingId: ID
   pixelWidth: Float
   pixelHeight: Float
   size: Float
@@ -1877,6 +1927,8 @@ enum VideoMediaMetadataOrderByInput {
   deletedAt_DESC
   encoding_ASC
   encoding_DESC
+  encodingId_ASC
+  encodingId_DESC
   pixelWidth_ASC
   pixelWidth_DESC
   pixelHeight_ASC
@@ -1889,6 +1941,7 @@ enum VideoMediaMetadataOrderByInput {
 
 input VideoMediaMetadataUpdateInput {
   encoding: ID
+  encodingId: ID
   pixelWidth: Float
   pixelHeight: Float
   size: Float
@@ -1920,6 +1973,8 @@ input VideoMediaMetadataWhereInput {
   deletedAt_gte: DateTime
   deletedById_eq: ID
   deletedById_in: [ID!]
+  encodingId_eq: ID
+  encodingId_in: [ID!]
   pixelWidth_eq: Int
   pixelWidth_gt: Int
   pixelWidth_gte: Int
@@ -1963,8 +2018,12 @@ enum VideoOrderByInput {
   deletedAt_DESC
   channel_ASC
   channel_DESC
+  channelId_ASC
+  channelId_DESC
   category_ASC
   category_DESC
+  categoryId_ASC
+  categoryId_DESC
   title_ASC
   title_DESC
   description_ASC
@@ -1973,10 +2032,14 @@ enum VideoOrderByInput {
   duration_DESC
   thumbnailPhotoDataObject_ASC
   thumbnailPhotoDataObject_DESC
+  thumbnailPhotoDataObjectId_ASC
+  thumbnailPhotoDataObjectId_DESC
   thumbnailPhotoAvailability_ASC
   thumbnailPhotoAvailability_DESC
   language_ASC
   language_DESC
+  languageId_ASC
+  languageId_DESC
   hasMarketing_ASC
   hasMarketing_DESC
   publishedBeforeJoystream_ASC
@@ -1989,12 +2052,18 @@ enum VideoOrderByInput {
   isExplicit_DESC
   license_ASC
   license_DESC
+  licenseId_ASC
+  licenseId_DESC
   mediaDataObject_ASC
   mediaDataObject_DESC
+  mediaDataObjectId_ASC
+  mediaDataObjectId_DESC
   mediaAvailability_ASC
   mediaAvailability_DESC
   mediaMetadata_ASC
   mediaMetadata_DESC
+  mediaMetadataId_ASC
+  mediaMetadataId_DESC
   createdInBlock_ASC
   createdInBlock_DESC
   isFeatured_ASC
@@ -2003,24 +2072,31 @@ enum VideoOrderByInput {
 
 input VideoUpdateInput {
   channel: ID
+  channelId: ID
   category: ID
+  categoryId: ID
   title: String
   description: String
   duration: Float
   thumbnailPhotoDataObject: ID
+  thumbnailPhotoDataObjectId: ID
   thumbnailPhotoUrls: [String!]
   thumbnailPhotoAvailability: AssetAvailability
   language: ID
+  languageId: ID
   hasMarketing: Boolean
   publishedBeforeJoystream: DateTime
   isPublic: Boolean
   isCensored: Boolean
   isExplicit: Boolean
   license: ID
+  licenseId: ID
   mediaDataObject: ID
+  mediaDataObjectId: ID
   mediaUrls: [String!]
   mediaAvailability: AssetAvailability
   mediaMetadata: ID
+  mediaMetadataId: ID
   createdInBlock: Float
   isFeatured: Boolean
 }
@@ -2050,6 +2126,10 @@ input VideoWhereInput {
   deletedAt_gte: DateTime
   deletedById_eq: ID
   deletedById_in: [ID!]
+  channelId_eq: ID
+  channelId_in: [ID!]
+  categoryId_eq: ID
+  categoryId_in: [ID!]
   title_eq: String
   title_contains: String
   title_startsWith: String
@@ -2066,11 +2146,15 @@ input VideoWhereInput {
   duration_lt: Int
   duration_lte: Int
   duration_in: [Int!]
+  thumbnailPhotoDataObjectId_eq: ID
+  thumbnailPhotoDataObjectId_in: [ID!]
   thumbnailPhotoUrls_containsAll: [String!]
   thumbnailPhotoUrls_containsNone: [String!]
   thumbnailPhotoUrls_containsAny: [String!]
   thumbnailPhotoAvailability_eq: AssetAvailability
   thumbnailPhotoAvailability_in: [AssetAvailability!]
+  languageId_eq: ID
+  languageId_in: [ID!]
   hasMarketing_eq: Boolean
   hasMarketing_in: [Boolean!]
   publishedBeforeJoystream_eq: DateTime
@@ -2084,11 +2168,17 @@ input VideoWhereInput {
   isCensored_in: [Boolean!]
   isExplicit_eq: Boolean
   isExplicit_in: [Boolean!]
+  licenseId_eq: ID
+  licenseId_in: [ID!]
+  mediaDataObjectId_eq: ID
+  mediaDataObjectId_in: [ID!]
   mediaUrls_containsAll: [String!]
   mediaUrls_containsNone: [String!]
   mediaUrls_containsAny: [String!]
   mediaAvailability_eq: AssetAvailability
   mediaAvailability_in: [AssetAvailability!]
+  mediaMetadataId_eq: ID
+  mediaMetadataId_in: [ID!]
   createdInBlock_eq: Int
   createdInBlock_gt: Int
   createdInBlock_gte: Int

+ 8 - 1
query-node/generated/graphql-server/src/index.ts

@@ -23,7 +23,14 @@ class CustomNamingStrategy extends SnakeNamingStrategy {
 async function bootstrap() {
   await loadConfig();
 
-  const server = getServer({ queryTemplates }, { namingStrategy: new CustomNamingStrategy() });
+  const appOptions = {
+    playgroundConfig: {
+      queryTemplates,
+      cdnUrl: process.env.GRAPHQL_PLAYGROUND_CDN || '',
+    }
+  }
+
+  const server = getServer(appOptions, { namingStrategy: new CustomNamingStrategy() });
 
   // Create database tables. Warthog migrate command does not support CustomNamingStrategy thats why
   // we have this code

+ 3 - 3
yarn.lock

@@ -28736,9 +28736,9 @@ warning@^4.0.1, warning@^4.0.2, warning@^4.0.3:
   dependencies:
     loose-envify "^1.0.0"
 
-"warthog@https://github.com/Joystream/warthog/releases/download/v2.37.0/joystream-warthog-v2.37.0.tgz", "warthog@https://github.com/metmirr/warthog/releases/download/v2.23.0/warthog-v2.23.0.tgz":
-  version "2.37.0"
-  resolved "https://github.com/Joystream/warthog/releases/download/v2.37.0/joystream-warthog-v2.37.0.tgz#479310cc35d321fd0d2f63b3255c71d42667f457"
+"warthog@https://github.com/Joystream/warthog/releases/download/v2.37.0/joystream-warthog-v2.37.0.tgz", "warthog@https://github.com/Joystream/warthog/releases/download/v2.37.2-sumer/joystream-warthog-v2.37.2-sumer.tgz", "warthog@https://github.com/metmirr/warthog/releases/download/v2.23.0/warthog-v2.23.0.tgz":
+  version "2.37.2-sumer"
+  resolved "https://github.com/Joystream/warthog/releases/download/v2.37.2-sumer/joystream-warthog-v2.37.2-sumer.tgz#137cba2542502f21acf158d64e54dd700091db71"
   dependencies:
     "@apollographql/graphql-playground-react" "https://github.com/Joystream/graphql-playground/releases/download/query-templates%401.7.27/graphql-playground-react-v1.7.27.tgz"
     "@types/app-root-path" "^1.2.4"