@supernova-studio/client 0.59.8 → 0.59.9

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
@@ -4357,7 +4357,8 @@ var DesignSystemVersionRoomInitialState = z150.object({
4357
4357
  pageSnapshots: z150.array(DocumentationPageSnapshot),
4358
4358
  groupSnapshots: z150.array(ElementGroupSnapshot),
4359
4359
  pageApprovals: z150.array(DocumentationPageApproval),
4360
- internalSettings: DesignSystemVersionRoomInternalSettings
4360
+ internalSettings: DesignSystemVersionRoomInternalSettings,
4361
+ pageHashes: z150.record(z150.string()).optional()
4361
4362
  });
4362
4363
  var DesignSystemVersionRoomUpdate = z150.object({
4363
4364
  pages: z150.array(DocumentationPageV2),
@@ -5895,8 +5896,26 @@ var DTOPipelineCreateBody = z202.object({
5895
5896
  webhookUrl: z202.string().nullish()
5896
5897
  })
5897
5898
  });
5898
- var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
5899
- id: z202.string()
5899
+ var DTOPipelineUpdateBody = z202.object({
5900
+ exporterId: z202.string().optional(),
5901
+ name: z202.string().optional(),
5902
+ isEnabled: z202.boolean().optional(),
5903
+ eventType: PipelineEventType.optional(),
5904
+ brandPersistentId: z202.string().optional(),
5905
+ themePersistentId: z202.string().optional(),
5906
+ themePersistentIds: z202.string().array().optional(),
5907
+ exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
5908
+ destination: PipelineDestinationType.optional(),
5909
+ gitQuery: GitObjectsQuery.optional(),
5910
+ destinations: z202.object({
5911
+ s3: ExporterDestinationS3.nullish(),
5912
+ azure: ExporterDestinationAzure.nullish(),
5913
+ bitbucket: ExporterDestinationBitbucket.nullish(),
5914
+ github: ExporterDestinationGithub.nullish(),
5915
+ gitlab: ExporterDestinationGitlab.nullish(),
5916
+ documentation: ExporterDestinationDocs.nullish(),
5917
+ webhookUrl: z202.string().nullish()
5918
+ }).optional()
5900
5919
  });
5901
5920
  var DTOPipelineTriggerBody = z202.object({
5902
5921
  designSystemVersionId: z202.string()
@@ -7485,6 +7504,12 @@ var PipelinesEndpoint = class {
7485
7504
  method: "POST"
7486
7505
  });
7487
7506
  }
7507
+ update(designSystemId, pipelineId, payload) {
7508
+ return this.requestExecutor.json(`/design-systems/${designSystemId}/pipelines/${pipelineId}`, DTOPipelineResponse, {
7509
+ body: payload,
7510
+ method: "PUT"
7511
+ });
7512
+ }
7488
7513
  trigger(workspaceId, pipelineId, payload) {
7489
7514
  return this.requestExecutor.json(
7490
7515
  `/codegen/workspaces/${workspaceId}/pipelines/${pipelineId}/trigger`,
@@ -12005,49 +12030,87 @@ var blocks = [
12005
12030
  },
12006
12031
  {
12007
12032
  id: "io.supernova.block.assets",
12008
- name: "Assets",
12033
+ name: "Vector assets",
12009
12034
  description: "Display icons or illustrations",
12010
12035
  category: "Assets",
12011
12036
  icon: "https://cdn-assets.supernova.io/blocks/icons/v2/assets.svg",
12012
- searchKeywords: ["icons", "illustrations", "grid", "svg", "logos"],
12037
+ searchKeywords: ["icons", "illustrations", "grid", "svg", "logos", "vectors"],
12013
12038
  item: {
12014
- properties: [{ id: "assets", name: "Assets", type: "Asset", options: {} }],
12015
- appearance: { isBordered: true, hasBackground: false },
12039
+ properties: [
12040
+ {
12041
+ id: "assets",
12042
+ name: "Assets",
12043
+ type: "Asset",
12044
+ options: {}
12045
+ }
12046
+ ],
12047
+ appearance: {
12048
+ isBordered: true,
12049
+ hasBackground: false
12050
+ },
12016
12051
  variants: [
12017
12052
  {
12018
12053
  id: "default",
12019
12054
  name: "Simple grid",
12020
12055
  image: "https://cdn-assets.supernova.io/blocks/variants/assets-simple-grid.svg",
12021
- description: "A simple grid of assets. Both the title and description are displayed below the preview.",
12022
- layout: { type: "Column", children: ["assets"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
12056
+ description: "A simple grid. Both the title and description are displayed below the preview.",
12057
+ layout: {
12058
+ type: "Column",
12059
+ children: ["assets"],
12060
+ columnAlign: "Start",
12061
+ columnResizing: "Fill",
12062
+ gap: "Medium"
12063
+ },
12023
12064
  maxColumns: 8,
12024
- defaultColumns: 1,
12065
+ defaultColumns: 4,
12025
12066
  appearance: {}
12026
12067
  },
12027
12068
  {
12028
12069
  id: "square-grid",
12029
12070
  name: "Square grid",
12030
12071
  image: "https://cdn-assets.supernova.io/blocks/variants/assets-square-grid.svg",
12031
- description: "Bordered square grid tailored for displaying icon assets. Only the title is displayed.",
12032
- layout: { type: "Column", children: ["assets"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
12072
+ description: "Bordered square grid tailored for displaying icon assets.",
12073
+ layout: {
12074
+ type: "Column",
12075
+ children: ["assets"],
12076
+ columnAlign: "Start",
12077
+ columnResizing: "Fill",
12078
+ gap: "Medium"
12079
+ },
12033
12080
  maxColumns: 8,
12034
- defaultColumns: 1,
12035
- appearance: { isEditorPresentationDifferent: true }
12081
+ defaultColumns: 4,
12082
+ appearance: {
12083
+ isEditorPresentationDifferent: true
12084
+ }
12036
12085
  },
12037
12086
  {
12038
12087
  id: "borderless-grid",
12039
12088
  name: "Borderless grid",
12040
12089
  image: "https://cdn-assets.supernova.io/blocks/variants/assets-borderless-grid.svg",
12041
- description: "Borderless grid, perfect for displaying assets of the same height. Only the title is visible.",
12042
- layout: { type: "Column", children: ["assets"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
12090
+ description: "Borderless grid, perfect for displaying vector assets of the same height.",
12091
+ layout: {
12092
+ type: "Column",
12093
+ children: ["assets"],
12094
+ columnAlign: "Start",
12095
+ columnResizing: "Fill",
12096
+ gap: "Medium"
12097
+ },
12043
12098
  maxColumns: 8,
12044
- defaultColumns: 1,
12045
- appearance: { isEditorPresentationDifferent: true }
12099
+ defaultColumns: 4,
12100
+ appearance: {
12101
+ isEditorPresentationDifferent: true
12102
+ }
12046
12103
  }
12047
12104
  ],
12048
12105
  defaultVariantKey: "default"
12049
12106
  },
12050
- behavior: { dataType: "Asset", entities: { selectionType: "EntityAndGroup", maxSelected: 0 } },
12107
+ behavior: {
12108
+ dataType: "Asset",
12109
+ entities: {
12110
+ selectionType: "EntityAndGroup",
12111
+ maxSelected: 0
12112
+ }
12113
+ },
12051
12114
  editorOptions: {
12052
12115
  onboarding: {
12053
12116
  helpText: "Display a grid of icons or illustrations.",