https://github.com/robertknight/stone-typescript-generator
A TypeScript definition file generator for Dropbox's Stone API description language
https://github.com/robertknight/stone-typescript-generator
Last synced: 2 days ago
JSON representation
A TypeScript definition file generator for Dropbox's Stone API description language
- Host: GitHub
- URL: https://github.com/robertknight/stone-typescript-generator
- Owner: robertknight
- Created: 2016-08-26T14:20:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-08T05:42:56.000Z (over 8 years ago)
- Last Synced: 2025-01-09T15:43:26.935Z (4 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stone-typescript-generator
**DEPRECATED - There is work happening [upstream](https://github.com/dropbox/stone/pull/14) to add a built-in TypeScript definition generator to Stone.**
[Stone](https://github.com/dropbox/stone) is a language for specifying APIs and
a tool for generating client libraries for those APIs.This is a generator which produces TypeScript definition files from `.stone` API
specification files, assuming the API conventions used by Dropbox' official SDK
for JavaScript.It was created to produce a TypeScript definition file for the [Dropbox V2
JavaScript SDK](https://github.com/dropbox/dropbox-sdk-js)See [the Stone documentation](https://github.com/dropbox/stone) for information
on how to use this generator and [the Dropbox API
spec](https://github.com/dropbox/dropbox-api-spec) for the Dropbox API specs in
Stone format.## Usage
1. Install stone following the instructions in the [Stone repository](https://github.com/dropbox/stone).
2. Run stone with the generator from this repository```
stone typescript.stoneg.py . path/to/dropbox-api-spec/*.stone -- dropbox.d.ts
```