Compare commits
2 Commits
ac904c849d
...
560ff103ce
Author | SHA1 | Date |
---|---|---|
|
560ff103ce | |
|
edc724b475 |
|
@ -171,6 +171,14 @@
|
||||||
<div class="duration">{{ formatDuration(release.duration) }}</div>
|
<div class="duration">{{ formatDuration(release.duration) }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
v-if="release.photoCount"
|
||||||
|
class="row-tidbit"
|
||||||
|
>
|
||||||
|
<span class="row-label">Photos</span>
|
||||||
|
{{ release.photoCount }}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="release.shootId"
|
v-if="release.shootId"
|
||||||
class="row-tidbit"
|
class="row-tidbit"
|
||||||
|
|
|
@ -553,6 +553,7 @@ const releaseFragment = `
|
||||||
createdAt
|
createdAt
|
||||||
shootId
|
shootId
|
||||||
qualities
|
qualities
|
||||||
|
photoCount
|
||||||
productionDate
|
productionDate
|
||||||
createdBatchId
|
createdBatchId
|
||||||
productionLocation
|
productionLocation
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
exports.up = async (knex) => {
|
||||||
|
await knex.schema.alterTable('releases', (table) => {
|
||||||
|
table.integer('photo_count');
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
exports.down = async (knex) => {
|
||||||
|
await knex.schema.alterTable('releases', (table) => {
|
||||||
|
table.dropColumn('photo_count');
|
||||||
|
});
|
||||||
|
};
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.231.31",
|
"version": "1.232.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.231.31",
|
"version": "1.232.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "^5.2.2",
|
"@casl/ability": "^5.2.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.231.31",
|
"version": "1.232.0",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -42,6 +42,7 @@ async function curateReleaseEntry(release, batchId, existingRelease, type = 'sce
|
||||||
slug,
|
slug,
|
||||||
description: decode(release.description),
|
description: decode(release.description),
|
||||||
comment: release.comment,
|
comment: release.comment,
|
||||||
|
photo_count: Number(release.photoCount) || null,
|
||||||
deep: typeof release.deep === 'boolean' ? release.deep : false,
|
deep: typeof release.deep === 'boolean' ? release.deep : false,
|
||||||
deep_url: release.deepUrl,
|
deep_url: release.deepUrl,
|
||||||
updated_batch_id: batchId,
|
updated_batch_id: batchId,
|
||||||
|
|
Loading…
Reference in New Issue