@supernova-studio/client 0.55.28 → 0.55.30

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/dist/index.mjs CHANGED
@@ -1825,7 +1825,9 @@ var PageBlockGuideline = z40.object({
1825
1825
  var PageBlockBaseV1 = z40.object({
1826
1826
  persistentId: z40.string(),
1827
1827
  type: PageBlockTypeV1,
1828
+ // V2 generic attributes
1828
1829
  numberOfColumns: nullishToOptional(z40.number()),
1830
+ itemBackgroundColor: nullishToOptional(ColorTokenInlineData),
1829
1831
  // Element linking
1830
1832
  designObjectId: nullishToOptional(z40.string()),
1831
1833
  designObjectIds: nullishToOptional(z40.array(z40.string())),
@@ -5688,9 +5690,17 @@ var DTOUserWorkspaceMembership = z202.object({
5688
5690
  // when a workspace's subscription is downgraded to free tier
5689
5691
  effectiveRole: DTOWorkspaceRole
5690
5692
  });
5693
+ var DTOWorkspaceMember = z202.object({
5694
+ user: User,
5695
+ role: WorkspaceRoleSchema,
5696
+ effectiveRole: WorkspaceRoleSchema
5697
+ });
5691
5698
  var DTOUserWorkspaceMembershipsResponse = z202.object({
5692
5699
  membership: z202.array(DTOUserWorkspaceMembership)
5693
5700
  });
5701
+ var DTOWorkspaceMembersListResponse = z202.object({
5702
+ members: z202.array(DTOWorkspaceMember)
5703
+ });
5694
5704
 
5695
5705
  // src/api/dto/bff/app-bootstrap-data.ts
5696
5706
  var DTOAppBootstrapDataQuery = z203.object({
@@ -6798,7 +6808,7 @@ var WorkspaceMembersEndpoint = class {
6798
6808
  this.requestExecutor = requestExecutor;
6799
6809
  }
6800
6810
  list(workspaceId) {
6801
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, DTOUserWorkspaceMembershipsResponse, {
6811
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, DTOWorkspaceMembersListResponse, {
6802
6812
  method: "GET"
6803
6813
  });
6804
6814
  }
@@ -6838,6 +6848,9 @@ var WorkspacesEndpoint = class {
6838
6848
  }
6839
6849
  });
6840
6850
  }
6851
+ get(workspaceId) {
6852
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
6853
+ }
6841
6854
  delete(workspaceId) {
6842
6855
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, z244.any(), { method: "DELETE" });
6843
6856
  }
@@ -10884,7 +10897,7 @@ var blocks = [
10884
10897
  name: "Component checklist",
10885
10898
  description: "Highlight specific component properties",
10886
10899
  category: "Components",
10887
- icon: "https://cdn-assets.supernova.io/blocks/icons/component-checklist.svg",
10900
+ icon: "https://cdn-assets.supernova.io/blocks/icons/v2/component-checklist.svg",
10888
10901
  searchKeywords: ["components", "health", "properties", "overview", "status"],
10889
10902
  item: {
10890
10903
  properties: [
@@ -10946,7 +10959,7 @@ var blocks = [
10946
10959
  name: "Component overview table",
10947
10960
  description: "Show an overview of all components",
10948
10961
  category: "Components",
10949
- icon: "https://cdn-assets.supernova.io/blocks/icons/v2/component-checklist-all.svg",
10962
+ icon: "https://cdn-assets.supernova.io/blocks/icons/component-overview-table.svg",
10950
10963
  searchKeywords: ["components", "health", "overview", "status"],
10951
10964
  item: {
10952
10965
  properties: [
@@ -11050,9 +11063,9 @@ var blocks = [
11050
11063
  {
11051
11064
  id: "io.supernova.block.figma-components",
11052
11065
  name: "Figma component",
11053
- description: "Display Figma component variants or group of components.",
11054
- category: "Components",
11055
- icon: "https://cdn-assets.supernova.io/blocks/icons/component-checklist.svg",
11066
+ description: "Display components and variants from Figma",
11067
+ category: "Figma",
11068
+ icon: "https://cdn-assets.supernova.io/blocks/icons/figma-component.svg",
11056
11069
  searchKeywords: ["variants", "properties"],
11057
11070
  item: {
11058
11071
  properties: [
@@ -11078,7 +11091,7 @@ var blocks = [
11078
11091
  {
11079
11092
  id: "grid",
11080
11093
  name: "Grid",
11081
- image: "tbd",
11094
+ image: "https://cdn-assets.supernova.io/blocks/variants/figma-component-grid.svg",
11082
11095
  description: "Components or variants will be rendered individually in a grid layout",
11083
11096
  layout: {
11084
11097
  type: "Column",
@@ -11094,7 +11107,7 @@ var blocks = [
11094
11107
  {
11095
11108
  id: "canvas",
11096
11109
  name: "Canvas",
11097
- image: "tbd",
11110
+ image: "https://cdn-assets.supernova.io/blocks/variants/figma-component-canvas.svg",
11098
11111
  description: "Components or variants will be rendered on a single canvas",
11099
11112
  layout: {
11100
11113
  type: "Column",
@@ -11133,9 +11146,9 @@ var blocks = [
11133
11146
  {
11134
11147
  id: "io.supernova.block.figma-components-propstable",
11135
11148
  name: "Figma component properties",
11136
- description: "Display properties based on Figma component data.",
11137
- category: "Components",
11138
- icon: "https://cdn-assets.supernova.io/blocks/icons/component-checklist.svg",
11149
+ description: "Display list of Figma component properties",
11150
+ category: "Figma",
11151
+ icon: "https://cdn-assets.supernova.io/blocks/icons/figma-component-properties.svg",
11139
11152
  searchKeywords: ["variants", "properties", "props", "table"],
11140
11153
  item: {
11141
11154
  properties: [
@@ -12133,6 +12146,8 @@ export {
12133
12146
  DTOWorkspaceInvitationInput,
12134
12147
  DTOWorkspaceInvitationsListInput,
12135
12148
  DTOWorkspaceInvitationsResponse,
12149
+ DTOWorkspaceMember,
12150
+ DTOWorkspaceMembersListResponse,
12136
12151
  DTOWorkspaceResponse,
12137
12152
  DTOWorkspaceRole,
12138
12153
  DesignSystemMembersEndpoint,