connect tailscale node status through platform gateway
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { apiRequest } from '../../lib/api';
|
||||
|
||||
export type CommonAppPipeline = {
|
||||
id: string;
|
||||
repository: string;
|
||||
message: string;
|
||||
branch: string;
|
||||
status: string;
|
||||
createdAt: number;
|
||||
url?: string | null;
|
||||
};
|
||||
|
||||
export function listCommonAppPipelines() {
|
||||
return apiRequest<{ repos?: CommonAppPipeline[] }>('/woodpecker/repos')
|
||||
.then((result) => result.repos ?? []);
|
||||
}
|
||||
Reference in New Issue
Block a user