tr
TryGhost
GitHub
Ghost
Workspace
GitHub
CI Pipeline Executions
Current execution
Succeeded
chore/limit-service-core-typescript
Runs and Agents
Configuration
Self-Healing CI
Project Graph
Circular Dependencies
Enterprise
Resource Usage
Analysis
Conformance
Enterprise
Runs
Current run
Succeeded
Tasks
Resource Usage
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Changed Ghost's limit service to TypeScript This file is where Ghost's own configuration meets the limit service, so unlike the count queries it cannot move into the package: it reads hostSettings, decides the help link, swallows a misconfiguration at boot rather than refusing to start, and hands out the singleton every model and endpoint asks for. What it can do is be checked. Ghost only typechecks TypeScript, so as JavaScript none of that wiring was seen by the compiler, and neither was the limit name that the route guard takes. Ghost does not permit TypeScript syntax that cannot be erased, so the service cannot keep exporting itself as the module. It now exports itself by default, which is how every other converted service here is consumed, and the callers that want the service rather than its two helpers read it from there.
nx run ghost-monorepo:lint:boundaries
⌘K
Succeeded
nx run ghost-monorepo:lint:boundaries
Click to copy
Linux
4 CPU cores
read-write
access token used
e1e56f8a
30777
GitHub
Ghost
Workspace