| 12 | }).annotate({ identifier: "Location.Ref" }) |
| 13 | |
| 14 | export class Info extends Schema.Class<Info>("Location.Info")({ |
| 15 | directory: AbsolutePath, |
| 16 | workspaceID: optional(WorkspaceID), |
| 17 | project: Schema.Struct({ |
| 18 | id: ProjectID, |
| 19 | directory: AbsolutePath, |
| 20 | }), |
| 21 | }) {} |
| 22 | |
| 23 | export function response<S extends Schema.Top>(data: S) { |
| 24 | return Schema.Struct({ location: Info, data }) |
nothing calls this directly
no test coverage detected