fix: register missing note_shares+note_versions containers, add multi-note input type
This commit is contained in:
parent
18646fac6d
commit
6f262a5218
@ -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> {
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user