Skip to content

Commit f0e00de

Browse files
committed
Get ready to release figma-schema
1 parent a02453a commit f0e00de

File tree

5 files changed

+29
-4
lines changed

5 files changed

+29
-4
lines changed

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
/node_modules
33
/private
44
/example-figma-files
5+
/src/**/*.json
6+

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

figma-schema/Cargo.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
[package]
22
name = "figma-schema"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2021"
5+
authors = ["Chris Couzens <ccouzens@gmail.com>"]
6+
description = "Figma REST API schema"
7+
license = "MIT"
8+
repository = "https://github.com/ccouzens/figma-rust"
9+
keywords = ["Figma"]
10+
511

612
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
713

figma-schema/README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Figma REST API Rust Schema
2+
3+
Documented structs to deserialize JSON responses from the
4+
[Figma REST API](https://www.figma.com/developers/api) into.
5+
6+
These definitions are used by the
7+
[parent project](https://github.com/ccouzens/figma-rust) but are distributed
8+
separately as they may be of use to other people.
9+
10+
They may never be feature complete. Instead emphasis is placed on fields and
11+
types that get used by the parent project.
12+
13+
This schema is also used to build
14+
[TypeScript types](https://www.npmjs.com/package/figma-rest-api-typescript-definitions),
15+
[Kotlin types](https://github.com/ccouzens/figma-rust/blob/main/definitions.kt)
16+
and
17+
[Swift types](https://github.com/ccouzens/figma-rust/blob/main/definitions.kt).

typescript/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "figma-rest-api-typescript-definitions",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "TypeScript definitions for the JSON responses from Figma's REST API",
55
"keywords": [
66
"figma",
@@ -25,4 +25,4 @@
2525
},
2626
"scripts": {},
2727
"dependencies": {}
28-
}
28+
}

0 commit comments

Comments
 (0)