refactor: add interface for wg provider with opnsense implementation

This commit is contained in:
2025-03-16 00:11:31 -07:00
parent e9d4be1d53
commit 0e23c8e21c
16 changed files with 369 additions and 255 deletions

View File

@@ -1,6 +1,7 @@
import type { Actions } from './$types';
import { createDevice } from '$lib/server/devices';
import { error, fail, redirect } from '@sveltejs/kit';
import wgProvider from '$lib/server/wg-provider';
export const actions = {
create: async (event) => {