@shotstack/schemas 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/api.bundled.json +5508 -0
- package/dist/index.d.ts +1 -0
- package/dist/schema.d.ts +4240 -0
- package/package.json +50 -0
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @shotstack/schemas
|
|
2
|
+
|
|
3
|
+
Centralized OpenAPI schemas and TypeScript types for the Shotstack API.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @shotstack/schemas
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { components } from '@shotstack/schemas';
|
|
15
|
+
|
|
16
|
+
type Edit = components['schemas']['Edit'];
|
|
17
|
+
type Timeline = components['schemas']['Timeline'];
|
|
18
|
+
type Clip = components['schemas']['Clip'];
|
|
19
|
+
type Output = components['schemas']['Output'];
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Available Types
|
|
23
|
+
|
|
24
|
+
- Edit, Timeline, Track, Clip, Output
|
|
25
|
+
- Assets: VideoAsset, ImageAsset, AudioAsset, HtmlAsset, TextAsset, TitleAsset, LumaAsset, CaptionAsset, ShapeAsset, RichTextAsset
|
|
26
|
+
- Destinations: ShotstackDestination, S3Destination, MuxDestination, VimeoDestination, GoogleDriveDestination, GoogleCloudStorageDestination
|
|
27
|
+
- Transforms, Transitions, Fonts, MergeFields, and more
|
|
28
|
+
|
|
29
|
+
## Development
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
pnpm install
|
|
33
|
+
pnpm run build
|
|
34
|
+
pnpm run test
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
MIT
|