podverse-orm 5.0.3 → 5.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.
Files changed (115) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +37 -0
  3. package/dist/entities/account/accountCredentials.d.ts.map +1 -1
  4. package/dist/entities/account/accountCredentials.js +3 -2
  5. package/dist/entities/account/accountFCMDevice.d.ts.map +1 -1
  6. package/dist/entities/account/accountFCMDevice.js +2 -1
  7. package/dist/entities/account/accountFollowingAddByRSSChannel.d.ts.map +1 -1
  8. package/dist/entities/account/accountFollowingAddByRSSChannel.js +4 -3
  9. package/dist/entities/account/accountProfile.d.ts.map +1 -1
  10. package/dist/entities/account/accountProfile.js +3 -2
  11. package/dist/entities/account/accountResetPassword.d.ts.map +1 -1
  12. package/dist/entities/account/accountResetPassword.js +2 -1
  13. package/dist/entities/account/accountUPDevice.d.ts.map +1 -1
  14. package/dist/entities/account/accountUPDevice.js +4 -3
  15. package/dist/entities/account/accountVerification.d.ts.map +1 -1
  16. package/dist/entities/account/accountVerification.js +2 -1
  17. package/dist/entities/category.d.ts.map +1 -1
  18. package/dist/entities/category.js +2 -1
  19. package/dist/entities/channel/channel.d.ts.map +1 -1
  20. package/dist/entities/channel/channel.js +4 -3
  21. package/dist/entities/channel/channelAbout.d.ts.map +1 -1
  22. package/dist/entities/channel/channelAbout.js +4 -3
  23. package/dist/entities/channel/channelChat.d.ts.map +1 -1
  24. package/dist/entities/channel/channelChat.js +5 -4
  25. package/dist/entities/channel/channelDescription.d.ts.map +1 -1
  26. package/dist/entities/channel/channelDescription.js +2 -1
  27. package/dist/entities/channel/channelFunding.d.ts.map +1 -1
  28. package/dist/entities/channel/channelFunding.js +3 -2
  29. package/dist/entities/channel/channelImage.d.ts.map +1 -1
  30. package/dist/entities/channel/channelImage.js +2 -1
  31. package/dist/entities/channel/channelLicense.d.ts.map +1 -1
  32. package/dist/entities/channel/channelLicense.js +3 -2
  33. package/dist/entities/channel/channelLocation.d.ts.map +1 -1
  34. package/dist/entities/channel/channelLocation.js +4 -3
  35. package/dist/entities/channel/channelPerson.d.ts.map +1 -1
  36. package/dist/entities/channel/channelPerson.js +6 -5
  37. package/dist/entities/channel/channelPodrollRemoteItem.d.ts.map +1 -1
  38. package/dist/entities/channel/channelPodrollRemoteItem.js +4 -3
  39. package/dist/entities/channel/channelPublisherRemoteItem.d.ts.map +1 -1
  40. package/dist/entities/channel/channelPublisherRemoteItem.js +4 -3
  41. package/dist/entities/channel/channelRemoteItem.d.ts.map +1 -1
  42. package/dist/entities/channel/channelRemoteItem.js +4 -3
  43. package/dist/entities/channel/channelSeason.d.ts.map +1 -1
  44. package/dist/entities/channel/channelSeason.js +2 -1
  45. package/dist/entities/channel/channelSocialInteract.d.ts.map +1 -1
  46. package/dist/entities/channel/channelSocialInteract.js +5 -4
  47. package/dist/entities/channel/channelTrailer.d.ts.map +1 -1
  48. package/dist/entities/channel/channelTrailer.js +4 -3
  49. package/dist/entities/channel/channelTxt.d.ts.map +1 -1
  50. package/dist/entities/channel/channelTxt.js +3 -2
  51. package/dist/entities/channel/channelValue.d.ts.map +1 -1
  52. package/dist/entities/channel/channelValue.js +3 -2
  53. package/dist/entities/channel/channelValueRecipient.d.ts.map +1 -1
  54. package/dist/entities/channel/channelValueRecipient.js +6 -5
  55. package/dist/entities/clip.d.ts.map +1 -1
  56. package/dist/entities/clip.js +3 -2
  57. package/dist/entities/feed/feed.d.ts.map +1 -1
  58. package/dist/entities/feed/feed.js +4 -3
  59. package/dist/entities/item/item.d.ts.map +1 -1
  60. package/dist/entities/item/item.js +5 -4
  61. package/dist/entities/item/itemAbout.d.ts.map +1 -1
  62. package/dist/entities/item/itemAbout.js +2 -1
  63. package/dist/entities/item/itemChapter.d.ts.map +1 -1
  64. package/dist/entities/item/itemChapter.js +4 -3
  65. package/dist/entities/item/itemChapterLocation.d.ts.map +1 -1
  66. package/dist/entities/item/itemChapterLocation.js +4 -3
  67. package/dist/entities/item/itemChaptersFeed.d.ts.map +1 -1
  68. package/dist/entities/item/itemChaptersFeed.js +3 -2
  69. package/dist/entities/item/itemChat.d.ts.map +1 -1
  70. package/dist/entities/item/itemChat.js +5 -4
  71. package/dist/entities/item/itemContentLink.d.ts.map +1 -1
  72. package/dist/entities/item/itemContentLink.js +3 -2
  73. package/dist/entities/item/itemDescription.d.ts.map +1 -1
  74. package/dist/entities/item/itemDescription.js +2 -1
  75. package/dist/entities/item/itemEnclosure.d.ts.map +1 -1
  76. package/dist/entities/item/itemEnclosure.js +6 -5
  77. package/dist/entities/item/itemEnclosureIntegrity.d.ts.map +1 -1
  78. package/dist/entities/item/itemEnclosureIntegrity.js +2 -1
  79. package/dist/entities/item/itemEnclosureSource.d.ts.map +1 -1
  80. package/dist/entities/item/itemEnclosureSource.js +3 -2
  81. package/dist/entities/item/itemFunding.d.ts.map +1 -1
  82. package/dist/entities/item/itemFunding.js +3 -2
  83. package/dist/entities/item/itemImage.d.ts.map +1 -1
  84. package/dist/entities/item/itemImage.js +2 -1
  85. package/dist/entities/item/itemLicense.d.ts.map +1 -1
  86. package/dist/entities/item/itemLicense.js +3 -2
  87. package/dist/entities/item/itemLocation.d.ts.map +1 -1
  88. package/dist/entities/item/itemLocation.js +4 -3
  89. package/dist/entities/item/itemPerson.d.ts.map +1 -1
  90. package/dist/entities/item/itemPerson.js +6 -5
  91. package/dist/entities/item/itemSeason.d.ts.map +1 -1
  92. package/dist/entities/item/itemSeason.js +2 -1
  93. package/dist/entities/item/itemSeasonEpisode.d.ts.map +1 -1
  94. package/dist/entities/item/itemSeasonEpisode.js +2 -1
  95. package/dist/entities/item/itemSocialInteract.d.ts.map +1 -1
  96. package/dist/entities/item/itemSocialInteract.js +5 -4
  97. package/dist/entities/item/itemSoundbite.d.ts.map +1 -1
  98. package/dist/entities/item/itemSoundbite.js +2 -1
  99. package/dist/entities/item/itemTranscript.d.ts.map +1 -1
  100. package/dist/entities/item/itemTranscript.js +5 -4
  101. package/dist/entities/item/itemTxt.d.ts.map +1 -1
  102. package/dist/entities/item/itemTxt.js +3 -2
  103. package/dist/entities/item/itemValue.d.ts.map +1 -1
  104. package/dist/entities/item/itemValue.js +3 -2
  105. package/dist/entities/item/itemValueRecipient.d.ts.map +1 -1
  106. package/dist/entities/item/itemValueRecipient.js +6 -5
  107. package/dist/entities/item/itemValueTimeSplitRecipient.d.ts.map +1 -1
  108. package/dist/entities/item/itemValueTimeSplitRecipient.js +6 -5
  109. package/dist/entities/item/itemValueTimeSplitRemoteItem.d.ts.map +1 -1
  110. package/dist/entities/item/itemValueTimeSplitRemoteItem.js +4 -3
  111. package/dist/entities/playlist/playlist.d.ts.map +1 -1
  112. package/dist/entities/playlist/playlist.js +3 -2
  113. package/dist/services/feed/feed.d.ts.map +1 -1
  114. package/dist/services/feed/feed.js +10 -5
  115. package/package.json +2 -2
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemEnclosure = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemEnclosure = class ItemEnclosure {
@@ -25,7 +26,7 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemEnclosure.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemEnclosure.prototype, "type", void 0);
31
32
  __decorate([
@@ -41,19 +42,19 @@ __decorate([
41
42
  __metadata("design:type", Object)
42
43
  ], ItemEnclosure.prototype, "height", void 0);
43
44
  __decorate([
44
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
45
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
45
46
  __metadata("design:type", Object)
46
47
  ], ItemEnclosure.prototype, "language", void 0);
47
48
  __decorate([
48
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
49
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
49
50
  __metadata("design:type", Object)
50
51
  ], ItemEnclosure.prototype, "title", void 0);
51
52
  __decorate([
52
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
53
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
53
54
  __metadata("design:type", Object)
54
55
  ], ItemEnclosure.prototype, "rel", void 0);
55
56
  __decorate([
56
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
57
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
57
58
  __metadata("design:type", Object)
58
59
  ], ItemEnclosure.prototype, "codecs", void 0);
59
60
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemEnclosureIntegrity.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemEnclosureIntegrity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjE,qBACa,sBAAsB;IAEjC,EAAE,EAAG,MAAM,CAAC;IAIZ,cAAc,EAAG,aAAa,CAAC;IAG/B,IAAI,EAAG,KAAK,GAAG,eAAe,CAAC;IAG/B,KAAK,EAAG,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"itemEnclosureIntegrity.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemEnclosureIntegrity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjE,qBACa,sBAAsB;IAEjC,EAAE,EAAG,MAAM,CAAC;IAIZ,cAAc,EAAG,aAAa,CAAC;IAG/B,IAAI,EAAG,KAAK,GAAG,eAAe,CAAC;IAG/B,KAAK,EAAG,MAAM,CAAC;CAChB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemEnclosureIntegrity = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const itemEnclosure_1 = require("@orm/entities/item/itemEnclosure");
15
16
  let ItemEnclosureIntegrity = class ItemEnclosureIntegrity {
@@ -29,7 +30,7 @@ __decorate([
29
30
  __metadata("design:type", String)
30
31
  ], ItemEnclosureIntegrity.prototype, "type", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'text' }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_long }),
33
34
  __metadata("design:type", String)
34
35
  ], ItemEnclosureIntegrity.prototype, "value", void 0);
