feat: add board functionality with articles and comments

- Implemented BoardView for creating and displaying articles with comments.
- Added NationAffairsView for managing national policies and financial settings.
- Created ScoutMessageView for editing recruitment messages.
- Introduced database migrations for board_post and board_comment tables.
This commit is contained in:
2026-01-28 14:44:15 +00:00
parent 87fe1edae1
commit bebb0de3c4
17 changed files with 2847 additions and 0 deletions
+2
View File
@@ -32,6 +32,7 @@
},
"dependencies": {
"@fastify/cors": "^11.2.0",
"@fastify/static": "^9.0.0",
"@sammo-ts/common": "workspace:*",
"@sammo-ts/infra": "workspace:*",
"@sammo-ts/logic": "workspace:*",
@@ -40,6 +41,7 @@
"es-toolkit": "^1.43.0",
"fastify": "^5.6.2",
"redis": "^5.10.0",
"sharp": "^0.34.4",
"zod": "^4.3.5"
}
}
+6
View File
@@ -5,6 +5,9 @@ export interface GameApiConfig {
port: number;
trpcPath: string;
eventsPath: string;
uploadPath: string;
uploadDir: string;
uploadPublicUrl: string | null;
profile: string;
scenario: string;
profileName: string;
@@ -34,6 +37,9 @@ export const resolveGameApiConfigFromEnv = (env: NodeJS.ProcessEnv = process.env
port: parseNumberWithFallback(env.GAME_API_PORT, 14000, 'GAME_API_PORT'),
trpcPath: env.GAME_TRPC_PATH ?? env.TRPC_PATH ?? '/trpc',
eventsPath: env.GAME_API_EVENTS_PATH ?? '/events',
uploadPath: env.GAME_UPLOAD_PATH ?? '/uploads',
uploadDir: env.GAME_UPLOAD_DIR ?? 'uploads',
uploadPublicUrl: env.GAME_UPLOAD_PUBLIC_URL ?? null,
profile,
scenario,
profileName,
+9
View File
@@ -66,6 +66,9 @@ export interface GameApiContext {
turnDaemon: TurnDaemonTransport;
battleSim: BattleSimTransport;
profile: GameProfile;
uploadDir: string;
uploadPath: string;
uploadPublicUrl: string | null;
auth: GameSessionTokenPayload | null;
accessTokenStore: RedisAccessTokenStore;
flushStore: FlushStore;
@@ -78,6 +81,9 @@ export const createGameApiContext = (options: {
turnDaemon: TurnDaemonTransport;
battleSim: BattleSimTransport;
profile: GameProfile;
uploadDir: string;
uploadPath: string;
uploadPublicUrl: string | null;
auth: GameSessionTokenPayload | null;
accessTokenStore: RedisAccessTokenStore;
flushStore: FlushStore;
@@ -89,6 +95,9 @@ export const createGameApiContext = (options: {
turnDaemon: options.turnDaemon,
battleSim: options.battleSim,
profile: options.profile,
uploadDir: options.uploadDir,
uploadPath: options.uploadPath,
uploadPublicUrl: options.uploadPublicUrl,
auth: options.auth,
accessTokenStore: options.accessTokenStore,
flushStore: options.flushStore,
+2
View File
@@ -17,6 +17,7 @@ import { turnsRouter } from './router/turns/index.js';
import { worldRouter } from './router/world/index.js';
import { auctionRouter } from './router/auction/index.js';
import { tournamentRouter } from './router/tournament/index.js';
import { boardRouter } from './router/board/index.js';
export const appRouter = router({
health: healthRouter,
@@ -36,6 +37,7 @@ export const appRouter = router({
turnDaemon: turnDaemonRouter,
auction: auctionRouter,
tournament: tournamentRouter,
board: boardRouter,
});
export type AppRouter = typeof appRouter;
+306
View File
@@ -0,0 +1,306 @@
import { TRPCError } from '@trpc/server';
import { z } from 'zod';
import path from 'path';
import { promises as fs } from 'fs';
import { randomUUID } from 'crypto';
import sharp, { type WebpOptions } from 'sharp';
import { GamePrisma } from '@sammo-ts/infra';
import { authedProcedure, router } from '../../trpc.js';
import { getMyGeneral } from '../shared/general.js';
const MAX_UPLOAD_BYTES = 1024 * 1024;
const MAX_LONG_EDGE = 2048;
const WEBP_QUALITY = 80;
const WEBP_MIN_SAVING_RATIO = 0.97;
const resolveSecretPermission = (officerLevel: number): number => {
if (officerLevel >= 5) return 2;
if (officerLevel > 1) return 1;
return 0;
};
const assertBoardAccess = (nationId: number, officerLevel: number, isSecret: boolean) => {
if (nationId <= 0 || officerLevel <= 0) {
throw new TRPCError({ code: 'FORBIDDEN', message: '국가에 소속되어있지 않습니다.' });
}
if (isSecret && resolveSecretPermission(officerLevel) < 2) {
throw new TRPCError({ code: 'FORBIDDEN', message: '권한이 부족합니다. 수뇌부가 아닙니다.' });
}
};
const normalizeUploadPath = (value: string) => {
if (!value.startsWith('/')) {
return `/${value}`;
}
return value.replace(/\/$/, '');
};
const buildPublicImageUrl = (uploadPublicUrl: string | null, uploadPath: string, filename: string) => {
if (uploadPublicUrl) {
return `${uploadPublicUrl.replace(/\/$/, '')}/${filename}`;
}
const normalizedPath = normalizeUploadPath(uploadPath);
return `${normalizedPath}/${filename}`;
};
const parseDataUrl = (dataUrl: string): Buffer => {
const match = dataUrl.match(/^data:([^;]+);base64,(.+)$/);
if (match) {
return Buffer.from(match[2], 'base64');
}
return Buffer.from(dataUrl, 'base64');
};
type WebpOptionsWithAnimation = WebpOptions & { animated?: boolean };
const buildWebpBuffer = async (
buffer: Buffer,
{ animated, resize }: { animated: boolean; resize: boolean }
): Promise<Buffer> => {
let pipeline = sharp(buffer, { animated: true });
if (resize) {
pipeline = pipeline.resize({
width: MAX_LONG_EDGE,
height: MAX_LONG_EDGE,
fit: 'inside',
withoutEnlargement: true,
});
}
const webpOptions: WebpOptionsWithAnimation = {
quality: WEBP_QUALITY,
effort: 4,
alphaQuality: WEBP_QUALITY,
loop: 0,
...(animated ? { animated: true } : {}),
};
return pipeline.webp(webpOptions).toBuffer();
};
const buildAvifBuffer = async (buffer: Buffer, resize: boolean): Promise<Buffer> => {
let pipeline = sharp(buffer, { animated: true });
if (resize) {
pipeline = pipeline.resize({
width: MAX_LONG_EDGE,
height: MAX_LONG_EDGE,
fit: 'inside',
withoutEnlargement: true,
});
}
return pipeline.avif({ quality: 60, effort: 4 }).toBuffer();
};
type BoardPostRow = {
id: number;
nation_id: number;
is_secret: boolean;
author_general_id: number;
author_name: string;
title: string;
content_html: string;
created_at: Date;
};
type BoardCommentRow = {
id: number;
post_id: number;
author_general_id: number;
author_name: string;
content_text: string;
created_at: Date;
};
export const boardRouter = router({
getArticles: authedProcedure
.input(z.object({ isSecret: z.boolean() }))
.query(async ({ ctx, input }) => {
const me = await getMyGeneral(ctx);
assertBoardAccess(me.nationId, me.officerLevel, input.isSecret);
const posts = await ctx.db.$queryRaw<BoardPostRow[]>(GamePrisma.sql`
SELECT
id,
nation_id,
is_secret,
author_general_id,
author_name,
title,
content_html,
created_at
FROM board_post
WHERE nation_id = ${me.nationId} AND is_secret = ${input.isSecret}
ORDER BY created_at DESC
LIMIT 100
`);
if (posts.length === 0) {
return [];
}
const postIds = posts.map((post) => post.id);
const comments = await ctx.db.$queryRaw<BoardCommentRow[]>(GamePrisma.sql`
SELECT
id,
post_id,
author_general_id,
author_name,
content_text,
created_at
FROM board_comment
WHERE post_id IN (${GamePrisma.join(postIds)})
ORDER BY created_at ASC
`);
const commentMap = new Map<number, BoardCommentRow[]>();
for (const comment of comments) {
const list = commentMap.get(comment.post_id) ?? [];
list.push(comment);
commentMap.set(comment.post_id, list);
}
return posts.map((post) => ({
id: post.id,
title: post.title,
contentHtml: post.content_html,
authorName: post.author_name,
createdAt: post.created_at.toISOString(),
comments: (commentMap.get(post.id) ?? []).map((comment) => ({
id: comment.id,
authorName: comment.author_name,
content: comment.content_text,
createdAt: comment.created_at.toISOString(),
})),
}));
}),
writeArticle: authedProcedure
.input(
z.object({
isSecret: z.boolean(),
title: z.string().trim().max(250),
contentHtml: z.string().trim().max(20000),
})
)
.mutation(async ({ ctx, input }) => {
const me = await getMyGeneral(ctx);
assertBoardAccess(me.nationId, me.officerLevel, input.isSecret);
if (!input.title && !input.contentHtml) {
throw new TRPCError({ code: 'BAD_REQUEST', message: '제목 혹은 내용이 필요합니다.' });
}
const rows = await ctx.db.$queryRaw<{ id: number }[]>(GamePrisma.sql`
INSERT INTO board_post (nation_id, is_secret, author_general_id, author_name, title, content_html)
VALUES (${me.nationId}, ${input.isSecret}, ${me.id}, ${me.name}, ${input.title}, ${input.contentHtml})
RETURNING id
`);
return { id: rows[0]?.id ?? null };
}),
writeComment: authedProcedure
.input(
z.object({
postId: z.number().int().positive(),
content: z.string().trim().max(2000),
})
)
.mutation(async ({ ctx, input }) => {
const me = await getMyGeneral(ctx);
if (!input.content) {
throw new TRPCError({ code: 'BAD_REQUEST', message: '내용이 필요합니다.' });
}
const posts = await ctx.db.$queryRaw<{ id: number; nation_id: number; is_secret: boolean }[]>(
GamePrisma.sql`
SELECT id, nation_id, is_secret
FROM board_post
WHERE id = ${input.postId}
LIMIT 1
`
);
const post = posts[0];
if (!post) {
throw new TRPCError({ code: 'NOT_FOUND', message: '게시물을 찾을 수 없습니다.' });
}
assertBoardAccess(me.nationId, me.officerLevel, post.is_secret);
if (post.nation_id !== me.nationId) {
throw new TRPCError({ code: 'FORBIDDEN', message: '권한이 부족합니다.' });
}
const rows = await ctx.db.$queryRaw<{ id: number }[]>(GamePrisma.sql`
INSERT INTO board_comment (post_id, nation_id, is_secret, author_general_id, author_name, content_text)
VALUES (${post.id}, ${me.nationId}, ${post.is_secret}, ${me.id}, ${me.name}, ${input.content})
RETURNING id
`);
return { id: rows[0]?.id ?? null };
}),
uploadImage: authedProcedure
.input(z.object({ dataUrl: z.string().min(1) }))
.mutation(async ({ ctx, input }) => {
const me = await getMyGeneral(ctx);
if (me.nationId <= 0 || me.officerLevel <= 0) {
throw new TRPCError({ code: 'FORBIDDEN', message: '국가에 소속되어있지 않습니다.' });
}
const buffer = parseDataUrl(input.dataUrl);
if (buffer.length > MAX_UPLOAD_BYTES) {
throw new TRPCError({ code: 'PAYLOAD_TOO_LARGE', message: '이미지 용량 제한(1MB)을 초과했습니다.' });
}
const metadata = await sharp(buffer, { animated: true }).metadata();
if (!metadata.format || !metadata.width || !metadata.height) {
throw new TRPCError({ code: 'BAD_REQUEST', message: '이미지 정보를 확인할 수 없습니다.' });
}
const format = metadata.format;
const isAnimated = (metadata.pages ?? 1) > 1;
const needsResize = Math.max(metadata.width, metadata.height) > MAX_LONG_EDGE;
const allowed = new Set(['png', 'jpeg', 'jpg', 'gif', 'webp', 'avif', 'heif', 'tiff', 'bmp']);
if (!allowed.has(format)) {
throw new TRPCError({ code: 'BAD_REQUEST', message: '지원하지 않는 이미지 형식입니다.' });
}
let outputBuffer = buffer;
let outputFormat = format === 'avif' ? 'avif' : 'webp';
if (format === 'avif') {
if (needsResize) {
outputBuffer = await buildAvifBuffer(buffer, true);
}
} else {
const webpBuffer = await buildWebpBuffer(buffer, {
animated: isAnimated || format === 'gif',
resize: needsResize,
});
if (format === 'webp' && !needsResize && webpBuffer.length >= buffer.length * WEBP_MIN_SAVING_RATIO) {
outputBuffer = buffer;
outputFormat = 'webp';
} else {
outputBuffer = webpBuffer;
outputFormat = 'webp';
}
}
await fs.mkdir(ctx.uploadDir, { recursive: true });
const filename = `${randomUUID()}.${outputFormat}`;
await fs.writeFile(path.join(ctx.uploadDir, filename), outputBuffer);
const outputMeta = await sharp(outputBuffer, { animated: true }).metadata();
const url = buildPublicImageUrl(ctx.uploadPublicUrl, ctx.uploadPath, filename);
return {
url,
width: outputMeta.width ?? metadata.width,
height: outputMeta.height ?? metadata.height,
format: outputFormat,
animated: isAnimated,
size: outputBuffer.length,
};
}),
});
+10
View File
@@ -1,5 +1,7 @@
import fastify, { type FastifyRequest } from 'fastify';
import cors from '@fastify/cors';
import fastifyStatic from '@fastify/static';
import path from 'path';
import { fastifyTRPCPlugin } from '@trpc/server/adapters/fastify';
import { buildGameEventChannel } from '@sammo-ts/common';
import type { GameSessionTokenPayload } from '@sammo-ts/common/auth/gameToken';
@@ -96,6 +98,11 @@ export const createGameApiServer = async () => {
credentials: true,
});
await app.register(fastifyStatic, {
root: path.resolve(process.cwd(), config.uploadDir),
prefix: config.uploadPath.endsWith('/') ? config.uploadPath : `${config.uploadPath}/`,
});
await app.register(fastifyTRPCPlugin, {
prefix: config.trpcPath,
trpcOptions: {
@@ -113,6 +120,9 @@ export const createGameApiServer = async () => {
scenario: config.scenario,
name: config.profileName,
},
uploadDir: path.resolve(process.cwd(), config.uploadDir),
uploadPath: config.uploadPath,
uploadPublicUrl: config.uploadPublicUrl,
auth,
accessTokenStore,
flushStore,
@@ -227,6 +227,9 @@ const buildContext = (options: { state: WorldStateRow; battleSim: BattleSimTrans
battleSim: options.battleSim,
profile,
auth,
uploadDir: 'uploads',
uploadPath: '/uploads',
uploadPublicUrl: null,
redis: {} as unknown as RedisConnector['client'],
accessTokenStore,
flushStore: new InMemoryFlushStore(),
+3
View File
@@ -143,6 +143,9 @@ const buildContext = (options?: {
battleSim,
profile,
auth,
uploadDir: 'uploads',
uploadPath: '/uploads',
uploadPublicUrl: null,
redis: {} as unknown as RedisConnector['client'],
accessTokenStore,
flushStore: new InMemoryFlushStore(),
+6
View File
@@ -17,6 +17,12 @@
"@sammo-ts/game-api": "workspace:*",
"@sammo-ts/gateway-api": "workspace:*",
"@sammo-ts/logic": "workspace:*",
"@tiptap/extension-image": "^3.5.0",
"@tiptap/extension-link": "^3.5.0",
"@tiptap/extension-placeholder": "^3.5.0",
"@tiptap/extension-underline": "^3.5.0",
"@tiptap/starter-kit": "^3.5.0",
"@tiptap/vue-3": "^3.5.0",
"@trpc/client": "^11.8.1",
"@trpc/server": "^11.8.1",
"@vueuse/core": "^14.1.0",
+39
View File
@@ -16,6 +16,9 @@ import NotFoundView from '../views/NotFoundView.vue';
import TournamentView from '../views/TournamentView.vue';
import MyPageView from '../views/MyPageView.vue';
import MySettingsView from '../views/MySettingsView.vue';
import BoardView from '../views/BoardView.vue';
import NationAffairsView from '../views/NationAffairsView.vue';
import ScoutMessageView from '../views/ScoutMessageView.vue';
import { useSessionStore } from '../stores/session';
const routes = [
@@ -60,6 +63,24 @@ const routes = [
requiresGeneral: true,
},
},
{
path: '/nation/affairs',
name: 'nation-affairs',
component: NationAffairsView,
meta: {
requiresAuth: true,
requiresGeneral: true,
},
},
{
path: '/nation/recruit-message',
name: 'nation-recruit-message',
component: ScoutMessageView,
meta: {
requiresAuth: true,
requiresGeneral: true,
},
},
{
path: '/nation/generals',
name: 'nation-generals',
@@ -114,6 +135,24 @@ const routes = [
requiresGeneral: true,
},
},
{
path: '/board',
name: 'board',
component: BoardView,
meta: {
requiresAuth: true,
requiresGeneral: true,
},
},
{
path: '/board/secret',
name: 'board-secret',
component: BoardView,
meta: {
requiresAuth: true,
requiresGeneral: true,
},
},
{
path: '/my-page',
name: 'my-page',
+473
View File
@@ -0,0 +1,473 @@
<script setup lang="ts">
import { computed, onBeforeUnmount, onMounted, reactive, ref, watch } from 'vue';
import { useRoute } from 'vue-router';
import { EditorContent, useEditor } from '@tiptap/vue-3';
import StarterKit from '@tiptap/starter-kit';
import Image from '@tiptap/extension-image';
import Link from '@tiptap/extension-link';
import Placeholder from '@tiptap/extension-placeholder';
import Underline from '@tiptap/extension-underline';
import { trpc } from '../utils/trpc';
type BoardComment = {
id: number;
authorName: string;
content: string;
createdAt: string;
};
type BoardArticle = {
id: number;
title: string;
contentHtml: string;
authorName: string;
createdAt: string;
comments: BoardComment[];
};
const route = useRoute();
const isSecretBoard = computed(() => route.name === 'board-secret');
const title = computed(() => (isSecretBoard.value ? '기밀실' : '회의실'));
const toggleBoardLabel = computed(() => (isSecretBoard.value ? '회의실로' : '기밀실로'));
const toggleBoardPath = computed(() => (isSecretBoard.value ? '/board' : '/board/secret'));
const loading = ref(false);
const errorMessage = ref<string | null>(null);
const articles = ref<BoardArticle[]>([]);
const draftTitle = ref('');
const commentDrafts = reactive<Record<number, string>>({});
const editor = useEditor({
extensions: [
StarterKit,
Underline,
Link.configure({ openOnClick: false }),
Image.configure({ inline: false }),
Placeholder.configure({ placeholder: '내용을 입력하세요.' }),
],
content: '',
editorProps: {
attributes: {
class: 'board-editor',
},
},
});
const refreshArticles = async () => {
if (loading.value) return;
loading.value = true;
errorMessage.value = null;
try {
const result = await trpc.board.getArticles.query({ isSecret: isSecretBoard.value });
articles.value = result;
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '게시판을 불러오지 못했습니다.';
} finally {
loading.value = false;
}
};
const submitArticle = async () => {
const contentHtml = editor.value?.getHTML().trim() ?? '';
const titleValue = draftTitle.value.trim();
if (!titleValue && !contentHtml) return;
errorMessage.value = null;
try {
await trpc.board.writeArticle.mutate({
isSecret: isSecretBoard.value,
title: titleValue,
contentHtml,
});
draftTitle.value = '';
editor.value?.commands.setContent('');
await refreshArticles();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '게시물 등록에 실패했습니다.';
}
};
const submitComment = async (postId: number) => {
const content = (commentDrafts[postId] ?? '').trim();
if (!content) return;
errorMessage.value = null;
try {
await trpc.board.writeComment.mutate({ postId, content });
commentDrafts[postId] = '';
await refreshArticles();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '댓글 등록에 실패했습니다.';
}
};
const fileInputRef = ref<HTMLInputElement | null>(null);
const uploadBusy = ref(false);
const addLink = () => {
const url = window.prompt('링크 주소를 입력하세요');
if (!url) return;
editor.value?.chain().focus().extendMarkRange('link').setLink({ href: url }).run();
};
const readFileAsDataUrl = (file: File) =>
new Promise<string>((resolve, reject) => {
const reader = new FileReader();
reader.onload = () => {
if (typeof reader.result === 'string') {
resolve(reader.result);
} else {
reject(new Error('이미지를 읽을 수 없습니다.'));
}
};
reader.onerror = () => reject(new Error('이미지를 읽는 중 오류가 발생했습니다.'));
reader.readAsDataURL(file);
});
const onSelectImage = async (event: Event) => {
const input = event.target as HTMLInputElement;
const file = input.files?.[0];
if (!file || uploadBusy.value) return;
uploadBusy.value = true;
errorMessage.value = null;
try {
const dataUrl = await readFileAsDataUrl(file);
const result = await trpc.board.uploadImage.mutate({ dataUrl });
editor.value?.chain().focus().setImage({ src: result.url, alt: file.name }).run();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '이미지 업로드에 실패했습니다.';
} finally {
uploadBusy.value = false;
if (input) {
input.value = '';
}
}
};
const formatDate = (value: string) => new Date(value).toLocaleString('ko-KR');
watch(isSecretBoard, () => {
refreshArticles();
});
onMounted(() => {
refreshArticles();
});
onBeforeUnmount(() => {
editor.value?.destroy();
});
</script>
<template>
<div class="board-view">
<header class="board-header">
<div>
<h1>{{ title }}</h1>
<span class="board-subtitle"> 게시물 작성</span>
</div>
<div class="header-actions">
<RouterLink class="ghost" to="/">메인으로</RouterLink>
<RouterLink class="ghost" :to="toggleBoardPath">{{ toggleBoardLabel }}</RouterLink>
</div>
</header>
<section class="board-editor-card">
<div class="field-row">
<label class="field-label">제목</label>
<input v-model="draftTitle" class="field-input" type="text" maxlength="250" placeholder="제목" />
</div>
<div class="editor-toolbar">
<button type="button" @click="editor?.chain().focus().toggleBold().run()" :class="{ active: editor?.isActive('bold') }">
굵게
</button>
<button
type="button"
@click="editor?.chain().focus().toggleItalic().run()"
:class="{ active: editor?.isActive('italic') }"
>
기울임
</button>
<button
type="button"
@click="editor?.chain().focus().toggleUnderline().run()"
:class="{ active: editor?.isActive('underline') }"
>
밑줄
</button>
<button type="button" @click="addLink">링크</button>
<button type="button" @click="editor?.chain().focus().toggleBulletList().run()">
목록
</button>
<button type="button" @click="editor?.chain().focus().toggleOrderedList().run()">
번호 목록
</button>
<button type="button" @click="fileInputRef?.click()" :disabled="uploadBusy">
이미지 업로드
</button>
<input ref="fileInputRef" type="file" accept="image/*" class="hidden" @change="onSelectImage" />
</div>
<EditorContent v-if="editor" :editor="editor" />
<div class="submit-row">
<button type="button" class="primary" @click="submitArticle">등록</button>
</div>
</section>
<p v-if="errorMessage" class="error-text">{{ errorMessage }}</p>
<section class="board-list">
<div v-if="loading" class="empty-text">불러오는 중...</div>
<div v-else-if="!articles.length" class="empty-text">게시물이 없습니다.</div>
<article v-else v-for="article in articles" :key="article.id" class="board-article">
<header class="article-header">
<h2>{{ article.title || '제목 없음' }}</h2>
<div class="article-meta">
<span>{{ article.authorName }}</span>
<span>{{ formatDate(article.createdAt) }}</span>
</div>
</header>
<div class="article-content" v-html="article.contentHtml" />
<section class="comment-list">
<div v-if="!article.comments.length" class="comment-empty">댓글이 없습니다.</div>
<div v-for="comment in article.comments" :key="comment.id" class="comment-item">
<div class="comment-meta">
<span>{{ comment.authorName }}</span>
<span>{{ formatDate(comment.createdAt) }}</span>
</div>
<p class="comment-content">{{ comment.content }}</p>
</div>
</section>
<div class="comment-form">
<textarea
v-model="commentDrafts[article.id]"
rows="3"
placeholder="댓글을 입력하세요."
/>
<button type="button" @click="submitComment(article.id)">댓글 등록</button>
</div>
</article>
</section>
</div>
</template>
<style scoped>
.board-view {
display: flex;
flex-direction: column;
gap: 24px;
padding: 24px;
color: #e6e8ef;
background: #0f1118;
min-height: 100vh;
}
.board-header h1 {
font-size: 28px;
margin: 0 0 6px;
}
.header-actions {
display: flex;
gap: 12px;
}
.header-actions .ghost {
padding: 6px 12px;
border-radius: 8px;
border: 1px solid #2b2f3f;
color: #c7d0e0;
text-decoration: none;
background: #141826;
}
.header-actions .ghost:hover {
background: #1b2233;
}
.board-subtitle {
font-size: 14px;
color: #a8afc5;
}
.board-editor-card {
background: #181b26;
padding: 20px;
border-radius: 12px;
display: flex;
flex-direction: column;
gap: 16px;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.field-row {
display: flex;
gap: 12px;
align-items: center;
}
.field-label {
min-width: 52px;
font-weight: 600;
color: #c9d0e5;
}
.field-input {
flex: 1;
padding: 10px 12px;
border-radius: 8px;
border: 1px solid #2b2f3f;
background: #11131a;
color: #f2f4f8;
}
.editor-toolbar {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.editor-toolbar button {
padding: 6px 10px;
border-radius: 6px;
border: 1px solid #2b2f3f;
background: #1e2232;
color: #d8dff0;
cursor: pointer;
}
.editor-toolbar button.active {
background: #3b425c;
}
.editor-toolbar button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.hidden {
display: none;
}
.board-editor {
min-height: 220px;
padding: 12px;
border-radius: 10px;
border: 1px solid #2b2f3f;
background: #0f1118;
color: #f5f6fa;
}
.board-editor :deep(img) {
max-width: 100%;
height: auto;
border-radius: 6px;
}
.submit-row {
display: flex;
justify-content: flex-end;
}
.submit-row .primary {
padding: 10px 20px;
border-radius: 8px;
border: none;
background: #3b82f6;
color: #fff;
cursor: pointer;
}
.error-text {
color: #f87171;
}
.board-list {
display: flex;
flex-direction: column;
gap: 20px;
}
.board-article {
background: #161a24;
border-radius: 12px;
padding: 18px;
border: 1px solid #202638;
}
.article-header h2 {
margin: 0 0 6px;
font-size: 20px;
}
.article-meta {
font-size: 12px;
color: #9aa3b8;
display: flex;
gap: 8px;
}
.article-content {
margin-top: 12px;
line-height: 1.6;
}
.comment-list {
margin-top: 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.comment-item {
background: #11131a;
border-radius: 8px;
padding: 10px 12px;
}
.comment-meta {
font-size: 11px;
color: #8e96aa;
display: flex;
gap: 8px;
margin-bottom: 6px;
}
.comment-content {
margin: 0;
white-space: pre-wrap;
}
.comment-form {
margin-top: 12px;
display: flex;
flex-direction: column;
gap: 8px;
}
.comment-form textarea {
background: #0f1118;
border: 1px solid #2b2f3f;
border-radius: 8px;
padding: 8px 10px;
color: #e6e8ef;
}
.comment-form button {
align-self: flex-end;
padding: 6px 14px;
border-radius: 6px;
border: none;
background: #334155;
color: #fff;
cursor: pointer;
}
.empty-text {
color: #9aa3b8;
}
</style>
@@ -0,0 +1,577 @@
<script setup lang="ts">
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue';
import { EditorContent, useEditor } from '@tiptap/vue-3';
import StarterKit from '@tiptap/starter-kit';
import Image from '@tiptap/extension-image';
import Link from '@tiptap/extension-link';
import Placeholder from '@tiptap/extension-placeholder';
import Underline from '@tiptap/extension-underline';
import { trpc } from '../utils/trpc';
type StratFinanResult = Awaited<ReturnType<typeof trpc.nation.getStratFinan.query>>;
type TabKey = 'policy' | 'finance';
const activeTab = ref<TabKey>('policy');
const loading = ref(false);
const errorMessage = ref<string | null>(null);
const data = ref<StratFinanResult | null>(null);
const editable = computed(() => data.value?.editable ?? false);
const nationMsg = ref('');
const originalNationMsg = ref('');
const editingNationMsg = ref(false);
const policyDraft = ref({
rate: 0,
bill: 0,
secretLimit: 0,
blockWar: false,
blockScout: false,
});
const updateFromData = (payload: StratFinanResult) => {
nationMsg.value = payload.nationMsg ?? '';
originalNationMsg.value = payload.nationMsg ?? '';
policyDraft.value = {
rate: payload.policy.rate,
bill: payload.policy.bill,
secretLimit: payload.policy.secretLimit,
blockWar: payload.policy.blockWar,
blockScout: payload.policy.blockScout,
};
if (!editingNationMsg.value) {
editor.value?.commands.setContent(nationMsg.value || '');
}
};
const loadData = async () => {
if (loading.value) return;
loading.value = true;
errorMessage.value = null;
try {
const result = await trpc.nation.getStratFinan.query();
data.value = result;
updateFromData(result);
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '내무부 정보를 불러오지 못했습니다.';
} finally {
loading.value = false;
}
};
const editor = useEditor({
extensions: [
StarterKit,
Underline,
Link.configure({ openOnClick: false }),
Image.configure({ inline: false }),
Placeholder.configure({ placeholder: '국가 방침을 입력하세요.' }),
],
editable: false,
content: nationMsg.value,
editorProps: {
attributes: {
class: 'policy-editor',
},
},
onUpdate({ editor }) {
nationMsg.value = editor.getHTML();
},
});
const fileInputRef = ref<HTMLInputElement | null>(null);
const uploadBusy = ref(false);
const readFileAsDataUrl = (file: File) =>
new Promise<string>((resolve, reject) => {
const reader = new FileReader();
reader.onload = () => {
if (typeof reader.result === 'string') {
resolve(reader.result);
} else {
reject(new Error('이미지를 읽을 수 없습니다.'));
}
};
reader.onerror = () => reject(new Error('이미지를 읽는 중 오류가 발생했습니다.'));
reader.readAsDataURL(file);
});
const onSelectImage = async (event: Event) => {
const input = event.target as HTMLInputElement;
const file = input.files?.[0];
if (!file || uploadBusy.value) return;
uploadBusy.value = true;
errorMessage.value = null;
try {
const dataUrl = await readFileAsDataUrl(file);
const result = await trpc.board.uploadImage.mutate({ dataUrl });
editor.value?.chain().focus().setImage({ src: result.url, alt: file.name }).run();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '이미지 업로드에 실패했습니다.';
} finally {
uploadBusy.value = false;
if (input) {
input.value = '';
}
}
};
const addLink = () => {
const url = window.prompt('링크 주소를 입력하세요');
if (!url) return;
editor.value?.chain().focus().extendMarkRange('link').setLink({ href: url }).run();
};
const startEditNationMsg = () => {
if (!editable.value) return;
editingNationMsg.value = true;
editor.value?.setEditable(true);
};
const cancelEditNationMsg = () => {
editingNationMsg.value = false;
nationMsg.value = originalNationMsg.value;
editor.value?.commands.setContent(originalNationMsg.value || '');
editor.value?.setEditable(false);
};
const saveNationMsg = async () => {
if (!editable.value) return;
errorMessage.value = null;
try {
await trpc.nation.setNotice.mutate({ msg: nationMsg.value });
originalNationMsg.value = nationMsg.value;
editingNationMsg.value = false;
editor.value?.setEditable(false);
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '국가 방침 저장에 실패했습니다.';
}
};
const setRate = async () => {
if (!editable.value) return;
errorMessage.value = null;
try {
await trpc.nation.setRate.mutate({ amount: policyDraft.value.rate });
await loadData();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '세율 변경에 실패했습니다.';
}
};
const setBill = async () => {
if (!editable.value) return;
errorMessage.value = null;
try {
await trpc.nation.setBill.mutate({ amount: policyDraft.value.bill });
await loadData();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '지급률 변경에 실패했습니다.';
}
};
const setSecretLimit = async () => {
if (!editable.value) return;
errorMessage.value = null;
try {
await trpc.nation.setSecretLimit.mutate({ amount: policyDraft.value.secretLimit });
await loadData();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '기밀 권한 변경에 실패했습니다.';
}
};
const setBlockWar = async () => {
if (!editable.value) return;
errorMessage.value = null;
try {
await trpc.nation.setBlockWar.mutate({ value: policyDraft.value.blockWar });
await loadData();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '전쟁 금지 설정에 실패했습니다.';
policyDraft.value.blockWar = !policyDraft.value.blockWar;
}
};
const setBlockScout = async () => {
if (!editable.value) return;
errorMessage.value = null;
try {
await trpc.nation.setBlockScout.mutate({ value: policyDraft.value.blockScout });
await loadData();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '임관 권유 설정에 실패했습니다.';
policyDraft.value.blockScout = !policyDraft.value.blockScout;
}
};
const incomeGoldCity = computed(() => {
if (!data.value) return 0;
return (data.value.income.gold.city * policyDraft.value.rate) / 100;
});
const incomeGold = computed(() => {
if (!data.value) return 0;
return incomeGoldCity.value + data.value.income.gold.war;
});
const incomeRiceCity = computed(() => {
if (!data.value) return 0;
return (data.value.income.rice.city * policyDraft.value.rate) / 100;
});
const incomeRiceWall = computed(() => {
if (!data.value) return 0;
return (data.value.income.rice.wall * policyDraft.value.rate) / 100;
});
const incomeRice = computed(() => incomeRiceCity.value + incomeRiceWall.value);
const outcomeByBill = computed(() => {
if (!data.value) return 0;
return (data.value.outcome * policyDraft.value.bill) / 100;
});
watch(
() => editingNationMsg.value,
(value) => {
editor.value?.setEditable(value);
}
);
onMounted(() => {
loadData();
});
onBeforeUnmount(() => {
editor.value?.destroy();
});
</script>
<template>
<div class="affairs-view">
<header class="page-header">
<div>
<h1>내무부</h1>
<p class="subtitle">국가 방침 정책 조정</p>
</div>
<div class="header-actions">
<button type="button" class="ghost" @click="loadData">수동 갱신</button>
<RouterLink class="ghost" to="/nation/recruit-message">임관 권유 편집</RouterLink>
</div>
</header>
<nav class="tab-bar">
<button type="button" :class="{ active: activeTab === 'policy' }" @click="activeTab = 'policy'">
국가 방침
</button>
<button type="button" :class="{ active: activeTab === 'finance' }" @click="activeTab = 'finance'">
세율 · 재정 · 전쟁
</button>
</nav>
<p v-if="errorMessage" class="error-text">{{ errorMessage }}</p>
<section v-if="activeTab === 'policy'" class="panel">
<div class="panel-header">
<h2>국가 방침</h2>
<div class="panel-actions">
<button v-if="editable && !editingNationMsg" type="button" @click="startEditNationMsg">
수정
</button>
<button v-if="editable && editingNationMsg" type="button" @click="saveNationMsg">
저장
</button>
<button v-if="editable && editingNationMsg" type="button" @click="cancelEditNationMsg">
취소
</button>
</div>
</div>
<div v-if="editingNationMsg" class="editor-toolbar">
<button type="button" @click="editor?.chain().focus().toggleBold().run()" :class="{ active: editor?.isActive('bold') }">
굵게
</button>
<button
type="button"
@click="editor?.chain().focus().toggleItalic().run()"
:class="{ active: editor?.isActive('italic') }"
>
기울임
</button>
<button
type="button"
@click="editor?.chain().focus().toggleUnderline().run()"
:class="{ active: editor?.isActive('underline') }"
>
밑줄
</button>
<button type="button" @click="addLink">링크</button>
<button type="button" @click="editor?.chain().focus().toggleBulletList().run()">목록</button>
<button type="button" @click="editor?.chain().focus().toggleOrderedList().run()">번호 목록</button>
<button type="button" @click="fileInputRef?.click()" :disabled="uploadBusy">이미지 업로드</button>
<input ref="fileInputRef" type="file" accept="image/*" class="hidden" @change="onSelectImage" />
</div>
<div class="policy-editor-frame">
<EditorContent v-if="editor" :editor="editor" />
</div>
<p v-if="!editable" class="hint">편집 권한은 군주/수뇌에게만 제공됩니다.</p>
</section>
<section v-if="activeTab === 'finance' && data" class="panel grid">
<div class="panel-card">
<h3>자금 예산</h3>
<dl>
<div><dt>현재</dt><dd>{{ data.gold.toLocaleString() }}</dd></div>
<div><dt>단기 수입</dt><dd>{{ data.income.gold.war.toLocaleString() }}</dd></div>
<div><dt>세금</dt><dd>{{ Math.floor(incomeGoldCity).toLocaleString() }}</dd></div>
<div><dt>수입/지출</dt><dd>+{{ Math.floor(incomeGold).toLocaleString() }} / {{ Math.floor(-outcomeByBill).toLocaleString() }}</dd></div>
<div><dt>국고 예산</dt><dd>{{ Math.floor(data.gold + incomeGold - outcomeByBill).toLocaleString() }}</dd></div>
</dl>
</div>
<div class="panel-card">
<h3>군량 예산</h3>
<dl>
<div><dt>현재</dt><dd>{{ data.rice.toLocaleString() }}</dd></div>
<div><dt>둔전 수입</dt><dd>{{ Math.floor(incomeRiceWall).toLocaleString() }}</dd></div>
<div><dt>세금</dt><dd>{{ Math.floor(incomeRiceCity).toLocaleString() }}</dd></div>
<div><dt>수입/지출</dt><dd>+{{ Math.floor(incomeRice).toLocaleString() }} / {{ Math.floor(-outcomeByBill).toLocaleString() }}</dd></div>
<div><dt>국고 예산</dt><dd>{{ Math.floor(data.rice + incomeRice - outcomeByBill).toLocaleString() }}</dd></div>
</dl>
</div>
<div class="panel-card">
<h3>세율</h3>
<div class="input-row">
<input v-model.number="policyDraft.rate" type="number" min="5" max="30" :disabled="!editable" />
<span>%</span>
<button type="button" @click="setRate" :disabled="!editable">변경</button>
</div>
</div>
<div class="panel-card">
<h3>지급률</h3>
<div class="input-row">
<input v-model.number="policyDraft.bill" type="number" min="20" max="200" :disabled="!editable" />
<span>%</span>
<button type="button" @click="setBill" :disabled="!editable">변경</button>
</div>
</div>
<div class="panel-card">
<h3>기밀 권한</h3>
<div class="input-row">
<input v-model.number="policyDraft.secretLimit" type="number" min="1" max="99" :disabled="!editable" />
<span></span>
<button type="button" @click="setSecretLimit" :disabled="!editable">변경</button>
</div>
</div>
<div class="panel-card">
<h3>전쟁 금지 설정</h3>
<div class="toggle-row">
<label>
<input
type="checkbox"
v-model="policyDraft.blockWar"
:disabled="!editable"
@change="setBlockWar"
/>
전쟁 금지
</label>
<span class="hint">잔여 {{ data.warSettingCnt.remain }} ( +{{ data.warSettingCnt.inc }})</span>
</div>
</div>
<div class="panel-card">
<h3>임관 권유 설정</h3>
<div class="toggle-row">
<label>
<input
type="checkbox"
v-model="policyDraft.blockScout"
:disabled="!editable"
@change="setBlockScout"
/>
임관 권유 허용
</label>
</div>
</div>
</section>
<div v-if="loading" class="loading">불러오는 중...</div>
</div>
</template>
<style scoped>
.affairs-view {
display: flex;
flex-direction: column;
gap: 16px;
padding: 24px;
background: #0f1118;
color: #e6e8ef;
min-height: 100vh;
}
.page-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
}
.subtitle {
color: #9aa3b8;
margin: 4px 0 0;
}
.header-actions {
display: flex;
gap: 10px;
}
.ghost {
padding: 6px 12px;
border-radius: 8px;
border: 1px solid #2b2f3f;
background: #141826;
color: #c7d0e0;
text-decoration: none;
cursor: pointer;
}
.tab-bar {
display: flex;
gap: 8px;
}
.tab-bar button {
border: 1px solid #2b2f3f;
background: #141826;
color: #c7d0e0;
padding: 8px 14px;
border-radius: 8px;
cursor: pointer;
}
.tab-bar button.active {
background: #2b3348;
color: #fff;
}
.panel {
background: #181b26;
border-radius: 12px;
padding: 16px;
border: 1px solid #23283a;
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.panel-actions button {
margin-left: 8px;
}
.policy-editor {
min-height: 220px;
padding: 12px;
border-radius: 10px;
border: 1px solid #2b2f3f;
background: #0f1118;
color: #f5f6fa;
}
.policy-editor-frame {
max-width: 1000px;
}
.editor-toolbar {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
}
.editor-toolbar button {
padding: 6px 10px;
border-radius: 6px;
border: 1px solid #2b2f3f;
background: #1e2232;
color: #d8dff0;
cursor: pointer;
}
.editor-toolbar button.active {
background: #3b425c;
}
.hidden {
display: none;
}
.panel.grid {
display: grid;
gap: 16px;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.panel-card {
background: #131722;
padding: 12px;
border-radius: 10px;
border: 1px solid #23283a;
}
.panel-card h3 {
margin: 0 0 8px;
}
.panel-card dl {
display: flex;
flex-direction: column;
gap: 6px;
margin: 0;
}
.panel-card dl div {
display: flex;
justify-content: space-between;
gap: 12px;
}
.input-row {
display: flex;
align-items: center;
gap: 8px;
}
.input-row input {
width: 90px;
padding: 4px 8px;
border-radius: 6px;
border: 1px solid #2b2f3f;
background: #0f1118;
color: #f5f6fa;
}
.toggle-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 0;
}
.hint {
color: #9aa3b8;
}
.error-text {
color: #f87171;
}
.loading {
color: #9aa3b8;
}
</style>
@@ -0,0 +1,308 @@
<script setup lang="ts">
import { onBeforeUnmount, onMounted, ref, watch } from 'vue';
import { EditorContent, useEditor } from '@tiptap/vue-3';
import StarterKit from '@tiptap/starter-kit';
import Image from '@tiptap/extension-image';
import Link from '@tiptap/extension-link';
import Placeholder from '@tiptap/extension-placeholder';
import Underline from '@tiptap/extension-underline';
import { trpc } from '../utils/trpc';
type StratFinanResult = Awaited<ReturnType<typeof trpc.nation.getStratFinan.query>>;
const loading = ref(false);
const errorMessage = ref<string | null>(null);
const editable = ref(false);
const scoutMsg = ref('');
const originalScoutMsg = ref('');
const editing = ref(false);
const editor = useEditor({
extensions: [
StarterKit,
Underline,
Link.configure({ openOnClick: false }),
Image.configure({ inline: false }),
Placeholder.configure({ placeholder: '임관 권유 메시지를 입력하세요.' }),
],
editable: false,
content: scoutMsg.value,
editorProps: {
attributes: {
class: 'scout-editor',
},
},
onUpdate({ editor }) {
scoutMsg.value = editor.getHTML();
},
});
const fileInputRef = ref<HTMLInputElement | null>(null);
const uploadBusy = ref(false);
const readFileAsDataUrl = (file: File) =>
new Promise<string>((resolve, reject) => {
const reader = new FileReader();
reader.onload = () => {
if (typeof reader.result === 'string') {
resolve(reader.result);
} else {
reject(new Error('이미지를 읽을 수 없습니다.'));
}
};
reader.onerror = () => reject(new Error('이미지를 읽는 중 오류가 발생했습니다.'));
reader.readAsDataURL(file);
});
const onSelectImage = async (event: Event) => {
const input = event.target as HTMLInputElement;
const file = input.files?.[0];
if (!file || uploadBusy.value) return;
uploadBusy.value = true;
errorMessage.value = null;
try {
const dataUrl = await readFileAsDataUrl(file);
const result = await trpc.board.uploadImage.mutate({ dataUrl });
editor.value?.chain().focus().setImage({ src: result.url, alt: file.name }).run();
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '이미지 업로드에 실패했습니다.';
} finally {
uploadBusy.value = false;
if (input) {
input.value = '';
}
}
};
const addLink = () => {
const url = window.prompt('링크 주소를 입력하세요');
if (!url) return;
editor.value?.chain().focus().extendMarkRange('link').setLink({ href: url }).run();
};
const loadData = async () => {
if (loading.value) return;
loading.value = true;
errorMessage.value = null;
try {
const result: StratFinanResult = await trpc.nation.getStratFinan.query();
editable.value = result.editable;
scoutMsg.value = result.scoutMsg ?? '';
originalScoutMsg.value = result.scoutMsg ?? '';
if (!editing.value) {
editor.value?.commands.setContent(scoutMsg.value || '');
}
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '임관 권유 정보를 불러오지 못했습니다.';
} finally {
loading.value = false;
}
};
const startEdit = () => {
if (!editable.value) return;
editing.value = true;
editor.value?.setEditable(true);
};
const cancelEdit = () => {
editing.value = false;
scoutMsg.value = originalScoutMsg.value;
editor.value?.commands.setContent(originalScoutMsg.value || '');
editor.value?.setEditable(false);
};
const saveScoutMsg = async () => {
if (!editable.value) return;
errorMessage.value = null;
try {
await trpc.nation.setScoutMsg.mutate({ msg: scoutMsg.value });
originalScoutMsg.value = scoutMsg.value;
editing.value = false;
editor.value?.setEditable(false);
} catch (err) {
errorMessage.value = err instanceof Error ? err.message : '임관 권유 저장에 실패했습니다.';
}
};
watch(
() => editing.value,
(value) => {
editor.value?.setEditable(value);
}
);
onMounted(() => {
loadData();
});
onBeforeUnmount(() => {
editor.value?.destroy();
});
</script>
<template>
<div class="scout-view">
<header class="page-header">
<div>
<h1>임관 권유</h1>
<p class="subtitle">장수 모집 화면에 표시되는 메시지입니다.</p>
</div>
<div class="header-actions">
<button type="button" class="ghost" @click="loadData">수동 갱신</button>
<RouterLink class="ghost" to="/nation/affairs">내무부로</RouterLink>
</div>
</header>
<p v-if="errorMessage" class="error-text">{{ errorMessage }}</p>
<section class="panel">
<div class="panel-header">
<h2>임관 권유문</h2>
<div class="panel-actions">
<button v-if="editable && !editing" type="button" @click="startEdit">수정</button>
<button v-if="editable && editing" type="button" @click="saveScoutMsg">저장</button>
<button v-if="editable && editing" type="button" @click="cancelEdit">취소</button>
</div>
</div>
<div v-if="editing" class="editor-toolbar">
<button type="button" @click="editor?.chain().focus().toggleBold().run()" :class="{ active: editor?.isActive('bold') }">
굵게
</button>
<button
type="button"
@click="editor?.chain().focus().toggleItalic().run()"
:class="{ active: editor?.isActive('italic') }"
>
기울임
</button>
<button
type="button"
@click="editor?.chain().focus().toggleUnderline().run()"
:class="{ active: editor?.isActive('underline') }"
>
밑줄
</button>
<button type="button" @click="addLink">링크</button>
<button type="button" @click="editor?.chain().focus().toggleBulletList().run()">목록</button>
<button type="button" @click="editor?.chain().focus().toggleOrderedList().run()">번호 목록</button>
<button type="button" @click="fileInputRef?.click()" :disabled="uploadBusy">이미지 업로드</button>
<input ref="fileInputRef" type="file" accept="image/*" class="hidden" @change="onSelectImage" />
</div>
<div class="scout-editor-frame">
<EditorContent v-if="editor" :editor="editor" />
</div>
<p v-if="!editable" class="hint">편집 권한은 군주/수뇌에게만 제공됩니다.</p>
</section>
<div v-if="loading" class="loading">불러오는 중...</div>
</div>
</template>
<style scoped>
.scout-view {
display: flex;
flex-direction: column;
gap: 16px;
padding: 24px;
background: #0f1118;
color: #e6e8ef;
min-height: 100vh;
}
.page-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
}
.subtitle {
color: #9aa3b8;
margin: 4px 0 0;
}
.header-actions {
display: flex;
gap: 10px;
}
.ghost {
padding: 6px 12px;
border-radius: 8px;
border: 1px solid #2b2f3f;
background: #141826;
color: #c7d0e0;
text-decoration: none;
cursor: pointer;
}
.panel {
background: #181b26;
border-radius: 12px;
padding: 16px;
border: 1px solid #23283a;
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.scout-editor {
min-height: 200px;
padding: 12px;
border-radius: 10px;
border: 1px solid #2b2f3f;
background: #0f1118;
color: #f5f6fa;
}
.scout-editor-frame {
max-width: 870px;
max-height: 200px;
overflow: hidden;
}
.editor-toolbar {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
}
.editor-toolbar button {
padding: 6px 10px;
border-radius: 6px;
border: 1px solid #2b2f3f;
background: #1e2232;
color: #d8dff0;
cursor: pointer;
}
.editor-toolbar button.active {
background: #3b425c;
}
.hidden {
display: none;
}
.hint {
color: #9aa3b8;
margin-top: 8px;
}
.error-text {
color: #f87171;
}
.loading {
color: #9aa3b8;
}
</style>
+1
View File
@@ -33,6 +33,7 @@ Move items into the main docs once they are finalized.
- [AI suggestion] Finalize static asset and web base URLs (`VITE_GAME_WEB_URL`, `VITE_GAME_ASSET_URL`) and document deployment mapping for legacy images.
- [AI suggestion] Expand Join UI to cover inherit options (특기/도시/턴타임/보너스 스탯) using `join.getConfig` and `join.createGeneral` inputs.
- [AI suggestion] Extend MessagePanel to support private/diplomacy targets and surface sender/receiver metadata from message payloads.
- [AI suggestion] Port legacy TipTap-based editors (국가 방침/임관 권유) into game-frontend and reuse the new board image upload policy.
## Runtime and Operations (Lower Priority)
+33
View File
@@ -318,3 +318,36 @@ model InheritanceUserState {
@@map("inheritance_user_state")
}
model BoardPost {
id Int @id @default(autoincrement())
nationId Int @map("nation_id")
isSecret Boolean @default(false) @map("is_secret")
authorGeneralId Int @map("author_general_id")
authorName String @map("author_name")
title String
contentHtml String @map("content_html")
createdAt DateTime @default(now()) @map("created_at")
updatedAt DateTime @updatedAt @map("updated_at")
comments BoardComment[]
@@index([nationId, isSecret, createdAt])
@@map("board_post")
}
model BoardComment {
id Int @id @default(autoincrement())
postId Int @map("post_id")
nationId Int @map("nation_id")
isSecret Boolean @default(false) @map("is_secret")
authorGeneralId Int @map("author_general_id")
authorName String @map("author_name")
contentText String @map("content_text")
createdAt DateTime @default(now()) @map("created_at")
post BoardPost @relation(fields: [postId], references: [id], onDelete: Cascade)
@@index([postId, createdAt])
@@map("board_comment")
}
@@ -0,0 +1,26 @@
CREATE TABLE "board_post" (
"id" SERIAL PRIMARY KEY,
"nation_id" INTEGER NOT NULL,
"is_secret" BOOLEAN NOT NULL DEFAULT FALSE,
"author_general_id" INTEGER NOT NULL,
"author_name" TEXT NOT NULL,
"title" TEXT NOT NULL,
"content_html" TEXT NOT NULL,
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updated_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE INDEX "board_post_nation_secret_created_idx" ON "board_post"("nation_id", "is_secret", "created_at");
CREATE TABLE "board_comment" (
"id" SERIAL PRIMARY KEY,
"post_id" INTEGER NOT NULL REFERENCES "board_post"("id") ON DELETE CASCADE,
"nation_id" INTEGER NOT NULL,
"is_secret" BOOLEAN NOT NULL DEFAULT FALSE,
"author_general_id" INTEGER NOT NULL,
"author_name" TEXT NOT NULL,
"content_text" TEXT NOT NULL,
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE INDEX "board_comment_post_created_idx" ON "board_comment"("post_id", "created_at");
+1043
View File
@@ -59,6 +59,9 @@ importers:
'@fastify/cors':
specifier: ^11.2.0
version: 11.2.0
'@fastify/static':
specifier: ^9.0.0
version: 9.0.0
'@sammo-ts/common':
specifier: workspace:*
version: link:../../packages/common
@@ -83,6 +86,9 @@ importers:
redis:
specifier: ^5.10.0
version: 5.10.0
sharp:
specifier: ^0.34.4
version: 0.34.5
zod:
specifier: ^4.3.5
version: 4.3.5
@@ -142,6 +148,24 @@ importers:
'@sammo-ts/logic':
specifier: workspace:*
version: link:../../packages/logic
'@tiptap/extension-image':
specifier: ^3.5.0
version: 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-link':
specifier: ^3.5.0
version: 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-placeholder':
specifier: ^3.5.0
version: 3.18.0(@tiptap/extensions@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))
'@tiptap/extension-underline':
specifier: ^3.5.0
version: 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/starter-kit':
specifier: ^3.5.0
version: 3.18.0
'@tiptap/vue-3':
specifier: ^3.5.0
version: 3.18.0(@floating-ui/dom@1.7.5)(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)(vue@3.5.26(typescript@5.9.3))
'@trpc/client':
specifier: ^11.8.1
version: 11.8.1(@trpc/server@11.8.1(typescript@5.9.3))(typescript@5.9.3)
@@ -702,6 +726,9 @@ packages:
resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@fastify/accept-negotiator@2.0.1':
resolution: {integrity: sha512-/c/TW2bO/v9JeEgoD/g1G5GxGeCF1Hafdf79WPmUlgYiBXummY0oX3VVq4yFkKKVBKDNlaDUYoab7g38RpPqCQ==}
'@fastify/ajv-compiler@4.0.5':
resolution: {integrity: sha512-KoWKW+MhvfTRWL4qrhUwAAZoaChluo0m0vbiJlGMt2GXvL4LVPQEjt8kSpHI3IBq5Rez8fg+XeH3cneztq+C7A==}
@@ -723,6 +750,21 @@ packages:
'@fastify/proxy-addr@5.1.0':
resolution: {integrity: sha512-INS+6gh91cLUjB+PVHfu1UqcB76Sqtpyp7bnL+FYojhjygvOPA9ctiD/JDKsyD9Xgu4hUhCSJBPig/w7duNajw==}
'@fastify/send@4.1.0':
resolution: {integrity: sha512-TMYeQLCBSy2TOFmV95hQWkiTYgC/SEx7vMdV+wnZVX4tt8VBLKzmH8vV9OzJehV0+XBfg+WxPMt5wp+JBUKsVw==}
'@fastify/static@9.0.0':
resolution: {integrity: sha512-r64H8Woe/vfilg5RTy7lwWlE8ZZcTrc3kebYFMEUBrMqlydhQyoiExQXdYAy2REVpST/G35+stAM8WYp1WGmMA==}
'@floating-ui/core@1.7.4':
resolution: {integrity: sha512-C3HlIdsBxszvm5McXlB8PeOEWfBhcGBTZGkGlWc2U0KFY5IwG5OQEuQ8rq52DZmcHDlPLd+YFBK+cZcytwIFWg==}
'@floating-ui/dom@1.7.5':
resolution: {integrity: sha512-N0bD2kIPInNHUHehXhMke1rBGs1dwqvC9O9KYMyyjK7iXt7GAhnro7UlcuYcGdS/yYOlq0MAVgrow8IbWJwyqg==}
'@floating-ui/utils@0.2.10':
resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
'@hono/node-server@1.19.6':
resolution: {integrity: sha512-Shz/KjlIeAhfiuE93NDKVdZ7HdBVLQAfdbaXEaoAVO3ic9ibRSLGIQGkcBbFyuLr+7/1D5ZCINM8B+6IvXeMtw==}
engines: {node: '>=18.14.1'}
@@ -745,6 +787,151 @@ packages:
resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==}
engines: {node: '>=18.18'}
'@img/colour@1.0.0':
resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==}
engines: {node: '>=18'}
'@img/sharp-darwin-arm64@0.34.5':
resolution: {integrity: sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [darwin]
'@img/sharp-darwin-x64@0.34.5':
resolution: {integrity: sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [darwin]
'@img/sharp-libvips-darwin-arm64@1.2.4':
resolution: {integrity: sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==}
cpu: [arm64]
os: [darwin]
'@img/sharp-libvips-darwin-x64@1.2.4':
resolution: {integrity: sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==}
cpu: [x64]
os: [darwin]
'@img/sharp-libvips-linux-arm64@1.2.4':
resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}
cpu: [arm64]
os: [linux]
'@img/sharp-libvips-linux-arm@1.2.4':
resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
cpu: [arm]
os: [linux]
'@img/sharp-libvips-linux-ppc64@1.2.4':
resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
cpu: [ppc64]
os: [linux]
'@img/sharp-libvips-linux-riscv64@1.2.4':
resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
cpu: [riscv64]
os: [linux]
'@img/sharp-libvips-linux-s390x@1.2.4':
resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
cpu: [s390x]
os: [linux]
'@img/sharp-libvips-linux-x64@1.2.4':
resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
cpu: [x64]
os: [linux]
'@img/sharp-libvips-linuxmusl-arm64@1.2.4':
resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
cpu: [arm64]
os: [linux]
'@img/sharp-libvips-linuxmusl-x64@1.2.4':
resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
cpu: [x64]
os: [linux]
'@img/sharp-linux-arm64@0.34.5':
resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
'@img/sharp-linux-arm@0.34.5':
resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm]
os: [linux]
'@img/sharp-linux-ppc64@0.34.5':
resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [ppc64]
os: [linux]
'@img/sharp-linux-riscv64@0.34.5':
resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [riscv64]
os: [linux]
'@img/sharp-linux-s390x@0.34.5':
resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [s390x]
os: [linux]
'@img/sharp-linux-x64@0.34.5':
resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
'@img/sharp-linuxmusl-arm64@0.34.5':
resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
'@img/sharp-linuxmusl-x64@0.34.5':
resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
'@img/sharp-wasm32@0.34.5':
resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [wasm32]
'@img/sharp-win32-arm64@0.34.5':
resolution: {integrity: sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [win32]
'@img/sharp-win32-ia32@0.34.5':
resolution: {integrity: sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [ia32]
os: [win32]
'@img/sharp-win32-x64@0.34.5':
resolution: {integrity: sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [win32]
'@isaacs/balanced-match@4.0.1':
resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==}
engines: {node: 20 || >=22}
'@isaacs/brace-expansion@5.0.0':
resolution: {integrity: sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==}
engines: {node: 20 || >=22}
'@jridgewell/gen-mapping@0.3.13':
resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
@@ -761,6 +948,10 @@ packages:
'@jridgewell/trace-mapping@0.3.31':
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
'@lukeed/ms@2.0.2':
resolution: {integrity: sha512-9I2Zn6+NJLfaGoz9jN3lpwDgAYvfGeNYdbAIjJOqzs4Tpc+VU3Jqq4IofSUBKajiDS8k9fZIg18/z13mpk1bsA==}
engines: {node: '>=8'}
'@mrleebo/prisma-ast@0.12.1':
resolution: {integrity: sha512-JwqeCQ1U3fvccttHZq7Tk0m/TMC6WcFAQZdukypW3AzlJYKYTGNVd1ANU2GuhKnv4UQuOFj3oAl0LLG/gxFN1w==}
engines: {node: '>=16'}
@@ -888,6 +1079,9 @@ packages:
peerDependencies:
'@redis/client': ^5.10.0
'@remirror/core-constants@3.0.0':
resolution: {integrity: sha512-42aWfPrimMfDKDi4YegyS7x+/0tlzaqwPQCULLanv3DMIlu96KTJR0fM5isWX2UViOqlGnX6YFgqWepcX+XMNg==}
'@rolldown/binding-android-arm64@1.0.0-beta.57':
resolution: {integrity: sha512-GoOVDy8bjw9z1K30Oo803nSzXJS/vWhFijFsW3kzvZCO8IZwFnNa6pGctmbbJstKl3Fv6UBwyjJQN6msejW0IQ==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -1379,6 +1573,163 @@ packages:
peerDependencies:
vite: ^5.2.0 || ^6 || ^7
'@tiptap/core@3.18.0':
resolution: {integrity: sha512-Gczd4GbK1DNgy/QUPElMVozoa0GW9mW8E31VIi7Q4a9PHHz8PcrxPmuWwtJ2q0PF8MWpOSLuBXoQTWaXZRPRnQ==}
peerDependencies:
'@tiptap/pm': ^3.18.0
'@tiptap/extension-blockquote@3.18.0':
resolution: {integrity: sha512-1HjEoM5vZDfFnq2OodNpW13s56a9pbl7jolUv1V9FrE3X5s7n0HCfDzIVpT7z1HgTdPtlN5oSt5uVyBwuwSUfA==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-bold@3.18.0':
resolution: {integrity: sha512-xUgOvHCdGXh9Lfxd7DtgsSr0T/egIwBllWHIBWDjQEQQ0b+ICn+0+i703btHMB4hjdduZtgVDrhK8jAW3U6swA==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-bubble-menu@3.18.0':
resolution: {integrity: sha512-9kYG1fVYQcA3Kp5Bq96lrKCp9oLpQqceDsK688r7iT1yymQlBPMunaqaqb5ZLQGhnNYbhfG+8xcQsvEKjklErA==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/pm': ^3.18.0
'@tiptap/extension-bullet-list@3.18.0':
resolution: {integrity: sha512-8sEpY0nxAGGFDYlF+WVFPKX00X2dAAjmoi0+2eWvK990PdQqwXrQsRs7pkUbpE2mDtATV8+GlDXk9KDkK/ZXhA==}
peerDependencies:
'@tiptap/extension-list': ^3.18.0
'@tiptap/extension-code-block@3.18.0':
resolution: {integrity: sha512-fCx1oT95ikGfoizw+XCjeglQxlLK4lWgUcB4Dcn5TdaCoFBQMEaZs7Q0jVajxxxULnyArkg60uarc1ac/IF2Hw==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/pm': ^3.18.0
'@tiptap/extension-code@3.18.0':
resolution: {integrity: sha512-0SU53O0NRmdtRM2Hgzm372dVoHjs2F40o/dtB7ls4kocf4W89FyWeC2R6ZsFQqcXisNh9RTzLtYfbNyizGuZIw==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-document@3.18.0':
resolution: {integrity: sha512-e0hOGrjTMpCns8IC5p+c5CEiE1BBmFBFL+RpIxU/fjT2SaZ7q2xsFguBu94lQDT0cD6fdZokFRpGwEMxZNVGCg==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-dropcursor@3.18.0':
resolution: {integrity: sha512-pIW/K9fGth221dkfA5SInHcqfnCr0aG9LGkRiEh4gwM4cf6ceUBrvcD+QlemSZ4q9oktNGJmXT+sEXVOQ8QoeQ==}
peerDependencies:
'@tiptap/extensions': ^3.18.0
'@tiptap/extension-floating-menu@3.18.0':
resolution: {integrity: sha512-a2cBQi0I/X0o3a9b+adwJvkdxLzQzJIkP9dc/v25qGTSCjC1+ycois5WQOn8T4T8t4g/fAH1UOXEWnkWyTxLIg==}
peerDependencies:
'@floating-ui/dom': ^1.0.0
'@tiptap/core': ^3.18.0
'@tiptap/pm': ^3.18.0
'@tiptap/extension-gapcursor@3.18.0':
resolution: {integrity: sha512-covioXPPHX3SnlTwC/1rcHUHAc7/JFd4vN0kZQmZmvGHlxqq2dPmtrPh8D7TuDuhG0k/3Z6i8dJFP0phfRAhuA==}
peerDependencies:
'@tiptap/extensions': ^3.18.0
'@tiptap/extension-hard-break@3.18.0':
resolution: {integrity: sha512-IXLiOHEmbU2Wn1jFRZC6apMxiJQvSRWhwoiubAvRxyiPSnFTeaEgT8Qgo5DjwB39NckP+o7XX7RrgzlkwdFPQQ==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-heading@3.18.0':
resolution: {integrity: sha512-MTamVnYsFWVndLSq5PRQ7ZmbF6AExsFS9uIvGtUAwuhzvR4of/WHh6wpvWYjA+BLXTWRrfuGHaZTl7UXBN13fg==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-horizontal-rule@3.18.0':
resolution: {integrity: sha512-fEq7DwwQZ496RHNbMQypBVNqoWnhDEERbzWMBqlmfCfc/0FvJrHtsQkk3k4lgqMYqmBwym3Wp0SrRYiyKCPGTw==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/pm': ^3.18.0
'@tiptap/extension-image@3.18.0':
resolution: {integrity: sha512-Hc8riY43yPlQDKIpJf/aZ3kw1WNYjJrBH7UZKGQ9cfmUfnKQgN6+bfWgyvtQezDfhvVL6RNKSGNfoYHkV+rJaA==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-italic@3.18.0':
resolution: {integrity: sha512-1C4nB08psiRo0BPxAbpYq8peUOKnjQWtBCLPbE6B9ToTK3vmUk0AZTqLO11FvokuM1GF5l2Lg3sKrKFuC2hcjQ==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-link@3.18.0':
resolution: {integrity: sha512-1J28C4+fKAMQi7q/UsTjAmgmKTnzjExXY98hEBneiVzFDxqF69n7+Vb7nVTNAIhmmJkZMA0DEcMhSiQC/1/u4A==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/pm': ^3.18.0
'@tiptap/extension-list-item@3.18.0':
resolution: {integrity: sha512-auTSt+NXoUnT0xofzFa+FnXsrW1TPdT1OB3U1OqQCIWkumZqL45A8OK9kpvyQsWj/xJ8fy1iZwFlKXPtxjLd2w==}
peerDependencies:
'@tiptap/extension-list': ^3.18.0
'@tiptap/extension-list-keymap@3.18.0':
resolution: {integrity: sha512-ZzO5r/cW7G0zpL/eM69WPnMpzb0YsSjtI60CYGA0iQDRJnK9INvxu0RU0ewM2faqqwASmtjuNJac+Fjk6scdXg==}
peerDependencies:
'@tiptap/extension-list': ^3.18.0
'@tiptap/extension-list@3.18.0':
resolution: {integrity: sha512-9lQBo45HNqIFcLEHAk+CY3W51eMMxIJjWbthm2CwEWr4PB3+922YELlvq8JcLH1nVFkBVpmBFmQe/GxgnCkzwQ==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/pm': ^3.18.0
'@tiptap/extension-ordered-list@3.18.0':
resolution: {integrity: sha512-5bUAfklYLS5o6qvLLfreGyGvD1JKXqOQF0YntLyPuCGrXv7+XjPWQL2BmEf59fOn2UPT2syXLQ1WN5MHTArRzg==}
peerDependencies:
'@tiptap/extension-list': ^3.18.0
'@tiptap/extension-paragraph@3.18.0':
resolution: {integrity: sha512-uvFhdwiur4NhhUdBmDsajxjGAIlg5qga55fYag2DzOXxIQE2M7/aVMRkRpuJzb88GY4EHSh8rY34HgMK2FJt2Q==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-placeholder@3.18.0':
resolution: {integrity: sha512-jhN1Xa+MpfrTcCYZsFSvZYpUuMutPTC20ms0IsH1yN0y9tbAS+T6PHPC+dsvyAinYdA8yKElM6OO+jpyz4X1cw==}
peerDependencies:
'@tiptap/extensions': ^3.18.0
'@tiptap/extension-strike@3.18.0':
resolution: {integrity: sha512-kl/fa68LZg8NWUqTkRTfgyCx+IGqozBmzJxQDc1zxurrIU+VFptDV9UuZim587sbM2KGjCi/PNPjPGk1Uu0PVg==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-text@3.18.0':
resolution: {integrity: sha512-9TvctdnBCwK/zyTi9kS7nGFNl5OvGM8xE0u38ZmQw5t79JOqJHgOroyqMjw8LHK/1PWrozfNCmsZbpq4IZuKXw==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extension-underline@3.18.0':
resolution: {integrity: sha512-009IeXURNJ/sm1pBqbj+2YQgjQaBtNlJR3dbl6xu49C+qExqCmI7klhKQuwsVVGLR7ahsYlp7d9RlftnhCXIcQ==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/extensions@3.18.0':
resolution: {integrity: sha512-uSRIE9HGshBN6NRFR3LX2lZqBLvX92SgU5A9AvUbJD4MqU63E+HdruJnRjsVlX3kPrmbIDowxrzXlUcg3K0USQ==}
peerDependencies:
'@tiptap/core': ^3.18.0
'@tiptap/pm': ^3.18.0
'@tiptap/pm@3.18.0':
resolution: {integrity: sha512-8RoI5gW0xBVCsuxahpK8vx7onAw6k2/uR3hbGBBnH+HocDMaAZKot3nTyY546ij8ospIC1mnQ7k4BhVUZesZDQ==}
'@tiptap/starter-kit@3.18.0':
resolution: {integrity: sha512-LctpCelqI/5nHEeZgCPiwI1MmTjGr6YCIBGWmS5s4DJE7NfevEkwomR/C05QKdVUwPhpCXIMeS1+h/RYqRo1KA==}
'@tiptap/vue-3@3.18.0':
resolution: {integrity: sha512-3JUMYqFYXEOKk2zOtPp6wuEzHAHrHdrswaRhHVVDR8olO9PpbuJ6qu83RJUB8OZVnP7dv3yxIakDf1AHMxLQXg==}
peerDependencies:
'@floating-ui/dom': ^1.0.0
'@tiptap/core': ^3.18.0
'@tiptap/pm': ^3.18.0
vue: ^3.0.0
'@tootallnate/quickjs-emscripten@0.23.0':
resolution: {integrity: sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==}
@@ -1408,6 +1759,15 @@ packages:
'@types/json-schema@7.0.15':
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
'@types/linkify-it@5.0.0':
resolution: {integrity: sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==}
'@types/markdown-it@14.1.2':
resolution: {integrity: sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==}
'@types/mdurl@2.0.0':
resolution: {integrity: sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==}
'@types/node@25.0.3':
resolution: {integrity: sha512-W609buLVRVmeW693xKfzHeIV6nJGGz98uCPfeXI1ELMLXVeKYZ9m15fAMSaUPBHYLGFsVRcMmSCksQOrZV9BYA==}
@@ -1818,6 +2178,10 @@ packages:
resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==}
engines: {node: ^14.18.0 || >=16.10.0}
content-disposition@1.0.1:
resolution: {integrity: sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q==}
engines: {node: '>=18'}
cookie@1.1.1:
resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==}
engines: {node: '>=18'}
@@ -1826,6 +2190,9 @@ packages:
resolution: {integrity: sha512-7Vv6asjS4gMOuILabD3l739tsaxFQmC+a7pLZm02zyvs8p977bL3zEgq3yDk5rn9B0PbYgIv++jmHcuUab4RhA==}
engines: {node: '>=18'}
crelt@1.0.6:
resolution: {integrity: sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==}
croner@4.1.97:
resolution: {integrity: sha512-/f6gpQuxDaqXu+1kwQYSckUglPaOrHdbIlBAu0YuW8/Cdb45XwXYNUBXg3r/9Mo6n540Kn/smKcZWko5x99KrQ==}
@@ -1901,6 +2268,10 @@ packages:
resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==}
engines: {node: '>=0.10'}
depd@2.0.0:
resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}
engines: {node: '>= 0.8'}
dequal@2.0.3:
resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
engines: {node: '>=6'}
@@ -1947,6 +2318,10 @@ packages:
resolution: {integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==}
engines: {node: '>=8.6'}
entities@4.5.0:
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
engines: {node: '>=0.12'}
entities@7.0.0:
resolution: {integrity: sha512-FDWG5cmEYf2Z00IkYRhbFrwIwvdFKH07uV8dvNy0omp/Qb1xcyCWp2UDtcwJF4QZZvk0sLudP6/hAu42TaqVhQ==}
engines: {node: '>=0.12'}
@@ -1966,6 +2341,9 @@ packages:
resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
engines: {node: '>=6'}
escape-html@1.0.3:
resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}
escape-string-regexp@4.0.0:
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
@@ -2216,6 +2594,10 @@ packages:
resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}
engines: {node: '>=10.13.0'}
glob@13.0.0:
resolution: {integrity: sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==}
engines: {node: 20 || >=22}
globals@14.0.0:
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
engines: {node: '>=18'}
@@ -2251,6 +2633,10 @@ packages:
hookable@6.0.1:
resolution: {integrity: sha512-uKGyY8BuzN/a5gvzvA+3FVWo0+wUjgtfSdnmjtrOVwQCZPHpHDH2WRO3VZSOeluYrHoDCiXFffZXs8Dj1ULWtw==}
http-errors@2.0.1:
resolution: {integrity: sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==}
engines: {node: '>= 0.8'}
http-proxy-agent@7.0.2:
resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==}
engines: {node: '>= 14'}
@@ -2293,6 +2679,9 @@ packages:
resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
engines: {node: '>=0.8.19'}
inherits@2.0.4:
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
ini@1.3.8:
resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==}
@@ -2456,6 +2845,12 @@ packages:
resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}
engines: {node: '>=10'}
linkify-it@5.0.0:
resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==}
linkifyjs@4.3.2:
resolution: {integrity: sha512-NT1CJtq3hHIreOianA8aSXn6Cw0JzYOuDQbOrSPe7gqFnCpKP++MQe3ODgO3oh2GJFORkAAdqredOa60z63GbA==}
locate-path@6.0.0:
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
engines: {node: '>=10'}
@@ -2469,6 +2864,10 @@ packages:
long@5.3.2:
resolution: {integrity: sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==}
lru-cache@11.2.5:
resolution: {integrity: sha512-vFrFJkWtJvJnD5hg+hJvVE8Lh/TcMzKnTgCWmtBipwI5yLX/iX+5UB2tfuyODF5E7k9xEzMdYgGqaSb1c0c5Yw==}
engines: {node: 20 || >=22}
lru-cache@6.0.0:
resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
engines: {node: '>=10'}
@@ -2484,6 +2883,22 @@ packages:
magic-string@0.30.21:
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
markdown-it@14.1.0:
resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==}
hasBin: true
mdurl@2.0.0:
resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==}
mime@3.0.0:
resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==}
engines: {node: '>=10.0.0'}
hasBin: true
minimatch@10.1.1:
resolution: {integrity: sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==}
engines: {node: 20 || >=22}
minimatch@3.1.2:
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
@@ -2491,6 +2906,10 @@ packages:
resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==}
engines: {node: '>=16 || 14 >=14.17'}
minipass@7.1.2:
resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}
engines: {node: '>=16 || 14 >=14.17'}
mitt@3.0.1:
resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==}
@@ -2572,6 +2991,9 @@ packages:
resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
engines: {node: '>= 0.8.0'}
orderedmap@2.1.1:
resolution: {integrity: sha512-TvAWxi0nDe1j/rtMcWcIj94+Ffe6n7zhow33h40SKxmsmozs6dz/e+EajymfoFcHd7sxNn8yHM8839uixMOV6g==}
p-limit@3.1.0:
resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
engines: {node: '>=10'}
@@ -2609,6 +3031,10 @@ packages:
path-parse@1.0.7:
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
path-scurry@2.0.1:
resolution: {integrity: sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==}
engines: {node: 20 || >=22}
pathe@2.0.3:
resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}
@@ -2786,6 +3212,64 @@ packages:
proper-lockfile@4.1.2:
resolution: {integrity: sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==}
prosemirror-changeset@2.3.1:
resolution: {integrity: sha512-j0kORIBm8ayJNl3zQvD1TTPHJX3g042et6y/KQhZhnPrruO8exkTgG8X+NRpj7kIyMMEx74Xb3DyMIBtO0IKkQ==}
prosemirror-collab@1.3.1:
resolution: {integrity: sha512-4SnynYR9TTYaQVXd/ieUvsVV4PDMBzrq2xPUWutHivDuOshZXqQ5rGbZM84HEaXKbLdItse7weMGOUdDVcLKEQ==}
prosemirror-commands@1.7.1:
resolution: {integrity: sha512-rT7qZnQtx5c0/y/KlYaGvtG411S97UaL6gdp6RIZ23DLHanMYLyfGBV5DtSnZdthQql7W+lEVbpSfwtO8T+L2w==}
prosemirror-dropcursor@1.8.2:
resolution: {integrity: sha512-CCk6Gyx9+Tt2sbYk5NK0nB1ukHi2ryaRgadV/LvyNuO3ena1payM2z6Cg0vO1ebK8cxbzo41ku2DE5Axj1Zuiw==}
prosemirror-gapcursor@1.4.0:
resolution: {integrity: sha512-z00qvurSdCEWUIulij/isHaqu4uLS8r/Fi61IbjdIPJEonQgggbJsLnstW7Lgdk4zQ68/yr6B6bf7sJXowIgdQ==}
prosemirror-history@1.5.0:
resolution: {integrity: sha512-zlzTiH01eKA55UAf1MEjtssJeHnGxO0j4K4Dpx+gnmX9n+SHNlDqI2oO1Kv1iPN5B1dm5fsljCfqKF9nFL6HRg==}
prosemirror-inputrules@1.5.1:
resolution: {integrity: sha512-7wj4uMjKaXWAQ1CDgxNzNtR9AlsuwzHfdFH1ygEHA2KHF2DOEaXl1CJfNPAKCg9qNEh4rum975QLaCiQPyY6Fw==}
prosemirror-keymap@1.2.3:
resolution: {integrity: sha512-4HucRlpiLd1IPQQXNqeo81BGtkY8Ai5smHhKW9jjPKRc2wQIxksg7Hl1tTI2IfT2B/LgX6bfYvXxEpJl7aKYKw==}
prosemirror-markdown@1.13.3:
resolution: {integrity: sha512-3E+Et6cdXIH0EgN2tGYQ+EBT7N4kMiZFsW+hzx+aPtOmADDHWCdd2uUQb7yklJrfUYUOjEEu22BiN6UFgPe4cQ==}
prosemirror-menu@1.2.5:
resolution: {integrity: sha512-qwXzynnpBIeg1D7BAtjOusR+81xCp53j7iWu/IargiRZqRjGIlQuu1f3jFi+ehrHhWMLoyOQTSRx/IWZJqOYtQ==}
prosemirror-model@1.25.4:
resolution: {integrity: sha512-PIM7E43PBxKce8OQeezAs9j4TP+5yDpZVbuurd1h5phUxEKIu+G2a+EUZzIC5nS1mJktDJWzbqS23n1tsAf5QA==}
prosemirror-schema-basic@1.2.4:
resolution: {integrity: sha512-ELxP4TlX3yr2v5rM7Sb70SqStq5NvI15c0j9j/gjsrO5vaw+fnnpovCLEGIcpeGfifkuqJwl4fon6b+KdrODYQ==}
prosemirror-schema-list@1.5.1:
resolution: {integrity: sha512-927lFx/uwyQaGwJxLWCZRkjXG0p48KpMj6ueoYiu4JX05GGuGcgzAy62dfiV8eFZftgyBUvLx76RsMe20fJl+Q==}
prosemirror-state@1.4.4:
resolution: {integrity: sha512-6jiYHH2CIGbCfnxdHbXZ12gySFY/fz/ulZE333G6bPqIZ4F+TXo9ifiR86nAHpWnfoNjOb3o5ESi7J8Uz1jXHw==}
prosemirror-tables@1.8.5:
resolution: {integrity: sha512-V/0cDCsHKHe/tfWkeCmthNUcEp1IVO3p6vwN8XtwE9PZQLAZJigbw3QoraAdfJPir4NKJtNvOB8oYGKRl+t0Dw==}
prosemirror-trailing-node@3.0.0:
resolution: {integrity: sha512-xiun5/3q0w5eRnGYfNlW1uU9W6x5MoFKWwq/0TIRgt09lv7Hcser2QYV8t4muXbEr+Fwo0geYn79Xs4GKywrRQ==}
peerDependencies:
prosemirror-model: ^1.22.1
prosemirror-state: ^1.4.2
prosemirror-view: ^1.33.8
prosemirror-transform@1.11.0:
resolution: {integrity: sha512-4I7Ce4KpygXb9bkiPS3hTEk4dSHorfRw8uI0pE8IhxlK2GXsqv5tIA7JUSxtSu7u8APVOTtbUBxTmnHIxVkIJw==}
prosemirror-view@1.41.5:
resolution: {integrity: sha512-UDQbIPnDrjE8tqUBbPmCOZgtd75htE6W3r0JCmY9bL6W1iemDM37MZEKC49d+tdQ0v/CKx4gjxLoLsfkD2NiZA==}
proxy-agent@6.3.1:
resolution: {integrity: sha512-Rb5RVBy1iyqOtNl15Cw/llpeLH8bsb37gM1FUfKQ+Wck6xHlbAhWGUFiTRHtkjqGTA5pSHz6+0hrPW/oECihPQ==}
engines: {node: '>= 14'}
@@ -2793,6 +3277,10 @@ packages:
proxy-from-env@1.1.0:
resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
punycode.js@2.3.1:
resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==}
engines: {node: '>=6'}
punycode@2.3.1:
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
engines: {node: '>=6'}
@@ -2918,6 +3406,9 @@ packages:
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
rope-sequence@1.3.4:
resolution: {integrity: sha512-UT5EDe2cu2E/6O4igUr5PSFs23nvvukicWHx6GnOPlHAiiYbzNuCRQCuiUdHJQcqKalLKlrYJnjY0ySGsXNQXQ==}
run-series@1.1.9:
resolution: {integrity: sha512-Arc4hUN896vjkqCYrUXquBFtRZdv1PfLbTYP71efP6butxyQ0kWpiNJyAgsxscmQg1cqvHY32/UCBzXedTpU2g==}
@@ -2959,6 +3450,13 @@ packages:
set-cookie-parser@2.7.2:
resolution: {integrity: sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==}
setprototypeof@1.2.0:
resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
sharp@0.34.5:
resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
shebang-command@2.0.0:
resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
engines: {node: '>=8'}
@@ -3024,6 +3522,10 @@ packages:
stackback@0.0.2:
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
statuses@2.0.2:
resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==}
engines: {node: '>= 0.8'}
std-env@3.10.0:
resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==}
@@ -3089,6 +3591,10 @@ packages:
resolution: {integrity: sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==}
engines: {node: '>=12'}
toidentifier@1.0.1:
resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
engines: {node: '>=0.6'}
tree-kill@1.2.2:
resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
hasBin: true
@@ -3206,6 +3712,9 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
uc.micro@2.1.0:
resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==}
unconfig-core@7.4.2:
resolution: {integrity: sha512-VgPCvLWugINbXvMQDf8Jh0mlbvNjNC6eSUziHsBCMpxR05OPrNrvDnyatdMjRgcHaaNsCqz+wjNXxNw1kRLHUg==}
@@ -3402,6 +3911,9 @@ packages:
typescript:
optional: true
w3c-keyname@2.2.8:
resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==}
which@2.0.2:
resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
engines: {node: '>= 8'}
@@ -3646,6 +4158,8 @@ snapshots:
'@eslint/core': 0.17.0
levn: 0.4.1
'@fastify/accept-negotiator@2.0.1': {}
'@fastify/ajv-compiler@4.0.5':
dependencies:
ajv: 8.17.1
@@ -3674,6 +4188,34 @@ snapshots:
'@fastify/forwarded': 3.0.1
ipaddr.js: 2.3.0
'@fastify/send@4.1.0':
dependencies:
'@lukeed/ms': 2.0.2
escape-html: 1.0.3
fast-decode-uri-component: 1.0.1
http-errors: 2.0.1
mime: 3.0.0
'@fastify/static@9.0.0':
dependencies:
'@fastify/accept-negotiator': 2.0.1
'@fastify/send': 4.1.0
content-disposition: 1.0.1
fastify-plugin: 5.1.0
fastq: 1.20.1
glob: 13.0.0
'@floating-ui/core@1.7.4':
dependencies:
'@floating-ui/utils': 0.2.10
'@floating-ui/dom@1.7.5':
dependencies:
'@floating-ui/core': 1.7.4
'@floating-ui/utils': 0.2.10
'@floating-ui/utils@0.2.10': {}
'@hono/node-server@1.19.6(hono@4.10.6)':
dependencies:
hono: 4.10.6
@@ -3689,6 +4231,108 @@ snapshots:
'@humanwhocodes/retry@0.4.3': {}
'@img/colour@1.0.0': {}
'@img/sharp-darwin-arm64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-darwin-arm64': 1.2.4
optional: true
'@img/sharp-darwin-x64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-darwin-x64': 1.2.4
optional: true
'@img/sharp-libvips-darwin-arm64@1.2.4':
optional: true
'@img/sharp-libvips-darwin-x64@1.2.4':
optional: true
'@img/sharp-libvips-linux-arm64@1.2.4':
optional: true
'@img/sharp-libvips-linux-arm@1.2.4':
optional: true
'@img/sharp-libvips-linux-ppc64@1.2.4':
optional: true
'@img/sharp-libvips-linux-riscv64@1.2.4':
optional: true
'@img/sharp-libvips-linux-s390x@1.2.4':
optional: true
'@img/sharp-libvips-linux-x64@1.2.4':
optional: true
'@img/sharp-libvips-linuxmusl-arm64@1.2.4':
optional: true
'@img/sharp-libvips-linuxmusl-x64@1.2.4':
optional: true
'@img/sharp-linux-arm64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-arm64': 1.2.4
optional: true
'@img/sharp-linux-arm@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-arm': 1.2.4
optional: true
'@img/sharp-linux-ppc64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-ppc64': 1.2.4
optional: true
'@img/sharp-linux-riscv64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-riscv64': 1.2.4
optional: true
'@img/sharp-linux-s390x@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-s390x': 1.2.4
optional: true
'@img/sharp-linux-x64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-x64': 1.2.4
optional: true
'@img/sharp-linuxmusl-arm64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linuxmusl-arm64': 1.2.4
optional: true
'@img/sharp-linuxmusl-x64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linuxmusl-x64': 1.2.4
optional: true
'@img/sharp-wasm32@0.34.5':
dependencies:
'@emnapi/runtime': 1.8.0
optional: true
'@img/sharp-win32-arm64@0.34.5':
optional: true
'@img/sharp-win32-ia32@0.34.5':
optional: true
'@img/sharp-win32-x64@0.34.5':
optional: true
'@isaacs/balanced-match@4.0.1': {}
'@isaacs/brace-expansion@5.0.0':
dependencies:
'@isaacs/balanced-match': 4.0.1
'@jridgewell/gen-mapping@0.3.13':
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
@@ -3708,6 +4352,8 @@ snapshots:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.5.5
'@lukeed/ms@2.0.2': {}
'@mrleebo/prisma-ast@0.12.1':
dependencies:
chevrotain: 10.5.0
@@ -3892,6 +4538,8 @@ snapshots:
dependencies:
'@redis/client': 5.10.0
'@remirror/core-constants@3.0.0': {}
'@rolldown/binding-android-arm64@1.0.0-beta.57':
optional: true
@@ -4198,6 +4846,184 @@ snapshots:
tailwindcss: 4.1.18
vite: 7.3.1(@types/node@25.0.3)(jiti@2.6.1)(lightningcss@1.30.2)(tsx@4.21.0)
'@tiptap/core@3.18.0(@tiptap/pm@3.18.0)':
dependencies:
'@tiptap/pm': 3.18.0
'@tiptap/extension-blockquote@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-bold@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-bubble-menu@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)':
dependencies:
'@floating-ui/dom': 1.7.5
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/pm': 3.18.0
optional: true
'@tiptap/extension-bullet-list@3.18.0(@tiptap/extension-list@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/extension-list': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-code-block@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/pm': 3.18.0
'@tiptap/extension-code@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-document@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-dropcursor@3.18.0(@tiptap/extensions@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/extensions': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-floating-menu@3.18.0(@floating-ui/dom@1.7.5)(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)':
dependencies:
'@floating-ui/dom': 1.7.5
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/pm': 3.18.0
optional: true
'@tiptap/extension-gapcursor@3.18.0(@tiptap/extensions@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/extensions': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-hard-break@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-heading@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-horizontal-rule@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/pm': 3.18.0
'@tiptap/extension-image@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-italic@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-link@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/pm': 3.18.0
linkifyjs: 4.3.2
'@tiptap/extension-list-item@3.18.0(@tiptap/extension-list@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/extension-list': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-list-keymap@3.18.0(@tiptap/extension-list@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/extension-list': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-list@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/pm': 3.18.0
'@tiptap/extension-ordered-list@3.18.0(@tiptap/extension-list@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/extension-list': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-paragraph@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-placeholder@3.18.0(@tiptap/extensions@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/extensions': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-strike@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-text@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-underline@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extensions@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/pm': 3.18.0
'@tiptap/pm@3.18.0':
dependencies:
prosemirror-changeset: 2.3.1
prosemirror-collab: 1.3.1
prosemirror-commands: 1.7.1
prosemirror-dropcursor: 1.8.2
prosemirror-gapcursor: 1.4.0
prosemirror-history: 1.5.0
prosemirror-inputrules: 1.5.1
prosemirror-keymap: 1.2.3
prosemirror-markdown: 1.13.3
prosemirror-menu: 1.2.5
prosemirror-model: 1.25.4
prosemirror-schema-basic: 1.2.4
prosemirror-schema-list: 1.5.1
prosemirror-state: 1.4.4
prosemirror-tables: 1.8.5
prosemirror-trailing-node: 3.0.0(prosemirror-model@1.25.4)(prosemirror-state@1.4.4)(prosemirror-view@1.41.5)
prosemirror-transform: 1.11.0
prosemirror-view: 1.41.5
'@tiptap/starter-kit@3.18.0':
dependencies:
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/extension-blockquote': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-bold': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-bullet-list': 3.18.0(@tiptap/extension-list@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))
'@tiptap/extension-code': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-code-block': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-document': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-dropcursor': 3.18.0(@tiptap/extensions@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))
'@tiptap/extension-gapcursor': 3.18.0(@tiptap/extensions@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))
'@tiptap/extension-hard-break': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-heading': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-horizontal-rule': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-italic': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-link': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-list': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-list-item': 3.18.0(@tiptap/extension-list@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))
'@tiptap/extension-list-keymap': 3.18.0(@tiptap/extension-list@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))
'@tiptap/extension-ordered-list': 3.18.0(@tiptap/extension-list@3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0))
'@tiptap/extension-paragraph': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-strike': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-text': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extension-underline': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))
'@tiptap/extensions': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/pm': 3.18.0
'@tiptap/vue-3@3.18.0(@floating-ui/dom@1.7.5)(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)(vue@3.5.26(typescript@5.9.3))':
dependencies:
'@floating-ui/dom': 1.7.5
'@tiptap/core': 3.18.0(@tiptap/pm@3.18.0)
'@tiptap/pm': 3.18.0
vue: 3.5.26(typescript@5.9.3)
optionalDependencies:
'@tiptap/extension-bubble-menu': 3.18.0(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tiptap/extension-floating-menu': 3.18.0(@floating-ui/dom@1.7.5)(@tiptap/core@3.18.0(@tiptap/pm@3.18.0))(@tiptap/pm@3.18.0)
'@tootallnate/quickjs-emscripten@0.23.0': {}
'@trpc/client@11.8.1(@trpc/server@11.8.1(typescript@5.9.3))(typescript@5.9.3)':
@@ -4225,6 +5051,15 @@ snapshots:
'@types/json-schema@7.0.15': {}
'@types/linkify-it@5.0.0': {}
'@types/markdown-it@14.1.2':
dependencies:
'@types/linkify-it': 5.0.0
'@types/mdurl': 2.0.0
'@types/mdurl@2.0.0': {}
'@types/node@25.0.3':
dependencies:
undici-types: 7.16.0
@@ -4726,12 +5561,16 @@ snapshots:
consola@3.4.2: {}
content-disposition@1.0.1: {}
cookie@1.1.1: {}
copy-anything@4.0.5:
dependencies:
is-what: 5.5.0
crelt@1.0.6: {}
croner@4.1.97: {}
cross-spawn@7.0.6:
@@ -4780,6 +5619,8 @@ snapshots:
denque@2.1.0: {}
depd@2.0.0: {}
dequal@2.0.3: {}
destr@2.0.5: {}
@@ -4810,6 +5651,8 @@ snapshots:
dependencies:
ansi-colors: 4.1.3
entities@4.5.0: {}
entities@7.0.0: {}
es-module-lexer@1.7.0: {}
@@ -4847,6 +5690,8 @@ snapshots:
escalade@3.2.0: {}
escape-html@1.0.3: {}
escape-string-regexp@4.0.0: {}
escodegen@2.1.0:
@@ -5119,6 +5964,12 @@ snapshots:
dependencies:
is-glob: 4.0.3
glob@13.0.0:
dependencies:
minimatch: 10.1.1
minipass: 7.1.2
path-scurry: 2.0.1
globals@14.0.0: {}
globals@17.0.0: {}
@@ -5141,6 +5992,14 @@ snapshots:
hookable@6.0.1: {}
http-errors@2.0.1:
dependencies:
depd: 2.0.0
inherits: 2.0.4
setprototypeof: 1.2.0
statuses: 2.0.2
toidentifier: 1.0.1
http-proxy-agent@7.0.2:
dependencies:
agent-base: 7.1.4
@@ -5180,6 +6039,8 @@ snapshots:
imurmurhash@0.1.4: {}
inherits@2.0.4: {}
ini@1.3.8: {}
ip-address@10.1.0: {}
@@ -5306,6 +6167,12 @@ snapshots:
lilconfig@2.1.0: {}
linkify-it@5.0.0:
dependencies:
uc.micro: 2.1.0
linkifyjs@4.3.2: {}
locate-path@6.0.0:
dependencies:
p-locate: 5.0.0
@@ -5316,6 +6183,8 @@ snapshots:
long@5.3.2: {}
lru-cache@11.2.5: {}
lru-cache@6.0.0:
dependencies:
yallist: 4.0.0
@@ -5328,6 +6197,23 @@ snapshots:
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
markdown-it@14.1.0:
dependencies:
argparse: 2.0.1
entities: 4.5.0
linkify-it: 5.0.0
mdurl: 2.0.0
punycode.js: 2.3.1
uc.micro: 2.1.0
mdurl@2.0.0: {}
mime@3.0.0: {}
minimatch@10.1.1:
dependencies:
'@isaacs/brace-expansion': 5.0.0
minimatch@3.1.2:
dependencies:
brace-expansion: 1.1.12
@@ -5336,6 +6222,8 @@ snapshots:
dependencies:
brace-expansion: 2.0.2
minipass@7.1.2: {}
mitt@3.0.1: {}
mkdirp@1.0.4: {}
@@ -5416,6 +6304,8 @@ snapshots:
type-check: 0.4.0
word-wrap: 1.2.5
orderedmap@2.1.1: {}
p-limit@3.1.0:
dependencies:
yocto-queue: 0.1.0
@@ -5456,6 +6346,11 @@ snapshots:
path-parse@1.0.7: {}
path-scurry@2.0.1:
dependencies:
lru-cache: 11.2.5
minipass: 7.1.2
pathe@2.0.3: {}
perfect-debounce@1.0.0: {}
@@ -5681,6 +6576,109 @@ snapshots:
retry: 0.12.0
signal-exit: 3.0.7
prosemirror-changeset@2.3.1:
dependencies:
prosemirror-transform: 1.11.0
prosemirror-collab@1.3.1:
dependencies:
prosemirror-state: 1.4.4
prosemirror-commands@1.7.1:
dependencies:
prosemirror-model: 1.25.4
prosemirror-state: 1.4.4
prosemirror-transform: 1.11.0
prosemirror-dropcursor@1.8.2:
dependencies:
prosemirror-state: 1.4.4
prosemirror-transform: 1.11.0
prosemirror-view: 1.41.5
prosemirror-gapcursor@1.4.0:
dependencies:
prosemirror-keymap: 1.2.3
prosemirror-model: 1.25.4
prosemirror-state: 1.4.4
prosemirror-view: 1.41.5
prosemirror-history@1.5.0:
dependencies:
prosemirror-state: 1.4.4
prosemirror-transform: 1.11.0
prosemirror-view: 1.41.5
rope-sequence: 1.3.4
prosemirror-inputrules@1.5.1:
dependencies:
prosemirror-state: 1.4.4
prosemirror-transform: 1.11.0
prosemirror-keymap@1.2.3:
dependencies:
prosemirror-state: 1.4.4
w3c-keyname: 2.2.8
prosemirror-markdown@1.13.3:
dependencies:
'@types/markdown-it': 14.1.2
markdown-it: 14.1.0
prosemirror-model: 1.25.4
prosemirror-menu@1.2.5:
dependencies:
crelt: 1.0.6
prosemirror-commands: 1.7.1
prosemirror-history: 1.5.0
prosemirror-state: 1.4.4
prosemirror-model@1.25.4:
dependencies:
orderedmap: 2.1.1
prosemirror-schema-basic@1.2.4:
dependencies:
prosemirror-model: 1.25.4
prosemirror-schema-list@1.5.1:
dependencies:
prosemirror-model: 1.25.4
prosemirror-state: 1.4.4
prosemirror-transform: 1.11.0
prosemirror-state@1.4.4:
dependencies:
prosemirror-model: 1.25.4
prosemirror-transform: 1.11.0
prosemirror-view: 1.41.5
prosemirror-tables@1.8.5:
dependencies:
prosemirror-keymap: 1.2.3
prosemirror-model: 1.25.4
prosemirror-state: 1.4.4
prosemirror-transform: 1.11.0
prosemirror-view: 1.41.5
prosemirror-trailing-node@3.0.0(prosemirror-model@1.25.4)(prosemirror-state@1.4.4)(prosemirror-view@1.41.5):
dependencies:
'@remirror/core-constants': 3.0.0
escape-string-regexp: 4.0.0
prosemirror-model: 1.25.4
prosemirror-state: 1.4.4
prosemirror-view: 1.41.5
prosemirror-transform@1.11.0:
dependencies:
prosemirror-model: 1.25.4
prosemirror-view@1.41.5:
dependencies:
prosemirror-model: 1.25.4
prosemirror-state: 1.4.4
prosemirror-transform: 1.11.0
proxy-agent@6.3.1:
dependencies:
agent-base: 7.1.4
@@ -5696,6 +6694,8 @@ snapshots:
proxy-from-env@1.1.0: {}
punycode.js@2.3.1: {}
punycode@2.3.1: {}
pure-rand@6.1.0: {}
@@ -5884,6 +6884,8 @@ snapshots:
'@rollup/rollup-win32-x64-msvc': 4.55.1
fsevents: 2.3.3
rope-sequence@1.3.4: {}
run-series@1.1.9: {}
safe-buffer@5.2.1: {}
@@ -5912,6 +6914,39 @@ snapshots:
set-cookie-parser@2.7.2: {}
setprototypeof@1.2.0: {}
sharp@0.34.5:
dependencies:
'@img/colour': 1.0.0
detect-libc: 2.1.2
semver: 7.7.3
optionalDependencies:
'@img/sharp-darwin-arm64': 0.34.5
'@img/sharp-darwin-x64': 0.34.5
'@img/sharp-libvips-darwin-arm64': 1.2.4
'@img/sharp-libvips-darwin-x64': 1.2.4
'@img/sharp-libvips-linux-arm': 1.2.4
'@img/sharp-libvips-linux-arm64': 1.2.4
'@img/sharp-libvips-linux-ppc64': 1.2.4
'@img/sharp-libvips-linux-riscv64': 1.2.4
'@img/sharp-libvips-linux-s390x': 1.2.4
'@img/sharp-libvips-linux-x64': 1.2.4
'@img/sharp-libvips-linuxmusl-arm64': 1.2.4
'@img/sharp-libvips-linuxmusl-x64': 1.2.4
'@img/sharp-linux-arm': 0.34.5
'@img/sharp-linux-arm64': 0.34.5
'@img/sharp-linux-ppc64': 0.34.5
'@img/sharp-linux-riscv64': 0.34.5
'@img/sharp-linux-s390x': 0.34.5
'@img/sharp-linux-x64': 0.34.5
'@img/sharp-linuxmusl-arm64': 0.34.5
'@img/sharp-linuxmusl-x64': 0.34.5
'@img/sharp-wasm32': 0.34.5
'@img/sharp-win32-arm64': 0.34.5
'@img/sharp-win32-ia32': 0.34.5
'@img/sharp-win32-x64': 0.34.5
shebang-command@2.0.0:
dependencies:
shebang-regex: 3.0.0
@@ -5964,6 +6999,8 @@ snapshots:
stackback@0.0.2: {}
statuses@2.0.2: {}
std-env@3.10.0: {}
std-env@3.9.0: {}
@@ -6012,6 +7049,8 @@ snapshots:
toad-cache@3.7.0: {}
toidentifier@1.0.1: {}
tree-kill@1.2.2: {}
ts-api-utils@2.4.0(typescript@5.9.3):
@@ -6113,6 +7152,8 @@ snapshots:
typescript@5.9.3: {}
uc.micro@2.1.0: {}
unconfig-core@7.4.2:
dependencies:
'@quansync/fs': 1.0.0
@@ -6268,6 +7309,8 @@ snapshots:
optionalDependencies:
typescript: 5.9.3
w3c-keyname@2.2.8: {}
which@2.0.2:
dependencies:
isexe: 2.0.0