Track HiveGrid Cloud planning reference

This commit is contained in:
david committed 2026-06-26 20:48:01 +02:00
1 parent b3d5ea6764
commit e341c5938a
5784 files changed
+1104929 -3

No files matched your search

@@ -0,0 +1,30 @@
import type { MetaTagsDto } from "~/application/dtos/seo/MetaTagsDto";
export type KbArticleDto = {
id: string;
createdAt: Date;
updatedAt: Date | null;
slug: string;
title: string;
description: string;
order: number;
contentDraft: string;
contentPublished: string;
contentPublishedAsText: string;
contentType: "markdown" | "wysiwyg";
language: string;
featuredOrder: number | null;
createdByUser: {
firstName: string;
lastName: string;
avatar: string | null;
} | null;
seoImage: string;
publishedAt: Date | null;
href: string;
sectionId: string | null;
relatedArticles: { order: number; title: string; slug: string; href: string }[];
metatags: MetaTagsDto;
// tags: KnowledgeBaseTagDto[];
// reactions: KnowledgeBaseArticleReactionDto[];
};
@@ -0,0 +1,27 @@
import type { KbCategorySectionDto } from "./KbCategorySectionDto";
import type { MetaTagsDto } from "~/application/dtos/seo/MetaTagsDto";
export type KbCategoryDto = {
id: string;
slug: string;
order: number;
title: string;
description: string;
icon: string;
language: string;
seoImage: string;
href: string;
sections: KbCategorySectionDto[];
articles: {
id: string;
order: number;
title: string;
description: string;
slug: string;
href: string;
sectionId: string | null;
publishedAt: Date | null;
categoryId: string;
}[];
metatags: MetaTagsDto;
};
@@ -0,0 +1,6 @@
export type KbCategorySectionDto = {
id: string;
order: number;
title: string;
description: string;
};
@@ -0,0 +1,5 @@
export type KbNavLinkDto = {
name: string;
href: string;
order: number;
};
@@ -0,0 +1,6 @@
import { type KbArticleDto } from "./KbArticleDto";
export type KbSearchResultDto = {
query: string;
articles: KbArticleDto[];
};
@@ -0,0 +1,27 @@
import type { MetaTagsDto } from "~/application/dtos/seo/MetaTagsDto";
import type { Colors } from "~/application/enums/shared/Colors";
import { KbNavLinkDto } from "./KbNavLinkDto";
export type KnowledgeBaseDto = {
id: string;
createdAt: Date;
updatedAt: Date | null;
basePath: string;
slug: string;
title: string;
description: string;
defaultLanguage: string;
layout: "list" | "articles" | "grid" | "docs";
color: Colors;
enabled: boolean;
metatags: MetaTagsDto;
languages: string[];
links: KbNavLinkDto[];
logo: string;
seoImage: string;
count: {
categories: number;
articles: number;
views: number;
};
};
@@ -0,0 +1,50 @@
export type KnowledgeBasesTemplateDto = {
knowledgeBases: {
basePath?: string;
slug: string;
title: string;
description: string;
defaultLanguage: string;
layout: string;
color: number;
enabled: boolean;
languages: string[];
links: { name: string; href: string; order: number }[];
logo: string;
seoImage: string;
}[];
categories: {
knowledgeBaseSlug: string;
slug: string;
order: number;
title: string;
description: string;
icon: string;
language: string;
seoImage: string;
sections: {
order: number;
title: string;
description: string;
}[];
}[];
articles: {
knowledgeBaseSlug: string;
categorySlug: string | null;
categorySectionOrder: number | null;
slug: string;
title: string;
description: string;
order: number;
contentDraft: string;
contentPublished: string;
contentPublishedAsText: string;
contentType: string;
language: string;
featuredOrder: number | null;
seoImage: string;
publishedAt: string | null;
createdByUserEmail: string | null;
relatedArticles: { slug: string }[];
}[];
};