mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
chore(dashboard): update dependencies
This commit is contained in:
parent
1b3f188997
commit
c574ad6ecf
31 changed files with 437 additions and 402 deletions
|
|
@ -6,7 +6,7 @@
|
|||
import SystemMain from '../../components/system/Main.svelte';
|
||||
import List from '../../components/list/List.svelte';
|
||||
|
||||
import { System } from '../../api/types';
|
||||
import type { System } from '../../api/types';
|
||||
import api from '../../api';
|
||||
|
||||
// get the state from the navigator so that we know which tab to start on
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
import { useParams, Link, navigate, useLocation } from 'svelte-navigator';
|
||||
import { onMount } from 'svelte';
|
||||
import api from "../../../api";
|
||||
import { Member, Group } from "../../../api/types";
|
||||
import type { Member, Group } from "../../../api/types";
|
||||
import CardsHeader from "../../../components/common/CardsHeader.svelte";
|
||||
import FaUsers from 'svelte-icons/fa/FaUsers.svelte';
|
||||
import FaList from 'svelte-icons/fa/FaList.svelte';
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
import { useParams, Link, navigate, useLocation } from 'svelte-navigator';
|
||||
import { onMount } from 'svelte';
|
||||
import api from "../../../api";
|
||||
import { Member, Group } from "../../../api/types";
|
||||
import type { Member, Group } from "../../../api/types";
|
||||
import CardsHeader from "../../../components/common/CardsHeader.svelte";
|
||||
import FaAddressCard from 'svelte-icons/fa/FaAddressCard.svelte'
|
||||
import FaList from 'svelte-icons/fa/FaList.svelte'
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
import SystemMain from '../../components/system/Main.svelte';
|
||||
import List from '../../components/list/List.svelte';
|
||||
|
||||
import { System } from '../../api/types';
|
||||
import type{ System } from '../../api/types';
|
||||
import api from '../../api';
|
||||
|
||||
let user: System = {};
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import CardsList from '../../components/list/ListView.svelte';
|
||||
import api from '../../api';
|
||||
import { Group, Member } from '../../api/types';
|
||||
import type { Group, Member } from '../../api/types';
|
||||
|
||||
export let isPublic: boolean = false;
|
||||
export let type: string = "member";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
import FaUserLock from 'svelte-icons/fa/FaUserLock.svelte';
|
||||
|
||||
import api from '../../../api';
|
||||
import { GroupPrivacy, System } from '../../../api/types';
|
||||
import type { GroupPrivacy, System } from '../../../api/types';
|
||||
const user: System = JSON.parse(localStorage.getItem("pk-user"));
|
||||
|
||||
if (!user) navigate('/');
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
import FaUserLock from 'svelte-icons/fa/FaUserLock.svelte';
|
||||
|
||||
import api from '../../../api';
|
||||
import { MemberPrivacy, System } from '../../../api/types';
|
||||
import type { MemberPrivacy, System } from '../../../api/types';
|
||||
const user: System = JSON.parse(localStorage.getItem("pk-user"));
|
||||
|
||||
if (!user) navigate('/');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue