@supernova-studio/model 1.16.0 → 1.16.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
@@ -158175,6 +158175,36 @@ declare const ForgeProjectMembership: z.ZodObject<{
158175
158175
  type ForgeProjectMembership = z.infer<typeof ForgeProjectMembership>;
158176
158176
  type CreateForgeProjectMembership = DbCreateInputOmit<ForgeProjectMembership>;
158177
158177
 
158178
+ declare const SortOrder: z.ZodNumber;
158179
+ declare const ForgeSection: z.ZodObject<{
158180
+ id: z.ZodString;
158181
+ projectId: z.ZodString;
158182
+ name: z.ZodString;
158183
+ sortOrder: z.ZodDefault<z.ZodNumber>;
158184
+ createdAt: z.ZodDate;
158185
+ updatedAt: z.ZodDate;
158186
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
158187
+ }, "strip", z.ZodTypeAny, {
158188
+ id: string;
158189
+ name: string;
158190
+ createdAt: Date;
158191
+ updatedAt: Date;
158192
+ childType: "Artifact" | "Feature";
158193
+ sortOrder: number;
158194
+ projectId: string;
158195
+ }, {
158196
+ id: string;
158197
+ name: string;
158198
+ createdAt: Date;
158199
+ updatedAt: Date;
158200
+ childType: "Artifact" | "Feature";
158201
+ projectId: string;
158202
+ sortOrder?: number | undefined;
158203
+ }>;
158204
+ type ForgeSection = z.infer<typeof ForgeSection>;
158205
+ declare const ForgeProjectSectionChildType: z.ZodEnum<["Artifact", "Feature"]>;
158206
+ type ForgeProjectSectionChildType = z.infer<typeof ForgeProjectSectionChildType>;
158207
+
158178
158208
  declare const ForgeProjectTag: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
158179
158209
  type ForgeProjectTag = z.infer<typeof ForgeProjectTag>;
158180
158210
  declare const ForgeProjectAccessMode: z.ZodEnum<["InviteOnly", "Open"]>;
@@ -158241,36 +158271,6 @@ type ForgeProject = z.infer<typeof ForgeProject>;
158241
158271
  type CreateForgeProject = Omit<DbCreateInputOmit<ForgeProject>, "workspaceId" | "createdByUserId">;
158242
158272
  type UpdateForgeProject = Omit<DbUpdate<ForgeProject>, "fpContextId" | "workspaceId" | "createdByUserId">;
158243
158273
 
158244
- declare const SortOrder: z.ZodNumber;
158245
- declare const ForgeSection: z.ZodObject<{
158246
- id: z.ZodString;
158247
- projectId: z.ZodString;
158248
- name: z.ZodString;
158249
- sortOrder: z.ZodDefault<z.ZodNumber>;
158250
- createdAt: z.ZodDate;
158251
- updatedAt: z.ZodDate;
158252
- childType: z.ZodEnum<["Artifact", "Feature"]>;
158253
- }, "strip", z.ZodTypeAny, {
158254
- id: string;
158255
- name: string;
158256
- createdAt: Date;
158257
- updatedAt: Date;
158258
- childType: "Artifact" | "Feature";
158259
- sortOrder: number;
158260
- projectId: string;
158261
- }, {
158262
- id: string;
158263
- name: string;
158264
- createdAt: Date;
158265
- updatedAt: Date;
158266
- childType: "Artifact" | "Feature";
158267
- projectId: string;
158268
- sortOrder?: number | undefined;
158269
- }>;
158270
- type ForgeSection = z.infer<typeof ForgeSection>;
158271
- declare const ForgeProjectSectionChildType: z.ZodEnum<["Artifact", "Feature"]>;
158272
- type ForgeProjectSectionChildType = z.infer<typeof ForgeProjectSectionChildType>;
158273
-
158274
158274
  declare enum OAuthProviderNames {
158275
158275
  Figma = "figma",
158276
158276
  Azure = "azure",
@@ -187646,6 +187646,7 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187646
187646
  isArchived?: boolean | undefined;
187647
187647
  }>, "many">>;
187648
187648
  featureIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187649
+ executedTransactionIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187649
187650
  }, "strip", z.ZodTypeAny, {
187650
187651
  features?: {
187651
187652
  id: string;
@@ -187659,6 +187660,7 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187659
187660
  sectionId?: string | undefined;
187660
187661
  isArchived?: boolean | undefined;
187661
187662
  }[] | undefined;
187663
+ executedTransactionIds?: string[] | undefined;
187662
187664
  artifacts?: {
187663
187665
  id: string;
187664
187666
  createdAt: Date;
@@ -187686,6 +187688,7 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187686
187688
  sectionId?: string | undefined;
187687
187689
  isArchived?: boolean | undefined;
187688
187690
  }[] | undefined;
187691
+ executedTransactionIds?: string[] | undefined;
187689
187692
  artifacts?: {
187690
187693
  id: string;
187691
187694
  createdAt: Date;
package/dist/index.d.ts CHANGED
@@ -158175,6 +158175,36 @@ declare const ForgeProjectMembership: z.ZodObject<{
158175
158175
  type ForgeProjectMembership = z.infer<typeof ForgeProjectMembership>;
158176
158176
  type CreateForgeProjectMembership = DbCreateInputOmit<ForgeProjectMembership>;
158177
158177
 
158178
+ declare const SortOrder: z.ZodNumber;
158179
+ declare const ForgeSection: z.ZodObject<{
158180
+ id: z.ZodString;
158181
+ projectId: z.ZodString;
158182
+ name: z.ZodString;
158183
+ sortOrder: z.ZodDefault<z.ZodNumber>;
158184
+ createdAt: z.ZodDate;
158185
+ updatedAt: z.ZodDate;
158186
+ childType: z.ZodEnum<["Artifact", "Feature"]>;
158187
+ }, "strip", z.ZodTypeAny, {
158188
+ id: string;
158189
+ name: string;
158190
+ createdAt: Date;
158191
+ updatedAt: Date;
158192
+ childType: "Artifact" | "Feature";
158193
+ sortOrder: number;
158194
+ projectId: string;
158195
+ }, {
158196
+ id: string;
158197
+ name: string;
158198
+ createdAt: Date;
158199
+ updatedAt: Date;
158200
+ childType: "Artifact" | "Feature";
158201
+ projectId: string;
158202
+ sortOrder?: number | undefined;
158203
+ }>;
158204
+ type ForgeSection = z.infer<typeof ForgeSection>;
158205
+ declare const ForgeProjectSectionChildType: z.ZodEnum<["Artifact", "Feature"]>;
158206
+ type ForgeProjectSectionChildType = z.infer<typeof ForgeProjectSectionChildType>;
158207
+
158178
158208
  declare const ForgeProjectTag: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
158179
158209
  type ForgeProjectTag = z.infer<typeof ForgeProjectTag>;
158180
158210
  declare const ForgeProjectAccessMode: z.ZodEnum<["InviteOnly", "Open"]>;
@@ -158241,36 +158271,6 @@ type ForgeProject = z.infer<typeof ForgeProject>;
158241
158271
  type CreateForgeProject = Omit<DbCreateInputOmit<ForgeProject>, "workspaceId" | "createdByUserId">;
158242
158272
  type UpdateForgeProject = Omit<DbUpdate<ForgeProject>, "fpContextId" | "workspaceId" | "createdByUserId">;
158243
158273
 
158244
- declare const SortOrder: z.ZodNumber;
158245
- declare const ForgeSection: z.ZodObject<{
158246
- id: z.ZodString;
158247
- projectId: z.ZodString;
158248
- name: z.ZodString;
158249
- sortOrder: z.ZodDefault<z.ZodNumber>;
158250
- createdAt: z.ZodDate;
158251
- updatedAt: z.ZodDate;
158252
- childType: z.ZodEnum<["Artifact", "Feature"]>;
158253
- }, "strip", z.ZodTypeAny, {
158254
- id: string;
158255
- name: string;
158256
- createdAt: Date;
158257
- updatedAt: Date;
158258
- childType: "Artifact" | "Feature";
158259
- sortOrder: number;
158260
- projectId: string;
158261
- }, {
158262
- id: string;
158263
- name: string;
158264
- createdAt: Date;
158265
- updatedAt: Date;
158266
- childType: "Artifact" | "Feature";
158267
- projectId: string;
158268
- sortOrder?: number | undefined;
158269
- }>;
158270
- type ForgeSection = z.infer<typeof ForgeSection>;
158271
- declare const ForgeProjectSectionChildType: z.ZodEnum<["Artifact", "Feature"]>;
158272
- type ForgeProjectSectionChildType = z.infer<typeof ForgeProjectSectionChildType>;
158273
-
158274
158274
  declare enum OAuthProviderNames {
158275
158275
  Figma = "figma",
158276
158276
  Azure = "azure",
@@ -187646,6 +187646,7 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187646
187646
  isArchived?: boolean | undefined;
187647
187647
  }>, "many">>;
187648
187648
  featureIdsToDelete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187649
+ executedTransactionIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187649
187650
  }, "strip", z.ZodTypeAny, {
187650
187651
  features?: {
187651
187652
  id: string;
@@ -187659,6 +187660,7 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187659
187660
  sectionId?: string | undefined;
187660
187661
  isArchived?: boolean | undefined;
187661
187662
  }[] | undefined;
187663
+ executedTransactionIds?: string[] | undefined;
187662
187664
  artifacts?: {
187663
187665
  id: string;
187664
187666
  createdAt: Date;
@@ -187686,6 +187688,7 @@ declare const ForgeProjectRoomUpdate: z.ZodObject<{
187686
187688
  sectionId?: string | undefined;
187687
187689
  isArchived?: boolean | undefined;
187688
187690
  }[] | undefined;
187691
+ executedTransactionIds?: string[] | undefined;
187689
187692
  artifacts?: {
187690
187693
  id: string;
187691
187694
  createdAt: Date;
package/dist/index.js CHANGED
@@ -5996,7 +5996,8 @@ var ForgeProjectRoomUpdate = _zod.z.object({
5996
5996
  artifacts: _zod.z.array(ForgeProjectArtifact).optional(),
5997
5997
  artifactIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
5998
5998
  features: _zod.z.array(ProjectFeature).optional(),
5999
- featureIdsToDelete: _zod.z.array(_zod.z.string()).optional()
5999
+ featureIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
6000
+ executedTransactionIds: _zod.z.string().array().optional()
6000
6001
  });
6001
6002
 
6002
6003
  // src/liveblocks/rooms/room-type.ts