( properties: Record<string, JsonSchema>, required: readonly string[] = [], )
| 57 | type CommonInputOptions = { readTargetAlias?: boolean }; |
| 58 | |
| 59 | function commandInputSchema( |
| 60 | properties: Record<string, JsonSchema>, |
| 61 | required: readonly string[] = [], |
| 62 | ): JsonSchema { |
| 63 | return { |
| 64 | type: 'object', |
| 65 | properties: { |
| 66 | ...commonProperties(), |
| 67 | ...properties, |
| 68 | }, |
| 69 | ...(required.length > 0 ? { required } : {}), |
| 70 | additionalProperties: false, |
| 71 | }; |
| 72 | } |
| 73 | |
| 74 | function pointSchema(description: string): JsonSchema { |
| 75 | return { |
no test coverage detected
searching dependent graphs…