35
36
  exports.ItemEnclosureIntegrity = ItemEnclosureIntegrity = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemEnclosureSource.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemEnclosureSource.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjE,qBACa,mBAAmB;IAE9B,EAAE,EAAG,MAAM,CAAC;IAIZ,cAAc,EAAG,aAAa,CAAC;IAG/B,GAAG,EAAG,MAAM,CAAC;IAGb,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
1
+ {"version":3,"file":"itemEnclosureSource.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemEnclosureSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjE,qBACa,mBAAmB;IAE9B,EAAE,EAAG,MAAM,CAAC;IAIZ,cAAc,EAAG,aAAa,CAAC;IAG/B,GAAG,EAAG,MAAM,CAAC;IAGb,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemEnclosureSource = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const itemEnclosure_1 = require("@orm/entities/item/itemEnclosure");
15
16
  let ItemEnclosureSource = class ItemEnclosureSource {
@@ -25,11 +26,11 @@ __decorate([
25
26
  __metadata("design:type", itemEnclosure_1.ItemEnclosure)
26
27
  ], ItemEnclosureSource.prototype, "item_enclosure", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_uri }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemEnclosureSource.prototype, "uri", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
33
34
  __metadata("design:type", Object)
34
35
  ], ItemEnclosureSource.prototype, "content_type", void 0);
