From 3db508815ee5a70f487bde92081d2a82d49c8849 Mon Sep 17 00:00:00 2001 From: Lukasz Ostafin Date: Mon, 9 Dec 2024 10:47:04 +0100 Subject: [PATCH] Changes before merging TS support --- dependencies.json | 4 ---- package.json | 4 ++-- .../ui-dev/src/modules/common/thumbnail/thumbnail.types.ts | 4 ++-- src/bundle/ui-dev/src/modules/common/types/common.d.ts | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 dependencies.json diff --git a/dependencies.json b/dependencies.json deleted file mode 100644 index 0215f662e3..0000000000 --- a/dependencies.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "recipesEndpoint": "https://api.github.com/repos/ibexa/recipes-dev/contents/index.json?ref=flex/pull-145", - "packages": [] -} \ No newline at end of file diff --git a/package.json b/package.json index 52f53f548d..4fd0df3ebc 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "prettier": "eslint-config-ibexa/prettier", "dependencies": {}, "devDependencies": { - "eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#IBX-9109-enabling-typescript", - "@ibexa/ts-config": "https://github.com/ibexa/ts-config-ibexa#IBX-9109-enabling-typescript", + "eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#~v1.2.0", + "@ibexa/ts-config": "https://github.com/ibexa/ts-config-ibexa#~v1.0.0", "@types/react": "^18.3.11", "@types/react-dom": "^18.3.1" }, diff --git a/src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.types.ts b/src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.types.ts index bf82c07682..4d9a3562a3 100644 --- a/src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.types.ts +++ b/src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.types.ts @@ -1,6 +1,6 @@ -import { thumbnailData } from '../types/common'; +import { ThumbnailData } from '../types/common'; -export default interface ThumbnailProps extends thumbnailData { +export default interface ThumbnailProps extends ThumbnailData { iconExtraClasses?: string; contentTypeIconPath?: string; }; diff --git a/src/bundle/ui-dev/src/modules/common/types/common.d.ts b/src/bundle/ui-dev/src/modules/common/types/common.d.ts index dabda8efbd..7cf53bf4a7 100644 --- a/src/bundle/ui-dev/src/modules/common/types/common.d.ts +++ b/src/bundle/ui-dev/src/modules/common/types/common.d.ts @@ -1,4 +1,4 @@ -export interface thumbnailData { +export interface ThumbnailData { thumbnailData: { mimeType: string; resource: string;