Skip to content

Commit

Permalink
merge pull request #47 from mnenie/dev
Browse files Browse the repository at this point in the history
fix: fsd -> fixtures
  • Loading branch information
mnenie authored Aug 30, 2024
2 parents 3534805 + ac423b2 commit 06e75a8
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/entities/template/model/fixtures/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './templates';
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { Template } from '../model';
import type { Template } from '../../model';

// mocks -> after data from backend
export const templatesInfo: Template[] = [
{
id: '0',
Expand Down
2 changes: 1 addition & 1 deletion src/entities/template/model/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './types';
export * from './templates';
export * from './fixtures';
1 change: 1 addition & 0 deletions src/features/auth/model/fixtures/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './reviews';
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { markRaw } from 'vue';
import type { Review } from '../lib/types';
import type { Review } from '../../lib/types';

export const reviews = markRaw<Review[]>([
// mocks -> after data from backend
export const reviews: Review[] = [
{
id: '0',
author: '@alexpeshkov',
Expand All @@ -17,4 +17,4 @@ export const reviews = markRaw<Review[]>([
author: '@alexpeshkov',
text: `So, Jenda is just 🔥 Now I understand why many people like to use it.`
}
]);
];
2 changes: 1 addition & 1 deletion src/features/auth/model/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './reviews';
export * from './fixtures';
export * from './validation';
File renamed without changes.
1 change: 1 addition & 0 deletions src/widgets/layout/model/fixtures/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './header';
3 changes: 2 additions & 1 deletion src/widgets/layout/model/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from './header';
export * from './fixtures';
export * from './links';
export * from './types';
2 changes: 1 addition & 1 deletion src/widgets/layout/model/links.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h, markRaw } from 'vue';
import type { Link } from '../types';
import type { Link } from './types';
import { RouteNames } from '@/shared/config/consts';
import { SquareDashedKanban, Settings, Users, BringToFront } from 'lucide-vue-next';

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/widgets/layout/ui/header/HeaderWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { RouteNames } from '@/shared/config/consts';
import { Globe, Moon, Sun } from 'lucide-vue-next';
import type { Options } from '@/shared/ui/select/types';
import { headerLinks } from '../../model';
import type { HeaderNavLink } from '../../types';
import type { HeaderNavLink } from '../../model';
const isDark = useDark();
const toggleDark = useToggle(isDark);
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/layout/ui/sidebar/WorkSpace.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useRoute } from 'vue-router';
import { useDark } from '@vueuse/core';
import { RouteNames } from '@/shared/config/consts';
import { UiButton } from '@/shared/ui';
import type { Link } from '../../types';
import type { Link } from '../../model';
const props = defineProps<{
links: Link[];
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions src/widgets/welcome/model/fixtures/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './cards';
3 changes: 2 additions & 1 deletion src/widgets/welcome/model/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './cards';
export * from './fixtures';
export * from './types';
File renamed without changes.
2 changes: 1 addition & 1 deletion src/widgets/welcome/ui/MarketingCards.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { computed } from 'vue';
import { useDark } from '@vueuse/core';
import { useI18n } from 'vue-i18n';
import { cardsInfo } from '../model';
import type { MarketingCard } from '../types';
import type { MarketingCard } from '../model';
import { UiCard } from '@/shared/ui';
const { tm } = useI18n();
Expand Down

0 comments on commit 06e75a8

Please sign in to comment.