35
36
  exports.ItemEnclosureSource = ItemEnclosureSource = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemFunding.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemFunding.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,WAAW;IAEtB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,GAAG,EAAG,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB"}
1
+ {"version":3,"file":"itemFunding.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemFunding.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,WAAW;IAEtB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,GAAG,EAAG,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemFunding = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemFunding = class ItemFunding {
@@ -25,11 +26,11 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemFunding.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_url }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemFunding.prototype, "url", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
33
34
  __metadata("design:type", Object)
34
35
  ], ItemFunding.prototype, "title", void 0);
35
36
  exports.ItemFunding = ItemFunding = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemImage.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemImage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,SAAS;IAEpB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,GAAG,EAAG,MAAM,CAAC;IAGb,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGjC,UAAU,EAAG,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"itemImage.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemImage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,SAAS;IAEpB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,GAAG,EAAG,MAAM,CAAC;IAGb,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGjC,UAAU,EAAG,OAAO,CAAC;CACtB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemImage = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemImage = class ItemImage {
@@ -25,7 +26,7 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemImage.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_url }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemImage.prototype, "url", void 0);
31
32
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemLicense.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemLicense.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBAEa,WAAW;IAEtB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,UAAU,EAAG,MAAM,CAAC;IAGpB,GAAG,EAAG,MAAM,GAAG,IAAI,CAAC;CACrB"}
1
+ {"version":3,"file":"itemLicense.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemLicense.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBAEa,WAAW;IAEtB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,UAAU,EAAG,MAAM,CAAC;IAGpB,GAAG,EAAG,MAAM,GAAG,IAAI,CAAC;CACrB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemLicense = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemLicense = class ItemLicense {
@@ -25,11 +26,11 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemLicense.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemLicense.prototype, "identifier", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_url }),
33
34
  __metadata("design:type", Object)
