Skip to content

Commit

Permalink
fix: add json type & circular dep
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushAgrawal-A2 committed Dec 14, 2023
1 parent 4d3c427 commit a8f4309
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ import {
focusBlockByModel,
focusTitle,
} from '../../../_common/utils/selection.js';
import { type ListBlockModel, type PageBlockModel } from '../../../models.js';
import type { ListBlockModel } from '../../../list-block/index.js';
import type { PageBlockModel } from '../../../page-block/index.js';
import type { ExtendedModel } from '../../types.js';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export type Template = {
content: unknown;
asserts?: Record<string, string>;
preview: string;
version?: object;
};

export type TemplateCategory = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const flowChart = {
import type { Template } from '../builtin-templates.js';

export const flowChart: Template = {
name: 'flow chart',
preview: '',
content: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const ganttChart = {
import type { Template } from '../builtin-templates.js';

export const ganttChart: Template = {
name: 'gantt chart',
preview: '',
content: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const kanban = {
import type { Template } from '../builtin-templates.js';

export const kanban: Template = {
name: 'kanban',
preview: '',
content: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const monthlyCalendar = {
import type { Template } from '../builtin-templates.js';

export const monthlyCalendar: Template = {
name: 'monthly calendar',
preview: '',
asserts: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const storyboard = {
import type { Template } from '../builtin-templates.js';

export const storyboard: Template = {
name: 'storyboard',
preview: '',
asserts: {
Expand Down

0 comments on commit a8f4309

Please sign in to comment.