@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,1859 @@
|
|
|
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 `channel_directories` 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 channel_directories
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type channel_directoriesModel = runtime.Types.Result.DefaultSelection<Prisma.$channel_directoriesPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateChannel_directories = {
|
|
22
|
+
_count: Channel_directoriesCountAggregateOutputType | null
|
|
23
|
+
_min: Channel_directoriesMinAggregateOutputType | null
|
|
24
|
+
_max: Channel_directoriesMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type Channel_directoriesMinAggregateOutputType = {
|
|
28
|
+
channel_id: string | null
|
|
29
|
+
directory: string | null
|
|
30
|
+
channel_type: $Enums.ChannelType | null
|
|
31
|
+
created_at: Date | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type Channel_directoriesMaxAggregateOutputType = {
|
|
35
|
+
channel_id: string | null
|
|
36
|
+
directory: string | null
|
|
37
|
+
channel_type: $Enums.ChannelType | null
|
|
38
|
+
created_at: Date | null
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type Channel_directoriesCountAggregateOutputType = {
|
|
42
|
+
channel_id: number
|
|
43
|
+
directory: number
|
|
44
|
+
channel_type: number
|
|
45
|
+
created_at: number
|
|
46
|
+
_all: number
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
export type Channel_directoriesMinAggregateInputType = {
|
|
51
|
+
channel_id?: true
|
|
52
|
+
directory?: true
|
|
53
|
+
channel_type?: true
|
|
54
|
+
created_at?: true
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type Channel_directoriesMaxAggregateInputType = {
|
|
58
|
+
channel_id?: true
|
|
59
|
+
directory?: true
|
|
60
|
+
channel_type?: true
|
|
61
|
+
created_at?: true
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type Channel_directoriesCountAggregateInputType = {
|
|
65
|
+
channel_id?: true
|
|
66
|
+
directory?: true
|
|
67
|
+
channel_type?: true
|
|
68
|
+
created_at?: true
|
|
69
|
+
_all?: true
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export type Channel_directoriesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
73
|
+
/**
|
|
74
|
+
* Filter which channel_directories to aggregate.
|
|
75
|
+
*/
|
|
76
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
77
|
+
/**
|
|
78
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
79
|
+
*
|
|
80
|
+
* Determine the order of channel_directories to fetch.
|
|
81
|
+
*/
|
|
82
|
+
orderBy?: Prisma.channel_directoriesOrderByWithRelationInput | Prisma.channel_directoriesOrderByWithRelationInput[]
|
|
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.channel_directoriesWhereUniqueInput
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
91
|
+
*
|
|
92
|
+
* Take `±n` channel_directories 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` channel_directories.
|
|
99
|
+
*/
|
|
100
|
+
skip?: number
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
103
|
+
*
|
|
104
|
+
* Count returned channel_directories
|
|
105
|
+
**/
|
|
106
|
+
_count?: true | Channel_directoriesCountAggregateInputType
|
|
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?: Channel_directoriesMinAggregateInputType
|
|
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?: Channel_directoriesMaxAggregateInputType
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type GetChannel_directoriesAggregateType<T extends Channel_directoriesAggregateArgs> = {
|
|
122
|
+
[P in keyof T & keyof AggregateChannel_directories]: P extends '_count' | 'count'
|
|
123
|
+
? T[P] extends true
|
|
124
|
+
? number
|
|
125
|
+
: Prisma.GetScalarType<T[P], AggregateChannel_directories[P]>
|
|
126
|
+
: Prisma.GetScalarType<T[P], AggregateChannel_directories[P]>
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
export type channel_directoriesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
133
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
134
|
+
orderBy?: Prisma.channel_directoriesOrderByWithAggregationInput | Prisma.channel_directoriesOrderByWithAggregationInput[]
|
|
135
|
+
by: Prisma.Channel_directoriesScalarFieldEnum[] | Prisma.Channel_directoriesScalarFieldEnum
|
|
136
|
+
having?: Prisma.channel_directoriesScalarWhereWithAggregatesInput
|
|
137
|
+
take?: number
|
|
138
|
+
skip?: number
|
|
139
|
+
_count?: Channel_directoriesCountAggregateInputType | true
|
|
140
|
+
_min?: Channel_directoriesMinAggregateInputType
|
|
141
|
+
_max?: Channel_directoriesMaxAggregateInputType
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export type Channel_directoriesGroupByOutputType = {
|
|
145
|
+
channel_id: string
|
|
146
|
+
directory: string
|
|
147
|
+
channel_type: $Enums.ChannelType
|
|
148
|
+
created_at: Date | null
|
|
149
|
+
_count: Channel_directoriesCountAggregateOutputType | null
|
|
150
|
+
_min: Channel_directoriesMinAggregateOutputType | null
|
|
151
|
+
_max: Channel_directoriesMaxAggregateOutputType | null
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
type GetChannel_directoriesGroupByPayload<T extends channel_directoriesGroupByArgs> = Prisma.PrismaPromise<
|
|
155
|
+
Array<
|
|
156
|
+
Prisma.PickEnumerable<Channel_directoriesGroupByOutputType, T['by']> &
|
|
157
|
+
{
|
|
158
|
+
[P in ((keyof T) & (keyof Channel_directoriesGroupByOutputType))]: P extends '_count'
|
|
159
|
+
? T[P] extends boolean
|
|
160
|
+
? number
|
|
161
|
+
: Prisma.GetScalarType<T[P], Channel_directoriesGroupByOutputType[P]>
|
|
162
|
+
: Prisma.GetScalarType<T[P], Channel_directoriesGroupByOutputType[P]>
|
|
163
|
+
}
|
|
164
|
+
>
|
|
165
|
+
>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
export type channel_directoriesWhereInput = {
|
|
170
|
+
AND?: Prisma.channel_directoriesWhereInput | Prisma.channel_directoriesWhereInput[]
|
|
171
|
+
OR?: Prisma.channel_directoriesWhereInput[]
|
|
172
|
+
NOT?: Prisma.channel_directoriesWhereInput | Prisma.channel_directoriesWhereInput[]
|
|
173
|
+
channel_id?: Prisma.StringFilter<"channel_directories"> | string
|
|
174
|
+
directory?: Prisma.StringFilter<"channel_directories"> | string
|
|
175
|
+
channel_type?: Prisma.EnumChannelTypeFilter<"channel_directories"> | $Enums.ChannelType
|
|
176
|
+
created_at?: Prisma.DateTimeNullableFilter<"channel_directories"> | Date | string | null
|
|
177
|
+
channel_model?: Prisma.XOR<Prisma.Channel_modelsNullableScalarRelationFilter, Prisma.channel_modelsWhereInput> | null
|
|
178
|
+
channel_agent?: Prisma.XOR<Prisma.Channel_agentsNullableScalarRelationFilter, Prisma.channel_agentsWhereInput> | null
|
|
179
|
+
channel_worktree?: Prisma.XOR<Prisma.Channel_worktreesNullableScalarRelationFilter, Prisma.channel_worktreesWhereInput> | null
|
|
180
|
+
channel_verbosity?: Prisma.XOR<Prisma.Channel_verbosityNullableScalarRelationFilter, Prisma.channel_verbosityWhereInput> | null
|
|
181
|
+
channel_mention_mode?: Prisma.XOR<Prisma.Channel_mention_modeNullableScalarRelationFilter, Prisma.channel_mention_modeWhereInput> | null
|
|
182
|
+
scheduled_tasks?: Prisma.Scheduled_tasksListRelationFilter
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export type channel_directoriesOrderByWithRelationInput = {
|
|
186
|
+
channel_id?: Prisma.SortOrder
|
|
187
|
+
directory?: Prisma.SortOrder
|
|
188
|
+
channel_type?: Prisma.SortOrder
|
|
189
|
+
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
190
|
+
channel_model?: Prisma.channel_modelsOrderByWithRelationInput
|
|
191
|
+
channel_agent?: Prisma.channel_agentsOrderByWithRelationInput
|
|
192
|
+
channel_worktree?: Prisma.channel_worktreesOrderByWithRelationInput
|
|
193
|
+
channel_verbosity?: Prisma.channel_verbosityOrderByWithRelationInput
|
|
194
|
+
channel_mention_mode?: Prisma.channel_mention_modeOrderByWithRelationInput
|
|
195
|
+
scheduled_tasks?: Prisma.scheduled_tasksOrderByRelationAggregateInput
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export type channel_directoriesWhereUniqueInput = Prisma.AtLeast<{
|
|
199
|
+
channel_id?: string
|
|
200
|
+
AND?: Prisma.channel_directoriesWhereInput | Prisma.channel_directoriesWhereInput[]
|
|
201
|
+
OR?: Prisma.channel_directoriesWhereInput[]
|
|
202
|
+
NOT?: Prisma.channel_directoriesWhereInput | Prisma.channel_directoriesWhereInput[]
|
|
203
|
+
directory?: Prisma.StringFilter<"channel_directories"> | string
|
|
204
|
+
channel_type?: Prisma.EnumChannelTypeFilter<"channel_directories"> | $Enums.ChannelType
|
|
205
|
+
created_at?: Prisma.DateTimeNullableFilter<"channel_directories"> | Date | string | null
|
|
206
|
+
channel_model?: Prisma.XOR<Prisma.Channel_modelsNullableScalarRelationFilter, Prisma.channel_modelsWhereInput> | null
|
|
207
|
+
channel_agent?: Prisma.XOR<Prisma.Channel_agentsNullableScalarRelationFilter, Prisma.channel_agentsWhereInput> | null
|
|
208
|
+
channel_worktree?: Prisma.XOR<Prisma.Channel_worktreesNullableScalarRelationFilter, Prisma.channel_worktreesWhereInput> | null
|
|
209
|
+
channel_verbosity?: Prisma.XOR<Prisma.Channel_verbosityNullableScalarRelationFilter, Prisma.channel_verbosityWhereInput> | null
|
|
210
|
+
channel_mention_mode?: Prisma.XOR<Prisma.Channel_mention_modeNullableScalarRelationFilter, Prisma.channel_mention_modeWhereInput> | null
|
|
211
|
+
scheduled_tasks?: Prisma.Scheduled_tasksListRelationFilter
|
|
212
|
+
}, "channel_id">
|
|
213
|
+
|
|
214
|
+
export type channel_directoriesOrderByWithAggregationInput = {
|
|
215
|
+
channel_id?: Prisma.SortOrder
|
|
216
|
+
directory?: Prisma.SortOrder
|
|
217
|
+
channel_type?: Prisma.SortOrder
|
|
218
|
+
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
219
|
+
_count?: Prisma.channel_directoriesCountOrderByAggregateInput
|
|
220
|
+
_max?: Prisma.channel_directoriesMaxOrderByAggregateInput
|
|
221
|
+
_min?: Prisma.channel_directoriesMinOrderByAggregateInput
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export type channel_directoriesScalarWhereWithAggregatesInput = {
|
|
225
|
+
AND?: Prisma.channel_directoriesScalarWhereWithAggregatesInput | Prisma.channel_directoriesScalarWhereWithAggregatesInput[]
|
|
226
|
+
OR?: Prisma.channel_directoriesScalarWhereWithAggregatesInput[]
|
|
227
|
+
NOT?: Prisma.channel_directoriesScalarWhereWithAggregatesInput | Prisma.channel_directoriesScalarWhereWithAggregatesInput[]
|
|
228
|
+
channel_id?: Prisma.StringWithAggregatesFilter<"channel_directories"> | string
|
|
229
|
+
directory?: Prisma.StringWithAggregatesFilter<"channel_directories"> | string
|
|
230
|
+
channel_type?: Prisma.EnumChannelTypeWithAggregatesFilter<"channel_directories"> | $Enums.ChannelType
|
|
231
|
+
created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"channel_directories"> | Date | string | null
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export type channel_directoriesCreateInput = {
|
|
235
|
+
channel_id: string
|
|
236
|
+
directory: string
|
|
237
|
+
channel_type: $Enums.ChannelType
|
|
238
|
+
created_at?: Date | string | null
|
|
239
|
+
channel_model?: Prisma.channel_modelsCreateNestedOneWithoutChannelInput
|
|
240
|
+
channel_agent?: Prisma.channel_agentsCreateNestedOneWithoutChannelInput
|
|
241
|
+
channel_worktree?: Prisma.channel_worktreesCreateNestedOneWithoutChannelInput
|
|
242
|
+
channel_verbosity?: Prisma.channel_verbosityCreateNestedOneWithoutChannelInput
|
|
243
|
+
channel_mention_mode?: Prisma.channel_mention_modeCreateNestedOneWithoutChannelInput
|
|
244
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutChannelInput
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export type channel_directoriesUncheckedCreateInput = {
|
|
248
|
+
channel_id: string
|
|
249
|
+
directory: string
|
|
250
|
+
channel_type: $Enums.ChannelType
|
|
251
|
+
created_at?: Date | string | null
|
|
252
|
+
channel_model?: Prisma.channel_modelsUncheckedCreateNestedOneWithoutChannelInput
|
|
253
|
+
channel_agent?: Prisma.channel_agentsUncheckedCreateNestedOneWithoutChannelInput
|
|
254
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedCreateNestedOneWithoutChannelInput
|
|
255
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedCreateNestedOneWithoutChannelInput
|
|
256
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedCreateNestedOneWithoutChannelInput
|
|
257
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutChannelInput
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export type channel_directoriesUpdateInput = {
|
|
261
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
262
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
263
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
264
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
265
|
+
channel_model?: Prisma.channel_modelsUpdateOneWithoutChannelNestedInput
|
|
266
|
+
channel_agent?: Prisma.channel_agentsUpdateOneWithoutChannelNestedInput
|
|
267
|
+
channel_worktree?: Prisma.channel_worktreesUpdateOneWithoutChannelNestedInput
|
|
268
|
+
channel_verbosity?: Prisma.channel_verbosityUpdateOneWithoutChannelNestedInput
|
|
269
|
+
channel_mention_mode?: Prisma.channel_mention_modeUpdateOneWithoutChannelNestedInput
|
|
270
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutChannelNestedInput
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export type channel_directoriesUncheckedUpdateInput = {
|
|
274
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
275
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
277
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
278
|
+
channel_model?: Prisma.channel_modelsUncheckedUpdateOneWithoutChannelNestedInput
|
|
279
|
+
channel_agent?: Prisma.channel_agentsUncheckedUpdateOneWithoutChannelNestedInput
|
|
280
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedUpdateOneWithoutChannelNestedInput
|
|
281
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedUpdateOneWithoutChannelNestedInput
|
|
282
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedUpdateOneWithoutChannelNestedInput
|
|
283
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutChannelNestedInput
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type channel_directoriesCreateManyInput = {
|
|
287
|
+
channel_id: string
|
|
288
|
+
directory: string
|
|
289
|
+
channel_type: $Enums.ChannelType
|
|
290
|
+
created_at?: Date | string | null
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export type channel_directoriesUpdateManyMutationInput = {
|
|
294
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
295
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
296
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
297
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type channel_directoriesUncheckedUpdateManyInput = {
|
|
301
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
302
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
303
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
304
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export type channel_directoriesCountOrderByAggregateInput = {
|
|
308
|
+
channel_id?: Prisma.SortOrder
|
|
309
|
+
directory?: Prisma.SortOrder
|
|
310
|
+
channel_type?: Prisma.SortOrder
|
|
311
|
+
created_at?: Prisma.SortOrder
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export type channel_directoriesMaxOrderByAggregateInput = {
|
|
315
|
+
channel_id?: Prisma.SortOrder
|
|
316
|
+
directory?: Prisma.SortOrder
|
|
317
|
+
channel_type?: Prisma.SortOrder
|
|
318
|
+
created_at?: Prisma.SortOrder
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export type channel_directoriesMinOrderByAggregateInput = {
|
|
322
|
+
channel_id?: Prisma.SortOrder
|
|
323
|
+
directory?: Prisma.SortOrder
|
|
324
|
+
channel_type?: Prisma.SortOrder
|
|
325
|
+
created_at?: Prisma.SortOrder
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type Channel_directoriesScalarRelationFilter = {
|
|
329
|
+
is?: Prisma.channel_directoriesWhereInput
|
|
330
|
+
isNot?: Prisma.channel_directoriesWhereInput
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type Channel_directoriesNullableScalarRelationFilter = {
|
|
334
|
+
is?: Prisma.channel_directoriesWhereInput | null
|
|
335
|
+
isNot?: Prisma.channel_directoriesWhereInput | null
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type EnumChannelTypeFieldUpdateOperationsInput = {
|
|
339
|
+
set?: $Enums.ChannelType
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type channel_directoriesCreateNestedOneWithoutChannel_modelInput = {
|
|
343
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_modelInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_modelInput>
|
|
344
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_modelInput
|
|
345
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export type channel_directoriesUpdateOneRequiredWithoutChannel_modelNestedInput = {
|
|
349
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_modelInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_modelInput>
|
|
350
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_modelInput
|
|
351
|
+
upsert?: Prisma.channel_directoriesUpsertWithoutChannel_modelInput
|
|
352
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
353
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.channel_directoriesUpdateToOneWithWhereWithoutChannel_modelInput, Prisma.channel_directoriesUpdateWithoutChannel_modelInput>, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_modelInput>
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type channel_directoriesCreateNestedOneWithoutChannel_agentInput = {
|
|
357
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_agentInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_agentInput>
|
|
358
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_agentInput
|
|
359
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export type channel_directoriesUpdateOneRequiredWithoutChannel_agentNestedInput = {
|
|
363
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_agentInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_agentInput>
|
|
364
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_agentInput
|
|
365
|
+
upsert?: Prisma.channel_directoriesUpsertWithoutChannel_agentInput
|
|
366
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
367
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.channel_directoriesUpdateToOneWithWhereWithoutChannel_agentInput, Prisma.channel_directoriesUpdateWithoutChannel_agentInput>, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_agentInput>
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type channel_directoriesCreateNestedOneWithoutChannel_worktreeInput = {
|
|
371
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_worktreeInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_worktreeInput>
|
|
372
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_worktreeInput
|
|
373
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export type channel_directoriesUpdateOneRequiredWithoutChannel_worktreeNestedInput = {
|
|
377
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_worktreeInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_worktreeInput>
|
|
378
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_worktreeInput
|
|
379
|
+
upsert?: Prisma.channel_directoriesUpsertWithoutChannel_worktreeInput
|
|
380
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
381
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.channel_directoriesUpdateToOneWithWhereWithoutChannel_worktreeInput, Prisma.channel_directoriesUpdateWithoutChannel_worktreeInput>, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_worktreeInput>
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export type channel_directoriesCreateNestedOneWithoutChannel_verbosityInput = {
|
|
385
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_verbosityInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_verbosityInput>
|
|
386
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_verbosityInput
|
|
387
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export type channel_directoriesUpdateOneRequiredWithoutChannel_verbosityNestedInput = {
|
|
391
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_verbosityInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_verbosityInput>
|
|
392
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_verbosityInput
|
|
393
|
+
upsert?: Prisma.channel_directoriesUpsertWithoutChannel_verbosityInput
|
|
394
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
395
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.channel_directoriesUpdateToOneWithWhereWithoutChannel_verbosityInput, Prisma.channel_directoriesUpdateWithoutChannel_verbosityInput>, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_verbosityInput>
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export type channel_directoriesCreateNestedOneWithoutChannel_mention_modeInput = {
|
|
399
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_mention_modeInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_mention_modeInput>
|
|
400
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_mention_modeInput
|
|
401
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export type channel_directoriesUpdateOneRequiredWithoutChannel_mention_modeNestedInput = {
|
|
405
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_mention_modeInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_mention_modeInput>
|
|
406
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutChannel_mention_modeInput
|
|
407
|
+
upsert?: Prisma.channel_directoriesUpsertWithoutChannel_mention_modeInput
|
|
408
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
409
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.channel_directoriesUpdateToOneWithWhereWithoutChannel_mention_modeInput, Prisma.channel_directoriesUpdateWithoutChannel_mention_modeInput>, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_mention_modeInput>
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export type channel_directoriesCreateNestedOneWithoutScheduled_tasksInput = {
|
|
413
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutScheduled_tasksInput, Prisma.channel_directoriesUncheckedCreateWithoutScheduled_tasksInput>
|
|
414
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutScheduled_tasksInput
|
|
415
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
export type channel_directoriesUpdateOneWithoutScheduled_tasksNestedInput = {
|
|
419
|
+
create?: Prisma.XOR<Prisma.channel_directoriesCreateWithoutScheduled_tasksInput, Prisma.channel_directoriesUncheckedCreateWithoutScheduled_tasksInput>
|
|
420
|
+
connectOrCreate?: Prisma.channel_directoriesCreateOrConnectWithoutScheduled_tasksInput
|
|
421
|
+
upsert?: Prisma.channel_directoriesUpsertWithoutScheduled_tasksInput
|
|
422
|
+
disconnect?: Prisma.channel_directoriesWhereInput | boolean
|
|
423
|
+
delete?: Prisma.channel_directoriesWhereInput | boolean
|
|
424
|
+
connect?: Prisma.channel_directoriesWhereUniqueInput
|
|
425
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.channel_directoriesUpdateToOneWithWhereWithoutScheduled_tasksInput, Prisma.channel_directoriesUpdateWithoutScheduled_tasksInput>, Prisma.channel_directoriesUncheckedUpdateWithoutScheduled_tasksInput>
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export type channel_directoriesCreateWithoutChannel_modelInput = {
|
|
429
|
+
channel_id: string
|
|
430
|
+
directory: string
|
|
431
|
+
channel_type: $Enums.ChannelType
|
|
432
|
+
created_at?: Date | string | null
|
|
433
|
+
channel_agent?: Prisma.channel_agentsCreateNestedOneWithoutChannelInput
|
|
434
|
+
channel_worktree?: Prisma.channel_worktreesCreateNestedOneWithoutChannelInput
|
|
435
|
+
channel_verbosity?: Prisma.channel_verbosityCreateNestedOneWithoutChannelInput
|
|
436
|
+
channel_mention_mode?: Prisma.channel_mention_modeCreateNestedOneWithoutChannelInput
|
|
437
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutChannelInput
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export type channel_directoriesUncheckedCreateWithoutChannel_modelInput = {
|
|
441
|
+
channel_id: string
|
|
442
|
+
directory: string
|
|
443
|
+
channel_type: $Enums.ChannelType
|
|
444
|
+
created_at?: Date | string | null
|
|
445
|
+
channel_agent?: Prisma.channel_agentsUncheckedCreateNestedOneWithoutChannelInput
|
|
446
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedCreateNestedOneWithoutChannelInput
|
|
447
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedCreateNestedOneWithoutChannelInput
|
|
448
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedCreateNestedOneWithoutChannelInput
|
|
449
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutChannelInput
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export type channel_directoriesCreateOrConnectWithoutChannel_modelInput = {
|
|
453
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
454
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_modelInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_modelInput>
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export type channel_directoriesUpsertWithoutChannel_modelInput = {
|
|
458
|
+
update: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_modelInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_modelInput>
|
|
459
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_modelInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_modelInput>
|
|
460
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export type channel_directoriesUpdateToOneWithWhereWithoutChannel_modelInput = {
|
|
464
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
465
|
+
data: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_modelInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_modelInput>
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export type channel_directoriesUpdateWithoutChannel_modelInput = {
|
|
469
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
470
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
471
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
472
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
473
|
+
channel_agent?: Prisma.channel_agentsUpdateOneWithoutChannelNestedInput
|
|
474
|
+
channel_worktree?: Prisma.channel_worktreesUpdateOneWithoutChannelNestedInput
|
|
475
|
+
channel_verbosity?: Prisma.channel_verbosityUpdateOneWithoutChannelNestedInput
|
|
476
|
+
channel_mention_mode?: Prisma.channel_mention_modeUpdateOneWithoutChannelNestedInput
|
|
477
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutChannelNestedInput
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export type channel_directoriesUncheckedUpdateWithoutChannel_modelInput = {
|
|
481
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
482
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
483
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
484
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
485
|
+
channel_agent?: Prisma.channel_agentsUncheckedUpdateOneWithoutChannelNestedInput
|
|
486
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedUpdateOneWithoutChannelNestedInput
|
|
487
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedUpdateOneWithoutChannelNestedInput
|
|
488
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedUpdateOneWithoutChannelNestedInput
|
|
489
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutChannelNestedInput
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export type channel_directoriesCreateWithoutChannel_agentInput = {
|
|
493
|
+
channel_id: string
|
|
494
|
+
directory: string
|
|
495
|
+
channel_type: $Enums.ChannelType
|
|
496
|
+
created_at?: Date | string | null
|
|
497
|
+
channel_model?: Prisma.channel_modelsCreateNestedOneWithoutChannelInput
|
|
498
|
+
channel_worktree?: Prisma.channel_worktreesCreateNestedOneWithoutChannelInput
|
|
499
|
+
channel_verbosity?: Prisma.channel_verbosityCreateNestedOneWithoutChannelInput
|
|
500
|
+
channel_mention_mode?: Prisma.channel_mention_modeCreateNestedOneWithoutChannelInput
|
|
501
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutChannelInput
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export type channel_directoriesUncheckedCreateWithoutChannel_agentInput = {
|
|
505
|
+
channel_id: string
|
|
506
|
+
directory: string
|
|
507
|
+
channel_type: $Enums.ChannelType
|
|
508
|
+
created_at?: Date | string | null
|
|
509
|
+
channel_model?: Prisma.channel_modelsUncheckedCreateNestedOneWithoutChannelInput
|
|
510
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedCreateNestedOneWithoutChannelInput
|
|
511
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedCreateNestedOneWithoutChannelInput
|
|
512
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedCreateNestedOneWithoutChannelInput
|
|
513
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutChannelInput
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export type channel_directoriesCreateOrConnectWithoutChannel_agentInput = {
|
|
517
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
518
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_agentInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_agentInput>
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export type channel_directoriesUpsertWithoutChannel_agentInput = {
|
|
522
|
+
update: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_agentInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_agentInput>
|
|
523
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_agentInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_agentInput>
|
|
524
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export type channel_directoriesUpdateToOneWithWhereWithoutChannel_agentInput = {
|
|
528
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
529
|
+
data: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_agentInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_agentInput>
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export type channel_directoriesUpdateWithoutChannel_agentInput = {
|
|
533
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
534
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
535
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
536
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
537
|
+
channel_model?: Prisma.channel_modelsUpdateOneWithoutChannelNestedInput
|
|
538
|
+
channel_worktree?: Prisma.channel_worktreesUpdateOneWithoutChannelNestedInput
|
|
539
|
+
channel_verbosity?: Prisma.channel_verbosityUpdateOneWithoutChannelNestedInput
|
|
540
|
+
channel_mention_mode?: Prisma.channel_mention_modeUpdateOneWithoutChannelNestedInput
|
|
541
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutChannelNestedInput
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export type channel_directoriesUncheckedUpdateWithoutChannel_agentInput = {
|
|
545
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
546
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
547
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
548
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
549
|
+
channel_model?: Prisma.channel_modelsUncheckedUpdateOneWithoutChannelNestedInput
|
|
550
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedUpdateOneWithoutChannelNestedInput
|
|
551
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedUpdateOneWithoutChannelNestedInput
|
|
552
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedUpdateOneWithoutChannelNestedInput
|
|
553
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutChannelNestedInput
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type channel_directoriesCreateWithoutChannel_worktreeInput = {
|
|
557
|
+
channel_id: string
|
|
558
|
+
directory: string
|
|
559
|
+
channel_type: $Enums.ChannelType
|
|
560
|
+
created_at?: Date | string | null
|
|
561
|
+
channel_model?: Prisma.channel_modelsCreateNestedOneWithoutChannelInput
|
|
562
|
+
channel_agent?: Prisma.channel_agentsCreateNestedOneWithoutChannelInput
|
|
563
|
+
channel_verbosity?: Prisma.channel_verbosityCreateNestedOneWithoutChannelInput
|
|
564
|
+
channel_mention_mode?: Prisma.channel_mention_modeCreateNestedOneWithoutChannelInput
|
|
565
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutChannelInput
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type channel_directoriesUncheckedCreateWithoutChannel_worktreeInput = {
|
|
569
|
+
channel_id: string
|
|
570
|
+
directory: string
|
|
571
|
+
channel_type: $Enums.ChannelType
|
|
572
|
+
created_at?: Date | string | null
|
|
573
|
+
channel_model?: Prisma.channel_modelsUncheckedCreateNestedOneWithoutChannelInput
|
|
574
|
+
channel_agent?: Prisma.channel_agentsUncheckedCreateNestedOneWithoutChannelInput
|
|
575
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedCreateNestedOneWithoutChannelInput
|
|
576
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedCreateNestedOneWithoutChannelInput
|
|
577
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutChannelInput
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export type channel_directoriesCreateOrConnectWithoutChannel_worktreeInput = {
|
|
581
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
582
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_worktreeInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_worktreeInput>
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export type channel_directoriesUpsertWithoutChannel_worktreeInput = {
|
|
586
|
+
update: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_worktreeInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_worktreeInput>
|
|
587
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_worktreeInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_worktreeInput>
|
|
588
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
export type channel_directoriesUpdateToOneWithWhereWithoutChannel_worktreeInput = {
|
|
592
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
593
|
+
data: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_worktreeInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_worktreeInput>
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
export type channel_directoriesUpdateWithoutChannel_worktreeInput = {
|
|
597
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
598
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
599
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
600
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
601
|
+
channel_model?: Prisma.channel_modelsUpdateOneWithoutChannelNestedInput
|
|
602
|
+
channel_agent?: Prisma.channel_agentsUpdateOneWithoutChannelNestedInput
|
|
603
|
+
channel_verbosity?: Prisma.channel_verbosityUpdateOneWithoutChannelNestedInput
|
|
604
|
+
channel_mention_mode?: Prisma.channel_mention_modeUpdateOneWithoutChannelNestedInput
|
|
605
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutChannelNestedInput
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export type channel_directoriesUncheckedUpdateWithoutChannel_worktreeInput = {
|
|
609
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
610
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
611
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
612
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
613
|
+
channel_model?: Prisma.channel_modelsUncheckedUpdateOneWithoutChannelNestedInput
|
|
614
|
+
channel_agent?: Prisma.channel_agentsUncheckedUpdateOneWithoutChannelNestedInput
|
|
615
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedUpdateOneWithoutChannelNestedInput
|
|
616
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedUpdateOneWithoutChannelNestedInput
|
|
617
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutChannelNestedInput
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export type channel_directoriesCreateWithoutChannel_verbosityInput = {
|
|
621
|
+
channel_id: string
|
|
622
|
+
directory: string
|
|
623
|
+
channel_type: $Enums.ChannelType
|
|
624
|
+
created_at?: Date | string | null
|
|
625
|
+
channel_model?: Prisma.channel_modelsCreateNestedOneWithoutChannelInput
|
|
626
|
+
channel_agent?: Prisma.channel_agentsCreateNestedOneWithoutChannelInput
|
|
627
|
+
channel_worktree?: Prisma.channel_worktreesCreateNestedOneWithoutChannelInput
|
|
628
|
+
channel_mention_mode?: Prisma.channel_mention_modeCreateNestedOneWithoutChannelInput
|
|
629
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutChannelInput
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
export type channel_directoriesUncheckedCreateWithoutChannel_verbosityInput = {
|
|
633
|
+
channel_id: string
|
|
634
|
+
directory: string
|
|
635
|
+
channel_type: $Enums.ChannelType
|
|
636
|
+
created_at?: Date | string | null
|
|
637
|
+
channel_model?: Prisma.channel_modelsUncheckedCreateNestedOneWithoutChannelInput
|
|
638
|
+
channel_agent?: Prisma.channel_agentsUncheckedCreateNestedOneWithoutChannelInput
|
|
639
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedCreateNestedOneWithoutChannelInput
|
|
640
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedCreateNestedOneWithoutChannelInput
|
|
641
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutChannelInput
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
export type channel_directoriesCreateOrConnectWithoutChannel_verbosityInput = {
|
|
645
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
646
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_verbosityInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_verbosityInput>
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export type channel_directoriesUpsertWithoutChannel_verbosityInput = {
|
|
650
|
+
update: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_verbosityInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_verbosityInput>
|
|
651
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_verbosityInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_verbosityInput>
|
|
652
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export type channel_directoriesUpdateToOneWithWhereWithoutChannel_verbosityInput = {
|
|
656
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
657
|
+
data: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_verbosityInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_verbosityInput>
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export type channel_directoriesUpdateWithoutChannel_verbosityInput = {
|
|
661
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
662
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
663
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
664
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
665
|
+
channel_model?: Prisma.channel_modelsUpdateOneWithoutChannelNestedInput
|
|
666
|
+
channel_agent?: Prisma.channel_agentsUpdateOneWithoutChannelNestedInput
|
|
667
|
+
channel_worktree?: Prisma.channel_worktreesUpdateOneWithoutChannelNestedInput
|
|
668
|
+
channel_mention_mode?: Prisma.channel_mention_modeUpdateOneWithoutChannelNestedInput
|
|
669
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutChannelNestedInput
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export type channel_directoriesUncheckedUpdateWithoutChannel_verbosityInput = {
|
|
673
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
674
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
675
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
676
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
677
|
+
channel_model?: Prisma.channel_modelsUncheckedUpdateOneWithoutChannelNestedInput
|
|
678
|
+
channel_agent?: Prisma.channel_agentsUncheckedUpdateOneWithoutChannelNestedInput
|
|
679
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedUpdateOneWithoutChannelNestedInput
|
|
680
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedUpdateOneWithoutChannelNestedInput
|
|
681
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutChannelNestedInput
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
export type channel_directoriesCreateWithoutChannel_mention_modeInput = {
|
|
685
|
+
channel_id: string
|
|
686
|
+
directory: string
|
|
687
|
+
channel_type: $Enums.ChannelType
|
|
688
|
+
created_at?: Date | string | null
|
|
689
|
+
channel_model?: Prisma.channel_modelsCreateNestedOneWithoutChannelInput
|
|
690
|
+
channel_agent?: Prisma.channel_agentsCreateNestedOneWithoutChannelInput
|
|
691
|
+
channel_worktree?: Prisma.channel_worktreesCreateNestedOneWithoutChannelInput
|
|
692
|
+
channel_verbosity?: Prisma.channel_verbosityCreateNestedOneWithoutChannelInput
|
|
693
|
+
scheduled_tasks?: Prisma.scheduled_tasksCreateNestedManyWithoutChannelInput
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export type channel_directoriesUncheckedCreateWithoutChannel_mention_modeInput = {
|
|
697
|
+
channel_id: string
|
|
698
|
+
directory: string
|
|
699
|
+
channel_type: $Enums.ChannelType
|
|
700
|
+
created_at?: Date | string | null
|
|
701
|
+
channel_model?: Prisma.channel_modelsUncheckedCreateNestedOneWithoutChannelInput
|
|
702
|
+
channel_agent?: Prisma.channel_agentsUncheckedCreateNestedOneWithoutChannelInput
|
|
703
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedCreateNestedOneWithoutChannelInput
|
|
704
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedCreateNestedOneWithoutChannelInput
|
|
705
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedCreateNestedManyWithoutChannelInput
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
export type channel_directoriesCreateOrConnectWithoutChannel_mention_modeInput = {
|
|
709
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
710
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_mention_modeInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_mention_modeInput>
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export type channel_directoriesUpsertWithoutChannel_mention_modeInput = {
|
|
714
|
+
update: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_mention_modeInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_mention_modeInput>
|
|
715
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutChannel_mention_modeInput, Prisma.channel_directoriesUncheckedCreateWithoutChannel_mention_modeInput>
|
|
716
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
export type channel_directoriesUpdateToOneWithWhereWithoutChannel_mention_modeInput = {
|
|
720
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
721
|
+
data: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutChannel_mention_modeInput, Prisma.channel_directoriesUncheckedUpdateWithoutChannel_mention_modeInput>
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
export type channel_directoriesUpdateWithoutChannel_mention_modeInput = {
|
|
725
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
726
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
727
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
728
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
729
|
+
channel_model?: Prisma.channel_modelsUpdateOneWithoutChannelNestedInput
|
|
730
|
+
channel_agent?: Prisma.channel_agentsUpdateOneWithoutChannelNestedInput
|
|
731
|
+
channel_worktree?: Prisma.channel_worktreesUpdateOneWithoutChannelNestedInput
|
|
732
|
+
channel_verbosity?: Prisma.channel_verbosityUpdateOneWithoutChannelNestedInput
|
|
733
|
+
scheduled_tasks?: Prisma.scheduled_tasksUpdateManyWithoutChannelNestedInput
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type channel_directoriesUncheckedUpdateWithoutChannel_mention_modeInput = {
|
|
737
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
738
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
739
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
740
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
741
|
+
channel_model?: Prisma.channel_modelsUncheckedUpdateOneWithoutChannelNestedInput
|
|
742
|
+
channel_agent?: Prisma.channel_agentsUncheckedUpdateOneWithoutChannelNestedInput
|
|
743
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedUpdateOneWithoutChannelNestedInput
|
|
744
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedUpdateOneWithoutChannelNestedInput
|
|
745
|
+
scheduled_tasks?: Prisma.scheduled_tasksUncheckedUpdateManyWithoutChannelNestedInput
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export type channel_directoriesCreateWithoutScheduled_tasksInput = {
|
|
749
|
+
channel_id: string
|
|
750
|
+
directory: string
|
|
751
|
+
channel_type: $Enums.ChannelType
|
|
752
|
+
created_at?: Date | string | null
|
|
753
|
+
channel_model?: Prisma.channel_modelsCreateNestedOneWithoutChannelInput
|
|
754
|
+
channel_agent?: Prisma.channel_agentsCreateNestedOneWithoutChannelInput
|
|
755
|
+
channel_worktree?: Prisma.channel_worktreesCreateNestedOneWithoutChannelInput
|
|
756
|
+
channel_verbosity?: Prisma.channel_verbosityCreateNestedOneWithoutChannelInput
|
|
757
|
+
channel_mention_mode?: Prisma.channel_mention_modeCreateNestedOneWithoutChannelInput
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export type channel_directoriesUncheckedCreateWithoutScheduled_tasksInput = {
|
|
761
|
+
channel_id: string
|
|
762
|
+
directory: string
|
|
763
|
+
channel_type: $Enums.ChannelType
|
|
764
|
+
created_at?: Date | string | null
|
|
765
|
+
channel_model?: Prisma.channel_modelsUncheckedCreateNestedOneWithoutChannelInput
|
|
766
|
+
channel_agent?: Prisma.channel_agentsUncheckedCreateNestedOneWithoutChannelInput
|
|
767
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedCreateNestedOneWithoutChannelInput
|
|
768
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedCreateNestedOneWithoutChannelInput
|
|
769
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedCreateNestedOneWithoutChannelInput
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
export type channel_directoriesCreateOrConnectWithoutScheduled_tasksInput = {
|
|
773
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
774
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutScheduled_tasksInput, Prisma.channel_directoriesUncheckedCreateWithoutScheduled_tasksInput>
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export type channel_directoriesUpsertWithoutScheduled_tasksInput = {
|
|
778
|
+
update: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutScheduled_tasksInput, Prisma.channel_directoriesUncheckedUpdateWithoutScheduled_tasksInput>
|
|
779
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateWithoutScheduled_tasksInput, Prisma.channel_directoriesUncheckedCreateWithoutScheduled_tasksInput>
|
|
780
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
export type channel_directoriesUpdateToOneWithWhereWithoutScheduled_tasksInput = {
|
|
784
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
785
|
+
data: Prisma.XOR<Prisma.channel_directoriesUpdateWithoutScheduled_tasksInput, Prisma.channel_directoriesUncheckedUpdateWithoutScheduled_tasksInput>
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export type channel_directoriesUpdateWithoutScheduled_tasksInput = {
|
|
789
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
790
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
791
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
792
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
793
|
+
channel_model?: Prisma.channel_modelsUpdateOneWithoutChannelNestedInput
|
|
794
|
+
channel_agent?: Prisma.channel_agentsUpdateOneWithoutChannelNestedInput
|
|
795
|
+
channel_worktree?: Prisma.channel_worktreesUpdateOneWithoutChannelNestedInput
|
|
796
|
+
channel_verbosity?: Prisma.channel_verbosityUpdateOneWithoutChannelNestedInput
|
|
797
|
+
channel_mention_mode?: Prisma.channel_mention_modeUpdateOneWithoutChannelNestedInput
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export type channel_directoriesUncheckedUpdateWithoutScheduled_tasksInput = {
|
|
801
|
+
channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
802
|
+
directory?: Prisma.StringFieldUpdateOperationsInput | string
|
|
803
|
+
channel_type?: Prisma.EnumChannelTypeFieldUpdateOperationsInput | $Enums.ChannelType
|
|
804
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
805
|
+
channel_model?: Prisma.channel_modelsUncheckedUpdateOneWithoutChannelNestedInput
|
|
806
|
+
channel_agent?: Prisma.channel_agentsUncheckedUpdateOneWithoutChannelNestedInput
|
|
807
|
+
channel_worktree?: Prisma.channel_worktreesUncheckedUpdateOneWithoutChannelNestedInput
|
|
808
|
+
channel_verbosity?: Prisma.channel_verbosityUncheckedUpdateOneWithoutChannelNestedInput
|
|
809
|
+
channel_mention_mode?: Prisma.channel_mention_modeUncheckedUpdateOneWithoutChannelNestedInput
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Count Type Channel_directoriesCountOutputType
|
|
815
|
+
*/
|
|
816
|
+
|
|
817
|
+
export type Channel_directoriesCountOutputType = {
|
|
818
|
+
scheduled_tasks: number
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
export type Channel_directoriesCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
822
|
+
scheduled_tasks?: boolean | Channel_directoriesCountOutputTypeCountScheduled_tasksArgs
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Channel_directoriesCountOutputType without action
|
|
827
|
+
*/
|
|
828
|
+
export type Channel_directoriesCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
829
|
+
/**
|
|
830
|
+
* Select specific fields to fetch from the Channel_directoriesCountOutputType
|
|
831
|
+
*/
|
|
832
|
+
select?: Prisma.Channel_directoriesCountOutputTypeSelect<ExtArgs> | null
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Channel_directoriesCountOutputType without action
|
|
837
|
+
*/
|
|
838
|
+
export type Channel_directoriesCountOutputTypeCountScheduled_tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
839
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
export type channel_directoriesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
844
|
+
channel_id?: boolean
|
|
845
|
+
directory?: boolean
|
|
846
|
+
channel_type?: boolean
|
|
847
|
+
created_at?: boolean
|
|
848
|
+
channel_model?: boolean | Prisma.channel_directories$channel_modelArgs<ExtArgs>
|
|
849
|
+
channel_agent?: boolean | Prisma.channel_directories$channel_agentArgs<ExtArgs>
|
|
850
|
+
channel_worktree?: boolean | Prisma.channel_directories$channel_worktreeArgs<ExtArgs>
|
|
851
|
+
channel_verbosity?: boolean | Prisma.channel_directories$channel_verbosityArgs<ExtArgs>
|
|
852
|
+
channel_mention_mode?: boolean | Prisma.channel_directories$channel_mention_modeArgs<ExtArgs>
|
|
853
|
+
scheduled_tasks?: boolean | Prisma.channel_directories$scheduled_tasksArgs<ExtArgs>
|
|
854
|
+
_count?: boolean | Prisma.Channel_directoriesCountOutputTypeDefaultArgs<ExtArgs>
|
|
855
|
+
}, ExtArgs["result"]["channel_directories"]>
|
|
856
|
+
|
|
857
|
+
export type channel_directoriesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
858
|
+
channel_id?: boolean
|
|
859
|
+
directory?: boolean
|
|
860
|
+
channel_type?: boolean
|
|
861
|
+
created_at?: boolean
|
|
862
|
+
}, ExtArgs["result"]["channel_directories"]>
|
|
863
|
+
|
|
864
|
+
export type channel_directoriesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
865
|
+
channel_id?: boolean
|
|
866
|
+
directory?: boolean
|
|
867
|
+
channel_type?: boolean
|
|
868
|
+
created_at?: boolean
|
|
869
|
+
}, ExtArgs["result"]["channel_directories"]>
|
|
870
|
+
|
|
871
|
+
export type channel_directoriesSelectScalar = {
|
|
872
|
+
channel_id?: boolean
|
|
873
|
+
directory?: boolean
|
|
874
|
+
channel_type?: boolean
|
|
875
|
+
created_at?: boolean
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
export type channel_directoriesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"channel_id" | "directory" | "channel_type" | "created_at", ExtArgs["result"]["channel_directories"]>
|
|
879
|
+
export type channel_directoriesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
880
|
+
channel_model?: boolean | Prisma.channel_directories$channel_modelArgs<ExtArgs>
|
|
881
|
+
channel_agent?: boolean | Prisma.channel_directories$channel_agentArgs<ExtArgs>
|
|
882
|
+
channel_worktree?: boolean | Prisma.channel_directories$channel_worktreeArgs<ExtArgs>
|
|
883
|
+
channel_verbosity?: boolean | Prisma.channel_directories$channel_verbosityArgs<ExtArgs>
|
|
884
|
+
channel_mention_mode?: boolean | Prisma.channel_directories$channel_mention_modeArgs<ExtArgs>
|
|
885
|
+
scheduled_tasks?: boolean | Prisma.channel_directories$scheduled_tasksArgs<ExtArgs>
|
|
886
|
+
_count?: boolean | Prisma.Channel_directoriesCountOutputTypeDefaultArgs<ExtArgs>
|
|
887
|
+
}
|
|
888
|
+
export type channel_directoriesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
889
|
+
export type channel_directoriesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
890
|
+
|
|
891
|
+
export type $channel_directoriesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
892
|
+
name: "channel_directories"
|
|
893
|
+
objects: {
|
|
894
|
+
channel_model: Prisma.$channel_modelsPayload<ExtArgs> | null
|
|
895
|
+
channel_agent: Prisma.$channel_agentsPayload<ExtArgs> | null
|
|
896
|
+
channel_worktree: Prisma.$channel_worktreesPayload<ExtArgs> | null
|
|
897
|
+
channel_verbosity: Prisma.$channel_verbosityPayload<ExtArgs> | null
|
|
898
|
+
channel_mention_mode: Prisma.$channel_mention_modePayload<ExtArgs> | null
|
|
899
|
+
scheduled_tasks: Prisma.$scheduled_tasksPayload<ExtArgs>[]
|
|
900
|
+
}
|
|
901
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
902
|
+
channel_id: string
|
|
903
|
+
directory: string
|
|
904
|
+
channel_type: $Enums.ChannelType
|
|
905
|
+
created_at: Date | null
|
|
906
|
+
}, ExtArgs["result"]["channel_directories"]>
|
|
907
|
+
composites: {}
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export type channel_directoriesGetPayload<S extends boolean | null | undefined | channel_directoriesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload, S>
|
|
911
|
+
|
|
912
|
+
export type channel_directoriesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
913
|
+
Omit<channel_directoriesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
914
|
+
select?: Channel_directoriesCountAggregateInputType | true
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
export interface channel_directoriesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
918
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['channel_directories'], meta: { name: 'channel_directories' } }
|
|
919
|
+
/**
|
|
920
|
+
* Find zero or one Channel_directories that matches the filter.
|
|
921
|
+
* @param {channel_directoriesFindUniqueArgs} args - Arguments to find a Channel_directories
|
|
922
|
+
* @example
|
|
923
|
+
* // Get one Channel_directories
|
|
924
|
+
* const channel_directories = await prisma.channel_directories.findUnique({
|
|
925
|
+
* where: {
|
|
926
|
+
* // ... provide filter here
|
|
927
|
+
* }
|
|
928
|
+
* })
|
|
929
|
+
*/
|
|
930
|
+
findUnique<T extends channel_directoriesFindUniqueArgs>(args: Prisma.SelectSubset<T, channel_directoriesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Find one Channel_directories that matches the filter or throw an error with `error.code='P2025'`
|
|
934
|
+
* if no matches were found.
|
|
935
|
+
* @param {channel_directoriesFindUniqueOrThrowArgs} args - Arguments to find a Channel_directories
|
|
936
|
+
* @example
|
|
937
|
+
* // Get one Channel_directories
|
|
938
|
+
* const channel_directories = await prisma.channel_directories.findUniqueOrThrow({
|
|
939
|
+
* where: {
|
|
940
|
+
* // ... provide filter here
|
|
941
|
+
* }
|
|
942
|
+
* })
|
|
943
|
+
*/
|
|
944
|
+
findUniqueOrThrow<T extends channel_directoriesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, channel_directoriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Find the first Channel_directories that matches the filter.
|
|
948
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
949
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
950
|
+
* @param {channel_directoriesFindFirstArgs} args - Arguments to find a Channel_directories
|
|
951
|
+
* @example
|
|
952
|
+
* // Get one Channel_directories
|
|
953
|
+
* const channel_directories = await prisma.channel_directories.findFirst({
|
|
954
|
+
* where: {
|
|
955
|
+
* // ... provide filter here
|
|
956
|
+
* }
|
|
957
|
+
* })
|
|
958
|
+
*/
|
|
959
|
+
findFirst<T extends channel_directoriesFindFirstArgs>(args?: Prisma.SelectSubset<T, channel_directoriesFindFirstArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* Find the first Channel_directories that matches the filter or
|
|
963
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
964
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
965
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
966
|
+
* @param {channel_directoriesFindFirstOrThrowArgs} args - Arguments to find a Channel_directories
|
|
967
|
+
* @example
|
|
968
|
+
* // Get one Channel_directories
|
|
969
|
+
* const channel_directories = await prisma.channel_directories.findFirstOrThrow({
|
|
970
|
+
* where: {
|
|
971
|
+
* // ... provide filter here
|
|
972
|
+
* }
|
|
973
|
+
* })
|
|
974
|
+
*/
|
|
975
|
+
findFirstOrThrow<T extends channel_directoriesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, channel_directoriesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Find zero or more Channel_directories that matches the filter.
|
|
979
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
980
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
981
|
+
* @param {channel_directoriesFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
982
|
+
* @example
|
|
983
|
+
* // Get all Channel_directories
|
|
984
|
+
* const channel_directories = await prisma.channel_directories.findMany()
|
|
985
|
+
*
|
|
986
|
+
* // Get first 10 Channel_directories
|
|
987
|
+
* const channel_directories = await prisma.channel_directories.findMany({ take: 10 })
|
|
988
|
+
*
|
|
989
|
+
* // Only select the `channel_id`
|
|
990
|
+
* const channel_directoriesWithChannel_idOnly = await prisma.channel_directories.findMany({ select: { channel_id: true } })
|
|
991
|
+
*
|
|
992
|
+
*/
|
|
993
|
+
findMany<T extends channel_directoriesFindManyArgs>(args?: Prisma.SelectSubset<T, channel_directoriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* Create a Channel_directories.
|
|
997
|
+
* @param {channel_directoriesCreateArgs} args - Arguments to create a Channel_directories.
|
|
998
|
+
* @example
|
|
999
|
+
* // Create one Channel_directories
|
|
1000
|
+
* const Channel_directories = await prisma.channel_directories.create({
|
|
1001
|
+
* data: {
|
|
1002
|
+
* // ... data to create a Channel_directories
|
|
1003
|
+
* }
|
|
1004
|
+
* })
|
|
1005
|
+
*
|
|
1006
|
+
*/
|
|
1007
|
+
create<T extends channel_directoriesCreateArgs>(args: Prisma.SelectSubset<T, channel_directoriesCreateArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* Create many Channel_directories.
|
|
1011
|
+
* @param {channel_directoriesCreateManyArgs} args - Arguments to create many Channel_directories.
|
|
1012
|
+
* @example
|
|
1013
|
+
* // Create many Channel_directories
|
|
1014
|
+
* const channel_directories = await prisma.channel_directories.createMany({
|
|
1015
|
+
* data: [
|
|
1016
|
+
* // ... provide data here
|
|
1017
|
+
* ]
|
|
1018
|
+
* })
|
|
1019
|
+
*
|
|
1020
|
+
*/
|
|
1021
|
+
createMany<T extends channel_directoriesCreateManyArgs>(args?: Prisma.SelectSubset<T, channel_directoriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* Create many Channel_directories and returns the data saved in the database.
|
|
1025
|
+
* @param {channel_directoriesCreateManyAndReturnArgs} args - Arguments to create many Channel_directories.
|
|
1026
|
+
* @example
|
|
1027
|
+
* // Create many Channel_directories
|
|
1028
|
+
* const channel_directories = await prisma.channel_directories.createManyAndReturn({
|
|
1029
|
+
* data: [
|
|
1030
|
+
* // ... provide data here
|
|
1031
|
+
* ]
|
|
1032
|
+
* })
|
|
1033
|
+
*
|
|
1034
|
+
* // Create many Channel_directories and only return the `channel_id`
|
|
1035
|
+
* const channel_directoriesWithChannel_idOnly = await prisma.channel_directories.createManyAndReturn({
|
|
1036
|
+
* select: { channel_id: true },
|
|
1037
|
+
* data: [
|
|
1038
|
+
* // ... provide data here
|
|
1039
|
+
* ]
|
|
1040
|
+
* })
|
|
1041
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1042
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1043
|
+
*
|
|
1044
|
+
*/
|
|
1045
|
+
createManyAndReturn<T extends channel_directoriesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, channel_directoriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Delete a Channel_directories.
|
|
1049
|
+
* @param {channel_directoriesDeleteArgs} args - Arguments to delete one Channel_directories.
|
|
1050
|
+
* @example
|
|
1051
|
+
* // Delete one Channel_directories
|
|
1052
|
+
* const Channel_directories = await prisma.channel_directories.delete({
|
|
1053
|
+
* where: {
|
|
1054
|
+
* // ... filter to delete one Channel_directories
|
|
1055
|
+
* }
|
|
1056
|
+
* })
|
|
1057
|
+
*
|
|
1058
|
+
*/
|
|
1059
|
+
delete<T extends channel_directoriesDeleteArgs>(args: Prisma.SelectSubset<T, channel_directoriesDeleteArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* Update one Channel_directories.
|
|
1063
|
+
* @param {channel_directoriesUpdateArgs} args - Arguments to update one Channel_directories.
|
|
1064
|
+
* @example
|
|
1065
|
+
* // Update one Channel_directories
|
|
1066
|
+
* const channel_directories = await prisma.channel_directories.update({
|
|
1067
|
+
* where: {
|
|
1068
|
+
* // ... provide filter here
|
|
1069
|
+
* },
|
|
1070
|
+
* data: {
|
|
1071
|
+
* // ... provide data here
|
|
1072
|
+
* }
|
|
1073
|
+
* })
|
|
1074
|
+
*
|
|
1075
|
+
*/
|
|
1076
|
+
update<T extends channel_directoriesUpdateArgs>(args: Prisma.SelectSubset<T, channel_directoriesUpdateArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Delete zero or more Channel_directories.
|
|
1080
|
+
* @param {channel_directoriesDeleteManyArgs} args - Arguments to filter Channel_directories to delete.
|
|
1081
|
+
* @example
|
|
1082
|
+
* // Delete a few Channel_directories
|
|
1083
|
+
* const { count } = await prisma.channel_directories.deleteMany({
|
|
1084
|
+
* where: {
|
|
1085
|
+
* // ... provide filter here
|
|
1086
|
+
* }
|
|
1087
|
+
* })
|
|
1088
|
+
*
|
|
1089
|
+
*/
|
|
1090
|
+
deleteMany<T extends channel_directoriesDeleteManyArgs>(args?: Prisma.SelectSubset<T, channel_directoriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Update zero or more Channel_directories.
|
|
1094
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1095
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1096
|
+
* @param {channel_directoriesUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1097
|
+
* @example
|
|
1098
|
+
* // Update many Channel_directories
|
|
1099
|
+
* const channel_directories = await prisma.channel_directories.updateMany({
|
|
1100
|
+
* where: {
|
|
1101
|
+
* // ... provide filter here
|
|
1102
|
+
* },
|
|
1103
|
+
* data: {
|
|
1104
|
+
* // ... provide data here
|
|
1105
|
+
* }
|
|
1106
|
+
* })
|
|
1107
|
+
*
|
|
1108
|
+
*/
|
|
1109
|
+
updateMany<T extends channel_directoriesUpdateManyArgs>(args: Prisma.SelectSubset<T, channel_directoriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Update zero or more Channel_directories and returns the data updated in the database.
|
|
1113
|
+
* @param {channel_directoriesUpdateManyAndReturnArgs} args - Arguments to update many Channel_directories.
|
|
1114
|
+
* @example
|
|
1115
|
+
* // Update many Channel_directories
|
|
1116
|
+
* const channel_directories = await prisma.channel_directories.updateManyAndReturn({
|
|
1117
|
+
* where: {
|
|
1118
|
+
* // ... provide filter here
|
|
1119
|
+
* },
|
|
1120
|
+
* data: [
|
|
1121
|
+
* // ... provide data here
|
|
1122
|
+
* ]
|
|
1123
|
+
* })
|
|
1124
|
+
*
|
|
1125
|
+
* // Update zero or more Channel_directories and only return the `channel_id`
|
|
1126
|
+
* const channel_directoriesWithChannel_idOnly = await prisma.channel_directories.updateManyAndReturn({
|
|
1127
|
+
* select: { channel_id: true },
|
|
1128
|
+
* where: {
|
|
1129
|
+
* // ... provide filter here
|
|
1130
|
+
* },
|
|
1131
|
+
* data: [
|
|
1132
|
+
* // ... provide data here
|
|
1133
|
+
* ]
|
|
1134
|
+
* })
|
|
1135
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1136
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1137
|
+
*
|
|
1138
|
+
*/
|
|
1139
|
+
updateManyAndReturn<T extends channel_directoriesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, channel_directoriesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Create or update one Channel_directories.
|
|
1143
|
+
* @param {channel_directoriesUpsertArgs} args - Arguments to update or create a Channel_directories.
|
|
1144
|
+
* @example
|
|
1145
|
+
* // Update or create a Channel_directories
|
|
1146
|
+
* const channel_directories = await prisma.channel_directories.upsert({
|
|
1147
|
+
* create: {
|
|
1148
|
+
* // ... data to create a Channel_directories
|
|
1149
|
+
* },
|
|
1150
|
+
* update: {
|
|
1151
|
+
* // ... in case it already exists, update
|
|
1152
|
+
* },
|
|
1153
|
+
* where: {
|
|
1154
|
+
* // ... the filter for the Channel_directories we want to update
|
|
1155
|
+
* }
|
|
1156
|
+
* })
|
|
1157
|
+
*/
|
|
1158
|
+
upsert<T extends channel_directoriesUpsertArgs>(args: Prisma.SelectSubset<T, channel_directoriesUpsertArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Count the number of Channel_directories.
|
|
1163
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1164
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1165
|
+
* @param {channel_directoriesCountArgs} args - Arguments to filter Channel_directories to count.
|
|
1166
|
+
* @example
|
|
1167
|
+
* // Count the number of Channel_directories
|
|
1168
|
+
* const count = await prisma.channel_directories.count({
|
|
1169
|
+
* where: {
|
|
1170
|
+
* // ... the filter for the Channel_directories we want to count
|
|
1171
|
+
* }
|
|
1172
|
+
* })
|
|
1173
|
+
**/
|
|
1174
|
+
count<T extends channel_directoriesCountArgs>(
|
|
1175
|
+
args?: Prisma.Subset<T, channel_directoriesCountArgs>,
|
|
1176
|
+
): Prisma.PrismaPromise<
|
|
1177
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1178
|
+
? T['select'] extends true
|
|
1179
|
+
? number
|
|
1180
|
+
: Prisma.GetScalarType<T['select'], Channel_directoriesCountAggregateOutputType>
|
|
1181
|
+
: number
|
|
1182
|
+
>
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* Allows you to perform aggregations operations on a Channel_directories.
|
|
1186
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1187
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1188
|
+
* @param {Channel_directoriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1189
|
+
* @example
|
|
1190
|
+
* // Ordered by age ascending
|
|
1191
|
+
* // Where email contains prisma.io
|
|
1192
|
+
* // Limited to the 10 users
|
|
1193
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1194
|
+
* _avg: {
|
|
1195
|
+
* age: true,
|
|
1196
|
+
* },
|
|
1197
|
+
* where: {
|
|
1198
|
+
* email: {
|
|
1199
|
+
* contains: "prisma.io",
|
|
1200
|
+
* },
|
|
1201
|
+
* },
|
|
1202
|
+
* orderBy: {
|
|
1203
|
+
* age: "asc",
|
|
1204
|
+
* },
|
|
1205
|
+
* take: 10,
|
|
1206
|
+
* })
|
|
1207
|
+
**/
|
|
1208
|
+
aggregate<T extends Channel_directoriesAggregateArgs>(args: Prisma.Subset<T, Channel_directoriesAggregateArgs>): Prisma.PrismaPromise<GetChannel_directoriesAggregateType<T>>
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* Group by Channel_directories.
|
|
1212
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1213
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1214
|
+
* @param {channel_directoriesGroupByArgs} args - Group by arguments.
|
|
1215
|
+
* @example
|
|
1216
|
+
* // Group by city, order by createdAt, get count
|
|
1217
|
+
* const result = await prisma.user.groupBy({
|
|
1218
|
+
* by: ['city', 'createdAt'],
|
|
1219
|
+
* orderBy: {
|
|
1220
|
+
* createdAt: true
|
|
1221
|
+
* },
|
|
1222
|
+
* _count: {
|
|
1223
|
+
* _all: true
|
|
1224
|
+
* },
|
|
1225
|
+
* })
|
|
1226
|
+
*
|
|
1227
|
+
**/
|
|
1228
|
+
groupBy<
|
|
1229
|
+
T extends channel_directoriesGroupByArgs,
|
|
1230
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1231
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1232
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1233
|
+
>,
|
|
1234
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1235
|
+
? { orderBy: channel_directoriesGroupByArgs['orderBy'] }
|
|
1236
|
+
: { orderBy?: channel_directoriesGroupByArgs['orderBy'] },
|
|
1237
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1238
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1239
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1240
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1241
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1242
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1243
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1244
|
+
? `Error: "by" must not be empty.`
|
|
1245
|
+
: HavingValid extends Prisma.False
|
|
1246
|
+
? {
|
|
1247
|
+
[P in HavingFields]: P extends ByFields
|
|
1248
|
+
? never
|
|
1249
|
+
: P extends string
|
|
1250
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1251
|
+
: [
|
|
1252
|
+
Error,
|
|
1253
|
+
'Field ',
|
|
1254
|
+
P,
|
|
1255
|
+
` in "having" needs to be provided in "by"`,
|
|
1256
|
+
]
|
|
1257
|
+
}[HavingFields]
|
|
1258
|
+
: 'take' extends Prisma.Keys<T>
|
|
1259
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1260
|
+
? ByValid extends Prisma.True
|
|
1261
|
+
? {}
|
|
1262
|
+
: {
|
|
1263
|
+
[P in OrderFields]: P extends ByFields
|
|
1264
|
+
? never
|
|
1265
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1266
|
+
}[OrderFields]
|
|
1267
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1268
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1269
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1270
|
+
? ByValid extends Prisma.True
|
|
1271
|
+
? {}
|
|
1272
|
+
: {
|
|
1273
|
+
[P in OrderFields]: P extends ByFields
|
|
1274
|
+
? never
|
|
1275
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1276
|
+
}[OrderFields]
|
|
1277
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1278
|
+
: ByValid extends Prisma.True
|
|
1279
|
+
? {}
|
|
1280
|
+
: {
|
|
1281
|
+
[P in OrderFields]: P extends ByFields
|
|
1282
|
+
? never
|
|
1283
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1284
|
+
}[OrderFields]
|
|
1285
|
+
>(args: Prisma.SubsetIntersection<T, channel_directoriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChannel_directoriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1286
|
+
/**
|
|
1287
|
+
* Fields of the channel_directories model
|
|
1288
|
+
*/
|
|
1289
|
+
readonly fields: channel_directoriesFieldRefs;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* The delegate class that acts as a "Promise-like" for channel_directories.
|
|
1294
|
+
* Why is this prefixed with `Prisma__`?
|
|
1295
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1296
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1297
|
+
*/
|
|
1298
|
+
export interface Prisma__channel_directoriesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1299
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1300
|
+
channel_model<T extends Prisma.channel_directories$channel_modelArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.channel_directories$channel_modelArgs<ExtArgs>>): Prisma.Prisma__channel_modelsClient<runtime.Types.Result.GetResult<Prisma.$channel_modelsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1301
|
+
channel_agent<T extends Prisma.channel_directories$channel_agentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.channel_directories$channel_agentArgs<ExtArgs>>): Prisma.Prisma__channel_agentsClient<runtime.Types.Result.GetResult<Prisma.$channel_agentsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1302
|
+
channel_worktree<T extends Prisma.channel_directories$channel_worktreeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.channel_directories$channel_worktreeArgs<ExtArgs>>): Prisma.Prisma__channel_worktreesClient<runtime.Types.Result.GetResult<Prisma.$channel_worktreesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1303
|
+
channel_verbosity<T extends Prisma.channel_directories$channel_verbosityArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.channel_directories$channel_verbosityArgs<ExtArgs>>): Prisma.Prisma__channel_verbosityClient<runtime.Types.Result.GetResult<Prisma.$channel_verbosityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1304
|
+
channel_mention_mode<T extends Prisma.channel_directories$channel_mention_modeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.channel_directories$channel_mention_modeArgs<ExtArgs>>): Prisma.Prisma__channel_mention_modeClient<runtime.Types.Result.GetResult<Prisma.$channel_mention_modePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1305
|
+
scheduled_tasks<T extends Prisma.channel_directories$scheduled_tasksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.channel_directories$scheduled_tasksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1306
|
+
/**
|
|
1307
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1308
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1309
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1310
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1311
|
+
*/
|
|
1312
|
+
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>
|
|
1313
|
+
/**
|
|
1314
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1315
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1316
|
+
* @returns A Promise for the completion of the callback.
|
|
1317
|
+
*/
|
|
1318
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1319
|
+
/**
|
|
1320
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1321
|
+
* resolved value cannot be modified from the callback.
|
|
1322
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1323
|
+
* @returns A Promise for the completion of the callback.
|
|
1324
|
+
*/
|
|
1325
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* Fields of the channel_directories model
|
|
1333
|
+
*/
|
|
1334
|
+
export interface channel_directoriesFieldRefs {
|
|
1335
|
+
readonly channel_id: Prisma.FieldRef<"channel_directories", 'String'>
|
|
1336
|
+
readonly directory: Prisma.FieldRef<"channel_directories", 'String'>
|
|
1337
|
+
readonly channel_type: Prisma.FieldRef<"channel_directories", 'ChannelType'>
|
|
1338
|
+
readonly created_at: Prisma.FieldRef<"channel_directories", 'DateTime'>
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
// Custom InputTypes
|
|
1343
|
+
/**
|
|
1344
|
+
* channel_directories findUnique
|
|
1345
|
+
*/
|
|
1346
|
+
export type channel_directoriesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1347
|
+
/**
|
|
1348
|
+
* Select specific fields to fetch from the channel_directories
|
|
1349
|
+
*/
|
|
1350
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1351
|
+
/**
|
|
1352
|
+
* Omit specific fields from the channel_directories
|
|
1353
|
+
*/
|
|
1354
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1355
|
+
/**
|
|
1356
|
+
* Choose, which related nodes to fetch as well
|
|
1357
|
+
*/
|
|
1358
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1359
|
+
/**
|
|
1360
|
+
* Filter, which channel_directories to fetch.
|
|
1361
|
+
*/
|
|
1362
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* channel_directories findUniqueOrThrow
|
|
1367
|
+
*/
|
|
1368
|
+
export type channel_directoriesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1369
|
+
/**
|
|
1370
|
+
* Select specific fields to fetch from the channel_directories
|
|
1371
|
+
*/
|
|
1372
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1373
|
+
/**
|
|
1374
|
+
* Omit specific fields from the channel_directories
|
|
1375
|
+
*/
|
|
1376
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1377
|
+
/**
|
|
1378
|
+
* Choose, which related nodes to fetch as well
|
|
1379
|
+
*/
|
|
1380
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1381
|
+
/**
|
|
1382
|
+
* Filter, which channel_directories to fetch.
|
|
1383
|
+
*/
|
|
1384
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* channel_directories findFirst
|
|
1389
|
+
*/
|
|
1390
|
+
export type channel_directoriesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1391
|
+
/**
|
|
1392
|
+
* Select specific fields to fetch from the channel_directories
|
|
1393
|
+
*/
|
|
1394
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1395
|
+
/**
|
|
1396
|
+
* Omit specific fields from the channel_directories
|
|
1397
|
+
*/
|
|
1398
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1399
|
+
/**
|
|
1400
|
+
* Choose, which related nodes to fetch as well
|
|
1401
|
+
*/
|
|
1402
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1403
|
+
/**
|
|
1404
|
+
* Filter, which channel_directories to fetch.
|
|
1405
|
+
*/
|
|
1406
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
1407
|
+
/**
|
|
1408
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1409
|
+
*
|
|
1410
|
+
* Determine the order of channel_directories to fetch.
|
|
1411
|
+
*/
|
|
1412
|
+
orderBy?: Prisma.channel_directoriesOrderByWithRelationInput | Prisma.channel_directoriesOrderByWithRelationInput[]
|
|
1413
|
+
/**
|
|
1414
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1415
|
+
*
|
|
1416
|
+
* Sets the position for searching for channel_directories.
|
|
1417
|
+
*/
|
|
1418
|
+
cursor?: Prisma.channel_directoriesWhereUniqueInput
|
|
1419
|
+
/**
|
|
1420
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1421
|
+
*
|
|
1422
|
+
* Take `±n` channel_directories from the position of the cursor.
|
|
1423
|
+
*/
|
|
1424
|
+
take?: number
|
|
1425
|
+
/**
|
|
1426
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1427
|
+
*
|
|
1428
|
+
* Skip the first `n` channel_directories.
|
|
1429
|
+
*/
|
|
1430
|
+
skip?: number
|
|
1431
|
+
/**
|
|
1432
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1433
|
+
*
|
|
1434
|
+
* Filter by unique combinations of channel_directories.
|
|
1435
|
+
*/
|
|
1436
|
+
distinct?: Prisma.Channel_directoriesScalarFieldEnum | Prisma.Channel_directoriesScalarFieldEnum[]
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* channel_directories findFirstOrThrow
|
|
1441
|
+
*/
|
|
1442
|
+
export type channel_directoriesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1443
|
+
/**
|
|
1444
|
+
* Select specific fields to fetch from the channel_directories
|
|
1445
|
+
*/
|
|
1446
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1447
|
+
/**
|
|
1448
|
+
* Omit specific fields from the channel_directories
|
|
1449
|
+
*/
|
|
1450
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1451
|
+
/**
|
|
1452
|
+
* Choose, which related nodes to fetch as well
|
|
1453
|
+
*/
|
|
1454
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1455
|
+
/**
|
|
1456
|
+
* Filter, which channel_directories to fetch.
|
|
1457
|
+
*/
|
|
1458
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
1459
|
+
/**
|
|
1460
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1461
|
+
*
|
|
1462
|
+
* Determine the order of channel_directories to fetch.
|
|
1463
|
+
*/
|
|
1464
|
+
orderBy?: Prisma.channel_directoriesOrderByWithRelationInput | Prisma.channel_directoriesOrderByWithRelationInput[]
|
|
1465
|
+
/**
|
|
1466
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1467
|
+
*
|
|
1468
|
+
* Sets the position for searching for channel_directories.
|
|
1469
|
+
*/
|
|
1470
|
+
cursor?: Prisma.channel_directoriesWhereUniqueInput
|
|
1471
|
+
/**
|
|
1472
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1473
|
+
*
|
|
1474
|
+
* Take `±n` channel_directories from the position of the cursor.
|
|
1475
|
+
*/
|
|
1476
|
+
take?: number
|
|
1477
|
+
/**
|
|
1478
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1479
|
+
*
|
|
1480
|
+
* Skip the first `n` channel_directories.
|
|
1481
|
+
*/
|
|
1482
|
+
skip?: number
|
|
1483
|
+
/**
|
|
1484
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1485
|
+
*
|
|
1486
|
+
* Filter by unique combinations of channel_directories.
|
|
1487
|
+
*/
|
|
1488
|
+
distinct?: Prisma.Channel_directoriesScalarFieldEnum | Prisma.Channel_directoriesScalarFieldEnum[]
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* channel_directories findMany
|
|
1493
|
+
*/
|
|
1494
|
+
export type channel_directoriesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1495
|
+
/**
|
|
1496
|
+
* Select specific fields to fetch from the channel_directories
|
|
1497
|
+
*/
|
|
1498
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1499
|
+
/**
|
|
1500
|
+
* Omit specific fields from the channel_directories
|
|
1501
|
+
*/
|
|
1502
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1503
|
+
/**
|
|
1504
|
+
* Choose, which related nodes to fetch as well
|
|
1505
|
+
*/
|
|
1506
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1507
|
+
/**
|
|
1508
|
+
* Filter, which channel_directories to fetch.
|
|
1509
|
+
*/
|
|
1510
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
1511
|
+
/**
|
|
1512
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1513
|
+
*
|
|
1514
|
+
* Determine the order of channel_directories to fetch.
|
|
1515
|
+
*/
|
|
1516
|
+
orderBy?: Prisma.channel_directoriesOrderByWithRelationInput | Prisma.channel_directoriesOrderByWithRelationInput[]
|
|
1517
|
+
/**
|
|
1518
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1519
|
+
*
|
|
1520
|
+
* Sets the position for listing channel_directories.
|
|
1521
|
+
*/
|
|
1522
|
+
cursor?: Prisma.channel_directoriesWhereUniqueInput
|
|
1523
|
+
/**
|
|
1524
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1525
|
+
*
|
|
1526
|
+
* Take `±n` channel_directories from the position of the cursor.
|
|
1527
|
+
*/
|
|
1528
|
+
take?: number
|
|
1529
|
+
/**
|
|
1530
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1531
|
+
*
|
|
1532
|
+
* Skip the first `n` channel_directories.
|
|
1533
|
+
*/
|
|
1534
|
+
skip?: number
|
|
1535
|
+
distinct?: Prisma.Channel_directoriesScalarFieldEnum | Prisma.Channel_directoriesScalarFieldEnum[]
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* channel_directories create
|
|
1540
|
+
*/
|
|
1541
|
+
export type channel_directoriesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1542
|
+
/**
|
|
1543
|
+
* Select specific fields to fetch from the channel_directories
|
|
1544
|
+
*/
|
|
1545
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1546
|
+
/**
|
|
1547
|
+
* Omit specific fields from the channel_directories
|
|
1548
|
+
*/
|
|
1549
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1550
|
+
/**
|
|
1551
|
+
* Choose, which related nodes to fetch as well
|
|
1552
|
+
*/
|
|
1553
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1554
|
+
/**
|
|
1555
|
+
* The data needed to create a channel_directories.
|
|
1556
|
+
*/
|
|
1557
|
+
data: Prisma.XOR<Prisma.channel_directoriesCreateInput, Prisma.channel_directoriesUncheckedCreateInput>
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* channel_directories createMany
|
|
1562
|
+
*/
|
|
1563
|
+
export type channel_directoriesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1564
|
+
/**
|
|
1565
|
+
* The data used to create many channel_directories.
|
|
1566
|
+
*/
|
|
1567
|
+
data: Prisma.channel_directoriesCreateManyInput | Prisma.channel_directoriesCreateManyInput[]
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* channel_directories createManyAndReturn
|
|
1572
|
+
*/
|
|
1573
|
+
export type channel_directoriesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1574
|
+
/**
|
|
1575
|
+
* Select specific fields to fetch from the channel_directories
|
|
1576
|
+
*/
|
|
1577
|
+
select?: Prisma.channel_directoriesSelectCreateManyAndReturn<ExtArgs> | null
|
|
1578
|
+
/**
|
|
1579
|
+
* Omit specific fields from the channel_directories
|
|
1580
|
+
*/
|
|
1581
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1582
|
+
/**
|
|
1583
|
+
* The data used to create many channel_directories.
|
|
1584
|
+
*/
|
|
1585
|
+
data: Prisma.channel_directoriesCreateManyInput | Prisma.channel_directoriesCreateManyInput[]
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* channel_directories update
|
|
1590
|
+
*/
|
|
1591
|
+
export type channel_directoriesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1592
|
+
/**
|
|
1593
|
+
* Select specific fields to fetch from the channel_directories
|
|
1594
|
+
*/
|
|
1595
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1596
|
+
/**
|
|
1597
|
+
* Omit specific fields from the channel_directories
|
|
1598
|
+
*/
|
|
1599
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1600
|
+
/**
|
|
1601
|
+
* Choose, which related nodes to fetch as well
|
|
1602
|
+
*/
|
|
1603
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1604
|
+
/**
|
|
1605
|
+
* The data needed to update a channel_directories.
|
|
1606
|
+
*/
|
|
1607
|
+
data: Prisma.XOR<Prisma.channel_directoriesUpdateInput, Prisma.channel_directoriesUncheckedUpdateInput>
|
|
1608
|
+
/**
|
|
1609
|
+
* Choose, which channel_directories to update.
|
|
1610
|
+
*/
|
|
1611
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* channel_directories updateMany
|
|
1616
|
+
*/
|
|
1617
|
+
export type channel_directoriesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1618
|
+
/**
|
|
1619
|
+
* The data used to update channel_directories.
|
|
1620
|
+
*/
|
|
1621
|
+
data: Prisma.XOR<Prisma.channel_directoriesUpdateManyMutationInput, Prisma.channel_directoriesUncheckedUpdateManyInput>
|
|
1622
|
+
/**
|
|
1623
|
+
* Filter which channel_directories to update
|
|
1624
|
+
*/
|
|
1625
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
1626
|
+
/**
|
|
1627
|
+
* Limit how many channel_directories to update.
|
|
1628
|
+
*/
|
|
1629
|
+
limit?: number
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* channel_directories updateManyAndReturn
|
|
1634
|
+
*/
|
|
1635
|
+
export type channel_directoriesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1636
|
+
/**
|
|
1637
|
+
* Select specific fields to fetch from the channel_directories
|
|
1638
|
+
*/
|
|
1639
|
+
select?: Prisma.channel_directoriesSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1640
|
+
/**
|
|
1641
|
+
* Omit specific fields from the channel_directories
|
|
1642
|
+
*/
|
|
1643
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1644
|
+
/**
|
|
1645
|
+
* The data used to update channel_directories.
|
|
1646
|
+
*/
|
|
1647
|
+
data: Prisma.XOR<Prisma.channel_directoriesUpdateManyMutationInput, Prisma.channel_directoriesUncheckedUpdateManyInput>
|
|
1648
|
+
/**
|
|
1649
|
+
* Filter which channel_directories to update
|
|
1650
|
+
*/
|
|
1651
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
1652
|
+
/**
|
|
1653
|
+
* Limit how many channel_directories to update.
|
|
1654
|
+
*/
|
|
1655
|
+
limit?: number
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* channel_directories upsert
|
|
1660
|
+
*/
|
|
1661
|
+
export type channel_directoriesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1662
|
+
/**
|
|
1663
|
+
* Select specific fields to fetch from the channel_directories
|
|
1664
|
+
*/
|
|
1665
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1666
|
+
/**
|
|
1667
|
+
* Omit specific fields from the channel_directories
|
|
1668
|
+
*/
|
|
1669
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1670
|
+
/**
|
|
1671
|
+
* Choose, which related nodes to fetch as well
|
|
1672
|
+
*/
|
|
1673
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1674
|
+
/**
|
|
1675
|
+
* The filter to search for the channel_directories to update in case it exists.
|
|
1676
|
+
*/
|
|
1677
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
1678
|
+
/**
|
|
1679
|
+
* In case the channel_directories found by the `where` argument doesn't exist, create a new channel_directories with this data.
|
|
1680
|
+
*/
|
|
1681
|
+
create: Prisma.XOR<Prisma.channel_directoriesCreateInput, Prisma.channel_directoriesUncheckedCreateInput>
|
|
1682
|
+
/**
|
|
1683
|
+
* In case the channel_directories was found with the provided `where` argument, update it with this data.
|
|
1684
|
+
*/
|
|
1685
|
+
update: Prisma.XOR<Prisma.channel_directoriesUpdateInput, Prisma.channel_directoriesUncheckedUpdateInput>
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* channel_directories delete
|
|
1690
|
+
*/
|
|
1691
|
+
export type channel_directoriesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1692
|
+
/**
|
|
1693
|
+
* Select specific fields to fetch from the channel_directories
|
|
1694
|
+
*/
|
|
1695
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1696
|
+
/**
|
|
1697
|
+
* Omit specific fields from the channel_directories
|
|
1698
|
+
*/
|
|
1699
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1700
|
+
/**
|
|
1701
|
+
* Choose, which related nodes to fetch as well
|
|
1702
|
+
*/
|
|
1703
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1704
|
+
/**
|
|
1705
|
+
* Filter which channel_directories to delete.
|
|
1706
|
+
*/
|
|
1707
|
+
where: Prisma.channel_directoriesWhereUniqueInput
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* channel_directories deleteMany
|
|
1712
|
+
*/
|
|
1713
|
+
export type channel_directoriesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1714
|
+
/**
|
|
1715
|
+
* Filter which channel_directories to delete
|
|
1716
|
+
*/
|
|
1717
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
1718
|
+
/**
|
|
1719
|
+
* Limit how many channel_directories to delete.
|
|
1720
|
+
*/
|
|
1721
|
+
limit?: number
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* channel_directories.channel_model
|
|
1726
|
+
*/
|
|
1727
|
+
export type channel_directories$channel_modelArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1728
|
+
/**
|
|
1729
|
+
* Select specific fields to fetch from the channel_models
|
|
1730
|
+
*/
|
|
1731
|
+
select?: Prisma.channel_modelsSelect<ExtArgs> | null
|
|
1732
|
+
/**
|
|
1733
|
+
* Omit specific fields from the channel_models
|
|
1734
|
+
*/
|
|
1735
|
+
omit?: Prisma.channel_modelsOmit<ExtArgs> | null
|
|
1736
|
+
/**
|
|
1737
|
+
* Choose, which related nodes to fetch as well
|
|
1738
|
+
*/
|
|
1739
|
+
include?: Prisma.channel_modelsInclude<ExtArgs> | null
|
|
1740
|
+
where?: Prisma.channel_modelsWhereInput
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* channel_directories.channel_agent
|
|
1745
|
+
*/
|
|
1746
|
+
export type channel_directories$channel_agentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1747
|
+
/**
|
|
1748
|
+
* Select specific fields to fetch from the channel_agents
|
|
1749
|
+
*/
|
|
1750
|
+
select?: Prisma.channel_agentsSelect<ExtArgs> | null
|
|
1751
|
+
/**
|
|
1752
|
+
* Omit specific fields from the channel_agents
|
|
1753
|
+
*/
|
|
1754
|
+
omit?: Prisma.channel_agentsOmit<ExtArgs> | null
|
|
1755
|
+
/**
|
|
1756
|
+
* Choose, which related nodes to fetch as well
|
|
1757
|
+
*/
|
|
1758
|
+
include?: Prisma.channel_agentsInclude<ExtArgs> | null
|
|
1759
|
+
where?: Prisma.channel_agentsWhereInput
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* channel_directories.channel_worktree
|
|
1764
|
+
*/
|
|
1765
|
+
export type channel_directories$channel_worktreeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1766
|
+
/**
|
|
1767
|
+
* Select specific fields to fetch from the channel_worktrees
|
|
1768
|
+
*/
|
|
1769
|
+
select?: Prisma.channel_worktreesSelect<ExtArgs> | null
|
|
1770
|
+
/**
|
|
1771
|
+
* Omit specific fields from the channel_worktrees
|
|
1772
|
+
*/
|
|
1773
|
+
omit?: Prisma.channel_worktreesOmit<ExtArgs> | null
|
|
1774
|
+
/**
|
|
1775
|
+
* Choose, which related nodes to fetch as well
|
|
1776
|
+
*/
|
|
1777
|
+
include?: Prisma.channel_worktreesInclude<ExtArgs> | null
|
|
1778
|
+
where?: Prisma.channel_worktreesWhereInput
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* channel_directories.channel_verbosity
|
|
1783
|
+
*/
|
|
1784
|
+
export type channel_directories$channel_verbosityArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1785
|
+
/**
|
|
1786
|
+
* Select specific fields to fetch from the channel_verbosity
|
|
1787
|
+
*/
|
|
1788
|
+
select?: Prisma.channel_verbositySelect<ExtArgs> | null
|
|
1789
|
+
/**
|
|
1790
|
+
* Omit specific fields from the channel_verbosity
|
|
1791
|
+
*/
|
|
1792
|
+
omit?: Prisma.channel_verbosityOmit<ExtArgs> | null
|
|
1793
|
+
/**
|
|
1794
|
+
* Choose, which related nodes to fetch as well
|
|
1795
|
+
*/
|
|
1796
|
+
include?: Prisma.channel_verbosityInclude<ExtArgs> | null
|
|
1797
|
+
where?: Prisma.channel_verbosityWhereInput
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* channel_directories.channel_mention_mode
|
|
1802
|
+
*/
|
|
1803
|
+
export type channel_directories$channel_mention_modeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1804
|
+
/**
|
|
1805
|
+
* Select specific fields to fetch from the channel_mention_mode
|
|
1806
|
+
*/
|
|
1807
|
+
select?: Prisma.channel_mention_modeSelect<ExtArgs> | null
|
|
1808
|
+
/**
|
|
1809
|
+
* Omit specific fields from the channel_mention_mode
|
|
1810
|
+
*/
|
|
1811
|
+
omit?: Prisma.channel_mention_modeOmit<ExtArgs> | null
|
|
1812
|
+
/**
|
|
1813
|
+
* Choose, which related nodes to fetch as well
|
|
1814
|
+
*/
|
|
1815
|
+
include?: Prisma.channel_mention_modeInclude<ExtArgs> | null
|
|
1816
|
+
where?: Prisma.channel_mention_modeWhereInput
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* channel_directories.scheduled_tasks
|
|
1821
|
+
*/
|
|
1822
|
+
export type channel_directories$scheduled_tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1823
|
+
/**
|
|
1824
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
1825
|
+
*/
|
|
1826
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
1827
|
+
/**
|
|
1828
|
+
* Omit specific fields from the scheduled_tasks
|
|
1829
|
+
*/
|
|
1830
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
1831
|
+
/**
|
|
1832
|
+
* Choose, which related nodes to fetch as well
|
|
1833
|
+
*/
|
|
1834
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
1835
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
1836
|
+
orderBy?: Prisma.scheduled_tasksOrderByWithRelationInput | Prisma.scheduled_tasksOrderByWithRelationInput[]
|
|
1837
|
+
cursor?: Prisma.scheduled_tasksWhereUniqueInput
|
|
1838
|
+
take?: number
|
|
1839
|
+
skip?: number
|
|
1840
|
+
distinct?: Prisma.Scheduled_tasksScalarFieldEnum | Prisma.Scheduled_tasksScalarFieldEnum[]
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* channel_directories without action
|
|
1845
|
+
*/
|
|
1846
|
+
export type channel_directoriesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1847
|
+
/**
|
|
1848
|
+
* Select specific fields to fetch from the channel_directories
|
|
1849
|
+
*/
|
|
1850
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
1851
|
+
/**
|
|
1852
|
+
* Omit specific fields from the channel_directories
|
|
1853
|
+
*/
|
|
1854
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
1855
|
+
/**
|
|
1856
|
+
* Choose, which related nodes to fetch as well
|
|
1857
|
+
*/
|
|
1858
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
1859
|
+
}
|