@supernova-studio/model 1.16.2 → 1.17.0

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
@@ -187541,6 +187541,56 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187541
187541
  sectionId?: string | undefined;
187542
187542
  isArchived?: boolean | undefined;
187543
187543
  }>, "many">;
187544
+ artifactSections: z.ZodArray<z.ZodObject<{
187545
+ id: z.ZodString;
187546
+ projectId: z.ZodString;
187547
+ name: z.ZodString;
187548
+ sortOrder: z.ZodDefault<z.ZodNumber>;
187549
+ createdAt: z.ZodDate;
187550
+ updatedAt: z.ZodDate;
187551
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
187552
+ }, "strip", z.ZodTypeAny, {
187553
+ id: string;
187554
+ name: string;
187555
+ createdAt: Date;
187556
+ updatedAt: Date;
187557
+ childType: "Artifact" | "Feature";
187558
+ sortOrder: number;
187559
+ projectId: string;
187560
+ }, {
187561
+ id: string;
187562
+ name: string;
187563
+ createdAt: Date;
187564
+ updatedAt: Date;
187565
+ childType: "Artifact" | "Feature";
187566
+ projectId: string;
187567
+ sortOrder?: number | undefined;
187568
+ }>, "many">;
187569
+ featureSections: z.ZodArray<z.ZodObject<{
187570
+ id: z.ZodString;
187571
+ projectId: z.ZodString;
187572
+ name: z.ZodString;
187573
+ sortOrder: z.ZodDefault<z.ZodNumber>;
187574
+ createdAt: z.ZodDate;
187575
+ updatedAt: z.ZodDate;
187576
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
187577
+ }, "strip", z.ZodTypeAny, {
187578
+ id: string;
187579
+ name: string;
187580
+ createdAt: Date;
187581
+ updatedAt: Date;
187582
+ childType: "Artifact" | "Feature";
187583
+ sortOrder: number;
187584
+ projectId: string;
187585
+ }, {
187586
+ id: string;
187587
+ name: string;
187588
+ createdAt: Date;
187589
+ updatedAt: Date;
187590
+ childType: "Artifact" | "Feature";
187591
+ projectId: string;
187592
+ sortOrder?: number | undefined;
187593
+ }>, "many">;
187544
187594
  }, "strip", z.ZodTypeAny, {
187545
187595
  features: {
187546
187596
  id: string;
@@ -187566,6 +187616,24 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187566
187616
  iterationId?: string | null | undefined;
187567
187617
  sectionId?: string | undefined;
187568
187618
  }[];
187619
+ artifactSections: {
187620
+ id: string;
187621
+ name: string;
187622
+ createdAt: Date;
187623
+ updatedAt: Date;
187624
+ childType: "Artifact" | "Feature";
187625
+ sortOrder: number;
187626
+ projectId: string;
187627
+ }[];
187628
+ featureSections: {
187629
+ id: string;
187630
+ name: string;
187631
+ createdAt: Date;
187632
+ updatedAt: Date;
187633
+ childType: "Artifact" | "Feature";
187634
+ sortOrder: number;
187635
+ projectId: string;
187636
+ }[];
187569
187637
  }, {
187570
187638
  features: {
187571
187639
  id: string;
@@ -187591,6 +187659,24 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187591
187659
  iterationId?: string | null | undefined;
187592
187660
  sectionId?: string | undefined;
187593
187661
  }[];
187662
+ artifactSections: {
187663
+ id: string;
187664
+ name: string;
187665
+ createdAt: Date;
187666
+ updatedAt: Date;
187667
+ childType: "Artifact" | "Feature";
187668
+ projectId: string;
187669
+ sortOrder?: number | undefined;
187670
+ }[];
187671
+ featureSections: {
187672
+ id: string;
187673
+ name: string;
187674
+ createdAt: Date;
187675
+ updatedAt: Date;
187676
+ childType: "Artifact" | "Feature";
187677
+ projectId: string;
187678
+ sortOrder?: number | undefined;
187679
+ }[];
187594
187680
  }>;
187595
187681
  type ForgeProjectRoomInitialState = z.infer<typeof ForgeProjectRoomInitialState>;
187596
187682
  declare const ForgeProjectRoomUpdate: z.ZodObject<{
@@ -187664,6 +187750,58 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187664
187750
  isArchived?: boolean | undefined;
187665
187751
  }>, "many">>;
187666
187752
  featureIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187753
+ artifactSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
187754
+ id: z.ZodString;
187755
+ projectId: z.ZodString;
187756
+ name: z.ZodString;
187757
+ sortOrder: z.ZodDefault<z.ZodNumber>;
187758
+ createdAt: z.ZodDate;
187759
+ updatedAt: z.ZodDate;
187760
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
187761
+ }, "strip", z.ZodTypeAny, {
187762
+ id: string;
187763
+ name: string;
187764
+ createdAt: Date;
187765
+ updatedAt: Date;
187766
+ childType: "Artifact" | "Feature";
187767
+ sortOrder: number;
187768
+ projectId: string;
187769
+ }, {
187770
+ id: string;
187771
+ name: string;
187772
+ createdAt: Date;
187773
+ updatedAt: Date;
187774
+ childType: "Artifact" | "Feature";
187775
+ projectId: string;
187776
+ sortOrder?: number | undefined;
187777
+ }>, "many">>;
187778
+ artifactSectionIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187779
+ featureSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
187780
+ id: z.ZodString;
187781
+ projectId: z.ZodString;
187782
+ name: z.ZodString;
187783
+ sortOrder: z.ZodDefault<z.ZodNumber>;
187784
+ createdAt: z.ZodDate;
187785
+ updatedAt: z.ZodDate;
187786
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
187787
+ }, "strip", z.ZodTypeAny, {
187788
+ id: string;
187789
+ name: string;
187790
+ createdAt: Date;
187791
+ updatedAt: Date;
187792
+ childType: "Artifact" | "Feature";
187793
+ sortOrder: number;
187794
+ projectId: string;
187795
+ }, {
187796
+ id: string;
187797
+ name: string;
187798
+ createdAt: Date;
187799
+ updatedAt: Date;
187800
+ childType: "Artifact" | "Feature";
187801
+ projectId: string;
187802
+ sortOrder?: number | undefined;
187803
+ }>, "many">>;
187804
+ featureSectionIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187667
187805
  executedTransactionIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187668
187806
  }, "strip", z.ZodTypeAny, {
187669
187807
  features?: {
@@ -187691,8 +187829,28 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187691
187829
  iterationId?: string | null | undefined;
187692
187830
  sectionId?: string | undefined;
187693
187831
  }[] | undefined;
187832
+ artifactSections?: {
187833
+ id: string;
187834
+ name: string;
187835
+ createdAt: Date;
187836
+ updatedAt: Date;
187837
+ childType: "Artifact" | "Feature";
187838
+ sortOrder: number;
187839
+ projectId: string;
187840
+ }[] | undefined;
187841
+ featureSections?: {
187842
+ id: string;
187843
+ name: string;
187844
+ createdAt: Date;
187845
+ updatedAt: Date;
187846
+ childType: "Artifact" | "Feature";
187847
+ sortOrder: number;
187848
+ projectId: string;
187849
+ }[] | undefined;
187694
187850
  artifactIdsToDelete?: string[] | undefined;
187695
187851
  featureIdsToDelete?: string[] | undefined;
187852
+ artifactSectionIdsToDelete?: string[] | undefined;
187853
+ featureSectionIdsToDelete?: string[] | undefined;
187696
187854
  }, {
187697
187855
  features?: {
187698
187856
  id: string;
@@ -187719,8 +187877,28 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187719
187877
  iterationId?: string | null | undefined;
187720
187878
  sectionId?: string | undefined;
187721
187879
  }[] | undefined;
187880
+ artifactSections?: {
187881
+ id: string;
187882
+ name: string;
187883
+ createdAt: Date;
187884
+ updatedAt: Date;
187885
+ childType: "Artifact" | "Feature";
187886
+ projectId: string;
187887
+ sortOrder?: number | undefined;
187888
+ }[] | undefined;
187889
+ featureSections?: {
187890
+ id: string;
187891
+ name: string;
187892
+ createdAt: Date;
187893
+ updatedAt: Date;
187894
+ childType: "Artifact" | "Feature";
187895
+ projectId: string;
187896
+ sortOrder?: number | undefined;
187897
+ }[] | undefined;
187722
187898
  artifactIdsToDelete?: string[] | undefined;
187723
187899
  featureIdsToDelete?: string[] | undefined;
187900
+ artifactSectionIdsToDelete?: string[] | undefined;
187901
+ featureSectionIdsToDelete?: string[] | undefined;
187724
187902
  }>;
187725
187903
  type ForgeProjectRoomUpdate = z.infer<typeof ForgeProjectRoomUpdate>;
187726
187904
 
package/dist/index.d.ts CHANGED
@@ -187541,6 +187541,56 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187541
187541
  sectionId?: string | undefined;
187542
187542
  isArchived?: boolean | undefined;
187543
187543
  }>, "many">;
