Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions src/lib/workspace/documents/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,11 @@ import type {
} from '../project';
import {
DocumentFormSchema,
DocumentReferenceSchema,
DocumentContentSchema,
DocumentDiagnosticSchema,
RenderedDocumentSchema,
readRenderedDocument,
} from './schema';
export { RenderedDocumentSchema, readRenderedDocument } from './schema';
export { RenderedDocumentSchema } from './schema';
export type DocumentForm = Static<typeof DocumentFormSchema>;
export type DocumentReference = ReadonlyData<
Static<typeof DocumentReferenceSchema>
>;
export type DocumentContent = ReadonlyData<
Static<typeof DocumentContentSchema>
>;
export type DocumentDiagnostic = ReadonlyData<
Static<typeof DocumentDiagnosticSchema>
>;
export type RenderedDocument = ReadonlyData<
Static<typeof RenderedDocumentSchema>
>;
Expand Down
1 change: 0 additions & 1 deletion src/lib/workspace/documents/schema.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Type from 'typebox';
import { validator } from '$lib/contracts/validation';
import { SourceLocationSchema } from '../project/schema';
export { DocumentDefinitionSchema } from '../project/schema';
const closed = { additionalProperties: false };
export const DocumentFormSchema = Type.Union([
Type.Literal('html'),
Expand Down
Loading