@venturialstd/social-network 0.0.3 → 0.0.5

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/index.d.ts CHANGED
@@ -28,6 +28,7 @@ export * from './services/reaction.service';
28
28
  export * from './services/reel.service';
29
29
  export * from './services/save.service';
30
30
  export * from './services/story.service';
31
+ export { SOCIAL_NETWORK_ENTITIES, SOCIAL_NETWORK_SERVICES } from './social-network.module';
31
32
  export * from './social-network.module';
32
33
  export * from './types/content-element.types';
33
34
  export * from './types/content-music.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAC3F,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.SOCIAL_NETWORK_SERVICES = exports.SOCIAL_NETWORK_ENTITIES = void 0;
17
18
  __exportStar(require("./constants/content-element.constant"), exports);
18
19
  __exportStar(require("./constants/feed.constant"), exports);
19
20
  __exportStar(require("./constants/social-network.constant"), exports);
@@ -44,6 +45,9 @@ __exportStar(require("./services/reaction.service"), exports);
44
45
  __exportStar(require("./services/reel.service"), exports);
45
46
  __exportStar(require("./services/save.service"), exports);
46
47
  __exportStar(require("./services/story.service"), exports);
48
+ var social_network_module_1 = require("./social-network.module");
49
+ Object.defineProperty(exports, "SOCIAL_NETWORK_ENTITIES", { enumerable: true, get: function () { return social_network_module_1.SOCIAL_NETWORK_ENTITIES; } });
50
+ Object.defineProperty(exports, "SOCIAL_NETWORK_SERVICES", { enumerable: true, get: function () { return social_network_module_1.SOCIAL_NETWORK_SERVICES; } });
47
51
  __exportStar(require("./social-network.module"), exports);
48
52
  __exportStar(require("./types/content-element.types"), exports);
