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