@otto-assistant/bridge 0.4.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin.js +2 -0
- package/dist/agent-model.e2e.test.js +755 -0
- package/dist/ai-tool-to-genai.js +233 -0
- package/dist/ai-tool-to-genai.test.js +267 -0
- package/dist/ai-tool.js +6 -0
- package/dist/anthropic-auth-plugin.js +728 -0
- package/dist/anthropic-auth-plugin.test.js +125 -0
- package/dist/anthropic-auth-state.js +231 -0
- package/dist/bin.js +90 -0
- package/dist/channel-management.js +227 -0
- package/dist/cli-parsing.test.js +137 -0
- package/dist/cli-send-thread.e2e.test.js +356 -0
- package/dist/cli.js +3276 -0
- package/dist/commands/abort.js +65 -0
- package/dist/commands/action-buttons.js +245 -0
- package/dist/commands/add-project.js +113 -0
- package/dist/commands/agent.js +335 -0
- package/dist/commands/ask-question.js +274 -0
- package/dist/commands/btw.js +116 -0
- package/dist/commands/compact.js +120 -0
- package/dist/commands/context-usage.js +140 -0
- package/dist/commands/create-new-project.js +130 -0
- package/dist/commands/diff.js +63 -0
- package/dist/commands/file-upload.js +275 -0
- package/dist/commands/fork.js +220 -0
- package/dist/commands/gemini-apikey.js +70 -0
- package/dist/commands/login.js +885 -0
- package/dist/commands/mcp.js +239 -0
- package/dist/commands/memory-snapshot.js +24 -0
- package/dist/commands/mention-mode.js +44 -0
- package/dist/commands/merge-worktree.js +159 -0
- package/dist/commands/model-variant.js +364 -0
- package/dist/commands/model.js +776 -0
- package/dist/commands/new-worktree.js +366 -0
- package/dist/commands/paginated-select.js +57 -0
- package/dist/commands/permissions.js +274 -0
- package/dist/commands/queue.js +206 -0
- package/dist/commands/remove-project.js +115 -0
- package/dist/commands/restart-opencode-server.js +127 -0
- package/dist/commands/resume.js +149 -0
- package/dist/commands/run-command.js +79 -0
- package/dist/commands/screenshare.js +303 -0
- package/dist/commands/screenshare.test.js +20 -0
- package/dist/commands/session-id.js +78 -0
- package/dist/commands/session.js +176 -0
- package/dist/commands/share.js +80 -0
- package/dist/commands/tasks.js +205 -0
- package/dist/commands/types.js +2 -0
- package/dist/commands/undo-redo.js +305 -0
- package/dist/commands/unset-model.js +138 -0
- package/dist/commands/upgrade.js +42 -0
- package/dist/commands/user-command.js +155 -0
- package/dist/commands/verbosity.js +125 -0
- package/dist/commands/worktree-settings.js +43 -0
- package/dist/commands/worktrees.js +410 -0
- package/dist/condense-memory.js +33 -0
- package/dist/config.js +94 -0
- package/dist/context-awareness-plugin.js +363 -0
- package/dist/context-awareness-plugin.test.js +124 -0
- package/dist/critique-utils.js +95 -0
- package/dist/database.js +1310 -0
- package/dist/db.js +251 -0
- package/dist/db.test.js +138 -0
- package/dist/debounce-timeout.js +28 -0
- package/dist/debounced-process-flush.js +77 -0
- package/dist/discord-bot.js +1008 -0
- package/dist/discord-command-registration.js +524 -0
- package/dist/discord-urls.js +81 -0
- package/dist/discord-utils.js +591 -0
- package/dist/discord-utils.test.js +134 -0
- package/dist/errors.js +157 -0
- package/dist/escape-backticks.test.js +429 -0
- package/dist/event-stream-real-capture.e2e.test.js +533 -0
- package/dist/eventsource-parser.test.js +327 -0
- package/dist/exec-async.js +26 -0
- package/dist/external-opencode-sync.js +480 -0
- package/dist/format-tables.js +302 -0
- package/dist/format-tables.test.js +308 -0
- package/dist/forum-sync/config.js +79 -0
- package/dist/forum-sync/discord-operations.js +154 -0
- package/dist/forum-sync/index.js +5 -0
- package/dist/forum-sync/markdown.js +113 -0
- package/dist/forum-sync/sync-to-discord.js +417 -0
- package/dist/forum-sync/sync-to-files.js +190 -0
- package/dist/forum-sync/types.js +53 -0
- package/dist/forum-sync/watchers.js +307 -0
- package/dist/gateway-proxy-reconnect.e2e.test.js +394 -0
- package/dist/gateway-proxy.e2e.test.js +483 -0
- package/dist/genai-worker-wrapper.js +111 -0
- package/dist/genai-worker.js +311 -0
- package/dist/genai.js +232 -0
- package/dist/generated/browser.js +17 -0
- package/dist/generated/client.js +37 -0
- package/dist/generated/commonInputTypes.js +10 -0
- package/dist/generated/enums.js +52 -0
- package/dist/generated/internal/class.js +49 -0
- package/dist/generated/internal/prismaNamespace.js +253 -0
- package/dist/generated/internal/prismaNamespaceBrowser.js +223 -0
- package/dist/generated/models/bot_api_keys.js +1 -0
- package/dist/generated/models/bot_tokens.js +1 -0
- package/dist/generated/models/channel_agents.js +1 -0
- package/dist/generated/models/channel_directories.js +1 -0
- package/dist/generated/models/channel_mention_mode.js +1 -0
- package/dist/generated/models/channel_models.js +1 -0
- package/dist/generated/models/channel_verbosity.js +1 -0
- package/dist/generated/models/channel_worktrees.js +1 -0
- package/dist/generated/models/forum_sync_configs.js +1 -0
- package/dist/generated/models/global_models.js +1 -0
- package/dist/generated/models/ipc_requests.js +1 -0
- package/dist/generated/models/part_messages.js +1 -0
- package/dist/generated/models/scheduled_tasks.js +1 -0
- package/dist/generated/models/session_agents.js +1 -0
- package/dist/generated/models/session_events.js +1 -0
- package/dist/generated/models/session_models.js +1 -0
- package/dist/generated/models/session_start_sources.js +1 -0
- package/dist/generated/models/thread_sessions.js +1 -0
- package/dist/generated/models/thread_worktrees.js +1 -0
- package/dist/generated/models.js +1 -0
- package/dist/heap-monitor.js +122 -0
- package/dist/hrana-server.js +263 -0
- package/dist/hrana-server.test.js +370 -0
- package/dist/html-actions.js +123 -0
- package/dist/html-actions.test.js +70 -0
- package/dist/html-components.js +117 -0
- package/dist/html-components.test.js +34 -0
- package/dist/image-optimizer-plugin.js +153 -0
- package/dist/image-utils.js +112 -0
- package/dist/interaction-handler.js +397 -0
- package/dist/ipc-polling.js +252 -0
- package/dist/ipc-tools-plugin.js +193 -0
- package/dist/kimaki-digital-twin.e2e.test.js +161 -0
- package/dist/kimaki-opencode-plugin-loading.e2e.test.js +87 -0
- package/dist/kimaki-opencode-plugin.js +17 -0
- package/dist/kimaki-opencode-plugin.test.js +98 -0
- package/dist/limit-heading-depth.js +25 -0
- package/dist/limit-heading-depth.test.js +105 -0
- package/dist/logger.js +165 -0
- package/dist/markdown.js +342 -0
- package/dist/markdown.test.js +257 -0
- package/dist/message-finish-field.e2e.test.js +165 -0
- package/dist/message-formatting.js +413 -0
- package/dist/message-formatting.test.js +73 -0
- package/dist/message-preprocessing.js +330 -0
- package/dist/onboarding-tutorial.js +172 -0
- package/dist/onboarding-welcome.js +37 -0
- package/dist/openai-realtime.js +224 -0
- package/dist/opencode-command-detection.js +65 -0
- package/dist/opencode-command-detection.test.js +240 -0
- package/dist/opencode-command.js +129 -0
- package/dist/opencode-command.test.js +48 -0
- package/dist/opencode-interrupt-plugin.js +361 -0
- package/dist/opencode-interrupt-plugin.test.js +458 -0
- package/dist/opencode.js +861 -0
- package/dist/otto/branding.js +22 -0
- package/dist/otto/index.js +21 -0
- package/dist/parse-permission-rules.test.js +117 -0
- package/dist/patch-text-parser.js +97 -0
- package/dist/plugin-logger.js +59 -0
- package/dist/privacy-sanitizer.js +105 -0
- package/dist/queue-advanced-abort.e2e.test.js +293 -0
- package/dist/queue-advanced-action-buttons.e2e.test.js +206 -0
- package/dist/queue-advanced-e2e-setup.js +786 -0
- package/dist/queue-advanced-footer.e2e.test.js +472 -0
- package/dist/queue-advanced-model-switch.e2e.test.js +299 -0
- package/dist/queue-advanced-permissions-typing.e2e.test.js +180 -0
- package/dist/queue-advanced-question.e2e.test.js +261 -0
- package/dist/queue-advanced-typing-interrupt.e2e.test.js +114 -0
- package/dist/queue-advanced-typing.e2e.test.js +153 -0
- package/dist/queue-drain-after-interactive-ui.e2e.test.js +119 -0
- package/dist/queue-interrupt-drain.e2e.test.js +135 -0
- package/dist/queue-question-select-drain.e2e.test.js +120 -0
- package/dist/runtime-idle-sweeper.js +52 -0
- package/dist/runtime-lifecycle.e2e.test.js +508 -0
- package/dist/sentry.js +23 -0
- package/dist/session-handler/agent-utils.js +67 -0
- package/dist/session-handler/event-stream-state.js +420 -0
- package/dist/session-handler/event-stream-state.test.js +563 -0
- package/dist/session-handler/model-utils.js +124 -0
- package/dist/session-handler/opencode-session-event-log.js +94 -0
- package/dist/session-handler/thread-runtime-state.js +104 -0
- package/dist/session-handler/thread-session-runtime.js +3258 -0
- package/dist/session-handler.js +9 -0
- package/dist/session-search.js +100 -0
- package/dist/session-search.test.js +40 -0
- package/dist/session-title-rename.test.js +80 -0
- package/dist/startup-service.js +153 -0
- package/dist/startup-time.e2e.test.js +296 -0
- package/dist/store.js +17 -0
- package/dist/system-message.js +613 -0
- package/dist/system-message.test.js +602 -0
- package/dist/task-runner.js +295 -0
- package/dist/task-schedule.js +209 -0
- package/dist/task-schedule.test.js +71 -0
- package/dist/test-utils.js +299 -0
- package/dist/thinking-utils.js +35 -0
- package/dist/thread-message-queue.e2e.test.js +999 -0
- package/dist/tools.js +357 -0
- package/dist/undo-redo.e2e.test.js +161 -0
- package/dist/unnest-code-blocks.js +146 -0
- package/dist/unnest-code-blocks.test.js +673 -0
- package/dist/upgrade.js +114 -0
- package/dist/utils.js +144 -0
- package/dist/voice-attachment.js +34 -0
- package/dist/voice-handler.js +646 -0
- package/dist/voice-message.e2e.test.js +1021 -0
- package/dist/voice.js +447 -0
- package/dist/voice.test.js +235 -0
- package/dist/wait-session.js +94 -0
- package/dist/websockify.js +69 -0
- package/dist/worker-types.js +4 -0
- package/dist/worktree-lifecycle.e2e.test.js +308 -0
- package/dist/worktree-utils.js +3 -0
- package/dist/worktrees.js +929 -0
- package/dist/worktrees.test.js +189 -0
- package/dist/xml.js +92 -0
- package/dist/xml.test.js +32 -0
- package/package.json +98 -0
- package/schema.prisma +295 -0
- package/skills/batch/SKILL.md +87 -0
- package/skills/critique/SKILL.md +112 -0
- package/skills/egaki/SKILL.md +100 -0
- package/skills/errore/SKILL.md +647 -0
- package/skills/event-sourcing-state/SKILL.md +252 -0
- package/skills/gitchamber/SKILL.md +93 -0
- package/skills/goke/SKILL.md +644 -0
- package/skills/jitter/EDITOR.md +219 -0
- package/skills/jitter/EXPORT-INTERNALS.md +309 -0
- package/skills/jitter/SKILL.md +158 -0
- package/skills/jitter/jitter-clipboard.json +1042 -0
- package/skills/jitter/package.json +14 -0
- package/skills/jitter/tsconfig.json +15 -0
- package/skills/jitter/utils/actions.ts +212 -0
- package/skills/jitter/utils/export.ts +114 -0
- package/skills/jitter/utils/index.ts +141 -0
- package/skills/jitter/utils/snapshot.ts +154 -0
- package/skills/jitter/utils/traverse.ts +246 -0
- package/skills/jitter/utils/types.ts +279 -0
- package/skills/jitter/utils/wait.ts +133 -0
- package/skills/lintcn/SKILL.md +873 -0
- package/skills/new-skill/SKILL.md +211 -0
- package/skills/npm-package/SKILL.md +239 -0
- package/skills/playwriter/SKILL.md +35 -0
- package/skills/proxyman/SKILL.md +215 -0
- package/skills/security-review/SKILL.md +208 -0
- package/skills/simplify/SKILL.md +58 -0
- package/skills/spiceflow/SKILL.md +14 -0
- package/skills/termcast/SKILL.md +945 -0
- package/skills/tuistory/SKILL.md +250 -0
- package/skills/usecomputer/SKILL.md +264 -0
- package/skills/x-articles/SKILL.md +554 -0
- package/skills/zele/SKILL.md +112 -0
- package/skills/zustand-centralized-state/SKILL.md +1004 -0
- package/src/agent-model.e2e.test.ts +976 -0
- package/src/ai-tool-to-genai.test.ts +296 -0
- package/src/ai-tool-to-genai.ts +283 -0
- package/src/ai-tool.ts +39 -0
- package/src/anthropic-auth-plugin.test.ts +159 -0
- package/src/anthropic-auth-plugin.ts +861 -0
- package/src/anthropic-auth-state.ts +282 -0
- package/src/bin.ts +111 -0
- package/src/channel-management.ts +334 -0
- package/src/cli-parsing.test.ts +195 -0
- package/src/cli-send-thread.e2e.test.ts +464 -0
- package/src/cli.ts +4581 -0
- package/src/commands/abort.ts +89 -0
- package/src/commands/action-buttons.ts +364 -0
- package/src/commands/add-project.ts +149 -0
- package/src/commands/agent.ts +473 -0
- package/src/commands/ask-question.ts +390 -0
- package/src/commands/btw.ts +164 -0
- package/src/commands/compact.ts +157 -0
- package/src/commands/context-usage.ts +199 -0
- package/src/commands/create-new-project.ts +190 -0
- package/src/commands/diff.ts +91 -0
- package/src/commands/file-upload.ts +389 -0
- package/src/commands/fork.ts +321 -0
- package/src/commands/gemini-apikey.ts +104 -0
- package/src/commands/login.ts +1173 -0
- package/src/commands/mcp.ts +307 -0
- package/src/commands/memory-snapshot.ts +30 -0
- package/src/commands/mention-mode.ts +68 -0
- package/src/commands/merge-worktree.ts +223 -0
- package/src/commands/model-variant.ts +483 -0
- package/src/commands/model.ts +1053 -0
- package/src/commands/new-worktree.ts +510 -0
- package/src/commands/paginated-select.ts +81 -0
- package/src/commands/permissions.ts +397 -0
- package/src/commands/queue.ts +271 -0
- package/src/commands/remove-project.ts +155 -0
- package/src/commands/restart-opencode-server.ts +162 -0
- package/src/commands/resume.ts +230 -0
- package/src/commands/run-command.ts +123 -0
- package/src/commands/screenshare.test.ts +30 -0
- package/src/commands/screenshare.ts +366 -0
- package/src/commands/session-id.ts +109 -0
- package/src/commands/session.ts +227 -0
- package/src/commands/share.ts +106 -0
- package/src/commands/tasks.ts +293 -0
- package/src/commands/types.ts +25 -0
- package/src/commands/undo-redo.ts +386 -0
- package/src/commands/unset-model.ts +173 -0
- package/src/commands/upgrade.ts +52 -0
- package/src/commands/user-command.ts +198 -0
- package/src/commands/verbosity.ts +173 -0
- package/src/commands/worktree-settings.ts +70 -0
- package/src/commands/worktrees.ts +552 -0
- package/src/condense-memory.ts +36 -0
- package/src/config.ts +111 -0
- package/src/context-awareness-plugin.test.ts +142 -0
- package/src/context-awareness-plugin.ts +510 -0
- package/src/critique-utils.ts +139 -0
- package/src/database.ts +1876 -0
- package/src/db.test.ts +162 -0
- package/src/db.ts +286 -0
- package/src/debounce-timeout.ts +43 -0
- package/src/debounced-process-flush.ts +104 -0
- package/src/discord-bot.ts +1330 -0
- package/src/discord-command-registration.ts +693 -0
- package/src/discord-urls.ts +88 -0
- package/src/discord-utils.test.ts +153 -0
- package/src/discord-utils.ts +800 -0
- package/src/errors.ts +201 -0
- package/src/escape-backticks.test.ts +469 -0
- package/src/event-stream-real-capture.e2e.test.ts +692 -0
- package/src/eventsource-parser.test.ts +351 -0
- package/src/exec-async.ts +35 -0
- package/src/external-opencode-sync.ts +685 -0
- package/src/format-tables.test.ts +335 -0
- package/src/format-tables.ts +445 -0
- package/src/forum-sync/config.ts +92 -0
- package/src/forum-sync/discord-operations.ts +241 -0
- package/src/forum-sync/index.ts +9 -0
- package/src/forum-sync/markdown.ts +172 -0
- package/src/forum-sync/sync-to-discord.ts +595 -0
- package/src/forum-sync/sync-to-files.ts +294 -0
- package/src/forum-sync/types.ts +175 -0
- package/src/forum-sync/watchers.ts +454 -0
- package/src/gateway-proxy-reconnect.e2e.test.ts +523 -0
- package/src/gateway-proxy.e2e.test.ts +640 -0
- package/src/genai-worker-wrapper.ts +164 -0
- package/src/genai-worker.ts +386 -0
- package/src/genai.ts +321 -0
- package/src/generated/browser.ts +114 -0
- package/src/generated/client.ts +138 -0
- package/src/generated/commonInputTypes.ts +736 -0
- package/src/generated/enums.ts +88 -0
- package/src/generated/internal/class.ts +384 -0
- package/src/generated/internal/prismaNamespace.ts +2386 -0
- package/src/generated/internal/prismaNamespaceBrowser.ts +326 -0
- package/src/generated/models/bot_api_keys.ts +1288 -0
- package/src/generated/models/bot_tokens.ts +1656 -0
- package/src/generated/models/channel_agents.ts +1256 -0
- package/src/generated/models/channel_directories.ts +1859 -0
- package/src/generated/models/channel_mention_mode.ts +1300 -0
- package/src/generated/models/channel_models.ts +1288 -0
- package/src/generated/models/channel_verbosity.ts +1228 -0
- package/src/generated/models/channel_worktrees.ts +1300 -0
- package/src/generated/models/forum_sync_configs.ts +1452 -0
- package/src/generated/models/global_models.ts +1288 -0
- package/src/generated/models/ipc_requests.ts +1485 -0
- package/src/generated/models/part_messages.ts +1302 -0
- package/src/generated/models/scheduled_tasks.ts +2320 -0
- package/src/generated/models/session_agents.ts +1086 -0
- package/src/generated/models/session_events.ts +1439 -0
- package/src/generated/models/session_models.ts +1114 -0
- package/src/generated/models/session_start_sources.ts +1408 -0
- package/src/generated/models/thread_sessions.ts +1781 -0
- package/src/generated/models/thread_worktrees.ts +1356 -0
- package/src/generated/models.ts +30 -0
- package/src/heap-monitor.ts +152 -0
- package/src/hrana-server.test.ts +434 -0
- package/src/hrana-server.ts +314 -0
- package/src/html-actions.test.ts +87 -0
- package/src/html-actions.ts +174 -0
- package/src/html-components.test.ts +38 -0
- package/src/html-components.ts +181 -0
- package/src/image-optimizer-plugin.ts +194 -0
- package/src/image-utils.ts +149 -0
- package/src/interaction-handler.ts +576 -0
- package/src/ipc-polling.ts +326 -0
- package/src/ipc-tools-plugin.ts +236 -0
- package/src/kimaki-digital-twin.e2e.test.ts +199 -0
- package/src/kimaki-opencode-plugin-loading.e2e.test.ts +109 -0
- package/src/kimaki-opencode-plugin.test.ts +108 -0
- package/src/kimaki-opencode-plugin.ts +18 -0
- package/src/limit-heading-depth.test.ts +116 -0
- package/src/limit-heading-depth.ts +26 -0
- package/src/logger.ts +208 -0
- package/src/markdown.test.ts +308 -0
- package/src/markdown.ts +410 -0
- package/src/message-finish-field.e2e.test.ts +192 -0
- package/src/message-formatting.test.ts +81 -0
- package/src/message-formatting.ts +533 -0
- package/src/message-preprocessing.ts +455 -0
- package/src/onboarding-tutorial.ts +176 -0
- package/src/onboarding-welcome.ts +49 -0
- package/src/openai-realtime.ts +358 -0
- package/src/opencode-command-detection.test.ts +307 -0
- package/src/opencode-command-detection.ts +76 -0
- package/src/opencode-command.test.ts +70 -0
- package/src/opencode-command.ts +188 -0
- package/src/opencode-interrupt-plugin.test.ts +677 -0
- package/src/opencode-interrupt-plugin.ts +477 -0
- package/src/opencode.ts +1110 -0
- package/src/otto/branding.ts +23 -0
- package/src/otto/index.ts +22 -0
- package/src/parse-permission-rules.test.ts +127 -0
- package/src/patch-text-parser.ts +107 -0
- package/src/plugin-logger.ts +68 -0
- package/src/privacy-sanitizer.ts +142 -0
- package/src/queue-advanced-abort.e2e.test.ts +382 -0
- package/src/queue-advanced-action-buttons.e2e.test.ts +268 -0
- package/src/queue-advanced-e2e-setup.ts +873 -0
- package/src/queue-advanced-footer.e2e.test.ts +576 -0
- package/src/queue-advanced-model-switch.e2e.test.ts +383 -0
- package/src/queue-advanced-permissions-typing.e2e.test.ts +245 -0
- package/src/queue-advanced-question.e2e.test.ts +316 -0
- package/src/queue-advanced-typing-interrupt.e2e.test.ts +146 -0
- package/src/queue-advanced-typing.e2e.test.ts +199 -0
- package/src/queue-drain-after-interactive-ui.e2e.test.ts +151 -0
- package/src/queue-interrupt-drain.e2e.test.ts +166 -0
- package/src/queue-question-select-drain.e2e.test.ts +152 -0
- package/src/runtime-idle-sweeper.ts +76 -0
- package/src/runtime-lifecycle.e2e.test.ts +641 -0
- package/src/schema.sql +173 -0
- package/src/sentry.ts +26 -0
- package/src/session-handler/agent-utils.ts +97 -0
- package/src/session-handler/event-stream-fixtures/real-session-action-buttons.jsonl +45 -0
- package/src/session-handler/event-stream-fixtures/real-session-footer-suppressed-on-pre-idle-interrupt.jsonl +40 -0
- package/src/session-handler/event-stream-fixtures/real-session-permission-external-file.jsonl +23 -0
- package/src/session-handler/event-stream-fixtures/real-session-task-normal.jsonl +22 -0
- package/src/session-handler/event-stream-fixtures/real-session-task-three-parallel-sleeps.jsonl +277 -0
- package/src/session-handler/event-stream-fixtures/real-session-task-user-interruption.jsonl +46 -0
- package/src/session-handler/event-stream-fixtures/session-abort-after-idle-race.jsonl +21 -0
- package/src/session-handler/event-stream-fixtures/session-concurrent-messages-serialized.jsonl +56 -0
- package/src/session-handler/event-stream-fixtures/session-explicit-abort.jsonl +44 -0
- package/src/session-handler/event-stream-fixtures/session-normal-completion.jsonl +29 -0
- package/src/session-handler/event-stream-fixtures/session-tool-call-noisy-stream.jsonl +29 -0
- package/src/session-handler/event-stream-fixtures/session-two-completions-same-session.jsonl +50 -0
- package/src/session-handler/event-stream-fixtures/session-user-interruption.jsonl +59 -0
- package/src/session-handler/event-stream-fixtures/session-voice-queued-followup.jsonl +52 -0
- package/src/session-handler/event-stream-state.test.ts +645 -0
- package/src/session-handler/event-stream-state.ts +608 -0
- package/src/session-handler/model-utils.ts +183 -0
- package/src/session-handler/opencode-session-event-log.ts +130 -0
- package/src/session-handler/thread-runtime-state.ts +212 -0
- package/src/session-handler/thread-session-runtime.ts +4281 -0
- package/src/session-handler.ts +15 -0
- package/src/session-search.test.ts +50 -0
- package/src/session-search.ts +148 -0
- package/src/session-title-rename.test.ts +112 -0
- package/src/startup-service.ts +200 -0
- package/src/startup-time.e2e.test.ts +373 -0
- package/src/store.ts +122 -0
- package/src/system-message.test.ts +612 -0
- package/src/system-message.ts +723 -0
- package/src/task-runner.ts +421 -0
- package/src/task-schedule.test.ts +84 -0
- package/src/task-schedule.ts +311 -0
- package/src/test-utils.ts +435 -0
- package/src/thinking-utils.ts +61 -0
- package/src/thread-message-queue.e2e.test.ts +1219 -0
- package/src/tools.ts +430 -0
- package/src/undici.d.ts +12 -0
- package/src/undo-redo.e2e.test.ts +209 -0
- package/src/unnest-code-blocks.test.ts +713 -0
- package/src/unnest-code-blocks.ts +185 -0
- package/src/upgrade.ts +127 -0
- package/src/utils.ts +212 -0
- package/src/voice-attachment.ts +51 -0
- package/src/voice-handler.ts +908 -0
- package/src/voice-message.e2e.test.ts +1255 -0
- package/src/voice.test.ts +281 -0
- package/src/voice.ts +627 -0
- package/src/wait-session.ts +147 -0
- package/src/websockify.ts +101 -0
- package/src/worker-types.ts +64 -0
- package/src/worktree-lifecycle.e2e.test.ts +391 -0
- package/src/worktree-utils.ts +4 -0
- package/src/worktrees.test.ts +223 -0
- package/src/worktrees.ts +1294 -0
- package/src/xml.test.ts +38 -0
- package/src/xml.ts +121 -0
|
@@ -0,0 +1,1781 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `thread_sessions` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.js"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model thread_sessions
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type thread_sessionsModel = runtime.Types.Result.DefaultSelection<Prisma.$thread_sessionsPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateThread_sessions = {
|
|
22
|
+
_count: Thread_sessionsCountAggregateOutputType | null
|
|
23
|
+
_min: Thread_sessionsMinAggregateOutputType | null
|
|
24
|
+
_max: Thread_sessionsMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type Thread_sessionsMinAggregateOutputType = {
|
|
28
|
+
thread_id: string | null
|
|
29
|
+
session_id: string | null
|
|
30
|
+
source: $Enums.ThreadSessionSource | null
|
|
31
|
+
created_at: Date | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type Thread_sessionsMaxAggregateOutputType = {
|
|
35
|
+
thread_id: string | null
|
|
36
|
+
session_id: string | null
|
|
37
|
+
source: $Enums.ThreadSessionSource | null
|
|
38
|
+
created_at: Date | null
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type Thread_sessionsCountAggregateOutputType = {
|
|
42
|
+
thread_id: number
|
|
43
|
+
session_id: number
|
|
44
|
+
source: number
|
|
45
|
+
created_at: number
|
|
46
|
+
_all: number
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
export type Thread_sessionsMinAggregateInputType = {
|
|
51
|
+
thread_id?: true
|
|
52
|
+
session_id?: true
|
|
53
|
+
source?: true
|
|
54
|
+
created_at?: true
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type Thread_sessionsMaxAggregateInputType = {
|
|
58
|
+
thread_id?: true
|
|
59
|
+
session_id?: true
|
|
60
|
+
source?: true
|
|
61
|
+
created_at?: true
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type Thread_sessionsCountAggregateInputType = {
|
|
65
|
+
thread_id?: true
|
|
66
|
+
session_id?: true
|
|
67
|
+
source?: true
|
|
68
|
+
created_at?: true
|
|
69
|
+
_all?: true
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export type Thread_sessionsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
73
|
+
/**
|
|
74
|
+
* Filter which thread_sessions to aggregate.
|
|
75
|
+
*/
|
|
76
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
77
|
+
/**
|
|
78
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
79
|
+
*
|
|
80
|
+
* Determine the order of thread_sessions to fetch.
|
|
81
|
+
*/
|
|
82
|
+
orderBy?: Prisma.thread_sessionsOrderByWithRelationInput | Prisma.thread_sessionsOrderByWithRelationInput[]
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
85
|
+
*
|
|
86
|
+
* Sets the start position
|
|
87
|
+
*/
|
|
88
|
+
cursor?: Prisma.thread_sessionsWhereUniqueInput
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
91
|
+
*
|
|
92
|
+
* Take `±n` thread_sessions from the position of the cursor.
|
|
93
|
+
*/
|
|
94
|
+
take?: number
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
97
|
+
*
|
|
98
|
+
* Skip the first `n` thread_sessions.
|
|
99
|
+
*/
|
|
100
|
+
skip?: number
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
103
|
+
*
|
|
104
|
+
* Count returned thread_sessions
|
|
105
|
+
**/
|
|
106
|
+
_count?: true | Thread_sessionsCountAggregateInputType
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
109
|
+
*
|
|
110
|
+
* Select which fields to find the minimum value
|
|
111
|
+
**/
|
|
112
|
+
_min?: Thread_sessionsMinAggregateInputType
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Select which fields to find the maximum value
|
|
117
|
+
**/
|
|
118
|
+
_max?: Thread_sessionsMaxAggregateInputType
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type GetThread_sessionsAggregateType<T extends Thread_sessionsAggregateArgs> = {
|
|
122
|
+
[P in keyof T & keyof AggregateThread_sessions]: P extends '_count' | 'count'
|
|
123
|
+
? T[P] extends true
|
|
124
|
+
? number
|
|
125
|
+
: Prisma.GetScalarType<T[P], AggregateThread_sessions[P]>
|
|
126
|
+
: Prisma.GetScalarType<T[P], AggregateThread_sessions[P]>
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
export type thread_sessionsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
133
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
134
|
+
orderBy?: Prisma.thread_sessionsOrderByWithAggregationInput | Prisma.thread_sessionsOrderByWithAggregationInput[]
|
|
135
|
+
by: Prisma.Thread_sessionsScalarFieldEnum[] | Prisma.Thread_sessionsScalarFieldEnum
|
|
136
|
+
having?: Prisma.thread_sessionsScalarWhereWithAggregatesInput
|
|
137
|
+
take?: number
|
|
138
|
+
skip?: number
|
|
139
|
+
_count?: Thread_sessionsCountAggregateInputType | true
|
|
140
|
+
_min?: Thread_sessionsMinAggregateInputType
|
|
141
|
+
_max?: Thread_sessionsMaxAggregateInputType
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export type Thread_sessionsGroupByOutputType = {
|
|
145
|
+
thread_id: string
|
|
146
|
+
session_id: string
|
|
147
|
+
source: $Enums.ThreadSessionSource
|
|
148
|
+
created_at: Date | null
|
|
149
|
+
_count: Thread_sessionsCountAggregateOutputType | null
|
|
150
|
+
_min: Thread_sessionsMinAggregateOutputType | null
|
|
151
|
+
_max: Thread_sessionsMaxAggregateOutputType | null
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
type GetThread_sessionsGroupByPayload<T extends thread_sessionsGroupByArgs> = Prisma.PrismaPromise<
|
|
155
|
+
Array<
|
|
156
|
+
Prisma.PickEnumerable<Thread_sessionsGroupByOutputType, T['by']> &
|
|
157
|
+
{
|
|
158
|
+
[P in ((keyof T) & (keyof Thread_sessionsGroupByOutputType))]: P extends '_count'
|
|
159
|
+
? T[P] extends boolean
|
|
160
|
+
? number
|
|
161
|
+
: Prisma.GetScalarType<T[P], Thread_sessionsGroupByOutputType[P]>
|
|
162
|
+
: Prisma.GetScalarType<T[P], Thread_sessionsGroupByOutputType[P]>
|
|
163
|
+
}
|
|
164
|
+
>
|
|
165
|
+
>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
export type thread_sessionsWhereInput = {
|
|
170
|
+
AND?: Prisma.thread_sessionsWhereInput | Prisma.thread_sessionsWhereInput[]
|
|
171
|
+
OR?: Prisma.thread_sessionsWhereInput[]
|
|
172
|
+
NOT?: Prisma.thread_sessionsWhereInput | Prisma.thread_sessionsWhereInput[]
|
|
173
|
+
thread_id?: Prisma.StringFilter<"thread_sessions"> | string
|
|
174
|
+
session_id?: Prisma.StringFilter<"thread_sessions"> | string
|
|
175
|
+
source?: Prisma.EnumThreadSessionSourceFilter<"thread_sessions"> | $Enums.ThreadSessionSource
|
|
176
|
+
created_at?: Prisma.DateTimeNullableFilter<"thread_sessions"> | Date | string | null
|
|
177
|
+
part_messages?: Prisma.Part_messagesListRelationFilter
|
|
178
|
+
session_events?: Prisma.Session_eventsListRelationFilter
|
|
179
|
+
scheduled_tasks?: Prisma.Scheduled_tasksListRelationFilter
|
|
180
|
+
thread_worktree?: Prisma.XOR<Prisma.Thread_worktreesNullableScalarRelationFilter, Prisma.thread_worktreesWhereInput> | null
|
|
181
|
+
ipc_requests?: Prisma.Ipc_requestsListRelationFilter
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export type thread_sessionsOrderByWithRelationInput = {
|
|
185
|
+
thread_id?: Prisma.SortOrder
|
|
186
|
+
session_id?: Prisma.SortOrder
|
|
187
|
+
source?: Prisma.SortOrder
|
|
188
|
+
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
189
|
+
part_messages?: Prisma.part_messagesOrderByRelationAggregateInput
|
|
190
|
+
session_events?: Prisma.session_eventsOrderByRelationAggregateInput
|
|
191
|
+
scheduled_tasks?: Prisma.scheduled_tasksOrderByRelationAggregateInput
|
|
192
|
+
thread_worktree?: Prisma.thread_worktreesOrderByWithRelationInput
|
|
193
|
+
ipc_requests?: Prisma.ipc_requestsOrderByRelationAggregateInput
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export type thread_sessionsWhereUniqueInput = Prisma.AtLeast<{
|
|
197
|
+
thread_id?: string
|
|
198
|
+
AND?: Prisma.thread_sessionsWhereInput | Prisma.thread_sessionsWhereInput[]
|
|
199
|
+
OR?: Prisma.thread_sessionsWhereInput[]
|
|
200
|
+
NOT?: Prisma.thread_sessionsWhereInput | Prisma.thread_sessionsWhereInput[]
|
|
201
|
+
session_id?: Prisma.StringFilter<"thread_sessions"> | string
|
|
202
|
+
source?: Prisma.EnumThreadSessionSourceFilter<"thread_sessions"> | $Enums.ThreadSessionSource
|
|
203
|
+
created_at?: Prisma.DateTimeNullableFilter<"thread_sessions"> | Date | string | null
|
|
204
|
+
part_messages?: Prisma.Part_messagesListRelationFilter
|
|
205
|
+
session_events?: Prisma.Session_eventsListRelationFilter
|
|
206
|
+
scheduled_tasks?: Prisma.Scheduled_tasksListRelationFilter
|
|
207
|
+
thread_worktree?: Prisma.XOR<Prisma.Thread_worktreesNullableScalarRelationFilter, Prisma.thread_worktreesWhereInput> | null
|
|
208
|
+
ipc_requests?: Prisma.Ipc_requestsListRelationFilter
|
|
209
|
+
}, "thread_id">
|
|
210
|
+
|
|
211
|
+
export type thread_sessionsOrderByWithAggregationInput = {
|
|
212
|
+
thread_id?: Prisma.SortOrder
|
|
213
|
+
session_id?: Prisma.SortOrder
|
|
214
|
+
source?: Prisma.SortOrder
|
|
215
|
+
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
216
|
+
_count?: Prisma.thread_sessionsCountOrderByAggregateInput
|
|
217
|
+
_max?: Prisma.thread_sessionsMaxOrderByAggregateInput
|
|
218
|
+
_min?: Prisma.thread_sessionsMinOrderByAggregateInput
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export type thread_sessionsScalarWhereWithAggregatesInput = {
|
|
222
|
+
AND?: Prisma.thread_sessionsScalarWhereWithAggregatesInput | Prisma.thread_sessionsScalarWhereWithAggregatesInput[]
|
|
223
|
+
OR?: Prisma.thread_sessionsScalarWhereWithAggregatesInput[]
|
|
224
|
+
NOT?: Prisma.thread_sessionsScalarWhereWithAggregatesInput | Prisma.thread_sessionsScalarWhereWithAggregatesInput[]
|
|
225
|
+
thread_id?: Prisma.StringWithAggregatesFilter<"thread_sessions"> | string
|
|
226
|
+
session_id?: Prisma.StringWithAggregatesFilter<"thread_sessions"> | string
|
|
227
|
+
source?: Prisma.EnumThreadSessionSourceWithAggregatesFilter<"thread_sessions"> | $Enums.ThreadSessionSource
|
|
228
|
+
created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"thread_sessions"> | Date | string | null
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export type thread_sessionsCreateInput = {
|
|
232
|
+
thread_id: string
|
|
233
|
+
session_id: string
|
|
234
|
+
source?: $Enums.ThreadSessionSource
|
|
235
|
+
created_at?: Date | string | null
|
|
236
|
+
part_messages?: Prisma.part_messagesCreateNestedManyWithoutThreadInput
|
|
237
|
+
session_events?: Prisma.session_eventsCreateNestedManyWithoutThreadInput
|
|
238
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutThreadInput
|
|
239
|
+
thread_worktree?: Prisma.thread_worktreesCreateNestedOneWithoutThreadInput
|
|
240
|
+
ipc_requests?: Prisma.ipc_requestsCreateNestedManyWithoutThreadInput
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export type thread_sessionsUncheckedCreateInput = {
|
|
244
|
+
thread_id: string
|
|
245
|
+
session_id: string
|
|
246
|
+
source?: $Enums.ThreadSessionSource
|
|
247
|
+
created_at?: Date | string | null
|
|
248
|
+
part_messages?: Prisma.part_messagesUncheckedCreateNestedManyWithoutThreadInput
|
|
249
|
+
session_events?: Prisma.session_eventsUncheckedCreateNestedManyWithoutThreadInput
|
|
250
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutThreadInput
|
|
251
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedCreateNestedOneWithoutThreadInput
|
|
252
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedCreateNestedManyWithoutThreadInput
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export type thread_sessionsUpdateInput = {
|
|
256
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
257
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
258
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
259
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
260
|
+
part_messages?: Prisma.part_messagesUpdateManyWithoutThreadNestedInput
|
|
261
|
+
session_events?: Prisma.session_eventsUpdateManyWithoutThreadNestedInput
|
|
262
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutThreadNestedInput
|
|
263
|
+
thread_worktree?: Prisma.thread_worktreesUpdateOneWithoutThreadNestedInput
|
|
264
|
+
ipc_requests?: Prisma.ipc_requestsUpdateManyWithoutThreadNestedInput
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export type thread_sessionsUncheckedUpdateInput = {
|
|
268
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
269
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
270
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
271
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
272
|
+
part_messages?: Prisma.part_messagesUncheckedUpdateManyWithoutThreadNestedInput
|
|
273
|
+
session_events?: Prisma.session_eventsUncheckedUpdateManyWithoutThreadNestedInput
|
|
274
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutThreadNestedInput
|
|
275
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedUpdateOneWithoutThreadNestedInput
|
|
276
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedUpdateManyWithoutThreadNestedInput
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type thread_sessionsCreateManyInput = {
|
|
280
|
+
thread_id: string
|
|
281
|
+
session_id: string
|
|
282
|
+
source?: $Enums.ThreadSessionSource
|
|
283
|
+
created_at?: Date | string | null
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type thread_sessionsUpdateManyMutationInput = {
|
|
287
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
288
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
289
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
290
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export type thread_sessionsUncheckedUpdateManyInput = {
|
|
294
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
295
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
296
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
297
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type thread_sessionsCountOrderByAggregateInput = {
|
|
301
|
+
thread_id?: Prisma.SortOrder
|
|
302
|
+
session_id?: Prisma.SortOrder
|
|
303
|
+
source?: Prisma.SortOrder
|
|
304
|
+
created_at?: Prisma.SortOrder
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export type thread_sessionsMaxOrderByAggregateInput = {
|
|
308
|
+
thread_id?: Prisma.SortOrder
|
|
309
|
+
session_id?: Prisma.SortOrder
|
|
310
|
+
source?: Prisma.SortOrder
|
|
311
|
+
created_at?: Prisma.SortOrder
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export type thread_sessionsMinOrderByAggregateInput = {
|
|
315
|
+
thread_id?: Prisma.SortOrder
|
|
316
|
+
session_id?: Prisma.SortOrder
|
|
317
|
+
source?: Prisma.SortOrder
|
|
318
|
+
created_at?: Prisma.SortOrder
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export type Thread_sessionsScalarRelationFilter = {
|
|
322
|
+
is?: Prisma.thread_sessionsWhereInput
|
|
323
|
+
isNot?: Prisma.thread_sessionsWhereInput
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export type Thread_sessionsNullableScalarRelationFilter = {
|
|
327
|
+
is?: Prisma.thread_sessionsWhereInput | null
|
|
328
|
+
isNot?: Prisma.thread_sessionsWhereInput | null
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export type StringFieldUpdateOperationsInput = {
|
|
332
|
+
set?: string
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export type EnumThreadSessionSourceFieldUpdateOperationsInput = {
|
|
336
|
+
set?: $Enums.ThreadSessionSource
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
340
|
+
set?: Date | string | null
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export type thread_sessionsCreateNestedOneWithoutSession_eventsInput = {
|
|
344
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutSession_eventsInput, Prisma.thread_sessionsUncheckedCreateWithoutSession_eventsInput>
|
|
345
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutSession_eventsInput
|
|
346
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type thread_sessionsUpdateOneRequiredWithoutSession_eventsNestedInput = {
|
|
350
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutSession_eventsInput, Prisma.thread_sessionsUncheckedCreateWithoutSession_eventsInput>
|
|
351
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutSession_eventsInput
|
|
352
|
+
upsert?: Prisma.thread_sessionsUpsertWithoutSession_eventsInput
|
|
353
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
354
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.thread_sessionsUpdateToOneWithWhereWithoutSession_eventsInput, Prisma.thread_sessionsUpdateWithoutSession_eventsInput>, Prisma.thread_sessionsUncheckedUpdateWithoutSession_eventsInput>
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export type thread_sessionsCreateNestedOneWithoutPart_messagesInput = {
|
|
358
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutPart_messagesInput, Prisma.thread_sessionsUncheckedCreateWithoutPart_messagesInput>
|
|
359
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutPart_messagesInput
|
|
360
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export type thread_sessionsUpdateOneRequiredWithoutPart_messagesNestedInput = {
|
|
364
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutPart_messagesInput, Prisma.thread_sessionsUncheckedCreateWithoutPart_messagesInput>
|
|
365
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutPart_messagesInput
|
|
366
|
+
upsert?: Prisma.thread_sessionsUpsertWithoutPart_messagesInput
|
|
367
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
368
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.thread_sessionsUpdateToOneWithWhereWithoutPart_messagesInput, Prisma.thread_sessionsUpdateWithoutPart_messagesInput>, Prisma.thread_sessionsUncheckedUpdateWithoutPart_messagesInput>
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export type thread_sessionsCreateNestedOneWithoutThread_worktreeInput = {
|
|
372
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutThread_worktreeInput, Prisma.thread_sessionsUncheckedCreateWithoutThread_worktreeInput>
|
|
373
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutThread_worktreeInput
|
|
374
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export type thread_sessionsUpdateOneRequiredWithoutThread_worktreeNestedInput = {
|
|
378
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutThread_worktreeInput, Prisma.thread_sessionsUncheckedCreateWithoutThread_worktreeInput>
|
|
379
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutThread_worktreeInput
|
|
380
|
+
upsert?: Prisma.thread_sessionsUpsertWithoutThread_worktreeInput
|
|
381
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
382
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.thread_sessionsUpdateToOneWithWhereWithoutThread_worktreeInput, Prisma.thread_sessionsUpdateWithoutThread_worktreeInput>, Prisma.thread_sessionsUncheckedUpdateWithoutThread_worktreeInput>
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export type thread_sessionsCreateNestedOneWithoutScheduled_tasksInput = {
|
|
386
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutScheduled_tasksInput, Prisma.thread_sessionsUncheckedCreateWithoutScheduled_tasksInput>
|
|
387
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutScheduled_tasksInput
|
|
388
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export type thread_sessionsUpdateOneWithoutScheduled_tasksNestedInput = {
|
|
392
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutScheduled_tasksInput, Prisma.thread_sessionsUncheckedCreateWithoutScheduled_tasksInput>
|
|
393
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutScheduled_tasksInput
|
|
394
|
+
upsert?: Prisma.thread_sessionsUpsertWithoutScheduled_tasksInput
|
|
395
|
+
disconnect?: Prisma.thread_sessionsWhereInput | boolean
|
|
396
|
+
delete?: Prisma.thread_sessionsWhereInput | boolean
|
|
397
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
398
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.thread_sessionsUpdateToOneWithWhereWithoutScheduled_tasksInput, Prisma.thread_sessionsUpdateWithoutScheduled_tasksInput>, Prisma.thread_sessionsUncheckedUpdateWithoutScheduled_tasksInput>
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export type thread_sessionsCreateNestedOneWithoutIpc_requestsInput = {
|
|
402
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutIpc_requestsInput, Prisma.thread_sessionsUncheckedCreateWithoutIpc_requestsInput>
|
|
403
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutIpc_requestsInput
|
|
404
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export type thread_sessionsUpdateOneRequiredWithoutIpc_requestsNestedInput = {
|
|
408
|
+
create?: Prisma.XOR<Prisma.thread_sessionsCreateWithoutIpc_requestsInput, Prisma.thread_sessionsUncheckedCreateWithoutIpc_requestsInput>
|
|
409
|
+
connectOrCreate?: Prisma.thread_sessionsCreateOrConnectWithoutIpc_requestsInput
|
|
410
|
+
upsert?: Prisma.thread_sessionsUpsertWithoutIpc_requestsInput
|
|
411
|
+
connect?: Prisma.thread_sessionsWhereUniqueInput
|
|
412
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.thread_sessionsUpdateToOneWithWhereWithoutIpc_requestsInput, Prisma.thread_sessionsUpdateWithoutIpc_requestsInput>, Prisma.thread_sessionsUncheckedUpdateWithoutIpc_requestsInput>
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type thread_sessionsCreateWithoutSession_eventsInput = {
|
|
416
|
+
thread_id: string
|
|
417
|
+
session_id: string
|
|
418
|
+
source?: $Enums.ThreadSessionSource
|
|
419
|
+
created_at?: Date | string | null
|
|
420
|
+
part_messages?: Prisma.part_messagesCreateNestedManyWithoutThreadInput
|
|
421
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutThreadInput
|
|
422
|
+
thread_worktree?: Prisma.thread_worktreesCreateNestedOneWithoutThreadInput
|
|
423
|
+
ipc_requests?: Prisma.ipc_requestsCreateNestedManyWithoutThreadInput
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export type thread_sessionsUncheckedCreateWithoutSession_eventsInput = {
|
|
427
|
+
thread_id: string
|
|
428
|
+
session_id: string
|
|
429
|
+
source?: $Enums.ThreadSessionSource
|
|
430
|
+
created_at?: Date | string | null
|
|
431
|
+
part_messages?: Prisma.part_messagesUncheckedCreateNestedManyWithoutThreadInput
|
|
432
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutThreadInput
|
|
433
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedCreateNestedOneWithoutThreadInput
|
|
434
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedCreateNestedManyWithoutThreadInput
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type thread_sessionsCreateOrConnectWithoutSession_eventsInput = {
|
|
438
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
439
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutSession_eventsInput, Prisma.thread_sessionsUncheckedCreateWithoutSession_eventsInput>
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export type thread_sessionsUpsertWithoutSession_eventsInput = {
|
|
443
|
+
update: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutSession_eventsInput, Prisma.thread_sessionsUncheckedUpdateWithoutSession_eventsInput>
|
|
444
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutSession_eventsInput, Prisma.thread_sessionsUncheckedCreateWithoutSession_eventsInput>
|
|
445
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export type thread_sessionsUpdateToOneWithWhereWithoutSession_eventsInput = {
|
|
449
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
450
|
+
data: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutSession_eventsInput, Prisma.thread_sessionsUncheckedUpdateWithoutSession_eventsInput>
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export type thread_sessionsUpdateWithoutSession_eventsInput = {
|
|
454
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
455
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
456
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
457
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
458
|
+
part_messages?: Prisma.part_messagesUpdateManyWithoutThreadNestedInput
|
|
459
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutThreadNestedInput
|
|
460
|
+
thread_worktree?: Prisma.thread_worktreesUpdateOneWithoutThreadNestedInput
|
|
461
|
+
ipc_requests?: Prisma.ipc_requestsUpdateManyWithoutThreadNestedInput
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export type thread_sessionsUncheckedUpdateWithoutSession_eventsInput = {
|
|
465
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
466
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
467
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
468
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
469
|
+
part_messages?: Prisma.part_messagesUncheckedUpdateManyWithoutThreadNestedInput
|
|
470
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutThreadNestedInput
|
|
471
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedUpdateOneWithoutThreadNestedInput
|
|
472
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedUpdateManyWithoutThreadNestedInput
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export type thread_sessionsCreateWithoutPart_messagesInput = {
|
|
476
|
+
thread_id: string
|
|
477
|
+
session_id: string
|
|
478
|
+
source?: $Enums.ThreadSessionSource
|
|
479
|
+
created_at?: Date | string | null
|
|
480
|
+
session_events?: Prisma.session_eventsCreateNestedManyWithoutThreadInput
|
|
481
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutThreadInput
|
|
482
|
+
thread_worktree?: Prisma.thread_worktreesCreateNestedOneWithoutThreadInput
|
|
483
|
+
ipc_requests?: Prisma.ipc_requestsCreateNestedManyWithoutThreadInput
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export type thread_sessionsUncheckedCreateWithoutPart_messagesInput = {
|
|
487
|
+
thread_id: string
|
|
488
|
+
session_id: string
|
|
489
|
+
source?: $Enums.ThreadSessionSource
|
|
490
|
+
created_at?: Date | string | null
|
|
491
|
+
session_events?: Prisma.session_eventsUncheckedCreateNestedManyWithoutThreadInput
|
|
492
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutThreadInput
|
|
493
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedCreateNestedOneWithoutThreadInput
|
|
494
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedCreateNestedManyWithoutThreadInput
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export type thread_sessionsCreateOrConnectWithoutPart_messagesInput = {
|
|
498
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
499
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutPart_messagesInput, Prisma.thread_sessionsUncheckedCreateWithoutPart_messagesInput>
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export type thread_sessionsUpsertWithoutPart_messagesInput = {
|
|
503
|
+
update: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutPart_messagesInput, Prisma.thread_sessionsUncheckedUpdateWithoutPart_messagesInput>
|
|
504
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutPart_messagesInput, Prisma.thread_sessionsUncheckedCreateWithoutPart_messagesInput>
|
|
505
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export type thread_sessionsUpdateToOneWithWhereWithoutPart_messagesInput = {
|
|
509
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
510
|
+
data: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutPart_messagesInput, Prisma.thread_sessionsUncheckedUpdateWithoutPart_messagesInput>
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export type thread_sessionsUpdateWithoutPart_messagesInput = {
|
|
514
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
515
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
516
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
517
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
518
|
+
session_events?: Prisma.session_eventsUpdateManyWithoutThreadNestedInput
|
|
519
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutThreadNestedInput
|
|
520
|
+
thread_worktree?: Prisma.thread_worktreesUpdateOneWithoutThreadNestedInput
|
|
521
|
+
ipc_requests?: Prisma.ipc_requestsUpdateManyWithoutThreadNestedInput
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export type thread_sessionsUncheckedUpdateWithoutPart_messagesInput = {
|
|
525
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
526
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
527
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
528
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
529
|
+
session_events?: Prisma.session_eventsUncheckedUpdateManyWithoutThreadNestedInput
|
|
530
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutThreadNestedInput
|
|
531
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedUpdateOneWithoutThreadNestedInput
|
|
532
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedUpdateManyWithoutThreadNestedInput
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export type thread_sessionsCreateWithoutThread_worktreeInput = {
|
|
536
|
+
thread_id: string
|
|
537
|
+
session_id: string
|
|
538
|
+
source?: $Enums.ThreadSessionSource
|
|
539
|
+
created_at?: Date | string | null
|
|
540
|
+
part_messages?: Prisma.part_messagesCreateNestedManyWithoutThreadInput
|
|
541
|
+
session_events?: Prisma.session_eventsCreateNestedManyWithoutThreadInput
|
|
542
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutThreadInput
|
|
543
|
+
ipc_requests?: Prisma.ipc_requestsCreateNestedManyWithoutThreadInput
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export type thread_sessionsUncheckedCreateWithoutThread_worktreeInput = {
|
|
547
|
+
thread_id: string
|
|
548
|
+
session_id: string
|
|
549
|
+
source?: $Enums.ThreadSessionSource
|
|
550
|
+
created_at?: Date | string | null
|
|
551
|
+
part_messages?: Prisma.part_messagesUncheckedCreateNestedManyWithoutThreadInput
|
|
552
|
+
session_events?: Prisma.session_eventsUncheckedCreateNestedManyWithoutThreadInput
|
|
553
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutThreadInput
|
|
554
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedCreateNestedManyWithoutThreadInput
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export type thread_sessionsCreateOrConnectWithoutThread_worktreeInput = {
|
|
558
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
559
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutThread_worktreeInput, Prisma.thread_sessionsUncheckedCreateWithoutThread_worktreeInput>
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export type thread_sessionsUpsertWithoutThread_worktreeInput = {
|
|
563
|
+
update: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutThread_worktreeInput, Prisma.thread_sessionsUncheckedUpdateWithoutThread_worktreeInput>
|
|
564
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutThread_worktreeInput, Prisma.thread_sessionsUncheckedCreateWithoutThread_worktreeInput>
|
|
565
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type thread_sessionsUpdateToOneWithWhereWithoutThread_worktreeInput = {
|
|
569
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
570
|
+
data: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutThread_worktreeInput, Prisma.thread_sessionsUncheckedUpdateWithoutThread_worktreeInput>
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export type thread_sessionsUpdateWithoutThread_worktreeInput = {
|
|
574
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
575
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
576
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
577
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
578
|
+
part_messages?: Prisma.part_messagesUpdateManyWithoutThreadNestedInput
|
|
579
|
+
session_events?: Prisma.session_eventsUpdateManyWithoutThreadNestedInput
|
|
580
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutThreadNestedInput
|
|
581
|
+
ipc_requests?: Prisma.ipc_requestsUpdateManyWithoutThreadNestedInput
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export type thread_sessionsUncheckedUpdateWithoutThread_worktreeInput = {
|
|
585
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
586
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
587
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
588
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
589
|
+
part_messages?: Prisma.part_messagesUncheckedUpdateManyWithoutThreadNestedInput
|
|
590
|
+
session_events?: Prisma.session_eventsUncheckedUpdateManyWithoutThreadNestedInput
|
|
591
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutThreadNestedInput
|
|
592
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedUpdateManyWithoutThreadNestedInput
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export type thread_sessionsCreateWithoutScheduled_tasksInput = {
|
|
596
|
+
thread_id: string
|
|
597
|
+
session_id: string
|
|
598
|
+
source?: $Enums.ThreadSessionSource
|
|
599
|
+
created_at?: Date | string | null
|
|
600
|
+
part_messages?: Prisma.part_messagesCreateNestedManyWithoutThreadInput
|
|
601
|
+
session_events?: Prisma.session_eventsCreateNestedManyWithoutThreadInput
|
|
602
|
+
thread_worktree?: Prisma.thread_worktreesCreateNestedOneWithoutThreadInput
|
|
603
|
+
ipc_requests?: Prisma.ipc_requestsCreateNestedManyWithoutThreadInput
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export type thread_sessionsUncheckedCreateWithoutScheduled_tasksInput = {
|
|
607
|
+
thread_id: string
|
|
608
|
+
session_id: string
|
|
609
|
+
source?: $Enums.ThreadSessionSource
|
|
610
|
+
created_at?: Date | string | null
|
|
611
|
+
part_messages?: Prisma.part_messagesUncheckedCreateNestedManyWithoutThreadInput
|
|
612
|
+
session_events?: Prisma.session_eventsUncheckedCreateNestedManyWithoutThreadInput
|
|
613
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedCreateNestedOneWithoutThreadInput
|
|
614
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedCreateNestedManyWithoutThreadInput
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export type thread_sessionsCreateOrConnectWithoutScheduled_tasksInput = {
|
|
618
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
619
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutScheduled_tasksInput, Prisma.thread_sessionsUncheckedCreateWithoutScheduled_tasksInput>
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export type thread_sessionsUpsertWithoutScheduled_tasksInput = {
|
|
623
|
+
update: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutScheduled_tasksInput, Prisma.thread_sessionsUncheckedUpdateWithoutScheduled_tasksInput>
|
|
624
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutScheduled_tasksInput, Prisma.thread_sessionsUncheckedCreateWithoutScheduled_tasksInput>
|
|
625
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
export type thread_sessionsUpdateToOneWithWhereWithoutScheduled_tasksInput = {
|
|
629
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
630
|
+
data: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutScheduled_tasksInput, Prisma.thread_sessionsUncheckedUpdateWithoutScheduled_tasksInput>
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export type thread_sessionsUpdateWithoutScheduled_tasksInput = {
|
|
634
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
635
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
636
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
637
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
638
|
+
part_messages?: Prisma.part_messagesUpdateManyWithoutThreadNestedInput
|
|
639
|
+
session_events?: Prisma.session_eventsUpdateManyWithoutThreadNestedInput
|
|
640
|
+
thread_worktree?: Prisma.thread_worktreesUpdateOneWithoutThreadNestedInput
|
|
641
|
+
ipc_requests?: Prisma.ipc_requestsUpdateManyWithoutThreadNestedInput
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
export type thread_sessionsUncheckedUpdateWithoutScheduled_tasksInput = {
|
|
645
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
646
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
647
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
648
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
649
|
+
part_messages?: Prisma.part_messagesUncheckedUpdateManyWithoutThreadNestedInput
|
|
650
|
+
session_events?: Prisma.session_eventsUncheckedUpdateManyWithoutThreadNestedInput
|
|
651
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedUpdateOneWithoutThreadNestedInput
|
|
652
|
+
ipc_requests?: Prisma.ipc_requestsUncheckedUpdateManyWithoutThreadNestedInput
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export type thread_sessionsCreateWithoutIpc_requestsInput = {
|
|
656
|
+
thread_id: string
|
|
657
|
+
session_id: string
|
|
658
|
+
source?: $Enums.ThreadSessionSource
|
|
659
|
+
created_at?: Date | string | null
|
|
660
|
+
part_messages?: Prisma.part_messagesCreateNestedManyWithoutThreadInput
|
|
661
|
+
session_events?: Prisma.session_eventsCreateNestedManyWithoutThreadInput
|
|
662
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutThreadInput
|
|
663
|
+
thread_worktree?: Prisma.thread_worktreesCreateNestedOneWithoutThreadInput
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export type thread_sessionsUncheckedCreateWithoutIpc_requestsInput = {
|
|
667
|
+
thread_id: string
|
|
668
|
+
session_id: string
|
|
669
|
+
source?: $Enums.ThreadSessionSource
|
|
670
|
+
created_at?: Date | string | null
|
|
671
|
+
part_messages?: Prisma.part_messagesUncheckedCreateNestedManyWithoutThreadInput
|
|
672
|
+
session_events?: Prisma.session_eventsUncheckedCreateNestedManyWithoutThreadInput
|
|
673
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutThreadInput
|
|
674
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedCreateNestedOneWithoutThreadInput
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
export type thread_sessionsCreateOrConnectWithoutIpc_requestsInput = {
|
|
678
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
679
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutIpc_requestsInput, Prisma.thread_sessionsUncheckedCreateWithoutIpc_requestsInput>
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
export type thread_sessionsUpsertWithoutIpc_requestsInput = {
|
|
683
|
+
update: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutIpc_requestsInput, Prisma.thread_sessionsUncheckedUpdateWithoutIpc_requestsInput>
|
|
684
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateWithoutIpc_requestsInput, Prisma.thread_sessionsUncheckedCreateWithoutIpc_requestsInput>
|
|
685
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export type thread_sessionsUpdateToOneWithWhereWithoutIpc_requestsInput = {
|
|
689
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
690
|
+
data: Prisma.XOR<Prisma.thread_sessionsUpdateWithoutIpc_requestsInput, Prisma.thread_sessionsUncheckedUpdateWithoutIpc_requestsInput>
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
export type thread_sessionsUpdateWithoutIpc_requestsInput = {
|
|
694
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
695
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
696
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
697
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
698
|
+
part_messages?: Prisma.part_messagesUpdateManyWithoutThreadNestedInput
|
|
699
|
+
session_events?: Prisma.session_eventsUpdateManyWithoutThreadNestedInput
|
|
700
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutThreadNestedInput
|
|
701
|
+
thread_worktree?: Prisma.thread_worktreesUpdateOneWithoutThreadNestedInput
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export type thread_sessionsUncheckedUpdateWithoutIpc_requestsInput = {
|
|
705
|
+
thread_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
706
|
+
session_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
707
|
+
source?: Prisma.EnumThreadSessionSourceFieldUpdateOperationsInput | $Enums.ThreadSessionSource
|
|
708
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
709
|
+
part_messages?: Prisma.part_messagesUncheckedUpdateManyWithoutThreadNestedInput
|
|
710
|
+
session_events?: Prisma.session_eventsUncheckedUpdateManyWithoutThreadNestedInput
|
|
711
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutThreadNestedInput
|
|
712
|
+
thread_worktree?: Prisma.thread_worktreesUncheckedUpdateOneWithoutThreadNestedInput
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Count Type Thread_sessionsCountOutputType
|
|
718
|
+
*/
|
|
719
|
+
|
|
720
|
+
export type Thread_sessionsCountOutputType = {
|
|
721
|
+
part_messages: number
|
|
722
|
+
session_events: number
|
|
723
|
+
scheduled_tasks: number
|
|
724
|
+
ipc_requests: number
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
export type Thread_sessionsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
728
|
+
part_messages?: boolean | Thread_sessionsCountOutputTypeCountPart_messagesArgs
|
|
729
|
+
session_events?: boolean | Thread_sessionsCountOutputTypeCountSession_eventsArgs
|
|
730
|
+
scheduled_tasks?: boolean | Thread_sessionsCountOutputTypeCountScheduled_tasksArgs
|
|
731
|
+
ipc_requests?: boolean | Thread_sessionsCountOutputTypeCountIpc_requestsArgs
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Thread_sessionsCountOutputType without action
|
|
736
|
+
*/
|
|
737
|
+
export type Thread_sessionsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
738
|
+
/**
|
|
739
|
+
* Select specific fields to fetch from the Thread_sessionsCountOutputType
|
|
740
|
+
*/
|
|
741
|
+
select?: Prisma.Thread_sessionsCountOutputTypeSelect<ExtArgs> | null
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Thread_sessionsCountOutputType without action
|
|
746
|
+
*/
|
|
747
|
+
export type Thread_sessionsCountOutputTypeCountPart_messagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
748
|
+
where?: Prisma.part_messagesWhereInput
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Thread_sessionsCountOutputType without action
|
|
753
|
+
*/
|
|
754
|
+
export type Thread_sessionsCountOutputTypeCountSession_eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
755
|
+
where?: Prisma.session_eventsWhereInput
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Thread_sessionsCountOutputType without action
|
|
760
|
+
*/
|
|
761
|
+
export type Thread_sessionsCountOutputTypeCountScheduled_tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
762
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Thread_sessionsCountOutputType without action
|
|
767
|
+
*/
|
|
768
|
+
export type Thread_sessionsCountOutputTypeCountIpc_requestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
769
|
+
where?: Prisma.ipc_requestsWhereInput
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
export type thread_sessionsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
774
|
+
thread_id?: boolean
|
|
775
|
+
session_id?: boolean
|
|
776
|
+
source?: boolean
|
|
777
|
+
created_at?: boolean
|
|
778
|
+
part_messages?: boolean | Prisma.thread_sessions$part_messagesArgs<ExtArgs>
|
|
779
|
+
session_events?: boolean | Prisma.thread_sessions$session_eventsArgs<ExtArgs>
|
|
780
|
+
scheduled_tasks?: boolean | Prisma.thread_sessions$scheduled_tasksArgs<ExtArgs>
|
|
781
|
+
thread_worktree?: boolean | Prisma.thread_sessions$thread_worktreeArgs<ExtArgs>
|
|
782
|
+
ipc_requests?: boolean | Prisma.thread_sessions$ipc_requestsArgs<ExtArgs>
|
|
783
|
+
_count?: boolean | Prisma.Thread_sessionsCountOutputTypeDefaultArgs<ExtArgs>
|
|
784
|
+
}, ExtArgs["result"]["thread_sessions"]>
|
|
785
|
+
|
|
786
|
+
export type thread_sessionsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
787
|
+
thread_id?: boolean
|
|
788
|
+
session_id?: boolean
|
|
789
|
+
source?: boolean
|
|
790
|
+
created_at?: boolean
|
|
791
|
+
}, ExtArgs["result"]["thread_sessions"]>
|
|
792
|
+
|
|
793
|
+
export type thread_sessionsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
794
|
+
thread_id?: boolean
|
|
795
|
+
session_id?: boolean
|
|
796
|
+
source?: boolean
|
|
797
|
+
created_at?: boolean
|
|
798
|
+
}, ExtArgs["result"]["thread_sessions"]>
|
|
799
|
+
|
|
800
|
+
export type thread_sessionsSelectScalar = {
|
|
801
|
+
thread_id?: boolean
|
|
802
|
+
session_id?: boolean
|
|
803
|
+
source?: boolean
|
|
804
|
+
created_at?: boolean
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export type thread_sessionsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"thread_id" | "session_id" | "source" | "created_at", ExtArgs["result"]["thread_sessions"]>
|
|
808
|
+
export type thread_sessionsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
809
|
+
part_messages?: boolean | Prisma.thread_sessions$part_messagesArgs<ExtArgs>
|
|
810
|
+
session_events?: boolean | Prisma.thread_sessions$session_eventsArgs<ExtArgs>
|
|
811
|
+
scheduled_tasks?: boolean | Prisma.thread_sessions$scheduled_tasksArgs<ExtArgs>
|
|
812
|
+
thread_worktree?: boolean | Prisma.thread_sessions$thread_worktreeArgs<ExtArgs>
|
|
813
|
+
ipc_requests?: boolean | Prisma.thread_sessions$ipc_requestsArgs<ExtArgs>
|
|
814
|
+
_count?: boolean | Prisma.Thread_sessionsCountOutputTypeDefaultArgs<ExtArgs>
|
|
815
|
+
}
|
|
816
|
+
export type thread_sessionsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
817
|
+
export type thread_sessionsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
818
|
+
|
|
819
|
+
export type $thread_sessionsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
820
|
+
name: "thread_sessions"
|
|
821
|
+
objects: {
|
|
822
|
+
part_messages: Prisma.$part_messagesPayload<ExtArgs>[]
|
|
823
|
+
session_events: Prisma.$session_eventsPayload<ExtArgs>[]
|
|
824
|
+
scheduled_tasks: Prisma.$scheduled_tasksPayload<ExtArgs>[]
|
|
825
|
+
thread_worktree: Prisma.$thread_worktreesPayload<ExtArgs> | null
|
|
826
|
+
ipc_requests: Prisma.$ipc_requestsPayload<ExtArgs>[]
|
|
827
|
+
}
|
|
828
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
829
|
+
thread_id: string
|
|
830
|
+
session_id: string
|
|
831
|
+
source: $Enums.ThreadSessionSource
|
|
832
|
+
created_at: Date | null
|
|
833
|
+
}, ExtArgs["result"]["thread_sessions"]>
|
|
834
|
+
composites: {}
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
export type thread_sessionsGetPayload<S extends boolean | null | undefined | thread_sessionsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload, S>
|
|
838
|
+
|
|
839
|
+
export type thread_sessionsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
840
|
+
Omit<thread_sessionsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
841
|
+
select?: Thread_sessionsCountAggregateInputType | true
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export interface thread_sessionsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
845
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['thread_sessions'], meta: { name: 'thread_sessions' } }
|
|
846
|
+
/**
|
|
847
|
+
* Find zero or one Thread_sessions that matches the filter.
|
|
848
|
+
* @param {thread_sessionsFindUniqueArgs} args - Arguments to find a Thread_sessions
|
|
849
|
+
* @example
|
|
850
|
+
* // Get one Thread_sessions
|
|
851
|
+
* const thread_sessions = await prisma.thread_sessions.findUnique({
|
|
852
|
+
* where: {
|
|
853
|
+
* // ... provide filter here
|
|
854
|
+
* }
|
|
855
|
+
* })
|
|
856
|
+
*/
|
|
857
|
+
findUnique<T extends thread_sessionsFindUniqueArgs>(args: Prisma.SelectSubset<T, thread_sessionsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__thread_sessionsClient<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Find one Thread_sessions that matches the filter or throw an error with `error.code='P2025'`
|
|
861
|
+
* if no matches were found.
|
|
862
|
+
* @param {thread_sessionsFindUniqueOrThrowArgs} args - Arguments to find a Thread_sessions
|
|
863
|
+
* @example
|
|
864
|
+
* // Get one Thread_sessions
|
|
865
|
+
* const thread_sessions = await prisma.thread_sessions.findUniqueOrThrow({
|
|
866
|
+
* where: {
|
|
867
|
+
* // ... provide filter here
|
|
868
|
+
* }
|
|
869
|
+
* })
|
|
870
|
+
*/
|
|
871
|
+
findUniqueOrThrow<T extends thread_sessionsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, thread_sessionsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__thread_sessionsClient<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Find the first Thread_sessions that matches the filter.
|
|
875
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
876
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
877
|
+
* @param {thread_sessionsFindFirstArgs} args - Arguments to find a Thread_sessions
|
|
878
|
+
* @example
|
|
879
|
+
* // Get one Thread_sessions
|
|
880
|
+
* const thread_sessions = await prisma.thread_sessions.findFirst({
|
|
881
|
+
* where: {
|
|
882
|
+
* // ... provide filter here
|
|
883
|
+
* }
|
|
884
|
+
* })
|
|
885
|
+
*/
|
|
886
|
+
findFirst<T extends thread_sessionsFindFirstArgs>(args?: Prisma.SelectSubset<T, thread_sessionsFindFirstArgs<ExtArgs>>): Prisma.Prisma__thread_sessionsClient<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Find the first Thread_sessions that matches the filter or
|
|
890
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
891
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
892
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
893
|
+
* @param {thread_sessionsFindFirstOrThrowArgs} args - Arguments to find a Thread_sessions
|
|
894
|
+
* @example
|
|
895
|
+
* // Get one Thread_sessions
|
|
896
|
+
* const thread_sessions = await prisma.thread_sessions.findFirstOrThrow({
|
|
897
|
+
* where: {
|
|
898
|
+
* // ... provide filter here
|
|
899
|
+
* }
|
|
900
|
+
* })
|
|
901
|
+
*/
|
|
902
|
+
findFirstOrThrow<T extends thread_sessionsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, thread_sessionsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__thread_sessionsClient<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* Find zero or more Thread_sessions that matches the filter.
|
|
906
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
907
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
908
|
+
* @param {thread_sessionsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
909
|
+
* @example
|
|
910
|
+
* // Get all Thread_sessions
|
|
911
|
+
* const thread_sessions = await prisma.thread_sessions.findMany()
|
|
912
|
+
*
|
|
913
|
+
* // Get first 10 Thread_sessions
|
|
914
|
+
* const thread_sessions = await prisma.thread_sessions.findMany({ take: 10 })
|
|
915
|
+
*
|
|
916
|
+
* // Only select the `thread_id`
|
|
917
|
+
* const thread_sessionsWithThread_idOnly = await prisma.thread_sessions.findMany({ select: { thread_id: true } })
|
|
918
|
+
*
|
|
919
|
+
*/
|
|
920
|
+
findMany<T extends thread_sessionsFindManyArgs>(args?: Prisma.SelectSubset<T, thread_sessionsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* Create a Thread_sessions.
|
|
924
|
+
* @param {thread_sessionsCreateArgs} args - Arguments to create a Thread_sessions.
|
|
925
|
+
* @example
|
|
926
|
+
* // Create one Thread_sessions
|
|
927
|
+
* const Thread_sessions = await prisma.thread_sessions.create({
|
|
928
|
+
* data: {
|
|
929
|
+
* // ... data to create a Thread_sessions
|
|
930
|
+
* }
|
|
931
|
+
* })
|
|
932
|
+
*
|
|
933
|
+
*/
|
|
934
|
+
create<T extends thread_sessionsCreateArgs>(args: Prisma.SelectSubset<T, thread_sessionsCreateArgs<ExtArgs>>): Prisma.Prisma__thread_sessionsClient<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Create many Thread_sessions.
|
|
938
|
+
* @param {thread_sessionsCreateManyArgs} args - Arguments to create many Thread_sessions.
|
|
939
|
+
* @example
|
|
940
|
+
* // Create many Thread_sessions
|
|
941
|
+
* const thread_sessions = await prisma.thread_sessions.createMany({
|
|
942
|
+
* data: [
|
|
943
|
+
* // ... provide data here
|
|
944
|
+
* ]
|
|
945
|
+
* })
|
|
946
|
+
*
|
|
947
|
+
*/
|
|
948
|
+
createMany<T extends thread_sessionsCreateManyArgs>(args?: Prisma.SelectSubset<T, thread_sessionsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* Create many Thread_sessions and returns the data saved in the database.
|
|
952
|
+
* @param {thread_sessionsCreateManyAndReturnArgs} args - Arguments to create many Thread_sessions.
|
|
953
|
+
* @example
|
|
954
|
+
* // Create many Thread_sessions
|
|
955
|
+
* const thread_sessions = await prisma.thread_sessions.createManyAndReturn({
|
|
956
|
+
* data: [
|
|
957
|
+
* // ... provide data here
|
|
958
|
+
* ]
|
|
959
|
+
* })
|
|
960
|
+
*
|
|
961
|
+
* // Create many Thread_sessions and only return the `thread_id`
|
|
962
|
+
* const thread_sessionsWithThread_idOnly = await prisma.thread_sessions.createManyAndReturn({
|
|
963
|
+
* select: { thread_id: true },
|
|
964
|
+
* data: [
|
|
965
|
+
* // ... provide data here
|
|
966
|
+
* ]
|
|
967
|
+
* })
|
|
968
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
969
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
970
|
+
*
|
|
971
|
+
*/
|
|
972
|
+
createManyAndReturn<T extends thread_sessionsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, thread_sessionsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* Delete a Thread_sessions.
|
|
976
|
+
* @param {thread_sessionsDeleteArgs} args - Arguments to delete one Thread_sessions.
|
|
977
|
+
* @example
|
|
978
|
+
* // Delete one Thread_sessions
|
|
979
|
+
* const Thread_sessions = await prisma.thread_sessions.delete({
|
|
980
|
+
* where: {
|
|
981
|
+
* // ... filter to delete one Thread_sessions
|
|
982
|
+
* }
|
|
983
|
+
* })
|
|
984
|
+
*
|
|
985
|
+
*/
|
|
986
|
+
delete<T extends thread_sessionsDeleteArgs>(args: Prisma.SelectSubset<T, thread_sessionsDeleteArgs<ExtArgs>>): Prisma.Prisma__thread_sessionsClient<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Update one Thread_sessions.
|
|
990
|
+
* @param {thread_sessionsUpdateArgs} args - Arguments to update one Thread_sessions.
|
|
991
|
+
* @example
|
|
992
|
+
* // Update one Thread_sessions
|
|
993
|
+
* const thread_sessions = await prisma.thread_sessions.update({
|
|
994
|
+
* where: {
|
|
995
|
+
* // ... provide filter here
|
|
996
|
+
* },
|
|
997
|
+
* data: {
|
|
998
|
+
* // ... provide data here
|
|
999
|
+
* }
|
|
1000
|
+
* })
|
|
1001
|
+
*
|
|
1002
|
+
*/
|
|
1003
|
+
update<T extends thread_sessionsUpdateArgs>(args: Prisma.SelectSubset<T, thread_sessionsUpdateArgs<ExtArgs>>): Prisma.Prisma__thread_sessionsClient<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Delete zero or more Thread_sessions.
|
|
1007
|
+
* @param {thread_sessionsDeleteManyArgs} args - Arguments to filter Thread_sessions to delete.
|
|
1008
|
+
* @example
|
|
1009
|
+
* // Delete a few Thread_sessions
|
|
1010
|
+
* const { count } = await prisma.thread_sessions.deleteMany({
|
|
1011
|
+
* where: {
|
|
1012
|
+
* // ... provide filter here
|
|
1013
|
+
* }
|
|
1014
|
+
* })
|
|
1015
|
+
*
|
|
1016
|
+
*/
|
|
1017
|
+
deleteMany<T extends thread_sessionsDeleteManyArgs>(args?: Prisma.SelectSubset<T, thread_sessionsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Update zero or more Thread_sessions.
|
|
1021
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1022
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1023
|
+
* @param {thread_sessionsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1024
|
+
* @example
|
|
1025
|
+
* // Update many Thread_sessions
|
|
1026
|
+
* const thread_sessions = await prisma.thread_sessions.updateMany({
|
|
1027
|
+
* where: {
|
|
1028
|
+
* // ... provide filter here
|
|
1029
|
+
* },
|
|
1030
|
+
* data: {
|
|
1031
|
+
* // ... provide data here
|
|
1032
|
+
* }
|
|
1033
|
+
* })
|
|
1034
|
+
*
|
|
1035
|
+
*/
|
|
1036
|
+
updateMany<T extends thread_sessionsUpdateManyArgs>(args: Prisma.SelectSubset<T, thread_sessionsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* Update zero or more Thread_sessions and returns the data updated in the database.
|
|
1040
|
+
* @param {thread_sessionsUpdateManyAndReturnArgs} args - Arguments to update many Thread_sessions.
|
|
1041
|
+
* @example
|
|
1042
|
+
* // Update many Thread_sessions
|
|
1043
|
+
* const thread_sessions = await prisma.thread_sessions.updateManyAndReturn({
|
|
1044
|
+
* where: {
|
|
1045
|
+
* // ... provide filter here
|
|
1046
|
+
* },
|
|
1047
|
+
* data: [
|
|
1048
|
+
* // ... provide data here
|
|
1049
|
+
* ]
|
|
1050
|
+
* })
|
|
1051
|
+
*
|
|
1052
|
+
* // Update zero or more Thread_sessions and only return the `thread_id`
|
|
1053
|
+
* const thread_sessionsWithThread_idOnly = await prisma.thread_sessions.updateManyAndReturn({
|
|
1054
|
+
* select: { thread_id: true },
|
|
1055
|
+
* where: {
|
|
1056
|
+
* // ... provide filter here
|
|
1057
|
+
* },
|
|
1058
|
+
* data: [
|
|
1059
|
+
* // ... provide data here
|
|
1060
|
+
* ]
|
|
1061
|
+
* })
|
|
1062
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1063
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1064
|
+
*
|
|
1065
|
+
*/
|
|
1066
|
+
updateManyAndReturn<T extends thread_sessionsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, thread_sessionsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* Create or update one Thread_sessions.
|
|
1070
|
+
* @param {thread_sessionsUpsertArgs} args - Arguments to update or create a Thread_sessions.
|
|
1071
|
+
* @example
|
|
1072
|
+
* // Update or create a Thread_sessions
|
|
1073
|
+
* const thread_sessions = await prisma.thread_sessions.upsert({
|
|
1074
|
+
* create: {
|
|
1075
|
+
* // ... data to create a Thread_sessions
|
|
1076
|
+
* },
|
|
1077
|
+
* update: {
|
|
1078
|
+
* // ... in case it already exists, update
|
|
1079
|
+
* },
|
|
1080
|
+
* where: {
|
|
1081
|
+
* // ... the filter for the Thread_sessions we want to update
|
|
1082
|
+
* }
|
|
1083
|
+
* })
|
|
1084
|
+
*/
|
|
1085
|
+
upsert<T extends thread_sessionsUpsertArgs>(args: Prisma.SelectSubset<T, thread_sessionsUpsertArgs<ExtArgs>>): Prisma.Prisma__thread_sessionsClient<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* Count the number of Thread_sessions.
|
|
1090
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1091
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1092
|
+
* @param {thread_sessionsCountArgs} args - Arguments to filter Thread_sessions to count.
|
|
1093
|
+
* @example
|
|
1094
|
+
* // Count the number of Thread_sessions
|
|
1095
|
+
* const count = await prisma.thread_sessions.count({
|
|
1096
|
+
* where: {
|
|
1097
|
+
* // ... the filter for the Thread_sessions we want to count
|
|
1098
|
+
* }
|
|
1099
|
+
* })
|
|
1100
|
+
**/
|
|
1101
|
+
count<T extends thread_sessionsCountArgs>(
|
|
1102
|
+
args?: Prisma.Subset<T, thread_sessionsCountArgs>,
|
|
1103
|
+
): Prisma.PrismaPromise<
|
|
1104
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1105
|
+
? T['select'] extends true
|
|
1106
|
+
? number
|
|
1107
|
+
: Prisma.GetScalarType<T['select'], Thread_sessionsCountAggregateOutputType>
|
|
1108
|
+
: number
|
|
1109
|
+
>
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Allows you to perform aggregations operations on a Thread_sessions.
|
|
1113
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1114
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1115
|
+
* @param {Thread_sessionsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1116
|
+
* @example
|
|
1117
|
+
* // Ordered by age ascending
|
|
1118
|
+
* // Where email contains prisma.io
|
|
1119
|
+
* // Limited to the 10 users
|
|
1120
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1121
|
+
* _avg: {
|
|
1122
|
+
* age: true,
|
|
1123
|
+
* },
|
|
1124
|
+
* where: {
|
|
1125
|
+
* email: {
|
|
1126
|
+
* contains: "prisma.io",
|
|
1127
|
+
* },
|
|
1128
|
+
* },
|
|
1129
|
+
* orderBy: {
|
|
1130
|
+
* age: "asc",
|
|
1131
|
+
* },
|
|
1132
|
+
* take: 10,
|
|
1133
|
+
* })
|
|
1134
|
+
**/
|
|
1135
|
+
aggregate<T extends Thread_sessionsAggregateArgs>(args: Prisma.Subset<T, Thread_sessionsAggregateArgs>): Prisma.PrismaPromise<GetThread_sessionsAggregateType<T>>
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Group by Thread_sessions.
|
|
1139
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1140
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1141
|
+
* @param {thread_sessionsGroupByArgs} args - Group by arguments.
|
|
1142
|
+
* @example
|
|
1143
|
+
* // Group by city, order by createdAt, get count
|
|
1144
|
+
* const result = await prisma.user.groupBy({
|
|
1145
|
+
* by: ['city', 'createdAt'],
|
|
1146
|
+
* orderBy: {
|
|
1147
|
+
* createdAt: true
|
|
1148
|
+
* },
|
|
1149
|
+
* _count: {
|
|
1150
|
+
* _all: true
|
|
1151
|
+
* },
|
|
1152
|
+
* })
|
|
1153
|
+
*
|
|
1154
|
+
**/
|
|
1155
|
+
groupBy<
|
|
1156
|
+
T extends thread_sessionsGroupByArgs,
|
|
1157
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1158
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1159
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1160
|
+
>,
|
|
1161
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1162
|
+
? { orderBy: thread_sessionsGroupByArgs['orderBy'] }
|
|
1163
|
+
: { orderBy?: thread_sessionsGroupByArgs['orderBy'] },
|
|
1164
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1165
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1166
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1167
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1168
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1169
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1170
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1171
|
+
? `Error: "by" must not be empty.`
|
|
1172
|
+
: HavingValid extends Prisma.False
|
|
1173
|
+
? {
|
|
1174
|
+
[P in HavingFields]: P extends ByFields
|
|
1175
|
+
? never
|
|
1176
|
+
: P extends string
|
|
1177
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1178
|
+
: [
|
|
1179
|
+
Error,
|
|
1180
|
+
'Field ',
|
|
1181
|
+
P,
|
|
1182
|
+
` in "having" needs to be provided in "by"`,
|
|
1183
|
+
]
|
|
1184
|
+
}[HavingFields]
|
|
1185
|
+
: 'take' extends Prisma.Keys<T>
|
|
1186
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1187
|
+
? ByValid extends Prisma.True
|
|
1188
|
+
? {}
|
|
1189
|
+
: {
|
|
1190
|
+
[P in OrderFields]: P extends ByFields
|
|
1191
|
+
? never
|
|
1192
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1193
|
+
}[OrderFields]
|
|
1194
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1195
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1196
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1197
|
+
? ByValid extends Prisma.True
|
|
1198
|
+
? {}
|
|
1199
|
+
: {
|
|
1200
|
+
[P in OrderFields]: P extends ByFields
|
|
1201
|
+
? never
|
|
1202
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1203
|
+
}[OrderFields]
|
|
1204
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1205
|
+
: ByValid extends Prisma.True
|
|
1206
|
+
? {}
|
|
1207
|
+
: {
|
|
1208
|
+
[P in OrderFields]: P extends ByFields
|
|
1209
|
+
? never
|
|
1210
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1211
|
+
}[OrderFields]
|
|
1212
|
+
>(args: Prisma.SubsetIntersection<T, thread_sessionsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetThread_sessionsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1213
|
+
/**
|
|
1214
|
+
* Fields of the thread_sessions model
|
|
1215
|
+
*/
|
|
1216
|
+
readonly fields: thread_sessionsFieldRefs;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* The delegate class that acts as a "Promise-like" for thread_sessions.
|
|
1221
|
+
* Why is this prefixed with `Prisma__`?
|
|
1222
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1223
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1224
|
+
*/
|
|
1225
|
+
export interface Prisma__thread_sessionsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1226
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1227
|
+
part_messages<T extends Prisma.thread_sessions$part_messagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.thread_sessions$part_messagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$part_messagesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1228
|
+
session_events<T extends Prisma.thread_sessions$session_eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.thread_sessions$session_eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$session_eventsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1229
|
+
scheduled_tasks<T extends Prisma.thread_sessions$scheduled_tasksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.thread_sessions$scheduled_tasksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1230
|
+
thread_worktree<T extends Prisma.thread_sessions$thread_worktreeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.thread_sessions$thread_worktreeArgs<ExtArgs>>): Prisma.Prisma__thread_worktreesClient<runtime.Types.Result.GetResult<Prisma.$thread_worktreesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1231
|
+
ipc_requests<T extends Prisma.thread_sessions$ipc_requestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.thread_sessions$ipc_requestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ipc_requestsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1232
|
+
/**
|
|
1233
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1234
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1235
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1236
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1237
|
+
*/
|
|
1238
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
1239
|
+
/**
|
|
1240
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1241
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1242
|
+
* @returns A Promise for the completion of the callback.
|
|
1243
|
+
*/
|
|
1244
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1245
|
+
/**
|
|
1246
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1247
|
+
* resolved value cannot be modified from the callback.
|
|
1248
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1249
|
+
* @returns A Promise for the completion of the callback.
|
|
1250
|
+
*/
|
|
1251
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* Fields of the thread_sessions model
|
|
1259
|
+
*/
|
|
1260
|
+
export interface thread_sessionsFieldRefs {
|
|
1261
|
+
readonly thread_id: Prisma.FieldRef<"thread_sessions", 'String'>
|
|
1262
|
+
readonly session_id: Prisma.FieldRef<"thread_sessions", 'String'>
|
|
1263
|
+
readonly source: Prisma.FieldRef<"thread_sessions", 'ThreadSessionSource'>
|
|
1264
|
+
readonly created_at: Prisma.FieldRef<"thread_sessions", 'DateTime'>
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
// Custom InputTypes
|
|
1269
|
+
/**
|
|
1270
|
+
* thread_sessions findUnique
|
|
1271
|
+
*/
|
|
1272
|
+
export type thread_sessionsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1273
|
+
/**
|
|
1274
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1275
|
+
*/
|
|
1276
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1277
|
+
/**
|
|
1278
|
+
* Omit specific fields from the thread_sessions
|
|
1279
|
+
*/
|
|
1280
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1281
|
+
/**
|
|
1282
|
+
* Choose, which related nodes to fetch as well
|
|
1283
|
+
*/
|
|
1284
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1285
|
+
/**
|
|
1286
|
+
* Filter, which thread_sessions to fetch.
|
|
1287
|
+
*/
|
|
1288
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* thread_sessions findUniqueOrThrow
|
|
1293
|
+
*/
|
|
1294
|
+
export type thread_sessionsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1295
|
+
/**
|
|
1296
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1297
|
+
*/
|
|
1298
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1299
|
+
/**
|
|
1300
|
+
* Omit specific fields from the thread_sessions
|
|
1301
|
+
*/
|
|
1302
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1303
|
+
/**
|
|
1304
|
+
* Choose, which related nodes to fetch as well
|
|
1305
|
+
*/
|
|
1306
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1307
|
+
/**
|
|
1308
|
+
* Filter, which thread_sessions to fetch.
|
|
1309
|
+
*/
|
|
1310
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* thread_sessions findFirst
|
|
1315
|
+
*/
|
|
1316
|
+
export type thread_sessionsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1317
|
+
/**
|
|
1318
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1319
|
+
*/
|
|
1320
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1321
|
+
/**
|
|
1322
|
+
* Omit specific fields from the thread_sessions
|
|
1323
|
+
*/
|
|
1324
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1325
|
+
/**
|
|
1326
|
+
* Choose, which related nodes to fetch as well
|
|
1327
|
+
*/
|
|
1328
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1329
|
+
/**
|
|
1330
|
+
* Filter, which thread_sessions to fetch.
|
|
1331
|
+
*/
|
|
1332
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
1333
|
+
/**
|
|
1334
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1335
|
+
*
|
|
1336
|
+
* Determine the order of thread_sessions to fetch.
|
|
1337
|
+
*/
|
|
1338
|
+
orderBy?: Prisma.thread_sessionsOrderByWithRelationInput | Prisma.thread_sessionsOrderByWithRelationInput[]
|
|
1339
|
+
/**
|
|
1340
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1341
|
+
*
|
|
1342
|
+
* Sets the position for searching for thread_sessions.
|
|
1343
|
+
*/
|
|
1344
|
+
cursor?: Prisma.thread_sessionsWhereUniqueInput
|
|
1345
|
+
/**
|
|
1346
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1347
|
+
*
|
|
1348
|
+
* Take `±n` thread_sessions from the position of the cursor.
|
|
1349
|
+
*/
|
|
1350
|
+
take?: number
|
|
1351
|
+
/**
|
|
1352
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1353
|
+
*
|
|
1354
|
+
* Skip the first `n` thread_sessions.
|
|
1355
|
+
*/
|
|
1356
|
+
skip?: number
|
|
1357
|
+
/**
|
|
1358
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1359
|
+
*
|
|
1360
|
+
* Filter by unique combinations of thread_sessions.
|
|
1361
|
+
*/
|
|
1362
|
+
distinct?: Prisma.Thread_sessionsScalarFieldEnum | Prisma.Thread_sessionsScalarFieldEnum[]
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* thread_sessions findFirstOrThrow
|
|
1367
|
+
*/
|
|
1368
|
+
export type thread_sessionsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1369
|
+
/**
|
|
1370
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1371
|
+
*/
|
|
1372
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1373
|
+
/**
|
|
1374
|
+
* Omit specific fields from the thread_sessions
|
|
1375
|
+
*/
|
|
1376
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1377
|
+
/**
|
|
1378
|
+
* Choose, which related nodes to fetch as well
|
|
1379
|
+
*/
|
|
1380
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1381
|
+
/**
|
|
1382
|
+
* Filter, which thread_sessions to fetch.
|
|
1383
|
+
*/
|
|
1384
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
1385
|
+
/**
|
|
1386
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1387
|
+
*
|
|
1388
|
+
* Determine the order of thread_sessions to fetch.
|
|
1389
|
+
*/
|
|
1390
|
+
orderBy?: Prisma.thread_sessionsOrderByWithRelationInput | Prisma.thread_sessionsOrderByWithRelationInput[]
|
|
1391
|
+
/**
|
|
1392
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1393
|
+
*
|
|
1394
|
+
* Sets the position for searching for thread_sessions.
|
|
1395
|
+
*/
|
|
1396
|
+
cursor?: Prisma.thread_sessionsWhereUniqueInput
|
|
1397
|
+
/**
|
|
1398
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1399
|
+
*
|
|
1400
|
+
* Take `±n` thread_sessions from the position of the cursor.
|
|
1401
|
+
*/
|
|
1402
|
+
take?: number
|
|
1403
|
+
/**
|
|
1404
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1405
|
+
*
|
|
1406
|
+
* Skip the first `n` thread_sessions.
|
|
1407
|
+
*/
|
|
1408
|
+
skip?: number
|
|
1409
|
+
/**
|
|
1410
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1411
|
+
*
|
|
1412
|
+
* Filter by unique combinations of thread_sessions.
|
|
1413
|
+
*/
|
|
1414
|
+
distinct?: Prisma.Thread_sessionsScalarFieldEnum | Prisma.Thread_sessionsScalarFieldEnum[]
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* thread_sessions findMany
|
|
1419
|
+
*/
|
|
1420
|
+
export type thread_sessionsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1421
|
+
/**
|
|
1422
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1423
|
+
*/
|
|
1424
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1425
|
+
/**
|
|
1426
|
+
* Omit specific fields from the thread_sessions
|
|
1427
|
+
*/
|
|
1428
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1429
|
+
/**
|
|
1430
|
+
* Choose, which related nodes to fetch as well
|
|
1431
|
+
*/
|
|
1432
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1433
|
+
/**
|
|
1434
|
+
* Filter, which thread_sessions to fetch.
|
|
1435
|
+
*/
|
|
1436
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
1437
|
+
/**
|
|
1438
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1439
|
+
*
|
|
1440
|
+
* Determine the order of thread_sessions to fetch.
|
|
1441
|
+
*/
|
|
1442
|
+
orderBy?: Prisma.thread_sessionsOrderByWithRelationInput | Prisma.thread_sessionsOrderByWithRelationInput[]
|
|
1443
|
+
/**
|
|
1444
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1445
|
+
*
|
|
1446
|
+
* Sets the position for listing thread_sessions.
|
|
1447
|
+
*/
|
|
1448
|
+
cursor?: Prisma.thread_sessionsWhereUniqueInput
|
|
1449
|
+
/**
|
|
1450
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1451
|
+
*
|
|
1452
|
+
* Take `±n` thread_sessions from the position of the cursor.
|
|
1453
|
+
*/
|
|
1454
|
+
take?: number
|
|
1455
|
+
/**
|
|
1456
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1457
|
+
*
|
|
1458
|
+
* Skip the first `n` thread_sessions.
|
|
1459
|
+
*/
|
|
1460
|
+
skip?: number
|
|
1461
|
+
distinct?: Prisma.Thread_sessionsScalarFieldEnum | Prisma.Thread_sessionsScalarFieldEnum[]
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* thread_sessions create
|
|
1466
|
+
*/
|
|
1467
|
+
export type thread_sessionsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1468
|
+
/**
|
|
1469
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1470
|
+
*/
|
|
1471
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1472
|
+
/**
|
|
1473
|
+
* Omit specific fields from the thread_sessions
|
|
1474
|
+
*/
|
|
1475
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1476
|
+
/**
|
|
1477
|
+
* Choose, which related nodes to fetch as well
|
|
1478
|
+
*/
|
|
1479
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1480
|
+
/**
|
|
1481
|
+
* The data needed to create a thread_sessions.
|
|
1482
|
+
*/
|
|
1483
|
+
data: Prisma.XOR<Prisma.thread_sessionsCreateInput, Prisma.thread_sessionsUncheckedCreateInput>
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* thread_sessions createMany
|
|
1488
|
+
*/
|
|
1489
|
+
export type thread_sessionsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1490
|
+
/**
|
|
1491
|
+
* The data used to create many thread_sessions.
|
|
1492
|
+
*/
|
|
1493
|
+
data: Prisma.thread_sessionsCreateManyInput | Prisma.thread_sessionsCreateManyInput[]
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* thread_sessions createManyAndReturn
|
|
1498
|
+
*/
|
|
1499
|
+
export type thread_sessionsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1500
|
+
/**
|
|
1501
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1502
|
+
*/
|
|
1503
|
+
select?: Prisma.thread_sessionsSelectCreateManyAndReturn<ExtArgs> | null
|
|
1504
|
+
/**
|
|
1505
|
+
* Omit specific fields from the thread_sessions
|
|
1506
|
+
*/
|
|
1507
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1508
|
+
/**
|
|
1509
|
+
* The data used to create many thread_sessions.
|
|
1510
|
+
*/
|
|
1511
|
+
data: Prisma.thread_sessionsCreateManyInput | Prisma.thread_sessionsCreateManyInput[]
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* thread_sessions update
|
|
1516
|
+
*/
|
|
1517
|
+
export type thread_sessionsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1518
|
+
/**
|
|
1519
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1520
|
+
*/
|
|
1521
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1522
|
+
/**
|
|
1523
|
+
* Omit specific fields from the thread_sessions
|
|
1524
|
+
*/
|
|
1525
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1526
|
+
/**
|
|
1527
|
+
* Choose, which related nodes to fetch as well
|
|
1528
|
+
*/
|
|
1529
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1530
|
+
/**
|
|
1531
|
+
* The data needed to update a thread_sessions.
|
|
1532
|
+
*/
|
|
1533
|
+
data: Prisma.XOR<Prisma.thread_sessionsUpdateInput, Prisma.thread_sessionsUncheckedUpdateInput>
|
|
1534
|
+
/**
|
|
1535
|
+
* Choose, which thread_sessions to update.
|
|
1536
|
+
*/
|
|
1537
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* thread_sessions updateMany
|
|
1542
|
+
*/
|
|
1543
|
+
export type thread_sessionsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1544
|
+
/**
|
|
1545
|
+
* The data used to update thread_sessions.
|
|
1546
|
+
*/
|
|
1547
|
+
data: Prisma.XOR<Prisma.thread_sessionsUpdateManyMutationInput, Prisma.thread_sessionsUncheckedUpdateManyInput>
|
|
1548
|
+
/**
|
|
1549
|
+
* Filter which thread_sessions to update
|
|
1550
|
+
*/
|
|
1551
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
1552
|
+
/**
|
|
1553
|
+
* Limit how many thread_sessions to update.
|
|
1554
|
+
*/
|
|
1555
|
+
limit?: number
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* thread_sessions updateManyAndReturn
|
|
1560
|
+
*/
|
|
1561
|
+
export type thread_sessionsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1562
|
+
/**
|
|
1563
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1564
|
+
*/
|
|
1565
|
+
select?: Prisma.thread_sessionsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1566
|
+
/**
|
|
1567
|
+
* Omit specific fields from the thread_sessions
|
|
1568
|
+
*/
|
|
1569
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1570
|
+
/**
|
|
1571
|
+
* The data used to update thread_sessions.
|
|
1572
|
+
*/
|
|
1573
|
+
data: Prisma.XOR<Prisma.thread_sessionsUpdateManyMutationInput, Prisma.thread_sessionsUncheckedUpdateManyInput>
|
|
1574
|
+
/**
|
|
1575
|
+
* Filter which thread_sessions to update
|
|
1576
|
+
*/
|
|
1577
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
1578
|
+
/**
|
|
1579
|
+
* Limit how many thread_sessions to update.
|
|
1580
|
+
*/
|
|
1581
|
+
limit?: number
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* thread_sessions upsert
|
|
1586
|
+
*/
|
|
1587
|
+
export type thread_sessionsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1588
|
+
/**
|
|
1589
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1590
|
+
*/
|
|
1591
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1592
|
+
/**
|
|
1593
|
+
* Omit specific fields from the thread_sessions
|
|
1594
|
+
*/
|
|
1595
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1596
|
+
/**
|
|
1597
|
+
* Choose, which related nodes to fetch as well
|
|
1598
|
+
*/
|
|
1599
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1600
|
+
/**
|
|
1601
|
+
* The filter to search for the thread_sessions to update in case it exists.
|
|
1602
|
+
*/
|
|
1603
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
1604
|
+
/**
|
|
1605
|
+
* In case the thread_sessions found by the `where` argument doesn't exist, create a new thread_sessions with this data.
|
|
1606
|
+
*/
|
|
1607
|
+
create: Prisma.XOR<Prisma.thread_sessionsCreateInput, Prisma.thread_sessionsUncheckedCreateInput>
|
|
1608
|
+
/**
|
|
1609
|
+
* In case the thread_sessions was found with the provided `where` argument, update it with this data.
|
|
1610
|
+
*/
|
|
1611
|
+
update: Prisma.XOR<Prisma.thread_sessionsUpdateInput, Prisma.thread_sessionsUncheckedUpdateInput>
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* thread_sessions delete
|
|
1616
|
+
*/
|
|
1617
|
+
export type thread_sessionsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1618
|
+
/**
|
|
1619
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1620
|
+
*/
|
|
1621
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1622
|
+
/**
|
|
1623
|
+
* Omit specific fields from the thread_sessions
|
|
1624
|
+
*/
|
|
1625
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1626
|
+
/**
|
|
1627
|
+
* Choose, which related nodes to fetch as well
|
|
1628
|
+
*/
|
|
1629
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1630
|
+
/**
|
|
1631
|
+
* Filter which thread_sessions to delete.
|
|
1632
|
+
*/
|
|
1633
|
+
where: Prisma.thread_sessionsWhereUniqueInput
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* thread_sessions deleteMany
|
|
1638
|
+
*/
|
|
1639
|
+
export type thread_sessionsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1640
|
+
/**
|
|
1641
|
+
* Filter which thread_sessions to delete
|
|
1642
|
+
*/
|
|
1643
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
1644
|
+
/**
|
|
1645
|
+
* Limit how many thread_sessions to delete.
|
|
1646
|
+
*/
|
|
1647
|
+
limit?: number
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* thread_sessions.part_messages
|
|
1652
|
+
*/
|
|
1653
|
+
export type thread_sessions$part_messagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1654
|
+
/**
|
|
1655
|
+
* Select specific fields to fetch from the part_messages
|
|
1656
|
+
*/
|
|
1657
|
+
select?: Prisma.part_messagesSelect<ExtArgs> | null
|
|
1658
|
+
/**
|
|
1659
|
+
* Omit specific fields from the part_messages
|
|
1660
|
+
*/
|
|
1661
|
+
omit?: Prisma.part_messagesOmit<ExtArgs> | null
|
|
1662
|
+
/**
|
|
1663
|
+
* Choose, which related nodes to fetch as well
|
|
1664
|
+
*/
|
|
1665
|
+
include?: Prisma.part_messagesInclude<ExtArgs> | null
|
|
1666
|
+
where?: Prisma.part_messagesWhereInput
|
|
1667
|
+
orderBy?: Prisma.part_messagesOrderByWithRelationInput | Prisma.part_messagesOrderByWithRelationInput[]
|
|
1668
|
+
cursor?: Prisma.part_messagesWhereUniqueInput
|
|
1669
|
+
take?: number
|
|
1670
|
+
skip?: number
|
|
1671
|
+
distinct?: Prisma.Part_messagesScalarFieldEnum | Prisma.Part_messagesScalarFieldEnum[]
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* thread_sessions.session_events
|
|
1676
|
+
*/
|
|
1677
|
+
export type thread_sessions$session_eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1678
|
+
/**
|
|
1679
|
+
* Select specific fields to fetch from the session_events
|
|
1680
|
+
*/
|
|
1681
|
+
select?: Prisma.session_eventsSelect<ExtArgs> | null
|
|
1682
|
+
/**
|
|
1683
|
+
* Omit specific fields from the session_events
|
|
1684
|
+
*/
|
|
1685
|
+
omit?: Prisma.session_eventsOmit<ExtArgs> | null
|
|
1686
|
+
/**
|
|
1687
|
+
* Choose, which related nodes to fetch as well
|
|
1688
|
+
*/
|
|
1689
|
+
include?: Prisma.session_eventsInclude<ExtArgs> | null
|
|
1690
|
+
where?: Prisma.session_eventsWhereInput
|
|
1691
|
+
orderBy?: Prisma.session_eventsOrderByWithRelationInput | Prisma.session_eventsOrderByWithRelationInput[]
|
|
1692
|
+
cursor?: Prisma.session_eventsWhereUniqueInput
|
|
1693
|
+
take?: number
|
|
1694
|
+
skip?: number
|
|
1695
|
+
distinct?: Prisma.Session_eventsScalarFieldEnum | Prisma.Session_eventsScalarFieldEnum[]
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* thread_sessions.scheduled_tasks
|
|
1700
|
+
*/
|
|
1701
|
+
export type thread_sessions$scheduled_tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1702
|
+
/**
|
|
1703
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
1704
|
+
*/
|
|
1705
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
1706
|
+
/**
|
|
1707
|
+
* Omit specific fields from the scheduled_tasks
|
|
1708
|
+
*/
|
|
1709
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
1710
|
+
/**
|
|
1711
|
+
* Choose, which related nodes to fetch as well
|
|
1712
|
+
*/
|
|
1713
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
1714
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
1715
|
+
orderBy?: Prisma.scheduled_tasksOrderByWithRelationInput | Prisma.scheduled_tasksOrderByWithRelationInput[]
|
|
1716
|
+
cursor?: Prisma.scheduled_tasksWhereUniqueInput
|
|
1717
|
+
take?: number
|
|
1718
|
+
skip?: number
|
|
1719
|
+
distinct?: Prisma.Scheduled_tasksScalarFieldEnum | Prisma.Scheduled_tasksScalarFieldEnum[]
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* thread_sessions.thread_worktree
|
|
1724
|
+
*/
|
|
1725
|
+
export type thread_sessions$thread_worktreeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1726
|
+
/**
|
|
1727
|
+
* Select specific fields to fetch from the thread_worktrees
|
|
1728
|
+
*/
|
|
1729
|
+
select?: Prisma.thread_worktreesSelect<ExtArgs> | null
|
|
1730
|
+
/**
|
|
1731
|
+
* Omit specific fields from the thread_worktrees
|
|
1732
|
+
*/
|
|
1733
|
+
omit?: Prisma.thread_worktreesOmit<ExtArgs> | null
|
|
1734
|
+
/**
|
|
1735
|
+
* Choose, which related nodes to fetch as well
|
|
1736
|
+
*/
|
|
1737
|
+
include?: Prisma.thread_worktreesInclude<ExtArgs> | null
|
|
1738
|
+
where?: Prisma.thread_worktreesWhereInput
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
/**
|
|
1742
|
+
* thread_sessions.ipc_requests
|
|
1743
|
+
*/
|
|
1744
|
+
export type thread_sessions$ipc_requestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1745
|
+
/**
|
|
1746
|
+
* Select specific fields to fetch from the ipc_requests
|
|
1747
|
+
*/
|
|
1748
|
+
select?: Prisma.ipc_requestsSelect<ExtArgs> | null
|
|
1749
|
+
/**
|
|
1750
|
+
* Omit specific fields from the ipc_requests
|
|
1751
|
+
*/
|
|
1752
|
+
omit?: Prisma.ipc_requestsOmit<ExtArgs> | null
|
|
1753
|
+
/**
|
|
1754
|
+
* Choose, which related nodes to fetch as well
|
|
1755
|
+
*/
|
|
1756
|
+
include?: Prisma.ipc_requestsInclude<ExtArgs> | null
|
|
1757
|
+
where?: Prisma.ipc_requestsWhereInput
|
|
1758
|
+
orderBy?: Prisma.ipc_requestsOrderByWithRelationInput | Prisma.ipc_requestsOrderByWithRelationInput[]
|
|
1759
|
+
cursor?: Prisma.ipc_requestsWhereUniqueInput
|
|
1760
|
+
take?: number
|
|
1761
|
+
skip?: number
|
|
1762
|
+
distinct?: Prisma.Ipc_requestsScalarFieldEnum | Prisma.Ipc_requestsScalarFieldEnum[]
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* thread_sessions without action
|
|
1767
|
+
*/
|
|
1768
|
+
export type thread_sessionsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1769
|
+
/**
|
|
1770
|
+
* Select specific fields to fetch from the thread_sessions
|
|
1771
|
+
*/
|
|
1772
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
1773
|
+
/**
|
|
1774
|
+
* Omit specific fields from the thread_sessions
|
|
1775
|
+
*/
|
|
1776
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
1777
|
+
/**
|
|
1778
|
+
* Choose, which related nodes to fetch as well
|
|
1779
|
+
*/
|
|
1780
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
1781
|
+
}
|