clhq-postgres-module 1.1.0-alpha.127 → 1.1.0-alpha.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,6 +49,8 @@ const allEntities = [
49
49
  entities_1.RemotionRender,
50
50
  entities_1.ProjectSceneJob,
51
51
  entities_1.ProjectScene,
52
+ entities_1.Scene,
53
+ entities_1.Item,
52
54
  ];
53
55
  let PostgresModule = class PostgresModule {
54
56
  };
@@ -81,12 +81,7 @@ let SceneRepository = class SceneRepository extends base_repository_1.BaseReposi
81
81
  });
82
82
  }
83
83
  async updateThumbnailStatus(ids, status) {
84
- await this.sceneRepository
85
- .createQueryBuilder()
86
- .update()
87
- .set({ thumbnailStatus: status })
88
- .where('id IN (:...ids)', { ids })
89
- .execute();
84
+ await this.sceneRepository.update(ids, { thumbnailStatus: status });
90
85
  }
91
86
  async getNextSortOrder(projectId) {
92
87
  const result = await this.sceneRepository
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clhq-postgres-module",
3
- "version": "1.1.0-alpha.127",
3
+ "version": "1.1.0-alpha.128",
4
4
  "description": "PostgreSQL module using TypeORM for Clippy",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",