Add CreatedAt & UpdatedAt to all object resolvers (#1421)

* add `CreatedAt` & `UpdatedAt` to all objects
* add `FileModTime` to supported objects
* Use `GQL.SlimTagDataFragment` over `GQL.Tag`
This commit is contained in:
peolic
2021-05-25 03:56:34 +03:00
committed by GitHub
parent 3981a781b9
commit d326d4380f
21 changed files with 109 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ interface ISceneListTableProps {
export const SceneListTable: React.FC<ISceneListTableProps> = (
props: ISceneListTableProps
) => {
const renderTags = (tags: GQL.Tag[]) =>
const renderTags = (tags: GQL.SlimTagDataFragment[]) =>
tags.map((tag) => (
<Link key={tag.id} to={NavUtils.makeTagScenesUrl(tag)}>
<h6>{tag.name}</h6>