Skip to content

Commit

Permalink
Use @ for imports
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy committed Jan 19, 2024
1 parent 927eb42 commit 0d9f61a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/src/lib/RecipesCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Card from '/@/lib/Card.svelte';
import { getIcon } from '/@/utils/categoriesUtils';
import type { Category } from '@shared/src/models/ICategory';
import { catalog } from '../stores/catalog';
import { catalog } from '/@/stores/catalog';
export let category: Category
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Model.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Tab from '/@/lib/Tab.svelte';
import Route from '/@/Route.svelte';
import MarkdownRenderer from '/@/lib/markdown/MarkdownRenderer.svelte';
import ModelPlayground from './ModelPlayground.svelte';
import { catalog } from '../stores/catalog';
import { catalog } from '/@/stores/catalog';
export let modelId: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Recipe.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { getDisplayName } from '/@/utils/versionControlUtils';
import type { RecipeStatus } from '@shared/src/models/IRecipeStatus';
import { getIcon } from '/@/utils/categoriesUtils';
import RecipeModels from './RecipeModels.svelte';
import { catalog } from '../stores/catalog';
import { catalog } from '/@/stores/catalog';
export let recipeId: string;
Expand Down
16 changes: 8 additions & 8 deletions packages/frontend/src/pages/RecipeModels.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<script lang="ts">
import type { ModelInfo } from '@shared/src/models/IModelInfo';
import Table from '../lib/table/Table.svelte';
import { Column, Row } from '../lib/table/table';
import ModelColumnName from '../lib/table/model/ModelColumnName.svelte';
import ModelColumnRegistry from '../lib/table/model/ModelColumnRegistry.svelte';
import ModelColumnPopularity from '../lib/table/model/ModelColumnPopularity.svelte';
import ModelColumnLicense from '../lib/table/model/ModelColumnLicense.svelte';
import ModelColumnHw from '../lib/table/model/ModelColumnHW.svelte';
import { catalog } from '../stores/catalog';
import Table from '/@/lib/table/Table.svelte';
import { Column, Row } from '/@/lib/table/table';
import ModelColumnName from '/@/lib/table/model/ModelColumnName.svelte';
import ModelColumnRegistry from '/@/lib/table/model/ModelColumnRegistry.svelte';
import ModelColumnPopularity from '/@/lib/table/model/ModelColumnPopularity.svelte';
import ModelColumnLicense from '/@/lib/table/model/ModelColumnLicense.svelte';
import ModelColumnHw from '/@/lib/table/model/ModelColumnHW.svelte';
import { catalog } from '/@/stores/catalog';
export let modelsIds: string[] | undefined;
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Recipes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import NavPage from '/@/lib/NavPage.svelte';
import RecipesCard from '/@/lib/RecipesCard.svelte';
import { RECENT_CATEGORY_ID } from '/@/utils/client';
import { catalog } from '../stores/catalog';
import { catalog } from '/@/stores/catalog';
$: categories = $catalog.categories;
</script>
Expand Down

0 comments on commit 0d9f61a

Please sign in to comment.