@supernova-studio/client 0.55.9 → 0.55.10

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
@@ -5392,7 +5392,7 @@ var DTOWorkspaceIntegrationGetGitObjectsInput = z190.object({
5392
5392
  // src/api/dto/design-systems/version.ts
5393
5393
  var DTODesignSystemVersion = z191.object({
5394
5394
  id: z191.string(),
5395
- createdAt: z191.date(),
5395
+ createdAt: z191.coerce.date(),
5396
5396
  meta: ObjectMeta,
5397
5397
  version: z191.string(),
5398
5398
  isReadonly: z191.boolean(),
@@ -6515,11 +6515,25 @@ var DesignSystemMembersEndpoint = class {
6515
6515
 
6516
6516
  // src/api/endpoints/design-systems.ts
6517
6517
  import { z as z233 } from "zod";
6518
+
6519
+ // src/api/endpoints/design-system-versions.ts
6520
+ var DesignSystemVersionsEndpoint = class {
6521
+ constructor(requestExecutor) {
6522
+ this.requestExecutor = requestExecutor;
6523
+ }
6524
+ list(dsId) {
6525
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions`, DTODesignSystemVersionsListResponse);
6526
+ }
6527
+ };
6528
+
6529
+ // src/api/endpoints/design-systems.ts
6518
6530
  var DesignSystemsEndpoint = class {
6519
6531
  constructor(requestExecutor) {
6520
6532
  this.requestExecutor = requestExecutor;
6521
6533
  __publicField(this, "members");
6534
+ __publicField(this, "versions");
6522
6535
  this.members = new DesignSystemMembersEndpoint(requestExecutor);
6536
+ this.versions = new DesignSystemVersionsEndpoint(requestExecutor);
6523
6537
  }
6524
6538
  create(body) {
6525
6539
  return this.requestExecutor.json("/design-systems", DTODesignSystemResponse, { method: "POST", body });