34
35
  ], ItemLicense.prototype, "url", void 0);
35
36
  exports.ItemLicense = ItemLicense = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemLocation.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemLocation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBAEa,YAAY;IAEvB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpB,IAAI,EAAG,MAAM,GAAG,IAAI,CAAC;CACtB"}
1
+ {"version":3,"file":"itemLocation.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemLocation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBAEa,YAAY;IAEvB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpB,IAAI,EAAG,MAAM,GAAG,IAAI,CAAC;CACtB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemLocation = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemLocation = class ItemLocation {
@@ -25,15 +26,15 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemLocation.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
29
30
  __metadata("design:type", Object)
30
31
  ], ItemLocation.prototype, "geo", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
33
34
  __metadata("design:type", Object)
34
35
  ], ItemLocation.prototype, "osm", void 0);
35
36
  __decorate([
36
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
37
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
37
38
  __metadata("design:type", Object)
38
39
  ], ItemLocation.prototype, "name", void 0);
39
40
  exports.ItemLocation = ItemLocation = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemPerson.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemPerson.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,qBACa,UAAU;IAErB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,IAAI,EAAG,MAAM,GAAG,IAAI,CAAC;IAGrB,YAAY,EAAG,MAAM,GAAG,IAAI,CAAC;IAG7B,GAAG,EAAG,MAAM,GAAG,IAAI,CAAC;IAGpB,IAAI,EAAG,MAAM,GAAG,IAAI,CAAC;IAIrB,eAAe;CAQhB"}
1
+ {"version":3,"file":"itemPerson.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemPerson.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,qBACa,UAAU;IAErB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,IAAI,EAAG,MAAM,GAAG,IAAI,CAAC;IAGrB,YAAY,EAAG,MAAM,GAAG,IAAI,CAAC;IAG7B,GAAG,EAAG,MAAM,GAAG,IAAI,CAAC;IAGpB,IAAI,EAAG,MAAM,GAAG,IAAI,CAAC;IAIrB,eAAe;CAQhB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemPerson = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("./item");
15
16
  let ItemPerson = class ItemPerson {
@@ -33,23 +34,23 @@ __decorate([
33
34
  __metadata("design:type", item_1.Item)
34
35
  ], ItemPerson.prototype, "item", void 0);
35
36
  __decorate([
36
- (0, typeorm_1.Column)({ type: 'varchar' }),
37
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
37
38
  __metadata("design:type", String)
38
39
  ], ItemPerson.prototype, "name", void 0);
39
40
  __decorate([
40
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
41
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
41
42
  __metadata("design:type", Object)
42
43
  ], ItemPerson.prototype, "role", void 0);
43
44
  __decorate([
44
- (0, typeorm_1.Column)({ type: 'varchar', default: 'cast' }),
45
+ (0, typeorm_1.Column)({ type: 'varchar', default: 'cast', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
45
46
  __metadata("design:type", Object)
46
47
  ], ItemPerson.prototype, "person_group", void 0);
47
48
  __decorate([
48
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
49
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_url }),
49
50
  __metadata("design:type", Object)
50
51
  ], ItemPerson.prototype, "img", void 0);
51
52
  __decorate([
52
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
53
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_url }),
53
54
  __metadata("design:type", Object)
54
55
  ], ItemPerson.prototype, "href", void 0);
