fix: register missing note_shares+note_versions containers, add multi-note input type

This commit is contained in:
saravanakumardb1 2026-04-06 20:20:12 -07:00
parent 18646fac6d
commit 6f262a5218
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ const CONTAINER_DEFS: Record<string, ContainerConfig> = {
note_prompts: { partitionKeyPath: '/userId' },
note_prompt_schedules: { partitionKeyPath: '/userId' },
note_prompt_webhooks: { partitionKeyPath: '/userId' },
note_shares: { partitionKeyPath: '/workspaceId' },
note_versions: { partitionKeyPath: '/workspaceId' },
};
export async function initCosmosIfNeeded(): Promise<void> {

View File

@ -5,7 +5,7 @@ import { z } from 'zod';
export const PROMPT_CATEGORIES = ['transform', 'extract', 'generate', 'analyze', 'export'] as const;
export type PromptCategory = (typeof PROMPT_CATEGORIES)[number];
export const PROMPT_INPUT_TYPES = ['text', 'image', 'text+image'] as const;
export const PROMPT_INPUT_TYPES = ['text', 'image', 'text+image', 'multi-note'] as const;
export type PromptInputType = (typeof PROMPT_INPUT_TYPES)[number];
export const PROMPT_OUTPUT_TYPES = ['replace', 'new_note', 'artifact', 'inline'] as const;