figma-schema 0.3.0

Figma REST API schema
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// [Figma documentation](https://www.figma.com/developers/api#component-type)
#[derive(Debug, Deserialize, Serialize)]
#[typeshare::typeshare]
pub struct Component {
    pub key: String,
    pub name: String,
    pub description: String,
}