55
56
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemSeason.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemSeason.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,UAAU;IAErB,EAAE,EAAG,MAAM,CAAC;IAGZ,iBAAiB,EAAG,MAAM,CAAC;IAI3B,cAAc,EAAG,aAAa,CAAC;IAI/B,IAAI,EAAG,IAAI,CAAC;IAGZ,KAAK,EAAG,MAAM,GAAG,IAAI,CAAC;CACvB"}
1
+ {"version":3,"file":"itemSeason.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemSeason.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,UAAU;IAErB,EAAE,EAAG,MAAM,CAAC;IAGZ,iBAAiB,EAAG,MAAM,CAAC;IAI3B,cAAc,EAAG,aAAa,CAAC;IAI/B,IAAI,EAAG,IAAI,CAAC;IAGZ,KAAK,EAAG,MAAM,GAAG,IAAI,CAAC;CACvB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemSeason = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const channelSeason_1 = require("@orm/entities/channel/channelSeason");
15
16
  const item_1 = require("@orm/entities/item/item");
@@ -35,7 +36,7 @@ __decorate([
35
36
  __metadata("design:type", item_1.Item)
36
37
  ], ItemSeason.prototype, "item", void 0);
37
38
  __decorate([
38
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
39
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
39
40
  __metadata("design:type", Object)
40
41
  ], ItemSeason.prototype, "title", void 0);
41
42
  exports.ItemSeason = ItemSeason = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemSeasonEpisode.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemSeasonEpisode.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,iBAAiB;IAE5B,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,MAAM,EAAG,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"itemSeasonEpisode.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemSeasonEpisode.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,iBAAiB;IAE5B,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,MAAM,EAAG,MAAM,CAAC;CACjB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemSeasonEpisode = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemSeasonEpisode = class ItemSeasonEpisode {
@@ -25,7 +26,7 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemSeasonEpisode.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
29
30
  __metadata("design:type", Object)
30
31
  ], ItemSeasonEpisode.prototype, "display", void 0);
31
32
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemSocialInteract.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemSocialInteract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,kBAAkB;IAE7B,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,QAAQ,EAAG,MAAM,CAAC;IAGlB,GAAG,EAAG,MAAM,CAAC;IAGb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
1
+ {"version":3,"file":"itemSocialInteract.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemSocialInteract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,kBAAkB;IAE7B,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,QAAQ,EAAG,MAAM,CAAC;IAGlB,GAAG,EAAG,MAAM,CAAC;IAGb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemSocialInteract = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemSocialInteract = class ItemSocialInteract {
@@ -25,19 +26,19 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemSocialInteract.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemSocialInteract.prototype, "protocol", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar' }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_uri }),
33
34
  __metadata("design:type", String)
34
35
  ], ItemSocialInteract.prototype, "uri", void 0);
35
36
  __decorate([
36
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
37
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
37
38
  __metadata("design:type", Object)
38
39
  ], ItemSocialInteract.prototype, "account_id", void 0);
39
40
  __decorate([
40
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
41
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_url }),
41
42
  __metadata("design:type", Object)
42
43
  ], ItemSocialInteract.prototype, "account_url", void 0);
