Added scene chapters to GraphQL. Verifying API credential types.

This commit is contained in:
2026-09-17 01:17:03 +02:00
parent e9b7bb03d0
commit de0b1c2baf
4 changed files with 21 additions and 2 deletions
+11
View File
@@ -131,6 +131,7 @@ export const scenesSchema = `
network: Entity
actors: [Actor!]!
tags: [Tag!]!
chapters: [Chapter!]!
poster: Media
trailer: Media
photos: [Media!]!
@@ -160,6 +161,16 @@ export const scenesSchema = `
size: Int
createdAt: Int
}
type Chapter {
id: Int!
time: Int!
tags: [Tag!]!
date: Date
description: String
title: String
poster: Media
}
`;
function getScope(query) {