49
53
  __exportStar(require("./types/content-music.types"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD;AACrD,4DAA0C;AAC1C,sEAAoD;AACpD,4DAA0C;AAC1C,oEAAkD;AAClD,kEAAgD;AAChD,yEAAuD;AACvD,wEAAsD;AACtD,2DAAyC;AACzC,mEAAiD;AACjD,+DAA6C;AAC7C,yDAAuC;AACvC,6DAA2C;AAC3C,yDAAuC;AACvC,yDAAuC;AACvC,0DAAwC;AACxC,6DAA2C;AAC3C,qEAAmD;AACnD,0DAAwC;AACxC,mEAAiD;AACjD,0EAAwD;AACxD,yEAAuD;AACvD,4DAA0C;AAC1C,oEAAkD;AAClD,gEAA8C;AAC9C,0DAAwC;AACxC,8DAA4C;AAC5C,0DAAwC;AACxC,0DAAwC;AACxC,2DAAyC;AACzC,0DAAwC;AACxC,gEAA8C;AAC9C,8DAA4C;AAC5C,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uEAAqD;AACrD,4DAA0C;AAC1C,sEAAoD;AACpD,4DAA0C;AAC1C,oEAAkD;AAClD,kEAAgD;AAChD,yEAAuD;AACvD,wEAAsD;AACtD,2DAAyC;AACzC,mEAAiD;AACjD,+DAA6C;AAC7C,yDAAuC;AACvC,6DAA2C;AAC3C,yDAAuC;AACvC,yDAAuC;AACvC,0DAAwC;AACxC,6DAA2C;AAC3C,qEAAmD;AACnD,0DAAwC;AACxC,mEAAiD;AACjD,0EAAwD;AACxD,yEAAuD;AACvD,4DAA0C;AAC1C,oEAAkD;AAClD,gEAA8C;AAC9C,0DAAwC;AACxC,8DAA4C;AAC5C,0DAAwC;AACxC,0DAAwC;AACxC,2DAAyC;AACzC,iEAA2F;AAAlF,gIAAA,uBAAuB,OAAA;AAAE,gIAAA,uBAAuB,OAAA;AACzD,0DAAwC;AACxC,gEAA8C;AAC9C,8DAA4C;AAC5C,qDAAmC"}
@@ -1,3 +1,30 @@
1
+ import { ContentHashtag } from './entities/content-hashtag.entity';
2
+ import { ContentMusic } from './entities/content-music.entity';
3
+ import { ContentTaggedPlace } from './entities/content-tagged-place.entity';
4
+ import { ContentTaggedUser } from './entities/content-tagged-user.entity';
5
+ import { Follow } from './entities/follow.entity';
6
+ import { FriendRequest } from './entities/friend-request.entity';
7
+ import { Friendship } from './entities/friendship.entity';
8
+ import { Post } from './entities/post.entity';
9
+ import { Reel } from './entities/reel.entity';
10
+ import { Save } from './entities/save.entity';
11
+ import { Story } from './entities/story.entity';
12
+ import { CommentService } from './services/comment.service';
13
+ import { ContentHashtagService } from './services/content-hashtag.service';
14
+ import { ContentMusicService } from './services/content-music.service';
15
+ import { ContentTaggedPlaceService } from './services/content-tagged-place.service';
16
+ import { ContentTaggedUserService } from './services/content-tagged-user.service';
17
+ import { FeedService } from './services/feed.service';
18
+ import { FollowService } from './services/follow.service';
19
+ import { FriendRequestService } from './services/friend-request.service';
20
+ import { FriendshipService } from './services/friendship.service';
21
+ import { PostService } from './services/post.service';
22
+ import { ReactionService } from './services/reaction.service';
23
+ import { ReelService } from './services/reel.service';
24
+ import { SaveService } from './services/save.service';
25
+ import { StoryService } from './services/story.service';
26
+ export declare const SOCIAL_NETWORK_ENTITIES: (typeof ContentHashtag | typeof ContentMusic | typeof ContentTaggedPlace | typeof ContentTaggedUser | typeof Follow | typeof FriendRequest | typeof Friendship | typeof Post | typeof Reel | typeof Save | typeof Story)[];
27
+ export declare const SOCIAL_NETWORK_SERVICES: (typeof CommentService | typeof ContentHashtagService | typeof FeedService | typeof ContentMusicService | typeof ContentTaggedPlaceService | typeof ContentTaggedUserService | typeof FollowService | typeof FriendRequestService | typeof FriendshipService | typeof PostService | typeof ReactionService | typeof ReelService | typeof SaveService | typeof StoryService)[];
1
28
  export declare class SocialNetworkModule {
2
29
  }
3
30
  //# sourceMappingURL=social-network.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"social-network.module.d.ts","sourceRoot":"","sources":["../src/social-network.module.ts"],"names":[],"mappings":"AAgEA,qBAKa,mBAAmB;CAAG"}
1
+ {"version":3,"file":"social-network.module.d.ts","sourceRoot":"","sources":["../src/social-network.module.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,eAAO,MAAM,uBAAuB,4NAcnC,CAAC;AAGF,eAAO,MAAM,uBAAuB,+WAenC,CAAC;AAEF,qBAIa,mBAAmB;CAAG"}
@@ -6,9 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.SocialNetworkModule = void 0;
9
+ exports.SocialNetworkModule = exports.SOCIAL_NETWORK_SERVICES = exports.SOCIAL_NETWORK_ENTITIES = void 0;
10
10
  const common_1 = require("@nestjs/common");
11
- const typeorm_1 = require("@nestjs/typeorm");
12
11
  const comment_entity_1 = require("./entities/comment.entity");
13
12
  const content_hashtag_entity_1 = require("./entities/content-hashtag.entity");
14
13
  const content_music_entity_1 = require("./entities/content-music.entity");
@@ -36,7 +35,7 @@ const reaction_service_1 = require("./services/reaction.service");
36
35
  const reel_service_1 = require("./services/reel.service");
37
36
  const save_service_1 = require("./services/save.service");
38
37
  const story_service_1 = require("./services/story.service");
39
- const entities = [
38
+ exports.SOCIAL_NETWORK_ENTITIES = [
40
39
  post_entity_1.Post,
41
40
  reel_entity_1.Reel,
42
41
  story_entity_1.Story,
@@ -51,7 +50,7 @@ const entities = [
51
50
  comment_entity_1.Comment,
52
51
  save_entity_1.Save,
53
52
  ];
54
- const services = [
53
+ exports.SOCIAL_NETWORK_SERVICES = [
55
54
  feed_service_1.FeedService,
56
55
  post_service_1.PostService,
57
56
  reel_service_1.ReelService,
@@ -72,9 +71,8 @@ let SocialNetworkModule = class SocialNetworkModule {
72
71
  exports.SocialNetworkModule = SocialNetworkModule;
73
72
  exports.SocialNetworkModule = SocialNetworkModule = __decorate([
74
73
  (0, common_1.Module)({
75
- imports: [typeorm_1.TypeOrmModule.forFeature(entities)],
76
- providers: services,
77
- exports: [typeorm_1.TypeOrmModule, ...services],
74
+ providers: exports.SOCIAL_NETWORK_SERVICES,
75
+ exports: exports.SOCIAL_NETWORK_SERVICES,
78
76
  })
79
77
  ], SocialNetworkModule);
80
78
  //# sourceMappingURL=social-network.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"social-network.module.js","sourceRoot":"","sources":["../src/social-network.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAEhD,8DAAoD;AACpD,8EAAmE;AACnE,0EAA+D;AAC/D,wFAA4E;AAC5E,sFAA0E;AAC1E,4DAAkD;AAClD,4EAAiE;AACjE,oEAA0D;AAC1D,wDAA8C;AAC9C,gEAAsD;AACtD,wDAA8C;AAC9C,wDAA8C;AAC9C,0DAAgD;AAChD,gEAA4D;AAC5D,gFAA2E;AAC3E,4EAAuE;AACvE,0FAAoF;AACpF,wFAAkF;AAClF,0DAAsD;AACtD,8DAA0D;AAC1D,8EAAyE;AACzE,sEAAkE;AAClE,0DAAsD;AACtD,kEAA8D;AAC9D,0DAAsD;AACtD,0DAAsD;AACtD,4DAAwD;AAExD,MAAM,QAAQ,GAAG;IACf,kBAAI;IACJ,kBAAI;IACJ,oBAAK;IACL,8CAAiB;IACjB,gDAAkB;IAClB,uCAAc;IACd,mCAAY;IACZ,8BAAU;IACV,qCAAa;IACb,sBAAM;IACN,0BAAQ;IACR,wBAAO;IACP,kBAAI;CACL,CAAC;AAEF,MAAM,QAAQ,GAAG;IACf,0BAAW;IACX,0BAAW;IACX,0BAAW;IACX,4BAAY;IACZ,6CAAoB;IACpB,sCAAiB;IACjB,8BAAa;IACb,kCAAe;IACf,gCAAc;IACd,0BAAW;IACX,sDAAwB;IACxB,wDAAyB;IACzB,+CAAqB;IACrB,2CAAmB;CACpB,CAAC;AAOK,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAAG,CAAA;AAAtB,kDAAmB;8BAAnB,mBAAmB;IAL/B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,uBAAa,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAC7C,SAAS,EAAE,QAAQ;QACnB,OAAO,EAAE,CAAC,uBAAa,EAAE,GAAG,QAAQ,CAAC;KACtC,CAAC;GACW,mBAAmB,CAAG"}
1
+ {"version":3,"file":"social-network.module.js","sourceRoot":"","sources":["../src/social-network.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AAExC,8DAAoD;AACpD,8EAAmE;AACnE,0EAA+D;AAC/D,wFAA4E;AAC5E,sFAA0E;AAC1E,4DAAkD;AAClD,4EAAiE;AACjE,oEAA0D;AAC1D,wDAA8C;AAC9C,gEAAsD;AACtD,wDAA8C;AAC9C,wDAA8C;AAC9C,0DAAgD;AAChD,gEAA4D;AAC5D,gFAA2E;AAC3E,4EAAuE;AACvE,0FAAoF;AACpF,wFAAkF;AAClF,0DAAsD;AACtD,8DAA0D;AAC1D,8EAAyE;AACzE,sEAAkE;AAClE,0DAAsD;AACtD,kEAA8D;AAC9D,0DAAsD;AACtD,0DAAsD;AACtD,4DAAwD;AAG3C,QAAA,uBAAuB,GAAG;IACrC,kBAAI;IACJ,kBAAI;IACJ,oBAAK;IACL,8CAAiB;IACjB,gDAAkB;IAClB,uCAAc;IACd,mCAAY;IACZ,8BAAU;IACV,qCAAa;IACb,sBAAM;IACN,0BAAQ;IACR,wBAAO;IACP,kBAAI;CACL,CAAC;AAGW,QAAA,uBAAuB,GAAG;IACrC,0BAAW;IACX,0BAAW;IACX,0BAAW;IACX,4BAAY;IACZ,6CAAoB;IACpB,sCAAiB;IACjB,8BAAa;IACb,kCAAe;IACf,gCAAc;IACd,0BAAW;IACX,sDAAwB;IACxB,wDAAyB;IACzB,+CAAqB;IACrB,2CAAmB;CACpB,CAAC;AAMK,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAAG,CAAA;AAAtB,kDAAmB;8BAAnB,mBAAmB;IAJ/B,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,+BAAuB;QAClC,OAAO,EAAE,+BAAuB;KACjC,CAAC;GACW,mBAAmB,CAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venturialstd/social-network",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
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",