@parra/parra-js-sdk 0.3.545 → 0.3.547

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.
Files changed (2) hide show
  1. package/dist/ParraAPI.d.ts +22 -0
  2. package/package.json +1 -1
@@ -841,6 +841,27 @@ export interface CreateDesignSystemRequestBody {
841
841
  version?: string | null;
842
842
  description?: string | null;
843
843
  }
844
+ export interface ThemeStyles {
845
+ primary_color_key?: string | null;
846
+ secondary_color_key?: string | null;
847
+ tertiary_color_key?: string | null;
848
+ accent_color_key?: string | null;
849
+ corner_radius_style?: string | null;
850
+ }
851
+ export interface ThemeStub {
852
+ id: string;
853
+ created_at: string;
854
+ updated_at: string;
855
+ deleted_at?: string | null;
856
+ tenant_id: string;
857
+ name: string;
858
+ key: string;
859
+ description?: string | null;
860
+ is_dark: boolean;
861
+ is_active: boolean;
862
+ is_default: boolean;
863
+ styles?: ThemeStyles | null;
864
+ }
844
865
  export interface DesignSystem {
845
866
  id: string;
846
867
  created_at: string;
@@ -851,6 +872,7 @@ export interface DesignSystem {
851
872
  version?: string | null;
852
873
  description?: string | null;
853
874
  tenant_id: string;
875
+ themes: Array<ThemeStub>;
854
876
  }
855
877
  export interface ColorValue {
856
878
  hex_value?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.545",
3
+ "version": "0.3.547",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",