@supernova-studio/client 1.2.2 → 1.2.3
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 +124 -0
- package/dist/index.d.ts +124 -0
- package/dist/index.js +16 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -575,7 +575,10 @@ var Exporter = z18.object({
|
|
|
575
575
|
details: ExporterDetails,
|
|
576
576
|
exporterType: nullishToOptional(ExporterType).default("code"),
|
|
577
577
|
storagePath: nullishToOptional(z18.string()).default(""),
|
|
578
|
-
properties: nullishToOptional(ExporterPropertyDefinition.array())
|
|
578
|
+
properties: nullishToOptional(ExporterPropertyDefinition.array()),
|
|
579
|
+
isDeprecated: z18.boolean().default(false),
|
|
580
|
+
deprecationNote: nullishToOptional(z18.string()),
|
|
581
|
+
replacementExporterId: nullishToOptional(z18.string())
|
|
579
582
|
});
|
|
580
583
|
var AssetDynamoRecord = z19.object({
|
|
581
584
|
path: z19.string(),
|
|
@@ -4369,6 +4372,7 @@ var Pipeline = z149.object({
|
|
|
4369
4372
|
themePersistentId: z149.string().optional(),
|
|
4370
4373
|
themePersistentIds: z149.string().array().optional(),
|
|
4371
4374
|
exporterPropertyValues: ExporterPropertyValueMap.optional(),
|
|
4375
|
+
isExporterDeprecated: z149.boolean(),
|
|
4372
4376
|
// Destinations
|
|
4373
4377
|
...ExportDestinationsMap.shape
|
|
4374
4378
|
});
|
|
@@ -5254,8 +5258,7 @@ function pipelineToDto(pipeline) {
|
|
|
5254
5258
|
exporterPropertyValues: pipeline.exporterPropertyValues,
|
|
5255
5259
|
webhookUrl: pipeline.webhookUrl,
|
|
5256
5260
|
latestJobs: [],
|
|
5257
|
-
|
|
5258
|
-
isExporterDeprecated: false
|
|
5261
|
+
isExporterDeprecated: pipeline.isExporterDeprecated
|
|
5259
5262
|
};
|
|
5260
5263
|
}
|
|
5261
5264
|
|
|
@@ -7696,6 +7699,16 @@ var ExportersEndpoint = class {
|
|
|
7696
7699
|
get(workspaceId, exporterId) {
|
|
7697
7700
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters/${exporterId}`, DTOExporterResponse);
|
|
7698
7701
|
}
|
|
7702
|
+
deprecate(workspaceId, exporterId, body) {
|
|
7703
|
+
return this.requestExecutor.json(
|
|
7704
|
+
`/codegen/workspaces/${workspaceId}/exporters/${exporterId}/deprecation`,
|
|
7705
|
+
DTOExporter,
|
|
7706
|
+
{
|
|
7707
|
+
body,
|
|
7708
|
+
method: "PUT"
|
|
7709
|
+
}
|
|
7710
|
+
);
|
|
7711
|
+
}
|
|
7699
7712
|
};
|
|
7700
7713
|
|
|
7701
7714
|
// src/api/endpoints/codegen/jobs.ts
|