@supernova-studio/client 1.31.0 → 1.31.2
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 +43 -11
- package/dist/index.d.ts +43 -11
- package/dist/index.js +63 -60
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +63 -60
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -80298,18 +80298,21 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
|
|
|
80298
80298
|
id: z__default.ZodString;
|
|
80299
80299
|
name: z__default.ZodString;
|
|
80300
80300
|
description: z__default.ZodString;
|
|
80301
|
+
initialPrompt: z__default.ZodString;
|
|
80301
80302
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
80302
80303
|
afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
|
|
80303
80304
|
}, "strip", z__default.ZodTypeAny, {
|
|
80304
80305
|
id: string;
|
|
80305
80306
|
name: string;
|
|
80306
80307
|
description: string;
|
|
80308
|
+
initialPrompt: string;
|
|
80307
80309
|
sectionId?: string | undefined;
|
|
80308
80310
|
afterFeatureId?: string | null | undefined;
|
|
80309
80311
|
}, {
|
|
80310
80312
|
id: string;
|
|
80311
80313
|
name: string;
|
|
80312
80314
|
description: string;
|
|
80315
|
+
initialPrompt: string;
|
|
80313
80316
|
sectionId?: string | undefined;
|
|
80314
80317
|
afterFeatureId?: string | null | undefined;
|
|
80315
80318
|
}>;
|
|
@@ -80319,6 +80322,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
|
|
|
80319
80322
|
id: string;
|
|
80320
80323
|
name: string;
|
|
80321
80324
|
description: string;
|
|
80325
|
+
initialPrompt: string;
|
|
80322
80326
|
sectionId?: string | undefined;
|
|
80323
80327
|
afterFeatureId?: string | null | undefined;
|
|
80324
80328
|
};
|
|
@@ -80328,6 +80332,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
|
|
|
80328
80332
|
id: string;
|
|
80329
80333
|
name: string;
|
|
80330
80334
|
description: string;
|
|
80335
|
+
initialPrompt: string;
|
|
80331
80336
|
sectionId?: string | undefined;
|
|
80332
80337
|
afterFeatureId?: string | null | undefined;
|
|
80333
80338
|
};
|
|
@@ -80684,18 +80689,21 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
|
|
|
80684
80689
|
id: z__default.ZodString;
|
|
80685
80690
|
name: z__default.ZodString;
|
|
80686
80691
|
description: z__default.ZodString;
|
|
80692
|
+
initialPrompt: z__default.ZodString;
|
|
80687
80693
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
80688
80694
|
afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
|
|
80689
80695
|
}, "strip", z__default.ZodTypeAny, {
|
|
80690
80696
|
id: string;
|
|
80691
80697
|
name: string;
|
|
80692
80698
|
description: string;
|
|
80699
|
+
initialPrompt: string;
|
|
80693
80700
|
sectionId?: string | undefined;
|
|
80694
80701
|
afterFeatureId?: string | null | undefined;
|
|
80695
80702
|
}, {
|
|
80696
80703
|
id: string;
|
|
80697
80704
|
name: string;
|
|
80698
80705
|
description: string;
|
|
80706
|
+
initialPrompt: string;
|
|
80699
80707
|
sectionId?: string | undefined;
|
|
80700
80708
|
afterFeatureId?: string | null | undefined;
|
|
80701
80709
|
}>;
|
|
@@ -80705,6 +80713,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
|
|
|
80705
80713
|
id: string;
|
|
80706
80714
|
name: string;
|
|
80707
80715
|
description: string;
|
|
80716
|
+
initialPrompt: string;
|
|
80708
80717
|
sectionId?: string | undefined;
|
|
80709
80718
|
afterFeatureId?: string | null | undefined;
|
|
80710
80719
|
};
|
|
@@ -80714,6 +80723,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
|
|
|
80714
80723
|
id: string;
|
|
80715
80724
|
name: string;
|
|
80716
80725
|
description: string;
|
|
80726
|
+
initialPrompt: string;
|
|
80717
80727
|
sectionId?: string | undefined;
|
|
80718
80728
|
afterFeatureId?: string | null | undefined;
|
|
80719
80729
|
};
|
|
@@ -83199,6 +83209,7 @@ declare const DTOForgeProjectFeature: z__default.ZodObject<{
|
|
|
83199
83209
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
83200
83210
|
sortOrder: z__default.ZodDefault<z__default.ZodNumber>;
|
|
83201
83211
|
status: z__default.ZodDefault<z__default.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
|
|
83212
|
+
initialPrompt: z__default.ZodString;
|
|
83202
83213
|
updatedAt: z__default.ZodOptional<z__default.ZodDate>;
|
|
83203
83214
|
}, "strip", z__default.ZodTypeAny, {
|
|
83204
83215
|
status: "Draft" | "ReadyForDevelopment";
|
|
@@ -83209,6 +83220,7 @@ declare const DTOForgeProjectFeature: z__default.ZodObject<{
|
|
|
83209
83220
|
sortOrder: number;
|
|
83210
83221
|
createdByUserId: string;
|
|
83211
83222
|
projectId: string;
|
|
83223
|
+
initialPrompt: string;
|
|
83212
83224
|
updatedAt?: Date | undefined;
|
|
83213
83225
|
sectionId?: string | undefined;
|
|
83214
83226
|
isArchived?: boolean | undefined;
|
|
@@ -83219,6 +83231,7 @@ declare const DTOForgeProjectFeature: z__default.ZodObject<{
|
|
|
83219
83231
|
description: string;
|
|
83220
83232
|
createdByUserId: string;
|
|
83221
83233
|
projectId: string;
|
|
83234
|
+
initialPrompt: string;
|
|
83222
83235
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83223
83236
|
updatedAt?: Date | undefined;
|
|
83224
83237
|
sortOrder?: number | undefined;
|
|
@@ -83238,6 +83251,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83238
83251
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
83239
83252
|
sortOrder: z__default.ZodDefault<z__default.ZodNumber>;
|
|
83240
83253
|
status: z__default.ZodDefault<z__default.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
|
|
83254
|
+
initialPrompt: z__default.ZodString;
|
|
83241
83255
|
updatedAt: z__default.ZodOptional<z__default.ZodDate>;
|
|
83242
83256
|
}, "strip", z__default.ZodTypeAny, {
|
|
83243
83257
|
status: "Draft" | "ReadyForDevelopment";
|
|
@@ -83248,6 +83262,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83248
83262
|
sortOrder: number;
|
|
83249
83263
|
createdByUserId: string;
|
|
83250
83264
|
projectId: string;
|
|
83265
|
+
initialPrompt: string;
|
|
83251
83266
|
updatedAt?: Date | undefined;
|
|
83252
83267
|
sectionId?: string | undefined;
|
|
83253
83268
|
isArchived?: boolean | undefined;
|
|
@@ -83258,6 +83273,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83258
83273
|
description: string;
|
|
83259
83274
|
createdByUserId: string;
|
|
83260
83275
|
projectId: string;
|
|
83276
|
+
initialPrompt: string;
|
|
83261
83277
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83262
83278
|
updatedAt?: Date | undefined;
|
|
83263
83279
|
sortOrder?: number | undefined;
|
|
@@ -83274,6 +83290,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83274
83290
|
sortOrder: number;
|
|
83275
83291
|
createdByUserId: string;
|
|
83276
83292
|
projectId: string;
|
|
83293
|
+
initialPrompt: string;
|
|
83277
83294
|
updatedAt?: Date | undefined;
|
|
83278
83295
|
sectionId?: string | undefined;
|
|
83279
83296
|
isArchived?: boolean | undefined;
|
|
@@ -83286,6 +83303,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83286
83303
|
description: string;
|
|
83287
83304
|
createdByUserId: string;
|
|
83288
83305
|
projectId: string;
|
|
83306
|
+
initialPrompt: string;
|
|
83289
83307
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83290
83308
|
updatedAt?: Date | undefined;
|
|
83291
83309
|
sortOrder?: number | undefined;
|
|
@@ -83298,18 +83316,21 @@ declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
|
|
|
83298
83316
|
id: z__default.ZodString;
|
|
83299
83317
|
name: z__default.ZodString;
|
|
83300
83318
|
description: z__default.ZodString;
|
|
83319
|
+
initialPrompt: z__default.ZodString;
|
|
83301
83320
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
83302
83321
|
afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
|
|
83303
83322
|
}, "strip", z__default.ZodTypeAny, {
|
|
83304
83323
|
id: string;
|
|
83305
83324
|
name: string;
|
|
83306
83325
|
description: string;
|
|
83326
|
+
initialPrompt: string;
|
|
83307
83327
|
sectionId?: string | undefined;
|
|
83308
83328
|
afterFeatureId?: string | null | undefined;
|
|
83309
83329
|
}, {
|
|
83310
83330
|
id: string;
|
|
83311
83331
|
name: string;
|
|
83312
83332
|
description: string;
|
|
83333
|
+
initialPrompt: string;
|
|
83313
83334
|
sectionId?: string | undefined;
|
|
83314
83335
|
afterFeatureId?: string | null | undefined;
|
|
83315
83336
|
}>;
|
|
@@ -83368,6 +83389,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83368
83389
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
83369
83390
|
sortOrder: z__default.ZodDefault<z__default.ZodNumber>;
|
|
83370
83391
|
status: z__default.ZodDefault<z__default.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
|
|
83392
|
+
initialPrompt: z__default.ZodString;
|
|
83371
83393
|
updatedAt: z__default.ZodOptional<z__default.ZodDate>;
|
|
83372
83394
|
}, "strip", z__default.ZodTypeAny, {
|
|
83373
83395
|
status: "Draft" | "ReadyForDevelopment";
|
|
@@ -83378,6 +83400,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83378
83400
|
sortOrder: number;
|
|
83379
83401
|
createdByUserId: string;
|
|
83380
83402
|
projectId: string;
|
|
83403
|
+
initialPrompt: string;
|
|
83381
83404
|
updatedAt?: Date | undefined;
|
|
83382
83405
|
sectionId?: string | undefined;
|
|
83383
83406
|
isArchived?: boolean | undefined;
|
|
@@ -83388,6 +83411,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83388
83411
|
description: string;
|
|
83389
83412
|
createdByUserId: string;
|
|
83390
83413
|
projectId: string;
|
|
83414
|
+
initialPrompt: string;
|
|
83391
83415
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83392
83416
|
updatedAt?: Date | undefined;
|
|
83393
83417
|
sortOrder?: number | undefined;
|
|
@@ -83404,6 +83428,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83404
83428
|
sortOrder: number;
|
|
83405
83429
|
createdByUserId: string;
|
|
83406
83430
|
projectId: string;
|
|
83431
|
+
initialPrompt: string;
|
|
83407
83432
|
updatedAt?: Date | undefined;
|
|
83408
83433
|
sectionId?: string | undefined;
|
|
83409
83434
|
isArchived?: boolean | undefined;
|
|
@@ -83416,6 +83441,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83416
83441
|
description: string;
|
|
83417
83442
|
createdByUserId: string;
|
|
83418
83443
|
projectId: string;
|
|
83444
|
+
initialPrompt: string;
|
|
83419
83445
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83420
83446
|
updatedAt?: Date | undefined;
|
|
83421
83447
|
sortOrder?: number | undefined;
|
|
@@ -140448,6 +140474,7 @@ declare class ForgeFeaturesEndpoint {
|
|
|
140448
140474
|
sortOrder: number;
|
|
140449
140475
|
createdByUserId: string;
|
|
140450
140476
|
projectId: string;
|
|
140477
|
+
initialPrompt: string;
|
|
140451
140478
|
updatedAt?: Date | undefined;
|
|
140452
140479
|
sectionId?: string | undefined;
|
|
140453
140480
|
isArchived?: boolean | undefined;
|
|
@@ -140463,6 +140490,7 @@ declare class ForgeFeaturesEndpoint {
|
|
|
140463
140490
|
sortOrder: number;
|
|
140464
140491
|
createdByUserId: string;
|
|
140465
140492
|
projectId: string;
|
|
140493
|
+
initialPrompt: string;
|
|
140466
140494
|
updatedAt?: Date | undefined;
|
|
140467
140495
|
sectionId?: string | undefined;
|
|
140468
140496
|
isArchived?: boolean | undefined;
|
|
@@ -141711,6 +141739,7 @@ declare class ForgeProjectFeaturesEndpoint {
|
|
|
141711
141739
|
sortOrder: number;
|
|
141712
141740
|
createdByUserId: string;
|
|
141713
141741
|
projectId: string;
|
|
141742
|
+
initialPrompt: string;
|
|
141714
141743
|
updatedAt?: Date | undefined;
|
|
141715
141744
|
sectionId?: string | undefined;
|
|
141716
141745
|
isArchived?: boolean | undefined;
|
|
@@ -141726,6 +141755,7 @@ declare class ForgeProjectFeaturesEndpoint {
|
|
|
141726
141755
|
sortOrder: number;
|
|
141727
141756
|
createdByUserId: string;
|
|
141728
141757
|
projectId: string;
|
|
141758
|
+
initialPrompt: string;
|
|
141729
141759
|
updatedAt?: Date | undefined;
|
|
141730
141760
|
sectionId?: string | undefined;
|
|
141731
141761
|
isArchived?: boolean | undefined;
|
|
@@ -145028,6 +145058,7 @@ declare function applyProjectActionsLocally(input: Input): {
|
|
|
145028
145058
|
sortOrder: number;
|
|
145029
145059
|
createdByUserId: string;
|
|
145030
145060
|
projectId: string;
|
|
145061
|
+
initialPrompt: string;
|
|
145031
145062
|
updatedAt?: Date | undefined;
|
|
145032
145063
|
sectionId?: string | undefined;
|
|
145033
145064
|
isArchived?: boolean | undefined;
|
|
@@ -145092,6 +145123,7 @@ declare class LocalProjectActionExecutor {
|
|
|
145092
145123
|
sortOrder: number;
|
|
145093
145124
|
createdByUserId: string;
|
|
145094
145125
|
projectId: string;
|
|
145126
|
+
initialPrompt: string;
|
|
145095
145127
|
updatedAt?: Date | undefined;
|
|
145096
145128
|
sectionId?: string | undefined;
|
|
145097
145129
|
isArchived?: boolean | undefined;
|
|
@@ -145117,6 +145149,17 @@ declare class LocalProjectActionExecutor {
|
|
|
145117
145149
|
};
|
|
145118
145150
|
applyActions(trx: DTOForgeProjectAction[]): void;
|
|
145119
145151
|
applyTransaction(trx: DTOForgeProjectAction): void;
|
|
145152
|
+
calculateSectionSortOrder(items: Map<string, DTOForgeSection>, afterItemId?: string | null): number;
|
|
145153
|
+
calculateItemSortOrder<T extends DTOForgeProjectArtifact | DTOForgeProjectFeature>(items: Map<string, T>, afterItemId?: string | null, sectionId?: string | null): number;
|
|
145154
|
+
calculateSortOrderNoDb(findFirst: (projectId: string, sectionId?: string) => {
|
|
145155
|
+
sortOrder: number;
|
|
145156
|
+
} | null | undefined, findLast: (projectId: string, sectionId?: string) => {
|
|
145157
|
+
sortOrder: number;
|
|
145158
|
+
} | null | undefined, findUnique: (projectId: string, id: string, sectionId?: string) => {
|
|
145159
|
+
sortOrder: number;
|
|
145160
|
+
} | null | undefined, findNext: (projectId: string, sortOrder: number, sectionId?: string) => {
|
|
145161
|
+
sortOrder: number;
|
|
145162
|
+
} | null | undefined, shiftAfter: (projectId: string, sortOrder: number, step: number, sectionId?: string) => void, projectId: string, afterItemId?: string | null, sectionId?: string): number | null;
|
|
145120
145163
|
private artifactCreate;
|
|
145121
145164
|
private artifactUpdate;
|
|
145122
145165
|
private artifactMove;
|
|
@@ -145129,17 +145172,6 @@ declare class LocalProjectActionExecutor {
|
|
|
145129
145172
|
private sectionUpdate;
|
|
145130
145173
|
private sectionMove;
|
|
145131
145174
|
private sectionDelete;
|
|
145132
|
-
calculateSectionSortOrder(items: Map<string, DTOForgeSection>, afterItemId?: string | null): number;
|
|
145133
|
-
calculateItemSortOrder<T extends DTOForgeProjectArtifact | DTOForgeProjectFeature>(items: Map<string, T>, afterItemId?: string | null, sectionId?: string | null): number;
|
|
145134
|
-
calculateSortOrderNoDb(findFirst: (projectId: string, sectionId?: string) => {
|
|
145135
|
-
sortOrder: number;
|
|
145136
|
-
} | null | undefined, findLast: (projectId: string, sectionId?: string) => {
|
|
145137
|
-
sortOrder: number;
|
|
145138
|
-
} | null | undefined, findUnique: (projectId: string, id: string, sectionId?: string) => {
|
|
145139
|
-
sortOrder: number;
|
|
145140
|
-
} | null | undefined, findNext: (projectId: string, sortOrder: number, sectionId?: string) => {
|
|
145141
|
-
sortOrder: number;
|
|
145142
|
-
} | null | undefined, shiftAfter: (projectId: string, sortOrder: number, step: number, sectionId?: string) => void, projectId: string, afterItemId?: string | null, sectionId?: string): number | null;
|
|
145143
145175
|
}
|
|
145144
145176
|
|
|
145145
145177
|
declare enum ParsedFigmaFileURLError {
|
package/dist/index.d.ts
CHANGED
|
@@ -80298,18 +80298,21 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
|
|
|
80298
80298
|
id: z__default.ZodString;
|
|
80299
80299
|
name: z__default.ZodString;
|
|
80300
80300
|
description: z__default.ZodString;
|
|
80301
|
+
initialPrompt: z__default.ZodString;
|
|
80301
80302
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
80302
80303
|
afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
|
|
80303
80304
|
}, "strip", z__default.ZodTypeAny, {
|
|
80304
80305
|
id: string;
|
|
80305
80306
|
name: string;
|
|
80306
80307
|
description: string;
|
|
80308
|
+
initialPrompt: string;
|
|
80307
80309
|
sectionId?: string | undefined;
|
|
80308
80310
|
afterFeatureId?: string | null | undefined;
|
|
80309
80311
|
}, {
|
|
80310
80312
|
id: string;
|
|
80311
80313
|
name: string;
|
|
80312
80314
|
description: string;
|
|
80315
|
+
initialPrompt: string;
|
|
80313
80316
|
sectionId?: string | undefined;
|
|
80314
80317
|
afterFeatureId?: string | null | undefined;
|
|
80315
80318
|
}>;
|
|
@@ -80319,6 +80322,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
|
|
|
80319
80322
|
id: string;
|
|
80320
80323
|
name: string;
|
|
80321
80324
|
description: string;
|
|
80325
|
+
initialPrompt: string;
|
|
80322
80326
|
sectionId?: string | undefined;
|
|
80323
80327
|
afterFeatureId?: string | null | undefined;
|
|
80324
80328
|
};
|
|
@@ -80328,6 +80332,7 @@ declare const DTOForgeProjectActionFeatureCreate: z__default.ZodObject<{
|
|
|
80328
80332
|
id: string;
|
|
80329
80333
|
name: string;
|
|
80330
80334
|
description: string;
|
|
80335
|
+
initialPrompt: string;
|
|
80331
80336
|
sectionId?: string | undefined;
|
|
80332
80337
|
afterFeatureId?: string | null | undefined;
|
|
80333
80338
|
};
|
|
@@ -80684,18 +80689,21 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
|
|
|
80684
80689
|
id: z__default.ZodString;
|
|
80685
80690
|
name: z__default.ZodString;
|
|
80686
80691
|
description: z__default.ZodString;
|
|
80692
|
+
initialPrompt: z__default.ZodString;
|
|
80687
80693
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
80688
80694
|
afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
|
|
80689
80695
|
}, "strip", z__default.ZodTypeAny, {
|
|
80690
80696
|
id: string;
|
|
80691
80697
|
name: string;
|
|
80692
80698
|
description: string;
|
|
80699
|
+
initialPrompt: string;
|
|
80693
80700
|
sectionId?: string | undefined;
|
|
80694
80701
|
afterFeatureId?: string | null | undefined;
|
|
80695
80702
|
}, {
|
|
80696
80703
|
id: string;
|
|
80697
80704
|
name: string;
|
|
80698
80705
|
description: string;
|
|
80706
|
+
initialPrompt: string;
|
|
80699
80707
|
sectionId?: string | undefined;
|
|
80700
80708
|
afterFeatureId?: string | null | undefined;
|
|
80701
80709
|
}>;
|
|
@@ -80705,6 +80713,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
|
|
|
80705
80713
|
id: string;
|
|
80706
80714
|
name: string;
|
|
80707
80715
|
description: string;
|
|
80716
|
+
initialPrompt: string;
|
|
80708
80717
|
sectionId?: string | undefined;
|
|
80709
80718
|
afterFeatureId?: string | null | undefined;
|
|
80710
80719
|
};
|
|
@@ -80714,6 +80723,7 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
|
|
|
80714
80723
|
id: string;
|
|
80715
80724
|
name: string;
|
|
80716
80725
|
description: string;
|
|
80726
|
+
initialPrompt: string;
|
|
80717
80727
|
sectionId?: string | undefined;
|
|
80718
80728
|
afterFeatureId?: string | null | undefined;
|
|
80719
80729
|
};
|
|
@@ -83199,6 +83209,7 @@ declare const DTOForgeProjectFeature: z__default.ZodObject<{
|
|
|
83199
83209
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
83200
83210
|
sortOrder: z__default.ZodDefault<z__default.ZodNumber>;
|
|
83201
83211
|
status: z__default.ZodDefault<z__default.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
|
|
83212
|
+
initialPrompt: z__default.ZodString;
|
|
83202
83213
|
updatedAt: z__default.ZodOptional<z__default.ZodDate>;
|
|
83203
83214
|
}, "strip", z__default.ZodTypeAny, {
|
|
83204
83215
|
status: "Draft" | "ReadyForDevelopment";
|
|
@@ -83209,6 +83220,7 @@ declare const DTOForgeProjectFeature: z__default.ZodObject<{
|
|
|
83209
83220
|
sortOrder: number;
|
|
83210
83221
|
createdByUserId: string;
|
|
83211
83222
|
projectId: string;
|
|
83223
|
+
initialPrompt: string;
|
|
83212
83224
|
updatedAt?: Date | undefined;
|
|
83213
83225
|
sectionId?: string | undefined;
|
|
83214
83226
|
isArchived?: boolean | undefined;
|
|
@@ -83219,6 +83231,7 @@ declare const DTOForgeProjectFeature: z__default.ZodObject<{
|
|
|
83219
83231
|
description: string;
|
|
83220
83232
|
createdByUserId: string;
|
|
83221
83233
|
projectId: string;
|
|
83234
|
+
initialPrompt: string;
|
|
83222
83235
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83223
83236
|
updatedAt?: Date | undefined;
|
|
83224
83237
|
sortOrder?: number | undefined;
|
|
@@ -83238,6 +83251,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83238
83251
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
83239
83252
|
sortOrder: z__default.ZodDefault<z__default.ZodNumber>;
|
|
83240
83253
|
status: z__default.ZodDefault<z__default.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
|
|
83254
|
+
initialPrompt: z__default.ZodString;
|
|
83241
83255
|
updatedAt: z__default.ZodOptional<z__default.ZodDate>;
|
|
83242
83256
|
}, "strip", z__default.ZodTypeAny, {
|
|
83243
83257
|
status: "Draft" | "ReadyForDevelopment";
|
|
@@ -83248,6 +83262,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83248
83262
|
sortOrder: number;
|
|
83249
83263
|
createdByUserId: string;
|
|
83250
83264
|
projectId: string;
|
|
83265
|
+
initialPrompt: string;
|
|
83251
83266
|
updatedAt?: Date | undefined;
|
|
83252
83267
|
sectionId?: string | undefined;
|
|
83253
83268
|
isArchived?: boolean | undefined;
|
|
@@ -83258,6 +83273,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83258
83273
|
description: string;
|
|
83259
83274
|
createdByUserId: string;
|
|
83260
83275
|
projectId: string;
|
|
83276
|
+
initialPrompt: string;
|
|
83261
83277
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83262
83278
|
updatedAt?: Date | undefined;
|
|
83263
83279
|
sortOrder?: number | undefined;
|
|
@@ -83274,6 +83290,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83274
83290
|
sortOrder: number;
|
|
83275
83291
|
createdByUserId: string;
|
|
83276
83292
|
projectId: string;
|
|
83293
|
+
initialPrompt: string;
|
|
83277
83294
|
updatedAt?: Date | undefined;
|
|
83278
83295
|
sectionId?: string | undefined;
|
|
83279
83296
|
isArchived?: boolean | undefined;
|
|
@@ -83286,6 +83303,7 @@ declare const DTOForgeProjectFeatureListResponse: z__default.ZodObject<{
|
|
|
83286
83303
|
description: string;
|
|
83287
83304
|
createdByUserId: string;
|
|
83288
83305
|
projectId: string;
|
|
83306
|
+
initialPrompt: string;
|
|
83289
83307
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83290
83308
|
updatedAt?: Date | undefined;
|
|
83291
83309
|
sortOrder?: number | undefined;
|
|
@@ -83298,18 +83316,21 @@ declare const DTOForgeProjectFeatureCreateInput: z__default.ZodObject<{
|
|
|
83298
83316
|
id: z__default.ZodString;
|
|
83299
83317
|
name: z__default.ZodString;
|
|
83300
83318
|
description: z__default.ZodString;
|
|
83319
|
+
initialPrompt: z__default.ZodString;
|
|
83301
83320
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
83302
83321
|
afterFeatureId: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
|
|
83303
83322
|
}, "strip", z__default.ZodTypeAny, {
|
|
83304
83323
|
id: string;
|
|
83305
83324
|
name: string;
|
|
83306
83325
|
description: string;
|
|
83326
|
+
initialPrompt: string;
|
|
83307
83327
|
sectionId?: string | undefined;
|
|
83308
83328
|
afterFeatureId?: string | null | undefined;
|
|
83309
83329
|
}, {
|
|
83310
83330
|
id: string;
|
|
83311
83331
|
name: string;
|
|
83312
83332
|
description: string;
|
|
83333
|
+
initialPrompt: string;
|
|
83313
83334
|
sectionId?: string | undefined;
|
|
83314
83335
|
afterFeatureId?: string | null | undefined;
|
|
83315
83336
|
}>;
|
|
@@ -83368,6 +83389,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83368
83389
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
83369
83390
|
sortOrder: z__default.ZodDefault<z__default.ZodNumber>;
|
|
83370
83391
|
status: z__default.ZodDefault<z__default.ZodEnum<["Draft", "ReadyForDevelopment"]>>;
|
|
83392
|
+
initialPrompt: z__default.ZodString;
|
|
83371
83393
|
updatedAt: z__default.ZodOptional<z__default.ZodDate>;
|
|
83372
83394
|
}, "strip", z__default.ZodTypeAny, {
|
|
83373
83395
|
status: "Draft" | "ReadyForDevelopment";
|
|
@@ -83378,6 +83400,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83378
83400
|
sortOrder: number;
|
|
83379
83401
|
createdByUserId: string;
|
|
83380
83402
|
projectId: string;
|
|
83403
|
+
initialPrompt: string;
|
|
83381
83404
|
updatedAt?: Date | undefined;
|
|
83382
83405
|
sectionId?: string | undefined;
|
|
83383
83406
|
isArchived?: boolean | undefined;
|
|
@@ -83388,6 +83411,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83388
83411
|
description: string;
|
|
83389
83412
|
createdByUserId: string;
|
|
83390
83413
|
projectId: string;
|
|
83414
|
+
initialPrompt: string;
|
|
83391
83415
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83392
83416
|
updatedAt?: Date | undefined;
|
|
83393
83417
|
sortOrder?: number | undefined;
|
|
@@ -83404,6 +83428,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83404
83428
|
sortOrder: number;
|
|
83405
83429
|
createdByUserId: string;
|
|
83406
83430
|
projectId: string;
|
|
83431
|
+
initialPrompt: string;
|
|
83407
83432
|
updatedAt?: Date | undefined;
|
|
83408
83433
|
sectionId?: string | undefined;
|
|
83409
83434
|
isArchived?: boolean | undefined;
|
|
@@ -83416,6 +83441,7 @@ declare const DTOForgeProjectFeatureGetResponse: z__default.ZodObject<{
|
|
|
83416
83441
|
description: string;
|
|
83417
83442
|
createdByUserId: string;
|
|
83418
83443
|
projectId: string;
|
|
83444
|
+
initialPrompt: string;
|
|
83419
83445
|
status?: "Draft" | "ReadyForDevelopment" | undefined;
|
|
83420
83446
|
updatedAt?: Date | undefined;
|
|
83421
83447
|
sortOrder?: number | undefined;
|
|
@@ -140448,6 +140474,7 @@ declare class ForgeFeaturesEndpoint {
|
|
|
140448
140474
|
sortOrder: number;
|
|
140449
140475
|
createdByUserId: string;
|
|
140450
140476
|
projectId: string;
|
|
140477
|
+
initialPrompt: string;
|
|
140451
140478
|
updatedAt?: Date | undefined;
|
|
140452
140479
|
sectionId?: string | undefined;
|
|
140453
140480
|
isArchived?: boolean | undefined;
|
|
@@ -140463,6 +140490,7 @@ declare class ForgeFeaturesEndpoint {
|
|
|
140463
140490
|
sortOrder: number;
|
|
140464
140491
|
createdByUserId: string;
|
|
140465
140492
|
projectId: string;
|
|
140493
|
+
initialPrompt: string;
|
|
140466
140494
|
updatedAt?: Date | undefined;
|
|
140467
140495
|
sectionId?: string | undefined;
|
|
140468
140496
|
isArchived?: boolean | undefined;
|
|
@@ -141711,6 +141739,7 @@ declare class ForgeProjectFeaturesEndpoint {
|
|
|
141711
141739
|
sortOrder: number;
|
|
141712
141740
|
createdByUserId: string;
|
|
141713
141741
|
projectId: string;
|
|
141742
|
+
initialPrompt: string;
|
|
141714
141743
|
updatedAt?: Date | undefined;
|
|
141715
141744
|
sectionId?: string | undefined;
|
|
141716
141745
|
isArchived?: boolean | undefined;
|
|
@@ -141726,6 +141755,7 @@ declare class ForgeProjectFeaturesEndpoint {
|
|
|
141726
141755
|
sortOrder: number;
|
|
141727
141756
|
createdByUserId: string;
|
|
141728
141757
|
projectId: string;
|
|
141758
|
+
initialPrompt: string;
|
|
141729
141759
|
updatedAt?: Date | undefined;
|
|
141730
141760
|
sectionId?: string | undefined;
|
|
141731
141761
|
isArchived?: boolean | undefined;
|
|
@@ -145028,6 +145058,7 @@ declare function applyProjectActionsLocally(input: Input): {
|
|
|
145028
145058
|
sortOrder: number;
|
|
145029
145059
|
createdByUserId: string;
|
|
145030
145060
|
projectId: string;
|
|
145061
|
+
initialPrompt: string;
|
|
145031
145062
|
updatedAt?: Date | undefined;
|
|
145032
145063
|
sectionId?: string | undefined;
|
|
145033
145064
|
isArchived?: boolean | undefined;
|
|
@@ -145092,6 +145123,7 @@ declare class LocalProjectActionExecutor {
|
|
|
145092
145123
|
sortOrder: number;
|
|
145093
145124
|
createdByUserId: string;
|
|
145094
145125
|
projectId: string;
|
|
145126
|
+
initialPrompt: string;
|
|
145095
145127
|
updatedAt?: Date | undefined;
|
|
145096
145128
|
sectionId?: string | undefined;
|
|
145097
145129
|
isArchived?: boolean | undefined;
|
|
@@ -145117,6 +145149,17 @@ declare class LocalProjectActionExecutor {
|
|
|
145117
145149
|
};
|
|
145118
145150
|
applyActions(trx: DTOForgeProjectAction[]): void;
|
|
145119
145151
|
applyTransaction(trx: DTOForgeProjectAction): void;
|
|
145152
|
+
calculateSectionSortOrder(items: Map<string, DTOForgeSection>, afterItemId?: string | null): number;
|
|
145153
|
+
calculateItemSortOrder<T extends DTOForgeProjectArtifact | DTOForgeProjectFeature>(items: Map<string, T>, afterItemId?: string | null, sectionId?: string | null): number;
|
|
145154
|
+
calculateSortOrderNoDb(findFirst: (projectId: string, sectionId?: string) => {
|
|
145155
|
+
sortOrder: number;
|
|
145156
|
+
} | null | undefined, findLast: (projectId: string, sectionId?: string) => {
|
|
145157
|
+
sortOrder: number;
|
|
145158
|
+
} | null | undefined, findUnique: (projectId: string, id: string, sectionId?: string) => {
|
|
145159
|
+
sortOrder: number;
|
|
145160
|
+
} | null | undefined, findNext: (projectId: string, sortOrder: number, sectionId?: string) => {
|
|
145161
|
+
sortOrder: number;
|
|
145162
|
+
} | null | undefined, shiftAfter: (projectId: string, sortOrder: number, step: number, sectionId?: string) => void, projectId: string, afterItemId?: string | null, sectionId?: string): number | null;
|
|
145120
145163
|
private artifactCreate;
|
|
145121
145164
|
private artifactUpdate;
|
|
145122
145165
|
private artifactMove;
|
|
@@ -145129,17 +145172,6 @@ declare class LocalProjectActionExecutor {
|
|
|
145129
145172
|
private sectionUpdate;
|
|
145130
145173
|
private sectionMove;
|
|
145131
145174
|
private sectionDelete;
|
|
145132
|
-
calculateSectionSortOrder(items: Map<string, DTOForgeSection>, afterItemId?: string | null): number;
|
|
145133
|
-
calculateItemSortOrder<T extends DTOForgeProjectArtifact | DTOForgeProjectFeature>(items: Map<string, T>, afterItemId?: string | null, sectionId?: string | null): number;
|
|
145134
|
-
calculateSortOrderNoDb(findFirst: (projectId: string, sectionId?: string) => {
|
|
145135
|
-
sortOrder: number;
|
|
145136
|
-
} | null | undefined, findLast: (projectId: string, sectionId?: string) => {
|
|
145137
|
-
sortOrder: number;
|
|
145138
|
-
} | null | undefined, findUnique: (projectId: string, id: string, sectionId?: string) => {
|
|
145139
|
-
sortOrder: number;
|
|
145140
|
-
} | null | undefined, findNext: (projectId: string, sortOrder: number, sectionId?: string) => {
|
|
145141
|
-
sortOrder: number;
|
|
145142
|
-
} | null | undefined, shiftAfter: (projectId: string, sortOrder: number, step: number, sectionId?: string) => void, projectId: string, afterItemId?: string | null, sectionId?: string): number | null;
|
|
145143
145175
|
}
|
|
145144
145176
|
|
|
145145
145177
|
declare enum ParsedFigmaFileURLError {
|