lint fix wip
This commit is contained in:
parent
64c94b6679
commit
3c888e375a
@ -169,8 +169,8 @@ export async function publishSeries(params: {
|
||||
const {category} = params
|
||||
requireCategory(category)
|
||||
|
||||
// Map category to new system (not used but kept for future reference)
|
||||
const _newCategory = category === 'science-fiction' ? 'sciencefiction' : 'research'
|
||||
// Map category to new system
|
||||
const newCategory = category === 'science-fiction' ? 'sciencefiction' : 'research'
|
||||
|
||||
// Generate hash ID from series data
|
||||
const hashId = await generateSeriesHashId({
|
||||
@ -258,8 +258,8 @@ async function buildSeriesEvent(
|
||||
content: string
|
||||
tags: string[][]
|
||||
}> {
|
||||
// Map category to new system (not used but kept for future reference)
|
||||
const _newCategory = category === 'science-fiction' ? 'sciencefiction' : 'research'
|
||||
// Map category to new system
|
||||
const newCategory = category === 'science-fiction' ? 'sciencefiction' : 'research'
|
||||
|
||||
// Generate hash ID from series data
|
||||
const hashId = await generateSeriesHashId({
|
||||
@ -324,8 +324,8 @@ export async function publishReview(params: {
|
||||
const {category} = params
|
||||
requireCategory(category)
|
||||
|
||||
// Map category to new system (not used but kept for future reference)
|
||||
const _newCategory = category === 'science-fiction' ? 'sciencefiction' : 'research'
|
||||
// Map category to new system
|
||||
const newCategory = category === 'science-fiction' ? 'sciencefiction' : 'research'
|
||||
|
||||
// Generate hash ID from review data
|
||||
const { generateReviewHashId } = await import('./hashIdGenerator')
|
||||
@ -417,8 +417,8 @@ async function buildReviewEvent(
|
||||
content: string
|
||||
tags: string[][]
|
||||
}> {
|
||||
// Map category to new system (not used but kept for future reference)
|
||||
const _newCategory = category === 'science-fiction' ? 'sciencefiction' : 'research'
|
||||
// Map category to new system
|
||||
const newCategory = category === 'science-fiction' ? 'sciencefiction' : 'research'
|
||||
|
||||
// Generate hash ID from review data
|
||||
const { generateReviewHashId } = await import('./hashIdGenerator')
|
||||
|
||||
@ -4,7 +4,9 @@ import { PLATFORM_SERVICE } from './platformConfig'
|
||||
import { generatePurchaseHashId, generateReviewTipHashId, generateSponsoringHashId } from './hashIdGenerator'
|
||||
import { buildObjectId } from './urlGenerator'
|
||||
import type { Event, EventTemplate } from 'nostr-tools'
|
||||
import type { Purchase } from '@/types/nostr'
|
||||
import { finalizeEvent } from 'nostr-tools'
|
||||
import { hexToBytes } from 'nostr-tools/utils'
|
||||
import type { Purchase, ReviewTip, Sponsoring } from '@/types/nostr'
|
||||
import { writeOrchestrator } from './writeOrchestrator'
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user