@supernova-studio/model 1.31.1 → 1.31.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 CHANGED
@@ -157062,7 +157062,10 @@ declare const ProjectFeature: z.ZodObject<{
157062
157062
  sectionId: z.ZodOptional<z.ZodString>;
157063
157063
  sortOrder: z.ZodDefault<z.ZodNumber>;
157064
157064
  status: z.ZodDefault<z.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
157065
+ initialPrompt: z.ZodString;
157065
157066
  updatedAt: z.ZodOptional<z.ZodDate>;
157067
+ numberOfIterations: z.ZodDefault<z.ZodNumber>;
157068
+ lastReplyTimestamp: z.ZodOptional<z.ZodDate>;
157066
157069
  }, "strip", z.ZodTypeAny, {
157067
157070
  status: "Draft" | "ReadyForDevelopment";
157068
157071
  id: string;
@@ -157072,9 +157075,12 @@ declare const ProjectFeature: z.ZodObject<{
157072
157075
  sortOrder: number;
157073
157076
  createdByUserId: string;
157074
157077
  projectId: string;
157078
+ initialPrompt: string;
157079
+ numberOfIterations: number;
157075
157080
  updatedAt?: Date | undefined;
157076
157081
  sectionId?: string | undefined;
157077
157082
  isArchived?: boolean | undefined;
157083
+ lastReplyTimestamp?: Date | undefined;
157078
157084
  }, {
157079
157085
  id: string;
157080
157086
  name: string;
@@ -157082,11 +157088,14 @@ declare const ProjectFeature: z.ZodObject<{
157082
157088
  description: string;
157083
157089
  createdByUserId: string;
157084
157090
  projectId: string;
157091
+ initialPrompt: string;
157085
157092
  status?: "Draft" | "ReadyForDevelopment" | undefined;
157086
157093
  updatedAt?: Date | undefined;
157087
157094
  sortOrder?: number | undefined;
157088
157095
  sectionId?: string | undefined;
157089
157096
  isArchived?: boolean | undefined;
157097
+ numberOfIterations?: number | undefined;
157098
+ lastReplyTimestamp?: Date | undefined;
157090
157099
  }>;
157091
157100
  type ProjectFeature = z.infer<typeof ProjectFeature>;
157092
157101
  type CreateProjectFeature = Omit<DbCreateInputOmit<ProjectFeature>, "projectId" | "createdByUserId">;
@@ -187708,7 +187717,10 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187708
187717
  sectionId: z.ZodOptional<z.ZodString>;
187709
187718
  sortOrder: z.ZodDefault<z.ZodNumber>;
187710
187719
  status: z.ZodDefault<z.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
187720
+ initialPrompt: z.ZodString;
187711
187721
  updatedAt: z.ZodOptional<z.ZodDate>;
187722
+ numberOfIterations: z.ZodDefault<z.ZodNumber>;
187723
+ lastReplyTimestamp: z.ZodOptional<z.ZodDate>;
187712
187724
  }, "strip", z.ZodTypeAny, {
187713
187725
  status: "Draft" | "ReadyForDevelopment";
187714
187726
  id: string;
@@ -187718,9 +187730,12 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187718
187730
  sortOrder: number;
187719
187731
  createdByUserId: string;
187720
187732
  projectId: string;
187733
+ initialPrompt: string;
187734
+ numberOfIterations: number;
187721
187735
  updatedAt?: Date | undefined;
187722
187736
  sectionId?: string | undefined;
187723
187737
  isArchived?: boolean | undefined;
187738
+ lastReplyTimestamp?: Date | undefined;
187724
187739
  }, {
187725
187740
  id: string;
187726
187741
  name: string;
@@ -187728,11 +187743,14 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187728
187743
  description: string;
187729
187744
  createdByUserId: string;
187730
187745
  projectId: string;
187746
+ initialPrompt: string;
187731
187747
  status?: "Draft" | "ReadyForDevelopment" | undefined;
187732
187748
  updatedAt?: Date | undefined;
187733
187749
  sortOrder?: number | undefined;
187734
187750
  sectionId?: string | undefined;
187735
187751
  isArchived?: boolean | undefined;
187752
+ numberOfIterations?: number | undefined;
187753
+ lastReplyTimestamp?: Date | undefined;
187736
187754
  }>, "many">;
187737
187755
  artifactSections: z.ZodArray<z.ZodObject<{
187738
187756
  id: z.ZodString;
@@ -187794,9 +187812,12 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187794
187812
  sortOrder: number;
187795
187813
  createdByUserId: string;
187796
187814
  projectId: string;
187815
+ initialPrompt: string;
187816
+ numberOfIterations: number;
187797
187817
  updatedAt?: Date | undefined;
187798
187818
  sectionId?: string | undefined;
187799
187819
  isArchived?: boolean | undefined;
187820
+ lastReplyTimestamp?: Date | undefined;
187800
187821
  }[];
187801
187822
  artifacts: {
187802
187823
  id: string;
@@ -187836,11 +187857,14 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187836
187857
  description: string;
187837
187858
  createdByUserId: string;
187838
187859
  projectId: string;
187860
+ initialPrompt: string;
187839
187861
  status?: "Draft" | "ReadyForDevelopment" | undefined;
187840
187862
  updatedAt?: Date | undefined;
187841
187863
  sortOrder?: number | undefined;
187842
187864
  sectionId?: string | undefined;
187843
187865
  isArchived?: boolean | undefined;
187866
+ numberOfIterations?: number | undefined;
187867
+ lastReplyTimestamp?: Date | undefined;
187844
187868
  }[];
187845
187869
  artifacts: {
187846
187870
  id: string;
@@ -187921,7 +187945,10 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187921
187945
  sectionId: z.ZodOptional<z.ZodString>;
187922
187946
  sortOrder: z.ZodDefault<z.ZodNumber>;
187923
187947
  status: z.ZodDefault<z.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
187948
+ initialPrompt: z.ZodString;
187924
187949
  updatedAt: z.ZodOptional<z.ZodDate>;
187950
+ numberOfIterations: z.ZodDefault<z.ZodNumber>;
187951
+ lastReplyTimestamp: z.ZodOptional<z.ZodDate>;
187925
187952
  }, "strip", z.ZodTypeAny, {
187926
187953
  status: "Draft" | "ReadyForDevelopment";
187927
187954
  id: string;
@@ -187931,9 +187958,12 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187931
187958
  sortOrder: number;
187932
187959
  createdByUserId: string;
187933
187960
  projectId: string;
187961
+ initialPrompt: string;
187962
+ numberOfIterations: number;
187934
187963
  updatedAt?: Date | undefined;
187935
187964
  sectionId?: string | undefined;
187936
187965
  isArchived?: boolean | undefined;
187966
+ lastReplyTimestamp?: Date | undefined;
187937
187967
  }, {
187938
187968
  id: string;
187939
187969
  name: string;
@@ -187941,11 +187971,14 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187941
187971
  description: string;
187942
187972
  createdByUserId: string;
187943
187973
  projectId: string;
187974
+ initialPrompt: string;
187944
187975
  status?: "Draft" | "ReadyForDevelopment" | undefined;
187945
187976
  updatedAt?: Date | undefined;
187946
187977
  sortOrder?: number | undefined;
187947
187978
  sectionId?: string | undefined;
187948
187979
  isArchived?: boolean | undefined;
187980
+ numberOfIterations?: number | undefined;
187981
+ lastReplyTimestamp?: Date | undefined;
187949
187982
  }>, "many">>;
187950
187983
  featureIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187951
187984
  artifactSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -188011,9 +188044,12 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
188011
188044
  sortOrder: number;
188012
188045
  createdByUserId: string;
188013
188046
  projectId: string;
188047
+ initialPrompt: string;
188048
+ numberOfIterations: number;
188014
188049
  updatedAt?: Date | undefined;
188015
188050
  sectionId?: string | undefined;
188016
188051
  isArchived?: boolean | undefined;
188052
+ lastReplyTimestamp?: Date | undefined;
188017
188053
  }[] | undefined;