187544
+ artifactSections: z.ZodArray<z.ZodObject<{
187545
+ id: z.ZodString;
187546
+ projectId: z.ZodString;
187547
+ name: z.ZodString;
187548
+ sortOrder: z.ZodDefault<z.ZodNumber>;
187549
+ createdAt: z.ZodDate;
187550
+ updatedAt: z.ZodDate;
187551
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
187552
+ }, "strip", z.ZodTypeAny, {
187553
+ id: string;
187554
+ name: string;
187555
+ createdAt: Date;
187556
+ updatedAt: Date;
187557
+ childType: "Artifact" | "Feature";
187558
+ sortOrder: number;
187559
+ projectId: string;
187560
+ }, {
187561
+ id: string;
187562
+ name: string;
187563
+ createdAt: Date;
187564
+ updatedAt: Date;
187565
+ childType: "Artifact" | "Feature";
187566
+ projectId: string;
187567
+ sortOrder?: number | undefined;
187568
+ }>, "many">;
187569
+ featureSections: z.ZodArray<z.ZodObject<{
187570
+ id: z.ZodString;
187571
+ projectId: z.ZodString;
187572
+ name: z.ZodString;
187573
+ sortOrder: z.ZodDefault<z.ZodNumber>;
187574
+ createdAt: z.ZodDate;
187575
+ updatedAt: z.ZodDate;
187576
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
187577
+ }, "strip", z.ZodTypeAny, {
187578
+ id: string;
187579
+ name: string;
187580
+ createdAt: Date;
187581
+ updatedAt: Date;
187582
+ childType: "Artifact" | "Feature";
187583
+ sortOrder: number;
187584
+ projectId: string;
187585
+ }, {
187586
+ id: string;
187587
+ name: string;
187588
+ createdAt: Date;
187589
+ updatedAt: Date;
187590
+ childType: "Artifact" | "Feature";
187591
+ projectId: string;
187592
+ sortOrder?: number | undefined;
187593
+ }>, "many">;
187544
187594
  }, "strip", z.ZodTypeAny, {
187545
187595
  features: {
187546
187596
  id: string;
@@ -187566,6 +187616,24 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187566
187616
  iterationId?: string | null | undefined;
187567
187617
  sectionId?: string | undefined;
187568
187618
  }[];
187619
+ artifactSections: {
187620
+ id: string;
187621
+ name: string;
187622
+ createdAt: Date;
187623
+ updatedAt: Date;
187624
+ childType: "Artifact" | "Feature";
187625
+ sortOrder: number;
187626
+ projectId: string;
187627
+ }[];
187628
+ featureSections: {
187629
+ id: string;
187630
+ name: string;
187631
+ createdAt: Date;
187632
+ updatedAt: Date;
187633
+ childType: "Artifact" | "Feature";
187634
+ sortOrder: number;
187635
+ projectId: string;
187636
+ }[];
187569
187637
  }, {
187570
187638
  features: {
187571
187639
  id: string;
@@ -187591,6 +187659,24 @@ declare const ForgeProjectRoomInitialState: z.ZodObject<{
187591
187659
  iterationId?: string | null | undefined;
187592
187660
  sectionId?: string | undefined;
187593
187661
  }[];
187662
+ artifactSections: {
187663
+ id: string;
187664
+ name: string;
187665
+ createdAt: Date;
187666
+ updatedAt: Date;
187667
+ childType: "Artifact" | "Feature";
187668
+ projectId: string;
187669
+ sortOrder?: number | undefined;
187670
+ }[];
187671
+ featureSections: {
187672
+ id: string;
187673
+ name: string;
187674
+ createdAt: Date;
187675
+ updatedAt: Date;
187676
+ childType: "Artifact" | "Feature";
187677
+ projectId: string;
187678
+ sortOrder?: number | undefined;
187679
+ }[];
187594
187680
  }>;
187595
187681
  type ForgeProjectRoomInitialState = z.infer<typeof ForgeProjectRoomInitialState>;
187596
187682
  declare const ForgeProjectRoomUpdate: z.ZodObject<{
@@ -187664,6 +187750,58 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187664
187750
  isArchived?: boolean | undefined;
187665
187751
  }>, "many">>;
187666
187752
  featureIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187753
+ artifactSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
187754
+ id: z.ZodString;
187755
+ projectId: z.ZodString;
187756
+ name: z.ZodString;
187757
+ sortOrder: z.ZodDefault<z.ZodNumber>;
187758
+ createdAt: z.ZodDate;
187759
+ updatedAt: z.ZodDate;
187760
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
187761
+ }, "strip", z.ZodTypeAny, {
187762
+ id: string;
187763
+ name: string;
187764
+ createdAt: Date;
187765
+ updatedAt: Date;
187766
+ childType: "Artifact" | "Feature";
187767
+ sortOrder: number;
187768
+ projectId: string;
187769
+ }, {
187770
+ id: string;
187771
+ name: string;
187772
+ createdAt: Date;
187773
+ updatedAt: Date;
187774
+ childType: "Artifact" | "Feature";
187775
+ projectId: string;
187776
+ sortOrder?: number | undefined;
187777
+ }>, "many">>;
187778
+ artifactSectionIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187779
+ featureSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
187780
+ id: z.ZodString;
187781
+ projectId: z.ZodString;
187782
+ name: z.ZodString;
187783
+ sortOrder: z.ZodDefault<z.ZodNumber>;
187784
+ createdAt: z.ZodDate;
187785
+ updatedAt: z.ZodDate;
187786
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
187787
+ }, "strip", z.ZodTypeAny, {
187788
+ id: string;
187789
+ name: string;
187790
+ createdAt: Date;
187791
+ updatedAt: Date;
187792
+ childType: "Artifact" | "Feature";
187793
+ sortOrder: number;
187794
+ projectId: string;
187795
+ }, {
187796
+ id: string;
187797
+ name: string;
187798
+ createdAt: Date;
187799
+ updatedAt: Date;
187800
+ childType: "Artifact" | "Feature";
187801
+ projectId: string;
187802
+ sortOrder?: number | undefined;
187803
+ }>, "many">>;
187804
+ featureSectionIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187667
187805
  executedTransactionIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187668
