Download frontend/src/generated/prisma/index-browser.js from new-arc/vector: direct link, hf CLI and curl.
- Browser
- Download file 15.1 kB
-
https://huggingface.co/spaces/new-arc/vector/resolve/main/frontend/src/generated/prisma/index-browser.js
- Command line
-
hf download hf://spaces/new-arc/vector/frontend/src/generated/prisma/index-browser.js
-
curl -L -o index-browser.js https://huggingface.co/spaces/new-arc/vector/resolve/main/frontend/src/generated/prisma/index-browser.js
15.1 kB
| /* !!! This is code generated by Prisma. Do not edit directly. !!! | |
| /* eslint-disable */ | |
| // biome-ignore-all lint: generated file | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| const { | |
| Decimal, | |
| objectEnumValues, | |
| makeStrictEnum, | |
| Public, | |
| getRuntime, | |
| skip | |
| } = require('./runtime/index-browser.js') | |
| const Prisma = {} | |
| exports.Prisma = Prisma | |
| exports.$Enums = {} | |
| /** | |
| * Prisma Client JS version: 6.19.3 | |
| * Query Engine version: c2990dca591cba766e3b7ef5d9e8a84796e47ab7 | |
| */ | |
| Prisma.prismaVersion = { | |
| client: "6.19.3", | |
| engine: "c2990dca591cba766e3b7ef5d9e8a84796e47ab7" | |
| } | |
| Prisma.PrismaClientKnownRequestError = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )}; | |
| Prisma.PrismaClientUnknownRequestError = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| Prisma.PrismaClientRustPanicError = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| Prisma.PrismaClientInitializationError = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| Prisma.PrismaClientValidationError = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| Prisma.Decimal = Decimal | |
| /** | |
| * Re-export of sql-template-tag | |
| */ | |
| Prisma.sql = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| Prisma.empty = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| Prisma.join = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| Prisma.raw = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| Prisma.validator = Public.validator | |
| /** | |
| * Extensions | |
| */ | |
| Prisma.getExtensionContext = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| Prisma.defineExtension = () => { | |
| const runtimeName = getRuntime().prettyName; | |
| throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). | |
| In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, | |
| )} | |
| /** | |
| * Shorthand utilities for JSON filtering | |
| */ | |
| Prisma.DbNull = objectEnumValues.instances.DbNull | |
| Prisma.JsonNull = objectEnumValues.instances.JsonNull | |
| Prisma.AnyNull = objectEnumValues.instances.AnyNull | |
| Prisma.NullTypes = { | |
| DbNull: objectEnumValues.classes.DbNull, | |
| JsonNull: objectEnumValues.classes.JsonNull, | |
| AnyNull: objectEnumValues.classes.AnyNull | |
| } | |
| /** | |
| * Enums | |
| */ | |
| exports.Prisma.TransactionIsolationLevel = makeStrictEnum({ | |
| ReadUncommitted: 'ReadUncommitted', | |
| ReadCommitted: 'ReadCommitted', | |
| RepeatableRead: 'RepeatableRead', | |
| Serializable: 'Serializable' | |
| }); | |
| exports.Prisma.ServiceStatusScalarFieldEnum = { | |
| id: 'id', | |
| name: 'name', | |
| status: 'status', | |
| headline: 'headline', | |
| description: 'description', | |
| updatedAt: 'updatedAt' | |
| }; | |
| exports.Prisma.AnnouncementScalarFieldEnum = { | |
| id: 'id', | |
| title: 'title', | |
| description: 'description', | |
| href: 'href', | |
| action: 'action', | |
| isPublished: 'isPublished', | |
| publishedAt: 'publishedAt', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt' | |
| }; | |
| exports.Prisma.EmailDeliveryScalarFieldEnum = { | |
| message_id: 'message_id', | |
| recipient: 'recipient', | |
| subject: 'subject', | |
| region: 'region', | |
| sent_at: 'sent_at' | |
| }; | |
| exports.Prisma.UserScalarFieldEnum = { | |
| id: 'id', | |
| name: 'name', | |
| email: 'email', | |
| emailVerified: 'emailVerified', | |
| image: 'image', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt', | |
| first_name: 'first_name', | |
| last_name: 'last_name', | |
| password_hash: 'password_hash', | |
| default_font_family: 'default_font_family', | |
| default_font_size: 'default_font_size', | |
| default_font_color: 'default_font_color', | |
| notify_on_completion: 'notify_on_completion', | |
| default_clip_length: 'default_clip_length', | |
| create_settings: 'create_settings', | |
| product_updates_unsubscribed_at: 'product_updates_unsubscribed_at', | |
| plan: 'plan', | |
| subscription_status: 'subscription_status', | |
| subscription_provider: 'subscription_provider', | |
| is_admin: 'is_admin', | |
| stripe_customer_id: 'stripe_customer_id', | |
| stripe_subscription_id: 'stripe_subscription_id', | |
| billing_period_start: 'billing_period_start', | |
| billing_period_end: 'billing_period_end', | |
| trial_ends_at: 'trial_ends_at', | |
| subscription_cancel_at: 'subscription_cancel_at', | |
| legacy_hd: 'legacy_hd', | |
| pending_plan: 'pending_plan', | |
| pending_plan_invoice_id: 'pending_plan_invoice_id' | |
| }; | |
| exports.Prisma.UserAcquisitionScalarFieldEnum = { | |
| user_id: 'user_id', | |
| utm_source: 'utm_source', | |
| utm_medium: 'utm_medium', | |
| utm_campaign: 'utm_campaign', | |
| utm_content: 'utm_content', | |
| utm_term: 'utm_term', | |
| ref: 'ref', | |
| referrer_host: 'referrer_host', | |
| landing_path: 'landing_path', | |
| first_seen_at: 'first_seen_at', | |
| first_clip_exported_at: 'first_clip_exported_at', | |
| created_at: 'created_at' | |
| }; | |
| exports.Prisma.AffiliateScalarFieldEnum = { | |
| id: 'id', | |
| user_id: 'user_id', | |
| slug: 'slug', | |
| status: 'status', | |
| platform: 'platform', | |
| profile_url: 'profile_url', | |
| audience_size: 'audience_size', | |
| video_url: 'video_url', | |
| promotion_plan: 'promotion_plan', | |
| decline_reason: 'decline_reason', | |
| stripe_promotion_code_id: 'stripe_promotion_code_id', | |
| app_store_code_added_at: 'app_store_code_added_at', | |
| terms_accepted_at: 'terms_accepted_at', | |
| reviewed_at: 'reviewed_at', | |
| reviewed_by: 'reviewed_by', | |
| created_at: 'created_at', | |
| updated_at: 'updated_at' | |
| }; | |
| exports.Prisma.FeatureFlagScalarFieldEnum = { | |
| key: 'key', | |
| description: 'description', | |
| web_enabled: 'web_enabled', | |
| ios_enabled: 'ios_enabled', | |
| admins_bypass: 'admins_bypass', | |
| updated_by: 'updated_by', | |
| created_at: 'created_at', | |
| updated_at: 'updated_at' | |
| }; | |
| exports.Prisma.AppSettingScalarFieldEnum = { | |
| setting_key: 'setting_key', | |
| encrypted_value: 'encrypted_value', | |
| prefer_admin_value: 'prefer_admin_value', | |
| updated_by: 'updated_by', | |
| created_at: 'created_at', | |
| updated_at: 'updated_at' | |
| }; | |
| exports.Prisma.MinuteUsageEventScalarFieldEnum = { | |
| id: 'id', | |
| user_id: 'user_id', | |
| task_id: 'task_id', | |
| minutes: 'minutes', | |
| source_duration_seconds: 'source_duration_seconds', | |
| created_at: 'created_at', | |
| refunded_at: 'refunded_at' | |
| }; | |
| exports.Prisma.AIEditUsageEventScalarFieldEnum = { | |
| job_id: 'job_id', | |
| user_id: 'user_id', | |
| created_at: 'created_at', | |
| refunded_at: 'refunded_at' | |
| }; | |
| exports.Prisma.TaskScalarFieldEnum = { | |
| id: 'id', | |
| user_id: 'user_id', | |
| source_id: 'source_id', | |
| generated_clips_ids: 'generated_clips_ids', | |
| status: 'status', | |
| progress: 'progress', | |
| progress_message: 'progress_message', | |
| source_metadata: 'source_metadata', | |
| source_duration_seconds: 'source_duration_seconds', | |
| completion_notification_sent_at: 'completion_notification_sent_at', | |
| share_token: 'share_token', | |
| share_enabled: 'share_enabled', | |
| font_family: 'font_family', | |
| font_size: 'font_size', | |
| font_color: 'font_color', | |
| caption_template: 'caption_template', | |
| include_broll: 'include_broll', | |
| created_at: 'created_at', | |
| updated_at: 'updated_at' | |
| }; | |
| exports.Prisma.SocialAccountScalarFieldEnum = { | |
| id: 'id', | |
| user_id: 'user_id', | |
| provider: 'provider', | |
| external_account_id: 'external_account_id', | |
| display_name: 'display_name', | |
| username: 'username', | |
| avatar_url: 'avatar_url', | |
| access_token_encrypted: 'access_token_encrypted', | |
| refresh_token_encrypted: 'refresh_token_encrypted', | |
| token_expires_at: 'token_expires_at', | |
| scopes: 'scopes', | |
| metadata: 'metadata', | |
| status: 'status', | |
| last_error: 'last_error', | |
| created_at: 'created_at', | |
| updated_at: 'updated_at', | |
| revoked_at: 'revoked_at' | |
| }; | |
| exports.Prisma.SocialOauthStateScalarFieldEnum = { | |
| state: 'state', | |
| user_id: 'user_id', | |
| provider: 'provider', | |
| code_verifier: 'code_verifier', | |
| redirect_uri: 'redirect_uri', | |
| created_at: 'created_at', | |
| expires_at: 'expires_at' | |
| }; | |
| exports.Prisma.SocialPostScalarFieldEnum = { | |
| id: 'id', | |
| user_id: 'user_id', | |
| task_id: 'task_id', | |
| clip_id: 'clip_id', | |
| social_account_id: 'social_account_id', | |
| provider: 'provider', | |
| status: 'status', | |
| scheduled_for: 'scheduled_for', | |
| title: 'title', | |
| caption: 'caption', | |
| hashtags: 'hashtags', | |
| privacy_level: 'privacy_level', | |
| media_token: 'media_token', | |
| media_token_expires_at: 'media_token_expires_at', | |
| source_file_path: 'source_file_path', | |
| pending_handle: 'pending_handle', | |
| external_post_id: 'external_post_id', | |
| external_url: 'external_url', | |
| error_message: 'error_message', | |
| attempts: 'attempts', | |
| claimed_at: 'claimed_at', | |
| hook_type: 'hook_type', | |
| hook_title: 'hook_title', | |
| virality_score: 'virality_score', | |
| hook_score: 'hook_score', | |
| engagement_score: 'engagement_score', | |
| value_score: 'value_score', | |
| shareability_score: 'shareability_score', | |
| clip_duration: 'clip_duration', | |
| published_at: 'published_at', | |
| last_metrics_at: 'last_metrics_at', | |
| metrics: 'metrics', | |
| created_at: 'created_at', | |
| updated_at: 'updated_at' | |
| }; | |
| exports.Prisma.SocialPostMetricScalarFieldEnum = { | |
| id: 'id', | |
| post_id: 'post_id', | |
| captured_at: 'captured_at', | |
| views: 'views', | |
| likes: 'likes', | |
| comments: 'comments', | |
| shares: 'shares', | |
| saves: 'saves', | |
| raw: 'raw' | |
| }; | |
| exports.Prisma.SourceScalarFieldEnum = { | |
| id: 'id', | |
| type: 'type', | |
| title: 'title', | |
| url: 'url', | |
| created_at: 'created_at', | |
| updated_at: 'updated_at' | |
| }; | |
| exports.Prisma.SessionScalarFieldEnum = { | |
| id: 'id', | |
| expiresAt: 'expiresAt', | |
| token: 'token', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt', | |
| ipAddress: 'ipAddress', | |
| userAgent: 'userAgent', | |
| userId: 'userId' | |
| }; | |
| exports.Prisma.AccountScalarFieldEnum = { | |
| id: 'id', | |
| accountId: 'accountId', | |
| providerId: 'providerId', | |
| userId: 'userId', | |
| accessToken: 'accessToken', | |
| refreshToken: 'refreshToken', | |
| idToken: 'idToken', | |
| accessTokenExpiresAt: 'accessTokenExpiresAt', | |
| refreshTokenExpiresAt: 'refreshTokenExpiresAt', | |
| scope: 'scope', | |
| password: 'password', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt' | |
| }; | |
| exports.Prisma.VerificationScalarFieldEnum = { | |
| id: 'id', | |
| identifier: 'identifier', | |
| value: 'value', | |
| expiresAt: 'expiresAt', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt' | |
| }; | |
| exports.Prisma.StripeWebhookEventScalarFieldEnum = { | |
| id: 'id', | |
| type: 'type', | |
| created_at: 'created_at' | |
| }; | |
| exports.Prisma.RevenueCatWebhookEventScalarFieldEnum = { | |
| id: 'id', | |
| type: 'type', | |
| created_at: 'created_at' | |
| }; | |
| exports.Prisma.UserFeatureTourScalarFieldEnum = { | |
| user_id: 'user_id', | |
| tour_id: 'tour_id', | |
| shown_at: 'shown_at', | |
| completed_at: 'completed_at', | |
| dismissed_at: 'dismissed_at', | |
| last_step: 'last_step' | |
| }; | |
| exports.Prisma.SortOrder = { | |
| asc: 'asc', | |
| desc: 'desc' | |
| }; | |
| exports.Prisma.JsonNullValueInput = { | |
| JsonNull: Prisma.JsonNull | |
| }; | |
| exports.Prisma.NullableJsonNullValueInput = { | |
| DbNull: Prisma.DbNull, | |
| JsonNull: Prisma.JsonNull | |
| }; | |
| exports.Prisma.QueryMode = { | |
| default: 'default', | |
| insensitive: 'insensitive' | |
| }; | |
| exports.Prisma.JsonNullValueFilter = { | |
| DbNull: Prisma.DbNull, | |
| JsonNull: Prisma.JsonNull, | |
| AnyNull: Prisma.AnyNull | |
| }; | |
| exports.Prisma.NullsOrder = { | |
| first: 'first', | |
| last: 'last' | |
| }; | |
| exports.Prisma.ModelName = { | |
| ServiceStatus: 'ServiceStatus', | |
| Announcement: 'Announcement', | |
| EmailDelivery: 'EmailDelivery', | |
| User: 'User', | |
| UserAcquisition: 'UserAcquisition', | |
| Affiliate: 'Affiliate', | |
| FeatureFlag: 'FeatureFlag', | |
| AppSetting: 'AppSetting', | |
| MinuteUsageEvent: 'MinuteUsageEvent', | |
| AIEditUsageEvent: 'AIEditUsageEvent', | |
| Task: 'Task', | |
| SocialAccount: 'SocialAccount', | |
| SocialOauthState: 'SocialOauthState', | |
| SocialPost: 'SocialPost', | |
| SocialPostMetric: 'SocialPostMetric', | |
| Source: 'Source', | |
| Session: 'Session', | |
| Account: 'Account', | |
| Verification: 'Verification', | |
| StripeWebhookEvent: 'StripeWebhookEvent', | |
| RevenueCatWebhookEvent: 'RevenueCatWebhookEvent', | |
| UserFeatureTour: 'UserFeatureTour' | |
| }; | |
| /** | |
| * This is a stub Prisma Client that will error at runtime if called. | |
| */ | |
| class PrismaClient { | |
| constructor() { | |
| return new Proxy(this, { | |
| get(target, prop) { | |
| let message | |
| const runtime = getRuntime() | |
| if (runtime.isEdge) { | |
| message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either: | |
| - Use Prisma Accelerate: https://pris.ly/d/accelerate | |
| - Use Driver Adapters: https://pris.ly/d/driver-adapters | |
| `; | |
| } else { | |
| message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).' | |
| } | |
| message += ` | |
| If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report` | |
| throw new Error(message) | |
| } | |
| }) | |
| } | |
| } | |
| exports.PrismaClient = PrismaClient | |
| Object.assign(exports, Prisma) | |