Library updates (#792)

* Upgrade Typescript to 4.0
* Update i18n-iso-countries to 6.0
* Update react-intl to 5.8.0
* Update jimp to 0.16.1
* Update apollo and graphql libraries
* Update various libraries and fix linting/type errors
* Refactor cache invalidation
* Codegen refetch queries
This commit is contained in:
InfiniteTF
2020-09-11 05:01:00 +02:00
committed by GitHub
parent 5ba11e0e93
commit 5cd7dcaeb2
27 changed files with 2076 additions and 1881 deletions

View File

@@ -101,7 +101,6 @@ export class SceneParserResult {
interface ISceneParserFieldProps<T> {
parserResult: ParserResult<T>;
className?: string;
fieldName: string;
onSetChanged: (isSet: boolean) => void;
onValueChanged: (value: T) => void;
originalParserResult?: ParserResult<T>;
@@ -372,7 +371,6 @@ export const SceneParserRow = (props: ISceneParserRowProps) => {
{props.showFields.get("Title") && (
<SceneParserStringField
key="title"
fieldName="Title"
className="parser-field-title input-control text-input"
parserResult={props.scene.title}
onSetChanged={(isSet) =>
@@ -386,7 +384,6 @@ export const SceneParserRow = (props: ISceneParserRowProps) => {
{props.showFields.get("Date") && (
<SceneParserStringField
key="date"
fieldName="Date"
className="parser-field-date input-control text-input"
parserResult={props.scene.date}
onSetChanged={(isSet) =>
@@ -400,7 +397,6 @@ export const SceneParserRow = (props: ISceneParserRowProps) => {
{props.showFields.get("Rating") && (
<SceneParserRatingField
key="rating"
fieldName="Rating"
className="parser-field-rating input-control text-input"
parserResult={props.scene.rating}
onSetChanged={(isSet) =>
@@ -414,7 +410,6 @@ export const SceneParserRow = (props: ISceneParserRowProps) => {
{props.showFields.get("Performers") && (
<SceneParserPerformerField
key="performers"
fieldName="Performers"
className="parser-field-performers input-control text-input"
parserResult={props.scene.performers}
originalParserResult={props.scene.performers}
@@ -429,7 +424,6 @@ export const SceneParserRow = (props: ISceneParserRowProps) => {
{props.showFields.get("Tags") && (
<SceneParserTagField
key="tags"
fieldName="Tags"
className="parser-field-tags input-control text-input"
parserResult={props.scene.tags}
originalParserResult={props.scene.tags}
@@ -444,7 +438,6 @@ export const SceneParserRow = (props: ISceneParserRowProps) => {
{props.showFields.get("Studio") && (
<SceneParserStudioField
key="studio"
fieldName="Studio"
className="parser-field-studio input-control text-input"
parserResult={props.scene.studio}
originalParserResult={props.scene.studio}