@aeolus-fleet/core 0.0.0 → 0.19.0
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/LICENSE +201 -0
- package/README.md +98 -1
- package/dist/adapters/cli/fleet-init.d.ts +14 -0
- package/dist/adapters/cli/fleet-init.js +68 -0
- package/dist/adapters/cli/fleet-init.js.map +1 -0
- package/dist/adapters/cli/io.d.ts +35 -0
- package/dist/adapters/cli/io.js +21 -0
- package/dist/adapters/cli/io.js.map +1 -0
- package/dist/adapters/cli/migrate.d.ts +11 -0
- package/dist/adapters/cli/migrate.js +12 -0
- package/dist/adapters/cli/migrate.js.map +1 -0
- package/dist/adapters/cli/operator-reset-password.d.ts +12 -0
- package/dist/adapters/cli/operator-reset-password.js +49 -0
- package/dist/adapters/cli/operator-reset-password.js.map +1 -0
- package/dist/adapters/cli/run.d.ts +14 -0
- package/dist/adapters/cli/run.js +40 -0
- package/dist/adapters/cli/run.js.map +1 -0
- package/dist/adapters/cli/terminal.d.ts +20 -0
- package/dist/adapters/cli/terminal.js +68 -0
- package/dist/adapters/cli/terminal.js.map +1 -0
- package/dist/adapters/crypto/passwords.d.ts +2 -0
- package/dist/adapters/crypto/passwords.js +59 -0
- package/dist/adapters/crypto/passwords.js.map +1 -0
- package/dist/adapters/crypto/secrets.d.ts +5 -0
- package/dist/adapters/crypto/secrets.js +10 -0
- package/dist/adapters/crypto/secrets.js.map +1 -0
- package/dist/adapters/http/device-label.d.ts +9 -0
- package/dist/adapters/http/device-label.js +39 -0
- package/dist/adapters/http/device-label.js.map +1 -0
- package/dist/adapters/http/rate-limiter.d.ts +21 -0
- package/dist/adapters/http/rate-limiter.js +44 -0
- package/dist/adapters/http/rate-limiter.js.map +1 -0
- package/dist/adapters/http/request-credentials.d.ts +23 -0
- package/dist/adapters/http/request-credentials.js +45 -0
- package/dist/adapters/http/request-credentials.js.map +1 -0
- package/dist/adapters/http/server.d.ts +47 -0
- package/dist/adapters/http/server.js +216 -0
- package/dist/adapters/http/server.js.map +1 -0
- package/dist/adapters/http/version.d.ts +9 -0
- package/dist/adapters/http/version.js +23 -0
- package/dist/adapters/http/version.js.map +1 -0
- package/dist/adapters/mcp/mcp-endpoint.d.ts +8 -0
- package/dist/adapters/mcp/mcp-endpoint.js +127 -0
- package/dist/adapters/mcp/mcp-endpoint.js.map +1 -0
- package/dist/adapters/prisma/client.d.ts +10 -0
- package/dist/adapters/prisma/client.js +20 -0
- package/dist/adapters/prisma/client.js.map +1 -0
- package/dist/adapters/prisma/delivery-notices.d.ts +34 -0
- package/dist/adapters/prisma/delivery-notices.js +113 -0
- package/dist/adapters/prisma/delivery-notices.js.map +1 -0
- package/dist/adapters/prisma/event-log.d.ts +11 -0
- package/dist/adapters/prisma/event-log.js +61 -0
- package/dist/adapters/prisma/event-log.js.map +1 -0
- package/dist/adapters/prisma/failure-log.d.ts +22 -0
- package/dist/adapters/prisma/failure-log.js +70 -0
- package/dist/adapters/prisma/failure-log.js.map +1 -0
- package/dist/adapters/prisma/fleet-counter.d.ts +3 -0
- package/dist/adapters/prisma/fleet-counter.js +6 -0
- package/dist/adapters/prisma/fleet-counter.js.map +1 -0
- package/dist/adapters/prisma/fleet-event-wakeups.d.ts +33 -0
- package/dist/adapters/prisma/fleet-event-wakeups.js +86 -0
- package/dist/adapters/prisma/fleet-event-wakeups.js.map +1 -0
- package/dist/adapters/prisma/generated/browser.d.ts +127 -0
- package/dist/adapters/prisma/generated/browser.js +18 -0
- package/dist/adapters/prisma/generated/browser.js.map +1 -0
- package/dist/adapters/prisma/generated/client.d.ts +146 -0
- package/dist/adapters/prisma/generated/client.js +38 -0
- package/dist/adapters/prisma/generated/client.js.map +1 -0
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +879 -0
- package/dist/adapters/prisma/generated/commonInputTypes.js +11 -0
- package/dist/adapters/prisma/generated/commonInputTypes.js.map +1 -0
- package/dist/adapters/prisma/generated/enums.d.ts +75 -0
- package/dist/adapters/prisma/generated/enums.js +73 -0
- package/dist/adapters/prisma/generated/enums.js.map +1 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +308 -0
- package/dist/adapters/prisma/generated/internal/class.js +52 -0
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +2131 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +295 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +273 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +265 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -0
- package/dist/adapters/prisma/generated/models/ConsoleSession.d.ts +2137 -0
- package/dist/adapters/prisma/generated/models/ConsoleSession.js +2 -0
- package/dist/adapters/prisma/generated/models/ConsoleSession.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Credential.d.ts +1360 -0
- package/dist/adapters/prisma/generated/models/Credential.js +2 -0
- package/dist/adapters/prisma/generated/models/Credential.js.map +1 -0
- package/dist/adapters/prisma/generated/models/CrewRequest.d.ts +1558 -0
- package/dist/adapters/prisma/generated/models/CrewRequest.js +2 -0
- package/dist/adapters/prisma/generated/models/CrewRequest.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Delivery.d.ts +2211 -0
- package/dist/adapters/prisma/generated/models/Delivery.js +2 -0
- package/dist/adapters/prisma/generated/models/Delivery.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Event.d.ts +1991 -0
- package/dist/adapters/prisma/generated/models/Event.js +2 -0
- package/dist/adapters/prisma/generated/models/Event.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +3032 -0
- package/dist/adapters/prisma/generated/models/Fleet.js +2 -0
- package/dist/adapters/prisma/generated/models/Fleet.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Guide.d.ts +943 -0
- package/dist/adapters/prisma/generated/models/Guide.js +2 -0
- package/dist/adapters/prisma/generated/models/Guide.js.map +1 -0
- package/dist/adapters/prisma/generated/models/GuideProgress.d.ts +1323 -0
- package/dist/adapters/prisma/generated/models/GuideProgress.js +2 -0
- package/dist/adapters/prisma/generated/models/GuideProgress.js.map +1 -0
- package/dist/adapters/prisma/generated/models/InstallationRequest.d.ts +1036 -0
- package/dist/adapters/prisma/generated/models/InstallationRequest.js +2 -0
- package/dist/adapters/prisma/generated/models/InstallationRequest.js.map +1 -0
- package/dist/adapters/prisma/generated/models/InstallationSettings.d.ts +1027 -0
- package/dist/adapters/prisma/generated/models/InstallationSettings.js +2 -0
- package/dist/adapters/prisma/generated/models/InstallationSettings.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Lease.d.ts +2076 -0
- package/dist/adapters/prisma/generated/models/Lease.js +2 -0
- package/dist/adapters/prisma/generated/models/Lease.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Message.d.ts +2869 -0
- package/dist/adapters/prisma/generated/models/Message.js +2 -0
- package/dist/adapters/prisma/generated/models/Message.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Notice.d.ts +1068 -0
- package/dist/adapters/prisma/generated/models/Notice.js +2 -0
- package/dist/adapters/prisma/generated/models/Notice.js.map +1 -0
- package/dist/adapters/prisma/generated/models/NoticeDismissal.d.ts +1245 -0
- package/dist/adapters/prisma/generated/models/NoticeDismissal.js +2 -0
- package/dist/adapters/prisma/generated/models/NoticeDismissal.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Operator.d.ts +1173 -0
- package/dist/adapters/prisma/generated/models/Operator.js +2 -0
- package/dist/adapters/prisma/generated/models/Operator.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Ship.d.ts +3320 -0
- package/dist/adapters/prisma/generated/models/Ship.js +2 -0
- package/dist/adapters/prisma/generated/models/Ship.js.map +1 -0
- package/dist/adapters/prisma/generated/models/SignInTicket.d.ts +1222 -0
- package/dist/adapters/prisma/generated/models/SignInTicket.js +2 -0
- package/dist/adapters/prisma/generated/models/SignInTicket.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +18 -0
- package/dist/adapters/prisma/generated/models.js +2 -0
- package/dist/adapters/prisma/generated/models.js.map +1 -0
- package/dist/adapters/prisma/history.d.ts +3 -0
- package/dist/adapters/prisma/history.js +289 -0
- package/dist/adapters/prisma/history.js.map +1 -0
- package/dist/adapters/prisma/identity.d.ts +10 -0
- package/dist/adapters/prisma/identity.js +213 -0
- package/dist/adapters/prisma/identity.js.map +1 -0
- package/dist/adapters/prisma/installation.d.ts +13 -0
- package/dist/adapters/prisma/installation.js +155 -0
- package/dist/adapters/prisma/installation.js.map +1 -0
- package/dist/adapters/prisma/messaging.d.ts +4 -0
- package/dist/adapters/prisma/messaging.js +156 -0
- package/dist/adapters/prisma/messaging.js.map +1 -0
- package/dist/adapters/prisma/migrate.d.ts +5 -0
- package/dist/adapters/prisma/migrate.js +40 -0
- package/dist/adapters/prisma/migrate.js.map +1 -0
- package/dist/adapters/prisma/receiver-wakeups.d.ts +26 -0
- package/dist/adapters/prisma/receiver-wakeups.js +79 -0
- package/dist/adapters/prisma/receiver-wakeups.js.map +1 -0
- package/dist/adapters/prisma/registry.d.ts +8 -0
- package/dist/adapters/prisma/registry.js +427 -0
- package/dist/adapters/prisma/registry.js.map +1 -0
- package/dist/adapters/prisma/rows.d.ts +58 -0
- package/dist/adapters/prisma/rows.js +408 -0
- package/dist/adapters/prisma/rows.js.map +1 -0
- package/dist/adapters/prisma/unit-of-work.d.ts +36 -0
- package/dist/adapters/prisma/unit-of-work.js +66 -0
- package/dist/adapters/prisma/unit-of-work.js.map +1 -0
- package/dist/adapters/rest/openapi.d.ts +12 -0
- package/dist/adapters/rest/openapi.js +62 -0
- package/dist/adapters/rest/openapi.js.map +1 -0
- package/dist/adapters/rest/rest-api.d.ts +8 -0
- package/dist/adapters/rest/rest-api.js +61 -0
- package/dist/adapters/rest/rest-api.js.map +1 -0
- package/dist/adapters/trpc/console.d.ts +150 -0
- package/dist/adapters/trpc/console.js +102 -0
- package/dist/adapters/trpc/console.js.map +1 -0
- package/dist/adapters/trpc/context.d.ts +201 -0
- package/dist/adapters/trpc/context.js +2 -0
- package/dist/adapters/trpc/context.js.map +1 -0
- package/dist/adapters/trpc/fleet.d.ts +637 -0
- package/dist/adapters/trpc/fleet.js +437 -0
- package/dist/adapters/trpc/fleet.js.map +1 -0
- package/dist/adapters/trpc/installation.d.ts +414 -0
- package/dist/adapters/trpc/installation.js +138 -0
- package/dist/adapters/trpc/installation.js.map +1 -0
- package/dist/adapters/trpc/router.d.ts +1263 -0
- package/dist/adapters/trpc/router.js +15 -0
- package/dist/adapters/trpc/router.js.map +1 -0
- package/dist/adapters/trpc/ship-contract.d.ts +107 -0
- package/dist/adapters/trpc/ship-contract.js +165 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -0
- package/dist/adapters/trpc/ship-protocol.d.ts +9 -0
- package/dist/adapters/trpc/ship-protocol.js +25 -0
- package/dist/adapters/trpc/ship-protocol.js.map +1 -0
- package/dist/adapters/trpc/ship.d.ts +209 -0
- package/dist/adapters/trpc/ship.js +214 -0
- package/dist/adapters/trpc/ship.js.map +1 -0
- package/dist/adapters/trpc/starting-prompt-text.d.ts +7 -0
- package/dist/adapters/trpc/starting-prompt-text.js +60 -0
- package/dist/adapters/trpc/starting-prompt-text.js.map +1 -0
- package/dist/adapters/trpc/system.d.ts +29 -0
- package/dist/adapters/trpc/system.js +15 -0
- package/dist/adapters/trpc/system.js.map +1 -0
- package/dist/adapters/trpc/trpc.d.ts +131 -0
- package/dist/adapters/trpc/trpc.js +350 -0
- package/dist/adapters/trpc/trpc.js.map +1 -0
- package/dist/app.d.ts +31 -0
- package/dist/app.js +80 -0
- package/dist/app.js.map +1 -0
- package/dist/bin/aeolus-core.d.ts +2 -0
- package/dist/bin/aeolus-core.js +45 -0
- package/dist/bin/aeolus-core.js.map +1 -0
- package/dist/config.d.ts +35 -0
- package/dist/config.js +74 -0
- package/dist/config.js.map +1 -0
- package/dist/domain/identity/authenticate.d.ts +46 -0
- package/dist/domain/identity/authenticate.js +18 -0
- package/dist/domain/identity/authenticate.js.map +1 -0
- package/dist/domain/identity/console-session.d.ts +54 -0
- package/dist/domain/identity/console-session.js +29 -0
- package/dist/domain/identity/console-session.js.map +1 -0
- package/dist/domain/identity/credential.d.ts +76 -0
- package/dist/domain/identity/credential.js +63 -0
- package/dist/domain/identity/credential.js.map +1 -0
- package/dist/domain/identity/dismiss-notice.d.ts +19 -0
- package/dist/domain/identity/dismiss-notice.js +23 -0
- package/dist/domain/identity/dismiss-notice.js.map +1 -0
- package/dist/domain/identity/get-guide.d.ts +7 -0
- package/dist/domain/identity/get-guide.js +5 -0
- package/dist/domain/identity/get-guide.js.map +1 -0
- package/dist/domain/identity/get-notices.d.ts +7 -0
- package/dist/domain/identity/get-notices.js +5 -0
- package/dist/domain/identity/get-notices.js.map +1 -0
- package/dist/domain/identity/guide.d.ts +24 -0
- package/dist/domain/identity/guide.js +3 -0
- package/dist/domain/identity/guide.js.map +1 -0
- package/dist/domain/identity/issue-sign-in-ticket.d.ts +38 -0
- package/dist/domain/identity/issue-sign-in-ticket.js +39 -0
- package/dist/domain/identity/issue-sign-in-ticket.js.map +1 -0
- package/dist/domain/identity/notice.d.ts +16 -0
- package/dist/domain/identity/notice.js +12 -0
- package/dist/domain/identity/notice.js.map +1 -0
- package/dist/domain/identity/operator-account.d.ts +28 -0
- package/dist/domain/identity/operator-account.js +21 -0
- package/dist/domain/identity/operator-account.js.map +1 -0
- package/dist/domain/identity/ports.d.ts +193 -0
- package/dist/domain/identity/ports.js +2 -0
- package/dist/domain/identity/ports.js.map +1 -0
- package/dist/domain/identity/public.d.ts +3 -0
- package/dist/domain/identity/public.js +5 -0
- package/dist/domain/identity/public.js.map +1 -0
- package/dist/domain/identity/read-account.d.ts +35 -0
- package/dist/domain/identity/read-account.js +27 -0
- package/dist/domain/identity/read-account.js.map +1 -0
- package/dist/domain/identity/read-guide.d.ts +18 -0
- package/dist/domain/identity/read-guide.js +21 -0
- package/dist/domain/identity/read-guide.js.map +1 -0
- package/dist/domain/identity/read-notices.d.ts +13 -0
- package/dist/domain/identity/read-notices.js +17 -0
- package/dist/domain/identity/read-notices.js.map +1 -0
- package/dist/domain/identity/record-guide-progress.d.ts +19 -0
- package/dist/domain/identity/record-guide-progress.js +24 -0
- package/dist/domain/identity/record-guide-progress.js.map +1 -0
- package/dist/domain/identity/redeem-sign-in-ticket.d.ts +34 -0
- package/dist/domain/identity/redeem-sign-in-ticket.js +25 -0
- package/dist/domain/identity/redeem-sign-in-ticket.js.map +1 -0
- package/dist/domain/identity/reset-operator-password.d.ts +34 -0
- package/dist/domain/identity/reset-operator-password.js +55 -0
- package/dist/domain/identity/reset-operator-password.js.map +1 -0
- package/dist/domain/identity/set-guide.d.ts +13 -0
- package/dist/domain/identity/set-guide.js +12 -0
- package/dist/domain/identity/set-guide.js.map +1 -0
- package/dist/domain/identity/set-notices.d.ts +13 -0
- package/dist/domain/identity/set-notices.js +12 -0
- package/dist/domain/identity/set-notices.js.map +1 -0
- package/dist/domain/identity/set-theme.d.ts +21 -0
- package/dist/domain/identity/set-theme.js +19 -0
- package/dist/domain/identity/set-theme.js.map +1 -0
- package/dist/domain/identity/sign-in-ticket.d.ts +21 -0
- package/dist/domain/identity/sign-in-ticket.js +5 -0
- package/dist/domain/identity/sign-in-ticket.js.map +1 -0
- package/dist/domain/identity/sign-in.d.ts +51 -0
- package/dist/domain/identity/sign-in.js +43 -0
- package/dist/domain/identity/sign-in.js.map +1 -0
- package/dist/domain/identity/sign-out.d.ts +20 -0
- package/dist/domain/identity/sign-out.js +32 -0
- package/dist/domain/identity/sign-out.js.map +1 -0
- package/dist/domain/identity/start-console-session.d.ts +27 -0
- package/dist/domain/identity/start-console-session.js +54 -0
- package/dist/domain/identity/start-console-session.js.map +1 -0
- package/dist/domain/identity/start-viewer-session.d.ts +29 -0
- package/dist/domain/identity/start-viewer-session.js +42 -0
- package/dist/domain/identity/start-viewer-session.js.map +1 -0
- package/dist/domain/messaging/acknowledge-delivery.d.ts +30 -0
- package/dist/domain/messaging/acknowledge-delivery.js +31 -0
- package/dist/domain/messaging/acknowledge-delivery.js.map +1 -0
- package/dist/domain/messaging/answer-ping.d.ts +33 -0
- package/dist/domain/messaging/answer-ping.js +37 -0
- package/dist/domain/messaging/answer-ping.js.map +1 -0
- package/dist/domain/messaging/check-inbox.d.ts +33 -0
- package/dist/domain/messaging/check-inbox.js +61 -0
- package/dist/domain/messaging/check-inbox.js.map +1 -0
- package/dist/domain/messaging/content-type.d.ts +9 -0
- package/dist/domain/messaging/content-type.js +18 -0
- package/dist/domain/messaging/content-type.js.map +1 -0
- package/dist/domain/messaging/daily-message-limit.d.ts +19 -0
- package/dist/domain/messaging/daily-message-limit.js +24 -0
- package/dist/domain/messaging/daily-message-limit.js.map +1 -0
- package/dist/domain/messaging/delivery.d.ts +116 -0
- package/dist/domain/messaging/delivery.js +201 -0
- package/dist/domain/messaging/delivery.js.map +1 -0
- package/dist/domain/messaging/dismiss-delivery.d.ts +28 -0
- package/dist/domain/messaging/dismiss-delivery.js +29 -0
- package/dist/domain/messaging/dismiss-delivery.js.map +1 -0
- package/dist/domain/messaging/inbox-wait.d.ts +8 -0
- package/dist/domain/messaging/inbox-wait.js +19 -0
- package/dist/domain/messaging/inbox-wait.js.map +1 -0
- package/dist/domain/messaging/mark-done.d.ts +45 -0
- package/dist/domain/messaging/mark-done.js +49 -0
- package/dist/domain/messaging/mark-done.js.map +1 -0
- package/dist/domain/messaging/mark-read.d.ts +27 -0
- package/dist/domain/messaging/mark-read.js +34 -0
- package/dist/domain/messaging/mark-read.js.map +1 -0
- package/dist/domain/messaging/message.d.ts +104 -0
- package/dist/domain/messaging/message.js +84 -0
- package/dist/domain/messaging/message.js.map +1 -0
- package/dist/domain/messaging/payload.d.ts +9 -0
- package/dist/domain/messaging/payload.js +16 -0
- package/dist/domain/messaging/payload.js.map +1 -0
- package/dist/domain/messaging/ping-ship.d.ts +38 -0
- package/dist/domain/messaging/ping-ship.js +42 -0
- package/dist/domain/messaging/ping-ship.js.map +1 -0
- package/dist/domain/messaging/ports.d.ts +116 -0
- package/dist/domain/messaging/ports.js +2 -0
- package/dist/domain/messaging/ports.js.map +1 -0
- package/dist/domain/messaging/receive-deliveries.d.ts +68 -0
- package/dist/domain/messaging/receive-deliveries.js +119 -0
- package/dist/domain/messaging/receive-deliveries.js.map +1 -0
- package/dist/domain/messaging/receive-max.d.ts +8 -0
- package/dist/domain/messaging/receive-max.js +17 -0
- package/dist/domain/messaging/receive-max.js.map +1 -0
- package/dist/domain/messaging/reply-to-message.d.ts +35 -0
- package/dist/domain/messaging/reply-to-message.js +49 -0
- package/dist/domain/messaging/reply-to-message.js.map +1 -0
- package/dist/domain/messaging/resend-delivery.d.ts +48 -0
- package/dist/domain/messaging/resend-delivery.js +97 -0
- package/dist/domain/messaging/resend-delivery.js.map +1 -0
- package/dist/domain/messaging/send-message.d.ts +88 -0
- package/dist/domain/messaging/send-message.js +115 -0
- package/dist/domain/messaging/send-message.js.map +1 -0
- package/dist/domain/messaging/send-request.d.ts +16 -0
- package/dist/domain/messaging/send-request.js +18 -0
- package/dist/domain/messaging/send-request.js.map +1 -0
- package/dist/domain/registry/applied-limits.d.ts +15 -0
- package/dist/domain/registry/applied-limits.js +15 -0
- package/dist/domain/registry/applied-limits.js.map +1 -0
- package/dist/domain/registry/assign-crew.d.ts +31 -0
- package/dist/domain/registry/assign-crew.js +35 -0
- package/dist/domain/registry/assign-crew.js.map +1 -0
- package/dist/domain/registry/claim-ship.d.ts +49 -0
- package/dist/domain/registry/claim-ship.js +59 -0
- package/dist/domain/registry/claim-ship.js.map +1 -0
- package/dist/domain/registry/commission-ship.d.ts +54 -0
- package/dist/domain/registry/commission-ship.js +70 -0
- package/dist/domain/registry/commission-ship.js.map +1 -0
- package/dist/domain/registry/confirm-crew-release.d.ts +28 -0
- package/dist/domain/registry/confirm-crew-release.js +28 -0
- package/dist/domain/registry/confirm-crew-release.js.map +1 -0
- package/dist/domain/registry/create-fleet.d.ts +39 -0
- package/dist/domain/registry/create-fleet.js +56 -0
- package/dist/domain/registry/create-fleet.js.map +1 -0
- package/dist/domain/registry/crew-request.d.ts +148 -0
- package/dist/domain/registry/crew-request.js +175 -0
- package/dist/domain/registry/crew-request.js.map +1 -0
- package/dist/domain/registry/delete-fleet.d.ts +46 -0
- package/dist/domain/registry/delete-fleet.js +34 -0
- package/dist/domain/registry/delete-fleet.js.map +1 -0
- package/dist/domain/registry/deregister.d.ts +32 -0
- package/dist/domain/registry/deregister.js +38 -0
- package/dist/domain/registry/deregister.js.map +1 -0
- package/dist/domain/registry/explain-crew-request.d.ts +30 -0
- package/dist/domain/registry/explain-crew-request.js +31 -0
- package/dist/domain/registry/explain-crew-request.js.map +1 -0
- package/dist/domain/registry/fleet.d.ts +12 -0
- package/dist/domain/registry/fleet.js +12 -0
- package/dist/domain/registry/fleet.js.map +1 -0
- package/dist/domain/registry/found-fleet.d.ts +32 -0
- package/dist/domain/registry/found-fleet.js +43 -0
- package/dist/domain/registry/found-fleet.js.map +1 -0
- package/dist/domain/registry/get-fleet-limits.d.ts +17 -0
- package/dist/domain/registry/get-fleet-limits.js +14 -0
- package/dist/domain/registry/get-fleet-limits.js.map +1 -0
- package/dist/domain/registry/get-installation-fleet.d.ts +15 -0
- package/dist/domain/registry/get-installation-fleet.js +12 -0
- package/dist/domain/registry/get-installation-fleet.js.map +1 -0
- package/dist/domain/registry/get-installation-settings.d.ts +7 -0
- package/dist/domain/registry/get-installation-settings.js +5 -0
- package/dist/domain/registry/get-installation-settings.js.map +1 -0
- package/dist/domain/registry/get-ship.d.ts +34 -0
- package/dist/domain/registry/get-ship.js +36 -0
- package/dist/domain/registry/get-ship.js.map +1 -0
- package/dist/domain/registry/get-starting-prompt.d.ts +24 -0
- package/dist/domain/registry/get-starting-prompt.js +46 -0
- package/dist/domain/registry/get-starting-prompt.js.map +1 -0
- package/dist/domain/registry/initialise-fleet.d.ts +28 -0
- package/dist/domain/registry/initialise-fleet.js +39 -0
- package/dist/domain/registry/initialise-fleet.js.map +1 -0
- package/dist/domain/registry/installation-fleet.d.ts +36 -0
- package/dist/domain/registry/installation-fleet.js +22 -0
- package/dist/domain/registry/installation-fleet.js.map +1 -0
- package/dist/domain/registry/installation-request.d.ts +23 -0
- package/dist/domain/registry/installation-request.js +5 -0
- package/dist/domain/registry/installation-request.js.map +1 -0
- package/dist/domain/registry/lease.d.ts +51 -0
- package/dist/domain/registry/lease.js +39 -0
- package/dist/domain/registry/lease.js.map +1 -0
- package/dist/domain/registry/leases.d.ts +66 -0
- package/dist/domain/registry/leases.js +80 -0
- package/dist/domain/registry/leases.js.map +1 -0
- package/dist/domain/registry/limits.d.ts +50 -0
- package/dist/domain/registry/limits.js +24 -0
- package/dist/domain/registry/limits.js.map +1 -0
- package/dist/domain/registry/list-fleet.d.ts +70 -0
- package/dist/domain/registry/list-fleet.js +47 -0
- package/dist/domain/registry/list-fleet.js.map +1 -0
- package/dist/domain/registry/list-fleets.d.ts +11 -0
- package/dist/domain/registry/list-fleets.js +9 -0
- package/dist/domain/registry/list-fleets.js.map +1 -0
- package/dist/domain/registry/list-installation-fleets.d.ts +15 -0
- package/dist/domain/registry/list-installation-fleets.js +15 -0
- package/dist/domain/registry/list-installation-fleets.js.map +1 -0
- package/dist/domain/registry/ping-status.d.ts +17 -0
- package/dist/domain/registry/ping-status.js +28 -0
- package/dist/domain/registry/ping-status.js.map +1 -0
- package/dist/domain/registry/pingable-ship.d.ts +22 -0
- package/dist/domain/registry/pingable-ship.js +21 -0
- package/dist/domain/registry/pingable-ship.js.map +1 -0
- package/dist/domain/registry/ports.d.ts +318 -0
- package/dist/domain/registry/ports.js +2 -0
- package/dist/domain/registry/ports.js.map +1 -0
- package/dist/domain/registry/public.d.ts +8 -0
- package/dist/domain/registry/public.js +10 -0
- package/dist/domain/registry/public.js.map +1 -0
- package/dist/domain/registry/read-assigned-crew-requests.d.ts +14 -0
- package/dist/domain/registry/read-assigned-crew-requests.js +15 -0
- package/dist/domain/registry/read-assigned-crew-requests.js.map +1 -0
- package/dist/domain/registry/recrew-ship.d.ts +33 -0
- package/dist/domain/registry/recrew-ship.js +34 -0
- package/dist/domain/registry/recrew-ship.js.map +1 -0
- package/dist/domain/registry/release-ship.d.ts +38 -0
- package/dist/domain/registry/release-ship.js +47 -0
- package/dist/domain/registry/release-ship.js.map +1 -0
- package/dist/domain/registry/remove-crew-request.d.ts +28 -0
- package/dist/domain/registry/remove-crew-request.js +36 -0
- package/dist/domain/registry/remove-crew-request.js.map +1 -0
- package/dist/domain/registry/rename-ship.d.ts +30 -0
- package/dist/domain/registry/rename-ship.js +39 -0
- package/dist/domain/registry/rename-ship.js.map +1 -0
- package/dist/domain/registry/report-crew-status.d.ts +29 -0
- package/dist/domain/registry/report-crew-status.js +30 -0
- package/dist/domain/registry/report-crew-status.js.map +1 -0
- package/dist/domain/registry/report-details.d.ts +18 -0
- package/dist/domain/registry/report-details.js +41 -0
- package/dist/domain/registry/report-details.js.map +1 -0
- package/dist/domain/registry/report-log.d.ts +21 -0
- package/dist/domain/registry/report-log.js +16 -0
- package/dist/domain/registry/report-log.js.map +1 -0
- package/dist/domain/registry/report.d.ts +30 -0
- package/dist/domain/registry/report.js +30 -0
- package/dist/domain/registry/report.js.map +1 -0
- package/dist/domain/registry/request-crew.d.ts +32 -0
- package/dist/domain/registry/request-crew.js +29 -0
- package/dist/domain/registry/request-crew.js.map +1 -0
- package/dist/domain/registry/resolve-selector.d.ts +25 -0
- package/dist/domain/registry/resolve-selector.js +32 -0
- package/dist/domain/registry/resolve-selector.js.map +1 -0
- package/dist/domain/registry/retire-ship.d.ts +42 -0
- package/dist/domain/registry/retire-ship.js +68 -0
- package/dist/domain/registry/retire-ship.js.map +1 -0
- package/dist/domain/registry/set-fleet-limits.d.ts +30 -0
- package/dist/domain/registry/set-fleet-limits.js +54 -0
- package/dist/domain/registry/set-fleet-limits.js.map +1 -0
- package/dist/domain/registry/set-installation-settings.d.ts +18 -0
- package/dist/domain/registry/set-installation-settings.js +31 -0
- package/dist/domain/registry/set-installation-settings.js.map +1 -0
- package/dist/domain/registry/ship-handle.d.ts +5 -0
- package/dist/domain/registry/ship-handle.js +20 -0
- package/dist/domain/registry/ship-handle.js.map +1 -0
- package/dist/domain/registry/ship-note.d.ts +7 -0
- package/dist/domain/registry/ship-note.js +15 -0
- package/dist/domain/registry/ship-note.js.map +1 -0
- package/dist/domain/registry/ship-report.d.ts +42 -0
- package/dist/domain/registry/ship-report.js +93 -0
- package/dist/domain/registry/ship-report.js.map +1 -0
- package/dist/domain/registry/ship.d.ts +190 -0
- package/dist/domain/registry/ship.js +334 -0
- package/dist/domain/registry/ship.js.map +1 -0
- package/dist/domain/registry/ships.d.ts +25 -0
- package/dist/domain/registry/ships.js +22 -0
- package/dist/domain/registry/ships.js.map +1 -0
- package/dist/domain/registry/starting-prompt.d.ts +32 -0
- package/dist/domain/registry/starting-prompt.js +22 -0
- package/dist/domain/registry/starting-prompt.js.map +1 -0
- package/dist/domain/registry/whoami.d.ts +20 -0
- package/dist/domain/registry/whoami.js +15 -0
- package/dist/domain/registry/whoami.js.map +1 -0
- package/dist/domain/shared/caller.d.ts +25 -0
- package/dist/domain/shared/caller.js +8 -0
- package/dist/domain/shared/caller.js.map +1 -0
- package/dist/domain/shared/clock.d.ts +4 -0
- package/dist/domain/shared/clock.js +2 -0
- package/dist/domain/shared/clock.js.map +1 -0
- package/dist/domain/shared/errors.d.ts +13 -0
- package/dist/domain/shared/errors.js +6 -0
- package/dist/domain/shared/errors.js.map +1 -0
- package/dist/domain/shared/events.d.ts +75 -0
- package/dist/domain/shared/events.js +9 -0
- package/dist/domain/shared/events.js.map +1 -0
- package/dist/domain/shared/follow-fleet.d.ts +32 -0
- package/dist/domain/shared/follow-fleet.js +65 -0
- package/dist/domain/shared/follow-fleet.js.map +1 -0
- package/dist/domain/shared/history.d.ts +124 -0
- package/dist/domain/shared/history.js +16 -0
- package/dist/domain/shared/history.js.map +1 -0
- package/dist/domain/shared/idempotency-key.d.ts +8 -0
- package/dist/domain/shared/idempotency-key.js +14 -0
- package/dist/domain/shared/idempotency-key.js.map +1 -0
- package/dist/domain/shared/notifier.d.ts +17 -0
- package/dist/domain/shared/notifier.js +2 -0
- package/dist/domain/shared/notifier.js.map +1 -0
- package/dist/domain/shared/ping.d.ts +18 -0
- package/dist/domain/shared/ping.js +8 -0
- package/dist/domain/shared/ping.js.map +1 -0
- package/dist/domain/shared/read-fleet-events.d.ts +29 -0
- package/dist/domain/shared/read-fleet-events.js +25 -0
- package/dist/domain/shared/read-fleet-events.js.map +1 -0
- package/dist/domain/shared/read-fleet-limits.d.ts +39 -0
- package/dist/domain/shared/read-fleet-limits.js +24 -0
- package/dist/domain/shared/read-fleet-limits.js.map +1 -0
- package/dist/domain/shared/read-inbox.d.ts +20 -0
- package/dist/domain/shared/read-inbox.js +16 -0
- package/dist/domain/shared/read-inbox.js.map +1 -0
- package/dist/domain/shared/read-message.d.ts +21 -0
- package/dist/domain/shared/read-message.js +18 -0
- package/dist/domain/shared/read-message.js.map +1 -0
- package/dist/domain/shared/read-needs-attention.d.ts +12 -0
- package/dist/domain/shared/read-needs-attention.js +10 -0
- package/dist/domain/shared/read-needs-attention.js.map +1 -0
- package/dist/domain/shared/read-ship-messages.d.ts +28 -0
- package/dist/domain/shared/read-ship-messages.js +30 -0
- package/dist/domain/shared/read-ship-messages.js.map +1 -0
- package/dist/domain/shared/read-ship-timeline.d.ts +18 -0
- package/dist/domain/shared/read-ship-timeline.js +16 -0
- package/dist/domain/shared/read-ship-timeline.js.map +1 -0
- package/dist/domain/shared/result.d.ts +16 -0
- package/dist/domain/shared/result.js +7 -0
- package/dist/domain/shared/result.js.map +1 -0
- package/dist/domain/shared/secrets.d.ts +26 -0
- package/dist/domain/shared/secrets.js +2 -0
- package/dist/domain/shared/secrets.js.map +1 -0
- package/dist/domain/shared/selector.d.ts +29 -0
- package/dist/domain/shared/selector.js +2 -0
- package/dist/domain/shared/selector.js.map +1 -0
- package/dist/domain/shared/unit-of-work.d.ts +13 -0
- package/dist/domain/shared/unit-of-work.js +2 -0
- package/dist/domain/shared/unit-of-work.js.map +1 -0
- package/dist/domain/shared/utc-day.d.ts +4 -0
- package/dist/domain/shared/utc-day.js +9 -0
- package/dist/domain/shared/utc-day.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/start.d.ts +6 -0
- package/dist/start.js +29 -0
- package/dist/start.js.map +1 -0
- package/dist/wiring.d.ts +158 -0
- package/dist/wiring.js +185 -0
- package/dist/wiring.js.map +1 -0
- package/package.json +58 -3
- package/prisma.config.ts +18 -0
- package/src/adapters/prisma/migrations/20260929124818_init/migration.sql +201 -0
- package/src/adapters/prisma/migrations/20260929160000_fleet_argo_console_session/migration.sql +130 -0
- package/src/adapters/prisma/migrations/20260929220017_operator_login/migration.sql +27 -0
- package/src/adapters/prisma/migrations/20260930090000_crew_token/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20260930120000_send/migration.sql +30 -0
- package/src/adapters/prisma/migrations/20260930150000_receive/migration.sql +24 -0
- package/src/adapters/prisma/migrations/20261001010000_event_seq/migration.sql +34 -0
- package/src/adapters/prisma/migrations/20261001020000_console_session_end_reason/migration.sql +14 -0
- package/src/adapters/prisma/migrations/20261001030000_account_theme_session_device/migration.sql +8 -0
- package/src/adapters/prisma/migrations/20261001040000_lease_last_seen/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261002190000_lease_report/migration.sql +7 -0
- package/src/adapters/prisma/migrations/20261003140000_commission_key/migration.sql +7 -0
- package/src/adapters/prisma/migrations/20261003200000_message_model/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20261003201000_lease_harness/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261004120000_operator_without_password/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261004121000_installation_requests/migration.sql +21 -0
- package/src/adapters/prisma/migrations/20261004122000_events_deleted_with_their_fleet/migration.sql +11 -0
- package/src/adapters/prisma/migrations/20261004130000_sign_in_tickets/migration.sql +16 -0
- package/src/adapters/prisma/migrations/20261004140000_fleet_limits/migration.sql +6 -0
- package/src/adapters/prisma/migrations/20261004141000_installation_settings/migration.sql +12 -0
- package/src/adapters/prisma/migrations/20261005090000_viewer_ship/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261005100000_viewer_sessions/migration.sql +20 -0
- package/src/adapters/prisma/migrations/20261005110000_notices/migration.sql +37 -0
- package/src/adapters/prisma/migrations/20261005120000_guide/migration.sql +34 -0
- package/src/adapters/prisma/migrations/20261006100000_fleet_crew_scope/migration.sql +8 -0
- package/src/adapters/prisma/migrations/20261006140000_lease_report_details/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261006160000_crew_requests/migration.sql +20 -0
- package/src/adapters/prisma/migrations/20261006180000_crew_scopes/migration.sql +9 -0
- package/src/adapters/prisma/migrations/20261006190000_crew_assignment/migration.sql +13 -0
- package/src/adapters/prisma/migrations/20261006200000_crew_request_reason/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261007020000_broad_crewing_scope_retired/migration.sql +8 -0
- package/src/adapters/prisma/migrations/migration_lock.toml +3 -0
- package/src/adapters/prisma/schema.prisma +558 -0
|
@@ -0,0 +1,1068 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model Notice
|
|
6
|
+
* A console notice the installation sets (decision 0023), shown above every
|
|
7
|
+
* page to the sessions of its audience. It belongs to no fleet.
|
|
8
|
+
*/
|
|
9
|
+
export type NoticeModel = runtime.Types.Result.DefaultSelection<Prisma.$NoticePayload>;
|
|
10
|
+
export type AggregateNotice = {
|
|
11
|
+
_count: NoticeCountAggregateOutputType | null;
|
|
12
|
+
_avg: NoticeAvgAggregateOutputType | null;
|
|
13
|
+
_sum: NoticeSumAggregateOutputType | null;
|
|
14
|
+
_min: NoticeMinAggregateOutputType | null;
|
|
15
|
+
_max: NoticeMaxAggregateOutputType | null;
|
|
16
|
+
};
|
|
17
|
+
export type NoticeAvgAggregateOutputType = {
|
|
18
|
+
position: number | null;
|
|
19
|
+
};
|
|
20
|
+
export type NoticeSumAggregateOutputType = {
|
|
21
|
+
position: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type NoticeMinAggregateOutputType = {
|
|
24
|
+
id: string | null;
|
|
25
|
+
position: number | null;
|
|
26
|
+
audience: $Enums.NoticeAudience | null;
|
|
27
|
+
text: string | null;
|
|
28
|
+
isDismissible: boolean | null;
|
|
29
|
+
};
|
|
30
|
+
export type NoticeMaxAggregateOutputType = {
|
|
31
|
+
id: string | null;
|
|
32
|
+
position: number | null;
|
|
33
|
+
audience: $Enums.NoticeAudience | null;
|
|
34
|
+
text: string | null;
|
|
35
|
+
isDismissible: boolean | null;
|
|
36
|
+
};
|
|
37
|
+
export type NoticeCountAggregateOutputType = {
|
|
38
|
+
id: number;
|
|
39
|
+
position: number;
|
|
40
|
+
audience: number;
|
|
41
|
+
text: number;
|
|
42
|
+
links: number;
|
|
43
|
+
isDismissible: number;
|
|
44
|
+
_all: number;
|
|
45
|
+
};
|
|
46
|
+
export type NoticeAvgAggregateInputType = {
|
|
47
|
+
position?: true;
|
|
48
|
+
};
|
|
49
|
+
export type NoticeSumAggregateInputType = {
|
|
50
|
+
position?: true;
|
|
51
|
+
};
|
|
52
|
+
export type NoticeMinAggregateInputType = {
|
|
53
|
+
id?: true;
|
|
54
|
+
position?: true;
|
|
55
|
+
audience?: true;
|
|
56
|
+
text?: true;
|
|
57
|
+
isDismissible?: true;
|
|
58
|
+
};
|
|
59
|
+
export type NoticeMaxAggregateInputType = {
|
|
60
|
+
id?: true;
|
|
61
|
+
position?: true;
|
|
62
|
+
audience?: true;
|
|
63
|
+
text?: true;
|
|
64
|
+
isDismissible?: true;
|
|
65
|
+
};
|
|
66
|
+
export type NoticeCountAggregateInputType = {
|
|
67
|
+
id?: true;
|
|
68
|
+
position?: true;
|
|
69
|
+
audience?: true;
|
|
70
|
+
text?: true;
|
|
71
|
+
links?: true;
|
|
72
|
+
isDismissible?: true;
|
|
73
|
+
_all?: true;
|
|
74
|
+
};
|
|
75
|
+
export type NoticeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
76
|
+
/**
|
|
77
|
+
* Filter which Notice to aggregate.
|
|
78
|
+
*/
|
|
79
|
+
where?: Prisma.NoticeWhereInput;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
82
|
+
*
|
|
83
|
+
* Determine the order of Notices to fetch.
|
|
84
|
+
*/
|
|
85
|
+
orderBy?: Prisma.NoticeOrderByWithRelationInput | Prisma.NoticeOrderByWithRelationInput[];
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
88
|
+
*
|
|
89
|
+
* Sets the start position
|
|
90
|
+
*/
|
|
91
|
+
cursor?: Prisma.NoticeWhereUniqueInput;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
94
|
+
*
|
|
95
|
+
* Take `±n` Notices from the position of the cursor.
|
|
96
|
+
*/
|
|
97
|
+
take?: number;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
100
|
+
*
|
|
101
|
+
* Skip the first `n` Notices.
|
|
102
|
+
*/
|
|
103
|
+
skip?: number;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Count returned Notices
|
|
108
|
+
**/
|
|
109
|
+
_count?: true | NoticeCountAggregateInputType;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Select which fields to average
|
|
114
|
+
**/
|
|
115
|
+
_avg?: NoticeAvgAggregateInputType;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Select which fields to sum
|
|
120
|
+
**/
|
|
121
|
+
_sum?: NoticeSumAggregateInputType;
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
124
|
+
*
|
|
125
|
+
* Select which fields to find the minimum value
|
|
126
|
+
**/
|
|
127
|
+
_min?: NoticeMinAggregateInputType;
|
|
128
|
+
/**
|
|
129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
130
|
+
*
|
|
131
|
+
* Select which fields to find the maximum value
|
|
132
|
+
**/
|
|
133
|
+
_max?: NoticeMaxAggregateInputType;
|
|
134
|
+
};
|
|
135
|
+
export type GetNoticeAggregateType<T extends NoticeAggregateArgs> = {
|
|
136
|
+
[P in keyof T & keyof AggregateNotice]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateNotice[P]> : Prisma.GetScalarType<T[P], AggregateNotice[P]>;
|
|
137
|
+
};
|
|
138
|
+
export type NoticeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
where?: Prisma.NoticeWhereInput;
|
|
140
|
+
orderBy?: Prisma.NoticeOrderByWithAggregationInput | Prisma.NoticeOrderByWithAggregationInput[];
|
|
141
|
+
by: Prisma.NoticeScalarFieldEnum[] | Prisma.NoticeScalarFieldEnum;
|
|
142
|
+
having?: Prisma.NoticeScalarWhereWithAggregatesInput;
|
|
143
|
+
take?: number;
|
|
144
|
+
skip?: number;
|
|
145
|
+
_count?: NoticeCountAggregateInputType | true;
|
|
146
|
+
_avg?: NoticeAvgAggregateInputType;
|
|
147
|
+
_sum?: NoticeSumAggregateInputType;
|
|
148
|
+
_min?: NoticeMinAggregateInputType;
|
|
149
|
+
_max?: NoticeMaxAggregateInputType;
|
|
150
|
+
};
|
|
151
|
+
export type NoticeGroupByOutputType = {
|
|
152
|
+
id: string;
|
|
153
|
+
position: number;
|
|
154
|
+
audience: $Enums.NoticeAudience;
|
|
155
|
+
text: string;
|
|
156
|
+
links: runtime.JsonValue;
|
|
157
|
+
isDismissible: boolean;
|
|
158
|
+
_count: NoticeCountAggregateOutputType | null;
|
|
159
|
+
_avg: NoticeAvgAggregateOutputType | null;
|
|
160
|
+
_sum: NoticeSumAggregateOutputType | null;
|
|
161
|
+
_min: NoticeMinAggregateOutputType | null;
|
|
162
|
+
_max: NoticeMaxAggregateOutputType | null;
|
|
163
|
+
};
|
|
164
|
+
export type GetNoticeGroupByPayload<T extends NoticeGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<NoticeGroupByOutputType, T['by']> & {
|
|
165
|
+
[P in ((keyof T) & (keyof NoticeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], NoticeGroupByOutputType[P]> : Prisma.GetScalarType<T[P], NoticeGroupByOutputType[P]>;
|
|
166
|
+
}>>;
|
|
167
|
+
export type NoticeWhereInput = {
|
|
168
|
+
AND?: Prisma.NoticeWhereInput | Prisma.NoticeWhereInput[];
|
|
169
|
+
OR?: Prisma.NoticeWhereInput[];
|
|
170
|
+
NOT?: Prisma.NoticeWhereInput | Prisma.NoticeWhereInput[];
|
|
171
|
+
id?: Prisma.StringFilter<"Notice"> | string;
|
|
172
|
+
position?: Prisma.IntFilter<"Notice"> | number;
|
|
173
|
+
audience?: Prisma.EnumNoticeAudienceFilter<"Notice"> | $Enums.NoticeAudience;
|
|
174
|
+
text?: Prisma.StringFilter<"Notice"> | string;
|
|
175
|
+
links?: Prisma.JsonFilter<"Notice">;
|
|
176
|
+
isDismissible?: Prisma.BoolFilter<"Notice"> | boolean;
|
|
177
|
+
};
|
|
178
|
+
export type NoticeOrderByWithRelationInput = {
|
|
179
|
+
id?: Prisma.SortOrder;
|
|
180
|
+
position?: Prisma.SortOrder;
|
|
181
|
+
audience?: Prisma.SortOrder;
|
|
182
|
+
text?: Prisma.SortOrder;
|
|
183
|
+
links?: Prisma.SortOrder;
|
|
184
|
+
isDismissible?: Prisma.SortOrder;
|
|
185
|
+
};
|
|
186
|
+
export type NoticeWhereUniqueInput = Prisma.AtLeast<{
|
|
187
|
+
id?: string;
|
|
188
|
+
AND?: Prisma.NoticeWhereInput | Prisma.NoticeWhereInput[];
|
|
189
|
+
OR?: Prisma.NoticeWhereInput[];
|
|
190
|
+
NOT?: Prisma.NoticeWhereInput | Prisma.NoticeWhereInput[];
|
|
191
|
+
position?: Prisma.IntFilter<"Notice"> | number;
|
|
192
|
+
audience?: Prisma.EnumNoticeAudienceFilter<"Notice"> | $Enums.NoticeAudience;
|
|
193
|
+
text?: Prisma.StringFilter<"Notice"> | string;
|
|
194
|
+
links?: Prisma.JsonFilter<"Notice">;
|
|
195
|
+
isDismissible?: Prisma.BoolFilter<"Notice"> | boolean;
|
|
196
|
+
}, "id">;
|
|
197
|
+
export type NoticeOrderByWithAggregationInput = {
|
|
198
|
+
id?: Prisma.SortOrder;
|
|
199
|
+
position?: Prisma.SortOrder;
|
|
200
|
+
audience?: Prisma.SortOrder;
|
|
201
|
+
text?: Prisma.SortOrder;
|
|
202
|
+
links?: Prisma.SortOrder;
|
|
203
|
+
isDismissible?: Prisma.SortOrder;
|
|
204
|
+
_count?: Prisma.NoticeCountOrderByAggregateInput;
|
|
205
|
+
_avg?: Prisma.NoticeAvgOrderByAggregateInput;
|
|
206
|
+
_max?: Prisma.NoticeMaxOrderByAggregateInput;
|
|
207
|
+
_min?: Prisma.NoticeMinOrderByAggregateInput;
|
|
208
|
+
_sum?: Prisma.NoticeSumOrderByAggregateInput;
|
|
209
|
+
};
|
|
210
|
+
export type NoticeScalarWhereWithAggregatesInput = {
|
|
211
|
+
AND?: Prisma.NoticeScalarWhereWithAggregatesInput | Prisma.NoticeScalarWhereWithAggregatesInput[];
|
|
212
|
+
OR?: Prisma.NoticeScalarWhereWithAggregatesInput[];
|
|
213
|
+
NOT?: Prisma.NoticeScalarWhereWithAggregatesInput | Prisma.NoticeScalarWhereWithAggregatesInput[];
|
|
214
|
+
id?: Prisma.StringWithAggregatesFilter<"Notice"> | string;
|
|
215
|
+
position?: Prisma.IntWithAggregatesFilter<"Notice"> | number;
|
|
216
|
+
audience?: Prisma.EnumNoticeAudienceWithAggregatesFilter<"Notice"> | $Enums.NoticeAudience;
|
|
217
|
+
text?: Prisma.StringWithAggregatesFilter<"Notice"> | string;
|
|
218
|
+
links?: Prisma.JsonWithAggregatesFilter<"Notice">;
|
|
219
|
+
isDismissible?: Prisma.BoolWithAggregatesFilter<"Notice"> | boolean;
|
|
220
|
+
};
|
|
221
|
+
export type NoticeCreateInput = {
|
|
222
|
+
id: string;
|
|
223
|
+
position: number;
|
|
224
|
+
audience: $Enums.NoticeAudience;
|
|
225
|
+
text: string;
|
|
226
|
+
links?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
227
|
+
isDismissible?: boolean;
|
|
228
|
+
};
|
|
229
|
+
export type NoticeUncheckedCreateInput = {
|
|
230
|
+
id: string;
|
|
231
|
+
position: number;
|
|
232
|
+
audience: $Enums.NoticeAudience;
|
|
233
|
+
text: string;
|
|
234
|
+
links?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
235
|
+
isDismissible?: boolean;
|
|
236
|
+
};
|
|
237
|
+
export type NoticeUpdateInput = {
|
|
238
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
239
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
240
|
+
audience?: Prisma.EnumNoticeAudienceFieldUpdateOperationsInput | $Enums.NoticeAudience;
|
|
241
|
+
text?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
242
|
+
links?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
243
|
+
isDismissible?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
244
|
+
};
|
|
245
|
+
export type NoticeUncheckedUpdateInput = {
|
|
246
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
247
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
248
|
+
audience?: Prisma.EnumNoticeAudienceFieldUpdateOperationsInput | $Enums.NoticeAudience;
|
|
249
|
+
text?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
250
|
+
links?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
251
|
+
isDismissible?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
252
|
+
};
|
|
253
|
+
export type NoticeCreateManyInput = {
|
|
254
|
+
id: string;
|
|
255
|
+
position: number;
|
|
256
|
+
audience: $Enums.NoticeAudience;
|
|
257
|
+
text: string;
|
|
258
|
+
links?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
259
|
+
isDismissible?: boolean;
|
|
260
|
+
};
|
|
261
|
+
export type NoticeUpdateManyMutationInput = {
|
|
262
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
264
|
+
audience?: Prisma.EnumNoticeAudienceFieldUpdateOperationsInput | $Enums.NoticeAudience;
|
|
265
|
+
text?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
266
|
+
links?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
267
|
+
isDismissible?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
268
|
+
};
|
|
269
|
+
export type NoticeUncheckedUpdateManyInput = {
|
|
270
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
271
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
272
|
+
audience?: Prisma.EnumNoticeAudienceFieldUpdateOperationsInput | $Enums.NoticeAudience;
|
|
273
|
+
text?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
274
|
+
links?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
275
|
+
isDismissible?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
276
|
+
};
|
|
277
|
+
export type NoticeCountOrderByAggregateInput = {
|
|
278
|
+
id?: Prisma.SortOrder;
|
|
279
|
+
position?: Prisma.SortOrder;
|
|
280
|
+
audience?: Prisma.SortOrder;
|
|
281
|
+
text?: Prisma.SortOrder;
|
|
282
|
+
links?: Prisma.SortOrder;
|
|
283
|
+
isDismissible?: Prisma.SortOrder;
|
|
284
|
+
};
|
|
285
|
+
export type NoticeAvgOrderByAggregateInput = {
|
|
286
|
+
position?: Prisma.SortOrder;
|
|
287
|
+
};
|
|
288
|
+
export type NoticeMaxOrderByAggregateInput = {
|
|
289
|
+
id?: Prisma.SortOrder;
|
|
290
|
+
position?: Prisma.SortOrder;
|
|
291
|
+
audience?: Prisma.SortOrder;
|
|
292
|
+
text?: Prisma.SortOrder;
|
|
293
|
+
isDismissible?: Prisma.SortOrder;
|
|
294
|
+
};
|
|
295
|
+
export type NoticeMinOrderByAggregateInput = {
|
|
296
|
+
id?: Prisma.SortOrder;
|
|
297
|
+
position?: Prisma.SortOrder;
|
|
298
|
+
audience?: Prisma.SortOrder;
|
|
299
|
+
text?: Prisma.SortOrder;
|
|
300
|
+
isDismissible?: Prisma.SortOrder;
|
|
301
|
+
};
|
|
302
|
+
export type NoticeSumOrderByAggregateInput = {
|
|
303
|
+
position?: Prisma.SortOrder;
|
|
304
|
+
};
|
|
305
|
+
export type EnumNoticeAudienceFieldUpdateOperationsInput = {
|
|
306
|
+
set?: $Enums.NoticeAudience;
|
|
307
|
+
};
|
|
308
|
+
export type NoticeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
309
|
+
id?: boolean;
|
|
310
|
+
position?: boolean;
|
|
311
|
+
audience?: boolean;
|
|
312
|
+
text?: boolean;
|
|
313
|
+
links?: boolean;
|
|
314
|
+
isDismissible?: boolean;
|
|
315
|
+
}, ExtArgs["result"]["notice"]>;
|
|
316
|
+
export type NoticeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
317
|
+
id?: boolean;
|
|
318
|
+
position?: boolean;
|
|
319
|
+
audience?: boolean;
|
|
320
|
+
text?: boolean;
|
|
321
|
+
links?: boolean;
|
|
322
|
+
isDismissible?: boolean;
|
|
323
|
+
}, ExtArgs["result"]["notice"]>;
|
|
324
|
+
export type NoticeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
325
|
+
id?: boolean;
|
|
326
|
+
position?: boolean;
|
|
327
|
+
audience?: boolean;
|
|
328
|
+
text?: boolean;
|
|
329
|
+
links?: boolean;
|
|
330
|
+
isDismissible?: boolean;
|
|
331
|
+
}, ExtArgs["result"]["notice"]>;
|
|
332
|
+
export type NoticeSelectScalar = {
|
|
333
|
+
id?: boolean;
|
|
334
|
+
position?: boolean;
|
|
335
|
+
audience?: boolean;
|
|
336
|
+
text?: boolean;
|
|
337
|
+
links?: boolean;
|
|
338
|
+
isDismissible?: boolean;
|
|
339
|
+
};
|
|
340
|
+
export type NoticeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "position" | "audience" | "text" | "links" | "isDismissible", ExtArgs["result"]["notice"]>;
|
|
341
|
+
export type $NoticePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
342
|
+
name: "Notice";
|
|
343
|
+
objects: {};
|
|
344
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
345
|
+
id: string;
|
|
346
|
+
/**
|
|
347
|
+
* Its place in the installation's order.
|
|
348
|
+
*/
|
|
349
|
+
position: number;
|
|
350
|
+
audience: $Enums.NoticeAudience;
|
|
351
|
+
text: string;
|
|
352
|
+
/**
|
|
353
|
+
* Its links: label, and url, isSignOut or both.
|
|
354
|
+
*/
|
|
355
|
+
links: runtime.JsonValue;
|
|
356
|
+
isDismissible: boolean;
|
|
357
|
+
}, ExtArgs["result"]["notice"]>;
|
|
358
|
+
composites: {};
|
|
359
|
+
};
|
|
360
|
+
export type NoticeGetPayload<S extends boolean | null | undefined | NoticeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$NoticePayload, S>;
|
|
361
|
+
export type NoticeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<NoticeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
362
|
+
select?: NoticeCountAggregateInputType | true;
|
|
363
|
+
};
|
|
364
|
+
export interface NoticeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
365
|
+
[K: symbol]: {
|
|
366
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Notice'];
|
|
367
|
+
meta: {
|
|
368
|
+
name: 'Notice';
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* Find zero or one Notice that matches the filter.
|
|
373
|
+
* @param {NoticeFindUniqueArgs} args - Arguments to find a Notice
|
|
374
|
+
* @example
|
|
375
|
+
* // Get one Notice
|
|
376
|
+
* const notice = await prisma.notice.findUnique({
|
|
377
|
+
* where: {
|
|
378
|
+
* // ... provide filter here
|
|
379
|
+
* }
|
|
380
|
+
* })
|
|
381
|
+
*/
|
|
382
|
+
findUnique<T extends NoticeFindUniqueArgs>(args: Prisma.SelectSubset<T, NoticeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__NoticeClient<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
383
|
+
/**
|
|
384
|
+
* Find one Notice that matches the filter or throw an error with `error.code='P2025'`
|
|
385
|
+
* if no matches were found.
|
|
386
|
+
* @param {NoticeFindUniqueOrThrowArgs} args - Arguments to find a Notice
|
|
387
|
+
* @example
|
|
388
|
+
* // Get one Notice
|
|
389
|
+
* const notice = await prisma.notice.findUniqueOrThrow({
|
|
390
|
+
* where: {
|
|
391
|
+
* // ... provide filter here
|
|
392
|
+
* }
|
|
393
|
+
* })
|
|
394
|
+
*/
|
|
395
|
+
findUniqueOrThrow<T extends NoticeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, NoticeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__NoticeClient<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
396
|
+
/**
|
|
397
|
+
* Find the first Notice that matches the filter.
|
|
398
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
399
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
400
|
+
* @param {NoticeFindFirstArgs} args - Arguments to find a Notice
|
|
401
|
+
* @example
|
|
402
|
+
* // Get one Notice
|
|
403
|
+
* const notice = await prisma.notice.findFirst({
|
|
404
|
+
* where: {
|
|
405
|
+
* // ... provide filter here
|
|
406
|
+
* }
|
|
407
|
+
* })
|
|
408
|
+
*/
|
|
409
|
+
findFirst<T extends NoticeFindFirstArgs>(args?: Prisma.SelectSubset<T, NoticeFindFirstArgs<ExtArgs>>): Prisma.Prisma__NoticeClient<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
410
|
+
/**
|
|
411
|
+
* Find the first Notice that matches the filter or
|
|
412
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
413
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
414
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
415
|
+
* @param {NoticeFindFirstOrThrowArgs} args - Arguments to find a Notice
|
|
416
|
+
* @example
|
|
417
|
+
* // Get one Notice
|
|
418
|
+
* const notice = await prisma.notice.findFirstOrThrow({
|
|
419
|
+
* where: {
|
|
420
|
+
* // ... provide filter here
|
|
421
|
+
* }
|
|
422
|
+
* })
|
|
423
|
+
*/
|
|
424
|
+
findFirstOrThrow<T extends NoticeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, NoticeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__NoticeClient<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
425
|
+
/**
|
|
426
|
+
* Find zero or more Notices that matches the filter.
|
|
427
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
428
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
429
|
+
* @param {NoticeFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
430
|
+
* @example
|
|
431
|
+
* // Get all Notices
|
|
432
|
+
* const notices = await prisma.notice.findMany()
|
|
433
|
+
*
|
|
434
|
+
* // Get first 10 Notices
|
|
435
|
+
* const notices = await prisma.notice.findMany({ take: 10 })
|
|
436
|
+
*
|
|
437
|
+
* // Only select the `id`
|
|
438
|
+
* const noticeWithIdOnly = await prisma.notice.findMany({ select: { id: true } })
|
|
439
|
+
*
|
|
440
|
+
*/
|
|
441
|
+
findMany<T extends NoticeFindManyArgs>(args?: Prisma.SelectSubset<T, NoticeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
442
|
+
/**
|
|
443
|
+
* Create a Notice.
|
|
444
|
+
* @param {NoticeCreateArgs} args - Arguments to create a Notice.
|
|
445
|
+
* @example
|
|
446
|
+
* // Create one Notice
|
|
447
|
+
* const Notice = await prisma.notice.create({
|
|
448
|
+
* data: {
|
|
449
|
+
* // ... data to create a Notice
|
|
450
|
+
* }
|
|
451
|
+
* })
|
|
452
|
+
*
|
|
453
|
+
*/
|
|
454
|
+
create<T extends NoticeCreateArgs>(args: Prisma.SelectSubset<T, NoticeCreateArgs<ExtArgs>>): Prisma.Prisma__NoticeClient<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
455
|
+
/**
|
|
456
|
+
* Create many Notices.
|
|
457
|
+
* @param {NoticeCreateManyArgs} args - Arguments to create many Notices.
|
|
458
|
+
* @example
|
|
459
|
+
* // Create many Notices
|
|
460
|
+
* const notice = await prisma.notice.createMany({
|
|
461
|
+
* data: [
|
|
462
|
+
* // ... provide data here
|
|
463
|
+
* ]
|
|
464
|
+
* })
|
|
465
|
+
*
|
|
466
|
+
*/
|
|
467
|
+
createMany<T extends NoticeCreateManyArgs>(args?: Prisma.SelectSubset<T, NoticeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
468
|
+
/**
|
|
469
|
+
* Create many Notices and returns the data saved in the database.
|
|
470
|
+
* @param {NoticeCreateManyAndReturnArgs} args - Arguments to create many Notices.
|
|
471
|
+
* @example
|
|
472
|
+
* // Create many Notices
|
|
473
|
+
* const notice = await prisma.notice.createManyAndReturn({
|
|
474
|
+
* data: [
|
|
475
|
+
* // ... provide data here
|
|
476
|
+
* ]
|
|
477
|
+
* })
|
|
478
|
+
*
|
|
479
|
+
* // Create many Notices and only return the `id`
|
|
480
|
+
* const noticeWithIdOnly = await prisma.notice.createManyAndReturn({
|
|
481
|
+
* select: { id: true },
|
|
482
|
+
* data: [
|
|
483
|
+
* // ... provide data here
|
|
484
|
+
* ]
|
|
485
|
+
* })
|
|
486
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
487
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
488
|
+
*
|
|
489
|
+
*/
|
|
490
|
+
createManyAndReturn<T extends NoticeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, NoticeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
491
|
+
/**
|
|
492
|
+
* Delete a Notice.
|
|
493
|
+
* @param {NoticeDeleteArgs} args - Arguments to delete one Notice.
|
|
494
|
+
* @example
|
|
495
|
+
* // Delete one Notice
|
|
496
|
+
* const Notice = await prisma.notice.delete({
|
|
497
|
+
* where: {
|
|
498
|
+
* // ... filter to delete one Notice
|
|
499
|
+
* }
|
|
500
|
+
* })
|
|
501
|
+
*
|
|
502
|
+
*/
|
|
503
|
+
delete<T extends NoticeDeleteArgs>(args: Prisma.SelectSubset<T, NoticeDeleteArgs<ExtArgs>>): Prisma.Prisma__NoticeClient<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
504
|
+
/**
|
|
505
|
+
* Update one Notice.
|
|
506
|
+
* @param {NoticeUpdateArgs} args - Arguments to update one Notice.
|
|
507
|
+
* @example
|
|
508
|
+
* // Update one Notice
|
|
509
|
+
* const notice = await prisma.notice.update({
|
|
510
|
+
* where: {
|
|
511
|
+
* // ... provide filter here
|
|
512
|
+
* },
|
|
513
|
+
* data: {
|
|
514
|
+
* // ... provide data here
|
|
515
|
+
* }
|
|
516
|
+
* })
|
|
517
|
+
*
|
|
518
|
+
*/
|
|
519
|
+
update<T extends NoticeUpdateArgs>(args: Prisma.SelectSubset<T, NoticeUpdateArgs<ExtArgs>>): Prisma.Prisma__NoticeClient<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
520
|
+
/**
|
|
521
|
+
* Delete zero or more Notices.
|
|
522
|
+
* @param {NoticeDeleteManyArgs} args - Arguments to filter Notices to delete.
|
|
523
|
+
* @example
|
|
524
|
+
* // Delete a few Notices
|
|
525
|
+
* const { count } = await prisma.notice.deleteMany({
|
|
526
|
+
* where: {
|
|
527
|
+
* // ... provide filter here
|
|
528
|
+
* }
|
|
529
|
+
* })
|
|
530
|
+
*
|
|
531
|
+
*/
|
|
532
|
+
deleteMany<T extends NoticeDeleteManyArgs>(args?: Prisma.SelectSubset<T, NoticeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
533
|
+
/**
|
|
534
|
+
* Update zero or more Notices.
|
|
535
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
536
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
537
|
+
* @param {NoticeUpdateManyArgs} args - Arguments to update one or more rows.
|
|
538
|
+
* @example
|
|
539
|
+
* // Update many Notices
|
|
540
|
+
* const notice = await prisma.notice.updateMany({
|
|
541
|
+
* where: {
|
|
542
|
+
* // ... provide filter here
|
|
543
|
+
* },
|
|
544
|
+
* data: {
|
|
545
|
+
* // ... provide data here
|
|
546
|
+
* }
|
|
547
|
+
* })
|
|
548
|
+
*
|
|
549
|
+
*/
|
|
550
|
+
updateMany<T extends NoticeUpdateManyArgs>(args: Prisma.SelectSubset<T, NoticeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
551
|
+
/**
|
|
552
|
+
* Update zero or more Notices and returns the data updated in the database.
|
|
553
|
+
* @param {NoticeUpdateManyAndReturnArgs} args - Arguments to update many Notices.
|
|
554
|
+
* @example
|
|
555
|
+
* // Update many Notices
|
|
556
|
+
* const notice = await prisma.notice.updateManyAndReturn({
|
|
557
|
+
* where: {
|
|
558
|
+
* // ... provide filter here
|
|
559
|
+
* },
|
|
560
|
+
* data: [
|
|
561
|
+
* // ... provide data here
|
|
562
|
+
* ]
|
|
563
|
+
* })
|
|
564
|
+
*
|
|
565
|
+
* // Update zero or more Notices and only return the `id`
|
|
566
|
+
* const noticeWithIdOnly = await prisma.notice.updateManyAndReturn({
|
|
567
|
+
* select: { id: true },
|
|
568
|
+
* where: {
|
|
569
|
+
* // ... provide filter here
|
|
570
|
+
* },
|
|
571
|
+
* data: [
|
|
572
|
+
* // ... provide data here
|
|
573
|
+
* ]
|
|
574
|
+
* })
|
|
575
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
576
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
577
|
+
*
|
|
578
|
+
*/
|
|
579
|
+
updateManyAndReturn<T extends NoticeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, NoticeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
580
|
+
/**
|
|
581
|
+
* Create or update one Notice.
|
|
582
|
+
* @param {NoticeUpsertArgs} args - Arguments to update or create a Notice.
|
|
583
|
+
* @example
|
|
584
|
+
* // Update or create a Notice
|
|
585
|
+
* const notice = await prisma.notice.upsert({
|
|
586
|
+
* create: {
|
|
587
|
+
* // ... data to create a Notice
|
|
588
|
+
* },
|
|
589
|
+
* update: {
|
|
590
|
+
* // ... in case it already exists, update
|
|
591
|
+
* },
|
|
592
|
+
* where: {
|
|
593
|
+
* // ... the filter for the Notice we want to update
|
|
594
|
+
* }
|
|
595
|
+
* })
|
|
596
|
+
*/
|
|
597
|
+
upsert<T extends NoticeUpsertArgs>(args: Prisma.SelectSubset<T, NoticeUpsertArgs<ExtArgs>>): Prisma.Prisma__NoticeClient<runtime.Types.Result.GetResult<Prisma.$NoticePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
598
|
+
/**
|
|
599
|
+
* Count the number of Notices.
|
|
600
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
601
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
602
|
+
* @param {NoticeCountArgs} args - Arguments to filter Notices to count.
|
|
603
|
+
* @example
|
|
604
|
+
* // Count the number of Notices
|
|
605
|
+
* const count = await prisma.notice.count({
|
|
606
|
+
* where: {
|
|
607
|
+
* // ... the filter for the Notices we want to count
|
|
608
|
+
* }
|
|
609
|
+
* })
|
|
610
|
+
**/
|
|
611
|
+
count<T extends NoticeCountArgs>(args?: Prisma.Subset<T, NoticeCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], NoticeCountAggregateOutputType> : number>;
|
|
612
|
+
/**
|
|
613
|
+
* Allows you to perform aggregations operations on a Notice.
|
|
614
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
615
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
616
|
+
* @param {NoticeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
617
|
+
* @example
|
|
618
|
+
* // Ordered by age ascending
|
|
619
|
+
* // Where email contains prisma.io
|
|
620
|
+
* // Limited to the 10 users
|
|
621
|
+
* const aggregations = await prisma.user.aggregate({
|
|
622
|
+
* _avg: {
|
|
623
|
+
* age: true,
|
|
624
|
+
* },
|
|
625
|
+
* where: {
|
|
626
|
+
* email: {
|
|
627
|
+
* contains: "prisma.io",
|
|
628
|
+
* },
|
|
629
|
+
* },
|
|
630
|
+
* orderBy: {
|
|
631
|
+
* age: "asc",
|
|
632
|
+
* },
|
|
633
|
+
* take: 10,
|
|
634
|
+
* })
|
|
635
|
+
**/
|
|
636
|
+
aggregate<T extends NoticeAggregateArgs>(args: Prisma.Subset<T, NoticeAggregateArgs>): Prisma.PrismaPromise<GetNoticeAggregateType<T>>;
|
|
637
|
+
/**
|
|
638
|
+
* Group by Notice.
|
|
639
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
640
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
641
|
+
* @param {NoticeGroupByArgs} args - Group by arguments.
|
|
642
|
+
* @example
|
|
643
|
+
* // Group by city, order by createdAt, get count
|
|
644
|
+
* const result = await prisma.user.groupBy({
|
|
645
|
+
* by: ['city', 'createdAt'],
|
|
646
|
+
* orderBy: {
|
|
647
|
+
* createdAt: true
|
|
648
|
+
* },
|
|
649
|
+
* _count: {
|
|
650
|
+
* _all: true
|
|
651
|
+
* },
|
|
652
|
+
* })
|
|
653
|
+
*
|
|
654
|
+
**/
|
|
655
|
+
groupBy<T extends NoticeGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
656
|
+
orderBy: NoticeGroupByArgs['orderBy'];
|
|
657
|
+
} : {
|
|
658
|
+
orderBy?: NoticeGroupByArgs['orderBy'];
|
|
659
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
660
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
661
|
+
Error,
|
|
662
|
+
'Field ',
|
|
663
|
+
P,
|
|
664
|
+
` in "having" needs to be provided in "by"`
|
|
665
|
+
];
|
|
666
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
667
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
668
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
669
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
670
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
671
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
672
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, NoticeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNoticeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
673
|
+
/**
|
|
674
|
+
* Fields of the Notice model
|
|
675
|
+
*/
|
|
676
|
+
readonly fields: NoticeFieldRefs;
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* The delegate class that acts as a "Promise-like" for Notice.
|
|
680
|
+
* Why is this prefixed with `Prisma__`?
|
|
681
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
682
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
683
|
+
*/
|
|
684
|
+
export interface Prisma__NoticeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
685
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
686
|
+
/**
|
|
687
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
688
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
689
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
690
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
691
|
+
*/
|
|
692
|
+
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>;
|
|
693
|
+
/**
|
|
694
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
695
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
696
|
+
* @returns A Promise for the completion of the callback.
|
|
697
|
+
*/
|
|
698
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
699
|
+
/**
|
|
700
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
701
|
+
* resolved value cannot be modified from the callback.
|
|
702
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
703
|
+
* @returns A Promise for the completion of the callback.
|
|
704
|
+
*/
|
|
705
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* Fields of the Notice model
|
|
709
|
+
*/
|
|
710
|
+
export interface NoticeFieldRefs {
|
|
711
|
+
readonly id: Prisma.FieldRef<"Notice", 'String'>;
|
|
712
|
+
readonly position: Prisma.FieldRef<"Notice", 'Int'>;
|
|
713
|
+
readonly audience: Prisma.FieldRef<"Notice", 'NoticeAudience'>;
|
|
714
|
+
readonly text: Prisma.FieldRef<"Notice", 'String'>;
|
|
715
|
+
readonly links: Prisma.FieldRef<"Notice", 'Json'>;
|
|
716
|
+
readonly isDismissible: Prisma.FieldRef<"Notice", 'Boolean'>;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* Notice findUnique
|
|
720
|
+
*/
|
|
721
|
+
export type NoticeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
722
|
+
/**
|
|
723
|
+
* Select specific fields to fetch from the Notice
|
|
724
|
+
*/
|
|
725
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
726
|
+
/**
|
|
727
|
+
* Omit specific fields from the Notice
|
|
728
|
+
*/
|
|
729
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
730
|
+
/**
|
|
731
|
+
* Filter, which Notice to fetch.
|
|
732
|
+
*/
|
|
733
|
+
where: Prisma.NoticeWhereUniqueInput;
|
|
734
|
+
};
|
|
735
|
+
/**
|
|
736
|
+
* Notice findUniqueOrThrow
|
|
737
|
+
*/
|
|
738
|
+
export type NoticeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
739
|
+
/**
|
|
740
|
+
* Select specific fields to fetch from the Notice
|
|
741
|
+
*/
|
|
742
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
743
|
+
/**
|
|
744
|
+
* Omit specific fields from the Notice
|
|
745
|
+
*/
|
|
746
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
747
|
+
/**
|
|
748
|
+
* Filter, which Notice to fetch.
|
|
749
|
+
*/
|
|
750
|
+
where: Prisma.NoticeWhereUniqueInput;
|
|
751
|
+
};
|
|
752
|
+
/**
|
|
753
|
+
* Notice findFirst
|
|
754
|
+
*/
|
|
755
|
+
export type NoticeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
756
|
+
/**
|
|
757
|
+
* Select specific fields to fetch from the Notice
|
|
758
|
+
*/
|
|
759
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
760
|
+
/**
|
|
761
|
+
* Omit specific fields from the Notice
|
|
762
|
+
*/
|
|
763
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
764
|
+
/**
|
|
765
|
+
* Filter, which Notice to fetch.
|
|
766
|
+
*/
|
|
767
|
+
where?: Prisma.NoticeWhereInput;
|
|
768
|
+
/**
|
|
769
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
770
|
+
*
|
|
771
|
+
* Determine the order of Notices to fetch.
|
|
772
|
+
*/
|
|
773
|
+
orderBy?: Prisma.NoticeOrderByWithRelationInput | Prisma.NoticeOrderByWithRelationInput[];
|
|
774
|
+
/**
|
|
775
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
776
|
+
*
|
|
777
|
+
* Sets the position for searching for Notices.
|
|
778
|
+
*/
|
|
779
|
+
cursor?: Prisma.NoticeWhereUniqueInput;
|
|
780
|
+
/**
|
|
781
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
782
|
+
*
|
|
783
|
+
* Take `±n` Notices from the position of the cursor.
|
|
784
|
+
*/
|
|
785
|
+
take?: number;
|
|
786
|
+
/**
|
|
787
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
788
|
+
*
|
|
789
|
+
* Skip the first `n` Notices.
|
|
790
|
+
*/
|
|
791
|
+
skip?: number;
|
|
792
|
+
/**
|
|
793
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
794
|
+
*
|
|
795
|
+
* Filter by unique combinations of Notices.
|
|
796
|
+
*/
|
|
797
|
+
distinct?: Prisma.NoticeScalarFieldEnum | Prisma.NoticeScalarFieldEnum[];
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* Notice findFirstOrThrow
|
|
801
|
+
*/
|
|
802
|
+
export type NoticeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
803
|
+
/**
|
|
804
|
+
* Select specific fields to fetch from the Notice
|
|
805
|
+
*/
|
|
806
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
807
|
+
/**
|
|
808
|
+
* Omit specific fields from the Notice
|
|
809
|
+
*/
|
|
810
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
811
|
+
/**
|
|
812
|
+
* Filter, which Notice to fetch.
|
|
813
|
+
*/
|
|
814
|
+
where?: Prisma.NoticeWhereInput;
|
|
815
|
+
/**
|
|
816
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
817
|
+
*
|
|
818
|
+
* Determine the order of Notices to fetch.
|
|
819
|
+
*/
|
|
820
|
+
orderBy?: Prisma.NoticeOrderByWithRelationInput | Prisma.NoticeOrderByWithRelationInput[];
|
|
821
|
+
/**
|
|
822
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
823
|
+
*
|
|
824
|
+
* Sets the position for searching for Notices.
|
|
825
|
+
*/
|
|
826
|
+
cursor?: Prisma.NoticeWhereUniqueInput;
|
|
827
|
+
/**
|
|
828
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
829
|
+
*
|
|
830
|
+
* Take `±n` Notices from the position of the cursor.
|
|
831
|
+
*/
|
|
832
|
+
take?: number;
|
|
833
|
+
/**
|
|
834
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
835
|
+
*
|
|
836
|
+
* Skip the first `n` Notices.
|
|
837
|
+
*/
|
|
838
|
+
skip?: number;
|
|
839
|
+
/**
|
|
840
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
841
|
+
*
|
|
842
|
+
* Filter by unique combinations of Notices.
|
|
843
|
+
*/
|
|
844
|
+
distinct?: Prisma.NoticeScalarFieldEnum | Prisma.NoticeScalarFieldEnum[];
|
|
845
|
+
};
|
|
846
|
+
/**
|
|
847
|
+
* Notice findMany
|
|
848
|
+
*/
|
|
849
|
+
export type NoticeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
850
|
+
/**
|
|
851
|
+
* Select specific fields to fetch from the Notice
|
|
852
|
+
*/
|
|
853
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
854
|
+
/**
|
|
855
|
+
* Omit specific fields from the Notice
|
|
856
|
+
*/
|
|
857
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
858
|
+
/**
|
|
859
|
+
* Filter, which Notices to fetch.
|
|
860
|
+
*/
|
|
861
|
+
where?: Prisma.NoticeWhereInput;
|
|
862
|
+
/**
|
|
863
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
864
|
+
*
|
|
865
|
+
* Determine the order of Notices to fetch.
|
|
866
|
+
*/
|
|
867
|
+
orderBy?: Prisma.NoticeOrderByWithRelationInput | Prisma.NoticeOrderByWithRelationInput[];
|
|
868
|
+
/**
|
|
869
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
870
|
+
*
|
|
871
|
+
* Sets the position for listing Notices.
|
|
872
|
+
*/
|
|
873
|
+
cursor?: Prisma.NoticeWhereUniqueInput;
|
|
874
|
+
/**
|
|
875
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
876
|
+
*
|
|
877
|
+
* Take `±n` Notices from the position of the cursor.
|
|
878
|
+
*/
|
|
879
|
+
take?: number;
|
|
880
|
+
/**
|
|
881
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
882
|
+
*
|
|
883
|
+
* Skip the first `n` Notices.
|
|
884
|
+
*/
|
|
885
|
+
skip?: number;
|
|
886
|
+
/**
|
|
887
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
888
|
+
*
|
|
889
|
+
* Filter by unique combinations of Notices.
|
|
890
|
+
*/
|
|
891
|
+
distinct?: Prisma.NoticeScalarFieldEnum | Prisma.NoticeScalarFieldEnum[];
|
|
892
|
+
};
|
|
893
|
+
/**
|
|
894
|
+
* Notice create
|
|
895
|
+
*/
|
|
896
|
+
export type NoticeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
897
|
+
/**
|
|
898
|
+
* Select specific fields to fetch from the Notice
|
|
899
|
+
*/
|
|
900
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
901
|
+
/**
|
|
902
|
+
* Omit specific fields from the Notice
|
|
903
|
+
*/
|
|
904
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
905
|
+
/**
|
|
906
|
+
* The data needed to create a Notice.
|
|
907
|
+
*/
|
|
908
|
+
data: Prisma.XOR<Prisma.NoticeCreateInput, Prisma.NoticeUncheckedCreateInput>;
|
|
909
|
+
};
|
|
910
|
+
/**
|
|
911
|
+
* Notice createMany
|
|
912
|
+
*/
|
|
913
|
+
export type NoticeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
914
|
+
/**
|
|
915
|
+
* The data used to create many Notices.
|
|
916
|
+
*/
|
|
917
|
+
data: Prisma.NoticeCreateManyInput | Prisma.NoticeCreateManyInput[];
|
|
918
|
+
skipDuplicates?: boolean;
|
|
919
|
+
};
|
|
920
|
+
/**
|
|
921
|
+
* Notice createManyAndReturn
|
|
922
|
+
*/
|
|
923
|
+
export type NoticeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
924
|
+
/**
|
|
925
|
+
* Select specific fields to fetch from the Notice
|
|
926
|
+
*/
|
|
927
|
+
select?: Prisma.NoticeSelectCreateManyAndReturn<ExtArgs> | null;
|
|
928
|
+
/**
|
|
929
|
+
* Omit specific fields from the Notice
|
|
930
|
+
*/
|
|
931
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
932
|
+
/**
|
|
933
|
+
* The data used to create many Notices.
|
|
934
|
+
*/
|
|
935
|
+
data: Prisma.NoticeCreateManyInput | Prisma.NoticeCreateManyInput[];
|
|
936
|
+
skipDuplicates?: boolean;
|
|
937
|
+
};
|
|
938
|
+
/**
|
|
939
|
+
* Notice update
|
|
940
|
+
*/
|
|
941
|
+
export type NoticeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
942
|
+
/**
|
|
943
|
+
* Select specific fields to fetch from the Notice
|
|
944
|
+
*/
|
|
945
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
946
|
+
/**
|
|
947
|
+
* Omit specific fields from the Notice
|
|
948
|
+
*/
|
|
949
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
950
|
+
/**
|
|
951
|
+
* The data needed to update a Notice.
|
|
952
|
+
*/
|
|
953
|
+
data: Prisma.XOR<Prisma.NoticeUpdateInput, Prisma.NoticeUncheckedUpdateInput>;
|
|
954
|
+
/**
|
|
955
|
+
* Choose, which Notice to update.
|
|
956
|
+
*/
|
|
957
|
+
where: Prisma.NoticeWhereUniqueInput;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* Notice updateMany
|
|
961
|
+
*/
|
|
962
|
+
export type NoticeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
963
|
+
/**
|
|
964
|
+
* The data used to update Notices.
|
|
965
|
+
*/
|
|
966
|
+
data: Prisma.XOR<Prisma.NoticeUpdateManyMutationInput, Prisma.NoticeUncheckedUpdateManyInput>;
|
|
967
|
+
/**
|
|
968
|
+
* Filter which Notices to update
|
|
969
|
+
*/
|
|
970
|
+
where?: Prisma.NoticeWhereInput;
|
|
971
|
+
/**
|
|
972
|
+
* Limit how many Notices to update.
|
|
973
|
+
*/
|
|
974
|
+
limit?: number;
|
|
975
|
+
};
|
|
976
|
+
/**
|
|
977
|
+
* Notice updateManyAndReturn
|
|
978
|
+
*/
|
|
979
|
+
export type NoticeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
980
|
+
/**
|
|
981
|
+
* Select specific fields to fetch from the Notice
|
|
982
|
+
*/
|
|
983
|
+
select?: Prisma.NoticeSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
984
|
+
/**
|
|
985
|
+
* Omit specific fields from the Notice
|
|
986
|
+
*/
|
|
987
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
988
|
+
/**
|
|
989
|
+
* The data used to update Notices.
|
|
990
|
+
*/
|
|
991
|
+
data: Prisma.XOR<Prisma.NoticeUpdateManyMutationInput, Prisma.NoticeUncheckedUpdateManyInput>;
|
|
992
|
+
/**
|
|
993
|
+
* Filter which Notices to update
|
|
994
|
+
*/
|
|
995
|
+
where?: Prisma.NoticeWhereInput;
|
|
996
|
+
/**
|
|
997
|
+
* Limit how many Notices to update.
|
|
998
|
+
*/
|
|
999
|
+
limit?: number;
|
|
1000
|
+
};
|
|
1001
|
+
/**
|
|
1002
|
+
* Notice upsert
|
|
1003
|
+
*/
|
|
1004
|
+
export type NoticeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1005
|
+
/**
|
|
1006
|
+
* Select specific fields to fetch from the Notice
|
|
1007
|
+
*/
|
|
1008
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
1009
|
+
/**
|
|
1010
|
+
* Omit specific fields from the Notice
|
|
1011
|
+
*/
|
|
1012
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
1013
|
+
/**
|
|
1014
|
+
* The filter to search for the Notice to update in case it exists.
|
|
1015
|
+
*/
|
|
1016
|
+
where: Prisma.NoticeWhereUniqueInput;
|
|
1017
|
+
/**
|
|
1018
|
+
* In case the Notice found by the `where` argument doesn't exist, create a new Notice with this data.
|
|
1019
|
+
*/
|
|
1020
|
+
create: Prisma.XOR<Prisma.NoticeCreateInput, Prisma.NoticeUncheckedCreateInput>;
|
|
1021
|
+
/**
|
|
1022
|
+
* In case the Notice was found with the provided `where` argument, update it with this data.
|
|
1023
|
+
*/
|
|
1024
|
+
update: Prisma.XOR<Prisma.NoticeUpdateInput, Prisma.NoticeUncheckedUpdateInput>;
|
|
1025
|
+
};
|
|
1026
|
+
/**
|
|
1027
|
+
* Notice delete
|
|
1028
|
+
*/
|
|
1029
|
+
export type NoticeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1030
|
+
/**
|
|
1031
|
+
* Select specific fields to fetch from the Notice
|
|
1032
|
+
*/
|
|
1033
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* Omit specific fields from the Notice
|
|
1036
|
+
*/
|
|
1037
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
1038
|
+
/**
|
|
1039
|
+
* Filter which Notice to delete.
|
|
1040
|
+
*/
|
|
1041
|
+
where: Prisma.NoticeWhereUniqueInput;
|
|
1042
|
+
};
|
|
1043
|
+
/**
|
|
1044
|
+
* Notice deleteMany
|
|
1045
|
+
*/
|
|
1046
|
+
export type NoticeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1047
|
+
/**
|
|
1048
|
+
* Filter which Notices to delete
|
|
1049
|
+
*/
|
|
1050
|
+
where?: Prisma.NoticeWhereInput;
|
|
1051
|
+
/**
|
|
1052
|
+
* Limit how many Notices to delete.
|
|
1053
|
+
*/
|
|
1054
|
+
limit?: number;
|
|
1055
|
+
};
|
|
1056
|
+
/**
|
|
1057
|
+
* Notice without action
|
|
1058
|
+
*/
|
|
1059
|
+
export type NoticeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
/**
|
|
1061
|
+
* Select specific fields to fetch from the Notice
|
|
1062
|
+
*/
|
|
1063
|
+
select?: Prisma.NoticeSelect<ExtArgs> | null;
|
|
1064
|
+
/**
|
|
1065
|
+
* Omit specific fields from the Notice
|
|
1066
|
+
*/
|
|
1067
|
+
omit?: Prisma.NoticeOmit<ExtArgs> | null;
|
|
1068
|
+
};
|