mirror of
https://github.com/tale/headplane.git
synced 2026-09-04 11:15:42 +00:00
feat: replace openapi hashing system with /version
Apparently I didn't use my brain cells and rely on the /version endpoint that Headscale has exposed since 0.26 (our lowest supported version). Switching to that significantly simplifies the API surface.
This commit is contained in:
@@ -2,9 +2,9 @@ import { createInterface } from "node:readline";
|
||||
|
||||
import tc from "testcontainers";
|
||||
|
||||
import hashes from "~/openapi-operation-hashes.json";
|
||||
|
||||
export type Version = keyof typeof hashes;
|
||||
// Imported by `env.ts` which owns the canonical version list; keep this
|
||||
// loose to avoid an import cycle.
|
||||
export type Version = string;
|
||||
|
||||
export interface TailscaleNodeEnv {
|
||||
container: tc.StartedTestContainer;
|
||||
|
||||
Reference in New Issue
Block a user