wip: trpc
This commit is contained in:
parent
085cd2a314
commit
0b918c2f51
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 486 B |
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import * as Icons from '$lib/components/svg/applications';
|
import * as Icons from '$lib/components/icons/applications';
|
||||||
export let application: any;
|
export let application: any;
|
||||||
export let isAbsolute = true;
|
export let isAbsolute = true;
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import * as Icons from '$lib/components/svg/databases';
|
import * as Icons from '$lib/components/icons/databases';
|
||||||
export let type: any;
|
export let type: any;
|
||||||
export let isAbsolute = false;
|
export let isAbsolute = false;
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
export { default as RemoteLink } from './RemoteLink.svelte';
|
export { default as RemoteLink } from './RemoteLink.svelte';
|
||||||
|
export { default as Delete } from './Delete.svelte';
|
||||||
export * as Applications from './applications';
|
export * as Applications from './applications';
|
||||||
export * as Sources from './sources';
|
export * as Sources from './sources';
|
||||||
export * as Destinations from './destinations';
|
export * as Destinations from './destinations';
|
||||||
|
@ -7,11 +7,10 @@
|
|||||||
|
|
||||||
import { asyncSleep, errorNotification, getRndInteger } from '$lib/common';
|
import { asyncSleep, errorNotification, getRndInteger } from '$lib/common';
|
||||||
import { appSession, search, trpc } from '$lib/store';
|
import { appSession, search, trpc } from '$lib/store';
|
||||||
import ApplicationsIcons from '$lib/components/svg/applications/ApplicationIcons.svelte';
|
import ApplicationsIcons from '$lib/components/icons/applications/ApplicationIcons.svelte';
|
||||||
import DatabaseIcons from '$lib/components/svg/databases/DatabaseIcons.svelte';
|
import DatabaseIcons from '$lib/components/icons/databases/DatabaseIcons.svelte';
|
||||||
import ServiceIcons from '$lib/components/svg/services/ServiceIcons.svelte';
|
import ServiceIcons from '$lib/components/icons/services/ServiceIcons.svelte';
|
||||||
import DeleteIcon from '$lib/components/DeleteIcon.svelte';
|
import * as Icons from '$lib/components/icons';
|
||||||
|
|
||||||
import NewResource from './_components/NewResource.svelte';
|
import NewResource from './_components/NewResource.svelte';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
@ -769,7 +768,7 @@
|
|||||||
<button
|
<button
|
||||||
class="icons hover:bg-green-500"
|
class="icons hover:bg-green-500"
|
||||||
on:click|stopPropagation|preventDefault={() =>
|
on:click|stopPropagation|preventDefault={() =>
|
||||||
deleteApplication(application.id)}><DeleteIcon /></button
|
deleteApplication(application.id)}><Icons.Delete /></button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -882,7 +881,7 @@
|
|||||||
<button
|
<button
|
||||||
class="icons hover:bg-green-500"
|
class="icons hover:bg-green-500"
|
||||||
on:click|stopPropagation|preventDefault={() =>
|
on:click|stopPropagation|preventDefault={() =>
|
||||||
deleteApplication(application.id)}><DeleteIcon /></button
|
deleteApplication(application.id)}><Icons.Delete /></button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -977,7 +976,7 @@
|
|||||||
<button
|
<button
|
||||||
class="icons hover:bg-pink-500"
|
class="icons hover:bg-pink-500"
|
||||||
on:click|stopPropagation|preventDefault={() => deleteService(service.id)}
|
on:click|stopPropagation|preventDefault={() => deleteService(service.id)}
|
||||||
><DeleteIcon /></button
|
><Icons.Delete /></button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1063,7 +1062,7 @@
|
|||||||
<button
|
<button
|
||||||
class="icons hover:bg-pink-500"
|
class="icons hover:bg-pink-500"
|
||||||
on:click|stopPropagation|preventDefault={() => deleteService(service.id)}
|
on:click|stopPropagation|preventDefault={() => deleteService(service.id)}
|
||||||
><DeleteIcon /></button
|
><Icons.Delete /></button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1159,7 +1158,7 @@
|
|||||||
<button
|
<button
|
||||||
class="icons hover:bg-databases-100"
|
class="icons hover:bg-databases-100"
|
||||||
on:click|stopPropagation|preventDefault={() => deleteDatabase(database.id)}
|
on:click|stopPropagation|preventDefault={() => deleteDatabase(database.id)}
|
||||||
><DeleteIcon /></button
|
><Icons.Delete /></button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1245,7 +1244,7 @@
|
|||||||
<button
|
<button
|
||||||
class="icons hover:bg-databases"
|
class="icons hover:bg-databases"
|
||||||
on:click|stopPropagation|preventDefault={() => deleteDatabase(database.id)}
|
on:click|stopPropagation|preventDefault={() => deleteDatabase(database.id)}
|
||||||
><DeleteIcon /></button
|
><Icons.Delete /></button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user