@supernova-studio/client 1.40.0 → 1.40.1

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
@@ -80738,7 +80738,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80738
80738
  type: z__default.ZodLiteral<"FeatureCreate">;
80739
80739
  input: z__default.ZodObject<{
80740
80740
  id: z__default.ZodString;
80741
- name: z__default.ZodString;
80741
+ name: z__default.ZodOptional<z__default.ZodString>;
80742
80742
  description: z__default.ZodString;
80743
80743
  sectionId: z__default.ZodOptional<z__default.ZodString>;
80744
80744
  afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
@@ -80805,7 +80805,6 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80805
80805
  }>;
80806
80806
  }, "strip", z__default.ZodTypeAny, {
80807
80807
  id: string;
80808
- name: string;
80809
80808
  description: string;
80810
80809
  initialMessage: {
80811
80810
  id: string;
@@ -80817,11 +80816,11 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80817
80816
  iterationId?: string | undefined;
80818
80817
  } | undefined;
80819
80818
  };
80819
+ name?: string | undefined;
80820
80820
  sectionId?: string | undefined;
80821
80821
  afterFeatureId?: string | null | undefined;
80822
80822
  }, {
80823
80823
  id: string;
80824
- name: string;
80825
80824
  description: string;
80826
80825
  initialMessage: {
80827
80826
  id: string;
@@ -80833,6 +80832,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80833
80832
  iterationId?: string | undefined;
80834
80833
  } | undefined;
80835
80834
  };
80835
+ name?: string | undefined;
80836
80836
  sectionId?: string | undefined;
80837
80837
  afterFeatureId?: string | null | undefined;
80838
80838
  }>;
@@ -80840,7 +80840,6 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80840
80840
  type: "FeatureCreate";
80841
80841
  input: {
80842
80842
  id: string;
80843
- name: string;
80844
80843
  description: string;
80845
80844
  initialMessage: {
80846
80845
  id: string;
@@ -80852,6 +80851,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80852
80851
  iterationId?: string | undefined;
80853
80852
  } | undefined;
80854
80853
  };
80854
+ name?: string | undefined;
80855
80855
  sectionId?: string | undefined;
80856
80856
  afterFeatureId?: string | null | undefined;
80857
80857
  };
@@ -80859,7 +80859,6 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80859
80859
  type: "FeatureCreate";
80860
80860
  input: {
80861
80861
  id: string;
80862
- name: string;
80863
80862
  description: string;
80864
80863
  initialMessage: {
80865
80864
  id: string;
@@ -80871,6 +80870,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80871
80870
  iterationId?: string | undefined;
80872
80871
  } | undefined;
80873
80872
  };
80873
+ name?: string | undefined;
80874
80874
  sectionId?: string | undefined;
80875
80875
  afterFeatureId?: string | null | undefined;
80876
80876
  };
@@ -81225,7 +81225,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81225
81225
  type: z__default.ZodLiteral<"FeatureCreate">;
81226
81226
  input: z__default.ZodObject<{
81227
81227
  id: z__default.ZodString;
81228
- name: z__default.ZodString;
81228
+ name: z__default.ZodOptional<z__default.ZodString>;
81229
81229
  description: z__default.ZodString;
81230
81230
  sectionId: z__default.ZodOptional<z__default.ZodString>;
81231
81231
  afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
@@ -81292,7 +81292,6 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81292
81292
  }>;
81293
81293
  }, "strip", z__default.ZodTypeAny, {
81294
81294
  id: string;
81295
- name: string;
81296
81295
  description: string;
81297
81296
  initialMessage: {
81298
81297
  id: string;
@@ -81304,11 +81303,11 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81304
81303
  iterationId?: string | undefined;
81305
81304
  } | undefined;
81306
81305
  };
81306
+ name?: string | undefined;
81307
81307
  sectionId?: string | undefined;
81308
81308
  afterFeatureId?: string | null | undefined;
