@parra/parra-js-sdk 0.3.556 → 0.3.558

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 +16 -16
  2. package/package.json +1 -1
@@ -899,38 +899,38 @@ export interface TokenRef {
899
899
  }
900
900
  export type ColorToken = ColorValue | TokenRef;
901
901
  export type DesignTokenValue = ColorToken;
902
- export interface UpdateDesignTokenRequestBody {
903
- name?: string;
904
- key?: string;
905
- description?: string | null;
906
- value?: DesignTokenValue;
907
- is_deprecated?: boolean;
908
- is_active?: boolean;
909
- }
910
902
  export interface CreateDesignTokenRequestBody {
911
- name?: string;
912
- key?: string;
903
+ theme_id: string;
904
+ type: DesignTokenType;
905
+ name: string;
906
+ key: string;
913
907
  description?: string | null;
914
- value?: DesignTokenValue;
908
+ value: DesignTokenValue;
915
909
  is_deprecated?: boolean;
916
910
  is_active?: boolean;
917
- theme_id: string;
918
- type: DesignTokenType;
919
911
  }
920
912
  export interface DesignToken {
921
913
  id: string;
922
914
  created_at: string;
923
915
  updated_at: string;
924
916
  deleted_at?: string | null;
917
+ theme_id: string;
918
+ type: DesignTokenType;
919
+ name: string;
920
+ key: string;
921
+ description?: string | null;
922
+ value: DesignTokenValue;
923
+ is_deprecated?: boolean;
924
+ is_active?: boolean;
925
+ tenant_id: string;
926
+ }
927
+ export interface UpdateDesignTokenRequestBody {
925
928
  name?: string;
926
929
  key?: string;
927
930
  description?: string | null;
928
931
  value?: DesignTokenValue;
929
932
  is_deprecated?: boolean;
930
933
  is_active?: boolean;
931
- theme_id: string;
932
- type: DesignTokenType;
933
- tenant_id: string;
934
934
  }
935
935
  export interface CreateThemeRequestBody {
936
936
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.556",
3
+ "version": "0.3.558",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",