@actuate-media/cms-core 0.1.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/dist/__tests__/actions/document-crud.test.d.ts +2 -0
- package/dist/__tests__/actions/document-crud.test.d.ts.map +1 -0
- package/dist/__tests__/actions/document-crud.test.js +156 -0
- package/dist/__tests__/actions/document-crud.test.js.map +1 -0
- package/dist/__tests__/auth/password.test.d.ts +2 -0
- package/dist/__tests__/auth/password.test.d.ts.map +1 -0
- package/dist/__tests__/auth/password.test.js +102 -0
- package/dist/__tests__/auth/password.test.js.map +1 -0
- package/dist/__tests__/auth/session.test.d.ts +2 -0
- package/dist/__tests__/auth/session.test.d.ts.map +1 -0
- package/dist/__tests__/auth/session.test.js +66 -0
- package/dist/__tests__/auth/session.test.js.map +1 -0
- package/dist/__tests__/codegen/generate-types.test.d.ts +2 -0
- package/dist/__tests__/codegen/generate-types.test.d.ts.map +1 -0
- package/dist/__tests__/codegen/generate-types.test.js +173 -0
- package/dist/__tests__/codegen/generate-types.test.js.map +1 -0
- package/dist/__tests__/scheduling/scheduling.test.d.ts +2 -0
- package/dist/__tests__/scheduling/scheduling.test.d.ts.map +1 -0
- package/dist/__tests__/scheduling/scheduling.test.js +84 -0
- package/dist/__tests__/scheduling/scheduling.test.js.map +1 -0
- package/dist/__tests__/security/access.test.d.ts +2 -0
- package/dist/__tests__/security/access.test.d.ts.map +1 -0
- package/dist/__tests__/security/access.test.js +181 -0
- package/dist/__tests__/security/access.test.js.map +1 -0
- package/dist/__tests__/security/csrf.test.d.ts +2 -0
- package/dist/__tests__/security/csrf.test.d.ts.map +1 -0
- package/dist/__tests__/security/csrf.test.js +40 -0
- package/dist/__tests__/security/csrf.test.js.map +1 -0
- package/dist/__tests__/security/rate-limit.test.d.ts +2 -0
- package/dist/__tests__/security/rate-limit.test.d.ts.map +1 -0
- package/dist/__tests__/security/rate-limit.test.js +62 -0
- package/dist/__tests__/security/rate-limit.test.js.map +1 -0
- package/dist/__tests__/security/reauth.test.d.ts +2 -0
- package/dist/__tests__/security/reauth.test.d.ts.map +1 -0
- package/dist/__tests__/security/reauth.test.js +30 -0
- package/dist/__tests__/security/reauth.test.js.map +1 -0
- package/dist/__tests__/security/sanitize.test.d.ts +2 -0
- package/dist/__tests__/security/sanitize.test.d.ts.map +1 -0
- package/dist/__tests__/security/sanitize.test.js +75 -0
- package/dist/__tests__/security/sanitize.test.js.map +1 -0
- package/dist/__tests__/webhooks/webhooks.test.d.ts +2 -0
- package/dist/__tests__/webhooks/webhooks.test.d.ts.map +1 -0
- package/dist/__tests__/webhooks/webhooks.test.js +96 -0
- package/dist/__tests__/webhooks/webhooks.test.js.map +1 -0
- package/dist/a11y/index.d.ts +25 -0
- package/dist/a11y/index.d.ts.map +1 -0
- package/dist/a11y/index.js +88 -0
- package/dist/a11y/index.js.map +1 -0
- package/dist/actions.d.ts +42 -0
- package/dist/actions.d.ts.map +1 -0
- package/dist/actions.js +391 -0
- package/dist/actions.js.map +1 -0
- package/dist/api/handler-factory.d.ts +7 -0
- package/dist/api/handler-factory.d.ts.map +1 -0
- package/dist/api/handler-factory.js +120 -0
- package/dist/api/handler-factory.js.map +1 -0
- package/dist/api/handlers.d.ts +4 -0
- package/dist/api/handlers.d.ts.map +1 -0
- package/dist/api/handlers.js +2119 -0
- package/dist/api/handlers.js.map +1 -0
- package/dist/api/index.d.ts +23 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +57 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/openapi.d.ts +3 -0
- package/dist/api/openapi.d.ts.map +1 -0
- package/dist/api/openapi.js +348 -0
- package/dist/api/openapi.js.map +1 -0
- package/dist/auth/index.d.ts +11 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +9 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/oauth.d.ts +84 -0
- package/dist/auth/oauth.d.ts.map +1 -0
- package/dist/auth/oauth.js +201 -0
- package/dist/auth/oauth.js.map +1 -0
- package/dist/auth/password.d.ts +13 -0
- package/dist/auth/password.d.ts.map +1 -0
- package/dist/auth/password.js +47 -0
- package/dist/auth/password.js.map +1 -0
- package/dist/auth/providers/github.d.ts +9 -0
- package/dist/auth/providers/github.d.ts.map +1 -0
- package/dist/auth/providers/github.js +10 -0
- package/dist/auth/providers/github.js.map +1 -0
- package/dist/auth/providers/google.d.ts +9 -0
- package/dist/auth/providers/google.d.ts.map +1 -0
- package/dist/auth/providers/google.js +10 -0
- package/dist/auth/providers/google.js.map +1 -0
- package/dist/auth/providers/microsoft.d.ts +9 -0
- package/dist/auth/providers/microsoft.d.ts.map +1 -0
- package/dist/auth/providers/microsoft.js +11 -0
- package/dist/auth/providers/microsoft.js.map +1 -0
- package/dist/auth/session.d.ts +21 -0
- package/dist/auth/session.d.ts.map +1 -0
- package/dist/auth/session.js +35 -0
- package/dist/auth/session.js.map +1 -0
- package/dist/auth/totp.d.ts +5 -0
- package/dist/auth/totp.d.ts.map +1 -0
- package/dist/auth/totp.js +86 -0
- package/dist/auth/totp.js.map +1 -0
- package/dist/backup/index.d.ts +19 -0
- package/dist/backup/index.d.ts.map +1 -0
- package/dist/backup/index.js +22 -0
- package/dist/backup/index.js.map +1 -0
- package/dist/cache/index.d.ts +15 -0
- package/dist/cache/index.d.ts.map +1 -0
- package/dist/cache/index.js +32 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/client.d.ts +30 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +50 -0
- package/dist/client.js.map +1 -0
- package/dist/codegen/index.d.ts +4 -0
- package/dist/codegen/index.d.ts.map +1 -0
- package/dist/codegen/index.js +370 -0
- package/dist/codegen/index.js.map +1 -0
- package/dist/collections/index.d.ts +17 -0
- package/dist/collections/index.d.ts.map +1 -0
- package/dist/collections/index.js +29 -0
- package/dist/collections/index.js.map +1 -0
- package/dist/config/index.d.ts +6 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +74 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/types.d.ts +307 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +3 -0
- package/dist/config/types.js.map +1 -0
- package/dist/content/ai-api.d.ts +21 -0
- package/dist/content/ai-api.d.ts.map +1 -0
- package/dist/content/ai-api.js +19 -0
- package/dist/content/ai-api.js.map +1 -0
- package/dist/content/content-graph.d.ts +25 -0
- package/dist/content/content-graph.d.ts.map +1 -0
- package/dist/content/content-graph.js +40 -0
- package/dist/content/content-graph.js.map +1 -0
- package/dist/content/extract.d.ts +7 -0
- package/dist/content/extract.d.ts.map +1 -0
- package/dist/content/extract.js +33 -0
- package/dist/content/extract.js.map +1 -0
- package/dist/content/index.d.ts +8 -0
- package/dist/content/index.d.ts.map +1 -0
- package/dist/content/index.js +5 -0
- package/dist/content/index.js.map +1 -0
- package/dist/content/structured-data.d.ts +80 -0
- package/dist/content/structured-data.d.ts.map +1 -0
- package/dist/content/structured-data.js +295 -0
- package/dist/content/structured-data.js.map +1 -0
- package/dist/db/adapters/mysql.d.ts +5 -0
- package/dist/db/adapters/mysql.d.ts.map +1 -0
- package/dist/db/adapters/mysql.js +18 -0
- package/dist/db/adapters/mysql.js.map +1 -0
- package/dist/db/adapters/postgres.d.ts +7 -0
- package/dist/db/adapters/postgres.d.ts.map +1 -0
- package/dist/db/adapters/postgres.js +20 -0
- package/dist/db/adapters/postgres.js.map +1 -0
- package/dist/db/adapters/sqlite.d.ts +5 -0
- package/dist/db/adapters/sqlite.d.ts.map +1 -0
- package/dist/db/adapters/sqlite.js +19 -0
- package/dist/db/adapters/sqlite.js.map +1 -0
- package/dist/db/create-adapter.d.ts +11 -0
- package/dist/db/create-adapter.d.ts.map +1 -0
- package/dist/db/create-adapter.js +43 -0
- package/dist/db/create-adapter.js.map +1 -0
- package/dist/db/index.d.ts +9 -0
- package/dist/db/index.d.ts.map +1 -0
- package/dist/db/index.js +5 -0
- package/dist/db/index.js.map +1 -0
- package/dist/db.d.ts +20 -0
- package/dist/db.d.ts.map +1 -0
- package/dist/db.js +35 -0
- package/dist/db.js.map +1 -0
- package/dist/fields/index.d.ts +15 -0
- package/dist/fields/index.d.ts.map +1 -0
- package/dist/fields/index.js +87 -0
- package/dist/fields/index.js.map +1 -0
- package/dist/forms/analytics.d.ts +62 -0
- package/dist/forms/analytics.d.ts.map +1 -0
- package/dist/forms/analytics.js +95 -0
- package/dist/forms/analytics.js.map +1 -0
- package/dist/forms/attribution.d.ts +29 -0
- package/dist/forms/attribution.d.ts.map +1 -0
- package/dist/forms/attribution.js +216 -0
- package/dist/forms/attribution.js.map +1 -0
- package/dist/forms/index.d.ts +5 -0
- package/dist/forms/index.d.ts.map +1 -0
- package/dist/forms/index.js +3 -0
- package/dist/forms/index.js.map +1 -0
- package/dist/graphql/index.d.ts +11 -0
- package/dist/graphql/index.d.ts.map +1 -0
- package/dist/graphql/index.js +58 -0
- package/dist/graphql/index.js.map +1 -0
- package/dist/graphql/resolvers.d.ts +8 -0
- package/dist/graphql/resolvers.d.ts.map +1 -0
- package/dist/graphql/resolvers.js +93 -0
- package/dist/graphql/resolvers.js.map +1 -0
- package/dist/graphql/schema-builder.d.ts +3 -0
- package/dist/graphql/schema-builder.d.ts.map +1 -0
- package/dist/graphql/schema-builder.js +103 -0
- package/dist/graphql/schema-builder.js.map +1 -0
- package/dist/health/index.d.ts +27 -0
- package/dist/health/index.d.ts.map +1 -0
- package/dist/health/index.js +43 -0
- package/dist/health/index.js.map +1 -0
- package/dist/i18n/index.d.ts +22 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +37 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/index.d.ts +73 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +81 -0
- package/dist/index.js.map +1 -0
- package/dist/media/index.d.ts +3 -0
- package/dist/media/index.d.ts.map +1 -0
- package/dist/media/index.js +2 -0
- package/dist/media/index.js.map +1 -0
- package/dist/media/optimize.d.ts +40 -0
- package/dist/media/optimize.d.ts.map +1 -0
- package/dist/media/optimize.js +137 -0
- package/dist/media/optimize.js.map +1 -0
- package/dist/middleware.d.ts +7 -0
- package/dist/middleware.d.ts.map +1 -0
- package/dist/middleware.js +86 -0
- package/dist/middleware.js.map +1 -0
- package/dist/multisite/index.d.ts +20 -0
- package/dist/multisite/index.d.ts.map +1 -0
- package/dist/multisite/index.js +26 -0
- package/dist/multisite/index.js.map +1 -0
- package/dist/next/preview.d.ts +10 -0
- package/dist/next/preview.d.ts.map +1 -0
- package/dist/next/preview.js +17 -0
- package/dist/next/preview.js.map +1 -0
- package/dist/next.d.ts +9 -0
- package/dist/next.d.ts.map +1 -0
- package/dist/next.js +35 -0
- package/dist/next.js.map +1 -0
- package/dist/notifications/index.d.ts +20 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/index.js +22 -0
- package/dist/notifications/index.js.map +1 -0
- package/dist/presence/index.d.ts +24 -0
- package/dist/presence/index.d.ts.map +1 -0
- package/dist/presence/index.js +99 -0
- package/dist/presence/index.js.map +1 -0
- package/dist/preview/index.d.ts +14 -0
- package/dist/preview/index.d.ts.map +1 -0
- package/dist/preview/index.js +45 -0
- package/dist/preview/index.js.map +1 -0
- package/dist/privacy/index.d.ts +33 -0
- package/dist/privacy/index.d.ts.map +1 -0
- package/dist/privacy/index.js +15 -0
- package/dist/privacy/index.js.map +1 -0
- package/dist/relationships/index.d.ts +13 -0
- package/dist/relationships/index.d.ts.map +1 -0
- package/dist/relationships/index.js +12 -0
- package/dist/relationships/index.js.map +1 -0
- package/dist/scheduling/index.d.ts +44 -0
- package/dist/scheduling/index.d.ts.map +1 -0
- package/dist/scheduling/index.js +119 -0
- package/dist/scheduling/index.js.map +1 -0
- package/dist/search/index.d.ts +25 -0
- package/dist/search/index.d.ts.map +1 -0
- package/dist/search/index.js +168 -0
- package/dist/search/index.js.map +1 -0
- package/dist/security/access.d.ts +26 -0
- package/dist/security/access.d.ts.map +1 -0
- package/dist/security/access.js +92 -0
- package/dist/security/access.js.map +1 -0
- package/dist/security/anomaly-detection.d.ts +17 -0
- package/dist/security/anomaly-detection.d.ts.map +1 -0
- package/dist/security/anomaly-detection.js +17 -0
- package/dist/security/anomaly-detection.js.map +1 -0
- package/dist/security/api-key-enhanced.d.ts +25 -0
- package/dist/security/api-key-enhanced.d.ts.map +1 -0
- package/dist/security/api-key-enhanced.js +25 -0
- package/dist/security/api-key-enhanced.js.map +1 -0
- package/dist/security/audit.d.ts +39 -0
- package/dist/security/audit.d.ts.map +1 -0
- package/dist/security/audit.js +40 -0
- package/dist/security/audit.js.map +1 -0
- package/dist/security/breach-check.d.ts +3 -0
- package/dist/security/breach-check.d.ts.map +1 -0
- package/dist/security/breach-check.js +27 -0
- package/dist/security/breach-check.js.map +1 -0
- package/dist/security/cors.d.ts +11 -0
- package/dist/security/cors.d.ts.map +1 -0
- package/dist/security/cors.js +33 -0
- package/dist/security/cors.js.map +1 -0
- package/dist/security/csp-nonces.d.ts +5 -0
- package/dist/security/csp-nonces.d.ts.map +1 -0
- package/dist/security/csp-nonces.js +24 -0
- package/dist/security/csp-nonces.js.map +1 -0
- package/dist/security/csrf.d.ts +5 -0
- package/dist/security/csrf.d.ts.map +1 -0
- package/dist/security/csrf.js +20 -0
- package/dist/security/csrf.js.map +1 -0
- package/dist/security/encrypted-fields.d.ts +5 -0
- package/dist/security/encrypted-fields.d.ts.map +1 -0
- package/dist/security/encrypted-fields.js +40 -0
- package/dist/security/encrypted-fields.js.map +1 -0
- package/dist/security/headers.d.ts +11 -0
- package/dist/security/headers.d.ts.map +1 -0
- package/dist/security/headers.js +32 -0
- package/dist/security/headers.js.map +1 -0
- package/dist/security/index.d.ts +31 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +20 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/ip-allowlist.d.ts +3 -0
- package/dist/security/ip-allowlist.d.ts.map +1 -0
- package/dist/security/ip-allowlist.js +35 -0
- package/dist/security/ip-allowlist.js.map +1 -0
- package/dist/security/middleware.d.ts +20 -0
- package/dist/security/middleware.d.ts.map +1 -0
- package/dist/security/middleware.js +45 -0
- package/dist/security/middleware.js.map +1 -0
- package/dist/security/rate-limit.d.ts +24 -0
- package/dist/security/rate-limit.d.ts.map +1 -0
- package/dist/security/rate-limit.js +84 -0
- package/dist/security/rate-limit.js.map +1 -0
- package/dist/security/reauth.d.ts +15 -0
- package/dist/security/reauth.d.ts.map +1 -0
- package/dist/security/reauth.js +38 -0
- package/dist/security/reauth.js.map +1 -0
- package/dist/security/sanitize.d.ts +13 -0
- package/dist/security/sanitize.d.ts.map +1 -0
- package/dist/security/sanitize.js +34 -0
- package/dist/security/sanitize.js.map +1 -0
- package/dist/security/security-txt.d.ts +12 -0
- package/dist/security/security-txt.d.ts.map +1 -0
- package/dist/security/security-txt.js +19 -0
- package/dist/security/security-txt.js.map +1 -0
- package/dist/security/session-limits.d.ts +17 -0
- package/dist/security/session-limits.d.ts.map +1 -0
- package/dist/security/session-limits.js +14 -0
- package/dist/security/session-limits.js.map +1 -0
- package/dist/security/upload.d.ts +13 -0
- package/dist/security/upload.d.ts.map +1 -0
- package/dist/security/upload.js +34 -0
- package/dist/security/upload.js.map +1 -0
- package/dist/security/webhook.d.ts +12 -0
- package/dist/security/webhook.d.ts.map +1 -0
- package/dist/security/webhook.js +38 -0
- package/dist/security/webhook.js.map +1 -0
- package/dist/seo/analysis.d.ts +66 -0
- package/dist/seo/analysis.d.ts.map +1 -0
- package/dist/seo/analysis.js +594 -0
- package/dist/seo/analysis.js.map +1 -0
- package/dist/seo/index.d.ts +9 -0
- package/dist/seo/index.d.ts.map +1 -0
- package/dist/seo/index.js +5 -0
- package/dist/seo/index.js.map +1 -0
- package/dist/seo/llms-txt.d.ts +16 -0
- package/dist/seo/llms-txt.d.ts.map +1 -0
- package/dist/seo/llms-txt.js +70 -0
- package/dist/seo/llms-txt.js.map +1 -0
- package/dist/seo/meta-tags.d.ts +33 -0
- package/dist/seo/meta-tags.d.ts.map +1 -0
- package/dist/seo/meta-tags.js +159 -0
- package/dist/seo/meta-tags.js.map +1 -0
- package/dist/seo/title-templates.d.ts +17 -0
- package/dist/seo/title-templates.d.ts.map +1 -0
- package/dist/seo/title-templates.js +28 -0
- package/dist/seo/title-templates.js.map +1 -0
- package/dist/setup/index.d.ts +38 -0
- package/dist/setup/index.d.ts.map +1 -0
- package/dist/setup/index.js +77 -0
- package/dist/setup/index.js.map +1 -0
- package/dist/storage/index.d.ts +11 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +11 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/templates/index.d.ts +16 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/templates/index.js +23 -0
- package/dist/templates/index.js.map +1 -0
- package/dist/upgrade/changelog.d.ts +13 -0
- package/dist/upgrade/changelog.d.ts.map +1 -0
- package/dist/upgrade/changelog.js +54 -0
- package/dist/upgrade/changelog.js.map +1 -0
- package/dist/upgrade/index.d.ts +7 -0
- package/dist/upgrade/index.d.ts.map +1 -0
- package/dist/upgrade/index.js +4 -0
- package/dist/upgrade/index.js.map +1 -0
- package/dist/upgrade/upgrade-pr.d.ts +16 -0
- package/dist/upgrade/upgrade-pr.d.ts.map +1 -0
- package/dist/upgrade/upgrade-pr.js +38 -0
- package/dist/upgrade/upgrade-pr.js.map +1 -0
- package/dist/upgrade/version-check.d.ts +17 -0
- package/dist/upgrade/version-check.d.ts.map +1 -0
- package/dist/upgrade/version-check.js +30 -0
- package/dist/upgrade/version-check.js.map +1 -0
- package/dist/webhooks/index.d.ts +46 -0
- package/dist/webhooks/index.d.ts.map +1 -0
- package/dist/webhooks/index.js +245 -0
- package/dist/webhooks/index.js.map +1 -0
- package/dist/workflow/index.d.ts +8 -0
- package/dist/workflow/index.d.ts.map +1 -0
- package/dist/workflow/index.js +56 -0
- package/dist/workflow/index.js.map +1 -0
- package/dist/workflows/index.d.ts +30 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/index.js +14 -0
- package/dist/workflows/index.js.map +1 -0
- package/generated/browser.ts +109 -0
- package/generated/client.ts +133 -0
- package/generated/commonInputTypes.ts +709 -0
- package/generated/enums.ts +125 -0
- package/generated/internal/class.ts +376 -0
- package/generated/internal/prismaNamespace.ts +2617 -0
- package/generated/internal/prismaNamespaceBrowser.ts +611 -0
- package/generated/models/ApiKey.ts +1550 -0
- package/generated/models/AuditLog.ts +1206 -0
- package/generated/models/BackupRecord.ts +1250 -0
- package/generated/models/ContentLock.ts +1472 -0
- package/generated/models/ContentTemplate.ts +1416 -0
- package/generated/models/Document.ts +3005 -0
- package/generated/models/Folder.ts +1904 -0
- package/generated/models/FormSubmission.ts +1200 -0
- package/generated/models/InAppNotification.ts +1457 -0
- package/generated/models/Media.ts +2340 -0
- package/generated/models/MediaUsage.ts +1472 -0
- package/generated/models/OAuthAccount.ts +1463 -0
- package/generated/models/Redirect.ts +1284 -0
- package/generated/models/Session.ts +1492 -0
- package/generated/models/Site.ts +1206 -0
- package/generated/models/User.ts +3513 -0
- package/generated/models/Version.ts +1511 -0
- package/generated/models/WorkflowState.ts +1514 -0
- package/generated/models.ts +29 -0
- package/package.json +83 -0
|
@@ -0,0 +1,1284 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `Redirect` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model Redirect
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type RedirectModel = runtime.Types.Result.DefaultSelection<Prisma.$RedirectPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateRedirect = {
|
|
22
|
+
_count: RedirectCountAggregateOutputType | null
|
|
23
|
+
_avg: RedirectAvgAggregateOutputType | null
|
|
24
|
+
_sum: RedirectSumAggregateOutputType | null
|
|
25
|
+
_min: RedirectMinAggregateOutputType | null
|
|
26
|
+
_max: RedirectMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type RedirectAvgAggregateOutputType = {
|
|
30
|
+
statusCode: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type RedirectSumAggregateOutputType = {
|
|
34
|
+
statusCode: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type RedirectMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
source: string | null
|
|
40
|
+
destination: string | null
|
|
41
|
+
statusCode: number | null
|
|
42
|
+
isRegex: boolean | null
|
|
43
|
+
notes: string | null
|
|
44
|
+
createdAt: Date | null
|
|
45
|
+
updatedAt: Date | null
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type RedirectMaxAggregateOutputType = {
|
|
49
|
+
id: string | null
|
|
50
|
+
source: string | null
|
|
51
|
+
destination: string | null
|
|
52
|
+
statusCode: number | null
|
|
53
|
+
isRegex: boolean | null
|
|
54
|
+
notes: string | null
|
|
55
|
+
createdAt: Date | null
|
|
56
|
+
updatedAt: Date | null
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type RedirectCountAggregateOutputType = {
|
|
60
|
+
id: number
|
|
61
|
+
source: number
|
|
62
|
+
destination: number
|
|
63
|
+
statusCode: number
|
|
64
|
+
isRegex: number
|
|
65
|
+
notes: number
|
|
66
|
+
createdAt: number
|
|
67
|
+
updatedAt: number
|
|
68
|
+
_all: number
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
export type RedirectAvgAggregateInputType = {
|
|
73
|
+
statusCode?: true
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type RedirectSumAggregateInputType = {
|
|
77
|
+
statusCode?: true
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type RedirectMinAggregateInputType = {
|
|
81
|
+
id?: true
|
|
82
|
+
source?: true
|
|
83
|
+
destination?: true
|
|
84
|
+
statusCode?: true
|
|
85
|
+
isRegex?: true
|
|
86
|
+
notes?: true
|
|
87
|
+
createdAt?: true
|
|
88
|
+
updatedAt?: true
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type RedirectMaxAggregateInputType = {
|
|
92
|
+
id?: true
|
|
93
|
+
source?: true
|
|
94
|
+
destination?: true
|
|
95
|
+
statusCode?: true
|
|
96
|
+
isRegex?: true
|
|
97
|
+
notes?: true
|
|
98
|
+
createdAt?: true
|
|
99
|
+
updatedAt?: true
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type RedirectCountAggregateInputType = {
|
|
103
|
+
id?: true
|
|
104
|
+
source?: true
|
|
105
|
+
destination?: true
|
|
106
|
+
statusCode?: true
|
|
107
|
+
isRegex?: true
|
|
108
|
+
notes?: true
|
|
109
|
+
createdAt?: true
|
|
110
|
+
updatedAt?: true
|
|
111
|
+
_all?: true
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export type RedirectAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
115
|
+
/**
|
|
116
|
+
* Filter which Redirect to aggregate.
|
|
117
|
+
*/
|
|
118
|
+
where?: Prisma.RedirectWhereInput
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
121
|
+
*
|
|
122
|
+
* Determine the order of Redirects to fetch.
|
|
123
|
+
*/
|
|
124
|
+
orderBy?: Prisma.RedirectOrderByWithRelationInput | Prisma.RedirectOrderByWithRelationInput[]
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
127
|
+
*
|
|
128
|
+
* Sets the start position
|
|
129
|
+
*/
|
|
130
|
+
cursor?: Prisma.RedirectWhereUniqueInput
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
133
|
+
*
|
|
134
|
+
* Take `±n` Redirects from the position of the cursor.
|
|
135
|
+
*/
|
|
136
|
+
take?: number
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
139
|
+
*
|
|
140
|
+
* Skip the first `n` Redirects.
|
|
141
|
+
*/
|
|
142
|
+
skip?: number
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Count returned Redirects
|
|
147
|
+
**/
|
|
148
|
+
_count?: true | RedirectCountAggregateInputType
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Select which fields to average
|
|
153
|
+
**/
|
|
154
|
+
_avg?: RedirectAvgAggregateInputType
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
+
*
|
|
158
|
+
* Select which fields to sum
|
|
159
|
+
**/
|
|
160
|
+
_sum?: RedirectSumAggregateInputType
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
+
*
|
|
164
|
+
* Select which fields to find the minimum value
|
|
165
|
+
**/
|
|
166
|
+
_min?: RedirectMinAggregateInputType
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Select which fields to find the maximum value
|
|
171
|
+
**/
|
|
172
|
+
_max?: RedirectMaxAggregateInputType
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type GetRedirectAggregateType<T extends RedirectAggregateArgs> = {
|
|
176
|
+
[P in keyof T & keyof AggregateRedirect]: P extends '_count' | 'count'
|
|
177
|
+
? T[P] extends true
|
|
178
|
+
? number
|
|
179
|
+
: Prisma.GetScalarType<T[P], AggregateRedirect[P]>
|
|
180
|
+
: Prisma.GetScalarType<T[P], AggregateRedirect[P]>
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
export type RedirectGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
187
|
+
where?: Prisma.RedirectWhereInput
|
|
188
|
+
orderBy?: Prisma.RedirectOrderByWithAggregationInput | Prisma.RedirectOrderByWithAggregationInput[]
|
|
189
|
+
by: Prisma.RedirectScalarFieldEnum[] | Prisma.RedirectScalarFieldEnum
|
|
190
|
+
having?: Prisma.RedirectScalarWhereWithAggregatesInput
|
|
191
|
+
take?: number
|
|
192
|
+
skip?: number
|
|
193
|
+
_count?: RedirectCountAggregateInputType | true
|
|
194
|
+
_avg?: RedirectAvgAggregateInputType
|
|
195
|
+
_sum?: RedirectSumAggregateInputType
|
|
196
|
+
_min?: RedirectMinAggregateInputType
|
|
197
|
+
_max?: RedirectMaxAggregateInputType
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export type RedirectGroupByOutputType = {
|
|
201
|
+
id: string
|
|
202
|
+
source: string
|
|
203
|
+
destination: string
|
|
204
|
+
statusCode: number
|
|
205
|
+
isRegex: boolean
|
|
206
|
+
notes: string | null
|
|
207
|
+
createdAt: Date
|
|
208
|
+
updatedAt: Date
|
|
209
|
+
_count: RedirectCountAggregateOutputType | null
|
|
210
|
+
_avg: RedirectAvgAggregateOutputType | null
|
|
211
|
+
_sum: RedirectSumAggregateOutputType | null
|
|
212
|
+
_min: RedirectMinAggregateOutputType | null
|
|
213
|
+
_max: RedirectMaxAggregateOutputType | null
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
type GetRedirectGroupByPayload<T extends RedirectGroupByArgs> = Prisma.PrismaPromise<
|
|
217
|
+
Array<
|
|
218
|
+
Prisma.PickEnumerable<RedirectGroupByOutputType, T['by']> &
|
|
219
|
+
{
|
|
220
|
+
[P in ((keyof T) & (keyof RedirectGroupByOutputType))]: P extends '_count'
|
|
221
|
+
? T[P] extends boolean
|
|
222
|
+
? number
|
|
223
|
+
: Prisma.GetScalarType<T[P], RedirectGroupByOutputType[P]>
|
|
224
|
+
: Prisma.GetScalarType<T[P], RedirectGroupByOutputType[P]>
|
|
225
|
+
}
|
|
226
|
+
>
|
|
227
|
+
>
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
export type RedirectWhereInput = {
|
|
232
|
+
AND?: Prisma.RedirectWhereInput | Prisma.RedirectWhereInput[]
|
|
233
|
+
OR?: Prisma.RedirectWhereInput[]
|
|
234
|
+
NOT?: Prisma.RedirectWhereInput | Prisma.RedirectWhereInput[]
|
|
235
|
+
id?: Prisma.StringFilter<"Redirect"> | string
|
|
236
|
+
source?: Prisma.StringFilter<"Redirect"> | string
|
|
237
|
+
destination?: Prisma.StringFilter<"Redirect"> | string
|
|
238
|
+
statusCode?: Prisma.IntFilter<"Redirect"> | number
|
|
239
|
+
isRegex?: Prisma.BoolFilter<"Redirect"> | boolean
|
|
240
|
+
notes?: Prisma.StringNullableFilter<"Redirect"> | string | null
|
|
241
|
+
createdAt?: Prisma.DateTimeFilter<"Redirect"> | Date | string
|
|
242
|
+
updatedAt?: Prisma.DateTimeFilter<"Redirect"> | Date | string
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export type RedirectOrderByWithRelationInput = {
|
|
246
|
+
id?: Prisma.SortOrder
|
|
247
|
+
source?: Prisma.SortOrder
|
|
248
|
+
destination?: Prisma.SortOrder
|
|
249
|
+
statusCode?: Prisma.SortOrder
|
|
250
|
+
isRegex?: Prisma.SortOrder
|
|
251
|
+
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
252
|
+
createdAt?: Prisma.SortOrder
|
|
253
|
+
updatedAt?: Prisma.SortOrder
|
|
254
|
+
_relevance?: Prisma.RedirectOrderByRelevanceInput
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export type RedirectWhereUniqueInput = Prisma.AtLeast<{
|
|
258
|
+
id?: string
|
|
259
|
+
source?: string
|
|
260
|
+
AND?: Prisma.RedirectWhereInput | Prisma.RedirectWhereInput[]
|
|
261
|
+
OR?: Prisma.RedirectWhereInput[]
|
|
262
|
+
NOT?: Prisma.RedirectWhereInput | Prisma.RedirectWhereInput[]
|
|
263
|
+
destination?: Prisma.StringFilter<"Redirect"> | string
|
|
264
|
+
statusCode?: Prisma.IntFilter<"Redirect"> | number
|
|
265
|
+
isRegex?: Prisma.BoolFilter<"Redirect"> | boolean
|
|
266
|
+
notes?: Prisma.StringNullableFilter<"Redirect"> | string | null
|
|
267
|
+
createdAt?: Prisma.DateTimeFilter<"Redirect"> | Date | string
|
|
268
|
+
updatedAt?: Prisma.DateTimeFilter<"Redirect"> | Date | string
|
|
269
|
+
}, "id" | "source">
|
|
270
|
+
|
|
271
|
+
export type RedirectOrderByWithAggregationInput = {
|
|
272
|
+
id?: Prisma.SortOrder
|
|
273
|
+
source?: Prisma.SortOrder
|
|
274
|
+
destination?: Prisma.SortOrder
|
|
275
|
+
statusCode?: Prisma.SortOrder
|
|
276
|
+
isRegex?: Prisma.SortOrder
|
|
277
|
+
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
278
|
+
createdAt?: Prisma.SortOrder
|
|
279
|
+
updatedAt?: Prisma.SortOrder
|
|
280
|
+
_count?: Prisma.RedirectCountOrderByAggregateInput
|
|
281
|
+
_avg?: Prisma.RedirectAvgOrderByAggregateInput
|
|
282
|
+
_max?: Prisma.RedirectMaxOrderByAggregateInput
|
|
283
|
+
_min?: Prisma.RedirectMinOrderByAggregateInput
|
|
284
|
+
_sum?: Prisma.RedirectSumOrderByAggregateInput
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export type RedirectScalarWhereWithAggregatesInput = {
|
|
288
|
+
AND?: Prisma.RedirectScalarWhereWithAggregatesInput | Prisma.RedirectScalarWhereWithAggregatesInput[]
|
|
289
|
+
OR?: Prisma.RedirectScalarWhereWithAggregatesInput[]
|
|
290
|
+
NOT?: Prisma.RedirectScalarWhereWithAggregatesInput | Prisma.RedirectScalarWhereWithAggregatesInput[]
|
|
291
|
+
id?: Prisma.StringWithAggregatesFilter<"Redirect"> | string
|
|
292
|
+
source?: Prisma.StringWithAggregatesFilter<"Redirect"> | string
|
|
293
|
+
destination?: Prisma.StringWithAggregatesFilter<"Redirect"> | string
|
|
294
|
+
statusCode?: Prisma.IntWithAggregatesFilter<"Redirect"> | number
|
|
295
|
+
isRegex?: Prisma.BoolWithAggregatesFilter<"Redirect"> | boolean
|
|
296
|
+
notes?: Prisma.StringNullableWithAggregatesFilter<"Redirect"> | string | null
|
|
297
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Redirect"> | Date | string
|
|
298
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Redirect"> | Date | string
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export type RedirectCreateInput = {
|
|
302
|
+
id?: string
|
|
303
|
+
source: string
|
|
304
|
+
destination: string
|
|
305
|
+
statusCode?: number
|
|
306
|
+
isRegex?: boolean
|
|
307
|
+
notes?: string | null
|
|
308
|
+
createdAt?: Date | string
|
|
309
|
+
updatedAt?: Date | string
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export type RedirectUncheckedCreateInput = {
|
|
313
|
+
id?: string
|
|
314
|
+
source: string
|
|
315
|
+
destination: string
|
|
316
|
+
statusCode?: number
|
|
317
|
+
isRegex?: boolean
|
|
318
|
+
notes?: string | null
|
|
319
|
+
createdAt?: Date | string
|
|
320
|
+
updatedAt?: Date | string
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export type RedirectUpdateInput = {
|
|
324
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
325
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string
|
|
326
|
+
destination?: Prisma.StringFieldUpdateOperationsInput | string
|
|
327
|
+
statusCode?: Prisma.IntFieldUpdateOperationsInput | number
|
|
328
|
+
isRegex?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
329
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
330
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
331
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export type RedirectUncheckedUpdateInput = {
|
|
335
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
336
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string
|
|
337
|
+
destination?: Prisma.StringFieldUpdateOperationsInput | string
|
|
338
|
+
statusCode?: Prisma.IntFieldUpdateOperationsInput | number
|
|
339
|
+
isRegex?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
340
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
341
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
342
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export type RedirectCreateManyInput = {
|
|
346
|
+
id?: string
|
|
347
|
+
source: string
|
|
348
|
+
destination: string
|
|
349
|
+
statusCode?: number
|
|
350
|
+
isRegex?: boolean
|
|
351
|
+
notes?: string | null
|
|
352
|
+
createdAt?: Date | string
|
|
353
|
+
updatedAt?: Date | string
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type RedirectUpdateManyMutationInput = {
|
|
357
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
358
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string
|
|
359
|
+
destination?: Prisma.StringFieldUpdateOperationsInput | string
|
|
360
|
+
statusCode?: Prisma.IntFieldUpdateOperationsInput | number
|
|
361
|
+
isRegex?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
362
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
363
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
364
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export type RedirectUncheckedUpdateManyInput = {
|
|
368
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
369
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string
|
|
370
|
+
destination?: Prisma.StringFieldUpdateOperationsInput | string
|
|
371
|
+
statusCode?: Prisma.IntFieldUpdateOperationsInput | number
|
|
372
|
+
isRegex?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
373
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
374
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
375
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export type RedirectOrderByRelevanceInput = {
|
|
379
|
+
fields: Prisma.RedirectOrderByRelevanceFieldEnum | Prisma.RedirectOrderByRelevanceFieldEnum[]
|
|
380
|
+
sort: Prisma.SortOrder
|
|
381
|
+
search: string
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export type RedirectCountOrderByAggregateInput = {
|
|
385
|
+
id?: Prisma.SortOrder
|
|
386
|
+
source?: Prisma.SortOrder
|
|
387
|
+
destination?: Prisma.SortOrder
|
|
388
|
+
statusCode?: Prisma.SortOrder
|
|
389
|
+
isRegex?: Prisma.SortOrder
|
|
390
|
+
notes?: Prisma.SortOrder
|
|
391
|
+
createdAt?: Prisma.SortOrder
|
|
392
|
+
updatedAt?: Prisma.SortOrder
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export type RedirectAvgOrderByAggregateInput = {
|
|
396
|
+
statusCode?: Prisma.SortOrder
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export type RedirectMaxOrderByAggregateInput = {
|
|
400
|
+
id?: Prisma.SortOrder
|
|
401
|
+
source?: Prisma.SortOrder
|
|
402
|
+
destination?: Prisma.SortOrder
|
|
403
|
+
statusCode?: Prisma.SortOrder
|
|
404
|
+
isRegex?: Prisma.SortOrder
|
|
405
|
+
notes?: Prisma.SortOrder
|
|
406
|
+
createdAt?: Prisma.SortOrder
|
|
407
|
+
updatedAt?: Prisma.SortOrder
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type RedirectMinOrderByAggregateInput = {
|
|
411
|
+
id?: Prisma.SortOrder
|
|
412
|
+
source?: Prisma.SortOrder
|
|
413
|
+
destination?: Prisma.SortOrder
|
|
414
|
+
statusCode?: Prisma.SortOrder
|
|
415
|
+
isRegex?: Prisma.SortOrder
|
|
416
|
+
notes?: Prisma.SortOrder
|
|
417
|
+
createdAt?: Prisma.SortOrder
|
|
418
|
+
updatedAt?: Prisma.SortOrder
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export type RedirectSumOrderByAggregateInput = {
|
|
422
|
+
statusCode?: Prisma.SortOrder
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
export type RedirectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
428
|
+
id?: boolean
|
|
429
|
+
source?: boolean
|
|
430
|
+
destination?: boolean
|
|
431
|
+
statusCode?: boolean
|
|
432
|
+
isRegex?: boolean
|
|
433
|
+
notes?: boolean
|
|
434
|
+
createdAt?: boolean
|
|
435
|
+
updatedAt?: boolean
|
|
436
|
+
}, ExtArgs["result"]["redirect"]>
|
|
437
|
+
|
|
438
|
+
export type RedirectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
439
|
+
id?: boolean
|
|
440
|
+
source?: boolean
|
|
441
|
+
destination?: boolean
|
|
442
|
+
statusCode?: boolean
|
|
443
|
+
isRegex?: boolean
|
|
444
|
+
notes?: boolean
|
|
445
|
+
createdAt?: boolean
|
|
446
|
+
updatedAt?: boolean
|
|
447
|
+
}, ExtArgs["result"]["redirect"]>
|
|
448
|
+
|
|
449
|
+
export type RedirectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
450
|
+
id?: boolean
|
|
451
|
+
source?: boolean
|
|
452
|
+
destination?: boolean
|
|
453
|
+
statusCode?: boolean
|
|
454
|
+
isRegex?: boolean
|
|
455
|
+
notes?: boolean
|
|
456
|
+
createdAt?: boolean
|
|
457
|
+
updatedAt?: boolean
|
|
458
|
+
}, ExtArgs["result"]["redirect"]>
|
|
459
|
+
|
|
460
|
+
export type RedirectSelectScalar = {
|
|
461
|
+
id?: boolean
|
|
462
|
+
source?: boolean
|
|
463
|
+
destination?: boolean
|
|
464
|
+
statusCode?: boolean
|
|
465
|
+
isRegex?: boolean
|
|
466
|
+
notes?: boolean
|
|
467
|
+
createdAt?: boolean
|
|
468
|
+
updatedAt?: boolean
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type RedirectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "source" | "destination" | "statusCode" | "isRegex" | "notes" | "createdAt" | "updatedAt", ExtArgs["result"]["redirect"]>
|
|
472
|
+
|
|
473
|
+
export type $RedirectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
474
|
+
name: "Redirect"
|
|
475
|
+
objects: {}
|
|
476
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
477
|
+
id: string
|
|
478
|
+
source: string
|
|
479
|
+
destination: string
|
|
480
|
+
statusCode: number
|
|
481
|
+
isRegex: boolean
|
|
482
|
+
notes: string | null
|
|
483
|
+
createdAt: Date
|
|
484
|
+
updatedAt: Date
|
|
485
|
+
}, ExtArgs["result"]["redirect"]>
|
|
486
|
+
composites: {}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export type RedirectGetPayload<S extends boolean | null | undefined | RedirectDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RedirectPayload, S>
|
|
490
|
+
|
|
491
|
+
export type RedirectCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
492
|
+
Omit<RedirectFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
493
|
+
select?: RedirectCountAggregateInputType | true
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export interface RedirectDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
497
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Redirect'], meta: { name: 'Redirect' } }
|
|
498
|
+
/**
|
|
499
|
+
* Find zero or one Redirect that matches the filter.
|
|
500
|
+
* @param {RedirectFindUniqueArgs} args - Arguments to find a Redirect
|
|
501
|
+
* @example
|
|
502
|
+
* // Get one Redirect
|
|
503
|
+
* const redirect = await prisma.redirect.findUnique({
|
|
504
|
+
* where: {
|
|
505
|
+
* // ... provide filter here
|
|
506
|
+
* }
|
|
507
|
+
* })
|
|
508
|
+
*/
|
|
509
|
+
findUnique<T extends RedirectFindUniqueArgs>(args: Prisma.SelectSubset<T, RedirectFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Find one Redirect that matches the filter or throw an error with `error.code='P2025'`
|
|
513
|
+
* if no matches were found.
|
|
514
|
+
* @param {RedirectFindUniqueOrThrowArgs} args - Arguments to find a Redirect
|
|
515
|
+
* @example
|
|
516
|
+
* // Get one Redirect
|
|
517
|
+
* const redirect = await prisma.redirect.findUniqueOrThrow({
|
|
518
|
+
* where: {
|
|
519
|
+
* // ... provide filter here
|
|
520
|
+
* }
|
|
521
|
+
* })
|
|
522
|
+
*/
|
|
523
|
+
findUniqueOrThrow<T extends RedirectFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RedirectFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Find the first Redirect that matches the filter.
|
|
527
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
528
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
529
|
+
* @param {RedirectFindFirstArgs} args - Arguments to find a Redirect
|
|
530
|
+
* @example
|
|
531
|
+
* // Get one Redirect
|
|
532
|
+
* const redirect = await prisma.redirect.findFirst({
|
|
533
|
+
* where: {
|
|
534
|
+
* // ... provide filter here
|
|
535
|
+
* }
|
|
536
|
+
* })
|
|
537
|
+
*/
|
|
538
|
+
findFirst<T extends RedirectFindFirstArgs>(args?: Prisma.SelectSubset<T, RedirectFindFirstArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Find the first Redirect that matches the filter or
|
|
542
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
543
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
544
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
545
|
+
* @param {RedirectFindFirstOrThrowArgs} args - Arguments to find a Redirect
|
|
546
|
+
* @example
|
|
547
|
+
* // Get one Redirect
|
|
548
|
+
* const redirect = await prisma.redirect.findFirstOrThrow({
|
|
549
|
+
* where: {
|
|
550
|
+
* // ... provide filter here
|
|
551
|
+
* }
|
|
552
|
+
* })
|
|
553
|
+
*/
|
|
554
|
+
findFirstOrThrow<T extends RedirectFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RedirectFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* Find zero or more Redirects that matches the filter.
|
|
558
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
559
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
560
|
+
* @param {RedirectFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
561
|
+
* @example
|
|
562
|
+
* // Get all Redirects
|
|
563
|
+
* const redirects = await prisma.redirect.findMany()
|
|
564
|
+
*
|
|
565
|
+
* // Get first 10 Redirects
|
|
566
|
+
* const redirects = await prisma.redirect.findMany({ take: 10 })
|
|
567
|
+
*
|
|
568
|
+
* // Only select the `id`
|
|
569
|
+
* const redirectWithIdOnly = await prisma.redirect.findMany({ select: { id: true } })
|
|
570
|
+
*
|
|
571
|
+
*/
|
|
572
|
+
findMany<T extends RedirectFindManyArgs>(args?: Prisma.SelectSubset<T, RedirectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Create a Redirect.
|
|
576
|
+
* @param {RedirectCreateArgs} args - Arguments to create a Redirect.
|
|
577
|
+
* @example
|
|
578
|
+
* // Create one Redirect
|
|
579
|
+
* const Redirect = await prisma.redirect.create({
|
|
580
|
+
* data: {
|
|
581
|
+
* // ... data to create a Redirect
|
|
582
|
+
* }
|
|
583
|
+
* })
|
|
584
|
+
*
|
|
585
|
+
*/
|
|
586
|
+
create<T extends RedirectCreateArgs>(args: Prisma.SelectSubset<T, RedirectCreateArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Create many Redirects.
|
|
590
|
+
* @param {RedirectCreateManyArgs} args - Arguments to create many Redirects.
|
|
591
|
+
* @example
|
|
592
|
+
* // Create many Redirects
|
|
593
|
+
* const redirect = await prisma.redirect.createMany({
|
|
594
|
+
* data: [
|
|
595
|
+
* // ... provide data here
|
|
596
|
+
* ]
|
|
597
|
+
* })
|
|
598
|
+
*
|
|
599
|
+
*/
|
|
600
|
+
createMany<T extends RedirectCreateManyArgs>(args?: Prisma.SelectSubset<T, RedirectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Create many Redirects and returns the data saved in the database.
|
|
604
|
+
* @param {RedirectCreateManyAndReturnArgs} args - Arguments to create many Redirects.
|
|
605
|
+
* @example
|
|
606
|
+
* // Create many Redirects
|
|
607
|
+
* const redirect = await prisma.redirect.createManyAndReturn({
|
|
608
|
+
* data: [
|
|
609
|
+
* // ... provide data here
|
|
610
|
+
* ]
|
|
611
|
+
* })
|
|
612
|
+
*
|
|
613
|
+
* // Create many Redirects and only return the `id`
|
|
614
|
+
* const redirectWithIdOnly = await prisma.redirect.createManyAndReturn({
|
|
615
|
+
* select: { id: true },
|
|
616
|
+
* data: [
|
|
617
|
+
* // ... provide data here
|
|
618
|
+
* ]
|
|
619
|
+
* })
|
|
620
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
621
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
622
|
+
*
|
|
623
|
+
*/
|
|
624
|
+
createManyAndReturn<T extends RedirectCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RedirectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Delete a Redirect.
|
|
628
|
+
* @param {RedirectDeleteArgs} args - Arguments to delete one Redirect.
|
|
629
|
+
* @example
|
|
630
|
+
* // Delete one Redirect
|
|
631
|
+
* const Redirect = await prisma.redirect.delete({
|
|
632
|
+
* where: {
|
|
633
|
+
* // ... filter to delete one Redirect
|
|
634
|
+
* }
|
|
635
|
+
* })
|
|
636
|
+
*
|
|
637
|
+
*/
|
|
638
|
+
delete<T extends RedirectDeleteArgs>(args: Prisma.SelectSubset<T, RedirectDeleteArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Update one Redirect.
|
|
642
|
+
* @param {RedirectUpdateArgs} args - Arguments to update one Redirect.
|
|
643
|
+
* @example
|
|
644
|
+
* // Update one Redirect
|
|
645
|
+
* const redirect = await prisma.redirect.update({
|
|
646
|
+
* where: {
|
|
647
|
+
* // ... provide filter here
|
|
648
|
+
* },
|
|
649
|
+
* data: {
|
|
650
|
+
* // ... provide data here
|
|
651
|
+
* }
|
|
652
|
+
* })
|
|
653
|
+
*
|
|
654
|
+
*/
|
|
655
|
+
update<T extends RedirectUpdateArgs>(args: Prisma.SelectSubset<T, RedirectUpdateArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Delete zero or more Redirects.
|
|
659
|
+
* @param {RedirectDeleteManyArgs} args - Arguments to filter Redirects to delete.
|
|
660
|
+
* @example
|
|
661
|
+
* // Delete a few Redirects
|
|
662
|
+
* const { count } = await prisma.redirect.deleteMany({
|
|
663
|
+
* where: {
|
|
664
|
+
* // ... provide filter here
|
|
665
|
+
* }
|
|
666
|
+
* })
|
|
667
|
+
*
|
|
668
|
+
*/
|
|
669
|
+
deleteMany<T extends RedirectDeleteManyArgs>(args?: Prisma.SelectSubset<T, RedirectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Update zero or more Redirects.
|
|
673
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
674
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
675
|
+
* @param {RedirectUpdateManyArgs} args - Arguments to update one or more rows.
|
|
676
|
+
* @example
|
|
677
|
+
* // Update many Redirects
|
|
678
|
+
* const redirect = await prisma.redirect.updateMany({
|
|
679
|
+
* where: {
|
|
680
|
+
* // ... provide filter here
|
|
681
|
+
* },
|
|
682
|
+
* data: {
|
|
683
|
+
* // ... provide data here
|
|
684
|
+
* }
|
|
685
|
+
* })
|
|
686
|
+
*
|
|
687
|
+
*/
|
|
688
|
+
updateMany<T extends RedirectUpdateManyArgs>(args: Prisma.SelectSubset<T, RedirectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Update zero or more Redirects and returns the data updated in the database.
|
|
692
|
+
* @param {RedirectUpdateManyAndReturnArgs} args - Arguments to update many Redirects.
|
|
693
|
+
* @example
|
|
694
|
+
* // Update many Redirects
|
|
695
|
+
* const redirect = await prisma.redirect.updateManyAndReturn({
|
|
696
|
+
* where: {
|
|
697
|
+
* // ... provide filter here
|
|
698
|
+
* },
|
|
699
|
+
* data: [
|
|
700
|
+
* // ... provide data here
|
|
701
|
+
* ]
|
|
702
|
+
* })
|
|
703
|
+
*
|
|
704
|
+
* // Update zero or more Redirects and only return the `id`
|
|
705
|
+
* const redirectWithIdOnly = await prisma.redirect.updateManyAndReturn({
|
|
706
|
+
* select: { id: true },
|
|
707
|
+
* where: {
|
|
708
|
+
* // ... provide filter here
|
|
709
|
+
* },
|
|
710
|
+
* data: [
|
|
711
|
+
* // ... provide data here
|
|
712
|
+
* ]
|
|
713
|
+
* })
|
|
714
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
715
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
716
|
+
*
|
|
717
|
+
*/
|
|
718
|
+
updateManyAndReturn<T extends RedirectUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RedirectUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Create or update one Redirect.
|
|
722
|
+
* @param {RedirectUpsertArgs} args - Arguments to update or create a Redirect.
|
|
723
|
+
* @example
|
|
724
|
+
* // Update or create a Redirect
|
|
725
|
+
* const redirect = await prisma.redirect.upsert({
|
|
726
|
+
* create: {
|
|
727
|
+
* // ... data to create a Redirect
|
|
728
|
+
* },
|
|
729
|
+
* update: {
|
|
730
|
+
* // ... in case it already exists, update
|
|
731
|
+
* },
|
|
732
|
+
* where: {
|
|
733
|
+
* // ... the filter for the Redirect we want to update
|
|
734
|
+
* }
|
|
735
|
+
* })
|
|
736
|
+
*/
|
|
737
|
+
upsert<T extends RedirectUpsertArgs>(args: Prisma.SelectSubset<T, RedirectUpsertArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Count the number of Redirects.
|
|
742
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
743
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
744
|
+
* @param {RedirectCountArgs} args - Arguments to filter Redirects to count.
|
|
745
|
+
* @example
|
|
746
|
+
* // Count the number of Redirects
|
|
747
|
+
* const count = await prisma.redirect.count({
|
|
748
|
+
* where: {
|
|
749
|
+
* // ... the filter for the Redirects we want to count
|
|
750
|
+
* }
|
|
751
|
+
* })
|
|
752
|
+
**/
|
|
753
|
+
count<T extends RedirectCountArgs>(
|
|
754
|
+
args?: Prisma.Subset<T, RedirectCountArgs>,
|
|
755
|
+
): Prisma.PrismaPromise<
|
|
756
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
757
|
+
? T['select'] extends true
|
|
758
|
+
? number
|
|
759
|
+
: Prisma.GetScalarType<T['select'], RedirectCountAggregateOutputType>
|
|
760
|
+
: number
|
|
761
|
+
>
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Allows you to perform aggregations operations on a Redirect.
|
|
765
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
766
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
767
|
+
* @param {RedirectAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
768
|
+
* @example
|
|
769
|
+
* // Ordered by age ascending
|
|
770
|
+
* // Where email contains prisma.io
|
|
771
|
+
* // Limited to the 10 users
|
|
772
|
+
* const aggregations = await prisma.user.aggregate({
|
|
773
|
+
* _avg: {
|
|
774
|
+
* age: true,
|
|
775
|
+
* },
|
|
776
|
+
* where: {
|
|
777
|
+
* email: {
|
|
778
|
+
* contains: "prisma.io",
|
|
779
|
+
* },
|
|
780
|
+
* },
|
|
781
|
+
* orderBy: {
|
|
782
|
+
* age: "asc",
|
|
783
|
+
* },
|
|
784
|
+
* take: 10,
|
|
785
|
+
* })
|
|
786
|
+
**/
|
|
787
|
+
aggregate<T extends RedirectAggregateArgs>(args: Prisma.Subset<T, RedirectAggregateArgs>): Prisma.PrismaPromise<GetRedirectAggregateType<T>>
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Group by Redirect.
|
|
791
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
792
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
793
|
+
* @param {RedirectGroupByArgs} args - Group by arguments.
|
|
794
|
+
* @example
|
|
795
|
+
* // Group by city, order by createdAt, get count
|
|
796
|
+
* const result = await prisma.user.groupBy({
|
|
797
|
+
* by: ['city', 'createdAt'],
|
|
798
|
+
* orderBy: {
|
|
799
|
+
* createdAt: true
|
|
800
|
+
* },
|
|
801
|
+
* _count: {
|
|
802
|
+
* _all: true
|
|
803
|
+
* },
|
|
804
|
+
* })
|
|
805
|
+
*
|
|
806
|
+
**/
|
|
807
|
+
groupBy<
|
|
808
|
+
T extends RedirectGroupByArgs,
|
|
809
|
+
HasSelectOrTake extends Prisma.Or<
|
|
810
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
811
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
812
|
+
>,
|
|
813
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
814
|
+
? { orderBy: RedirectGroupByArgs['orderBy'] }
|
|
815
|
+
: { orderBy?: RedirectGroupByArgs['orderBy'] },
|
|
816
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
817
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
818
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
819
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
820
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
821
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
822
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
823
|
+
? `Error: "by" must not be empty.`
|
|
824
|
+
: HavingValid extends Prisma.False
|
|
825
|
+
? {
|
|
826
|
+
[P in HavingFields]: P extends ByFields
|
|
827
|
+
? never
|
|
828
|
+
: P extends string
|
|
829
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
830
|
+
: [
|
|
831
|
+
Error,
|
|
832
|
+
'Field ',
|
|
833
|
+
P,
|
|
834
|
+
` in "having" needs to be provided in "by"`,
|
|
835
|
+
]
|
|
836
|
+
}[HavingFields]
|
|
837
|
+
: 'take' extends Prisma.Keys<T>
|
|
838
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
839
|
+
? ByValid extends Prisma.True
|
|
840
|
+
? {}
|
|
841
|
+
: {
|
|
842
|
+
[P in OrderFields]: P extends ByFields
|
|
843
|
+
? never
|
|
844
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
845
|
+
}[OrderFields]
|
|
846
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
847
|
+
: 'skip' extends Prisma.Keys<T>
|
|
848
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
849
|
+
? ByValid extends Prisma.True
|
|
850
|
+
? {}
|
|
851
|
+
: {
|
|
852
|
+
[P in OrderFields]: P extends ByFields
|
|
853
|
+
? never
|
|
854
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
855
|
+
}[OrderFields]
|
|
856
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
857
|
+
: ByValid extends Prisma.True
|
|
858
|
+
? {}
|
|
859
|
+
: {
|
|
860
|
+
[P in OrderFields]: P extends ByFields
|
|
861
|
+
? never
|
|
862
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
863
|
+
}[OrderFields]
|
|
864
|
+
>(args: Prisma.SubsetIntersection<T, RedirectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRedirectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
865
|
+
/**
|
|
866
|
+
* Fields of the Redirect model
|
|
867
|
+
*/
|
|
868
|
+
readonly fields: RedirectFieldRefs;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* The delegate class that acts as a "Promise-like" for Redirect.
|
|
873
|
+
* Why is this prefixed with `Prisma__`?
|
|
874
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
875
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
876
|
+
*/
|
|
877
|
+
export interface Prisma__RedirectClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
878
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
879
|
+
/**
|
|
880
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
881
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
882
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
883
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
884
|
+
*/
|
|
885
|
+
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>
|
|
886
|
+
/**
|
|
887
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
888
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
889
|
+
* @returns A Promise for the completion of the callback.
|
|
890
|
+
*/
|
|
891
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
892
|
+
/**
|
|
893
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
894
|
+
* resolved value cannot be modified from the callback.
|
|
895
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
896
|
+
* @returns A Promise for the completion of the callback.
|
|
897
|
+
*/
|
|
898
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* Fields of the Redirect model
|
|
906
|
+
*/
|
|
907
|
+
export interface RedirectFieldRefs {
|
|
908
|
+
readonly id: Prisma.FieldRef<"Redirect", 'String'>
|
|
909
|
+
readonly source: Prisma.FieldRef<"Redirect", 'String'>
|
|
910
|
+
readonly destination: Prisma.FieldRef<"Redirect", 'String'>
|
|
911
|
+
readonly statusCode: Prisma.FieldRef<"Redirect", 'Int'>
|
|
912
|
+
readonly isRegex: Prisma.FieldRef<"Redirect", 'Boolean'>
|
|
913
|
+
readonly notes: Prisma.FieldRef<"Redirect", 'String'>
|
|
914
|
+
readonly createdAt: Prisma.FieldRef<"Redirect", 'DateTime'>
|
|
915
|
+
readonly updatedAt: Prisma.FieldRef<"Redirect", 'DateTime'>
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
// Custom InputTypes
|
|
920
|
+
/**
|
|
921
|
+
* Redirect findUnique
|
|
922
|
+
*/
|
|
923
|
+
export type RedirectFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
924
|
+
/**
|
|
925
|
+
* Select specific fields to fetch from the Redirect
|
|
926
|
+
*/
|
|
927
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
928
|
+
/**
|
|
929
|
+
* Omit specific fields from the Redirect
|
|
930
|
+
*/
|
|
931
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
932
|
+
/**
|
|
933
|
+
* Filter, which Redirect to fetch.
|
|
934
|
+
*/
|
|
935
|
+
where: Prisma.RedirectWhereUniqueInput
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Redirect findUniqueOrThrow
|
|
940
|
+
*/
|
|
941
|
+
export type RedirectFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
942
|
+
/**
|
|
943
|
+
* Select specific fields to fetch from the Redirect
|
|
944
|
+
*/
|
|
945
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
946
|
+
/**
|
|
947
|
+
* Omit specific fields from the Redirect
|
|
948
|
+
*/
|
|
949
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
950
|
+
/**
|
|
951
|
+
* Filter, which Redirect to fetch.
|
|
952
|
+
*/
|
|
953
|
+
where: Prisma.RedirectWhereUniqueInput
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Redirect findFirst
|
|
958
|
+
*/
|
|
959
|
+
export type RedirectFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
960
|
+
/**
|
|
961
|
+
* Select specific fields to fetch from the Redirect
|
|
962
|
+
*/
|
|
963
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
964
|
+
/**
|
|
965
|
+
* Omit specific fields from the Redirect
|
|
966
|
+
*/
|
|
967
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
968
|
+
/**
|
|
969
|
+
* Filter, which Redirect to fetch.
|
|
970
|
+
*/
|
|
971
|
+
where?: Prisma.RedirectWhereInput
|
|
972
|
+
/**
|
|
973
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
974
|
+
*
|
|
975
|
+
* Determine the order of Redirects to fetch.
|
|
976
|
+
*/
|
|
977
|
+
orderBy?: Prisma.RedirectOrderByWithRelationInput | Prisma.RedirectOrderByWithRelationInput[]
|
|
978
|
+
/**
|
|
979
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
980
|
+
*
|
|
981
|
+
* Sets the position for searching for Redirects.
|
|
982
|
+
*/
|
|
983
|
+
cursor?: Prisma.RedirectWhereUniqueInput
|
|
984
|
+
/**
|
|
985
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
986
|
+
*
|
|
987
|
+
* Take `±n` Redirects from the position of the cursor.
|
|
988
|
+
*/
|
|
989
|
+
take?: number
|
|
990
|
+
/**
|
|
991
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
992
|
+
*
|
|
993
|
+
* Skip the first `n` Redirects.
|
|
994
|
+
*/
|
|
995
|
+
skip?: number
|
|
996
|
+
/**
|
|
997
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
998
|
+
*
|
|
999
|
+
* Filter by unique combinations of Redirects.
|
|
1000
|
+
*/
|
|
1001
|
+
distinct?: Prisma.RedirectScalarFieldEnum | Prisma.RedirectScalarFieldEnum[]
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Redirect findFirstOrThrow
|
|
1006
|
+
*/
|
|
1007
|
+
export type RedirectFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1008
|
+
/**
|
|
1009
|
+
* Select specific fields to fetch from the Redirect
|
|
1010
|
+
*/
|
|
1011
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
1012
|
+
/**
|
|
1013
|
+
* Omit specific fields from the Redirect
|
|
1014
|
+
*/
|
|
1015
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
1016
|
+
/**
|
|
1017
|
+
* Filter, which Redirect to fetch.
|
|
1018
|
+
*/
|
|
1019
|
+
where?: Prisma.RedirectWhereInput
|
|
1020
|
+
/**
|
|
1021
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1022
|
+
*
|
|
1023
|
+
* Determine the order of Redirects to fetch.
|
|
1024
|
+
*/
|
|
1025
|
+
orderBy?: Prisma.RedirectOrderByWithRelationInput | Prisma.RedirectOrderByWithRelationInput[]
|
|
1026
|
+
/**
|
|
1027
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1028
|
+
*
|
|
1029
|
+
* Sets the position for searching for Redirects.
|
|
1030
|
+
*/
|
|
1031
|
+
cursor?: Prisma.RedirectWhereUniqueInput
|
|
1032
|
+
/**
|
|
1033
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1034
|
+
*
|
|
1035
|
+
* Take `±n` Redirects from the position of the cursor.
|
|
1036
|
+
*/
|
|
1037
|
+
take?: number
|
|
1038
|
+
/**
|
|
1039
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1040
|
+
*
|
|
1041
|
+
* Skip the first `n` Redirects.
|
|
1042
|
+
*/
|
|
1043
|
+
skip?: number
|
|
1044
|
+
/**
|
|
1045
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1046
|
+
*
|
|
1047
|
+
* Filter by unique combinations of Redirects.
|
|
1048
|
+
*/
|
|
1049
|
+
distinct?: Prisma.RedirectScalarFieldEnum | Prisma.RedirectScalarFieldEnum[]
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Redirect findMany
|
|
1054
|
+
*/
|
|
1055
|
+
export type RedirectFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1056
|
+
/**
|
|
1057
|
+
* Select specific fields to fetch from the Redirect
|
|
1058
|
+
*/
|
|
1059
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
1060
|
+
/**
|
|
1061
|
+
* Omit specific fields from the Redirect
|
|
1062
|
+
*/
|
|
1063
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
1064
|
+
/**
|
|
1065
|
+
* Filter, which Redirects to fetch.
|
|
1066
|
+
*/
|
|
1067
|
+
where?: Prisma.RedirectWhereInput
|
|
1068
|
+
/**
|
|
1069
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1070
|
+
*
|
|
1071
|
+
* Determine the order of Redirects to fetch.
|
|
1072
|
+
*/
|
|
1073
|
+
orderBy?: Prisma.RedirectOrderByWithRelationInput | Prisma.RedirectOrderByWithRelationInput[]
|
|
1074
|
+
/**
|
|
1075
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1076
|
+
*
|
|
1077
|
+
* Sets the position for listing Redirects.
|
|
1078
|
+
*/
|
|
1079
|
+
cursor?: Prisma.RedirectWhereUniqueInput
|
|
1080
|
+
/**
|
|
1081
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1082
|
+
*
|
|
1083
|
+
* Take `±n` Redirects from the position of the cursor.
|
|
1084
|
+
*/
|
|
1085
|
+
take?: number
|
|
1086
|
+
/**
|
|
1087
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1088
|
+
*
|
|
1089
|
+
* Skip the first `n` Redirects.
|
|
1090
|
+
*/
|
|
1091
|
+
skip?: number
|
|
1092
|
+
/**
|
|
1093
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1094
|
+
*
|
|
1095
|
+
* Filter by unique combinations of Redirects.
|
|
1096
|
+
*/
|
|
1097
|
+
distinct?: Prisma.RedirectScalarFieldEnum | Prisma.RedirectScalarFieldEnum[]
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Redirect create
|
|
1102
|
+
*/
|
|
1103
|
+
export type RedirectCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1104
|
+
/**
|
|
1105
|
+
* Select specific fields to fetch from the Redirect
|
|
1106
|
+
*/
|
|
1107
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
1108
|
+
/**
|
|
1109
|
+
* Omit specific fields from the Redirect
|
|
1110
|
+
*/
|
|
1111
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
1112
|
+
/**
|
|
1113
|
+
* The data needed to create a Redirect.
|
|
1114
|
+
*/
|
|
1115
|
+
data: Prisma.XOR<Prisma.RedirectCreateInput, Prisma.RedirectUncheckedCreateInput>
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Redirect createMany
|
|
1120
|
+
*/
|
|
1121
|
+
export type RedirectCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1122
|
+
/**
|
|
1123
|
+
* The data used to create many Redirects.
|
|
1124
|
+
*/
|
|
1125
|
+
data: Prisma.RedirectCreateManyInput | Prisma.RedirectCreateManyInput[]
|
|
1126
|
+
skipDuplicates?: boolean
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
* Redirect createManyAndReturn
|
|
1131
|
+
*/
|
|
1132
|
+
export type RedirectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1133
|
+
/**
|
|
1134
|
+
* Select specific fields to fetch from the Redirect
|
|
1135
|
+
*/
|
|
1136
|
+
select?: Prisma.RedirectSelectCreateManyAndReturn<ExtArgs> | null
|
|
1137
|
+
/**
|
|
1138
|
+
* Omit specific fields from the Redirect
|
|
1139
|
+
*/
|
|
1140
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
1141
|
+
/**
|
|
1142
|
+
* The data used to create many Redirects.
|
|
1143
|
+
*/
|
|
1144
|
+
data: Prisma.RedirectCreateManyInput | Prisma.RedirectCreateManyInput[]
|
|
1145
|
+
skipDuplicates?: boolean
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* Redirect update
|
|
1150
|
+
*/
|
|
1151
|
+
export type RedirectUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1152
|
+
/**
|
|
1153
|
+
* Select specific fields to fetch from the Redirect
|
|
1154
|
+
*/
|
|
1155
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
1156
|
+
/**
|
|
1157
|
+
* Omit specific fields from the Redirect
|
|
1158
|
+
*/
|
|
1159
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
1160
|
+
/**
|
|
1161
|
+
* The data needed to update a Redirect.
|
|
1162
|
+
*/
|
|
1163
|
+
data: Prisma.XOR<Prisma.RedirectUpdateInput, Prisma.RedirectUncheckedUpdateInput>
|
|
1164
|
+
/**
|
|
1165
|
+
* Choose, which Redirect to update.
|
|
1166
|
+
*/
|
|
1167
|
+
where: Prisma.RedirectWhereUniqueInput
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* Redirect updateMany
|
|
1172
|
+
*/
|
|
1173
|
+
export type RedirectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1174
|
+
/**
|
|
1175
|
+
* The data used to update Redirects.
|
|
1176
|
+
*/
|
|
1177
|
+
data: Prisma.XOR<Prisma.RedirectUpdateManyMutationInput, Prisma.RedirectUncheckedUpdateManyInput>
|
|
1178
|
+
/**
|
|
1179
|
+
* Filter which Redirects to update
|
|
1180
|
+
*/
|
|
1181
|
+
where?: Prisma.RedirectWhereInput
|
|
1182
|
+
/**
|
|
1183
|
+
* Limit how many Redirects to update.
|
|
1184
|
+
*/
|
|
1185
|
+
limit?: number
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Redirect updateManyAndReturn
|
|
1190
|
+
*/
|
|
1191
|
+
export type RedirectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1192
|
+
/**
|
|
1193
|
+
* Select specific fields to fetch from the Redirect
|
|
1194
|
+
*/
|
|
1195
|
+
select?: Prisma.RedirectSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1196
|
+
/**
|
|
1197
|
+
* Omit specific fields from the Redirect
|
|
1198
|
+
*/
|
|
1199
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
1200
|
+
/**
|
|
1201
|
+
* The data used to update Redirects.
|
|
1202
|
+
*/
|
|
1203
|
+
data: Prisma.XOR<Prisma.RedirectUpdateManyMutationInput, Prisma.RedirectUncheckedUpdateManyInput>
|
|
1204
|
+
/**
|
|
1205
|
+
* Filter which Redirects to update
|
|
1206
|
+
*/
|
|
1207
|
+
where?: Prisma.RedirectWhereInput
|
|
1208
|
+
/**
|
|
1209
|
+
* Limit how many Redirects to update.
|
|
1210
|
+
*/
|
|
1211
|
+
limit?: number
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* Redirect upsert
|
|
1216
|
+
*/
|
|
1217
|
+
export type RedirectUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1218
|
+
/**
|
|
1219
|
+
* Select specific fields to fetch from the Redirect
|
|
1220
|
+
*/
|
|
1221
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
1222
|
+
/**
|
|
1223
|
+
* Omit specific fields from the Redirect
|
|
1224
|
+
*/
|
|
1225
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
1226
|
+
/**
|
|
1227
|
+
* The filter to search for the Redirect to update in case it exists.
|
|
1228
|
+
*/
|
|
1229
|
+
where: Prisma.RedirectWhereUniqueInput
|
|
1230
|
+
/**
|
|
1231
|
+
* In case the Redirect found by the `where` argument doesn't exist, create a new Redirect with this data.
|
|
1232
|
+
*/
|
|
1233
|
+
create: Prisma.XOR<Prisma.RedirectCreateInput, Prisma.RedirectUncheckedCreateInput>
|
|
1234
|
+
/**
|
|
1235
|
+
* In case the Redirect was found with the provided `where` argument, update it with this data.
|
|
1236
|
+
*/
|
|
1237
|
+
update: Prisma.XOR<Prisma.RedirectUpdateInput, Prisma.RedirectUncheckedUpdateInput>
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* Redirect delete
|
|
1242
|
+
*/
|
|
1243
|
+
export type RedirectDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1244
|
+
/**
|
|
1245
|
+
* Select specific fields to fetch from the Redirect
|
|
1246
|
+
*/
|
|
1247
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
1248
|
+
/**
|
|
1249
|
+
* Omit specific fields from the Redirect
|
|
1250
|
+
*/
|
|
1251
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
1252
|
+
/**
|
|
1253
|
+
* Filter which Redirect to delete.
|
|
1254
|
+
*/
|
|
1255
|
+
where: Prisma.RedirectWhereUniqueInput
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* Redirect deleteMany
|
|
1260
|
+
*/
|
|
1261
|
+
export type RedirectDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1262
|
+
/**
|
|
1263
|
+
* Filter which Redirects to delete
|
|
1264
|
+
*/
|
|
1265
|
+
where?: Prisma.RedirectWhereInput
|
|
1266
|
+
/**
|
|
1267
|
+
* Limit how many Redirects to delete.
|
|
1268
|
+
*/
|
|
1269
|
+
limit?: number
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* Redirect without action
|
|
1274
|
+
*/
|
|
1275
|
+
export type RedirectDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1276
|
+
/**
|
|
1277
|
+
* Select specific fields to fetch from the Redirect
|
|
1278
|
+
*/
|
|
1279
|
+
select?: Prisma.RedirectSelect<ExtArgs> | null
|
|
1280
|
+
/**
|
|
1281
|
+
* Omit specific fields from the Redirect
|
|
1282
|
+
*/
|
|
1283
|
+
omit?: Prisma.RedirectOmit<ExtArgs> | null
|
|
1284
|
+
}
|