43
44
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemSoundbite.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemSoundbite.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAG/C,qBACa,aAAa;IAExB,EAAE,EAAG,MAAM,CAAC;IAGZ,OAAO,EAAG,MAAM,CAAC;IAIjB,IAAI,EAAG,IAAI,CAAC;IAGZ,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,cAAc;CAGf"}
1
+ {"version":3,"file":"itemSoundbite.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemSoundbite.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAG/C,qBACa,aAAa;IAExB,EAAE,EAAG,MAAM,CAAC;IAGZ,OAAO,EAAG,MAAM,CAAC;IAIjB,IAAI,EAAG,IAAI,CAAC;IAGZ,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,cAAc;CAGf"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemSoundbite = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  const shortid = require('shortid');
@@ -41,7 +42,7 @@ __decorate([
41
42
  __metadata("design:type", String)
42
43
  ], ItemSoundbite.prototype, "duration", void 0);
43
44
  __decorate([
44
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
45
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
45
46
  __metadata("design:type", Object)
46
47
  ], ItemSoundbite.prototype, "title", void 0);
47
48
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemTranscript.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemTranscript.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,cAAc;IAEzB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,GAAG,EAAG,MAAM,CAAC;IAGb,IAAI,EAAG,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB"}
1
+ {"version":3,"file":"itemTranscript.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemTranscript.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,cAAc;IAEzB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,GAAG,EAAG,MAAM,CAAC;IAGb,IAAI,EAAG,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemTranscript = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemTranscript = class ItemTranscript {
@@ -25,19 +26,19 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemTranscript.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_url }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemTranscript.prototype, "url", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar' }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
33
34
  __metadata("design:type", String)
34
35
  ], ItemTranscript.prototype, "type", void 0);
35
36
  __decorate([
36
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
37
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
37
38
  __metadata("design:type", Object)
38
39
  ], ItemTranscript.prototype, "language", void 0);
39
40
  __decorate([
40
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
41
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: 50 }),
41
42
  __metadata("design:type", Object)
42
43
  ], ItemTranscript.prototype, "rel", void 0);
43
44
  exports.ItemTranscript = ItemTranscript = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemTxt.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemTxt.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,OAAO;IAElB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,OAAO,EAAG,MAAM,GAAG,IAAI,CAAC;IAGxB,KAAK,EAAG,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"itemTxt.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemTxt.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,OAAO;IAElB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,OAAO,EAAG,MAAM,GAAG,IAAI,CAAC;IAGxB,KAAK,EAAG,MAAM,CAAC;CAChB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemTxt = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemTxt = class ItemTxt {
@@ -25,11 +26,11 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemTxt.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
29
30
  __metadata("design:type", Object)
30
31
  ], ItemTxt.prototype, "purpose", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar' }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_long }),
33
34
  __metadata("design:type", String)
34
35
  ], ItemTxt.prototype, "value", void 0);
35
36
  exports.ItemTxt = ItemTxt = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemValue.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemValue.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,SAAS;IAEpB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,MAAM,EAAG,MAAM,CAAC;IAGhB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B"}
1
+ {"version":3,"file":"itemValue.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemValue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,qBACa,SAAS;IAEpB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,MAAM,EAAG,MAAM,CAAC;IAGhB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemValue = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const item_1 = require("@orm/entities/item/item");
15
16
  let ItemValue = class ItemValue {
@@ -25,11 +26,11 @@ __decorate([
25
26
  __metadata("design:type", item_1.Item)
26
27
  ], ItemValue.prototype, "item", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemValue.prototype, "type", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar' }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
33
34
  __metadata("design:type", String)
34
35
  ], ItemValue.prototype, "method", void 0);
35
36
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemValueRecipient.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemValueRecipient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,qBACa,kBAAkB;IAE7B,EAAE,EAAG,MAAM,CAAC;IAIZ,UAAU,EAAG,SAAS,CAAC;IAGvB,IAAI,EAAG,MAAM,CAAC;IAGd,OAAO,EAAG,MAAM,CAAC;IAGjB,KAAK,EAAG,MAAM,CAAC;IAGf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7B,GAAG,EAAG,OAAO,CAAC;CACf"}
1
+ {"version":3,"file":"itemValueRecipient.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemValueRecipient.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,qBACa,kBAAkB;IAE7B,EAAE,EAAG,MAAM,CAAC;IAIZ,UAAU,EAAG,SAAS,CAAC;IAGvB,IAAI,EAAG,MAAM,CAAC;IAGd,OAAO,EAAG,MAAM,CAAC;IAGjB,KAAK,EAAG,MAAM,CAAC;IAGf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7B,GAAG,EAAG,OAAO,CAAC;CACf"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemValueRecipient = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const itemValue_1 = require("@orm/entities/item/itemValue");
15
16
  let ItemValueRecipient = class ItemValueRecipient {
@@ -25,11 +26,11 @@ __decorate([
25
26
  __metadata("design:type", itemValue_1.ItemValue)
26
27
  ], ItemValueRecipient.prototype, "item_value", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemValueRecipient.prototype, "type", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar' }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_long }),
33
34
  __metadata("design:type", String)
34
35
  ], ItemValueRecipient.prototype, "address", void 0);
35
36
  __decorate([
@@ -37,15 +38,15 @@ __decorate([
37
38
  __metadata("design:type", Number)
38
39
  ], ItemValueRecipient.prototype, "split", void 0);
39
40
  __decorate([
40
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
41
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
41
42
  __metadata("design:type", Object)
42
43
  ], ItemValueRecipient.prototype, "name", void 0);
43
44
  __decorate([
44
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
45
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_long }),
45
46
  __metadata("design:type", Object)
46
47
  ], ItemValueRecipient.prototype, "custom_key", void 0);
47
48
  __decorate([
48
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
49
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_long }),
49
50
  __metadata("design:type", Object)
50
51
  ], ItemValueRecipient.prototype, "custom_value", void 0);
