File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { readFileSync } from 'fs' ;
22import createOrGetConnection from '../src/db' ;
33import { DataSource } from 'typeorm' ;
4- import { SourceTagView } from '../src/entity/SourceTagView' ;
5- import { TagRecommendation } from '../src/entity/TagRecommendation' ;
6- import { PopularPost } from '../src/entity/PopularPost' ;
7- import { PopularSource } from '../src/entity/PopularSource' ;
8- import { PopularTag } from '../src/entity/PopularTag' ;
9- import { PopularVideoPost } from '../src/entity/PopularVideoPost' ;
10- import { PopularVideoSource } from '../src/entity/PopularVideoSource' ;
11- import { TrendingPost } from '../src/entity/TrendingPost' ;
12- import { TrendingSource } from '../src/entity/TrendingSource' ;
13- import { TrendingTag } from '../src/entity/TrendingTag' ;
14- import { UserStats } from '../src/entity/user/UserStats' ;
154import z from 'zod' ;
165import { zodToParseArgs } from './common' ;
176
@@ -39,17 +28,17 @@ const importEntity = async (
3928} ;
4029
4130const viewsToRefresh = [
42- TagRecommendation ,
43- SourceTagView ,
44- TrendingPost ,
45- TrendingSource ,
46- TrendingTag ,
47- PopularPost ,
48- PopularSource ,
49- PopularTag ,
50- PopularVideoPost ,
51- PopularVideoSource ,
52- UserStats ,
31+ ' TagRecommendation' ,
32+ ' SourceTagView' ,
33+ ' TrendingPost' ,
34+ ' TrendingSource' ,
35+ ' TrendingTag' ,
36+ ' PopularPost' ,
37+ ' PopularSource' ,
38+ ' PopularTag' ,
39+ ' PopularVideoPost' ,
40+ ' PopularVideoSource' ,
41+ ' UserStats' ,
5342] ;
5443
5544const paramsSchema = z . object ( {
You can’t perform that action at this time.
0 commit comments