81309
81309
  }, {
81310
81310
  id: string;
81311
- name: string;
81312
81311
  description: string;
81313
81312
  initialMessage: {
81314
81313
  id: string;
@@ -81320,6 +81319,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81320
81319
  iterationId?: string | undefined;
81321
81320
  } | undefined;
81322
81321
  };
81322
+ name?: string | undefined;
81323
81323
  sectionId?: string | undefined;
81324
81324
  afterFeatureId?: string | null | undefined;
81325
81325
  }>;
@@ -81327,7 +81327,6 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81327
81327
  type: "FeatureCreate";
81328
81328
  input: {
81329
81329
  id: string;
81330
- name: string;
81331
81330
  description: string;
81332
81331
  initialMessage: {
81333
81332
  id: string;
@@ -81339,6 +81338,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81339
81338
  iterationId?: string | undefined;
81340
81339
  } | undefined;
81341
81340
  };
81341
+ name?: string | undefined;
81342
81342
  sectionId?: string | undefined;
81343
81343
  afterFeatureId?: string | null | undefined;
81344
81344
  };
@@ -81346,7 +81346,6 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81346
81346
  type: "FeatureCreate";
81347
81347
  input: {
81348
81348
  id: string;
81349
- name: string;
81350
81349
  description: string;
81351
81350
  initialMessage: {
81352
81351
  id: string;
@@ -81358,6 +81357,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81358
81357
  iterationId?: string | undefined;
81359
81358
  } | undefined;
81360
81359
  };
81360
+ name?: string | undefined;
81361
81361
  sectionId?: string | undefined;
81362
81362
  afterFeatureId?: string | null | undefined;
81363
81363
  };
@@ -84296,7 +84296,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
84296
84296
  type DTOForgeProjectFeatureListResponse = z__default.infer<typeof DTOForgeProjectFeatureListResponse>;
84297
84297
  declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
84298
84298
  id: z__default.ZodString;
84299
- name: z__default.ZodString;
84299
+ name: z__default.ZodOptional<z__default.ZodString>;
84300
84300
  description: z__default.ZodString;
84301
84301
  sectionId: z__default.ZodOptional<z__default.ZodString>;
84302
84302
  afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
@@ -84363,7 +84363,6 @@ declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
84363
84363
  }>;
84364
84364
  }, "strip", z__default.ZodTypeAny, {
84365
84365
  id: string;
84366
- name: string;
84367
84366
  description: string;
84368
84367
  initialMessage: {
84369
84368
  id: string;
@@ -84375,11 +84374,11 @@ declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
84375
84374
  iterationId?: string | undefined;
84376
84375
  } | undefined;
84377
84376
  };
84377
+ name?: string | undefined;
84378
84378
  sectionId?: string | undefined;
84379
84379
  afterFeatureId?: string | null | undefined;
84380
84380
  }, {
84381
84381
  id: string;
84382
- name: string;
84383
84382
  description: string;
84384
84383
  initialMessage: {
84385
84384
  id: string;
@@ -84391,6 +84390,7 @@ declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
84391
84390
  iterationId?: string | undefined;
84392
84391
  } | undefined;
84393
84392
  };
84393
+ name?: string | undefined;
84394
84394
  sectionId?: string | undefined;
84395
84395
  afterFeatureId?: string | null | undefined;
84396
84396
  }>;
package/dist/index.d.ts CHANGED
@@ -80738,7 +80738,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80738
80738
  type: z__default.ZodLiteral<"FeatureCreate">;
80739
80739
  input: z__default.ZodObject<{
80740
80740
  id: z__default.ZodString;
80741
- name: z__default.ZodString;
80741
+ name: z__default.ZodOptional<z__default.ZodString>;
80742
80742
  description: z__default.ZodString;
80743
80743
  sectionId: z__default.ZodOptional<z__default.ZodString>;
80744
80744
  afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
@@ -80805,7 +80805,6 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80805
80805
  }>;
80806
80806
  }, "strip", z__default.ZodTypeAny, {
80807
80807
  id: string;
80808
- name: string;
80809
80808
  description: string;
80810
80809
  initialMessage: {
80811
80810
  id: string;
@@ -80817,11 +80816,11 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80817
80816
  iterationId?: string | undefined;
80818
80817
  } | undefined;
80819
80818
  };