51
52
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemValueTimeSplitRecipient.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemValueTimeSplitRecipient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,qBACa,2BAA2B;IAEtC,EAAE,EAAG,MAAM,CAAC;IAIZ,qBAAqB,EAAG,kBAAkB,CAAC;IAG3C,IAAI,EAAG,MAAM,CAAC;IAGd,OAAO,EAAG,MAAM,CAAC;IAGjB,KAAK,EAAG,MAAM,CAAC;IAGf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7B,GAAG,EAAG,OAAO,CAAC;CACf"}
1
+ {"version":3,"file":"itemValueTimeSplitRecipient.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemValueTimeSplitRecipient.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,qBACa,2BAA2B;IAEtC,EAAE,EAAG,MAAM,CAAC;IAIZ,qBAAqB,EAAG,kBAAkB,CAAC;IAG3C,IAAI,EAAG,MAAM,CAAC;IAGd,OAAO,EAAG,MAAM,CAAC;IAGjB,KAAK,EAAG,MAAM,CAAC;IAGf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7B,GAAG,EAAG,OAAO,CAAC;CACf"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemValueTimeSplitRecipient = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const itemValueTimeSplit_1 = require("@orm/entities/item/itemValueTimeSplit");
15
16
  let ItemValueTimeSplitRecipient = class ItemValueTimeSplitRecipient {
@@ -25,11 +26,11 @@ __decorate([
25
26
  __metadata("design:type", itemValueTimeSplit_1.ItemValueTimeSplit)
26
27
  ], ItemValueTimeSplitRecipient.prototype, "item_value_time_split", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'varchar' }),
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_short }),
29
30
  __metadata("design:type", String)
30
31
  ], ItemValueTimeSplitRecipient.prototype, "type", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar' }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_long }),
33
34
  __metadata("design:type", String)
34
35
  ], ItemValueTimeSplitRecipient.prototype, "address", void 0);
35
36
  __decorate([
@@ -37,15 +38,15 @@ __decorate([
37
38
  __metadata("design:type", Number)
38
39
  ], ItemValueTimeSplitRecipient.prototype, "split", void 0);
39
40
  __decorate([
40
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
41
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
41
42
  __metadata("design:type", Object)
42
43
  ], ItemValueTimeSplitRecipient.prototype, "name", void 0);
43
44
  __decorate([
44
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
45
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_long }),
45
46
  __metadata("design:type", Object)
46
47
  ], ItemValueTimeSplitRecipient.prototype, "custom_key", void 0);
47
48
  __decorate([
48
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
49
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_long }),
49
50
  __metadata("design:type", Object)
50
51
  ], ItemValueTimeSplitRecipient.prototype, "custom_value", void 0);
