mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-11 12:25:42 +03:00
fix: types in ui package
This commit is contained in:
parent
3dfcc5a1a9
commit
5b9991b93c
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseNode, Color } from '$lib/CommitLines/types';
|
||||
import type { BaseNode, Color } from './types';
|
||||
interface Props {
|
||||
baseNode: BaseNode;
|
||||
color: Color;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import Fork from '$lib/CommitLines/Cell/Fork.svelte';
|
||||
import Straight from '$lib/CommitLines/Cell/Straight.svelte';
|
||||
import type { Cell } from '$lib/CommitLines/types';
|
||||
import Fork from './Cell/Fork.svelte';
|
||||
import Straight from './Cell/Straight.svelte';
|
||||
import type { Cell } from './types';
|
||||
|
||||
interface Props {
|
||||
cell: Cell;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { Color, Style } from '$lib/commitLines/types';
|
||||
import type { Color, Style } from '../types';
|
||||
|
||||
interface Props {
|
||||
color: Color;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { Color, Style } from '$lib/CommitLines/types';
|
||||
import type { Color, Style } from '../types';
|
||||
|
||||
interface Props {
|
||||
color: Color;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/utils/tooltip';
|
||||
import { isDefined } from '$lib/utils/typeguards';
|
||||
import type { CommitNode, Color } from '$lib/CommitLines/types';
|
||||
import { tooltip } from '../utils/tooltip';
|
||||
import { isDefined } from '../utils/typeguards';
|
||||
import type { CommitNode, Color } from './types';
|
||||
|
||||
interface Props {
|
||||
commitNode: CommitNode;
|
||||
|
@ -1,9 +1,9 @@
|
||||
<script lang="ts">
|
||||
import BaseNode from '$lib/CommitLines/BaseNode.svelte';
|
||||
import Cell from '$lib/CommitLines/Cell.svelte';
|
||||
import CommitNode from '$lib/CommitLines/CommitNode.svelte';
|
||||
import { pxToRem } from '$lib/utils/pxToRem';
|
||||
import type { Line } from '$lib/CommitLines/types';
|
||||
import BaseNode from './BaseNode.svelte';
|
||||
import Cell from './Cell.svelte';
|
||||
import CommitNode from './CommitNode.svelte';
|
||||
import { pxToRem } from '../utils/pxToRem';
|
||||
import type { Line } from './types';
|
||||
|
||||
interface Props {
|
||||
line: Line;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import Line from '$lib/CommitLines/Line.svelte';
|
||||
import type { LineGroup } from '$lib/CommitLines/types';
|
||||
import Line from './Line.svelte';
|
||||
import type { LineGroup } from './types';
|
||||
|
||||
interface Props {
|
||||
lineGroup: LineGroup;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import type { CommitData, LineGroup, Line, Color } from '$lib/CommitLines/types';
|
||||
import type { CommitData, LineGroup, Line, Color } from './types';
|
||||
|
||||
interface Commits {
|
||||
remoteCommits: CommitData[];
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import LineGroup from '$lib/CommitLines/LineGroup.svelte';
|
||||
import { LineManager } from '$lib/CommitLines/lineManager';
|
||||
import type { CommitData } from '$lib/CommitLines/types';
|
||||
import LineGroup from '../../lib/CommitLines/LineGroup.svelte';
|
||||
import { LineManager } from '../../lib/CommitLines/lineManager';
|
||||
import type { CommitData } from '../../lib/CommitLines/types';
|
||||
|
||||
interface Props {
|
||||
remoteCommits: CommitData[];
|
@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import LineGroup from '$lib/CommitLines/LineGroup.svelte';
|
||||
import type { LineGroup as ILineGroup } from '$lib/CommitLines/types.ts';
|
||||
import LineGroup from '../../lib/CommitLines/LineGroup.svelte';
|
||||
import type { LineGroup as ILineGroup } from '../../lib/CommitLines/types';
|
||||
|
||||
interface Props {
|
||||
lineGroups: ILineGroup[];
|
Loading…
Reference in New Issue
Block a user