@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,2320 @@
|
|
|
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 `scheduled_tasks` 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 scheduled_tasks
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type scheduled_tasksModel = runtime.Types.Result.DefaultSelection<Prisma.$scheduled_tasksPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateScheduled_tasks = {
|
|
22
|
+
_count: Scheduled_tasksCountAggregateOutputType | null
|
|
23
|
+
_avg: Scheduled_tasksAvgAggregateOutputType | null
|
|
24
|
+
_sum: Scheduled_tasksSumAggregateOutputType | null
|
|
25
|
+
_min: Scheduled_tasksMinAggregateOutputType | null
|
|
26
|
+
_max: Scheduled_tasksMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type Scheduled_tasksAvgAggregateOutputType = {
|
|
30
|
+
id: number | null
|
|
31
|
+
attempts: number | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type Scheduled_tasksSumAggregateOutputType = {
|
|
35
|
+
id: number | null
|
|
36
|
+
attempts: number | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type Scheduled_tasksMinAggregateOutputType = {
|
|
40
|
+
id: number | null
|
|
41
|
+
status: $Enums.task_status | null
|
|
42
|
+
schedule_kind: $Enums.task_schedule_kind | null
|
|
43
|
+
run_at: Date | null
|
|
44
|
+
cron_expr: string | null
|
|
45
|
+
timezone: string | null
|
|
46
|
+
next_run_at: Date | null
|
|
47
|
+
running_started_at: Date | null
|
|
48
|
+
last_run_at: Date | null
|
|
49
|
+
last_error: string | null
|
|
50
|
+
attempts: number | null
|
|
51
|
+
payload_json: string | null
|
|
52
|
+
prompt_preview: string | null
|
|
53
|
+
channel_id: string | null
|
|
54
|
+
thread_id: string | null
|
|
55
|
+
session_id: string | null
|
|
56
|
+
project_directory: string | null
|
|
57
|
+
created_at: Date | null
|
|
58
|
+
updated_at: Date | null
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type Scheduled_tasksMaxAggregateOutputType = {
|
|
62
|
+
id: number | null
|
|
63
|
+
status: $Enums.task_status | null
|
|
64
|
+
schedule_kind: $Enums.task_schedule_kind | null
|
|
65
|
+
run_at: Date | null
|
|
66
|
+
cron_expr: string | null
|
|
67
|
+
timezone: string | null
|
|
68
|
+
next_run_at: Date | null
|
|
69
|
+
running_started_at: Date | null
|
|
70
|
+
last_run_at: Date | null
|
|
71
|
+
last_error: string | null
|
|
72
|
+
attempts: number | null
|
|
73
|
+
payload_json: string | null
|
|
74
|
+
prompt_preview: string | null
|
|
75
|
+
channel_id: string | null
|
|
76
|
+
thread_id: string | null
|
|
77
|
+
session_id: string | null
|
|
78
|
+
project_directory: string | null
|
|
79
|
+
created_at: Date | null
|
|
80
|
+
updated_at: Date | null
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export type Scheduled_tasksCountAggregateOutputType = {
|
|
84
|
+
id: number
|
|
85
|
+
status: number
|
|
86
|
+
schedule_kind: number
|
|
87
|
+
run_at: number
|
|
88
|
+
cron_expr: number
|
|
89
|
+
timezone: number
|
|
90
|
+
next_run_at: number
|
|
91
|
+
running_started_at: number
|
|
92
|
+
last_run_at: number
|
|
93
|
+
last_error: number
|
|
94
|
+
attempts: number
|
|
95
|
+
payload_json: number
|
|
96
|
+
prompt_preview: number
|
|
97
|
+
channel_id: number
|
|
98
|
+
thread_id: number
|
|
99
|
+
session_id: number
|
|
100
|
+
project_directory: number
|
|
101
|
+
created_at: number
|
|
102
|
+
updated_at: number
|
|
103
|
+
_all: number
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
export type Scheduled_tasksAvgAggregateInputType = {
|
|
108
|
+
id?: true
|
|
109
|
+
attempts?: true
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export type Scheduled_tasksSumAggregateInputType = {
|
|
113
|
+
id?: true
|
|
114
|
+
attempts?: true
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export type Scheduled_tasksMinAggregateInputType = {
|
|
118
|
+
id?: true
|
|
119
|
+
status?: true
|
|
120
|
+
schedule_kind?: true
|
|
121
|
+
run_at?: true
|
|
122
|
+
cron_expr?: true
|
|
123
|
+
timezone?: true
|
|
124
|
+
next_run_at?: true
|
|
125
|
+
running_started_at?: true
|
|
126
|
+
last_run_at?: true
|
|
127
|
+
last_error?: true
|
|
128
|
+
attempts?: true
|
|
129
|
+
payload_json?: true
|
|
130
|
+
prompt_preview?: true
|
|
131
|
+
channel_id?: true
|
|
132
|
+
thread_id?: true
|
|
133
|
+
session_id?: true
|
|
134
|
+
project_directory?: true
|
|
135
|
+
created_at?: true
|
|
136
|
+
updated_at?: true
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export type Scheduled_tasksMaxAggregateInputType = {
|
|
140
|
+
id?: true
|
|
141
|
+
status?: true
|
|
142
|
+
schedule_kind?: true
|
|
143
|
+
run_at?: true
|
|
144
|
+
cron_expr?: true
|
|
145
|
+
timezone?: true
|
|
146
|
+
next_run_at?: true
|
|
147
|
+
running_started_at?: true
|
|
148
|
+
last_run_at?: true
|
|
149
|
+
last_error?: true
|
|
150
|
+
attempts?: true
|
|
151
|
+
payload_json?: true
|
|
152
|
+
prompt_preview?: true
|
|
153
|
+
channel_id?: true
|
|
154
|
+
thread_id?: true
|
|
155
|
+
session_id?: true
|
|
156
|
+
project_directory?: true
|
|
157
|
+
created_at?: true
|
|
158
|
+
updated_at?: true
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export type Scheduled_tasksCountAggregateInputType = {
|
|
162
|
+
id?: true
|
|
163
|
+
status?: true
|
|
164
|
+
schedule_kind?: true
|
|
165
|
+
run_at?: true
|
|
166
|
+
cron_expr?: true
|
|
167
|
+
timezone?: true
|
|
168
|
+
next_run_at?: true
|
|
169
|
+
running_started_at?: true
|
|
170
|
+
last_run_at?: true
|
|
171
|
+
last_error?: true
|
|
172
|
+
attempts?: true
|
|
173
|
+
payload_json?: true
|
|
174
|
+
prompt_preview?: true
|
|
175
|
+
channel_id?: true
|
|
176
|
+
thread_id?: true
|
|
177
|
+
session_id?: true
|
|
178
|
+
project_directory?: true
|
|
179
|
+
created_at?: true
|
|
180
|
+
updated_at?: true
|
|
181
|
+
_all?: true
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export type Scheduled_tasksAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
185
|
+
/**
|
|
186
|
+
* Filter which scheduled_tasks to aggregate.
|
|
187
|
+
*/
|
|
188
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
189
|
+
/**
|
|
190
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
191
|
+
*
|
|
192
|
+
* Determine the order of scheduled_tasks to fetch.
|
|
193
|
+
*/
|
|
194
|
+
orderBy?: Prisma.scheduled_tasksOrderByWithRelationInput | Prisma.scheduled_tasksOrderByWithRelationInput[]
|
|
195
|
+
/**
|
|
196
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
197
|
+
*
|
|
198
|
+
* Sets the start position
|
|
199
|
+
*/
|
|
200
|
+
cursor?: Prisma.scheduled_tasksWhereUniqueInput
|
|
201
|
+
/**
|
|
202
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
203
|
+
*
|
|
204
|
+
* Take `±n` scheduled_tasks from the position of the cursor.
|
|
205
|
+
*/
|
|
206
|
+
take?: number
|
|
207
|
+
/**
|
|
208
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
209
|
+
*
|
|
210
|
+
* Skip the first `n` scheduled_tasks.
|
|
211
|
+
*/
|
|
212
|
+
skip?: number
|
|
213
|
+
/**
|
|
214
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
215
|
+
*
|
|
216
|
+
* Count returned scheduled_tasks
|
|
217
|
+
**/
|
|
218
|
+
_count?: true | Scheduled_tasksCountAggregateInputType
|
|
219
|
+
/**
|
|
220
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
221
|
+
*
|
|
222
|
+
* Select which fields to average
|
|
223
|
+
**/
|
|
224
|
+
_avg?: Scheduled_tasksAvgAggregateInputType
|
|
225
|
+
/**
|
|
226
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
227
|
+
*
|
|
228
|
+
* Select which fields to sum
|
|
229
|
+
**/
|
|
230
|
+
_sum?: Scheduled_tasksSumAggregateInputType
|
|
231
|
+
/**
|
|
232
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
233
|
+
*
|
|
234
|
+
* Select which fields to find the minimum value
|
|
235
|
+
**/
|
|
236
|
+
_min?: Scheduled_tasksMinAggregateInputType
|
|
237
|
+
/**
|
|
238
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
239
|
+
*
|
|
240
|
+
* Select which fields to find the maximum value
|
|
241
|
+
**/
|
|
242
|
+
_max?: Scheduled_tasksMaxAggregateInputType
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export type GetScheduled_tasksAggregateType<T extends Scheduled_tasksAggregateArgs> = {
|
|
246
|
+
[P in keyof T & keyof AggregateScheduled_tasks]: P extends '_count' | 'count'
|
|
247
|
+
? T[P] extends true
|
|
248
|
+
? number
|
|
249
|
+
: Prisma.GetScalarType<T[P], AggregateScheduled_tasks[P]>
|
|
250
|
+
: Prisma.GetScalarType<T[P], AggregateScheduled_tasks[P]>
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
export type scheduled_tasksGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
257
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
258
|
+
orderBy?: Prisma.scheduled_tasksOrderByWithAggregationInput | Prisma.scheduled_tasksOrderByWithAggregationInput[]
|
|
259
|
+
by: Prisma.Scheduled_tasksScalarFieldEnum[] | Prisma.Scheduled_tasksScalarFieldEnum
|
|
260
|
+
having?: Prisma.scheduled_tasksScalarWhereWithAggregatesInput
|
|
261
|
+
take?: number
|
|
262
|
+
skip?: number
|
|
263
|
+
_count?: Scheduled_tasksCountAggregateInputType | true
|
|
264
|
+
_avg?: Scheduled_tasksAvgAggregateInputType
|
|
265
|
+
_sum?: Scheduled_tasksSumAggregateInputType
|
|
266
|
+
_min?: Scheduled_tasksMinAggregateInputType
|
|
267
|
+
_max?: Scheduled_tasksMaxAggregateInputType
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export type Scheduled_tasksGroupByOutputType = {
|
|
271
|
+
id: number
|
|
272
|
+
status: $Enums.task_status
|
|
273
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
274
|
+
run_at: Date | null
|
|
275
|
+
cron_expr: string | null
|
|
276
|
+
timezone: string | null
|
|
277
|
+
next_run_at: Date
|
|
278
|
+
running_started_at: Date | null
|
|
279
|
+
last_run_at: Date | null
|
|
280
|
+
last_error: string | null
|
|
281
|
+
attempts: number
|
|
282
|
+
payload_json: string
|
|
283
|
+
prompt_preview: string
|
|
284
|
+
channel_id: string | null
|
|
285
|
+
thread_id: string | null
|
|
286
|
+
session_id: string | null
|
|
287
|
+
project_directory: string | null
|
|
288
|
+
created_at: Date | null
|
|
289
|
+
updated_at: Date | null
|
|
290
|
+
_count: Scheduled_tasksCountAggregateOutputType | null
|
|
291
|
+
_avg: Scheduled_tasksAvgAggregateOutputType | null
|
|
292
|
+
_sum: Scheduled_tasksSumAggregateOutputType | null
|
|
293
|
+
_min: Scheduled_tasksMinAggregateOutputType | null
|
|
294
|
+
_max: Scheduled_tasksMaxAggregateOutputType | null
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
type GetScheduled_tasksGroupByPayload<T extends scheduled_tasksGroupByArgs> = Prisma.PrismaPromise<
|
|
298
|
+
Array<
|
|
299
|
+
Prisma.PickEnumerable<Scheduled_tasksGroupByOutputType, T['by']> &
|
|
300
|
+
{
|
|
301
|
+
[P in ((keyof T) & (keyof Scheduled_tasksGroupByOutputType))]: P extends '_count'
|
|
302
|
+
? T[P] extends boolean
|
|
303
|
+
? number
|
|
304
|
+
: Prisma.GetScalarType<T[P], Scheduled_tasksGroupByOutputType[P]>
|
|
305
|
+
: Prisma.GetScalarType<T[P], Scheduled_tasksGroupByOutputType[P]>
|
|
306
|
+
}
|
|
307
|
+
>
|
|
308
|
+
>
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
export type scheduled_tasksWhereInput = {
|
|
313
|
+
AND?: Prisma.scheduled_tasksWhereInput | Prisma.scheduled_tasksWhereInput[]
|
|
314
|
+
OR?: Prisma.scheduled_tasksWhereInput[]
|
|
315
|
+
NOT?: Prisma.scheduled_tasksWhereInput | Prisma.scheduled_tasksWhereInput[]
|
|
316
|
+
id?: Prisma.IntFilter<"scheduled_tasks"> | number
|
|
317
|
+
status?: Prisma.Enumtask_statusFilter<"scheduled_tasks"> | $Enums.task_status
|
|
318
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFilter<"scheduled_tasks"> | $Enums.task_schedule_kind
|
|
319
|
+
run_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
320
|
+
cron_expr?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
321
|
+
timezone?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
322
|
+
next_run_at?: Prisma.DateTimeFilter<"scheduled_tasks"> | Date | string
|
|
323
|
+
running_started_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
324
|
+
last_run_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
325
|
+
last_error?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
326
|
+
attempts?: Prisma.IntFilter<"scheduled_tasks"> | number
|
|
327
|
+
payload_json?: Prisma.StringFilter<"scheduled_tasks"> | string
|
|
328
|
+
prompt_preview?: Prisma.StringFilter<"scheduled_tasks"> | string
|
|
329
|
+
channel_id?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
330
|
+
thread_id?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
331
|
+
session_id?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
332
|
+
project_directory?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
333
|
+
created_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
334
|
+
updated_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
335
|
+
channel?: Prisma.XOR<Prisma.Channel_directoriesNullableScalarRelationFilter, Prisma.channel_directoriesWhereInput> | null
|
|
336
|
+
thread?: Prisma.XOR<Prisma.Thread_sessionsNullableScalarRelationFilter, Prisma.thread_sessionsWhereInput> | null
|
|
337
|
+
session_start_sources?: Prisma.Session_start_sourcesListRelationFilter
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export type scheduled_tasksOrderByWithRelationInput = {
|
|
341
|
+
id?: Prisma.SortOrder
|
|
342
|
+
status?: Prisma.SortOrder
|
|
343
|
+
schedule_kind?: Prisma.SortOrder
|
|
344
|
+
run_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
345
|
+
cron_expr?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
346
|
+
timezone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
347
|
+
next_run_at?: Prisma.SortOrder
|
|
348
|
+
running_started_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
349
|
+
last_run_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
350
|
+
last_error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
351
|
+
attempts?: Prisma.SortOrder
|
|
352
|
+
payload_json?: Prisma.SortOrder
|
|
353
|
+
prompt_preview?: Prisma.SortOrder
|
|
354
|
+
channel_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
355
|
+
thread_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
356
|
+
session_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
357
|
+
project_directory?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
358
|
+
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
359
|
+
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
360
|
+
channel?: Prisma.channel_directoriesOrderByWithRelationInput
|
|
361
|
+
thread?: Prisma.thread_sessionsOrderByWithRelationInput
|
|
362
|
+
session_start_sources?: Prisma.session_start_sourcesOrderByRelationAggregateInput
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type scheduled_tasksWhereUniqueInput = Prisma.AtLeast<{
|
|
366
|
+
id?: number
|
|
367
|
+
AND?: Prisma.scheduled_tasksWhereInput | Prisma.scheduled_tasksWhereInput[]
|
|
368
|
+
OR?: Prisma.scheduled_tasksWhereInput[]
|
|
369
|
+
NOT?: Prisma.scheduled_tasksWhereInput | Prisma.scheduled_tasksWhereInput[]
|
|
370
|
+
status?: Prisma.Enumtask_statusFilter<"scheduled_tasks"> | $Enums.task_status
|
|
371
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFilter<"scheduled_tasks"> | $Enums.task_schedule_kind
|
|
372
|
+
run_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
373
|
+
cron_expr?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
374
|
+
timezone?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
375
|
+
next_run_at?: Prisma.DateTimeFilter<"scheduled_tasks"> | Date | string
|
|
376
|
+
running_started_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
377
|
+
last_run_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
378
|
+
last_error?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
379
|
+
attempts?: Prisma.IntFilter<"scheduled_tasks"> | number
|
|
380
|
+
payload_json?: Prisma.StringFilter<"scheduled_tasks"> | string
|
|
381
|
+
prompt_preview?: Prisma.StringFilter<"scheduled_tasks"> | string
|
|
382
|
+
channel_id?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
383
|
+
thread_id?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
384
|
+
session_id?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
385
|
+
project_directory?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
386
|
+
created_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
387
|
+
updated_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
388
|
+
channel?: Prisma.XOR<Prisma.Channel_directoriesNullableScalarRelationFilter, Prisma.channel_directoriesWhereInput> | null
|
|
389
|
+
thread?: Prisma.XOR<Prisma.Thread_sessionsNullableScalarRelationFilter, Prisma.thread_sessionsWhereInput> | null
|
|
390
|
+
session_start_sources?: Prisma.Session_start_sourcesListRelationFilter
|
|
391
|
+
}, "id">
|
|
392
|
+
|
|
393
|
+
export type scheduled_tasksOrderByWithAggregationInput = {
|
|
394
|
+
id?: Prisma.SortOrder
|
|
395
|
+
status?: Prisma.SortOrder
|
|
396
|
+
schedule_kind?: Prisma.SortOrder
|
|
397
|
+
run_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
398
|
+
cron_expr?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
399
|
+
timezone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
400
|
+
next_run_at?: Prisma.SortOrder
|
|
401
|
+
running_started_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
402
|
+
last_run_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
403
|
+
last_error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
404
|
+
attempts?: Prisma.SortOrder
|
|
405
|
+
payload_json?: Prisma.SortOrder
|
|
406
|
+
prompt_preview?: Prisma.SortOrder
|
|
407
|
+
channel_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
408
|
+
thread_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
409
|
+
session_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
410
|
+
project_directory?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
411
|
+
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
412
|
+
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
413
|
+
_count?: Prisma.scheduled_tasksCountOrderByAggregateInput
|
|
414
|
+
_avg?: Prisma.scheduled_tasksAvgOrderByAggregateInput
|
|
415
|
+
_max?: Prisma.scheduled_tasksMaxOrderByAggregateInput
|
|
416
|
+
_min?: Prisma.scheduled_tasksMinOrderByAggregateInput
|
|
417
|
+
_sum?: Prisma.scheduled_tasksSumOrderByAggregateInput
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export type scheduled_tasksScalarWhereWithAggregatesInput = {
|
|
421
|
+
AND?: Prisma.scheduled_tasksScalarWhereWithAggregatesInput | Prisma.scheduled_tasksScalarWhereWithAggregatesInput[]
|
|
422
|
+
OR?: Prisma.scheduled_tasksScalarWhereWithAggregatesInput[]
|
|
423
|
+
NOT?: Prisma.scheduled_tasksScalarWhereWithAggregatesInput | Prisma.scheduled_tasksScalarWhereWithAggregatesInput[]
|
|
424
|
+
id?: Prisma.IntWithAggregatesFilter<"scheduled_tasks"> | number
|
|
425
|
+
status?: Prisma.Enumtask_statusWithAggregatesFilter<"scheduled_tasks"> | $Enums.task_status
|
|
426
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindWithAggregatesFilter<"scheduled_tasks"> | $Enums.task_schedule_kind
|
|
427
|
+
run_at?: Prisma.DateTimeNullableWithAggregatesFilter<"scheduled_tasks"> | Date | string | null
|
|
428
|
+
cron_expr?: Prisma.StringNullableWithAggregatesFilter<"scheduled_tasks"> | string | null
|
|
429
|
+
timezone?: Prisma.StringNullableWithAggregatesFilter<"scheduled_tasks"> | string | null
|
|
430
|
+
next_run_at?: Prisma.DateTimeWithAggregatesFilter<"scheduled_tasks"> | Date | string
|
|
431
|
+
running_started_at?: Prisma.DateTimeNullableWithAggregatesFilter<"scheduled_tasks"> | Date | string | null
|
|
432
|
+
last_run_at?: Prisma.DateTimeNullableWithAggregatesFilter<"scheduled_tasks"> | Date | string | null
|
|
433
|
+
last_error?: Prisma.StringNullableWithAggregatesFilter<"scheduled_tasks"> | string | null
|
|
434
|
+
attempts?: Prisma.IntWithAggregatesFilter<"scheduled_tasks"> | number
|
|
435
|
+
payload_json?: Prisma.StringWithAggregatesFilter<"scheduled_tasks"> | string
|
|
436
|
+
prompt_preview?: Prisma.StringWithAggregatesFilter<"scheduled_tasks"> | string
|
|
437
|
+
channel_id?: Prisma.StringNullableWithAggregatesFilter<"scheduled_tasks"> | string | null
|
|
438
|
+
thread_id?: Prisma.StringNullableWithAggregatesFilter<"scheduled_tasks"> | string | null
|
|
439
|
+
session_id?: Prisma.StringNullableWithAggregatesFilter<"scheduled_tasks"> | string | null
|
|
440
|
+
project_directory?: Prisma.StringNullableWithAggregatesFilter<"scheduled_tasks"> | string | null
|
|
441
|
+
created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"scheduled_tasks"> | Date | string | null
|
|
442
|
+
updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"scheduled_tasks"> | Date | string | null
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export type scheduled_tasksCreateInput = {
|
|
446
|
+
status?: $Enums.task_status
|
|
447
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
448
|
+
run_at?: Date | string | null
|
|
449
|
+
cron_expr?: string | null
|
|
450
|
+
timezone?: string | null
|
|
451
|
+
next_run_at: Date | string
|
|
452
|
+
running_started_at?: Date | string | null
|
|
453
|
+
last_run_at?: Date | string | null
|
|
454
|
+
last_error?: string | null
|
|
455
|
+
attempts?: number
|
|
456
|
+
payload_json: string
|
|
457
|
+
prompt_preview: string
|
|
458
|
+
session_id?: string | null
|
|
459
|
+
project_directory?: string | null
|
|
460
|
+
created_at?: Date | string | null
|
|
461
|
+
updated_at?: Date | string | null
|
|
462
|
+
channel?: Prisma.channel_directoriesCreateNestedOneWithoutScheduled_tasksInput
|
|
463
|
+
thread?: Prisma.thread_sessionsCreateNestedOneWithoutScheduled_tasksInput
|
|
464
|
+
session_start_sources?: Prisma.session_start_sourcesCreateNestedManyWithoutScheduled_taskInput
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export type scheduled_tasksUncheckedCreateInput = {
|
|
468
|
+
id?: number
|
|
469
|
+
status?: $Enums.task_status
|
|
470
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
471
|
+
run_at?: Date | string | null
|
|
472
|
+
cron_expr?: string | null
|
|
473
|
+
timezone?: string | null
|
|
474
|
+
next_run_at: Date | string
|
|
475
|
+
running_started_at?: Date | string | null
|
|
476
|
+
last_run_at?: Date | string | null
|
|
477
|
+
last_error?: string | null
|
|
478
|
+
attempts?: number
|
|
479
|
+
payload_json: string
|
|
480
|
+
prompt_preview: string
|
|
481
|
+
channel_id?: string | null
|
|
482
|
+
thread_id?: string | null
|
|
483
|
+
session_id?: string | null
|
|
484
|
+
project_directory?: string | null
|
|
485
|
+
created_at?: Date | string | null
|
|
486
|
+
updated_at?: Date | string | null
|
|
487
|
+
session_start_sources?: Prisma.session_start_sourcesUncheckedCreateNestedManyWithoutScheduled_taskInput
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export type scheduled_tasksUpdateInput = {
|
|
491
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
492
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
493
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
494
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
495
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
496
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
497
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
498
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
499
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
500
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
501
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
502
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
503
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
504
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
505
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
506
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
507
|
+
channel?: Prisma.channel_directoriesUpdateOneWithoutScheduled_tasksNestedInput
|
|
508
|
+
thread?: Prisma.thread_sessionsUpdateOneWithoutScheduled_tasksNestedInput
|
|
509
|
+
session_start_sources?: Prisma.session_start_sourcesUpdateManyWithoutScheduled_taskNestedInput
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export type scheduled_tasksUncheckedUpdateInput = {
|
|
513
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
514
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
515
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
516
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
517
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
518
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
519
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
520
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
521
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
522
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
523
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
524
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
525
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
526
|
+
channel_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
527
|
+
thread_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
528
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
529
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
530
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
531
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
532
|
+
session_start_sources?: Prisma.session_start_sourcesUncheckedUpdateManyWithoutScheduled_taskNestedInput
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export type scheduled_tasksCreateManyInput = {
|
|
536
|
+
id?: number
|
|
537
|
+
status?: $Enums.task_status
|
|
538
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
539
|
+
run_at?: Date | string | null
|
|
540
|
+
cron_expr?: string | null
|
|
541
|
+
timezone?: string | null
|
|
542
|
+
next_run_at: Date | string
|
|
543
|
+
running_started_at?: Date | string | null
|
|
544
|
+
last_run_at?: Date | string | null
|
|
545
|
+
last_error?: string | null
|
|
546
|
+
attempts?: number
|
|
547
|
+
payload_json: string
|
|
548
|
+
prompt_preview: string
|
|
549
|
+
channel_id?: string | null
|
|
550
|
+
thread_id?: string | null
|
|
551
|
+
session_id?: string | null
|
|
552
|
+
project_directory?: string | null
|
|
553
|
+
created_at?: Date | string | null
|
|
554
|
+
updated_at?: Date | string | null
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export type scheduled_tasksUpdateManyMutationInput = {
|
|
558
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
559
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
560
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
561
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
562
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
563
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
564
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
565
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
566
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
567
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
568
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
569
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
570
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
571
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
572
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
573
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export type scheduled_tasksUncheckedUpdateManyInput = {
|
|
577
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
578
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
579
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
580
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
581
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
582
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
583
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
584
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
585
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
586
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
587
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
588
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
589
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
590
|
+
channel_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
591
|
+
thread_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
592
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
593
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
594
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
595
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export type Scheduled_tasksListRelationFilter = {
|
|
599
|
+
every?: Prisma.scheduled_tasksWhereInput
|
|
600
|
+
some?: Prisma.scheduled_tasksWhereInput
|
|
601
|
+
none?: Prisma.scheduled_tasksWhereInput
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export type scheduled_tasksOrderByRelationAggregateInput = {
|
|
605
|
+
_count?: Prisma.SortOrder
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export type scheduled_tasksCountOrderByAggregateInput = {
|
|
609
|
+
id?: Prisma.SortOrder
|
|
610
|
+
status?: Prisma.SortOrder
|
|
611
|
+
schedule_kind?: Prisma.SortOrder
|
|
612
|
+
run_at?: Prisma.SortOrder
|
|
613
|
+
cron_expr?: Prisma.SortOrder
|
|
614
|
+
timezone?: Prisma.SortOrder
|
|
615
|
+
next_run_at?: Prisma.SortOrder
|
|
616
|
+
running_started_at?: Prisma.SortOrder
|
|
617
|
+
last_run_at?: Prisma.SortOrder
|
|
618
|
+
last_error?: Prisma.SortOrder
|
|
619
|
+
attempts?: Prisma.SortOrder
|
|
620
|
+
payload_json?: Prisma.SortOrder
|
|
621
|
+
prompt_preview?: Prisma.SortOrder
|
|
622
|
+
channel_id?: Prisma.SortOrder
|
|
623
|
+
thread_id?: Prisma.SortOrder
|
|
624
|
+
session_id?: Prisma.SortOrder
|
|
625
|
+
project_directory?: Prisma.SortOrder
|
|
626
|
+
created_at?: Prisma.SortOrder
|
|
627
|
+
updated_at?: Prisma.SortOrder
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export type scheduled_tasksAvgOrderByAggregateInput = {
|
|
631
|
+
id?: Prisma.SortOrder
|
|
632
|
+
attempts?: Prisma.SortOrder
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export type scheduled_tasksMaxOrderByAggregateInput = {
|
|
636
|
+
id?: Prisma.SortOrder
|
|
637
|
+
status?: Prisma.SortOrder
|
|
638
|
+
schedule_kind?: Prisma.SortOrder
|
|
639
|
+
run_at?: Prisma.SortOrder
|
|
640
|
+
cron_expr?: Prisma.SortOrder
|
|
641
|
+
timezone?: Prisma.SortOrder
|
|
642
|
+
next_run_at?: Prisma.SortOrder
|
|
643
|
+
running_started_at?: Prisma.SortOrder
|
|
644
|
+
last_run_at?: Prisma.SortOrder
|
|
645
|
+
last_error?: Prisma.SortOrder
|
|
646
|
+
attempts?: Prisma.SortOrder
|
|
647
|
+
payload_json?: Prisma.SortOrder
|
|
648
|
+
prompt_preview?: Prisma.SortOrder
|
|
649
|
+
channel_id?: Prisma.SortOrder
|
|
650
|
+
thread_id?: Prisma.SortOrder
|
|
651
|
+
session_id?: Prisma.SortOrder
|
|
652
|
+
project_directory?: Prisma.SortOrder
|
|
653
|
+
created_at?: Prisma.SortOrder
|
|
654
|
+
updated_at?: Prisma.SortOrder
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
export type scheduled_tasksMinOrderByAggregateInput = {
|
|
658
|
+
id?: Prisma.SortOrder
|
|
659
|
+
status?: Prisma.SortOrder
|
|
660
|
+
schedule_kind?: Prisma.SortOrder
|
|
661
|
+
run_at?: Prisma.SortOrder
|
|
662
|
+
cron_expr?: Prisma.SortOrder
|
|
663
|
+
timezone?: Prisma.SortOrder
|
|
664
|
+
next_run_at?: Prisma.SortOrder
|
|
665
|
+
running_started_at?: Prisma.SortOrder
|
|
666
|
+
last_run_at?: Prisma.SortOrder
|
|
667
|
+
last_error?: Prisma.SortOrder
|
|
668
|
+
attempts?: Prisma.SortOrder
|
|
669
|
+
payload_json?: Prisma.SortOrder
|
|
670
|
+
prompt_preview?: Prisma.SortOrder
|
|
671
|
+
channel_id?: Prisma.SortOrder
|
|
672
|
+
thread_id?: Prisma.SortOrder
|
|
673
|
+
session_id?: Prisma.SortOrder
|
|
674
|
+
project_directory?: Prisma.SortOrder
|
|
675
|
+
created_at?: Prisma.SortOrder
|
|
676
|
+
updated_at?: Prisma.SortOrder
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export type scheduled_tasksSumOrderByAggregateInput = {
|
|
680
|
+
id?: Prisma.SortOrder
|
|
681
|
+
attempts?: Prisma.SortOrder
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
export type Scheduled_tasksNullableScalarRelationFilter = {
|
|
685
|
+
is?: Prisma.scheduled_tasksWhereInput | null
|
|
686
|
+
isNot?: Prisma.scheduled_tasksWhereInput | null
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export type scheduled_tasksCreateNestedManyWithoutThreadInput = {
|
|
690
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutThreadInput, Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput> | Prisma.scheduled_tasksCreateWithoutThreadInput[] | Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput[]
|
|
691
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutThreadInput | Prisma.scheduled_tasksCreateOrConnectWithoutThreadInput[]
|
|
692
|
+
createMany?: Prisma.scheduled_tasksCreateManyThreadInputEnvelope
|
|
693
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export type scheduled_tasksUncheckedCreateNestedManyWithoutThreadInput = {
|
|
697
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutThreadInput, Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput> | Prisma.scheduled_tasksCreateWithoutThreadInput[] | Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput[]
|
|
698
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutThreadInput | Prisma.scheduled_tasksCreateOrConnectWithoutThreadInput[]
|
|
699
|
+
createMany?: Prisma.scheduled_tasksCreateManyThreadInputEnvelope
|
|
700
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
export type scheduled_tasksUpdateManyWithoutThreadNestedInput = {
|
|
704
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutThreadInput, Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput> | Prisma.scheduled_tasksCreateWithoutThreadInput[] | Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput[]
|
|
705
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutThreadInput | Prisma.scheduled_tasksCreateOrConnectWithoutThreadInput[]
|
|
706
|
+
upsert?: Prisma.scheduled_tasksUpsertWithWhereUniqueWithoutThreadInput | Prisma.scheduled_tasksUpsertWithWhereUniqueWithoutThreadInput[]
|
|
707
|
+
createMany?: Prisma.scheduled_tasksCreateManyThreadInputEnvelope
|
|
708
|
+
set?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
709
|
+
disconnect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
710
|
+
delete?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
711
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
712
|
+
update?: Prisma.scheduled_tasksUpdateWithWhereUniqueWithoutThreadInput | Prisma.scheduled_tasksUpdateWithWhereUniqueWithoutThreadInput[]
|
|
713
|
+
updateMany?: Prisma.scheduled_tasksUpdateManyWithWhereWithoutThreadInput | Prisma.scheduled_tasksUpdateManyWithWhereWithoutThreadInput[]
|
|
714
|
+
deleteMany?: Prisma.scheduled_tasksScalarWhereInput | Prisma.scheduled_tasksScalarWhereInput[]
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export type scheduled_tasksUncheckedUpdateManyWithoutThreadNestedInput = {
|
|
718
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutThreadInput, Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput> | Prisma.scheduled_tasksCreateWithoutThreadInput[] | Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput[]
|
|
719
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutThreadInput | Prisma.scheduled_tasksCreateOrConnectWithoutThreadInput[]
|
|
720
|
+
upsert?: Prisma.scheduled_tasksUpsertWithWhereUniqueWithoutThreadInput | Prisma.scheduled_tasksUpsertWithWhereUniqueWithoutThreadInput[]
|
|
721
|
+
createMany?: Prisma.scheduled_tasksCreateManyThreadInputEnvelope
|
|
722
|
+
set?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
723
|
+
disconnect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
724
|
+
delete?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
725
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
726
|
+
update?: Prisma.scheduled_tasksUpdateWithWhereUniqueWithoutThreadInput | Prisma.scheduled_tasksUpdateWithWhereUniqueWithoutThreadInput[]
|
|
727
|
+
updateMany?: Prisma.scheduled_tasksUpdateManyWithWhereWithoutThreadInput | Prisma.scheduled_tasksUpdateManyWithWhereWithoutThreadInput[]
|
|
728
|
+
deleteMany?: Prisma.scheduled_tasksScalarWhereInput | Prisma.scheduled_tasksScalarWhereInput[]
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export type scheduled_tasksCreateNestedManyWithoutChannelInput = {
|
|
732
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutChannelInput, Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput> | Prisma.scheduled_tasksCreateWithoutChannelInput[] | Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput[]
|
|
733
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutChannelInput | Prisma.scheduled_tasksCreateOrConnectWithoutChannelInput[]
|
|
734
|
+
createMany?: Prisma.scheduled_tasksCreateManyChannelInputEnvelope
|
|
735
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
export type scheduled_tasksUncheckedCreateNestedManyWithoutChannelInput = {
|
|
739
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutChannelInput, Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput> | Prisma.scheduled_tasksCreateWithoutChannelInput[] | Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput[]
|
|
740
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutChannelInput | Prisma.scheduled_tasksCreateOrConnectWithoutChannelInput[]
|
|
741
|
+
createMany?: Prisma.scheduled_tasksCreateManyChannelInputEnvelope
|
|
742
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
export type scheduled_tasksUpdateManyWithoutChannelNestedInput = {
|
|
746
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutChannelInput, Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput> | Prisma.scheduled_tasksCreateWithoutChannelInput[] | Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput[]
|
|
747
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutChannelInput | Prisma.scheduled_tasksCreateOrConnectWithoutChannelInput[]
|
|
748
|
+
upsert?: Prisma.scheduled_tasksUpsertWithWhereUniqueWithoutChannelInput | Prisma.scheduled_tasksUpsertWithWhereUniqueWithoutChannelInput[]
|
|
749
|
+
createMany?: Prisma.scheduled_tasksCreateManyChannelInputEnvelope
|
|
750
|
+
set?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
751
|
+
disconnect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
752
|
+
delete?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
753
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
754
|
+
update?: Prisma.scheduled_tasksUpdateWithWhereUniqueWithoutChannelInput | Prisma.scheduled_tasksUpdateWithWhereUniqueWithoutChannelInput[]
|
|
755
|
+
updateMany?: Prisma.scheduled_tasksUpdateManyWithWhereWithoutChannelInput | Prisma.scheduled_tasksUpdateManyWithWhereWithoutChannelInput[]
|
|
756
|
+
deleteMany?: Prisma.scheduled_tasksScalarWhereInput | Prisma.scheduled_tasksScalarWhereInput[]
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
export type scheduled_tasksUncheckedUpdateManyWithoutChannelNestedInput = {
|
|
760
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutChannelInput, Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput> | Prisma.scheduled_tasksCreateWithoutChannelInput[] | Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput[]
|
|
761
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutChannelInput | Prisma.scheduled_tasksCreateOrConnectWithoutChannelInput[]
|
|
762
|
+
upsert?: Prisma.scheduled_tasksUpsertWithWhereUniqueWithoutChannelInput | Prisma.scheduled_tasksUpsertWithWhereUniqueWithoutChannelInput[]
|
|
763
|
+
createMany?: Prisma.scheduled_tasksCreateManyChannelInputEnvelope
|
|
764
|
+
set?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
765
|
+
disconnect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
766
|
+
delete?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
767
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput | Prisma.scheduled_tasksWhereUniqueInput[]
|
|
768
|
+
update?: Prisma.scheduled_tasksUpdateWithWhereUniqueWithoutChannelInput | Prisma.scheduled_tasksUpdateWithWhereUniqueWithoutChannelInput[]
|
|
769
|
+
updateMany?: Prisma.scheduled_tasksUpdateManyWithWhereWithoutChannelInput | Prisma.scheduled_tasksUpdateManyWithWhereWithoutChannelInput[]
|
|
770
|
+
deleteMany?: Prisma.scheduled_tasksScalarWhereInput | Prisma.scheduled_tasksScalarWhereInput[]
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
export type Enumtask_statusFieldUpdateOperationsInput = {
|
|
774
|
+
set?: $Enums.task_status
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export type Enumtask_schedule_kindFieldUpdateOperationsInput = {
|
|
778
|
+
set?: $Enums.task_schedule_kind
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
export type DateTimeFieldUpdateOperationsInput = {
|
|
782
|
+
set?: Date | string
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
export type scheduled_tasksCreateNestedOneWithoutSession_start_sourcesInput = {
|
|
786
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutSession_start_sourcesInput, Prisma.scheduled_tasksUncheckedCreateWithoutSession_start_sourcesInput>
|
|
787
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutSession_start_sourcesInput
|
|
788
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
export type scheduled_tasksUpdateOneWithoutSession_start_sourcesNestedInput = {
|
|
792
|
+
create?: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutSession_start_sourcesInput, Prisma.scheduled_tasksUncheckedCreateWithoutSession_start_sourcesInput>
|
|
793
|
+
connectOrCreate?: Prisma.scheduled_tasksCreateOrConnectWithoutSession_start_sourcesInput
|
|
794
|
+
upsert?: Prisma.scheduled_tasksUpsertWithoutSession_start_sourcesInput
|
|
795
|
+
disconnect?: Prisma.scheduled_tasksWhereInput | boolean
|
|
796
|
+
delete?: Prisma.scheduled_tasksWhereInput | boolean
|
|
797
|
+
connect?: Prisma.scheduled_tasksWhereUniqueInput
|
|
798
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.scheduled_tasksUpdateToOneWithWhereWithoutSession_start_sourcesInput, Prisma.scheduled_tasksUpdateWithoutSession_start_sourcesInput>, Prisma.scheduled_tasksUncheckedUpdateWithoutSession_start_sourcesInput>
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
export type scheduled_tasksCreateWithoutThreadInput = {
|
|
802
|
+
status?: $Enums.task_status
|
|
803
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
804
|
+
run_at?: Date | string | null
|
|
805
|
+
cron_expr?: string | null
|
|
806
|
+
timezone?: string | null
|
|
807
|
+
next_run_at: Date | string
|
|
808
|
+
running_started_at?: Date | string | null
|
|
809
|
+
last_run_at?: Date | string | null
|
|
810
|
+
last_error?: string | null
|
|
811
|
+
attempts?: number
|
|
812
|
+
payload_json: string
|
|
813
|
+
prompt_preview: string
|
|
814
|
+
session_id?: string | null
|
|
815
|
+
project_directory?: string | null
|
|
816
|
+
created_at?: Date | string | null
|
|
817
|
+
updated_at?: Date | string | null
|
|
818
|
+
channel?: Prisma.channel_directoriesCreateNestedOneWithoutScheduled_tasksInput
|
|
819
|
+
session_start_sources?: Prisma.session_start_sourcesCreateNestedManyWithoutScheduled_taskInput
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
export type scheduled_tasksUncheckedCreateWithoutThreadInput = {
|
|
823
|
+
id?: number
|
|
824
|
+
status?: $Enums.task_status
|
|
825
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
826
|
+
run_at?: Date | string | null
|
|
827
|
+
cron_expr?: string | null
|
|
828
|
+
timezone?: string | null
|
|
829
|
+
next_run_at: Date | string
|
|
830
|
+
running_started_at?: Date | string | null
|
|
831
|
+
last_run_at?: Date | string | null
|
|
832
|
+
last_error?: string | null
|
|
833
|
+
attempts?: number
|
|
834
|
+
payload_json: string
|
|
835
|
+
prompt_preview: string
|
|
836
|
+
channel_id?: string | null
|
|
837
|
+
session_id?: string | null
|
|
838
|
+
project_directory?: string | null
|
|
839
|
+
created_at?: Date | string | null
|
|
840
|
+
updated_at?: Date | string | null
|
|
841
|
+
session_start_sources?: Prisma.session_start_sourcesUncheckedCreateNestedManyWithoutScheduled_taskInput
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export type scheduled_tasksCreateOrConnectWithoutThreadInput = {
|
|
845
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
846
|
+
create: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutThreadInput, Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput>
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
export type scheduled_tasksCreateManyThreadInputEnvelope = {
|
|
850
|
+
data: Prisma.scheduled_tasksCreateManyThreadInput | Prisma.scheduled_tasksCreateManyThreadInput[]
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
export type scheduled_tasksUpsertWithWhereUniqueWithoutThreadInput = {
|
|
854
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
855
|
+
update: Prisma.XOR<Prisma.scheduled_tasksUpdateWithoutThreadInput, Prisma.scheduled_tasksUncheckedUpdateWithoutThreadInput>
|
|
856
|
+
create: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutThreadInput, Prisma.scheduled_tasksUncheckedCreateWithoutThreadInput>
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
export type scheduled_tasksUpdateWithWhereUniqueWithoutThreadInput = {
|
|
860
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
861
|
+
data: Prisma.XOR<Prisma.scheduled_tasksUpdateWithoutThreadInput, Prisma.scheduled_tasksUncheckedUpdateWithoutThreadInput>
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export type scheduled_tasksUpdateManyWithWhereWithoutThreadInput = {
|
|
865
|
+
where: Prisma.scheduled_tasksScalarWhereInput
|
|
866
|
+
data: Prisma.XOR<Prisma.scheduled_tasksUpdateManyMutationInput, Prisma.scheduled_tasksUncheckedUpdateManyWithoutThreadInput>
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
export type scheduled_tasksScalarWhereInput = {
|
|
870
|
+
AND?: Prisma.scheduled_tasksScalarWhereInput | Prisma.scheduled_tasksScalarWhereInput[]
|
|
871
|
+
OR?: Prisma.scheduled_tasksScalarWhereInput[]
|
|
872
|
+
NOT?: Prisma.scheduled_tasksScalarWhereInput | Prisma.scheduled_tasksScalarWhereInput[]
|
|
873
|
+
id?: Prisma.IntFilter<"scheduled_tasks"> | number
|
|
874
|
+
status?: Prisma.Enumtask_statusFilter<"scheduled_tasks"> | $Enums.task_status
|
|
875
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFilter<"scheduled_tasks"> | $Enums.task_schedule_kind
|
|
876
|
+
run_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
877
|
+
cron_expr?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
878
|
+
timezone?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
879
|
+
next_run_at?: Prisma.DateTimeFilter<"scheduled_tasks"> | Date | string
|
|
880
|
+
running_started_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
881
|
+
last_run_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
882
|
+
last_error?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
883
|
+
attempts?: Prisma.IntFilter<"scheduled_tasks"> | number
|
|
884
|
+
payload_json?: Prisma.StringFilter<"scheduled_tasks"> | string
|
|
885
|
+
prompt_preview?: Prisma.StringFilter<"scheduled_tasks"> | string
|
|
886
|
+
channel_id?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
887
|
+
thread_id?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
888
|
+
session_id?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
889
|
+
project_directory?: Prisma.StringNullableFilter<"scheduled_tasks"> | string | null
|
|
890
|
+
created_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
891
|
+
updated_at?: Prisma.DateTimeNullableFilter<"scheduled_tasks"> | Date | string | null
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
export type scheduled_tasksCreateWithoutChannelInput = {
|
|
895
|
+
status?: $Enums.task_status
|
|
896
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
897
|
+
run_at?: Date | string | null
|
|
898
|
+
cron_expr?: string | null
|
|
899
|
+
timezone?: string | null
|
|
900
|
+
next_run_at: Date | string
|
|
901
|
+
running_started_at?: Date | string | null
|
|
902
|
+
last_run_at?: Date | string | null
|
|
903
|
+
last_error?: string | null
|
|
904
|
+
attempts?: number
|
|
905
|
+
payload_json: string
|
|
906
|
+
prompt_preview: string
|
|
907
|
+
session_id?: string | null
|
|
908
|
+
project_directory?: string | null
|
|
909
|
+
created_at?: Date | string | null
|
|
910
|
+
updated_at?: Date | string | null
|
|
911
|
+
thread?: Prisma.thread_sessionsCreateNestedOneWithoutScheduled_tasksInput
|
|
912
|
+
session_start_sources?: Prisma.session_start_sourcesCreateNestedManyWithoutScheduled_taskInput
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
export type scheduled_tasksUncheckedCreateWithoutChannelInput = {
|
|
916
|
+
id?: number
|
|
917
|
+
status?: $Enums.task_status
|
|
918
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
919
|
+
run_at?: Date | string | null
|
|
920
|
+
cron_expr?: string | null
|
|
921
|
+
timezone?: string | null
|
|
922
|
+
next_run_at: Date | string
|
|
923
|
+
running_started_at?: Date | string | null
|
|
924
|
+
last_run_at?: Date | string | null
|
|
925
|
+
last_error?: string | null
|
|
926
|
+
attempts?: number
|
|
927
|
+
payload_json: string
|
|
928
|
+
prompt_preview: string
|
|
929
|
+
thread_id?: string | null
|
|
930
|
+
session_id?: string | null
|
|
931
|
+
project_directory?: string | null
|
|
932
|
+
created_at?: Date | string | null
|
|
933
|
+
updated_at?: Date | string | null
|
|
934
|
+
session_start_sources?: Prisma.session_start_sourcesUncheckedCreateNestedManyWithoutScheduled_taskInput
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
export type scheduled_tasksCreateOrConnectWithoutChannelInput = {
|
|
938
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
939
|
+
create: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutChannelInput, Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput>
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
export type scheduled_tasksCreateManyChannelInputEnvelope = {
|
|
943
|
+
data: Prisma.scheduled_tasksCreateManyChannelInput | Prisma.scheduled_tasksCreateManyChannelInput[]
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export type scheduled_tasksUpsertWithWhereUniqueWithoutChannelInput = {
|
|
947
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
948
|
+
update: Prisma.XOR<Prisma.scheduled_tasksUpdateWithoutChannelInput, Prisma.scheduled_tasksUncheckedUpdateWithoutChannelInput>
|
|
949
|
+
create: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutChannelInput, Prisma.scheduled_tasksUncheckedCreateWithoutChannelInput>
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
export type scheduled_tasksUpdateWithWhereUniqueWithoutChannelInput = {
|
|
953
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
954
|
+
data: Prisma.XOR<Prisma.scheduled_tasksUpdateWithoutChannelInput, Prisma.scheduled_tasksUncheckedUpdateWithoutChannelInput>
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
export type scheduled_tasksUpdateManyWithWhereWithoutChannelInput = {
|
|
958
|
+
where: Prisma.scheduled_tasksScalarWhereInput
|
|
959
|
+
data: Prisma.XOR<Prisma.scheduled_tasksUpdateManyMutationInput, Prisma.scheduled_tasksUncheckedUpdateManyWithoutChannelInput>
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
export type scheduled_tasksCreateWithoutSession_start_sourcesInput = {
|
|
963
|
+
status?: $Enums.task_status
|
|
964
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
965
|
+
run_at?: Date | string | null
|
|
966
|
+
cron_expr?: string | null
|
|
967
|
+
timezone?: string | null
|
|
968
|
+
next_run_at: Date | string
|
|
969
|
+
running_started_at?: Date | string | null
|
|
970
|
+
last_run_at?: Date | string | null
|
|
971
|
+
last_error?: string | null
|
|
972
|
+
attempts?: number
|
|
973
|
+
payload_json: string
|
|
974
|
+
prompt_preview: string
|
|
975
|
+
session_id?: string | null
|
|
976
|
+
project_directory?: string | null
|
|
977
|
+
created_at?: Date | string | null
|
|
978
|
+
updated_at?: Date | string | null
|
|
979
|
+
channel?: Prisma.channel_directoriesCreateNestedOneWithoutScheduled_tasksInput
|
|
980
|
+
thread?: Prisma.thread_sessionsCreateNestedOneWithoutScheduled_tasksInput
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
export type scheduled_tasksUncheckedCreateWithoutSession_start_sourcesInput = {
|
|
984
|
+
id?: number
|
|
985
|
+
status?: $Enums.task_status
|
|
986
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
987
|
+
run_at?: Date | string | null
|
|
988
|
+
cron_expr?: string | null
|
|
989
|
+
timezone?: string | null
|
|
990
|
+
next_run_at: Date | string
|
|
991
|
+
running_started_at?: Date | string | null
|
|
992
|
+
last_run_at?: Date | string | null
|
|
993
|
+
last_error?: string | null
|
|
994
|
+
attempts?: number
|
|
995
|
+
payload_json: string
|
|
996
|
+
prompt_preview: string
|
|
997
|
+
channel_id?: string | null
|
|
998
|
+
thread_id?: string | null
|
|
999
|
+
session_id?: string | null
|
|
1000
|
+
project_directory?: string | null
|
|
1001
|
+
created_at?: Date | string | null
|
|
1002
|
+
updated_at?: Date | string | null
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
export type scheduled_tasksCreateOrConnectWithoutSession_start_sourcesInput = {
|
|
1006
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
1007
|
+
create: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutSession_start_sourcesInput, Prisma.scheduled_tasksUncheckedCreateWithoutSession_start_sourcesInput>
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
export type scheduled_tasksUpsertWithoutSession_start_sourcesInput = {
|
|
1011
|
+
update: Prisma.XOR<Prisma.scheduled_tasksUpdateWithoutSession_start_sourcesInput, Prisma.scheduled_tasksUncheckedUpdateWithoutSession_start_sourcesInput>
|
|
1012
|
+
create: Prisma.XOR<Prisma.scheduled_tasksCreateWithoutSession_start_sourcesInput, Prisma.scheduled_tasksUncheckedCreateWithoutSession_start_sourcesInput>
|
|
1013
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
export type scheduled_tasksUpdateToOneWithWhereWithoutSession_start_sourcesInput = {
|
|
1017
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
1018
|
+
data: Prisma.XOR<Prisma.scheduled_tasksUpdateWithoutSession_start_sourcesInput, Prisma.scheduled_tasksUncheckedUpdateWithoutSession_start_sourcesInput>
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
export type scheduled_tasksUpdateWithoutSession_start_sourcesInput = {
|
|
1022
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
1023
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
1024
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1025
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1026
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1027
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1028
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1029
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1030
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1031
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1032
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1033
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1034
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1035
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1036
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1037
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1038
|
+
channel?: Prisma.channel_directoriesUpdateOneWithoutScheduled_tasksNestedInput
|
|
1039
|
+
thread?: Prisma.thread_sessionsUpdateOneWithoutScheduled_tasksNestedInput
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
export type scheduled_tasksUncheckedUpdateWithoutSession_start_sourcesInput = {
|
|
1043
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1044
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
1045
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
1046
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1047
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1048
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1049
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1050
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1051
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1052
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1053
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1054
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1055
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1056
|
+
channel_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1057
|
+
thread_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1058
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1059
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1060
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1061
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
export type scheduled_tasksCreateManyThreadInput = {
|
|
1065
|
+
id?: number
|
|
1066
|
+
status?: $Enums.task_status
|
|
1067
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
1068
|
+
run_at?: Date | string | null
|
|
1069
|
+
cron_expr?: string | null
|
|
1070
|
+
timezone?: string | null
|
|
1071
|
+
next_run_at: Date | string
|
|
1072
|
+
running_started_at?: Date | string | null
|
|
1073
|
+
last_run_at?: Date | string | null
|
|
1074
|
+
last_error?: string | null
|
|
1075
|
+
attempts?: number
|
|
1076
|
+
payload_json: string
|
|
1077
|
+
prompt_preview: string
|
|
1078
|
+
channel_id?: string | null
|
|
1079
|
+
session_id?: string | null
|
|
1080
|
+
project_directory?: string | null
|
|
1081
|
+
created_at?: Date | string | null
|
|
1082
|
+
updated_at?: Date | string | null
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
export type scheduled_tasksUpdateWithoutThreadInput = {
|
|
1086
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
1087
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
1088
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1089
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1090
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1091
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1092
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1093
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1094
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1095
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1096
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1097
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1098
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1099
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1100
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1101
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1102
|
+
channel?: Prisma.channel_directoriesUpdateOneWithoutScheduled_tasksNestedInput
|
|
1103
|
+
session_start_sources?: Prisma.session_start_sourcesUpdateManyWithoutScheduled_taskNestedInput
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
export type scheduled_tasksUncheckedUpdateWithoutThreadInput = {
|
|
1107
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1108
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
1109
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
1110
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1111
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1112
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1113
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1114
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1115
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1116
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1117
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1118
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1119
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1120
|
+
channel_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1121
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1122
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1123
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1124
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1125
|
+
session_start_sources?: Prisma.session_start_sourcesUncheckedUpdateManyWithoutScheduled_taskNestedInput
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
export type scheduled_tasksUncheckedUpdateManyWithoutThreadInput = {
|
|
1129
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1130
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
1131
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
1132
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1133
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1134
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1135
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1136
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1137
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1138
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1139
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1140
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1141
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1142
|
+
channel_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1143
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1144
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1145
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1146
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
export type scheduled_tasksCreateManyChannelInput = {
|
|
1150
|
+
id?: number
|
|
1151
|
+
status?: $Enums.task_status
|
|
1152
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
1153
|
+
run_at?: Date | string | null
|
|
1154
|
+
cron_expr?: string | null
|
|
1155
|
+
timezone?: string | null
|
|
1156
|
+
next_run_at: Date | string
|
|
1157
|
+
running_started_at?: Date | string | null
|
|
1158
|
+
last_run_at?: Date | string | null
|
|
1159
|
+
last_error?: string | null
|
|
1160
|
+
attempts?: number
|
|
1161
|
+
payload_json: string
|
|
1162
|
+
prompt_preview: string
|
|
1163
|
+
thread_id?: string | null
|
|
1164
|
+
session_id?: string | null
|
|
1165
|
+
project_directory?: string | null
|
|
1166
|
+
created_at?: Date | string | null
|
|
1167
|
+
updated_at?: Date | string | null
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
export type scheduled_tasksUpdateWithoutChannelInput = {
|
|
1171
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
1172
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
1173
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1174
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1175
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1176
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1177
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1178
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1179
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1180
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1181
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1182
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1183
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1184
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1185
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1186
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1187
|
+
thread?: Prisma.thread_sessionsUpdateOneWithoutScheduled_tasksNestedInput
|
|
1188
|
+
session_start_sources?: Prisma.session_start_sourcesUpdateManyWithoutScheduled_taskNestedInput
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
export type scheduled_tasksUncheckedUpdateWithoutChannelInput = {
|
|
1192
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1193
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
1194
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
1195
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1196
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1197
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1198
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1199
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1200
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1201
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1202
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1203
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1204
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1205
|
+
thread_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1206
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1207
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1208
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1209
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1210
|
+
session_start_sources?: Prisma.session_start_sourcesUncheckedUpdateManyWithoutScheduled_taskNestedInput
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
export type scheduled_tasksUncheckedUpdateManyWithoutChannelInput = {
|
|
1214
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1215
|
+
status?: Prisma.Enumtask_statusFieldUpdateOperationsInput | $Enums.task_status
|
|
1216
|
+
schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
|
|
1217
|
+
run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1218
|
+
cron_expr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1219
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1220
|
+
next_run_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1221
|
+
running_started_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1222
|
+
last_run_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1223
|
+
last_error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1224
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1225
|
+
payload_json?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1226
|
+
prompt_preview?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1227
|
+
thread_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1228
|
+
session_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1229
|
+
project_directory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1230
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1231
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* Count Type Scheduled_tasksCountOutputType
|
|
1237
|
+
*/
|
|
1238
|
+
|
|
1239
|
+
export type Scheduled_tasksCountOutputType = {
|
|
1240
|
+
session_start_sources: number
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
export type Scheduled_tasksCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1244
|
+
session_start_sources?: boolean | Scheduled_tasksCountOutputTypeCountSession_start_sourcesArgs
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Scheduled_tasksCountOutputType without action
|
|
1249
|
+
*/
|
|
1250
|
+
export type Scheduled_tasksCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1251
|
+
/**
|
|
1252
|
+
* Select specific fields to fetch from the Scheduled_tasksCountOutputType
|
|
1253
|
+
*/
|
|
1254
|
+
select?: Prisma.Scheduled_tasksCountOutputTypeSelect<ExtArgs> | null
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* Scheduled_tasksCountOutputType without action
|
|
1259
|
+
*/
|
|
1260
|
+
export type Scheduled_tasksCountOutputTypeCountSession_start_sourcesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1261
|
+
where?: Prisma.session_start_sourcesWhereInput
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
export type scheduled_tasksSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1266
|
+
id?: boolean
|
|
1267
|
+
status?: boolean
|
|
1268
|
+
schedule_kind?: boolean
|
|
1269
|
+
run_at?: boolean
|
|
1270
|
+
cron_expr?: boolean
|
|
1271
|
+
timezone?: boolean
|
|
1272
|
+
next_run_at?: boolean
|
|
1273
|
+
running_started_at?: boolean
|
|
1274
|
+
last_run_at?: boolean
|
|
1275
|
+
last_error?: boolean
|
|
1276
|
+
attempts?: boolean
|
|
1277
|
+
payload_json?: boolean
|
|
1278
|
+
prompt_preview?: boolean
|
|
1279
|
+
channel_id?: boolean
|
|
1280
|
+
thread_id?: boolean
|
|
1281
|
+
session_id?: boolean
|
|
1282
|
+
project_directory?: boolean
|
|
1283
|
+
created_at?: boolean
|
|
1284
|
+
updated_at?: boolean
|
|
1285
|
+
channel?: boolean | Prisma.scheduled_tasks$channelArgs<ExtArgs>
|
|
1286
|
+
thread?: boolean | Prisma.scheduled_tasks$threadArgs<ExtArgs>
|
|
1287
|
+
session_start_sources?: boolean | Prisma.scheduled_tasks$session_start_sourcesArgs<ExtArgs>
|
|
1288
|
+
_count?: boolean | Prisma.Scheduled_tasksCountOutputTypeDefaultArgs<ExtArgs>
|
|
1289
|
+
}, ExtArgs["result"]["scheduled_tasks"]>
|
|
1290
|
+
|
|
1291
|
+
export type scheduled_tasksSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1292
|
+
id?: boolean
|
|
1293
|
+
status?: boolean
|
|
1294
|
+
schedule_kind?: boolean
|
|
1295
|
+
run_at?: boolean
|
|
1296
|
+
cron_expr?: boolean
|
|
1297
|
+
timezone?: boolean
|
|
1298
|
+
next_run_at?: boolean
|
|
1299
|
+
running_started_at?: boolean
|
|
1300
|
+
last_run_at?: boolean
|
|
1301
|
+
last_error?: boolean
|
|
1302
|
+
attempts?: boolean
|
|
1303
|
+
payload_json?: boolean
|
|
1304
|
+
prompt_preview?: boolean
|
|
1305
|
+
channel_id?: boolean
|
|
1306
|
+
thread_id?: boolean
|
|
1307
|
+
session_id?: boolean
|
|
1308
|
+
project_directory?: boolean
|
|
1309
|
+
created_at?: boolean
|
|
1310
|
+
updated_at?: boolean
|
|
1311
|
+
channel?: boolean | Prisma.scheduled_tasks$channelArgs<ExtArgs>
|
|
1312
|
+
thread?: boolean | Prisma.scheduled_tasks$threadArgs<ExtArgs>
|
|
1313
|
+
}, ExtArgs["result"]["scheduled_tasks"]>
|
|
1314
|
+
|
|
1315
|
+
export type scheduled_tasksSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1316
|
+
id?: boolean
|
|
1317
|
+
status?: boolean
|
|
1318
|
+
schedule_kind?: boolean
|
|
1319
|
+
run_at?: boolean
|
|
1320
|
+
cron_expr?: boolean
|
|
1321
|
+
timezone?: boolean
|
|
1322
|
+
next_run_at?: boolean
|
|
1323
|
+
running_started_at?: boolean
|
|
1324
|
+
last_run_at?: boolean
|
|
1325
|
+
last_error?: boolean
|
|
1326
|
+
attempts?: boolean
|
|
1327
|
+
payload_json?: boolean
|
|
1328
|
+
prompt_preview?: boolean
|
|
1329
|
+
channel_id?: boolean
|
|
1330
|
+
thread_id?: boolean
|
|
1331
|
+
session_id?: boolean
|
|
1332
|
+
project_directory?: boolean
|
|
1333
|
+
created_at?: boolean
|
|
1334
|
+
updated_at?: boolean
|
|
1335
|
+
channel?: boolean | Prisma.scheduled_tasks$channelArgs<ExtArgs>
|
|
1336
|
+
thread?: boolean | Prisma.scheduled_tasks$threadArgs<ExtArgs>
|
|
1337
|
+
}, ExtArgs["result"]["scheduled_tasks"]>
|
|
1338
|
+
|
|
1339
|
+
export type scheduled_tasksSelectScalar = {
|
|
1340
|
+
id?: boolean
|
|
1341
|
+
status?: boolean
|
|
1342
|
+
schedule_kind?: boolean
|
|
1343
|
+
run_at?: boolean
|
|
1344
|
+
cron_expr?: boolean
|
|
1345
|
+
timezone?: boolean
|
|
1346
|
+
next_run_at?: boolean
|
|
1347
|
+
running_started_at?: boolean
|
|
1348
|
+
last_run_at?: boolean
|
|
1349
|
+
last_error?: boolean
|
|
1350
|
+
attempts?: boolean
|
|
1351
|
+
payload_json?: boolean
|
|
1352
|
+
prompt_preview?: boolean
|
|
1353
|
+
channel_id?: boolean
|
|
1354
|
+
thread_id?: boolean
|
|
1355
|
+
session_id?: boolean
|
|
1356
|
+
project_directory?: boolean
|
|
1357
|
+
created_at?: boolean
|
|
1358
|
+
updated_at?: boolean
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
export type scheduled_tasksOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "status" | "schedule_kind" | "run_at" | "cron_expr" | "timezone" | "next_run_at" | "running_started_at" | "last_run_at" | "last_error" | "attempts" | "payload_json" | "prompt_preview" | "channel_id" | "thread_id" | "session_id" | "project_directory" | "created_at" | "updated_at", ExtArgs["result"]["scheduled_tasks"]>
|
|
1362
|
+
export type scheduled_tasksInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1363
|
+
channel?: boolean | Prisma.scheduled_tasks$channelArgs<ExtArgs>
|
|
1364
|
+
thread?: boolean | Prisma.scheduled_tasks$threadArgs<ExtArgs>
|
|
1365
|
+
session_start_sources?: boolean | Prisma.scheduled_tasks$session_start_sourcesArgs<ExtArgs>
|
|
1366
|
+
_count?: boolean | Prisma.Scheduled_tasksCountOutputTypeDefaultArgs<ExtArgs>
|
|
1367
|
+
}
|
|
1368
|
+
export type scheduled_tasksIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1369
|
+
channel?: boolean | Prisma.scheduled_tasks$channelArgs<ExtArgs>
|
|
1370
|
+
thread?: boolean | Prisma.scheduled_tasks$threadArgs<ExtArgs>
|
|
1371
|
+
}
|
|
1372
|
+
export type scheduled_tasksIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1373
|
+
channel?: boolean | Prisma.scheduled_tasks$channelArgs<ExtArgs>
|
|
1374
|
+
thread?: boolean | Prisma.scheduled_tasks$threadArgs<ExtArgs>
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
export type $scheduled_tasksPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1378
|
+
name: "scheduled_tasks"
|
|
1379
|
+
objects: {
|
|
1380
|
+
channel: Prisma.$channel_directoriesPayload<ExtArgs> | null
|
|
1381
|
+
thread: Prisma.$thread_sessionsPayload<ExtArgs> | null
|
|
1382
|
+
session_start_sources: Prisma.$session_start_sourcesPayload<ExtArgs>[]
|
|
1383
|
+
}
|
|
1384
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1385
|
+
id: number
|
|
1386
|
+
status: $Enums.task_status
|
|
1387
|
+
schedule_kind: $Enums.task_schedule_kind
|
|
1388
|
+
run_at: Date | null
|
|
1389
|
+
cron_expr: string | null
|
|
1390
|
+
timezone: string | null
|
|
1391
|
+
next_run_at: Date
|
|
1392
|
+
running_started_at: Date | null
|
|
1393
|
+
last_run_at: Date | null
|
|
1394
|
+
last_error: string | null
|
|
1395
|
+
attempts: number
|
|
1396
|
+
payload_json: string
|
|
1397
|
+
prompt_preview: string
|
|
1398
|
+
channel_id: string | null
|
|
1399
|
+
thread_id: string | null
|
|
1400
|
+
session_id: string | null
|
|
1401
|
+
project_directory: string | null
|
|
1402
|
+
created_at: Date | null
|
|
1403
|
+
updated_at: Date | null
|
|
1404
|
+
}, ExtArgs["result"]["scheduled_tasks"]>
|
|
1405
|
+
composites: {}
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
export type scheduled_tasksGetPayload<S extends boolean | null | undefined | scheduled_tasksDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload, S>
|
|
1409
|
+
|
|
1410
|
+
export type scheduled_tasksCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1411
|
+
Omit<scheduled_tasksFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1412
|
+
select?: Scheduled_tasksCountAggregateInputType | true
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
export interface scheduled_tasksDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1416
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['scheduled_tasks'], meta: { name: 'scheduled_tasks' } }
|
|
1417
|
+
/**
|
|
1418
|
+
* Find zero or one Scheduled_tasks that matches the filter.
|
|
1419
|
+
* @param {scheduled_tasksFindUniqueArgs} args - Arguments to find a Scheduled_tasks
|
|
1420
|
+
* @example
|
|
1421
|
+
* // Get one Scheduled_tasks
|
|
1422
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.findUnique({
|
|
1423
|
+
* where: {
|
|
1424
|
+
* // ... provide filter here
|
|
1425
|
+
* }
|
|
1426
|
+
* })
|
|
1427
|
+
*/
|
|
1428
|
+
findUnique<T extends scheduled_tasksFindUniqueArgs>(args: Prisma.SelectSubset<T, scheduled_tasksFindUniqueArgs<ExtArgs>>): Prisma.Prisma__scheduled_tasksClient<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* Find one Scheduled_tasks that matches the filter or throw an error with `error.code='P2025'`
|
|
1432
|
+
* if no matches were found.
|
|
1433
|
+
* @param {scheduled_tasksFindUniqueOrThrowArgs} args - Arguments to find a Scheduled_tasks
|
|
1434
|
+
* @example
|
|
1435
|
+
* // Get one Scheduled_tasks
|
|
1436
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.findUniqueOrThrow({
|
|
1437
|
+
* where: {
|
|
1438
|
+
* // ... provide filter here
|
|
1439
|
+
* }
|
|
1440
|
+
* })
|
|
1441
|
+
*/
|
|
1442
|
+
findUniqueOrThrow<T extends scheduled_tasksFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, scheduled_tasksFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__scheduled_tasksClient<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* Find the first Scheduled_tasks that matches the filter.
|
|
1446
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1447
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1448
|
+
* @param {scheduled_tasksFindFirstArgs} args - Arguments to find a Scheduled_tasks
|
|
1449
|
+
* @example
|
|
1450
|
+
* // Get one Scheduled_tasks
|
|
1451
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.findFirst({
|
|
1452
|
+
* where: {
|
|
1453
|
+
* // ... provide filter here
|
|
1454
|
+
* }
|
|
1455
|
+
* })
|
|
1456
|
+
*/
|
|
1457
|
+
findFirst<T extends scheduled_tasksFindFirstArgs>(args?: Prisma.SelectSubset<T, scheduled_tasksFindFirstArgs<ExtArgs>>): Prisma.Prisma__scheduled_tasksClient<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1458
|
+
|
|
1459
|
+
/**
|
|
1460
|
+
* Find the first Scheduled_tasks that matches the filter or
|
|
1461
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1462
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1463
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1464
|
+
* @param {scheduled_tasksFindFirstOrThrowArgs} args - Arguments to find a Scheduled_tasks
|
|
1465
|
+
* @example
|
|
1466
|
+
* // Get one Scheduled_tasks
|
|
1467
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.findFirstOrThrow({
|
|
1468
|
+
* where: {
|
|
1469
|
+
* // ... provide filter here
|
|
1470
|
+
* }
|
|
1471
|
+
* })
|
|
1472
|
+
*/
|
|
1473
|
+
findFirstOrThrow<T extends scheduled_tasksFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, scheduled_tasksFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__scheduled_tasksClient<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* Find zero or more Scheduled_tasks that matches the filter.
|
|
1477
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1478
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1479
|
+
* @param {scheduled_tasksFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1480
|
+
* @example
|
|
1481
|
+
* // Get all Scheduled_tasks
|
|
1482
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.findMany()
|
|
1483
|
+
*
|
|
1484
|
+
* // Get first 10 Scheduled_tasks
|
|
1485
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.findMany({ take: 10 })
|
|
1486
|
+
*
|
|
1487
|
+
* // Only select the `id`
|
|
1488
|
+
* const scheduled_tasksWithIdOnly = await prisma.scheduled_tasks.findMany({ select: { id: true } })
|
|
1489
|
+
*
|
|
1490
|
+
*/
|
|
1491
|
+
findMany<T extends scheduled_tasksFindManyArgs>(args?: Prisma.SelectSubset<T, scheduled_tasksFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* Create a Scheduled_tasks.
|
|
1495
|
+
* @param {scheduled_tasksCreateArgs} args - Arguments to create a Scheduled_tasks.
|
|
1496
|
+
* @example
|
|
1497
|
+
* // Create one Scheduled_tasks
|
|
1498
|
+
* const Scheduled_tasks = await prisma.scheduled_tasks.create({
|
|
1499
|
+
* data: {
|
|
1500
|
+
* // ... data to create a Scheduled_tasks
|
|
1501
|
+
* }
|
|
1502
|
+
* })
|
|
1503
|
+
*
|
|
1504
|
+
*/
|
|
1505
|
+
create<T extends scheduled_tasksCreateArgs>(args: Prisma.SelectSubset<T, scheduled_tasksCreateArgs<ExtArgs>>): Prisma.Prisma__scheduled_tasksClient<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Create many Scheduled_tasks.
|
|
1509
|
+
* @param {scheduled_tasksCreateManyArgs} args - Arguments to create many Scheduled_tasks.
|
|
1510
|
+
* @example
|
|
1511
|
+
* // Create many Scheduled_tasks
|
|
1512
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.createMany({
|
|
1513
|
+
* data: [
|
|
1514
|
+
* // ... provide data here
|
|
1515
|
+
* ]
|
|
1516
|
+
* })
|
|
1517
|
+
*
|
|
1518
|
+
*/
|
|
1519
|
+
createMany<T extends scheduled_tasksCreateManyArgs>(args?: Prisma.SelectSubset<T, scheduled_tasksCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Create many Scheduled_tasks and returns the data saved in the database.
|
|
1523
|
+
* @param {scheduled_tasksCreateManyAndReturnArgs} args - Arguments to create many Scheduled_tasks.
|
|
1524
|
+
* @example
|
|
1525
|
+
* // Create many Scheduled_tasks
|
|
1526
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.createManyAndReturn({
|
|
1527
|
+
* data: [
|
|
1528
|
+
* // ... provide data here
|
|
1529
|
+
* ]
|
|
1530
|
+
* })
|
|
1531
|
+
*
|
|
1532
|
+
* // Create many Scheduled_tasks and only return the `id`
|
|
1533
|
+
* const scheduled_tasksWithIdOnly = await prisma.scheduled_tasks.createManyAndReturn({
|
|
1534
|
+
* select: { id: true },
|
|
1535
|
+
* data: [
|
|
1536
|
+
* // ... provide data here
|
|
1537
|
+
* ]
|
|
1538
|
+
* })
|
|
1539
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1540
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1541
|
+
*
|
|
1542
|
+
*/
|
|
1543
|
+
createManyAndReturn<T extends scheduled_tasksCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, scheduled_tasksCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1544
|
+
|
|
1545
|
+
/**
|
|
1546
|
+
* Delete a Scheduled_tasks.
|
|
1547
|
+
* @param {scheduled_tasksDeleteArgs} args - Arguments to delete one Scheduled_tasks.
|
|
1548
|
+
* @example
|
|
1549
|
+
* // Delete one Scheduled_tasks
|
|
1550
|
+
* const Scheduled_tasks = await prisma.scheduled_tasks.delete({
|
|
1551
|
+
* where: {
|
|
1552
|
+
* // ... filter to delete one Scheduled_tasks
|
|
1553
|
+
* }
|
|
1554
|
+
* })
|
|
1555
|
+
*
|
|
1556
|
+
*/
|
|
1557
|
+
delete<T extends scheduled_tasksDeleteArgs>(args: Prisma.SelectSubset<T, scheduled_tasksDeleteArgs<ExtArgs>>): Prisma.Prisma__scheduled_tasksClient<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1558
|
+
|
|
1559
|
+
/**
|
|
1560
|
+
* Update one Scheduled_tasks.
|
|
1561
|
+
* @param {scheduled_tasksUpdateArgs} args - Arguments to update one Scheduled_tasks.
|
|
1562
|
+
* @example
|
|
1563
|
+
* // Update one Scheduled_tasks
|
|
1564
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.update({
|
|
1565
|
+
* where: {
|
|
1566
|
+
* // ... provide filter here
|
|
1567
|
+
* },
|
|
1568
|
+
* data: {
|
|
1569
|
+
* // ... provide data here
|
|
1570
|
+
* }
|
|
1571
|
+
* })
|
|
1572
|
+
*
|
|
1573
|
+
*/
|
|
1574
|
+
update<T extends scheduled_tasksUpdateArgs>(args: Prisma.SelectSubset<T, scheduled_tasksUpdateArgs<ExtArgs>>): Prisma.Prisma__scheduled_tasksClient<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* Delete zero or more Scheduled_tasks.
|
|
1578
|
+
* @param {scheduled_tasksDeleteManyArgs} args - Arguments to filter Scheduled_tasks to delete.
|
|
1579
|
+
* @example
|
|
1580
|
+
* // Delete a few Scheduled_tasks
|
|
1581
|
+
* const { count } = await prisma.scheduled_tasks.deleteMany({
|
|
1582
|
+
* where: {
|
|
1583
|
+
* // ... provide filter here
|
|
1584
|
+
* }
|
|
1585
|
+
* })
|
|
1586
|
+
*
|
|
1587
|
+
*/
|
|
1588
|
+
deleteMany<T extends scheduled_tasksDeleteManyArgs>(args?: Prisma.SelectSubset<T, scheduled_tasksDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* Update zero or more Scheduled_tasks.
|
|
1592
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1593
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1594
|
+
* @param {scheduled_tasksUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1595
|
+
* @example
|
|
1596
|
+
* // Update many Scheduled_tasks
|
|
1597
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.updateMany({
|
|
1598
|
+
* where: {
|
|
1599
|
+
* // ... provide filter here
|
|
1600
|
+
* },
|
|
1601
|
+
* data: {
|
|
1602
|
+
* // ... provide data here
|
|
1603
|
+
* }
|
|
1604
|
+
* })
|
|
1605
|
+
*
|
|
1606
|
+
*/
|
|
1607
|
+
updateMany<T extends scheduled_tasksUpdateManyArgs>(args: Prisma.SelectSubset<T, scheduled_tasksUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* Update zero or more Scheduled_tasks and returns the data updated in the database.
|
|
1611
|
+
* @param {scheduled_tasksUpdateManyAndReturnArgs} args - Arguments to update many Scheduled_tasks.
|
|
1612
|
+
* @example
|
|
1613
|
+
* // Update many Scheduled_tasks
|
|
1614
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.updateManyAndReturn({
|
|
1615
|
+
* where: {
|
|
1616
|
+
* // ... provide filter here
|
|
1617
|
+
* },
|
|
1618
|
+
* data: [
|
|
1619
|
+
* // ... provide data here
|
|
1620
|
+
* ]
|
|
1621
|
+
* })
|
|
1622
|
+
*
|
|
1623
|
+
* // Update zero or more Scheduled_tasks and only return the `id`
|
|
1624
|
+
* const scheduled_tasksWithIdOnly = await prisma.scheduled_tasks.updateManyAndReturn({
|
|
1625
|
+
* select: { id: true },
|
|
1626
|
+
* where: {
|
|
1627
|
+
* // ... provide filter here
|
|
1628
|
+
* },
|
|
1629
|
+
* data: [
|
|
1630
|
+
* // ... provide data here
|
|
1631
|
+
* ]
|
|
1632
|
+
* })
|
|
1633
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1634
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1635
|
+
*
|
|
1636
|
+
*/
|
|
1637
|
+
updateManyAndReturn<T extends scheduled_tasksUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, scheduled_tasksUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Create or update one Scheduled_tasks.
|
|
1641
|
+
* @param {scheduled_tasksUpsertArgs} args - Arguments to update or create a Scheduled_tasks.
|
|
1642
|
+
* @example
|
|
1643
|
+
* // Update or create a Scheduled_tasks
|
|
1644
|
+
* const scheduled_tasks = await prisma.scheduled_tasks.upsert({
|
|
1645
|
+
* create: {
|
|
1646
|
+
* // ... data to create a Scheduled_tasks
|
|
1647
|
+
* },
|
|
1648
|
+
* update: {
|
|
1649
|
+
* // ... in case it already exists, update
|
|
1650
|
+
* },
|
|
1651
|
+
* where: {
|
|
1652
|
+
* // ... the filter for the Scheduled_tasks we want to update
|
|
1653
|
+
* }
|
|
1654
|
+
* })
|
|
1655
|
+
*/
|
|
1656
|
+
upsert<T extends scheduled_tasksUpsertArgs>(args: Prisma.SelectSubset<T, scheduled_tasksUpsertArgs<ExtArgs>>): Prisma.Prisma__scheduled_tasksClient<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* Count the number of Scheduled_tasks.
|
|
1661
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1662
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1663
|
+
* @param {scheduled_tasksCountArgs} args - Arguments to filter Scheduled_tasks to count.
|
|
1664
|
+
* @example
|
|
1665
|
+
* // Count the number of Scheduled_tasks
|
|
1666
|
+
* const count = await prisma.scheduled_tasks.count({
|
|
1667
|
+
* where: {
|
|
1668
|
+
* // ... the filter for the Scheduled_tasks we want to count
|
|
1669
|
+
* }
|
|
1670
|
+
* })
|
|
1671
|
+
**/
|
|
1672
|
+
count<T extends scheduled_tasksCountArgs>(
|
|
1673
|
+
args?: Prisma.Subset<T, scheduled_tasksCountArgs>,
|
|
1674
|
+
): Prisma.PrismaPromise<
|
|
1675
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1676
|
+
? T['select'] extends true
|
|
1677
|
+
? number
|
|
1678
|
+
: Prisma.GetScalarType<T['select'], Scheduled_tasksCountAggregateOutputType>
|
|
1679
|
+
: number
|
|
1680
|
+
>
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* Allows you to perform aggregations operations on a Scheduled_tasks.
|
|
1684
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1685
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1686
|
+
* @param {Scheduled_tasksAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1687
|
+
* @example
|
|
1688
|
+
* // Ordered by age ascending
|
|
1689
|
+
* // Where email contains prisma.io
|
|
1690
|
+
* // Limited to the 10 users
|
|
1691
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1692
|
+
* _avg: {
|
|
1693
|
+
* age: true,
|
|
1694
|
+
* },
|
|
1695
|
+
* where: {
|
|
1696
|
+
* email: {
|
|
1697
|
+
* contains: "prisma.io",
|
|
1698
|
+
* },
|
|
1699
|
+
* },
|
|
1700
|
+
* orderBy: {
|
|
1701
|
+
* age: "asc",
|
|
1702
|
+
* },
|
|
1703
|
+
* take: 10,
|
|
1704
|
+
* })
|
|
1705
|
+
**/
|
|
1706
|
+
aggregate<T extends Scheduled_tasksAggregateArgs>(args: Prisma.Subset<T, Scheduled_tasksAggregateArgs>): Prisma.PrismaPromise<GetScheduled_tasksAggregateType<T>>
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* Group by Scheduled_tasks.
|
|
1710
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1711
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1712
|
+
* @param {scheduled_tasksGroupByArgs} args - Group by arguments.
|
|
1713
|
+
* @example
|
|
1714
|
+
* // Group by city, order by createdAt, get count
|
|
1715
|
+
* const result = await prisma.user.groupBy({
|
|
1716
|
+
* by: ['city', 'createdAt'],
|
|
1717
|
+
* orderBy: {
|
|
1718
|
+
* createdAt: true
|
|
1719
|
+
* },
|
|
1720
|
+
* _count: {
|
|
1721
|
+
* _all: true
|
|
1722
|
+
* },
|
|
1723
|
+
* })
|
|
1724
|
+
*
|
|
1725
|
+
**/
|
|
1726
|
+
groupBy<
|
|
1727
|
+
T extends scheduled_tasksGroupByArgs,
|
|
1728
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1729
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1730
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1731
|
+
>,
|
|
1732
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1733
|
+
? { orderBy: scheduled_tasksGroupByArgs['orderBy'] }
|
|
1734
|
+
: { orderBy?: scheduled_tasksGroupByArgs['orderBy'] },
|
|
1735
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1736
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1737
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1738
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1739
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1740
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1741
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1742
|
+
? `Error: "by" must not be empty.`
|
|
1743
|
+
: HavingValid extends Prisma.False
|
|
1744
|
+
? {
|
|
1745
|
+
[P in HavingFields]: P extends ByFields
|
|
1746
|
+
? never
|
|
1747
|
+
: P extends string
|
|
1748
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1749
|
+
: [
|
|
1750
|
+
Error,
|
|
1751
|
+
'Field ',
|
|
1752
|
+
P,
|
|
1753
|
+
` in "having" needs to be provided in "by"`,
|
|
1754
|
+
]
|
|
1755
|
+
}[HavingFields]
|
|
1756
|
+
: 'take' extends Prisma.Keys<T>
|
|
1757
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1758
|
+
? ByValid extends Prisma.True
|
|
1759
|
+
? {}
|
|
1760
|
+
: {
|
|
1761
|
+
[P in OrderFields]: P extends ByFields
|
|
1762
|
+
? never
|
|
1763
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1764
|
+
}[OrderFields]
|
|
1765
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1766
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1767
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1768
|
+
? ByValid extends Prisma.True
|
|
1769
|
+
? {}
|
|
1770
|
+
: {
|
|
1771
|
+
[P in OrderFields]: P extends ByFields
|
|
1772
|
+
? never
|
|
1773
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1774
|
+
}[OrderFields]
|
|
1775
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1776
|
+
: ByValid extends Prisma.True
|
|
1777
|
+
? {}
|
|
1778
|
+
: {
|
|
1779
|
+
[P in OrderFields]: P extends ByFields
|
|
1780
|
+
? never
|
|
1781
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1782
|
+
}[OrderFields]
|
|
1783
|
+
>(args: Prisma.SubsetIntersection<T, scheduled_tasksGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScheduled_tasksGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1784
|
+
/**
|
|
1785
|
+
* Fields of the scheduled_tasks model
|
|
1786
|
+
*/
|
|
1787
|
+
readonly fields: scheduled_tasksFieldRefs;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* The delegate class that acts as a "Promise-like" for scheduled_tasks.
|
|
1792
|
+
* Why is this prefixed with `Prisma__`?
|
|
1793
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1794
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1795
|
+
*/
|
|
1796
|
+
export interface Prisma__scheduled_tasksClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1797
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1798
|
+
channel<T extends Prisma.scheduled_tasks$channelArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.scheduled_tasks$channelArgs<ExtArgs>>): Prisma.Prisma__channel_directoriesClient<runtime.Types.Result.GetResult<Prisma.$channel_directoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1799
|
+
thread<T extends Prisma.scheduled_tasks$threadArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.scheduled_tasks$threadArgs<ExtArgs>>): Prisma.Prisma__thread_sessionsClient<runtime.Types.Result.GetResult<Prisma.$thread_sessionsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1800
|
+
session_start_sources<T extends Prisma.scheduled_tasks$session_start_sourcesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.scheduled_tasks$session_start_sourcesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$session_start_sourcesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1801
|
+
/**
|
|
1802
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1803
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1804
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1805
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1806
|
+
*/
|
|
1807
|
+
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>
|
|
1808
|
+
/**
|
|
1809
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1810
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1811
|
+
* @returns A Promise for the completion of the callback.
|
|
1812
|
+
*/
|
|
1813
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1814
|
+
/**
|
|
1815
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1816
|
+
* resolved value cannot be modified from the callback.
|
|
1817
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1818
|
+
* @returns A Promise for the completion of the callback.
|
|
1819
|
+
*/
|
|
1820
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* Fields of the scheduled_tasks model
|
|
1828
|
+
*/
|
|
1829
|
+
export interface scheduled_tasksFieldRefs {
|
|
1830
|
+
readonly id: Prisma.FieldRef<"scheduled_tasks", 'Int'>
|
|
1831
|
+
readonly status: Prisma.FieldRef<"scheduled_tasks", 'task_status'>
|
|
1832
|
+
readonly schedule_kind: Prisma.FieldRef<"scheduled_tasks", 'task_schedule_kind'>
|
|
1833
|
+
readonly run_at: Prisma.FieldRef<"scheduled_tasks", 'DateTime'>
|
|
1834
|
+
readonly cron_expr: Prisma.FieldRef<"scheduled_tasks", 'String'>
|
|
1835
|
+
readonly timezone: Prisma.FieldRef<"scheduled_tasks", 'String'>
|
|
1836
|
+
readonly next_run_at: Prisma.FieldRef<"scheduled_tasks", 'DateTime'>
|
|
1837
|
+
readonly running_started_at: Prisma.FieldRef<"scheduled_tasks", 'DateTime'>
|
|
1838
|
+
readonly last_run_at: Prisma.FieldRef<"scheduled_tasks", 'DateTime'>
|
|
1839
|
+
readonly last_error: Prisma.FieldRef<"scheduled_tasks", 'String'>
|
|
1840
|
+
readonly attempts: Prisma.FieldRef<"scheduled_tasks", 'Int'>
|
|
1841
|
+
readonly payload_json: Prisma.FieldRef<"scheduled_tasks", 'String'>
|
|
1842
|
+
readonly prompt_preview: Prisma.FieldRef<"scheduled_tasks", 'String'>
|
|
1843
|
+
readonly channel_id: Prisma.FieldRef<"scheduled_tasks", 'String'>
|
|
1844
|
+
readonly thread_id: Prisma.FieldRef<"scheduled_tasks", 'String'>
|
|
1845
|
+
readonly session_id: Prisma.FieldRef<"scheduled_tasks", 'String'>
|
|
1846
|
+
readonly project_directory: Prisma.FieldRef<"scheduled_tasks", 'String'>
|
|
1847
|
+
readonly created_at: Prisma.FieldRef<"scheduled_tasks", 'DateTime'>
|
|
1848
|
+
readonly updated_at: Prisma.FieldRef<"scheduled_tasks", 'DateTime'>
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
// Custom InputTypes
|
|
1853
|
+
/**
|
|
1854
|
+
* scheduled_tasks findUnique
|
|
1855
|
+
*/
|
|
1856
|
+
export type scheduled_tasksFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1857
|
+
/**
|
|
1858
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
1859
|
+
*/
|
|
1860
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
1861
|
+
/**
|
|
1862
|
+
* Omit specific fields from the scheduled_tasks
|
|
1863
|
+
*/
|
|
1864
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
1865
|
+
/**
|
|
1866
|
+
* Choose, which related nodes to fetch as well
|
|
1867
|
+
*/
|
|
1868
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
1869
|
+
/**
|
|
1870
|
+
* Filter, which scheduled_tasks to fetch.
|
|
1871
|
+
*/
|
|
1872
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* scheduled_tasks findUniqueOrThrow
|
|
1877
|
+
*/
|
|
1878
|
+
export type scheduled_tasksFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1879
|
+
/**
|
|
1880
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
1881
|
+
*/
|
|
1882
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
1883
|
+
/**
|
|
1884
|
+
* Omit specific fields from the scheduled_tasks
|
|
1885
|
+
*/
|
|
1886
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
1887
|
+
/**
|
|
1888
|
+
* Choose, which related nodes to fetch as well
|
|
1889
|
+
*/
|
|
1890
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
1891
|
+
/**
|
|
1892
|
+
* Filter, which scheduled_tasks to fetch.
|
|
1893
|
+
*/
|
|
1894
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* scheduled_tasks findFirst
|
|
1899
|
+
*/
|
|
1900
|
+
export type scheduled_tasksFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1901
|
+
/**
|
|
1902
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
1903
|
+
*/
|
|
1904
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
1905
|
+
/**
|
|
1906
|
+
* Omit specific fields from the scheduled_tasks
|
|
1907
|
+
*/
|
|
1908
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
1909
|
+
/**
|
|
1910
|
+
* Choose, which related nodes to fetch as well
|
|
1911
|
+
*/
|
|
1912
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
1913
|
+
/**
|
|
1914
|
+
* Filter, which scheduled_tasks to fetch.
|
|
1915
|
+
*/
|
|
1916
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
1917
|
+
/**
|
|
1918
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1919
|
+
*
|
|
1920
|
+
* Determine the order of scheduled_tasks to fetch.
|
|
1921
|
+
*/
|
|
1922
|
+
orderBy?: Prisma.scheduled_tasksOrderByWithRelationInput | Prisma.scheduled_tasksOrderByWithRelationInput[]
|
|
1923
|
+
/**
|
|
1924
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1925
|
+
*
|
|
1926
|
+
* Sets the position for searching for scheduled_tasks.
|
|
1927
|
+
*/
|
|
1928
|
+
cursor?: Prisma.scheduled_tasksWhereUniqueInput
|
|
1929
|
+
/**
|
|
1930
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1931
|
+
*
|
|
1932
|
+
* Take `±n` scheduled_tasks from the position of the cursor.
|
|
1933
|
+
*/
|
|
1934
|
+
take?: number
|
|
1935
|
+
/**
|
|
1936
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1937
|
+
*
|
|
1938
|
+
* Skip the first `n` scheduled_tasks.
|
|
1939
|
+
*/
|
|
1940
|
+
skip?: number
|
|
1941
|
+
/**
|
|
1942
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1943
|
+
*
|
|
1944
|
+
* Filter by unique combinations of scheduled_tasks.
|
|
1945
|
+
*/
|
|
1946
|
+
distinct?: Prisma.Scheduled_tasksScalarFieldEnum | Prisma.Scheduled_tasksScalarFieldEnum[]
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* scheduled_tasks findFirstOrThrow
|
|
1951
|
+
*/
|
|
1952
|
+
export type scheduled_tasksFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1953
|
+
/**
|
|
1954
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
1955
|
+
*/
|
|
1956
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
1957
|
+
/**
|
|
1958
|
+
* Omit specific fields from the scheduled_tasks
|
|
1959
|
+
*/
|
|
1960
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
1961
|
+
/**
|
|
1962
|
+
* Choose, which related nodes to fetch as well
|
|
1963
|
+
*/
|
|
1964
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
1965
|
+
/**
|
|
1966
|
+
* Filter, which scheduled_tasks to fetch.
|
|
1967
|
+
*/
|
|
1968
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
1969
|
+
/**
|
|
1970
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1971
|
+
*
|
|
1972
|
+
* Determine the order of scheduled_tasks to fetch.
|
|
1973
|
+
*/
|
|
1974
|
+
orderBy?: Prisma.scheduled_tasksOrderByWithRelationInput | Prisma.scheduled_tasksOrderByWithRelationInput[]
|
|
1975
|
+
/**
|
|
1976
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1977
|
+
*
|
|
1978
|
+
* Sets the position for searching for scheduled_tasks.
|
|
1979
|
+
*/
|
|
1980
|
+
cursor?: Prisma.scheduled_tasksWhereUniqueInput
|
|
1981
|
+
/**
|
|
1982
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1983
|
+
*
|
|
1984
|
+
* Take `±n` scheduled_tasks from the position of the cursor.
|
|
1985
|
+
*/
|
|
1986
|
+
take?: number
|
|
1987
|
+
/**
|
|
1988
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1989
|
+
*
|
|
1990
|
+
* Skip the first `n` scheduled_tasks.
|
|
1991
|
+
*/
|
|
1992
|
+
skip?: number
|
|
1993
|
+
/**
|
|
1994
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1995
|
+
*
|
|
1996
|
+
* Filter by unique combinations of scheduled_tasks.
|
|
1997
|
+
*/
|
|
1998
|
+
distinct?: Prisma.Scheduled_tasksScalarFieldEnum | Prisma.Scheduled_tasksScalarFieldEnum[]
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
/**
|
|
2002
|
+
* scheduled_tasks findMany
|
|
2003
|
+
*/
|
|
2004
|
+
export type scheduled_tasksFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2005
|
+
/**
|
|
2006
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
2007
|
+
*/
|
|
2008
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
2009
|
+
/**
|
|
2010
|
+
* Omit specific fields from the scheduled_tasks
|
|
2011
|
+
*/
|
|
2012
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
2013
|
+
/**
|
|
2014
|
+
* Choose, which related nodes to fetch as well
|
|
2015
|
+
*/
|
|
2016
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
2017
|
+
/**
|
|
2018
|
+
* Filter, which scheduled_tasks to fetch.
|
|
2019
|
+
*/
|
|
2020
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
2021
|
+
/**
|
|
2022
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2023
|
+
*
|
|
2024
|
+
* Determine the order of scheduled_tasks to fetch.
|
|
2025
|
+
*/
|
|
2026
|
+
orderBy?: Prisma.scheduled_tasksOrderByWithRelationInput | Prisma.scheduled_tasksOrderByWithRelationInput[]
|
|
2027
|
+
/**
|
|
2028
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2029
|
+
*
|
|
2030
|
+
* Sets the position for listing scheduled_tasks.
|
|
2031
|
+
*/
|
|
2032
|
+
cursor?: Prisma.scheduled_tasksWhereUniqueInput
|
|
2033
|
+
/**
|
|
2034
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2035
|
+
*
|
|
2036
|
+
* Take `±n` scheduled_tasks from the position of the cursor.
|
|
2037
|
+
*/
|
|
2038
|
+
take?: number
|
|
2039
|
+
/**
|
|
2040
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2041
|
+
*
|
|
2042
|
+
* Skip the first `n` scheduled_tasks.
|
|
2043
|
+
*/
|
|
2044
|
+
skip?: number
|
|
2045
|
+
distinct?: Prisma.Scheduled_tasksScalarFieldEnum | Prisma.Scheduled_tasksScalarFieldEnum[]
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* scheduled_tasks create
|
|
2050
|
+
*/
|
|
2051
|
+
export type scheduled_tasksCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2052
|
+
/**
|
|
2053
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
2054
|
+
*/
|
|
2055
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
2056
|
+
/**
|
|
2057
|
+
* Omit specific fields from the scheduled_tasks
|
|
2058
|
+
*/
|
|
2059
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
2060
|
+
/**
|
|
2061
|
+
* Choose, which related nodes to fetch as well
|
|
2062
|
+
*/
|
|
2063
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
2064
|
+
/**
|
|
2065
|
+
* The data needed to create a scheduled_tasks.
|
|
2066
|
+
*/
|
|
2067
|
+
data: Prisma.XOR<Prisma.scheduled_tasksCreateInput, Prisma.scheduled_tasksUncheckedCreateInput>
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* scheduled_tasks createMany
|
|
2072
|
+
*/
|
|
2073
|
+
export type scheduled_tasksCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2074
|
+
/**
|
|
2075
|
+
* The data used to create many scheduled_tasks.
|
|
2076
|
+
*/
|
|
2077
|
+
data: Prisma.scheduled_tasksCreateManyInput | Prisma.scheduled_tasksCreateManyInput[]
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* scheduled_tasks createManyAndReturn
|
|
2082
|
+
*/
|
|
2083
|
+
export type scheduled_tasksCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2084
|
+
/**
|
|
2085
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
2086
|
+
*/
|
|
2087
|
+
select?: Prisma.scheduled_tasksSelectCreateManyAndReturn<ExtArgs> | null
|
|
2088
|
+
/**
|
|
2089
|
+
* Omit specific fields from the scheduled_tasks
|
|
2090
|
+
*/
|
|
2091
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
2092
|
+
/**
|
|
2093
|
+
* The data used to create many scheduled_tasks.
|
|
2094
|
+
*/
|
|
2095
|
+
data: Prisma.scheduled_tasksCreateManyInput | Prisma.scheduled_tasksCreateManyInput[]
|
|
2096
|
+
/**
|
|
2097
|
+
* Choose, which related nodes to fetch as well
|
|
2098
|
+
*/
|
|
2099
|
+
include?: Prisma.scheduled_tasksIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* scheduled_tasks update
|
|
2104
|
+
*/
|
|
2105
|
+
export type scheduled_tasksUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2106
|
+
/**
|
|
2107
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
2108
|
+
*/
|
|
2109
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
2110
|
+
/**
|
|
2111
|
+
* Omit specific fields from the scheduled_tasks
|
|
2112
|
+
*/
|
|
2113
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
2114
|
+
/**
|
|
2115
|
+
* Choose, which related nodes to fetch as well
|
|
2116
|
+
*/
|
|
2117
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
2118
|
+
/**
|
|
2119
|
+
* The data needed to update a scheduled_tasks.
|
|
2120
|
+
*/
|
|
2121
|
+
data: Prisma.XOR<Prisma.scheduled_tasksUpdateInput, Prisma.scheduled_tasksUncheckedUpdateInput>
|
|
2122
|
+
/**
|
|
2123
|
+
* Choose, which scheduled_tasks to update.
|
|
2124
|
+
*/
|
|
2125
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* scheduled_tasks updateMany
|
|
2130
|
+
*/
|
|
2131
|
+
export type scheduled_tasksUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2132
|
+
/**
|
|
2133
|
+
* The data used to update scheduled_tasks.
|
|
2134
|
+
*/
|
|
2135
|
+
data: Prisma.XOR<Prisma.scheduled_tasksUpdateManyMutationInput, Prisma.scheduled_tasksUncheckedUpdateManyInput>
|
|
2136
|
+
/**
|
|
2137
|
+
* Filter which scheduled_tasks to update
|
|
2138
|
+
*/
|
|
2139
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
2140
|
+
/**
|
|
2141
|
+
* Limit how many scheduled_tasks to update.
|
|
2142
|
+
*/
|
|
2143
|
+
limit?: number
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* scheduled_tasks updateManyAndReturn
|
|
2148
|
+
*/
|
|
2149
|
+
export type scheduled_tasksUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2150
|
+
/**
|
|
2151
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
2152
|
+
*/
|
|
2153
|
+
select?: Prisma.scheduled_tasksSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2154
|
+
/**
|
|
2155
|
+
* Omit specific fields from the scheduled_tasks
|
|
2156
|
+
*/
|
|
2157
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
2158
|
+
/**
|
|
2159
|
+
* The data used to update scheduled_tasks.
|
|
2160
|
+
*/
|
|
2161
|
+
data: Prisma.XOR<Prisma.scheduled_tasksUpdateManyMutationInput, Prisma.scheduled_tasksUncheckedUpdateManyInput>
|
|
2162
|
+
/**
|
|
2163
|
+
* Filter which scheduled_tasks to update
|
|
2164
|
+
*/
|
|
2165
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
2166
|
+
/**
|
|
2167
|
+
* Limit how many scheduled_tasks to update.
|
|
2168
|
+
*/
|
|
2169
|
+
limit?: number
|
|
2170
|
+
/**
|
|
2171
|
+
* Choose, which related nodes to fetch as well
|
|
2172
|
+
*/
|
|
2173
|
+
include?: Prisma.scheduled_tasksIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
/**
|
|
2177
|
+
* scheduled_tasks upsert
|
|
2178
|
+
*/
|
|
2179
|
+
export type scheduled_tasksUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2180
|
+
/**
|
|
2181
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
2182
|
+
*/
|
|
2183
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
2184
|
+
/**
|
|
2185
|
+
* Omit specific fields from the scheduled_tasks
|
|
2186
|
+
*/
|
|
2187
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
2188
|
+
/**
|
|
2189
|
+
* Choose, which related nodes to fetch as well
|
|
2190
|
+
*/
|
|
2191
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
2192
|
+
/**
|
|
2193
|
+
* The filter to search for the scheduled_tasks to update in case it exists.
|
|
2194
|
+
*/
|
|
2195
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
2196
|
+
/**
|
|
2197
|
+
* In case the scheduled_tasks found by the `where` argument doesn't exist, create a new scheduled_tasks with this data.
|
|
2198
|
+
*/
|
|
2199
|
+
create: Prisma.XOR<Prisma.scheduled_tasksCreateInput, Prisma.scheduled_tasksUncheckedCreateInput>
|
|
2200
|
+
/**
|
|
2201
|
+
* In case the scheduled_tasks was found with the provided `where` argument, update it with this data.
|
|
2202
|
+
*/
|
|
2203
|
+
update: Prisma.XOR<Prisma.scheduled_tasksUpdateInput, Prisma.scheduled_tasksUncheckedUpdateInput>
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
/**
|
|
2207
|
+
* scheduled_tasks delete
|
|
2208
|
+
*/
|
|
2209
|
+
export type scheduled_tasksDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2210
|
+
/**
|
|
2211
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
2212
|
+
*/
|
|
2213
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
2214
|
+
/**
|
|
2215
|
+
* Omit specific fields from the scheduled_tasks
|
|
2216
|
+
*/
|
|
2217
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
2218
|
+
/**
|
|
2219
|
+
* Choose, which related nodes to fetch as well
|
|
2220
|
+
*/
|
|
2221
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
2222
|
+
/**
|
|
2223
|
+
* Filter which scheduled_tasks to delete.
|
|
2224
|
+
*/
|
|
2225
|
+
where: Prisma.scheduled_tasksWhereUniqueInput
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2228
|
+
/**
|
|
2229
|
+
* scheduled_tasks deleteMany
|
|
2230
|
+
*/
|
|
2231
|
+
export type scheduled_tasksDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2232
|
+
/**
|
|
2233
|
+
* Filter which scheduled_tasks to delete
|
|
2234
|
+
*/
|
|
2235
|
+
where?: Prisma.scheduled_tasksWhereInput
|
|
2236
|
+
/**
|
|
2237
|
+
* Limit how many scheduled_tasks to delete.
|
|
2238
|
+
*/
|
|
2239
|
+
limit?: number
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
/**
|
|
2243
|
+
* scheduled_tasks.channel
|
|
2244
|
+
*/
|
|
2245
|
+
export type scheduled_tasks$channelArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2246
|
+
/**
|
|
2247
|
+
* Select specific fields to fetch from the channel_directories
|
|
2248
|
+
*/
|
|
2249
|
+
select?: Prisma.channel_directoriesSelect<ExtArgs> | null
|
|
2250
|
+
/**
|
|
2251
|
+
* Omit specific fields from the channel_directories
|
|
2252
|
+
*/
|
|
2253
|
+
omit?: Prisma.channel_directoriesOmit<ExtArgs> | null
|
|
2254
|
+
/**
|
|
2255
|
+
* Choose, which related nodes to fetch as well
|
|
2256
|
+
*/
|
|
2257
|
+
include?: Prisma.channel_directoriesInclude<ExtArgs> | null
|
|
2258
|
+
where?: Prisma.channel_directoriesWhereInput
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
/**
|
|
2262
|
+
* scheduled_tasks.thread
|
|
2263
|
+
*/
|
|
2264
|
+
export type scheduled_tasks$threadArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2265
|
+
/**
|
|
2266
|
+
* Select specific fields to fetch from the thread_sessions
|
|
2267
|
+
*/
|
|
2268
|
+
select?: Prisma.thread_sessionsSelect<ExtArgs> | null
|
|
2269
|
+
/**
|
|
2270
|
+
* Omit specific fields from the thread_sessions
|
|
2271
|
+
*/
|
|
2272
|
+
omit?: Prisma.thread_sessionsOmit<ExtArgs> | null
|
|
2273
|
+
/**
|
|
2274
|
+
* Choose, which related nodes to fetch as well
|
|
2275
|
+
*/
|
|
2276
|
+
include?: Prisma.thread_sessionsInclude<ExtArgs> | null
|
|
2277
|
+
where?: Prisma.thread_sessionsWhereInput
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* scheduled_tasks.session_start_sources
|
|
2282
|
+
*/
|
|
2283
|
+
export type scheduled_tasks$session_start_sourcesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2284
|
+
/**
|
|
2285
|
+
* Select specific fields to fetch from the session_start_sources
|
|
2286
|
+
*/
|
|
2287
|
+
select?: Prisma.session_start_sourcesSelect<ExtArgs> | null
|
|
2288
|
+
/**
|
|
2289
|
+
* Omit specific fields from the session_start_sources
|
|
2290
|
+
*/
|
|
2291
|
+
omit?: Prisma.session_start_sourcesOmit<ExtArgs> | null
|
|
2292
|
+
/**
|
|
2293
|
+
* Choose, which related nodes to fetch as well
|
|
2294
|
+
*/
|
|
2295
|
+
include?: Prisma.session_start_sourcesInclude<ExtArgs> | null
|
|
2296
|
+
where?: Prisma.session_start_sourcesWhereInput
|
|
2297
|
+
orderBy?: Prisma.session_start_sourcesOrderByWithRelationInput | Prisma.session_start_sourcesOrderByWithRelationInput[]
|
|
2298
|
+
cursor?: Prisma.session_start_sourcesWhereUniqueInput
|
|
2299
|
+
take?: number
|
|
2300
|
+
skip?: number
|
|
2301
|
+
distinct?: Prisma.Session_start_sourcesScalarFieldEnum | Prisma.Session_start_sourcesScalarFieldEnum[]
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* scheduled_tasks without action
|
|
2306
|
+
*/
|
|
2307
|
+
export type scheduled_tasksDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2308
|
+
/**
|
|
2309
|
+
* Select specific fields to fetch from the scheduled_tasks
|
|
2310
|
+
*/
|
|
2311
|
+
select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
|
|
2312
|
+
/**
|
|
2313
|
+
* Omit specific fields from the scheduled_tasks
|
|
2314
|
+
*/
|
|
2315
|
+
omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
|
|
2316
|
+
/**
|
|
2317
|
+
* Choose, which related nodes to fetch as well
|
|
2318
|
+
*/
|
|
2319
|
+
include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
|
|
2320
|
+
}
|