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