svelte-migrate: renamed files

This commit is contained in:
Ruben Fiszel
2022-12-25 05:49:06 +01:00
parent 3b17820533
commit e7cdd72a26
42 changed files with 127 additions and 169 deletions
@@ -0,0 +1,6 @@
export function load({ params }) {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `App ${params.path}` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load({ params }) {
return {
stuff: { title: `App ${params.path}` }
}
}
</script>
<script lang="ts">
import { page } from '$app/stores'
import AppPreview from '$lib/components/apps/editor/AppPreview.svelte'
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Audit Logs' }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Audit Logs' }
}
}
</script>
<script lang="ts">
import { AuditService, AuditLog, UserService } from '$lib/gen'
import type { ActionKind } from '$lib/common'
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `New Flow` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: `New Flow` }
}
}
</script>
<script lang="ts">
import { page } from '$app/stores'
import { dirtyStore } from '$lib/components/common/confirmationModal/dirtyStore'
@@ -0,0 +1,6 @@
export function load({ params }) {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `Edit Flow ${params.path}` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load({ params }) {
return {
stuff: { title: `Edit Flow ${params.path}` }
}
}
</script>
<script lang="ts">
import { FlowService, type Flow } from '$lib/gen'
@@ -0,0 +1,6 @@
export function load({ params }) {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `Flow ${params.path}` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load({ params }) {
return {
stuff: { title: `Flow ${params.path}` }
}
}
</script>
<script lang="ts">
import { page } from '$app/stores'
import { FlowService, JobService, ScheduleService, type Flow, type Schedule } from '$lib/gen'
@@ -0,0 +1,6 @@
export function load({ params }) {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `Run Flow ${params.path}` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load({ params }) {
return {
stuff: { title: `Run Flow ${params.path}` }
}
}
</script>
<script lang="ts">
import { page } from '$app/stores'
import {
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Folders' }
}
}
-8
View File
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Folders' }
}
}
</script>
<script lang="ts">
import type { Folder } from '$lib/gen'
import { FolderService } from '$lib/gen'
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Groups' }
}
}
-8
View File
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Groups' }
}
}
</script>
<script lang="ts">
import type { Group } from '$lib/gen'
import { GroupService } from '$lib/gen'
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Resources' }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Resources' }
}
}
</script>
<script lang="ts">
import { canWrite, emptySchema, removeMarkdown, sendUserToast, truncate } from '$lib/utils'
import { OauthService, ResourceService, type ListableResource } from '$lib/gen'
@@ -0,0 +1,6 @@
export function load({ params }) {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `Run ${params.run}` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load({ params }) {
return {
stuff: { title: `Run ${params.run}` }
}
}
</script>
<script lang="ts">
import { page } from '$app/stores'
import { JobService, Job } from '$lib/gen'
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Runs' }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Runs' }
}
}
</script>
<script lang="ts">
import { onDestroy } from 'svelte'
import { JobService, Job, CompletedJob } from '$lib/gen'
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Schedules' }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Schedules' }
}
}
</script>
<script lang="ts">
import { sendUserToast, displayDate, canWrite } from '$lib/utils'
import { type Schedule, ScheduleService } from '$lib/gen'
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `New Script` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: `New Script` }
}
}
</script>
<script lang="ts">
import { Script, ScriptService } from '$lib/gen'
@@ -0,0 +1,6 @@
export function load({ params }) {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `Edit Script ${params.hash}` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load({ params }) {
return {
stuff: { title: `Edit Script ${params.hash}` }
}
}
</script>
<script lang="ts">
import { ScriptService, type Script } from '$lib/gen'
@@ -0,0 +1,6 @@
export function load({ params }) {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `Script ${params.hash}` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load({ params }) {
return {
stuff: { title: `Script ${params.hash}` }
}
}
</script>
<script lang="ts">
import { page } from '$app/stores'
import { JobService, ScriptService, type Script } from '$lib/gen'
@@ -50,7 +42,7 @@
ButtonPopup,
ButtonPopupItem
} from '$lib/components/common'
import Skeleton from '../../../lib/components/common/skeleton/Skeleton.svelte'
import Skeleton from '../../../../lib/components/common/skeleton/Skeleton.svelte'
import UserSettings from '$lib/components/UserSettings.svelte'
import Icon from 'svelte-awesome'
import RunForm from '$lib/components/RunForm.svelte'
@@ -0,0 +1,6 @@
export function load({ params }) {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: `Run Script ${params.hash}` }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load({ params }) {
return {
stuff: { title: `Run Script ${params.hash}` }
}
}
</script>
<script lang="ts">
import { page } from '$app/stores'
import {
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Login' }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Login' }
}
}
</script>
<script lang="ts">
import { goto } from '$app/navigation'
import { page } from '$app/stores'
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Workspace Selection' }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Workspace Selection' }
}
}
</script>
<script lang="ts">
import { goto } from '$app/navigation'
import { page } from '$app/stores'
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Variables' }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Variables' }
}
}
</script>
<script lang="ts">
import { canWrite, sendUserToast, truncate } from '$lib/utils'
import { OauthService, VariableService } from '$lib/gen'
+6
View File
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Workers' }
}
}
-8
View File
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Workers' }
}
}
</script>
<script lang="ts">
import CenteredPage from '$lib/components/CenteredPage.svelte'
import Badge from '$lib/components/common/badge/Badge.svelte'
@@ -0,0 +1,6 @@
export function load() {
throw new Error("@migration task: Migrate this return statement (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292693)");
return {
stuff: { title: 'Workspace Settings' }
}
}
@@ -1,11 +1,3 @@
<script context="module">
export function load() {
return {
stuff: { title: 'Workspace Settings' }
}
}
</script>
<script lang="ts">
import {
UserService,