@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lota-sdk/shared",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -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') {