Replies: 1 comment
-
| 
         This project is very strict about types, so you would have to define the missing types if they are not provided by Ghost. I would think that most types are almost identical to the ones from the Content API (https://www.npmjs.com/package/@types/tryghost__content-api/v/1.2.0) which are available from https://github.com/DefinitelyTyped/DefinitelyTyped. Another approach could be to work with the Ghost team to make those types available on DefinitelyTyped, and then you would be able to import them here.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I've got a working proof of concept allowing for preview URLs using the Ghost Admin API (essentially fixing #36). The problem is that I can't find type definitions for the
@tryghost/admin-apipackage. I hope to open a PR for this work sometime this month, but with a lack of type definitions would such a PR be accepted? What should I do to move this forward?Beta Was this translation helpful? Give feedback.
All reactions