@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,1452 @@
|
|
|
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 `forum_sync_configs` 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 forum_sync_configs
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type forum_sync_configsModel = runtime.Types.Result.DefaultSelection<Prisma.$forum_sync_configsPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateForum_sync_configs = {
|
|
22
|
+
_count: Forum_sync_configsCountAggregateOutputType | null
|
|
23
|
+
_avg: Forum_sync_configsAvgAggregateOutputType | null
|
|
24
|
+
_sum: Forum_sync_configsSumAggregateOutputType | null
|
|
25
|
+
_min: Forum_sync_configsMinAggregateOutputType | null
|
|
26
|
+
_max: Forum_sync_configsMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type Forum_sync_configsAvgAggregateOutputType = {
|
|
30
|
+
id: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type Forum_sync_configsSumAggregateOutputType = {
|
|
34
|
+
id: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type Forum_sync_configsMinAggregateOutputType = {
|
|
38
|
+
id: number | null
|
|
39
|
+
app_id: string | null
|
|
40
|
+
forum_channel_id: string | null
|
|
41
|
+
output_dir: string | null
|
|
42
|
+
direction: string | null
|
|
43
|
+
created_at: Date | null
|
|
44
|
+
updated_at: Date | null
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type Forum_sync_configsMaxAggregateOutputType = {
|
|
48
|
+
id: number | null
|
|
49
|
+
app_id: string | null
|
|
50
|
+
forum_channel_id: string | null
|
|
51
|
+
output_dir: string | null
|
|
52
|
+
direction: string | null
|
|
53
|
+
created_at: Date | null
|
|
54
|
+
updated_at: Date | null
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type Forum_sync_configsCountAggregateOutputType = {
|
|
58
|
+
id: number
|
|
59
|
+
app_id: number
|
|
60
|
+
forum_channel_id: number
|
|
61
|
+
output_dir: number
|
|
62
|
+
direction: number
|
|
63
|
+
created_at: number
|
|
64
|
+
updated_at: number
|
|
65
|
+
_all: number
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
export type Forum_sync_configsAvgAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type Forum_sync_configsSumAggregateInputType = {
|
|
74
|
+
id?: true
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type Forum_sync_configsMinAggregateInputType = {
|
|
78
|
+
id?: true
|
|
79
|
+
app_id?: true
|
|
80
|
+
forum_channel_id?: true
|
|
81
|
+
output_dir?: true
|
|
82
|
+
direction?: true
|
|
83
|
+
created_at?: true
|
|
84
|
+
updated_at?: true
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type Forum_sync_configsMaxAggregateInputType = {
|
|
88
|
+
id?: true
|
|
89
|
+
app_id?: true
|
|
90
|
+
forum_channel_id?: true
|
|
91
|
+
output_dir?: true
|
|
92
|
+
direction?: true
|
|
93
|
+
created_at?: true
|
|
94
|
+
updated_at?: true
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export type Forum_sync_configsCountAggregateInputType = {
|
|
98
|
+
id?: true
|
|
99
|
+
app_id?: true
|
|
100
|
+
forum_channel_id?: true
|
|
101
|
+
output_dir?: true
|
|
102
|
+
direction?: true
|
|
103
|
+
created_at?: true
|
|
104
|
+
updated_at?: true
|
|
105
|
+
_all?: true
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type Forum_sync_configsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
109
|
+
/**
|
|
110
|
+
* Filter which forum_sync_configs to aggregate.
|
|
111
|
+
*/
|
|
112
|
+
where?: Prisma.forum_sync_configsWhereInput
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
115
|
+
*
|
|
116
|
+
* Determine the order of forum_sync_configs to fetch.
|
|
117
|
+
*/
|
|
118
|
+
orderBy?: Prisma.forum_sync_configsOrderByWithRelationInput | Prisma.forum_sync_configsOrderByWithRelationInput[]
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
121
|
+
*
|
|
122
|
+
* Sets the start position
|
|
123
|
+
*/
|
|
124
|
+
cursor?: Prisma.forum_sync_configsWhereUniqueInput
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
127
|
+
*
|
|
128
|
+
* Take `±n` forum_sync_configs from the position of the cursor.
|
|
129
|
+
*/
|
|
130
|
+
take?: number
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
133
|
+
*
|
|
134
|
+
* Skip the first `n` forum_sync_configs.
|
|
135
|
+
*/
|
|
136
|
+
skip?: number
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Count returned forum_sync_configs
|
|
141
|
+
**/
|
|
142
|
+
_count?: true | Forum_sync_configsCountAggregateInputType
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to average
|
|
147
|
+
**/
|
|
148
|
+
_avg?: Forum_sync_configsAvgAggregateInputType
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Select which fields to sum
|
|
153
|
+
**/
|
|
154
|
+
_sum?: Forum_sync_configsSumAggregateInputType
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
+
*
|
|
158
|
+
* Select which fields to find the minimum value
|
|
159
|
+
**/
|
|
160
|
+
_min?: Forum_sync_configsMinAggregateInputType
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
+
*
|
|
164
|
+
* Select which fields to find the maximum value
|
|
165
|
+
**/
|
|
166
|
+
_max?: Forum_sync_configsMaxAggregateInputType
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export type GetForum_sync_configsAggregateType<T extends Forum_sync_configsAggregateArgs> = {
|
|
170
|
+
[P in keyof T & keyof AggregateForum_sync_configs]: P extends '_count' | 'count'
|
|
171
|
+
? T[P] extends true
|
|
172
|
+
? number
|
|
173
|
+
: Prisma.GetScalarType<T[P], AggregateForum_sync_configs[P]>
|
|
174
|
+
: Prisma.GetScalarType<T[P], AggregateForum_sync_configs[P]>
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
export type forum_sync_configsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
181
|
+
where?: Prisma.forum_sync_configsWhereInput
|
|
182
|
+
orderBy?: Prisma.forum_sync_configsOrderByWithAggregationInput | Prisma.forum_sync_configsOrderByWithAggregationInput[]
|
|
183
|
+
by: Prisma.Forum_sync_configsScalarFieldEnum[] | Prisma.Forum_sync_configsScalarFieldEnum
|
|
184
|
+
having?: Prisma.forum_sync_configsScalarWhereWithAggregatesInput
|
|
185
|
+
take?: number
|
|
186
|
+
skip?: number
|
|
187
|
+
_count?: Forum_sync_configsCountAggregateInputType | true
|
|
188
|
+
_avg?: Forum_sync_configsAvgAggregateInputType
|
|
189
|
+
_sum?: Forum_sync_configsSumAggregateInputType
|
|
190
|
+
_min?: Forum_sync_configsMinAggregateInputType
|
|
191
|
+
_max?: Forum_sync_configsMaxAggregateInputType
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export type Forum_sync_configsGroupByOutputType = {
|
|
195
|
+
id: number
|
|
196
|
+
app_id: string
|
|
197
|
+
forum_channel_id: string
|
|
198
|
+
output_dir: string
|
|
199
|
+
direction: string
|
|
200
|
+
created_at: Date | null
|
|
201
|
+
updated_at: Date | null
|
|
202
|
+
_count: Forum_sync_configsCountAggregateOutputType | null
|
|
203
|
+
_avg: Forum_sync_configsAvgAggregateOutputType | null
|
|
204
|
+
_sum: Forum_sync_configsSumAggregateOutputType | null
|
|
205
|
+
_min: Forum_sync_configsMinAggregateOutputType | null
|
|
206
|
+
_max: Forum_sync_configsMaxAggregateOutputType | null
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
type GetForum_sync_configsGroupByPayload<T extends forum_sync_configsGroupByArgs> = Prisma.PrismaPromise<
|
|
210
|
+
Array<
|
|
211
|
+
Prisma.PickEnumerable<Forum_sync_configsGroupByOutputType, T['by']> &
|
|
212
|
+
{
|
|
213
|
+
[P in ((keyof T) & (keyof Forum_sync_configsGroupByOutputType))]: P extends '_count'
|
|
214
|
+
? T[P] extends boolean
|
|
215
|
+
? number
|
|
216
|
+
: Prisma.GetScalarType<T[P], Forum_sync_configsGroupByOutputType[P]>
|
|
217
|
+
: Prisma.GetScalarType<T[P], Forum_sync_configsGroupByOutputType[P]>
|
|
218
|
+
}
|
|
219
|
+
>
|
|
220
|
+
>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
export type forum_sync_configsWhereInput = {
|
|
225
|
+
AND?: Prisma.forum_sync_configsWhereInput | Prisma.forum_sync_configsWhereInput[]
|
|
226
|
+
OR?: Prisma.forum_sync_configsWhereInput[]
|
|
227
|
+
NOT?: Prisma.forum_sync_configsWhereInput | Prisma.forum_sync_configsWhereInput[]
|
|
228
|
+
id?: Prisma.IntFilter<"forum_sync_configs"> | number
|
|
229
|
+
app_id?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
230
|
+
forum_channel_id?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
231
|
+
output_dir?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
232
|
+
direction?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
233
|
+
created_at?: Prisma.DateTimeNullableFilter<"forum_sync_configs"> | Date | string | null
|
|
234
|
+
updated_at?: Prisma.DateTimeNullableFilter<"forum_sync_configs"> | Date | string | null
|
|
235
|
+
bot?: Prisma.XOR<Prisma.Bot_tokensScalarRelationFilter, Prisma.bot_tokensWhereInput>
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type forum_sync_configsOrderByWithRelationInput = {
|
|
239
|
+
id?: Prisma.SortOrder
|
|
240
|
+
app_id?: Prisma.SortOrder
|
|
241
|
+
forum_channel_id?: Prisma.SortOrder
|
|
242
|
+
output_dir?: Prisma.SortOrder
|
|
243
|
+
direction?: Prisma.SortOrder
|
|
244
|
+
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
245
|
+
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
246
|
+
bot?: Prisma.bot_tokensOrderByWithRelationInput
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export type forum_sync_configsWhereUniqueInput = Prisma.AtLeast<{
|
|
250
|
+
id?: number
|
|
251
|
+
app_id_forum_channel_id?: Prisma.forum_sync_configsApp_idForum_channel_idCompoundUniqueInput
|
|
252
|
+
AND?: Prisma.forum_sync_configsWhereInput | Prisma.forum_sync_configsWhereInput[]
|
|
253
|
+
OR?: Prisma.forum_sync_configsWhereInput[]
|
|
254
|
+
NOT?: Prisma.forum_sync_configsWhereInput | Prisma.forum_sync_configsWhereInput[]
|
|
255
|
+
app_id?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
256
|
+
forum_channel_id?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
257
|
+
output_dir?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
258
|
+
direction?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
259
|
+
created_at?: Prisma.DateTimeNullableFilter<"forum_sync_configs"> | Date | string | null
|
|
260
|
+
updated_at?: Prisma.DateTimeNullableFilter<"forum_sync_configs"> | Date | string | null
|
|
261
|
+
bot?: Prisma.XOR<Prisma.Bot_tokensScalarRelationFilter, Prisma.bot_tokensWhereInput>
|
|
262
|
+
}, "id" | "app_id_forum_channel_id">
|
|
263
|
+
|
|
264
|
+
export type forum_sync_configsOrderByWithAggregationInput = {
|
|
265
|
+
id?: Prisma.SortOrder
|
|
266
|
+
app_id?: Prisma.SortOrder
|
|
267
|
+
forum_channel_id?: Prisma.SortOrder
|
|
268
|
+
output_dir?: Prisma.SortOrder
|
|
269
|
+
direction?: Prisma.SortOrder
|
|
270
|
+
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
271
|
+
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
272
|
+
_count?: Prisma.forum_sync_configsCountOrderByAggregateInput
|
|
273
|
+
_avg?: Prisma.forum_sync_configsAvgOrderByAggregateInput
|
|
274
|
+
_max?: Prisma.forum_sync_configsMaxOrderByAggregateInput
|
|
275
|
+
_min?: Prisma.forum_sync_configsMinOrderByAggregateInput
|
|
276
|
+
_sum?: Prisma.forum_sync_configsSumOrderByAggregateInput
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type forum_sync_configsScalarWhereWithAggregatesInput = {
|
|
280
|
+
AND?: Prisma.forum_sync_configsScalarWhereWithAggregatesInput | Prisma.forum_sync_configsScalarWhereWithAggregatesInput[]
|
|
281
|
+
OR?: Prisma.forum_sync_configsScalarWhereWithAggregatesInput[]
|
|
282
|
+
NOT?: Prisma.forum_sync_configsScalarWhereWithAggregatesInput | Prisma.forum_sync_configsScalarWhereWithAggregatesInput[]
|
|
283
|
+
id?: Prisma.IntWithAggregatesFilter<"forum_sync_configs"> | number
|
|
284
|
+
app_id?: Prisma.StringWithAggregatesFilter<"forum_sync_configs"> | string
|
|
285
|
+
forum_channel_id?: Prisma.StringWithAggregatesFilter<"forum_sync_configs"> | string
|
|
286
|
+
output_dir?: Prisma.StringWithAggregatesFilter<"forum_sync_configs"> | string
|
|
287
|
+
direction?: Prisma.StringWithAggregatesFilter<"forum_sync_configs"> | string
|
|
288
|
+
created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"forum_sync_configs"> | Date | string | null
|
|
289
|
+
updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"forum_sync_configs"> | Date | string | null
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export type forum_sync_configsCreateInput = {
|
|
293
|
+
forum_channel_id: string
|
|
294
|
+
output_dir: string
|
|
295
|
+
direction?: string
|
|
296
|
+
created_at?: Date | string | null
|
|
297
|
+
updated_at?: Date | string | null
|
|
298
|
+
bot: Prisma.bot_tokensCreateNestedOneWithoutForum_sync_configsInput
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export type forum_sync_configsUncheckedCreateInput = {
|
|
302
|
+
id?: number
|
|
303
|
+
app_id: string
|
|
304
|
+
forum_channel_id: string
|
|
305
|
+
output_dir: string
|
|
306
|
+
direction?: string
|
|
307
|
+
created_at?: Date | string | null
|
|
308
|
+
updated_at?: Date | string | null
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type forum_sync_configsUpdateInput = {
|
|
312
|
+
forum_channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
313
|
+
output_dir?: Prisma.StringFieldUpdateOperationsInput | string
|
|
314
|
+
direction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
316
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
317
|
+
bot?: Prisma.bot_tokensUpdateOneRequiredWithoutForum_sync_configsNestedInput
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export type forum_sync_configsUncheckedUpdateInput = {
|
|
321
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
322
|
+
app_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
323
|
+
forum_channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
324
|
+
output_dir?: Prisma.StringFieldUpdateOperationsInput | string
|
|
325
|
+
direction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
326
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
327
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type forum_sync_configsCreateManyInput = {
|
|
331
|
+
id?: number
|
|
332
|
+
app_id: string
|
|
333
|
+
forum_channel_id: string
|
|
334
|
+
output_dir: string
|
|
335
|
+
direction?: string
|
|
336
|
+
created_at?: Date | string | null
|
|
337
|
+
updated_at?: Date | string | null
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export type forum_sync_configsUpdateManyMutationInput = {
|
|
341
|
+
forum_channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
342
|
+
output_dir?: Prisma.StringFieldUpdateOperationsInput | string
|
|
343
|
+
direction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
344
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
345
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export type forum_sync_configsUncheckedUpdateManyInput = {
|
|
349
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
350
|
+
app_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
351
|
+
forum_channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
352
|
+
output_dir?: Prisma.StringFieldUpdateOperationsInput | string
|
|
353
|
+
direction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
354
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
355
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export type Forum_sync_configsListRelationFilter = {
|
|
359
|
+
every?: Prisma.forum_sync_configsWhereInput
|
|
360
|
+
some?: Prisma.forum_sync_configsWhereInput
|
|
361
|
+
none?: Prisma.forum_sync_configsWhereInput
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export type forum_sync_configsOrderByRelationAggregateInput = {
|
|
365
|
+
_count?: Prisma.SortOrder
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type forum_sync_configsApp_idForum_channel_idCompoundUniqueInput = {
|
|
369
|
+
app_id: string
|
|
370
|
+
forum_channel_id: string
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export type forum_sync_configsCountOrderByAggregateInput = {
|
|
374
|
+
id?: Prisma.SortOrder
|
|
375
|
+
app_id?: Prisma.SortOrder
|
|
376
|
+
forum_channel_id?: Prisma.SortOrder
|
|
377
|
+
output_dir?: Prisma.SortOrder
|
|
378
|
+
direction?: Prisma.SortOrder
|
|
379
|
+
created_at?: Prisma.SortOrder
|
|
380
|
+
updated_at?: Prisma.SortOrder
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export type forum_sync_configsAvgOrderByAggregateInput = {
|
|
384
|
+
id?: Prisma.SortOrder
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export type forum_sync_configsMaxOrderByAggregateInput = {
|
|
388
|
+
id?: Prisma.SortOrder
|
|
389
|
+
app_id?: Prisma.SortOrder
|
|
390
|
+
forum_channel_id?: Prisma.SortOrder
|
|
391
|
+
output_dir?: Prisma.SortOrder
|
|
392
|
+
direction?: Prisma.SortOrder
|
|
393
|
+
created_at?: Prisma.SortOrder
|
|
394
|
+
updated_at?: Prisma.SortOrder
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export type forum_sync_configsMinOrderByAggregateInput = {
|
|
398
|
+
id?: Prisma.SortOrder
|
|
399
|
+
app_id?: Prisma.SortOrder
|
|
400
|
+
forum_channel_id?: Prisma.SortOrder
|
|
401
|
+
output_dir?: Prisma.SortOrder
|
|
402
|
+
direction?: Prisma.SortOrder
|
|
403
|
+
created_at?: Prisma.SortOrder
|
|
404
|
+
updated_at?: Prisma.SortOrder
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export type forum_sync_configsSumOrderByAggregateInput = {
|
|
408
|
+
id?: Prisma.SortOrder
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export type forum_sync_configsCreateNestedManyWithoutBotInput = {
|
|
412
|
+
create?: Prisma.XOR<Prisma.forum_sync_configsCreateWithoutBotInput, Prisma.forum_sync_configsUncheckedCreateWithoutBotInput> | Prisma.forum_sync_configsCreateWithoutBotInput[] | Prisma.forum_sync_configsUncheckedCreateWithoutBotInput[]
|
|
413
|
+
connectOrCreate?: Prisma.forum_sync_configsCreateOrConnectWithoutBotInput | Prisma.forum_sync_configsCreateOrConnectWithoutBotInput[]
|
|
414
|
+
createMany?: Prisma.forum_sync_configsCreateManyBotInputEnvelope
|
|
415
|
+
connect?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
export type forum_sync_configsUncheckedCreateNestedManyWithoutBotInput = {
|
|
419
|
+
create?: Prisma.XOR<Prisma.forum_sync_configsCreateWithoutBotInput, Prisma.forum_sync_configsUncheckedCreateWithoutBotInput> | Prisma.forum_sync_configsCreateWithoutBotInput[] | Prisma.forum_sync_configsUncheckedCreateWithoutBotInput[]
|
|
420
|
+
connectOrCreate?: Prisma.forum_sync_configsCreateOrConnectWithoutBotInput | Prisma.forum_sync_configsCreateOrConnectWithoutBotInput[]
|
|
421
|
+
createMany?: Prisma.forum_sync_configsCreateManyBotInputEnvelope
|
|
422
|
+
connect?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export type forum_sync_configsUpdateManyWithoutBotNestedInput = {
|
|
426
|
+
create?: Prisma.XOR<Prisma.forum_sync_configsCreateWithoutBotInput, Prisma.forum_sync_configsUncheckedCreateWithoutBotInput> | Prisma.forum_sync_configsCreateWithoutBotInput[] | Prisma.forum_sync_configsUncheckedCreateWithoutBotInput[]
|
|
427
|
+
connectOrCreate?: Prisma.forum_sync_configsCreateOrConnectWithoutBotInput | Prisma.forum_sync_configsCreateOrConnectWithoutBotInput[]
|
|
428
|
+
upsert?: Prisma.forum_sync_configsUpsertWithWhereUniqueWithoutBotInput | Prisma.forum_sync_configsUpsertWithWhereUniqueWithoutBotInput[]
|
|
429
|
+
createMany?: Prisma.forum_sync_configsCreateManyBotInputEnvelope
|
|
430
|
+
set?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
431
|
+
disconnect?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
432
|
+
delete?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
433
|
+
connect?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
434
|
+
update?: Prisma.forum_sync_configsUpdateWithWhereUniqueWithoutBotInput | Prisma.forum_sync_configsUpdateWithWhereUniqueWithoutBotInput[]
|
|
435
|
+
updateMany?: Prisma.forum_sync_configsUpdateManyWithWhereWithoutBotInput | Prisma.forum_sync_configsUpdateManyWithWhereWithoutBotInput[]
|
|
436
|
+
deleteMany?: Prisma.forum_sync_configsScalarWhereInput | Prisma.forum_sync_configsScalarWhereInput[]
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export type forum_sync_configsUncheckedUpdateManyWithoutBotNestedInput = {
|
|
440
|
+
create?: Prisma.XOR<Prisma.forum_sync_configsCreateWithoutBotInput, Prisma.forum_sync_configsUncheckedCreateWithoutBotInput> | Prisma.forum_sync_configsCreateWithoutBotInput[] | Prisma.forum_sync_configsUncheckedCreateWithoutBotInput[]
|
|
441
|
+
connectOrCreate?: Prisma.forum_sync_configsCreateOrConnectWithoutBotInput | Prisma.forum_sync_configsCreateOrConnectWithoutBotInput[]
|
|
442
|
+
upsert?: Prisma.forum_sync_configsUpsertWithWhereUniqueWithoutBotInput | Prisma.forum_sync_configsUpsertWithWhereUniqueWithoutBotInput[]
|
|
443
|
+
createMany?: Prisma.forum_sync_configsCreateManyBotInputEnvelope
|
|
444
|
+
set?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
445
|
+
disconnect?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
446
|
+
delete?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
447
|
+
connect?: Prisma.forum_sync_configsWhereUniqueInput | Prisma.forum_sync_configsWhereUniqueInput[]
|
|
448
|
+
update?: Prisma.forum_sync_configsUpdateWithWhereUniqueWithoutBotInput | Prisma.forum_sync_configsUpdateWithWhereUniqueWithoutBotInput[]
|
|
449
|
+
updateMany?: Prisma.forum_sync_configsUpdateManyWithWhereWithoutBotInput | Prisma.forum_sync_configsUpdateManyWithWhereWithoutBotInput[]
|
|
450
|
+
deleteMany?: Prisma.forum_sync_configsScalarWhereInput | Prisma.forum_sync_configsScalarWhereInput[]
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export type forum_sync_configsCreateWithoutBotInput = {
|
|
454
|
+
forum_channel_id: string
|
|
455
|
+
output_dir: string
|
|
456
|
+
direction?: string
|
|
457
|
+
created_at?: Date | string | null
|
|
458
|
+
updated_at?: Date | string | null
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
export type forum_sync_configsUncheckedCreateWithoutBotInput = {
|
|
462
|
+
id?: number
|
|
463
|
+
forum_channel_id: string
|
|
464
|
+
output_dir: string
|
|
465
|
+
direction?: string
|
|
466
|
+
created_at?: Date | string | null
|
|
467
|
+
updated_at?: Date | string | null
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type forum_sync_configsCreateOrConnectWithoutBotInput = {
|
|
471
|
+
where: Prisma.forum_sync_configsWhereUniqueInput
|
|
472
|
+
create: Prisma.XOR<Prisma.forum_sync_configsCreateWithoutBotInput, Prisma.forum_sync_configsUncheckedCreateWithoutBotInput>
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export type forum_sync_configsCreateManyBotInputEnvelope = {
|
|
476
|
+
data: Prisma.forum_sync_configsCreateManyBotInput | Prisma.forum_sync_configsCreateManyBotInput[]
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
export type forum_sync_configsUpsertWithWhereUniqueWithoutBotInput = {
|
|
480
|
+
where: Prisma.forum_sync_configsWhereUniqueInput
|
|
481
|
+
update: Prisma.XOR<Prisma.forum_sync_configsUpdateWithoutBotInput, Prisma.forum_sync_configsUncheckedUpdateWithoutBotInput>
|
|
482
|
+
create: Prisma.XOR<Prisma.forum_sync_configsCreateWithoutBotInput, Prisma.forum_sync_configsUncheckedCreateWithoutBotInput>
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export type forum_sync_configsUpdateWithWhereUniqueWithoutBotInput = {
|
|
486
|
+
where: Prisma.forum_sync_configsWhereUniqueInput
|
|
487
|
+
data: Prisma.XOR<Prisma.forum_sync_configsUpdateWithoutBotInput, Prisma.forum_sync_configsUncheckedUpdateWithoutBotInput>
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export type forum_sync_configsUpdateManyWithWhereWithoutBotInput = {
|
|
491
|
+
where: Prisma.forum_sync_configsScalarWhereInput
|
|
492
|
+
data: Prisma.XOR<Prisma.forum_sync_configsUpdateManyMutationInput, Prisma.forum_sync_configsUncheckedUpdateManyWithoutBotInput>
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export type forum_sync_configsScalarWhereInput = {
|
|
496
|
+
AND?: Prisma.forum_sync_configsScalarWhereInput | Prisma.forum_sync_configsScalarWhereInput[]
|
|
497
|
+
OR?: Prisma.forum_sync_configsScalarWhereInput[]
|
|
498
|
+
NOT?: Prisma.forum_sync_configsScalarWhereInput | Prisma.forum_sync_configsScalarWhereInput[]
|
|
499
|
+
id?: Prisma.IntFilter<"forum_sync_configs"> | number
|
|
500
|
+
app_id?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
501
|
+
forum_channel_id?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
502
|
+
output_dir?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
503
|
+
direction?: Prisma.StringFilter<"forum_sync_configs"> | string
|
|
504
|
+
created_at?: Prisma.DateTimeNullableFilter<"forum_sync_configs"> | Date | string | null
|
|
505
|
+
updated_at?: Prisma.DateTimeNullableFilter<"forum_sync_configs"> | Date | string | null
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export type forum_sync_configsCreateManyBotInput = {
|
|
509
|
+
id?: number
|
|
510
|
+
forum_channel_id: string
|
|
511
|
+
output_dir: string
|
|
512
|
+
direction?: string
|
|
513
|
+
created_at?: Date | string | null
|
|
514
|
+
updated_at?: Date | string | null
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
export type forum_sync_configsUpdateWithoutBotInput = {
|
|
518
|
+
forum_channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
519
|
+
output_dir?: Prisma.StringFieldUpdateOperationsInput | string
|
|
520
|
+
direction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
521
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
522
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export type forum_sync_configsUncheckedUpdateWithoutBotInput = {
|
|
526
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
527
|
+
forum_channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
528
|
+
output_dir?: Prisma.StringFieldUpdateOperationsInput | string
|
|
529
|
+
direction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
530
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
531
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export type forum_sync_configsUncheckedUpdateManyWithoutBotInput = {
|
|
535
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
536
|
+
forum_channel_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
537
|
+
output_dir?: Prisma.StringFieldUpdateOperationsInput | string
|
|
538
|
+
direction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
539
|
+
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
540
|
+
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
export type forum_sync_configsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
546
|
+
id?: boolean
|
|
547
|
+
app_id?: boolean
|
|
548
|
+
forum_channel_id?: boolean
|
|
549
|
+
output_dir?: boolean
|
|
550
|
+
direction?: boolean
|
|
551
|
+
created_at?: boolean
|
|
552
|
+
updated_at?: boolean
|
|
553
|
+
bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
|
|
554
|
+
}, ExtArgs["result"]["forum_sync_configs"]>
|
|
555
|
+
|
|
556
|
+
export type forum_sync_configsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
557
|
+
id?: boolean
|
|
558
|
+
app_id?: boolean
|
|
559
|
+
forum_channel_id?: boolean
|
|
560
|
+
output_dir?: boolean
|
|
561
|
+
direction?: boolean
|
|
562
|
+
created_at?: boolean
|
|
563
|
+
updated_at?: boolean
|
|
564
|
+
bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
|
|
565
|
+
}, ExtArgs["result"]["forum_sync_configs"]>
|
|
566
|
+
|
|
567
|
+
export type forum_sync_configsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
568
|
+
id?: boolean
|
|
569
|
+
app_id?: boolean
|
|
570
|
+
forum_channel_id?: boolean
|
|
571
|
+
output_dir?: boolean
|
|
572
|
+
direction?: boolean
|
|
573
|
+
created_at?: boolean
|
|
574
|
+
updated_at?: boolean
|
|
575
|
+
bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
|
|
576
|
+
}, ExtArgs["result"]["forum_sync_configs"]>
|
|
577
|
+
|
|
578
|
+
export type forum_sync_configsSelectScalar = {
|
|
579
|
+
id?: boolean
|
|
580
|
+
app_id?: boolean
|
|
581
|
+
forum_channel_id?: boolean
|
|
582
|
+
output_dir?: boolean
|
|
583
|
+
direction?: boolean
|
|
584
|
+
created_at?: boolean
|
|
585
|
+
updated_at?: boolean
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export type forum_sync_configsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "app_id" | "forum_channel_id" | "output_dir" | "direction" | "created_at" | "updated_at", ExtArgs["result"]["forum_sync_configs"]>
|
|
589
|
+
export type forum_sync_configsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
590
|
+
bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
|
|
591
|
+
}
|
|
592
|
+
export type forum_sync_configsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
593
|
+
bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
|
|
594
|
+
}
|
|
595
|
+
export type forum_sync_configsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
596
|
+
bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export type $forum_sync_configsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
600
|
+
name: "forum_sync_configs"
|
|
601
|
+
objects: {
|
|
602
|
+
bot: Prisma.$bot_tokensPayload<ExtArgs>
|
|
603
|
+
}
|
|
604
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
605
|
+
id: number
|
|
606
|
+
app_id: string
|
|
607
|
+
forum_channel_id: string
|
|
608
|
+
output_dir: string
|
|
609
|
+
direction: string
|
|
610
|
+
created_at: Date | null
|
|
611
|
+
updated_at: Date | null
|
|
612
|
+
}, ExtArgs["result"]["forum_sync_configs"]>
|
|
613
|
+
composites: {}
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export type forum_sync_configsGetPayload<S extends boolean | null | undefined | forum_sync_configsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload, S>
|
|
617
|
+
|
|
618
|
+
export type forum_sync_configsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
619
|
+
Omit<forum_sync_configsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
620
|
+
select?: Forum_sync_configsCountAggregateInputType | true
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export interface forum_sync_configsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
624
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['forum_sync_configs'], meta: { name: 'forum_sync_configs' } }
|
|
625
|
+
/**
|
|
626
|
+
* Find zero or one Forum_sync_configs that matches the filter.
|
|
627
|
+
* @param {forum_sync_configsFindUniqueArgs} args - Arguments to find a Forum_sync_configs
|
|
628
|
+
* @example
|
|
629
|
+
* // Get one Forum_sync_configs
|
|
630
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.findUnique({
|
|
631
|
+
* where: {
|
|
632
|
+
* // ... provide filter here
|
|
633
|
+
* }
|
|
634
|
+
* })
|
|
635
|
+
*/
|
|
636
|
+
findUnique<T extends forum_sync_configsFindUniqueArgs>(args: Prisma.SelectSubset<T, forum_sync_configsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__forum_sync_configsClient<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Find one Forum_sync_configs that matches the filter or throw an error with `error.code='P2025'`
|
|
640
|
+
* if no matches were found.
|
|
641
|
+
* @param {forum_sync_configsFindUniqueOrThrowArgs} args - Arguments to find a Forum_sync_configs
|
|
642
|
+
* @example
|
|
643
|
+
* // Get one Forum_sync_configs
|
|
644
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.findUniqueOrThrow({
|
|
645
|
+
* where: {
|
|
646
|
+
* // ... provide filter here
|
|
647
|
+
* }
|
|
648
|
+
* })
|
|
649
|
+
*/
|
|
650
|
+
findUniqueOrThrow<T extends forum_sync_configsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, forum_sync_configsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__forum_sync_configsClient<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Find the first Forum_sync_configs that matches the filter.
|
|
654
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
655
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
656
|
+
* @param {forum_sync_configsFindFirstArgs} args - Arguments to find a Forum_sync_configs
|
|
657
|
+
* @example
|
|
658
|
+
* // Get one Forum_sync_configs
|
|
659
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.findFirst({
|
|
660
|
+
* where: {
|
|
661
|
+
* // ... provide filter here
|
|
662
|
+
* }
|
|
663
|
+
* })
|
|
664
|
+
*/
|
|
665
|
+
findFirst<T extends forum_sync_configsFindFirstArgs>(args?: Prisma.SelectSubset<T, forum_sync_configsFindFirstArgs<ExtArgs>>): Prisma.Prisma__forum_sync_configsClient<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Find the first Forum_sync_configs that matches the filter or
|
|
669
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
670
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
671
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
672
|
+
* @param {forum_sync_configsFindFirstOrThrowArgs} args - Arguments to find a Forum_sync_configs
|
|
673
|
+
* @example
|
|
674
|
+
* // Get one Forum_sync_configs
|
|
675
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.findFirstOrThrow({
|
|
676
|
+
* where: {
|
|
677
|
+
* // ... provide filter here
|
|
678
|
+
* }
|
|
679
|
+
* })
|
|
680
|
+
*/
|
|
681
|
+
findFirstOrThrow<T extends forum_sync_configsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, forum_sync_configsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__forum_sync_configsClient<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Find zero or more Forum_sync_configs that matches the filter.
|
|
685
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
686
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
687
|
+
* @param {forum_sync_configsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
688
|
+
* @example
|
|
689
|
+
* // Get all Forum_sync_configs
|
|
690
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.findMany()
|
|
691
|
+
*
|
|
692
|
+
* // Get first 10 Forum_sync_configs
|
|
693
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.findMany({ take: 10 })
|
|
694
|
+
*
|
|
695
|
+
* // Only select the `id`
|
|
696
|
+
* const forum_sync_configsWithIdOnly = await prisma.forum_sync_configs.findMany({ select: { id: true } })
|
|
697
|
+
*
|
|
698
|
+
*/
|
|
699
|
+
findMany<T extends forum_sync_configsFindManyArgs>(args?: Prisma.SelectSubset<T, forum_sync_configsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Create a Forum_sync_configs.
|
|
703
|
+
* @param {forum_sync_configsCreateArgs} args - Arguments to create a Forum_sync_configs.
|
|
704
|
+
* @example
|
|
705
|
+
* // Create one Forum_sync_configs
|
|
706
|
+
* const Forum_sync_configs = await prisma.forum_sync_configs.create({
|
|
707
|
+
* data: {
|
|
708
|
+
* // ... data to create a Forum_sync_configs
|
|
709
|
+
* }
|
|
710
|
+
* })
|
|
711
|
+
*
|
|
712
|
+
*/
|
|
713
|
+
create<T extends forum_sync_configsCreateArgs>(args: Prisma.SelectSubset<T, forum_sync_configsCreateArgs<ExtArgs>>): Prisma.Prisma__forum_sync_configsClient<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Create many Forum_sync_configs.
|
|
717
|
+
* @param {forum_sync_configsCreateManyArgs} args - Arguments to create many Forum_sync_configs.
|
|
718
|
+
* @example
|
|
719
|
+
* // Create many Forum_sync_configs
|
|
720
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.createMany({
|
|
721
|
+
* data: [
|
|
722
|
+
* // ... provide data here
|
|
723
|
+
* ]
|
|
724
|
+
* })
|
|
725
|
+
*
|
|
726
|
+
*/
|
|
727
|
+
createMany<T extends forum_sync_configsCreateManyArgs>(args?: Prisma.SelectSubset<T, forum_sync_configsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Create many Forum_sync_configs and returns the data saved in the database.
|
|
731
|
+
* @param {forum_sync_configsCreateManyAndReturnArgs} args - Arguments to create many Forum_sync_configs.
|
|
732
|
+
* @example
|
|
733
|
+
* // Create many Forum_sync_configs
|
|
734
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.createManyAndReturn({
|
|
735
|
+
* data: [
|
|
736
|
+
* // ... provide data here
|
|
737
|
+
* ]
|
|
738
|
+
* })
|
|
739
|
+
*
|
|
740
|
+
* // Create many Forum_sync_configs and only return the `id`
|
|
741
|
+
* const forum_sync_configsWithIdOnly = await prisma.forum_sync_configs.createManyAndReturn({
|
|
742
|
+
* select: { id: true },
|
|
743
|
+
* data: [
|
|
744
|
+
* // ... provide data here
|
|
745
|
+
* ]
|
|
746
|
+
* })
|
|
747
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
748
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
749
|
+
*
|
|
750
|
+
*/
|
|
751
|
+
createManyAndReturn<T extends forum_sync_configsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, forum_sync_configsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Delete a Forum_sync_configs.
|
|
755
|
+
* @param {forum_sync_configsDeleteArgs} args - Arguments to delete one Forum_sync_configs.
|
|
756
|
+
* @example
|
|
757
|
+
* // Delete one Forum_sync_configs
|
|
758
|
+
* const Forum_sync_configs = await prisma.forum_sync_configs.delete({
|
|
759
|
+
* where: {
|
|
760
|
+
* // ... filter to delete one Forum_sync_configs
|
|
761
|
+
* }
|
|
762
|
+
* })
|
|
763
|
+
*
|
|
764
|
+
*/
|
|
765
|
+
delete<T extends forum_sync_configsDeleteArgs>(args: Prisma.SelectSubset<T, forum_sync_configsDeleteArgs<ExtArgs>>): Prisma.Prisma__forum_sync_configsClient<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* Update one Forum_sync_configs.
|
|
769
|
+
* @param {forum_sync_configsUpdateArgs} args - Arguments to update one Forum_sync_configs.
|
|
770
|
+
* @example
|
|
771
|
+
* // Update one Forum_sync_configs
|
|
772
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.update({
|
|
773
|
+
* where: {
|
|
774
|
+
* // ... provide filter here
|
|
775
|
+
* },
|
|
776
|
+
* data: {
|
|
777
|
+
* // ... provide data here
|
|
778
|
+
* }
|
|
779
|
+
* })
|
|
780
|
+
*
|
|
781
|
+
*/
|
|
782
|
+
update<T extends forum_sync_configsUpdateArgs>(args: Prisma.SelectSubset<T, forum_sync_configsUpdateArgs<ExtArgs>>): Prisma.Prisma__forum_sync_configsClient<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Delete zero or more Forum_sync_configs.
|
|
786
|
+
* @param {forum_sync_configsDeleteManyArgs} args - Arguments to filter Forum_sync_configs to delete.
|
|
787
|
+
* @example
|
|
788
|
+
* // Delete a few Forum_sync_configs
|
|
789
|
+
* const { count } = await prisma.forum_sync_configs.deleteMany({
|
|
790
|
+
* where: {
|
|
791
|
+
* // ... provide filter here
|
|
792
|
+
* }
|
|
793
|
+
* })
|
|
794
|
+
*
|
|
795
|
+
*/
|
|
796
|
+
deleteMany<T extends forum_sync_configsDeleteManyArgs>(args?: Prisma.SelectSubset<T, forum_sync_configsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Update zero or more Forum_sync_configs.
|
|
800
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
801
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
802
|
+
* @param {forum_sync_configsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
803
|
+
* @example
|
|
804
|
+
* // Update many Forum_sync_configs
|
|
805
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.updateMany({
|
|
806
|
+
* where: {
|
|
807
|
+
* // ... provide filter here
|
|
808
|
+
* },
|
|
809
|
+
* data: {
|
|
810
|
+
* // ... provide data here
|
|
811
|
+
* }
|
|
812
|
+
* })
|
|
813
|
+
*
|
|
814
|
+
*/
|
|
815
|
+
updateMany<T extends forum_sync_configsUpdateManyArgs>(args: Prisma.SelectSubset<T, forum_sync_configsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Update zero or more Forum_sync_configs and returns the data updated in the database.
|
|
819
|
+
* @param {forum_sync_configsUpdateManyAndReturnArgs} args - Arguments to update many Forum_sync_configs.
|
|
820
|
+
* @example
|
|
821
|
+
* // Update many Forum_sync_configs
|
|
822
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.updateManyAndReturn({
|
|
823
|
+
* where: {
|
|
824
|
+
* // ... provide filter here
|
|
825
|
+
* },
|
|
826
|
+
* data: [
|
|
827
|
+
* // ... provide data here
|
|
828
|
+
* ]
|
|
829
|
+
* })
|
|
830
|
+
*
|
|
831
|
+
* // Update zero or more Forum_sync_configs and only return the `id`
|
|
832
|
+
* const forum_sync_configsWithIdOnly = await prisma.forum_sync_configs.updateManyAndReturn({
|
|
833
|
+
* select: { id: true },
|
|
834
|
+
* where: {
|
|
835
|
+
* // ... provide filter here
|
|
836
|
+
* },
|
|
837
|
+
* data: [
|
|
838
|
+
* // ... provide data here
|
|
839
|
+
* ]
|
|
840
|
+
* })
|
|
841
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
842
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
843
|
+
*
|
|
844
|
+
*/
|
|
845
|
+
updateManyAndReturn<T extends forum_sync_configsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, forum_sync_configsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* Create or update one Forum_sync_configs.
|
|
849
|
+
* @param {forum_sync_configsUpsertArgs} args - Arguments to update or create a Forum_sync_configs.
|
|
850
|
+
* @example
|
|
851
|
+
* // Update or create a Forum_sync_configs
|
|
852
|
+
* const forum_sync_configs = await prisma.forum_sync_configs.upsert({
|
|
853
|
+
* create: {
|
|
854
|
+
* // ... data to create a Forum_sync_configs
|
|
855
|
+
* },
|
|
856
|
+
* update: {
|
|
857
|
+
* // ... in case it already exists, update
|
|
858
|
+
* },
|
|
859
|
+
* where: {
|
|
860
|
+
* // ... the filter for the Forum_sync_configs we want to update
|
|
861
|
+
* }
|
|
862
|
+
* })
|
|
863
|
+
*/
|
|
864
|
+
upsert<T extends forum_sync_configsUpsertArgs>(args: Prisma.SelectSubset<T, forum_sync_configsUpsertArgs<ExtArgs>>): Prisma.Prisma__forum_sync_configsClient<runtime.Types.Result.GetResult<Prisma.$forum_sync_configsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Count the number of Forum_sync_configs.
|
|
869
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
870
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
871
|
+
* @param {forum_sync_configsCountArgs} args - Arguments to filter Forum_sync_configs to count.
|
|
872
|
+
* @example
|
|
873
|
+
* // Count the number of Forum_sync_configs
|
|
874
|
+
* const count = await prisma.forum_sync_configs.count({
|
|
875
|
+
* where: {
|
|
876
|
+
* // ... the filter for the Forum_sync_configs we want to count
|
|
877
|
+
* }
|
|
878
|
+
* })
|
|
879
|
+
**/
|
|
880
|
+
count<T extends forum_sync_configsCountArgs>(
|
|
881
|
+
args?: Prisma.Subset<T, forum_sync_configsCountArgs>,
|
|
882
|
+
): Prisma.PrismaPromise<
|
|
883
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
884
|
+
? T['select'] extends true
|
|
885
|
+
? number
|
|
886
|
+
: Prisma.GetScalarType<T['select'], Forum_sync_configsCountAggregateOutputType>
|
|
887
|
+
: number
|
|
888
|
+
>
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Allows you to perform aggregations operations on a Forum_sync_configs.
|
|
892
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
893
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
894
|
+
* @param {Forum_sync_configsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
895
|
+
* @example
|
|
896
|
+
* // Ordered by age ascending
|
|
897
|
+
* // Where email contains prisma.io
|
|
898
|
+
* // Limited to the 10 users
|
|
899
|
+
* const aggregations = await prisma.user.aggregate({
|
|
900
|
+
* _avg: {
|
|
901
|
+
* age: true,
|
|
902
|
+
* },
|
|
903
|
+
* where: {
|
|
904
|
+
* email: {
|
|
905
|
+
* contains: "prisma.io",
|
|
906
|
+
* },
|
|
907
|
+
* },
|
|
908
|
+
* orderBy: {
|
|
909
|
+
* age: "asc",
|
|
910
|
+
* },
|
|
911
|
+
* take: 10,
|
|
912
|
+
* })
|
|
913
|
+
**/
|
|
914
|
+
aggregate<T extends Forum_sync_configsAggregateArgs>(args: Prisma.Subset<T, Forum_sync_configsAggregateArgs>): Prisma.PrismaPromise<GetForum_sync_configsAggregateType<T>>
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Group by Forum_sync_configs.
|
|
918
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
919
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
920
|
+
* @param {forum_sync_configsGroupByArgs} args - Group by arguments.
|
|
921
|
+
* @example
|
|
922
|
+
* // Group by city, order by createdAt, get count
|
|
923
|
+
* const result = await prisma.user.groupBy({
|
|
924
|
+
* by: ['city', 'createdAt'],
|
|
925
|
+
* orderBy: {
|
|
926
|
+
* createdAt: true
|
|
927
|
+
* },
|
|
928
|
+
* _count: {
|
|
929
|
+
* _all: true
|
|
930
|
+
* },
|
|
931
|
+
* })
|
|
932
|
+
*
|
|
933
|
+
**/
|
|
934
|
+
groupBy<
|
|
935
|
+
T extends forum_sync_configsGroupByArgs,
|
|
936
|
+
HasSelectOrTake extends Prisma.Or<
|
|
937
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
938
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
939
|
+
>,
|
|
940
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
941
|
+
? { orderBy: forum_sync_configsGroupByArgs['orderBy'] }
|
|
942
|
+
: { orderBy?: forum_sync_configsGroupByArgs['orderBy'] },
|
|
943
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
944
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
945
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
946
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
947
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
948
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
949
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
950
|
+
? `Error: "by" must not be empty.`
|
|
951
|
+
: HavingValid extends Prisma.False
|
|
952
|
+
? {
|
|
953
|
+
[P in HavingFields]: P extends ByFields
|
|
954
|
+
? never
|
|
955
|
+
: P extends string
|
|
956
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
957
|
+
: [
|
|
958
|
+
Error,
|
|
959
|
+
'Field ',
|
|
960
|
+
P,
|
|
961
|
+
` in "having" needs to be provided in "by"`,
|
|
962
|
+
]
|
|
963
|
+
}[HavingFields]
|
|
964
|
+
: 'take' extends Prisma.Keys<T>
|
|
965
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
966
|
+
? ByValid extends Prisma.True
|
|
967
|
+
? {}
|
|
968
|
+
: {
|
|
969
|
+
[P in OrderFields]: P extends ByFields
|
|
970
|
+
? never
|
|
971
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
972
|
+
}[OrderFields]
|
|
973
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
974
|
+
: 'skip' extends Prisma.Keys<T>
|
|
975
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
976
|
+
? ByValid extends Prisma.True
|
|
977
|
+
? {}
|
|
978
|
+
: {
|
|
979
|
+
[P in OrderFields]: P extends ByFields
|
|
980
|
+
? never
|
|
981
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
982
|
+
}[OrderFields]
|
|
983
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
984
|
+
: ByValid extends Prisma.True
|
|
985
|
+
? {}
|
|
986
|
+
: {
|
|
987
|
+
[P in OrderFields]: P extends ByFields
|
|
988
|
+
? never
|
|
989
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
990
|
+
}[OrderFields]
|
|
991
|
+
>(args: Prisma.SubsetIntersection<T, forum_sync_configsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetForum_sync_configsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
992
|
+
/**
|
|
993
|
+
* Fields of the forum_sync_configs model
|
|
994
|
+
*/
|
|
995
|
+
readonly fields: forum_sync_configsFieldRefs;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* The delegate class that acts as a "Promise-like" for forum_sync_configs.
|
|
1000
|
+
* Why is this prefixed with `Prisma__`?
|
|
1001
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1002
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1003
|
+
*/
|
|
1004
|
+
export interface Prisma__forum_sync_configsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1005
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1006
|
+
bot<T extends Prisma.bot_tokensDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.bot_tokensDefaultArgs<ExtArgs>>): Prisma.Prisma__bot_tokensClient<runtime.Types.Result.GetResult<Prisma.$bot_tokensPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1007
|
+
/**
|
|
1008
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1009
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1010
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1011
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1012
|
+
*/
|
|
1013
|
+
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>
|
|
1014
|
+
/**
|
|
1015
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1016
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1017
|
+
* @returns A Promise for the completion of the callback.
|
|
1018
|
+
*/
|
|
1019
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1020
|
+
/**
|
|
1021
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1022
|
+
* resolved value cannot be modified from the callback.
|
|
1023
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1024
|
+
* @returns A Promise for the completion of the callback.
|
|
1025
|
+
*/
|
|
1026
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* Fields of the forum_sync_configs model
|
|
1034
|
+
*/
|
|
1035
|
+
export interface forum_sync_configsFieldRefs {
|
|
1036
|
+
readonly id: Prisma.FieldRef<"forum_sync_configs", 'Int'>
|
|
1037
|
+
readonly app_id: Prisma.FieldRef<"forum_sync_configs", 'String'>
|
|
1038
|
+
readonly forum_channel_id: Prisma.FieldRef<"forum_sync_configs", 'String'>
|
|
1039
|
+
readonly output_dir: Prisma.FieldRef<"forum_sync_configs", 'String'>
|
|
1040
|
+
readonly direction: Prisma.FieldRef<"forum_sync_configs", 'String'>
|
|
1041
|
+
readonly created_at: Prisma.FieldRef<"forum_sync_configs", 'DateTime'>
|
|
1042
|
+
readonly updated_at: Prisma.FieldRef<"forum_sync_configs", 'DateTime'>
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
// Custom InputTypes
|
|
1047
|
+
/**
|
|
1048
|
+
* forum_sync_configs findUnique
|
|
1049
|
+
*/
|
|
1050
|
+
export type forum_sync_configsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1051
|
+
/**
|
|
1052
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1053
|
+
*/
|
|
1054
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1055
|
+
/**
|
|
1056
|
+
* Omit specific fields from the forum_sync_configs
|
|
1057
|
+
*/
|
|
1058
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1059
|
+
/**
|
|
1060
|
+
* Choose, which related nodes to fetch as well
|
|
1061
|
+
*/
|
|
1062
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1063
|
+
/**
|
|
1064
|
+
* Filter, which forum_sync_configs to fetch.
|
|
1065
|
+
*/
|
|
1066
|
+
where: Prisma.forum_sync_configsWhereUniqueInput
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* forum_sync_configs findUniqueOrThrow
|
|
1071
|
+
*/
|
|
1072
|
+
export type forum_sync_configsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1073
|
+
/**
|
|
1074
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1075
|
+
*/
|
|
1076
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1077
|
+
/**
|
|
1078
|
+
* Omit specific fields from the forum_sync_configs
|
|
1079
|
+
*/
|
|
1080
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1081
|
+
/**
|
|
1082
|
+
* Choose, which related nodes to fetch as well
|
|
1083
|
+
*/
|
|
1084
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1085
|
+
/**
|
|
1086
|
+
* Filter, which forum_sync_configs to fetch.
|
|
1087
|
+
*/
|
|
1088
|
+
where: Prisma.forum_sync_configsWhereUniqueInput
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* forum_sync_configs findFirst
|
|
1093
|
+
*/
|
|
1094
|
+
export type forum_sync_configsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1095
|
+
/**
|
|
1096
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1097
|
+
*/
|
|
1098
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1099
|
+
/**
|
|
1100
|
+
* Omit specific fields from the forum_sync_configs
|
|
1101
|
+
*/
|
|
1102
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1103
|
+
/**
|
|
1104
|
+
* Choose, which related nodes to fetch as well
|
|
1105
|
+
*/
|
|
1106
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1107
|
+
/**
|
|
1108
|
+
* Filter, which forum_sync_configs to fetch.
|
|
1109
|
+
*/
|
|
1110
|
+
where?: Prisma.forum_sync_configsWhereInput
|
|
1111
|
+
/**
|
|
1112
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1113
|
+
*
|
|
1114
|
+
* Determine the order of forum_sync_configs to fetch.
|
|
1115
|
+
*/
|
|
1116
|
+
orderBy?: Prisma.forum_sync_configsOrderByWithRelationInput | Prisma.forum_sync_configsOrderByWithRelationInput[]
|
|
1117
|
+
/**
|
|
1118
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1119
|
+
*
|
|
1120
|
+
* Sets the position for searching for forum_sync_configs.
|
|
1121
|
+
*/
|
|
1122
|
+
cursor?: Prisma.forum_sync_configsWhereUniqueInput
|
|
1123
|
+
/**
|
|
1124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1125
|
+
*
|
|
1126
|
+
* Take `±n` forum_sync_configs from the position of the cursor.
|
|
1127
|
+
*/
|
|
1128
|
+
take?: number
|
|
1129
|
+
/**
|
|
1130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1131
|
+
*
|
|
1132
|
+
* Skip the first `n` forum_sync_configs.
|
|
1133
|
+
*/
|
|
1134
|
+
skip?: number
|
|
1135
|
+
/**
|
|
1136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1137
|
+
*
|
|
1138
|
+
* Filter by unique combinations of forum_sync_configs.
|
|
1139
|
+
*/
|
|
1140
|
+
distinct?: Prisma.Forum_sync_configsScalarFieldEnum | Prisma.Forum_sync_configsScalarFieldEnum[]
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* forum_sync_configs findFirstOrThrow
|
|
1145
|
+
*/
|
|
1146
|
+
export type forum_sync_configsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1147
|
+
/**
|
|
1148
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1149
|
+
*/
|
|
1150
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1151
|
+
/**
|
|
1152
|
+
* Omit specific fields from the forum_sync_configs
|
|
1153
|
+
*/
|
|
1154
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1155
|
+
/**
|
|
1156
|
+
* Choose, which related nodes to fetch as well
|
|
1157
|
+
*/
|
|
1158
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1159
|
+
/**
|
|
1160
|
+
* Filter, which forum_sync_configs to fetch.
|
|
1161
|
+
*/
|
|
1162
|
+
where?: Prisma.forum_sync_configsWhereInput
|
|
1163
|
+
/**
|
|
1164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1165
|
+
*
|
|
1166
|
+
* Determine the order of forum_sync_configs to fetch.
|
|
1167
|
+
*/
|
|
1168
|
+
orderBy?: Prisma.forum_sync_configsOrderByWithRelationInput | Prisma.forum_sync_configsOrderByWithRelationInput[]
|
|
1169
|
+
/**
|
|
1170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1171
|
+
*
|
|
1172
|
+
* Sets the position for searching for forum_sync_configs.
|
|
1173
|
+
*/
|
|
1174
|
+
cursor?: Prisma.forum_sync_configsWhereUniqueInput
|
|
1175
|
+
/**
|
|
1176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1177
|
+
*
|
|
1178
|
+
* Take `±n` forum_sync_configs from the position of the cursor.
|
|
1179
|
+
*/
|
|
1180
|
+
take?: number
|
|
1181
|
+
/**
|
|
1182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1183
|
+
*
|
|
1184
|
+
* Skip the first `n` forum_sync_configs.
|
|
1185
|
+
*/
|
|
1186
|
+
skip?: number
|
|
1187
|
+
/**
|
|
1188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1189
|
+
*
|
|
1190
|
+
* Filter by unique combinations of forum_sync_configs.
|
|
1191
|
+
*/
|
|
1192
|
+
distinct?: Prisma.Forum_sync_configsScalarFieldEnum | Prisma.Forum_sync_configsScalarFieldEnum[]
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* forum_sync_configs findMany
|
|
1197
|
+
*/
|
|
1198
|
+
export type forum_sync_configsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1199
|
+
/**
|
|
1200
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1201
|
+
*/
|
|
1202
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1203
|
+
/**
|
|
1204
|
+
* Omit specific fields from the forum_sync_configs
|
|
1205
|
+
*/
|
|
1206
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1207
|
+
/**
|
|
1208
|
+
* Choose, which related nodes to fetch as well
|
|
1209
|
+
*/
|
|
1210
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1211
|
+
/**
|
|
1212
|
+
* Filter, which forum_sync_configs to fetch.
|
|
1213
|
+
*/
|
|
1214
|
+
where?: Prisma.forum_sync_configsWhereInput
|
|
1215
|
+
/**
|
|
1216
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1217
|
+
*
|
|
1218
|
+
* Determine the order of forum_sync_configs to fetch.
|
|
1219
|
+
*/
|
|
1220
|
+
orderBy?: Prisma.forum_sync_configsOrderByWithRelationInput | Prisma.forum_sync_configsOrderByWithRelationInput[]
|
|
1221
|
+
/**
|
|
1222
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1223
|
+
*
|
|
1224
|
+
* Sets the position for listing forum_sync_configs.
|
|
1225
|
+
*/
|
|
1226
|
+
cursor?: Prisma.forum_sync_configsWhereUniqueInput
|
|
1227
|
+
/**
|
|
1228
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1229
|
+
*
|
|
1230
|
+
* Take `±n` forum_sync_configs from the position of the cursor.
|
|
1231
|
+
*/
|
|
1232
|
+
take?: number
|
|
1233
|
+
/**
|
|
1234
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1235
|
+
*
|
|
1236
|
+
* Skip the first `n` forum_sync_configs.
|
|
1237
|
+
*/
|
|
1238
|
+
skip?: number
|
|
1239
|
+
distinct?: Prisma.Forum_sync_configsScalarFieldEnum | Prisma.Forum_sync_configsScalarFieldEnum[]
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* forum_sync_configs create
|
|
1244
|
+
*/
|
|
1245
|
+
export type forum_sync_configsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1246
|
+
/**
|
|
1247
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1248
|
+
*/
|
|
1249
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1250
|
+
/**
|
|
1251
|
+
* Omit specific fields from the forum_sync_configs
|
|
1252
|
+
*/
|
|
1253
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1254
|
+
/**
|
|
1255
|
+
* Choose, which related nodes to fetch as well
|
|
1256
|
+
*/
|
|
1257
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1258
|
+
/**
|
|
1259
|
+
* The data needed to create a forum_sync_configs.
|
|
1260
|
+
*/
|
|
1261
|
+
data: Prisma.XOR<Prisma.forum_sync_configsCreateInput, Prisma.forum_sync_configsUncheckedCreateInput>
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* forum_sync_configs createMany
|
|
1266
|
+
*/
|
|
1267
|
+
export type forum_sync_configsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1268
|
+
/**
|
|
1269
|
+
* The data used to create many forum_sync_configs.
|
|
1270
|
+
*/
|
|
1271
|
+
data: Prisma.forum_sync_configsCreateManyInput | Prisma.forum_sync_configsCreateManyInput[]
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* forum_sync_configs createManyAndReturn
|
|
1276
|
+
*/
|
|
1277
|
+
export type forum_sync_configsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1278
|
+
/**
|
|
1279
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1280
|
+
*/
|
|
1281
|
+
select?: Prisma.forum_sync_configsSelectCreateManyAndReturn<ExtArgs> | null
|
|
1282
|
+
/**
|
|
1283
|
+
* Omit specific fields from the forum_sync_configs
|
|
1284
|
+
*/
|
|
1285
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1286
|
+
/**
|
|
1287
|
+
* The data used to create many forum_sync_configs.
|
|
1288
|
+
*/
|
|
1289
|
+
data: Prisma.forum_sync_configsCreateManyInput | Prisma.forum_sync_configsCreateManyInput[]
|
|
1290
|
+
/**
|
|
1291
|
+
* Choose, which related nodes to fetch as well
|
|
1292
|
+
*/
|
|
1293
|
+
include?: Prisma.forum_sync_configsIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* forum_sync_configs update
|
|
1298
|
+
*/
|
|
1299
|
+
export type forum_sync_configsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1300
|
+
/**
|
|
1301
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1302
|
+
*/
|
|
1303
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1304
|
+
/**
|
|
1305
|
+
* Omit specific fields from the forum_sync_configs
|
|
1306
|
+
*/
|
|
1307
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1308
|
+
/**
|
|
1309
|
+
* Choose, which related nodes to fetch as well
|
|
1310
|
+
*/
|
|
1311
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1312
|
+
/**
|
|
1313
|
+
* The data needed to update a forum_sync_configs.
|
|
1314
|
+
*/
|
|
1315
|
+
data: Prisma.XOR<Prisma.forum_sync_configsUpdateInput, Prisma.forum_sync_configsUncheckedUpdateInput>
|
|
1316
|
+
/**
|
|
1317
|
+
* Choose, which forum_sync_configs to update.
|
|
1318
|
+
*/
|
|
1319
|
+
where: Prisma.forum_sync_configsWhereUniqueInput
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* forum_sync_configs updateMany
|
|
1324
|
+
*/
|
|
1325
|
+
export type forum_sync_configsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1326
|
+
/**
|
|
1327
|
+
* The data used to update forum_sync_configs.
|
|
1328
|
+
*/
|
|
1329
|
+
data: Prisma.XOR<Prisma.forum_sync_configsUpdateManyMutationInput, Prisma.forum_sync_configsUncheckedUpdateManyInput>
|
|
1330
|
+
/**
|
|
1331
|
+
* Filter which forum_sync_configs to update
|
|
1332
|
+
*/
|
|
1333
|
+
where?: Prisma.forum_sync_configsWhereInput
|
|
1334
|
+
/**
|
|
1335
|
+
* Limit how many forum_sync_configs to update.
|
|
1336
|
+
*/
|
|
1337
|
+
limit?: number
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* forum_sync_configs updateManyAndReturn
|
|
1342
|
+
*/
|
|
1343
|
+
export type forum_sync_configsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1344
|
+
/**
|
|
1345
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1346
|
+
*/
|
|
1347
|
+
select?: Prisma.forum_sync_configsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1348
|
+
/**
|
|
1349
|
+
* Omit specific fields from the forum_sync_configs
|
|
1350
|
+
*/
|
|
1351
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1352
|
+
/**
|
|
1353
|
+
* The data used to update forum_sync_configs.
|
|
1354
|
+
*/
|
|
1355
|
+
data: Prisma.XOR<Prisma.forum_sync_configsUpdateManyMutationInput, Prisma.forum_sync_configsUncheckedUpdateManyInput>
|
|
1356
|
+
/**
|
|
1357
|
+
* Filter which forum_sync_configs to update
|
|
1358
|
+
*/
|
|
1359
|
+
where?: Prisma.forum_sync_configsWhereInput
|
|
1360
|
+
/**
|
|
1361
|
+
* Limit how many forum_sync_configs to update.
|
|
1362
|
+
*/
|
|
1363
|
+
limit?: number
|
|
1364
|
+
/**
|
|
1365
|
+
* Choose, which related nodes to fetch as well
|
|
1366
|
+
*/
|
|
1367
|
+
include?: Prisma.forum_sync_configsIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* forum_sync_configs upsert
|
|
1372
|
+
*/
|
|
1373
|
+
export type forum_sync_configsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
|
+
/**
|
|
1375
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1376
|
+
*/
|
|
1377
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1378
|
+
/**
|
|
1379
|
+
* Omit specific fields from the forum_sync_configs
|
|
1380
|
+
*/
|
|
1381
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1382
|
+
/**
|
|
1383
|
+
* Choose, which related nodes to fetch as well
|
|
1384
|
+
*/
|
|
1385
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1386
|
+
/**
|
|
1387
|
+
* The filter to search for the forum_sync_configs to update in case it exists.
|
|
1388
|
+
*/
|
|
1389
|
+
where: Prisma.forum_sync_configsWhereUniqueInput
|
|
1390
|
+
/**
|
|
1391
|
+
* In case the forum_sync_configs found by the `where` argument doesn't exist, create a new forum_sync_configs with this data.
|
|
1392
|
+
*/
|
|
1393
|
+
create: Prisma.XOR<Prisma.forum_sync_configsCreateInput, Prisma.forum_sync_configsUncheckedCreateInput>
|
|
1394
|
+
/**
|
|
1395
|
+
* In case the forum_sync_configs was found with the provided `where` argument, update it with this data.
|
|
1396
|
+
*/
|
|
1397
|
+
update: Prisma.XOR<Prisma.forum_sync_configsUpdateInput, Prisma.forum_sync_configsUncheckedUpdateInput>
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* forum_sync_configs delete
|
|
1402
|
+
*/
|
|
1403
|
+
export type forum_sync_configsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1404
|
+
/**
|
|
1405
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1406
|
+
*/
|
|
1407
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1408
|
+
/**
|
|
1409
|
+
* Omit specific fields from the forum_sync_configs
|
|
1410
|
+
*/
|
|
1411
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1412
|
+
/**
|
|
1413
|
+
* Choose, which related nodes to fetch as well
|
|
1414
|
+
*/
|
|
1415
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1416
|
+
/**
|
|
1417
|
+
* Filter which forum_sync_configs to delete.
|
|
1418
|
+
*/
|
|
1419
|
+
where: Prisma.forum_sync_configsWhereUniqueInput
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* forum_sync_configs deleteMany
|
|
1424
|
+
*/
|
|
1425
|
+
export type forum_sync_configsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1426
|
+
/**
|
|
1427
|
+
* Filter which forum_sync_configs to delete
|
|
1428
|
+
*/
|
|
1429
|
+
where?: Prisma.forum_sync_configsWhereInput
|
|
1430
|
+
/**
|
|
1431
|
+
* Limit how many forum_sync_configs to delete.
|
|
1432
|
+
*/
|
|
1433
|
+
limit?: number
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* forum_sync_configs without action
|
|
1438
|
+
*/
|
|
1439
|
+
export type forum_sync_configsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1440
|
+
/**
|
|
1441
|
+
* Select specific fields to fetch from the forum_sync_configs
|
|
1442
|
+
*/
|
|
1443
|
+
select?: Prisma.forum_sync_configsSelect<ExtArgs> | null
|
|
1444
|
+
/**
|
|
1445
|
+
* Omit specific fields from the forum_sync_configs
|
|
1446
|
+
*/
|
|
1447
|
+
omit?: Prisma.forum_sync_configsOmit<ExtArgs> | null
|
|
1448
|
+
/**
|
|
1449
|
+
* Choose, which related nodes to fetch as well
|
|
1450
|
+
*/
|
|
1451
|
+
include?: Prisma.forum_sync_configsInclude<ExtArgs> | null
|
|
1452
|
+
}
|