refactor: generalize API library

This commit is contained in:
spiral 2022-02-01 15:24:45 -05:00
parent 6d2fa78767
commit e74b5e1c13
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
26 changed files with 229 additions and 487 deletions

View file

@ -1,10 +1,11 @@
<script lang="ts">
import { Card, CardHeader, CardBody, CardTitle, Row, Col, Button, Spinner } from 'sveltestrap';
import FaUserLock from 'svelte-icons/fa/FaUserLock.svelte';
import type Sys from '../../api/system';
import PrivacyEdit from './PrivacyEdit.svelte';
export let user: Sys;
import { System } from '../../api/types';
export let user: System;
let editMode = false;
let loading: boolean;