This commit is contained in:
Tom Moor
2023-03-09 22:27:40 -05:00
parent e786888dfb
commit af0485fa12
5 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
import { Node, Schema } from "prosemirror-model";
import textBetween from "@shared/editor/lib/textBetween";
import headingToSlug from "../editor/lib/headingToSlug";
import textBetween from "../editor/lib/textBetween";
export type Heading = {
/* The heading in plain text */

View File

@@ -1,4 +1,4 @@
import { NavigationNode } from "@shared/types";
import type { NavigationNode } from "../types";
import naturalSort from "./naturalSort";
type Sort = {

View File

@@ -1,5 +1,5 @@
import { subDays, subMonths, subWeeks, subYears } from "date-fns";
import { DateFilter } from "@shared/types";
import type { DateFilter } from "../types";
export function subtractDate(date: Date, period: DateFilter) {
switch (period) {