187806
  }, "strip", z.ZodTypeAny, {
187669
187807
  features?: {
@@ -187691,8 +187829,28 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187691
187829
  iterationId?: string | null | undefined;
187692
187830
  sectionId?: string | undefined;
187693
187831
  }[] | undefined;
187832
+ artifactSections?: {
187833
+ id: string;
187834
+ name: string;
187835
+ createdAt: Date;
187836
+ updatedAt: Date;
187837
+ childType: "Artifact" | "Feature";
187838
+ sortOrder: number;
187839
+ projectId: string;
187840
+ }[] | undefined;
187841
+ featureSections?: {
187842
+ id: string;
187843
+ name: string;
187844
+ createdAt: Date;
187845
+ updatedAt: Date;
187846
+ childType: "Artifact" | "Feature";
187847
+ sortOrder: number;
187848
+ projectId: string;
187849
+ }[] | undefined;
187694
187850
  artifactIdsToDelete?: string[] | undefined;
187695
187851
  featureIdsToDelete?: string[] | undefined;
187852
+ artifactSectionIdsToDelete?: string[] | undefined;
187853
+ featureSectionIdsToDelete?: string[] | undefined;
187696
187854
  }, {
187697
187855
  features?: {
187698
187856
  id: string;
@@ -187719,8 +187877,28 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187719
187877
  iterationId?: string | null | undefined;
187720
187878
  sectionId?: string | undefined;
187721
187879
  }[] | undefined;
187880
+ artifactSections?: {
187881
+ id: string;
187882
+ name: string;
187883
+ createdAt: Date;
187884
+ updatedAt: Date;
187885
+ childType: "Artifact" | "Feature";
187886
+ projectId: string;
187887
+ sortOrder?: number | undefined;
187888
+ }[] | undefined;
187889
+ featureSections?: {
187890
+ id: string;
187891
+ name: string;
187892
+ createdAt: Date;
187893
+ updatedAt: Date;
187894
+ childType: "Artifact" | "Feature";
187895
+ projectId: string;
187896
+ sortOrder?: number | undefined;
187897
+ }[] | undefined;
187722
187898
  artifactIdsToDelete?: string[] | undefined;
187723
187899
  featureIdsToDelete?: string[] | undefined;
187900
+ artifactSectionIdsToDelete?: string[] | undefined;
187901
+ featureSectionIdsToDelete?: string[] | undefined;
187724
187902
  }>;
187725
187903
  type ForgeProjectRoomUpdate = z.infer<typeof ForgeProjectRoomUpdate>;
187726
187904
 
package/dist/index.js CHANGED
@@ -6007,13 +6007,19 @@ var ForgeProjectRoom = Entity.extend({
6007
6007
  });
6008
6008
  var ForgeProjectRoomInitialState = _zod.z.object({
6009
6009
  artifacts: _zod.z.array(ForgeProjectArtifact),
6010
- features: _zod.z.array(ProjectFeature)
6010
+ features: _zod.z.array(ProjectFeature),
6011
+ artifactSections: _zod.z.array(ForgeSection),
6012
+ featureSections: _zod.z.array(ForgeSection)
6011
6013
  });
6012
6014
  var ForgeProjectRoomUpdate = _zod.z.object({
6013
6015
  artifacts: _zod.z.array(ForgeProjectArtifact).optional(),
6014
6016
  artifactIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
6015
6017
  features: _zod.z.array(ProjectFeature).optional(),
6016
6018
  featureIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
6019
+ artifactSections: _zod.z.array(ForgeSection).optional(),
6020
+ artifactSectionIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
6021
+ featureSections: _zod.z.array(ForgeSection).optional(),
6022
+ featureSectionIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
6017
6023
  executedTransactionIds: _zod.z.string().array().optional()
6018
6024
  });
6019
6025