@interactive-inc/docs-client 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +6 -6
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -541,7 +541,7 @@ type DocTreeNode = DocTreeFileNode | DocTreeDirectoryNode;
|
|
|
541
541
|
/**
|
|
542
542
|
* Index file type
|
|
543
543
|
*/
|
|
544
|
-
type DocFileIndex<T extends DocCustomSchema> = {
|
|
544
|
+
type DocFileIndex<T extends DocCustomSchema = DocCustomSchema> = {
|
|
545
545
|
type: "index";
|
|
546
546
|
path: DocFilePath;
|
|
547
547
|
isArchived: boolean;
|
|
@@ -566,7 +566,7 @@ type MultiRelationKeys<T extends DocCustomSchema> = {
|
|
|
566
566
|
/**
|
|
567
567
|
* Markdown file type (excluding index.md)
|
|
568
568
|
*/
|
|
569
|
-
type DocFileMd<T extends DocCustomSchema> = {
|
|
569
|
+
type DocFileMd<T extends DocCustomSchema = DocCustomSchema> = {
|
|
570
570
|
type: "markdown";
|
|
571
571
|
path: DocFilePath;
|
|
572
572
|
isArchived: boolean;
|
|
@@ -579,11 +579,11 @@ type DocFileUnknown = z.infer<typeof zDocFileUnknown>;
|
|
|
579
579
|
/**
|
|
580
580
|
* File union type (index.md, regular md, other)
|
|
581
581
|
*/
|
|
582
|
-
type DocFile<T extends DocCustomSchema> = DocFileIndex<T> | DocFileMd<T> | DocFileUnknown;
|
|
582
|
+
type DocFile<T extends DocCustomSchema = DocCustomSchema> = DocFileIndex<T> | DocFileMd<T> | DocFileUnknown;
|
|
583
583
|
/**
|
|
584
584
|
* Directory FrontMatter type
|
|
585
585
|
*/
|
|
586
|
-
type DocFileIndexMeta<T extends DocCustomSchema> = {
|
|
586
|
+
type DocFileIndexMeta<T extends DocCustomSchema = DocCustomSchema> = {
|
|
587
587
|
type: "index-meta";
|
|
588
588
|
icon: string | null;
|
|
589
589
|
schema: DocFileIndexSchema<keyof T>;
|
|
@@ -607,7 +607,7 @@ type DocFilePath = z.infer<typeof zDocFilePath>;
|
|
|
607
607
|
/**
|
|
608
608
|
* Markdown content information type
|
|
609
609
|
*/
|
|
610
|
-
type DocFileMdContent<T extends DocCustomSchema> = {
|
|
610
|
+
type DocFileMdContent<T extends DocCustomSchema = DocCustomSchema> = {
|
|
611
611
|
type: "markdown-content";
|
|
612
612
|
body: string;
|
|
613
613
|
title: string;
|
|
@@ -617,7 +617,7 @@ type DocFileMdContent<T extends DocCustomSchema> = {
|
|
|
617
617
|
/**
|
|
618
618
|
* Index file content information type
|
|
619
619
|
*/
|
|
620
|
-
type DocFileIndexContent<T extends DocCustomSchema> = {
|
|
620
|
+
type DocFileIndexContent<T extends DocCustomSchema = DocCustomSchema> = {
|
|
621
621
|
type: "markdown-index";
|
|
622
622
|
body: string;
|
|
623
623
|
title: string;
|