80819
+ name?: string | undefined;
80820
80820
  sectionId?: string | undefined;
80821
80821
  afterFeatureId?: string | null | undefined;
80822
80822
  }, {
80823
80823
  id: string;
80824
- name: string;
80825
80824
  description: string;
80826
80825
  initialMessage: {
80827
80826
  id: string;
@@ -80833,6 +80832,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80833
80832
  iterationId?: string | undefined;
80834
80833
  } | undefined;
80835
80834
  };
80835
+ name?: string | undefined;
80836
80836
  sectionId?: string | undefined;
80837
80837
  afterFeatureId?: string | null | undefined;
80838
80838
  }>;
@@ -80840,7 +80840,6 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80840
80840
  type: "FeatureCreate";
80841
80841
  input: {
80842
80842
  id: string;
80843
- name: string;
80844
80843
  description: string;
80845
80844
  initialMessage: {
80846
80845
  id: string;
@@ -80852,6 +80851,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80852
80851
  iterationId?: string | undefined;
80853
80852
  } | undefined;
80854
80853
  };
80854
+ name?: string | undefined;
80855
80855
  sectionId?: string | undefined;
80856
80856
  afterFeatureId?: string | null | undefined;
80857
80857
  };
@@ -80859,7 +80859,6 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80859
80859
  type: "FeatureCreate";
80860
80860
  input: {
80861
80861
  id: string;
80862
- name: string;
80863
80862
  description: string;
80864
80863
  initialMessage: {
80865
80864
  id: string;
@@ -80871,6 +80870,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
80871
80870
  iterationId?: string | undefined;
80872
80871
  } | undefined;
80873
80872
  };
80873
+ name?: string | undefined;
80874
80874
  sectionId?: string | undefined;
80875
80875
  afterFeatureId?: string | null | undefined;
80876
80876
  };
@@ -81225,7 +81225,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81225
81225
  type: z__default.ZodLiteral<"FeatureCreate">;
81226
81226
  input: z__default.ZodObject<{
81227
81227
  id: z__default.ZodString;
81228
- name: z__default.ZodString;
81228
+ name: z__default.ZodOptional<z__default.ZodString>;
81229
81229
  description: z__default.ZodString;
81230
81230
  sectionId: z__default.ZodOptional<z__default.ZodString>;
81231
81231
  afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
@@ -81292,7 +81292,6 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81292
81292
  }>;
81293
81293
  }, "strip", z__default.ZodTypeAny, {
81294
81294
  id: string;
81295
- name: string;
81296
81295
  description: string;
81297
81296
  initialMessage: {
81298
81297
  id: string;
@@ -81304,11 +81303,11 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81304
81303
  iterationId?: string | undefined;
81305
81304
  } | undefined;
81306
81305
  };
81306
+ name?: string | undefined;
81307
81307
  sectionId?: string | undefined;
81308
81308
  afterFeatureId?: string | null | undefined;
81309
81309
  }, {
81310
81310
  id: string;
81311
- name: string;
81312
81311
  description: string;
81313
81312
  initialMessage: {
81314
81313
  id: string;
@@ -81320,6 +81319,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81320
81319
  iterationId?: string | undefined;
81321
81320
  } | undefined;
81322
81321
  };
81322
+ name?: string | undefined;
81323
81323
  sectionId?: string | undefined;
81324
81324
  afterFeatureId?: string | null | undefined;
81325
81325
  }>;
@@ -81327,7 +81327,6 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81327
81327
  type: "FeatureCreate";
81328
81328
  input: {
81329
81329
  id: string;
81330
- name: string;
81331
81330
  description: string;
81332
81331
  initialMessage: {
81333
81332
  id: string;
@@ -81339,6 +81338,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81339
81338
  iterationId?: string | undefined;
81340
81339
  } | undefined;
81341
81340
  };
