mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-02-02 23:03:57 +08:00
- Added WorkspaceFileHandler for handling workspace file operations including create, update, delete, and list functionalities. - Introduced WorkspaceFileRepo for database interactions related to workspace files. - Created WorkspaceFileUsecase to encapsulate business logic for workspace file management. - Implemented API endpoints for workspace file operations with appropriate request and response structures. - Added database migrations for creating workspaces and workspace_files tables with necessary constraints and indexes. - Enhanced user authentication and authorization for workspace file operations.
68 lines
2.1 KiB
Go
68 lines
2.1 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package predicate
|
|
|
|
import (
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// Admin is the predicate function for admin builders.
|
|
type Admin func(*sql.Selector)
|
|
|
|
// AdminLoginHistory is the predicate function for adminloginhistory builders.
|
|
type AdminLoginHistory func(*sql.Selector)
|
|
|
|
// ApiKey is the predicate function for apikey builders.
|
|
type ApiKey func(*sql.Selector)
|
|
|
|
// BillingPlan is the predicate function for billingplan builders.
|
|
type BillingPlan func(*sql.Selector)
|
|
|
|
// BillingQuota is the predicate function for billingquota builders.
|
|
type BillingQuota func(*sql.Selector)
|
|
|
|
// BillingRecord is the predicate function for billingrecord builders.
|
|
type BillingRecord func(*sql.Selector)
|
|
|
|
// BillingUsage is the predicate function for billingusage builders.
|
|
type BillingUsage func(*sql.Selector)
|
|
|
|
// Extension is the predicate function for extension builders.
|
|
type Extension func(*sql.Selector)
|
|
|
|
// InviteCode is the predicate function for invitecode builders.
|
|
type InviteCode func(*sql.Selector)
|
|
|
|
// Model is the predicate function for model builders.
|
|
type Model func(*sql.Selector)
|
|
|
|
// ModelProvider is the predicate function for modelprovider builders.
|
|
type ModelProvider func(*sql.Selector)
|
|
|
|
// ModelProviderModel is the predicate function for modelprovidermodel builders.
|
|
type ModelProviderModel func(*sql.Selector)
|
|
|
|
// Setting is the predicate function for setting builders.
|
|
type Setting func(*sql.Selector)
|
|
|
|
// Task is the predicate function for task builders.
|
|
type Task func(*sql.Selector)
|
|
|
|
// TaskRecord is the predicate function for taskrecord builders.
|
|
type TaskRecord func(*sql.Selector)
|
|
|
|
// User is the predicate function for user builders.
|
|
type User func(*sql.Selector)
|
|
|
|
// UserIdentity is the predicate function for useridentity builders.
|
|
type UserIdentity func(*sql.Selector)
|
|
|
|
// UserLoginHistory is the predicate function for userloginhistory builders.
|
|
type UserLoginHistory func(*sql.Selector)
|
|
|
|
// Workspace is the predicate function for workspace builders.
|
|
type Workspace func(*sql.Selector)
|
|
|
|
// WorkspaceFile is the predicate function for workspacefile builders.
|
|
type WorkspaceFile func(*sql.Selector)
|