@venturialstd/social-network 0.0.10 → 0.0.11
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/entities/reel.entity.d.ts +0 -2
- package/dist/entities/reel.entity.d.ts.map +1 -1
- package/dist/entities/reel.entity.js +0 -14
- package/dist/entities/reel.entity.js.map +1 -1
- package/dist/entities/story.entity.d.ts +0 -3
- package/dist/entities/story.entity.d.ts.map +1 -1
- package/dist/entities/story.entity.js +0 -18
- package/dist/entities/story.entity.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reel.entity.d.ts","sourceRoot":"","sources":["../../src/entities/reel.entity.ts"],"names":[],"mappings":"AAgBA,qBACa,IAAI;IAEf,EAAE,EAAE,MAAM,CAAC;IAMX,MAAM,EAAE,MAAM,CAAC;IAKf,
|
|
1
|
+
{"version":3,"file":"reel.entity.d.ts","sourceRoot":"","sources":["../../src/entities/reel.entity.ts"],"names":[],"mappings":"AAgBA,qBACa,IAAI;IAEf,EAAE,EAAE,MAAM,CAAC;IAMX,MAAM,EAAE,MAAM,CAAC;IAKf,OAAO,EAAE,MAAM,CAAC;IAShB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAQpC,eAAe,EAAE,MAAM,CAAC;IAIxB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAQlC,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -15,8 +15,6 @@ const typeorm_1 = require("typeorm");
|
|
|
15
15
|
let Reel = class Reel {
|
|
16
16
|
id;
|
|
17
17
|
userId;
|
|
18
|
-
videoUrl;
|
|
19
|
-
thumbnailUrl;
|
|
20
18
|
caption;
|
|
21
19
|
elements;
|
|
22
20
|
durationSeconds;
|
|
@@ -36,18 +34,6 @@ __decorate([
|
|
|
36
34
|
(0, typeorm_1.Index)(),
|
|
37
35
|
__metadata("design:type", String)
|
|
38
36
|
], Reel.prototype, "userId", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsString)(),
|
|
41
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
-
(0, typeorm_1.Column)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], Reel.prototype, "videoUrl", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_validator_1.IsString)(),
|
|
47
|
-
(0, class_validator_1.IsOptional)(),
|
|
48
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], Reel.prototype, "thumbnailUrl", void 0);
|
|
51
37
|
__decorate([
|
|
52
38
|
(0, class_validator_1.IsString)(),
|
|
53
39
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reel.entity.js","sourceRoot":"","sources":["../../src/entities/reel.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,qCAOiB;AAGV,IAAM,IAAI,GAAV,MAAM,IAAI;IAEf,EAAE,CAAS;IAMX,MAAM,CAAS;IAKf,
|
|
1
|
+
{"version":3,"file":"reel.entity.js","sourceRoot":"","sources":["../../src/entities/reel.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,qCAOiB;AAGV,IAAM,IAAI,GAAV,MAAM,IAAI;IAEf,EAAE,CAAS;IAMX,MAAM,CAAS;IAKf,OAAO,CAAS;IAShB,QAAQ,CAA4B;IAQpC,eAAe,CAAS;IAIxB,QAAQ,CAA0B;IAQlC,SAAS,CAAO;IAQhB,SAAS,CAAO;CACjB,CAAA;AAnDY,oBAAI;AAEf;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;gCACpB;AAMX;IAJC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,g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,"file":"story.entity.d.ts","sourceRoot":"","sources":["../../src/entities/story.entity.ts"],"names":[],"mappings":"AASA,qBAEa,KAAK;IAEhB,EAAE,EAAE,MAAM,CAAC;IAMX,MAAM,EAAE,MAAM,CAAC;IAKf,OAAO,EAAE,MAAM,CAAC;IAShB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAMpC,SAAS,EAAE,IAAI,CAAC;IAIhB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAQlC,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -12,12 +12,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Story = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
const social_network_constant_1 = require("../constants/social-network.constant");
|
|
16
15
|
let Story = class Story {
|
|
17
16
|
id;
|
|
18
17
|
userId;
|
|
19
|
-
mediaUrl;
|
|
20
|
-
mediaType;
|
|
21
18
|
caption;
|
|
22
19
|
elements;
|
|
23
20
|
expiresAt;
|
|
@@ -36,21 +33,6 @@ __decorate([
|
|
|
36
33
|
(0, typeorm_1.Index)(),
|
|
37
34
|
__metadata("design:type", String)
|
|
38
35
|
], Story.prototype, "userId", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsString)(),
|
|
41
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
-
(0, typeorm_1.Column)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], Story.prototype, "mediaUrl", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_validator_1.IsString)(),
|
|
47
|
-
(0, typeorm_1.Column)({
|
|
48
|
-
type: 'enum',
|
|
49
|
-
enum: social_network_constant_1.StoryMediaType,
|
|
50
|
-
default: social_network_constant_1.StoryMediaType.IMAGE,
|
|
51
|
-
}),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], Story.prototype, "mediaType", void 0);
|
|
54
36
|
__decorate([
|
|
55
37
|
(0, class_validator_1.IsString)(),
|
|
56
38
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"story.entity.js","sourceRoot":"","sources":["../../src/entities/story.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AACnE,qCAMiB;
|
|
1
|
+
{"version":3,"file":"story.entity.js","sourceRoot":"","sources":["../../src/entities/story.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AACnE,qCAMiB;AAIV,IAAM,KAAK,GAAX,MAAM,KAAK;IAEhB,EAAE,CAAS;IAMX,MAAM,CAAS;IAKf,OAAO,CAAS;IAShB,QAAQ,CAA4B;IAMpC,SAAS,CAAO;IAIhB,QAAQ,CAA0B;IAQlC,SAAS,CAAO;CACjB,CAAA;AAzCY,sBAAK;AAEhB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;iCACpB;AAMX;IAJC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IACxB,IAAA,eAAK,GAAE;;qCACO;AAKf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sCACzB;AAShB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;uCACnB;AAMpC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BACrB,IAAI;wCAAC;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACR;AAQlC;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;wCAAC;gBAxCL,KAAK;IAFjB,IAAA,gBAAM,EAAC,cAAc,CAAC;IACtB,IAAA,eAAK,EAAC,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;GAClB,KAAK,CAyCjB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venturialstd/social-network",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Social network entities and module for Venturial (posts, reels, stories, friends, reactions, comments)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|