81341
+ name?: string | undefined;
81342
81342
  sectionId?: string | undefined;
81343
81343
  afterFeatureId?: string | null | undefined;
81344
81344
  };
@@ -81346,7 +81346,6 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81346
81346
  type: "FeatureCreate";
81347
81347
  input: {
81348
81348
  id: string;
81349
- name: string;
81350
81349
  description: string;
81351
81350
  initialMessage: {
81352
81351
  id: string;
@@ -81358,6 +81357,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
81358
81357
  iterationId?: string | undefined;
81359
81358
  } | undefined;
81360
81359
  };
81360
+ name?: string | undefined;
81361
81361
  sectionId?: string | undefined;
81362
81362
  afterFeatureId?: string | null | undefined;
81363
81363
  };
@@ -84296,7 +84296,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
84296
84296
  type DTOForgeProjectFeatureListResponse = z__default.infer<typeof DTOForgeProjectFeatureListResponse>;
84297
84297
  declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
84298
84298
  id: z__default.ZodString;
84299
- name: z__default.ZodString;
84299
+ name: z__default.ZodOptional<z__default.ZodString>;
84300
84300
  description: z__default.ZodString;
84301
84301
  sectionId: z__default.ZodOptional<z__default.ZodString>;
84302
84302
  afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
@@ -84363,7 +84363,6 @@ declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
84363
84363
  }>;
84364
84364
  }, "strip", z__default.ZodTypeAny, {
84365
84365
  id: string;
84366
- name: string;
84367
84366
  description: string;
84368
84367
  initialMessage: {
84369
84368
  id: string;
@@ -84375,11 +84374,11 @@ declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
84375
84374
  iterationId?: string | undefined;
84376
84375
  } | undefined;
84377
84376
  };
84377
+ name?: string | undefined;
84378
84378
  sectionId?: string | undefined;
84379
84379
  afterFeatureId?: string | null | undefined;
84380
84380
  }, {
84381
84381
  id: string;
84382
- name: string;
84383
84382
  description: string;
84384
84383
  initialMessage: {
84385
84384
  id: string;
@@ -84391,6 +84390,7 @@ declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
84391
84390
  iterationId?: string | undefined;
84392
84391
  } | undefined;
84393
84392
  };
84393
+ name?: string | undefined;
84394
84394
  sectionId?: string | undefined;
84395
84395
  afterFeatureId?: string | null | undefined;
84396
84396
  }>;
package/dist/index.js CHANGED
@@ -249,7 +249,8 @@ var AuthV2Request = _zod.z.object({
249
249
  codeChallenge: _zod.z.string(),
250
250
  codeChallengeMethod: _zod.z.string(),
251
251
  redirectUri: _zod.z.string(),
252
- sessionId: _zod.z.string()
252
+ sessionId: _zod.z.string(),
253
+ clientApp: _zod.z.string().optional()
253
254
  });
254
255
  var AuthV2Session = _zod.z.object({
255
256
  id: _zod.z.string(),
@@ -9556,7 +9557,7 @@ var DTOForgeProjectFeatureGetResponse = _zod2.default.object({
9556
9557
  });
9557
9558
  var DTOForgeProjectFeatureCreateInput = _zod2.default.object({
9558
9559
  id: Id,
9559
- name: _zod2.default.string(),
9560
+ name: _zod2.default.string().optional(),
9560
9561
  description: _zod2.default.string(),
9561
9562
  sectionId: Id.optional(),
9562
9563
  afterFeatureId: Id.nullable().optional(),
@@ -18284,7 +18285,7 @@ var LocalProjectActionExecutor = class {
18284
18285
  isArchived: false,
18285
18286
  sectionId: input.sectionId,
18286
18287
  sortOrder,
18287
- name: input.name,
18288
+ name: _nullishCoalesce(input.name, () => ( "New Feature")),
18288
18289
  status: "Draft",
18289
18290
  updatedAt: /* @__PURE__ */ new Date(),
18290
18291
  createdAt: /* @__PURE__ */ new Date(),