Skip to content

Commit

Permalink
Push up knowledge about the Ghost API
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Jan 13, 2025
1 parent 1fa8467 commit 0d1c95e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/app-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ import {
} from './feature-flags.js'
import type { SleepEnv } from './fetch.js'
import { funding } from './funding.js'
import type { GhostApiEnv } from './ghost.js'
import { home } from './home-page/index.js'
import { howToUse } from './how-to-use.js'
import * as Keyv from './keyv.js'
Expand Down Expand Up @@ -363,7 +362,6 @@ export type RouterEnv = Keyv.AvatarStoreEnv &
ConnectOrcidOAuthEnv &
Keyv.ContactEmailAddressStoreEnv &
FormStoreEnv &
GhostApiEnv &
Keyv.IsOpenForRequestsStoreEnv &
IsUserBlockedEnv &
Keyv.LanguagesStoreEnv &
Expand Down
3 changes: 2 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import * as EffectToFpts from './EffectToFpts.js'
import { PageNotFound } from './PageNotFound/index.js'
import { type RouterEnv, routes } from './app-router.js'
import { doesPreprintExist, getPreprint, getPreprintId, getPreprintTitle, resolvePreprintId } from './get-preprint.js'
import { getPage } from './ghost.js'
import { getPage, type GhostApiEnv } from './ghost.js'
import { getUserOnboarding } from './keyv.js'
import { getPreprintIdFromLegacyPreviewUuid, getProfileIdFromLegacyPreviewUuid } from './legacy-prereview.js'
import { type LegacyEnv, legacyRoutes } from './legacy-routes/index.js'
Expand All @@ -42,6 +42,7 @@ export type ConfigEnv = Omit<
| 'runtime'
| 'sendEmail'
> &
GhostApiEnv &
NodemailerEnv & {
allowSiteCrawlers: boolean
useCrowdinInContext: boolean
Expand Down

0 comments on commit 0d1c95e

Please sign in to comment.