@supernova-studio/client 1.48.17 → 1.48.18

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.d.mts CHANGED
@@ -358276,42 +358276,13 @@ declare class ForgeFeatureIterationsEndpoint {
358276
358276
  } | null | undefined;
358277
358277
  };
358278
358278
  }>;
358279
- validateIteration(workspaceId: string, projectId: string, featureId: string, body: DTOFeatureIterationUpdateArtifactsByMessageInput): Promise<{
358280
- iteration: {
358281
- id: string;
358282
- createdAt: string;
358283
- name: string;
358284
- startedFromMessageId: string;
358285
- updatedAt?: string | undefined;
358286
- state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
358287
- error?: {
358288
- type: "Unknown" | "Build" | "PackageInstall" | "Compile";
358289
- description: string;
358290
- } | undefined;
358291
- thumbnailUrl?: string | undefined;
358292
- baseIterationId?: string | undefined;
358293
- isInProgress?: boolean | undefined;
358294
- errorDescription?: string | null | undefined;
358295
- creditsCost?: number | undefined;
358296
- staticPreviewUrl?: string | undefined;
358297
- isBookmarked?: boolean | undefined;
358298
- thumbnail?: {
358299
- id: string;
358300
- url: string;
358301
- name?: string | undefined;
358302
- source?: {
358303
- type: "UserUpload";
358304
- userId: string;
358305
- } | {
358306
- type: "Figma";
358307
- renderMode: "Image" | "HTML" | "JSON";
358308
- } | undefined;
358309
- } | undefined;
358310
- artifactsDiff?: {
358311
- created: string[];
358312
- updated: string[];
358313
- deleted: string[];
358314
- } | null | undefined;
358279
+ validateIteration(workspaceId: string, projectId: string, featureId: string, body: DTOFeatureIterationValidateInput): Promise<{
358280
+ success: true;
358281
+ } | {
358282
+ success: false;
358283
+ error: {
358284
+ type: "Unknown" | "Build" | "PackageInstall" | "Compile";
358285
+ description: string;
358315
358286
  };
358316
358287
  }>;
358317
358288
  }
package/dist/index.d.ts CHANGED
@@ -358276,42 +358276,13 @@ declare class ForgeFeatureIterationsEndpoint {
358276
358276
  } | null | undefined;
358277
358277
  };
358278
358278
  }>;
358279
- validateIteration(workspaceId: string, projectId: string, featureId: string, body: DTOFeatureIterationUpdateArtifactsByMessageInput): Promise<{
358280
- iteration: {
358281
- id: string;
358282
- createdAt: string;
358283
- name: string;
358284
- startedFromMessageId: string;
358285
- updatedAt?: string | undefined;
358286
- state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
358287
- error?: {
358288
- type: "Unknown" | "Build" | "PackageInstall" | "Compile";
358289
- description: string;
358290
- } | undefined;
358291
- thumbnailUrl?: string | undefined;
358292
- baseIterationId?: string | undefined;
358293
- isInProgress?: boolean | undefined;
358294
- errorDescription?: string | null | undefined;
358295
- creditsCost?: number | undefined;
358296
- staticPreviewUrl?: string | undefined;
358297
- isBookmarked?: boolean | undefined;
358298
- thumbnail?: {
358299
- id: string;
358300
- url: string;
358301
- name?: string | undefined;
358302
- source?: {
358303
- type: "UserUpload";
358304
- userId: string;
358305
- } | {
358306
- type: "Figma";
358307
- renderMode: "Image" | "HTML" | "JSON";
358308
- } | undefined;
358309
- } | undefined;
358310
- artifactsDiff?: {
358311
- created: string[];
358312
- updated: string[];
358313
- deleted: string[];
358314
- } | null | undefined;
358279
+ validateIteration(workspaceId: string, projectId: string, featureId: string, body: DTOFeatureIterationValidateInput): Promise<{
358280
+ success: true;
358281
+ } | {
358282
+ success: false;
358283
+ error: {
358284
+ type: "Unknown" | "Build" | "PackageInstall" | "Compile";
358285
+ description: string;
358315
358286
  };
358316
358287
  }>;
358317
358288
  }
package/dist/index.js CHANGED
@@ -12311,7 +12311,7 @@ var ForgeFeatureIterationsEndpoint = class {
12311
12311
  validateIteration(workspaceId, projectId, featureId, body) {
12312
12312
  return this.requestExecutor.json(
12313
12313
  `/workspaces/${workspaceId}/forge/projects/${projectId}/features/${featureId}/iterations/validate-iteration`,
12314
- DTOFeatureIterationResponse,
12314
+ DTOFeatureIterationValidateResponse,
12315
12315
  {
12316
12316
  body,
12317
12317
  method: "POST"