mirror of
https://github.com/tale/headplane.git
synced 2026-08-18 17:06:17 +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:
@@ -171,7 +171,7 @@ export interface AppRuntime {
|
||||
db: DbClient;
|
||||
auth: AuthService;
|
||||
oidc?: OidcService;
|
||||
hsApi: HeadscaleInterface;
|
||||
headscale: Headscale;
|
||||
agents?: AgentManager;
|
||||
stop(): Promise<void>;
|
||||
}
|
||||
@@ -300,7 +300,7 @@ function createTestRuntime(overrides: Partial<AppRuntime> = {}): AppRuntime {
|
||||
config: testConfig,
|
||||
db: createTestDb(),
|
||||
auth: createTestAuth(),
|
||||
hsApi: createTestHsApi(),
|
||||
headscale: createTestHeadscale(),
|
||||
stop: async () => {},
|
||||
...overrides,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user