@lota-sdk/shared 0.4.2 → 0.4.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/package.json +1 -1
- package/src/schemas/tools.ts +7 -0
package/package.json
CHANGED
package/src/schemas/tools.ts
CHANGED
|
@@ -188,6 +188,13 @@ export const ExecutionPlanArgsSchema = ExecutionPlanBaseArgsSchema.superRefine((
|
|
|
188
188
|
addUnexpectedExecutionPlanFieldIssue(ctx, path, `${path} is not allowed when action is "create-project".`)
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
+
if (value.projectTitle === undefined && value.targetThreadId === undefined) {
|
|
192
|
+
addMissingExecutionPlanFieldIssue(
|
|
193
|
+
ctx,
|
|
194
|
+
'projectTitle',
|
|
195
|
+
'Either projectTitle or targetThreadId is required for create-project.',
|
|
196
|
+
)
|
|
197
|
+
}
|
|
191
198
|
}
|
|
192
199
|
|
|
193
200
|
if (value.action === 'replace') {
|