@supernova-studio/client 1.2.1 → 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 +206 -18
- package/dist/index.d.ts +206 -18
- package/dist/index.js +21 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -4
- 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
|
|
|
@@ -6597,14 +6600,18 @@ var DTOExporter = z231.object({
|
|
|
6597
6600
|
blockVariants: z231.record(z231.string(), PulsarContributionVariant.array()),
|
|
6598
6601
|
homepage: z231.string().optional(),
|
|
6599
6602
|
organization: z231.string().optional(),
|
|
6600
|
-
gitProivder: z231.string().optional(),
|
|
6601
6603
|
packageId: z231.string().optional(),
|
|
6602
6604
|
tags: z231.array(z231.string()),
|
|
6603
6605
|
author: z231.string().optional(),
|
|
6606
|
+
version: z231.string(),
|
|
6607
|
+
description: z231.string(),
|
|
6604
6608
|
usesLocale: z231.boolean(),
|
|
6605
6609
|
usesBrands: z231.boolean(),
|
|
6606
6610
|
usesThemes: z231.boolean(),
|
|
6611
|
+
readme: z231.string().optional(),
|
|
6612
|
+
routingVersion: z231.string().optional(),
|
|
6607
6613
|
source: DTOExporterSource,
|
|
6614
|
+
gitProvider: z231.string().optional(),
|
|
6608
6615
|
gitUrl: nullishToOptional(z231.string()),
|
|
6609
6616
|
gitBranch: nullishToOptional(z231.string()),
|
|
6610
6617
|
gitDirectory: nullishToOptional(z231.string()),
|
|
@@ -7692,6 +7699,16 @@ var ExportersEndpoint = class {
|
|
|
7692
7699
|
get(workspaceId, exporterId) {
|
|
7693
7700
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters/${exporterId}`, DTOExporterResponse);
|
|
7694
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
|
+
}
|
|
7695
7712
|
};
|
|
7696
7713
|
|
|
7697
7714
|
// src/api/endpoints/codegen/jobs.ts
|