51
52
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"itemValueTimeSplitRemoteItem.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemValueTimeSplitRemoteItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,qBACa,4BAA4B;IAEvC,EAAE,EAAG,MAAM,CAAC;IAIZ,qBAAqB,EAAG,kBAAkB,CAAC;IAG3C,SAAS,EAAG,MAAM,CAAC;IAGnB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG1B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB"}
1
+ {"version":3,"file":"itemValueTimeSplitRemoteItem.d.ts","sourceRoot":"","sources":["../../../src/entities/item/itemValueTimeSplitRemoteItem.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,qBACa,4BAA4B;IAEvC,EAAE,EAAG,MAAM,CAAC;IAIZ,qBAAqB,EAAG,kBAAkB,CAAC;IAG3C,SAAS,EAAG,MAAM,CAAC;IAGnB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG1B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ItemValueTimeSplitRemoteItem = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const itemValueTimeSplit_1 = require("@orm/entities/item/itemValueTimeSplit");
15
16
  let ItemValueTimeSplitRemoteItem = class ItemValueTimeSplitRemoteItem {
@@ -29,15 +30,15 @@ __decorate([
29
30
  __metadata("design:type", String)
30
31
  ], ItemValueTimeSplitRemoteItem.prototype, "feed_guid", void 0);
31
32
  __decorate([
32
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
33
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_url }),
33
34
  __metadata("design:type", Object)
34
35
  ], ItemValueTimeSplitRemoteItem.prototype, "feed_url", void 0);
35
36
  __decorate([
36
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
37
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_uri }),
37
38
  __metadata("design:type", Object)
38
39
  ], ItemValueTimeSplitRemoteItem.prototype, "item_guid", void 0);
39
40
  __decorate([
40
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
41
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
41
42
  __metadata("design:type", Object)
42
43
  ], ItemValueTimeSplitRemoteItem.prototype, "title", void 0);
43
44
  exports.ItemValueTimeSplitRemoteItem = ItemValueTimeSplitRemoteItem = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"playlist.d.ts","sourceRoot":"","sources":["../../../src/entities/playlist/playlist.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,qBACa,QAAQ;IAEnB,EAAE,EAAG,MAAM,CAAC;IAGZ,OAAO,EAAG,MAAM,CAAC;IAIjB,OAAO,EAAG,OAAO,CAAC;IAIlB,eAAe,EAAG,cAAc,CAAC;IAGjC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,oBAAoB,EAAG,OAAO,CAAC;IAG/B,SAAS,EAAG,OAAO,CAAC;IAGpB,UAAU,EAAG,MAAM,CAAC;IAIpB,MAAM,EAAG,MAAM,CAAC;IAGhB,cAAc;CAGf"}
1
+ {"version":3,"file":"playlist.d.ts","sourceRoot":"","sources":["../../../src/entities/playlist/playlist.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,qBACa,QAAQ;IAEnB,EAAE,EAAG,MAAM,CAAC;IAGZ,OAAO,EAAG,MAAM,CAAC;IAIjB,OAAO,EAAG,OAAO,CAAC;IAIlB,eAAe,EAAG,cAAc,CAAC;IAGjC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,oBAAoB,EAAG,OAAO,CAAC;IAG/B,SAAS,EAAG,OAAO,CAAC;IAGpB,UAAU,EAAG,MAAM,CAAC;IAIpB,MAAM,EAAG,MAAM,CAAC;IAGhB,cAAc;CAGf"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.Playlist = void 0;
13
+ const podverse_helpers_1 = require("podverse-helpers");
13
14
  const typeorm_1 = require("typeorm");
14
15
  const account_1 = require("@orm/entities/account/account");
15
16
  const sharableStatus_1 = require("@orm/entities/sharableStatus");
@@ -40,11 +41,11 @@ __decorate([
40
41
  __metadata("design:type", sharableStatus_1.SharableStatus)
41
42
  ], Playlist.prototype, "sharable_status", void 0);
42
43
  __decorate([
43
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
44
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_normal }),
44
45
  __metadata("design:type", Object)
45
46
  ], Playlist.prototype, "title", void 0);
46
47
  __decorate([
47
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
48
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true, length: podverse_helpers_1.DATABASE_CONSTANTS.varchar_long }),
48
49
  __metadata("design:type", Object)
49
50
  ], Playlist.prototype, "description", void 0);
50
51
  __decorate([