@ooneex/typeorm 0.0.1 → 0.3.0
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.
- package/dist/shared/chunk-1ez1q8rj.js +5 -0
- package/dist/shared/chunk-1ez1q8rj.js.map +10 -0
- package/dist/shared/chunk-23739ja5.js +5 -0
- package/dist/shared/{chunk-pwhygf44.js.map → chunk-23739ja5.js.map} +2 -2
- package/dist/shared/chunk-3s989zjv.js +5 -0
- package/dist/shared/{chunk-eh420jqn.js.map → chunk-3s989zjv.js.map} +2 -2
- package/dist/shared/chunk-4ysz6b7v.js +5 -0
- package/dist/shared/chunk-4ysz6b7v.js.map +10 -0
- package/dist/shared/chunk-635xd7h1.js +5 -0
- package/dist/shared/{chunk-wmftwzcs.js.map → chunk-635xd7h1.js.map} +2 -2
- package/dist/shared/chunk-63wp98dt.js +101 -0
- package/dist/shared/chunk-63wp98dt.js.map +11 -0
- package/dist/shared/chunk-6gzanxfz.js +5 -0
- package/dist/shared/chunk-6gzanxfz.js.map +18 -0
- package/dist/shared/chunk-81xh5hbk.js +5 -0
- package/dist/shared/chunk-81xh5hbk.js.map +21 -0
- package/dist/shared/chunk-8q6vs955.js +5 -0
- package/dist/shared/chunk-8q6vs955.js.map +10 -0
- package/dist/shared/chunk-bdyby4d8.js +5 -0
- package/dist/shared/chunk-bdyby4d8.js.map +10 -0
- package/dist/shared/chunk-fjtw26pp.js +5 -0
- package/dist/shared/{chunk-j7nprmyh.js.map → chunk-fjtw26pp.js.map} +2 -2
- package/dist/shared/chunk-gcch857j.js +5 -0
- package/dist/shared/chunk-gcch857j.js.map +11 -0
- package/dist/shared/chunk-h5mdrgqp.js +5 -0
- package/dist/shared/chunk-h5mdrgqp.js.map +21 -0
- package/dist/shared/chunk-mwb9mvew.js +42 -0
- package/dist/shared/chunk-mwb9mvew.js.map +10 -0
- package/dist/shared/chunk-n5dqa3qy.js +36 -0
- package/dist/shared/chunk-n5dqa3qy.js.map +10 -0
- package/dist/shared/chunk-qqvx08b4.js +5 -0
- package/dist/shared/{chunk-2e7zbxcq.js.map → chunk-qqvx08b4.js.map} +2 -2
- package/dist/shared/chunk-r7q1mkar.js +82 -0
- package/dist/shared/chunk-r7q1mkar.js.map +10 -0
- package/dist/shared/chunk-s1yxjjz5.js +5 -0
- package/dist/shared/chunk-s1yxjjz5.js.map +21 -0
- package/dist/shared/chunk-sm3brprk.js +51 -0
- package/dist/shared/chunk-sm3brprk.js.map +10 -0
- package/dist/shared/chunk-wp8mt34q.js +5 -0
- package/dist/shared/chunk-wp8mt34q.js.map +12 -0
- package/dist/shared/chunk-x9h6vngs.js +5 -0
- package/dist/shared/chunk-x9h6vngs.js.map +9 -0
- package/dist/shared/chunk-xyq6sfz0.js +5 -0
- package/dist/shared/{chunk-zmzz7hqq.js.map → chunk-xyq6sfz0.js.map} +2 -2
- package/dist/shared/chunk-yq9g4gac.js +5 -0
- package/dist/shared/{chunk-wawk30n1.js.map → chunk-yq9g4gac.js.map} +9 -4
- package/dist/src/entities/book/index.d.ts +80 -3
- package/dist/src/entities/book/index.js +2 -2
- package/dist/src/entities/book/index.js.map +1 -1
- package/dist/src/entities/common/index.d.ts +21 -28
- package/dist/src/entities/common/index.js +2 -2
- package/dist/src/entities/common/index.js.map +1 -1
- package/dist/src/entities/country/index.d.ts +21 -0
- package/dist/src/entities/country/index.js +4 -0
- package/dist/src/entities/country/index.js.map +9 -0
- package/dist/src/entities/currency/index.d.ts +23 -0
- package/dist/src/entities/currency/index.js +4 -0
- package/dist/src/entities/currency/index.js.map +9 -0
- package/dist/src/entities/folder/index.d.ts +104 -0
- package/dist/src/entities/folder/index.js +4 -0
- package/dist/src/entities/folder/index.js.map +19 -0
- package/dist/src/entities/gamification/flashcard/index.js +2 -2
- package/dist/src/entities/gamification/flashcard/index.js.map +1 -1
- package/dist/src/entities/gamification/index.js +2 -2
- package/dist/src/entities/gamification/index.js.map +1 -1
- package/dist/src/entities/gamification/mcq/index.d.ts +76 -7
- package/dist/src/entities/gamification/mcq/index.js +2 -2
- package/dist/src/entities/gamification/mcq/index.js.map +1 -1
- package/dist/src/entities/image/index.d.ts +83 -6
- package/dist/src/entities/image/index.js +2 -2
- package/dist/src/entities/image/index.js.map +1 -1
- package/dist/src/entities/medecine/index.d.ts +36 -0
- package/dist/src/entities/medecine/index.js +4 -0
- package/dist/src/entities/medecine/index.js.map +9 -0
- package/dist/src/entities/payment/index.js +2 -2
- package/dist/src/entities/payment/index.js.map +1 -1
- package/dist/src/entities/user/index.d.ts +48 -7
- package/dist/src/entities/user/index.js +2 -2
- package/dist/src/entities/user/index.js.map +1 -1
- package/dist/src/entities/video/index.d.ts +88 -10
- package/dist/src/entities/video/index.js +2 -2
- package/dist/src/entities/video/index.js.map +1 -1
- package/dist/src/migrations/book/index.d.ts +97 -0
- package/dist/src/migrations/book/index.js +516 -0
- package/dist/src/migrations/book/index.js.map +21 -0
- package/dist/src/migrations/common/index.d.ts +41 -0
- package/dist/src/migrations/common/index.js +57 -0
- package/dist/src/migrations/common/index.js.map +10 -0
- package/dist/src/migrations/country/index.d.ts +9 -0
- package/dist/src/migrations/country/index.js +40 -0
- package/dist/src/migrations/country/index.js.map +10 -0
- package/dist/src/migrations/currency/index.d.ts +9 -0
- package/dist/src/migrations/currency/index.js +44 -0
- package/dist/src/migrations/currency/index.js.map +10 -0
- package/dist/src/migrations/folder/index.d.ts +81 -0
- package/dist/src/migrations/folder/index.js +387 -0
- package/dist/src/migrations/folder/index.js.map +19 -0
- package/dist/src/migrations/gamification/flashcard/index.d.ts +57 -0
- package/dist/src/migrations/gamification/flashcard/index.js +420 -0
- package/dist/src/migrations/gamification/flashcard/index.js.map +16 -0
- package/dist/src/migrations/gamification/index.d.ts +9 -0
- package/dist/src/migrations/gamification/index.js +4 -0
- package/dist/src/migrations/gamification/index.js.map +9 -0
- package/dist/src/migrations/gamification/mcq/index.d.ts +97 -0
- package/dist/src/migrations/gamification/mcq/index.js +526 -0
- package/dist/src/migrations/gamification/mcq/index.js.map +21 -0
- package/dist/src/migrations/image/index.d.ts +81 -0
- package/dist/src/migrations/image/index.js +328 -0
- package/dist/src/migrations/image/index.js.map +18 -0
- package/dist/src/migrations/medecine/index.d.ts +25 -0
- package/dist/src/migrations/medecine/index.js +119 -0
- package/dist/src/migrations/medecine/index.js.map +12 -0
- package/dist/src/migrations/payment/index.d.ts +49 -0
- package/dist/src/migrations/payment/index.js +352 -0
- package/dist/src/migrations/payment/index.js.map +15 -0
- package/dist/src/migrations/user/index.d.ts +81 -0
- package/dist/src/migrations/user/index.js +309 -0
- package/dist/src/migrations/user/index.js.map +19 -0
- package/dist/src/migrations/video/index.d.ts +97 -0
- package/dist/src/migrations/video/index.js +289 -0
- package/dist/src/migrations/video/index.js.map +21 -0
- package/dist/src/repositories/book/index.d.ts +310 -35
- package/dist/src/repositories/book/index.js +2 -2
- package/dist/src/repositories/book/index.js.map +15 -6
- package/dist/src/repositories/common/index.d.ts +65 -94
- package/dist/src/repositories/common/index.js +2 -2
- package/dist/src/repositories/common/index.js.map +8 -9
- package/dist/src/repositories/country/index.d.ts +42 -0
- package/dist/src/repositories/country/index.js +4 -0
- package/dist/src/repositories/country/index.js.map +10 -0
- package/dist/src/repositories/currency/index.d.ts +44 -0
- package/dist/src/repositories/currency/index.js +4 -0
- package/dist/src/repositories/currency/index.js.map +10 -0
- package/dist/src/repositories/gamification/flashcard/index.d.ts +14 -14
- package/dist/src/repositories/gamification/flashcard/index.js +2 -2
- package/dist/src/repositories/gamification/flashcard/index.js.map +9 -9
- package/dist/src/repositories/gamification/index.d.ts +328 -83
- package/dist/src/repositories/gamification/index.js +2 -2
- package/dist/src/repositories/gamification/index.js.map +3 -3
- package/dist/src/repositories/gamification/mcq/index.d.ts +299 -54
- package/dist/src/repositories/gamification/mcq/index.js +2 -2
- package/dist/src/repositories/gamification/mcq/index.js.map +15 -7
- package/dist/src/repositories/image/index.d.ts +295 -20
- package/dist/src/repositories/image/index.js +2 -2
- package/dist/src/repositories/image/index.js.map +13 -4
- package/dist/src/repositories/medecine/index.d.ts +99 -0
- package/dist/src/repositories/medecine/index.js +4 -0
- package/dist/src/repositories/medecine/index.js.map +12 -0
- package/dist/src/repositories/payment/index.d.ts +12 -12
- package/dist/src/repositories/payment/index.js +2 -2
- package/dist/src/repositories/payment/index.js.map +8 -8
- package/dist/src/repositories/user/index.d.ts +210 -59
- package/dist/src/repositories/user/index.js +2 -2
- package/dist/src/repositories/user/index.js.map +13 -8
- package/dist/src/repositories/video/index.d.ts +330 -54
- package/dist/src/repositories/video/index.js +2 -2
- package/dist/src/repositories/video/index.js.map +15 -6
- package/package.json +188 -58
- package/dist/ooneex-typeorm-0.0.1.tgz +0 -0
- package/dist/shared/chunk-2e7zbxcq.js +0 -5
- package/dist/shared/chunk-764bzjhz.js +0 -5
- package/dist/shared/chunk-764bzjhz.js.map +0 -12
- package/dist/shared/chunk-eh420jqn.js +0 -5
- package/dist/shared/chunk-gjsgnzaq.js +0 -5
- package/dist/shared/chunk-gjsgnzaq.js.map +0 -10
- package/dist/shared/chunk-hw4vdg6q.js +0 -5
- package/dist/shared/chunk-hw4vdg6q.js.map +0 -10
- package/dist/shared/chunk-j7nprmyh.js +0 -5
- package/dist/shared/chunk-kgxsdeye.js +0 -5
- package/dist/shared/chunk-kgxsdeye.js.map +0 -13
- package/dist/shared/chunk-ntrrrvwt.js +0 -5
- package/dist/shared/chunk-ntrrrvwt.js.map +0 -12
- package/dist/shared/chunk-pwhygf44.js +0 -5
- package/dist/shared/chunk-sd6mmec6.js +0 -5
- package/dist/shared/chunk-sd6mmec6.js.map +0 -12
- package/dist/shared/chunk-wawk30n1.js +0 -5
- package/dist/shared/chunk-wmftwzcs.js +0 -5
- package/dist/shared/chunk-zmzz7hqq.js +0 -5
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IMedecineDiscipline } from "@ooneex/education/medecine";
|
|
2
|
+
import { LocaleType } from "@ooneex/translation";
|
|
3
|
+
import { IBase } from "@ooneex/types";
|
|
4
|
+
declare abstract class BaseEntity implements IBase {
|
|
5
|
+
id: string;
|
|
6
|
+
isLocked?: boolean;
|
|
7
|
+
lockedAt?: Date;
|
|
8
|
+
isBlocked?: boolean;
|
|
9
|
+
blockedAt?: Date;
|
|
10
|
+
blockReason?: string;
|
|
11
|
+
isPublic?: boolean;
|
|
12
|
+
language?: LocaleType;
|
|
13
|
+
createdAt?: Date;
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
deletedAt?: Date;
|
|
16
|
+
}
|
|
17
|
+
declare class MedecineDisciplineEntity extends BaseEntity implements IMedecineDiscipline {
|
|
18
|
+
code: string;
|
|
19
|
+
name: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
}
|
|
22
|
+
import { IMedecineField } from "@ooneex/education/medecine";
|
|
23
|
+
declare class MedecineFieldEntity extends BaseEntity implements IMedecineField {
|
|
24
|
+
code: string;
|
|
25
|
+
name: string;
|
|
26
|
+
color?: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
}
|
|
29
|
+
import { IMedecineYear } from "@ooneex/education/medecine";
|
|
30
|
+
declare class MedecineYearEntity extends BaseEntity implements IMedecineYear {
|
|
31
|
+
code: string;
|
|
32
|
+
name: string;
|
|
33
|
+
number: number;
|
|
34
|
+
color?: string;
|
|
35
|
+
}
|
|
36
|
+
export { MedecineYearEntity, MedecineFieldEntity, MedecineDisciplineEntity };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{U as e,V as i,W as t}from"../../../shared/chunk-wp8mt34q.js";import"../../../shared/chunk-fjtw26pp.js";import"../../../shared/chunk-x9h6vngs.js";export{t as MedecineYearEntity,i as MedecineFieldEntity,e as MedecineDisciplineEntity};
|
|
3
|
+
|
|
4
|
+
//# debugId=882AC5A1596F931164756E2164756E21
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{t,
|
|
2
|
+
import{ra as t,sa as o,ta as r,ua as e,va as n,wa as m}from"../../../shared/chunk-3s989zjv.js";import"../../../shared/chunk-xyq6sfz0.js";import"../../../shared/chunk-qqvx08b4.js";import"../../../shared/chunk-bdyby4d8.js";import"../../../shared/chunk-gcch857j.js";import"../../../shared/chunk-fjtw26pp.js";import"../../../shared/chunk-x9h6vngs.js";export{m as PaymentSubscriptionEntity,r as PaymentProductEntity,o as PaymentPlanEntity,t as PaymentFeatureEntity,n as PaymentCreditEntity,e as PaymentCouponEntity};
|
|
3
3
|
|
|
4
|
-
//# debugId=
|
|
4
|
+
//# debugId=F568004BA17B038764756E2164756E21
|
|
@@ -54,10 +54,18 @@ declare class SessionEntity extends BaseEntity implements ISession {
|
|
|
54
54
|
revokedReason?: string;
|
|
55
55
|
user?: IUser2;
|
|
56
56
|
}
|
|
57
|
+
import { IUser as IUser3, IUserBlocked } from "@ooneex/user";
|
|
58
|
+
declare class UserBlockedEntity extends BaseEntity implements IUserBlocked {
|
|
59
|
+
user?: IUser3;
|
|
60
|
+
userId?: string;
|
|
61
|
+
blockedBy?: string;
|
|
62
|
+
blockedById?: string;
|
|
63
|
+
reason?: string;
|
|
64
|
+
}
|
|
57
65
|
import { IImage } from "@ooneex/image";
|
|
58
66
|
import { ERole } from "@ooneex/role";
|
|
59
|
-
import { IAccount as IAccount2, ISession as ISession2, IUser as
|
|
60
|
-
declare class UserEntity extends BaseEntity implements
|
|
67
|
+
import { IAccount as IAccount2, ISession as ISession2, IUser as IUser4, IVerification } from "@ooneex/user";
|
|
68
|
+
declare class UserEntity extends BaseEntity implements IUser4 {
|
|
61
69
|
email: string;
|
|
62
70
|
roles: ERole[];
|
|
63
71
|
name?: string;
|
|
@@ -83,7 +91,14 @@ declare class UserEntity extends BaseEntity implements IUser3 {
|
|
|
83
91
|
accounts?: IAccount2[];
|
|
84
92
|
verifications?: IVerification[];
|
|
85
93
|
}
|
|
86
|
-
import { IUser as
|
|
94
|
+
import { IUser as IUser5, IUserFollowed } from "@ooneex/user";
|
|
95
|
+
declare class UserFollowedEntity extends BaseEntity implements IUserFollowed {
|
|
96
|
+
user?: IUser5;
|
|
97
|
+
userId?: string;
|
|
98
|
+
followedBy?: string;
|
|
99
|
+
followedById?: string;
|
|
100
|
+
}
|
|
101
|
+
import { IUser as IUser6, IUserProfileUpdate, IVerification as IVerification2 } from "@ooneex/user";
|
|
87
102
|
import { EProfileUpdateStatus } from "@ooneex/user";
|
|
88
103
|
declare class UserProfileUpdateEntity extends BaseEntity implements IUserProfileUpdate {
|
|
89
104
|
changedFields: string[];
|
|
@@ -97,10 +112,36 @@ declare class UserProfileUpdateEntity extends BaseEntity implements IUserProfile
|
|
|
97
112
|
appliedAt?: Date;
|
|
98
113
|
metadata?: Record<string, unknown>;
|
|
99
114
|
description?: string;
|
|
100
|
-
user?:
|
|
115
|
+
user?: IUser6;
|
|
101
116
|
verification?: IVerification2;
|
|
102
117
|
}
|
|
103
|
-
import { IUser as
|
|
118
|
+
import { IUser as IUser7, IUserReport } from "@ooneex/user";
|
|
119
|
+
declare class UserReportEntity extends BaseEntity implements IUserReport {
|
|
120
|
+
user?: IUser7;
|
|
121
|
+
userId?: string;
|
|
122
|
+
reason: string;
|
|
123
|
+
description?: string;
|
|
124
|
+
reportedBy?: string;
|
|
125
|
+
reportedById?: string;
|
|
126
|
+
}
|
|
127
|
+
import { IUser as IUser8, IUserStat } from "@ooneex/user";
|
|
128
|
+
declare class UserStatEntity extends BaseEntity implements IUserStat {
|
|
129
|
+
user?: IUser8;
|
|
130
|
+
userId?: string;
|
|
131
|
+
followersCount?: number;
|
|
132
|
+
followingCount?: number;
|
|
133
|
+
blockedCount?: number;
|
|
134
|
+
viewsCount?: number;
|
|
135
|
+
reportsCount?: number;
|
|
136
|
+
}
|
|
137
|
+
import { IUser as IUser9, IUserViewed } from "@ooneex/user";
|
|
138
|
+
declare class UserViewedEntity extends BaseEntity implements IUserViewed {
|
|
139
|
+
user?: IUser9;
|
|
140
|
+
userId?: string;
|
|
141
|
+
viewedBy?: string;
|
|
142
|
+
viewedById?: string;
|
|
143
|
+
}
|
|
144
|
+
import { IUser as IUser10, IVerification as IVerification3 } from "@ooneex/user";
|
|
104
145
|
import { EVerificationType } from "@ooneex/user";
|
|
105
146
|
declare class VerificationEntity extends BaseEntity implements IVerification3 {
|
|
106
147
|
email?: string;
|
|
@@ -117,6 +158,6 @@ declare class VerificationEntity extends BaseEntity implements IVerification3 {
|
|
|
117
158
|
userAgent?: string;
|
|
118
159
|
metadata?: Record<string, unknown>;
|
|
119
160
|
description?: string;
|
|
120
|
-
user?:
|
|
161
|
+
user?: IUser10;
|
|
121
162
|
}
|
|
122
|
-
export { VerificationEntity, UserProfileUpdateEntity, UserEntity, SessionEntity, AccountEntity };
|
|
163
|
+
export { VerificationEntity, UserViewedEntity, UserStatEntity, UserReportEntity, UserProfileUpdateEntity, UserFollowedEntity, UserEntity, UserBlockedEntity, SessionEntity, AccountEntity };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Ka as t,La as r,Ma as o,Na as e,Oa as i,Pa as n,Qa as f,Ra as p,Sa as m,Ta as x}from"../../../shared/chunk-yq9g4gac.js";import"../../../shared/chunk-qqvx08b4.js";import"../../../shared/chunk-bdyby4d8.js";import"../../../shared/chunk-gcch857j.js";import"../../../shared/chunk-fjtw26pp.js";import"../../../shared/chunk-x9h6vngs.js";export{n as VerificationEntity,x as UserViewedEntity,m as UserStatEntity,p as UserReportEntity,f as UserProfileUpdateEntity,i as UserFollowedEntity,t as UserEntity,e as UserBlockedEntity,o as SessionEntity,r as AccountEntity};
|
|
3
3
|
|
|
4
|
-
//# debugId=
|
|
4
|
+
//# debugId=5DB1819FCED86E4E64756E2164756E21
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IStatus } from "@ooneex/status";
|
|
3
|
-
import { ITag } from "@ooneex/tag";
|
|
4
|
-
import { AudioChannelsType, AudioCodecType, EVideoCodec, EVideoFormat, EVideoQuality, EVideoResolution, IVideo } from "@ooneex/video";
|
|
1
|
+
import { IVideo, IVideoComment } from "@ooneex/video";
|
|
5
2
|
import { LocaleType } from "@ooneex/translation";
|
|
6
3
|
import { IBase } from "@ooneex/types";
|
|
7
4
|
declare abstract class BaseEntity implements IBase {
|
|
@@ -17,7 +14,33 @@ declare abstract class BaseEntity implements IBase {
|
|
|
17
14
|
updatedAt?: Date;
|
|
18
15
|
deletedAt?: Date;
|
|
19
16
|
}
|
|
20
|
-
declare class
|
|
17
|
+
declare class VideoCommentEntity extends BaseEntity implements IVideoComment {
|
|
18
|
+
video?: IVideo;
|
|
19
|
+
videoId?: string;
|
|
20
|
+
comment: string;
|
|
21
|
+
commentedBy?: string;
|
|
22
|
+
commentedById?: string;
|
|
23
|
+
parentCommentId?: string;
|
|
24
|
+
}
|
|
25
|
+
import { IVideo as IVideo2, IVideoDisliked } from "@ooneex/video";
|
|
26
|
+
declare class VideoDislikedEntity extends BaseEntity implements IVideoDisliked {
|
|
27
|
+
video?: IVideo2;
|
|
28
|
+
videoId?: string;
|
|
29
|
+
dislikedBy?: string;
|
|
30
|
+
dislikedById?: string;
|
|
31
|
+
}
|
|
32
|
+
import { IVideo as IVideo3, IVideoDownloaded } from "@ooneex/video";
|
|
33
|
+
declare class VideoDownloadedEntity extends BaseEntity implements IVideoDownloaded {
|
|
34
|
+
video?: IVideo3;
|
|
35
|
+
videoId?: string;
|
|
36
|
+
downloadedBy?: string;
|
|
37
|
+
downloadedById?: string;
|
|
38
|
+
}
|
|
39
|
+
import { ICategory } from "@ooneex/category";
|
|
40
|
+
import { IStatus } from "@ooneex/status";
|
|
41
|
+
import { ITag } from "@ooneex/tag";
|
|
42
|
+
import { AudioChannelsType, AudioCodecType, EVideoCodec, EVideoFormat, EVideoQuality, EVideoResolution, IVideo as IVideo4 } from "@ooneex/video";
|
|
43
|
+
declare class VideoEntity extends BaseEntity implements IVideo4 {
|
|
21
44
|
title: string;
|
|
22
45
|
subtitle?: string;
|
|
23
46
|
releaseDate?: string;
|
|
@@ -42,26 +65,81 @@ declare class VideoEntity extends BaseEntity implements IVideo {
|
|
|
42
65
|
contentRating?: string;
|
|
43
66
|
context?: string;
|
|
44
67
|
contextId?: string;
|
|
68
|
+
isYoutube: boolean;
|
|
45
69
|
tags?: ITag[];
|
|
46
70
|
status?: IStatus;
|
|
47
71
|
}
|
|
72
|
+
import { IVideo as IVideo5, IVideoLiked } from "@ooneex/video";
|
|
73
|
+
declare class VideoLikedEntity extends BaseEntity implements IVideoLiked {
|
|
74
|
+
video?: IVideo5;
|
|
75
|
+
videoId?: string;
|
|
76
|
+
likedBy?: string;
|
|
77
|
+
likedById?: string;
|
|
78
|
+
}
|
|
48
79
|
import { IStatus as IStatus2 } from "@ooneex/status";
|
|
49
80
|
import { ITag as ITag2 } from "@ooneex/tag";
|
|
50
|
-
import { IPlaylist, IVideo as
|
|
81
|
+
import { IPlaylist, IVideo as IVideo6 } from "@ooneex/video";
|
|
51
82
|
declare class VideoPlaylistEntity extends BaseEntity implements IPlaylist {
|
|
52
83
|
name: string;
|
|
53
84
|
description?: string;
|
|
54
|
-
videos?:
|
|
85
|
+
videos?: IVideo6[];
|
|
55
86
|
tags?: ITag2[];
|
|
56
87
|
status?: IStatus2;
|
|
57
88
|
}
|
|
58
|
-
import { IVideo as
|
|
89
|
+
import { IVideo as IVideo7, IVideoProgress } from "@ooneex/video";
|
|
59
90
|
declare class VideoProgressEntity extends BaseEntity implements IVideoProgress {
|
|
60
|
-
video?:
|
|
91
|
+
video?: IVideo7;
|
|
61
92
|
userId: string;
|
|
62
93
|
currentTime: number;
|
|
63
94
|
duration?: number;
|
|
64
95
|
completed?: boolean;
|
|
65
96
|
lastWatched?: string;
|
|
66
97
|
}
|
|
67
|
-
|
|
98
|
+
import { IStatus as IStatus3 } from "@ooneex/status";
|
|
99
|
+
import { IVideo as IVideo8, IVideoReport } from "@ooneex/video";
|
|
100
|
+
declare class VideoReportEntity extends BaseEntity implements IVideoReport {
|
|
101
|
+
video?: IVideo8;
|
|
102
|
+
videoId?: string;
|
|
103
|
+
reason: string;
|
|
104
|
+
description?: string;
|
|
105
|
+
reportedBy?: string;
|
|
106
|
+
reportedById?: string;
|
|
107
|
+
status?: IStatus3;
|
|
108
|
+
}
|
|
109
|
+
import { IVideo as IVideo9, IVideoSaved } from "@ooneex/video";
|
|
110
|
+
declare class VideoSavedEntity extends BaseEntity implements IVideoSaved {
|
|
111
|
+
video?: IVideo9;
|
|
112
|
+
videoId?: string;
|
|
113
|
+
savedBy?: string;
|
|
114
|
+
savedById?: string;
|
|
115
|
+
}
|
|
116
|
+
import { IVideo as IVideo10, IVideoShared } from "@ooneex/video";
|
|
117
|
+
declare class VideoSharedEntity extends BaseEntity implements IVideoShared {
|
|
118
|
+
video?: IVideo10;
|
|
119
|
+
videoId?: string;
|
|
120
|
+
sharedWith?: string;
|
|
121
|
+
sharedById?: string;
|
|
122
|
+
permission?: string;
|
|
123
|
+
expiresAt?: string;
|
|
124
|
+
}
|
|
125
|
+
import { IVideo as IVideo11, IVideoStat } from "@ooneex/video";
|
|
126
|
+
declare class VideoStatEntity extends BaseEntity implements IVideoStat {
|
|
127
|
+
video?: IVideo11;
|
|
128
|
+
videoId?: string;
|
|
129
|
+
likesCount?: number;
|
|
130
|
+
dislikesCount?: number;
|
|
131
|
+
commentsCount?: number;
|
|
132
|
+
sharesCount?: number;
|
|
133
|
+
savesCount?: number;
|
|
134
|
+
downloadsCount?: number;
|
|
135
|
+
viewsCount?: number;
|
|
136
|
+
reportsCount?: number;
|
|
137
|
+
}
|
|
138
|
+
import { IVideo as IVideo12, IVideoViewed } from "@ooneex/video";
|
|
139
|
+
declare class VideoViewedEntity extends BaseEntity implements IVideoViewed {
|
|
140
|
+
video?: IVideo12;
|
|
141
|
+
videoId?: string;
|
|
142
|
+
viewedBy?: string;
|
|
143
|
+
viewedById?: string;
|
|
144
|
+
}
|
|
145
|
+
export { VideoViewedEntity, VideoStatEntity, VideoSharedEntity, VideoSavedEntity, VideoReportEntity, VideoProgressEntity, VideoPlaylistEntity, VideoLikedEntity, VideoEntity, VideoDownloadedEntity, VideoDislikedEntity, VideoCommentEntity };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Aa as i,Ba as r,Ca as d,Da as m,Ea as n,Fa as p,Ga as y,Ha as V,Ia as f,xa as o,ya as t,za as e}from"../../../shared/chunk-h5mdrgqp.js";import"../../../shared/chunk-xyq6sfz0.js";import"../../../shared/chunk-bdyby4d8.js";import"../../../shared/chunk-gcch857j.js";import"../../../shared/chunk-fjtw26pp.js";import"../../../shared/chunk-x9h6vngs.js";export{f as VideoViewedEntity,V as VideoStatEntity,y as VideoSharedEntity,p as VideoSavedEntity,n as VideoReportEntity,m as VideoProgressEntity,d as VideoPlaylistEntity,r as VideoLikedEntity,o as VideoEntity,i as VideoDownloadedEntity,e as VideoDislikedEntity,t as VideoCommentEntity};
|
|
3
3
|
|
|
4
|
-
//# debugId=
|
|
4
|
+
//# debugId=D1019DCC673626D664756E2164756E21
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { IMigration, MigrationClassType } from "@ooneex/migrations";
|
|
2
|
+
import { TransactionSQL } from "bun";
|
|
3
|
+
declare class Migration20251225173353646 implements IMigration {
|
|
4
|
+
up(tx: TransactionSQL): Promise<void>;
|
|
5
|
+
down(tx: TransactionSQL): Promise<void>;
|
|
6
|
+
getVersion(): string;
|
|
7
|
+
getDependencies(): MigrationClassType[];
|
|
8
|
+
}
|
|
9
|
+
import { IMigration as IMigration2, MigrationClassType as MigrationClassType2 } from "@ooneex/migrations";
|
|
10
|
+
import { TransactionSQL as TransactionSQL2 } from "bun";
|
|
11
|
+
declare class Migration20251225173354646 implements IMigration2 {
|
|
12
|
+
up(tx: TransactionSQL2): Promise<void>;
|
|
13
|
+
down(tx: TransactionSQL2): Promise<void>;
|
|
14
|
+
getVersion(): string;
|
|
15
|
+
getDependencies(): MigrationClassType2[];
|
|
16
|
+
}
|
|
17
|
+
import { IMigration as IMigration3, MigrationClassType as MigrationClassType3 } from "@ooneex/migrations";
|
|
18
|
+
import { TransactionSQL as TransactionSQL3 } from "bun";
|
|
19
|
+
declare class Migration20251225173355647 implements IMigration3 {
|
|
20
|
+
up(tx: TransactionSQL3): Promise<void>;
|
|
21
|
+
down(tx: TransactionSQL3): Promise<void>;
|
|
22
|
+
getVersion(): string;
|
|
23
|
+
getDependencies(): MigrationClassType3[];
|
|
24
|
+
}
|
|
25
|
+
import { IMigration as IMigration4, MigrationClassType as MigrationClassType4 } from "@ooneex/migrations";
|
|
26
|
+
import { TransactionSQL as TransactionSQL4 } from "bun";
|
|
27
|
+
declare class Migration20251225173356648 implements IMigration4 {
|
|
28
|
+
up(tx: TransactionSQL4): Promise<void>;
|
|
29
|
+
down(tx: TransactionSQL4): Promise<void>;
|
|
30
|
+
getVersion(): string;
|
|
31
|
+
getDependencies(): MigrationClassType4[];
|
|
32
|
+
}
|
|
33
|
+
import { IMigration as IMigration5, MigrationClassType as MigrationClassType5 } from "@ooneex/migrations";
|
|
34
|
+
import { TransactionSQL as TransactionSQL5 } from "bun";
|
|
35
|
+
declare class Migration20251225173357649 implements IMigration5 {
|
|
36
|
+
up(tx: TransactionSQL5): Promise<void>;
|
|
37
|
+
down(tx: TransactionSQL5): Promise<void>;
|
|
38
|
+
getVersion(): string;
|
|
39
|
+
getDependencies(): MigrationClassType5[];
|
|
40
|
+
}
|
|
41
|
+
import { IMigration as IMigration6, MigrationClassType as MigrationClassType6 } from "@ooneex/migrations";
|
|
42
|
+
import { TransactionSQL as TransactionSQL6 } from "bun";
|
|
43
|
+
declare class Migration20251225173358650 implements IMigration6 {
|
|
44
|
+
up(tx: TransactionSQL6): Promise<void>;
|
|
45
|
+
down(tx: TransactionSQL6): Promise<void>;
|
|
46
|
+
getVersion(): string;
|
|
47
|
+
getDependencies(): MigrationClassType6[];
|
|
48
|
+
}
|
|
49
|
+
import { IMigration as IMigration7, MigrationClassType as MigrationClassType7 } from "@ooneex/migrations";
|
|
50
|
+
import { TransactionSQL as TransactionSQL7 } from "bun";
|
|
51
|
+
declare class Migration20251225173359651 implements IMigration7 {
|
|
52
|
+
up(tx: TransactionSQL7): Promise<void>;
|
|
53
|
+
down(tx: TransactionSQL7): Promise<void>;
|
|
54
|
+
getVersion(): string;
|
|
55
|
+
getDependencies(): MigrationClassType7[];
|
|
56
|
+
}
|
|
57
|
+
import { IMigration as IMigration8, MigrationClassType as MigrationClassType8 } from "@ooneex/migrations";
|
|
58
|
+
import { TransactionSQL as TransactionSQL8 } from "bun";
|
|
59
|
+
declare class Migration20251225173400652 implements IMigration8 {
|
|
60
|
+
up(tx: TransactionSQL8): Promise<void>;
|
|
61
|
+
down(tx: TransactionSQL8): Promise<void>;
|
|
62
|
+
getVersion(): string;
|
|
63
|
+
getDependencies(): MigrationClassType8[];
|
|
64
|
+
}
|
|
65
|
+
import { IMigration as IMigration9, MigrationClassType as MigrationClassType9 } from "@ooneex/migrations";
|
|
66
|
+
import { TransactionSQL as TransactionSQL9 } from "bun";
|
|
67
|
+
declare class Migration20251225173401654 implements IMigration9 {
|
|
68
|
+
up(tx: TransactionSQL9): Promise<void>;
|
|
69
|
+
down(tx: TransactionSQL9): Promise<void>;
|
|
70
|
+
getVersion(): string;
|
|
71
|
+
getDependencies(): MigrationClassType9[];
|
|
72
|
+
}
|
|
73
|
+
import { IMigration as IMigration10, MigrationClassType as MigrationClassType10 } from "@ooneex/migrations";
|
|
74
|
+
import { TransactionSQL as TransactionSQL10 } from "bun";
|
|
75
|
+
declare class Migration20251225173402655 implements IMigration10 {
|
|
76
|
+
up(tx: TransactionSQL10): Promise<void>;
|
|
77
|
+
down(tx: TransactionSQL10): Promise<void>;
|
|
78
|
+
getVersion(): string;
|
|
79
|
+
getDependencies(): MigrationClassType10[];
|
|
80
|
+
}
|
|
81
|
+
import { IMigration as IMigration11, MigrationClassType as MigrationClassType11 } from "@ooneex/migrations";
|
|
82
|
+
import { TransactionSQL as TransactionSQL11 } from "bun";
|
|
83
|
+
declare class Migration20251225173403656 implements IMigration11 {
|
|
84
|
+
up(tx: TransactionSQL11): Promise<void>;
|
|
85
|
+
down(tx: TransactionSQL11): Promise<void>;
|
|
86
|
+
getVersion(): string;
|
|
87
|
+
getDependencies(): MigrationClassType11[];
|
|
88
|
+
}
|
|
89
|
+
import { IMigration as IMigration12, MigrationClassType as MigrationClassType12 } from "@ooneex/migrations";
|
|
90
|
+
import { TransactionSQL as TransactionSQL12 } from "bun";
|
|
91
|
+
declare class Migration20251225173404658 implements IMigration12 {
|
|
92
|
+
up(tx: TransactionSQL12): Promise<void>;
|
|
93
|
+
down(tx: TransactionSQL12): Promise<void>;
|
|
94
|
+
getVersion(): string;
|
|
95
|
+
getDependencies(): MigrationClassType12[];
|
|
96
|
+
}
|
|
97
|
+
export { Migration20251225173404658, Migration20251225173403656, Migration20251225173402655, Migration20251225173401654, Migration20251225173400652, Migration20251225173359651, Migration20251225173358650, Migration20251225173357649, Migration20251225173356648, Migration20251225173355647, Migration20251225173354646, Migration20251225173353646 };
|