188018
188054
  executedTransactionIds?: string[] | undefined;
188019
188055
  artifacts?: {
@@ -188058,11 +188094,14 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
188058
188094
  description: string;
188059
188095
  createdByUserId: string;
188060
188096
  projectId: string;
188097
+ initialPrompt: string;
188061
188098
  status?: "Draft" | "ReadyForDevelopment" | undefined;
188062
188099
  updatedAt?: Date | undefined;
188063
188100
  sortOrder?: number | undefined;
188064
188101
  sectionId?: string | undefined;
188065
188102
  isArchived?: boolean | undefined;
188103
+ numberOfIterations?: number | undefined;
188104
+ lastReplyTimestamp?: Date | undefined;
188066
188105
  }[] | undefined;
188067
188106
  executedTransactionIds?: string[] | undefined;
188068
188107
  artifacts?: {
package/dist/index.d.ts CHANGED
@@ -157062,7 +157062,10 @@ declare const ProjectFeature: z.ZodObject<{
157062
157062
  sectionId: z.ZodOptional<z.ZodString>;
157063
157063
  sortOrder: z.ZodDefault<z.ZodNumber>;
157064
157064
  status: z.ZodDefault<z.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
157065
+ initialPrompt: z.ZodString;
157065
157066
  updatedAt: z.ZodOptional<z.ZodDate>;
157067
+ numberOfIterations: z.ZodDefault<z.ZodNumber>;
157068
+ lastReplyTimestamp: z.ZodOptional<z.ZodDate>;
157066
157069
  }, "strip", z.ZodTypeAny, {
157067
157070
  status: "Draft" | "ReadyForDevelopment";
157068
157071
  id: string;
@@ -157072,9 +157075,12 @@ declare const ProjectFeature: z.ZodObject<{
157072
157075
  sortOrder: number;
157073
157076
  createdByUserId: string;
157074
157077
  projectId: string;
157078
+ initialPrompt: string;
157079
+ numberOfIterations: number;
157075
157080
  updatedAt?: Date | undefined;
157076
157081
  sectionId?: string | undefined;
157077
157082
  isArchived?: boolean | undefined;
157083
+ lastReplyTimestamp?: Date | undefined;
157078
157084
  }, {
157079
157085
  id: string;
157080
157086
  name: string;
@@ -157082,11 +157088,14 @@ declare const ProjectFeature: z.ZodObject<{
157082
157088
  description: string;
157083
157089
  createdByUserId: string;
157084
157090
  projectId: string;
157091
+ initialPrompt: string;
157085
157092
  status?: "Draft" | "ReadyForDevelopment" | undefined;
157086
157093
  updatedAt?: Date | undefined;
157087
157094
  sortOrder?: number | undefined;
157088
157095
  sectionId?: string | undefined;
157089
157096
  isArchived?: boolean | undefined;
157097
+ numberOfIterations?: number | undefined;
157098
+ lastReplyTimestamp?: Date | undefined;
157090
157099
  }>;
157091
157100
  type ProjectFeature = z.infer<typeof ProjectFeature>;
157092
157101
  type CreateProjectFeature = Omit<DbCreateInputOmit<ProjectFeature>, "projectId" | "createdByUserId">;
@@ -187708,7 +187717,10 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187708
187717
  sectionId: z.ZodOptional<z.ZodString>;
187709
187718
  sortOrder: z.ZodDefault<z.ZodNumber>;
187710
187719
  status: z.ZodDefault<z.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
187720
+ initialPrompt: z.ZodString;
187711
187721
  updatedAt: z.ZodOptional<z.ZodDate>;
187722
+ numberOfIterations: z.ZodDefault<z.ZodNumber>;
187723
+ lastReplyTimestamp: z.ZodOptional<z.ZodDate>;
187712
187724
  }, "strip", z.ZodTypeAny, {
187713
187725
  status: "Draft" | "ReadyForDevelopment";
187714
187726
  id: string;
@@ -187718,9 +187730,12 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187718
187730
  sortOrder: number;
187719
187731
  createdByUserId: string;
187720
187732
  projectId: string;
187733
+ initialPrompt: string;
187734
+ numberOfIterations: number;
187721
187735
  updatedAt?: Date | undefined;
187722
187736
  sectionId?: string | undefined;
187723
187737
  isArchived?: boolean | undefined;
187738
+ lastReplyTimestamp?: Date | undefined;
187724
187739
  }, {
187725
187740
  id: string;
187726
187741
  name: string;
@@ -187728,11 +187743,14 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187728
187743
  description: string;
187729
187744
  createdByUserId: string;
187730
187745
  projectId: string;
187746
+ initialPrompt: string;
187731
187747
  status?: "Draft" | "ReadyForDevelopment" | undefined;
187732
187748
  updatedAt?: Date | undefined;
187733
187749
  sortOrder?: number | undefined;
187734
187750
  sectionId?: string | undefined;
187735
187751
  isArchived?: boolean | undefined;
187752
+ numberOfIterations?: number | undefined;
187753
+ lastReplyTimestamp?: Date | undefined;
187736
187754
  }>, "many">;
187737
187755
  artifactSections: z.ZodArray<z.ZodObject<{
187738
187756
  id: z.ZodString;
@@ -187794,9 +187812,12 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187794
187812
  sortOrder: number;
187795
187813
  createdByUserId: string;
187796
187814
  projectId: string;
187815
+ initialPrompt: string;
187816
+ numberOfIterations: number;
187797
187817
  updatedAt?: Date | undefined;
187798
187818
  sectionId?: string | undefined;
187799
187819
  isArchived?: boolean | undefined;
187820
+ lastReplyTimestamp?: Date | undefined;
187800
187821
  }[];
187801
187822
  artifacts: {
187802
187823
  id: string;
@@ -187836,11 +187857,14 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187836
187857
  description: string;
187837
187858
  createdByUserId: string;
187838
187859
  projectId: string;
187860
+ initialPrompt: string;
187839
187861
  status?: "Draft" | "ReadyForDevelopment" | undefined;
187840
187862
  updatedAt?: Date | undefined;
187841
187863
  sortOrder?: number | undefined;
187842
187864
  sectionId?: string | undefined;
187843
187865
  isArchived?: boolean | undefined;
187866
+ numberOfIterations?: number | undefined;
187867
+ lastReplyTimestamp?: Date | undefined;
187844
187868
  }[];
187845
187869
  artifacts: {
187846
187870
  id: string;
@@ -187921,7 +187945,10 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187921
187945
  sectionId: z.ZodOptional<z.ZodString>;
187922
187946
  sortOrder: z.ZodDefault<z.ZodNumber>;
187923
187947
  status: z.ZodDefault<z.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
187948
+ initialPrompt: z.ZodString;
187924
187949
  updatedAt: z.ZodOptional<z.ZodDate>;
187950
+ numberOfIterations: z.ZodDefault<z.ZodNumber>;
187951
+ lastReplyTimestamp: z.ZodOptional<z.ZodDate>;
187925
187952
  }, "strip", z.ZodTypeAny, {
187926
187953
  status: "Draft" | "ReadyForDevelopment";
187927
187954
  id: string;
@@ -187931,9 +187958,12 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187931
187958
  sortOrder: number;
187932
187959
  createdByUserId: string;
187933
187960
  projectId: string;
187961
+ initialPrompt: string;
187962
+ numberOfIterations: number;
187934
187963
  updatedAt?: Date | undefined;
187935
187964
  sectionId?: string | undefined;
187936
187965
  isArchived?: boolean | undefined;
187966
+ lastReplyTimestamp?: Date | undefined;
187937
187967
  }, {
187938
187968
  id: string;
187939
187969
  name: string;
@@ -187941,11 +187971,14 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187941
187971
  description: string;
187942
187972
  createdByUserId: string;
187943
187973
  projectId: string;
187974
+ initialPrompt: string;
187944
187975
  status?: "Draft" | "ReadyForDevelopment" | undefined;
187945
187976
  updatedAt?: Date | undefined;
187946
187977
  sortOrder?: number | undefined;
187947
187978
  sectionId?: string | undefined;
187948
187979
  isArchived?: boolean | undefined;
187980
+ numberOfIterations?: number | undefined;
187981
+ lastReplyTimestamp?: Date | undefined;
187949
187982
  }>, "many">>;
187950
187983
  featureIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187951
187984
  artifactSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -188011,9 +188044,12 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
188011
188044
  sortOrder: number;
188012
188045
  createdByUserId: string;
188013
188046
  projectId: string;
188047
+ initialPrompt: string;
188048
+ numberOfIterations: number;
188014
188049
  updatedAt?: Date | undefined;
188015
188050
  sectionId?: string | undefined;
188016
188051
  isArchived?: boolean | undefined;
188052
+ lastReplyTimestamp?: Date | undefined;
188017
188053
  }[] | undefined;
188018
188054
  executedTransactionIds?: string[] | undefined;
188019
188055
  artifacts?: {
@@ -188058,11 +188094,14 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
188058
188094
  description: string;
188059
188095
  createdByUserId: string;
188060
188096
  projectId: string;
188097
+ initialPrompt: string;
188061
188098
  status?: "Draft" | "ReadyForDevelopment" | undefined;
188062
188099
  updatedAt?: Date | undefined;
188063
188100
  sortOrder?: number | undefined;
188064
188101
  sectionId?: string | undefined;
188065
188102
  isArchived?: boolean | undefined;
188103
+ numberOfIterations?: number | undefined;
188104
+ lastReplyTimestamp?: Date | undefined;
188066
188105
  }[] | undefined;
188067
188106
  executedTransactionIds?: string[] | undefined;
188068
188107
  artifacts?: {
package/dist/index.js CHANGED
@@ -5954,7 +5954,10 @@ var ProjectFeature = _zod.z.object({
5954
5954
  sectionId: Id.optional(),
5955
5955
  sortOrder: SortOrder.default(0),
5956
5956
  status: ProjectFeatureStatus.default("Draft"),
5957
- updatedAt: _zod.z.coerce.date().optional()
5957
+ initialPrompt: _zod.z.string(),
5958
+ updatedAt: _zod.z.coerce.date().optional(),
5959
+ numberOfIterations: _zod.z.number().min(0).default(0),
5960
+ lastReplyTimestamp: _zod.z.coerce.date().optional()
5958
5961
  });
5959
5962
 
5960
5963
  // src/forge/project-figma-node.ts