MCPcopy Create free account

hub / github.com/SwishHQ/spread / functions

Functions548 in github.com/SwishHQ/spread

↓ 1 callersFunctionNewAppRepository
(db *mongo.Database)
src/repository/app_repository.go:23
↓ 1 callersFunctionNewAuthKeyController
(authKeyService service.AuthKeyService)
src/controller/auth_key.controller.go:20
↓ 1 callersFunctionNewAuthKeyRepository
(db *mongo.Database)
src/repository/auth_key.repository.go:23
↓ 1 callersFunctionNewBundleController
(bundleService service.BundleService)
src/controller/bundle_controller.go:27
↓ 1 callersFunctionNewBundleRepository
(db *mongo.Database)
src/repository/bundle_repository.go:36
↓ 1 callersFunctionNewClientController
(clientService service.ClientService)
src/controller/client_controller.go:22
↓ 1 callersFunctionNewEnvironmentController
(environmentService service.EnvironmentService)
src/controller/environment_controller.go:22
↓ 1 callersFunctionNewEnvironmentRepository
(db *mongo.Database)
src/repository/environment_repository.go:26
↓ 1 callersFunctionNewR2Service
()
pkg/cloudflare.go:19
↓ 1 callersFunctionNewUserController
(userService service.UserService)
src/controller/user_controller.go:24
↓ 1 callersFunctionNewUserRepository
(db *mongo.Database)
src/repository/user_repository.go:24
↓ 1 callersFunctionNewVersionController
(versionService service.VersionService)
src/controller/version_controller.go:19
↓ 1 callersFunctionNewVersionRepository
(db *mongo.Database)
src/repository/version_repository.go:29
↓ 1 callersFunctionPathExists
check if a pth exists
utils/common.go:147
↓ 1 callersFunctionPushBundle
PushBundle uploads a new bundle to the server
cli/bundle_cli.go:39
↓ 1 callersMethodReportStatusDeploy
(c *fiber.Ctx)
src/controller/client_controller.go:14
↓ 1 callersMethodReportStatusDownload
(c *fiber.Ctx)
src/controller/client_controller.go:15
↓ 1 callersFunctionReverseArr
(s interface{})
utils/common.go:113
↓ 1 callersMethodRollback
(c *fiber.Ctx)
src/controller/bundle_controller.go:19
↓ 1 callersMethodToggleActive
(c *fiber.Ctx)
src/controller/bundle_controller.go:20
↓ 1 callersMethodToggleMandatory
(c *fiber.Ctx)
src/controller/bundle_controller.go:18
↓ 1 callersMethodUpdateCurrentBundleId
(ctx context.Context, id primitive.ObjectID, currentBundleId primitive.ObjectID)
src/repository/version_repository.go:17
↓ 1 callersMethodUpdateIsMandatoryById
(ctx context.Context, id primitive.ObjectID, isMandatory bool)
src/repository/bundle_repository.go:24
↓ 1 callersMethodUpdateIsValid
(ctx context.Context, id primitive.ObjectID, isValid bool)
src/repository/bundle_repository.go:25
↓ 1 callersMethodUpdateVersionIdById
(ctx context.Context, id primitive.ObjectID, versionId primitive.ObjectID)
src/repository/bundle_repository.go:18
↓ 1 callersMethodUploadBundle
(c *fiber.Ctx)
src/controller/bundle_controller.go:15
↓ 1 callersMethodUploadFileToR2
(ctx context.Context, key string, file []byte)
pkg/cloudflare.go:51
↓ 1 callersFunctionZip
Zip function creates a zip file from a given source directory.
utils/common.go:37
↓ 1 callersFunctionbuildBundle
(config BundleConfig)
cli/bundle_cli.go:88
↓ 1 callersFunctioncheckSetupStatus
()
web/src/api/hooks/useSetup.ts:9
↓ 1 callersFunctioncopyToClipboard
(text: string)
web/src/views/dashboard/authKeys/AuthKeysView.tsx:132
↓ 1 callersFunctioncreateAndUploadBundle
(config BundleConfig, fileName string, hash string)
cli/bundle_cli.go:296
↓ 1 callersFunctioncreateApp
(appData: { appName: string; os: string; })
web/src/api/hooks/useApps.ts:60
↓ 1 callersFunctioncreateAuthKey
(name: string)
web/src/api/hooks/useAuthKeys.ts:24
↓ 1 callersFunctioncreateBundleCommand
(config BundleConfig, buildPath, bundleURL, indexFile, minify string)
cli/bundle_cli.go:231
↓ 1 callersFunctioncreateLogger
()
logger/zap.go:18
↓ 1 callersFunctionexecuteCommand
(cmd *exec.Cmd)
cli/bundle_cli.go:202
↓ 1 callersFunctionfetchAppDetails
()
web/src/views/dashboard/versions/VersionView.tsx:79
↓ 1 callersFunctionfetchVersions
()
web/src/views/dashboard/versions/VersionView.tsx:132
↓ 1 callersFunctionformatDate
(dateString: string)
web/src/views/dashboard/authKeys/AuthKeysView.tsx:137
↓ 1 callersFunctionformatVersionNumber
(versionNumber: number)
web/src/views/dashboard/versions/VersionView.tsx:231
↓ 1 callersFunctiongetAllFiles
This function helps us find all the files in a given directory and its subdirectories.
cli/bundle_cli.go:137
↓ 1 callersFunctiongetEnvironmentName
(environmentId: string)
web/src/views/dashboard/bundles/BundleView.tsx:94
↓ 1 callersFunctiongetHash
(path string)
cli/bundle_cli.go:110
↓ 1 callersFunctiongetOsIcon
(os: string)
web/src/views/dashboard/apps/AppView.tsx:89
↓ 1 callersFunctionhandleAppClick
(app: App)
web/src/views/dashboard/apps/AppView.tsx:78
↓ 1 callersFunctionhandleCloseModal
()
web/src/views/dashboard/apps/AppView.tsx:43
↓ 1 callersFunctionhandleLogout
()
web/src/components/auth/AuthInitializer.tsx:21
↓ 1 callersFunctionhandleRollback
(bundleId: string)
web/src/views/dashboard/bundles/BundleView.tsx:122
↓ 1 callersFunctioninitializeAuth
()
web/src/components/auth/AuthInitializer.tsx:29
↓ 1 callersFunctionloadData
()
web/src/views/dashboard/bundles/BundleView.tsx:49
↓ 1 callersFunctionlogin
( credentials: LoginRequest )
web/src/api/hooks/useAuth.ts:27
↓ 1 callersFunctionlogout
()
web/src/api/services/authService.ts:63
↓ 1 callersFunctionnewfileUploadRequest
This function creates a new HTTP request for file upload. It takes in the URI of the server, the authentication key, parameters, the name of the param
cli/bundle_cli.go:170
↓ 1 callersFunctionprepareBuildDirectory
(projectDir string)
cli/bundle_cli.go:78
↓ 1 callersFunctionprocessHermesBundle
(config BundleConfig)
cli/bundle_cli.go:252
↓ 1 callersFunctiontoggleKeyVisibility
(key: string)
web/src/views/dashboard/authKeys/AuthKeysView.tsx:128
↓ 1 callersFunctionuseAuth
()
web/src/api/hooks/useAuth.ts:18
↓ 1 callersFunctionuseAuthKeys
()
web/src/api/hooks/useAuthKeys.ts:4
↓ 1 callersFunctionuseSetup
()
web/src/api/hooks/useSetup.ts:4
↓ 1 callersFunctionvalidateConfig
(config BundleConfig)
cli/bundle_cli.go:71
↓ 1 callersFunctionvalidateCreateAppRequest
( data: unknown )
web/src/api/schemas/appSchemas.ts:31
↓ 1 callersFunctionvalidateForm
()
web/src/views/auth/LoginView.tsx:48
↓ 1 callersFunctionvalidateForm
()
web/src/views/setup/SetupView.tsx:48
↓ 1 callersFunctionvalidateToken
()
web/src/api/services/authService.ts:19
MethodAddActive
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service.go:328
MethodAddActive
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service_test.go:221
MethodAddActive
(ctx context.Context, id primitive.ObjectID)
src/service/client_service_test.go:84
MethodAddActive
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:26
MethodAddActive
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:130
FunctionAddAppModal
({ isOpen, appData, onChangeAppData, onAdd, onClose, isLoading = false, error = nu
web/src/components/modal/AddAppModal.tsx:25
MethodAddFailed
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service.go:332
MethodAddFailed
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service_test.go:226
MethodAddFailed
(ctx context.Context, id primitive.ObjectID)
src/service/client_service_test.go:89
MethodAddFailed
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:27
MethodAddFailed
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:139
MethodAddInstalled
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service.go:336
MethodAddInstalled
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service_test.go:231
MethodAddInstalled
(ctx context.Context, id primitive.ObjectID)
src/service/client_service_test.go:94
MethodAddInstalled
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:28
MethodAddInstalled
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:148
FunctionApp
()
web/src/App.tsx:44
FunctionAppButton
({ loading = false, children, ...props }: Props)
web/src/components/primitives/Button.tsx:10
FunctionAppInput
({ error, ...props }: Props)
web/src/components/primitives/Input.tsx:8
FunctionAppSkeleton
({ count = 4 })
web/src/components/skeleton/AppSkeleton.tsx:8
FunctionAppView
()
web/src/views/dashboard/apps/AppView.tsx:13
FunctionAuthInitializer
({ children })
web/src/components/auth/AuthInitializer.tsx:15
FunctionAuthKeysView
()
web/src/views/dashboard/authKeys/AuthKeysView.tsx:113
FunctionBadRequestException
(msg string)
exception/exception.go:14
FunctionBundleUsageChart
({ activeUsers, totalDownloads })
web/src/components/BundleUsageChart.tsx:9
FunctionBundleView
()
web/src/views/dashboard/bundles/BundleView.tsx:16
MethodCheckUpdate
(ctx *fiber.Ctx)
src/controller/client_controller.go:27
MethodCheckUpdate
check for new update for a given environment and app version if there is a new update, return the update info if there is no update, return nil
src/service/client_service.go:39
FunctionConflictException
(resourceName string, fieldName string, fieldValue string)
exception/exception.go:18
MethodCount
(ctx context.Context)
src/service/user_service_test.go:49
MethodCount
(ctx context.Context)
src/service/user_service.go:100
MethodCount
(ctx context.Context)
src/repository/user_repository.go:17
MethodCount
(ctx context.Context)
src/repository/user_repository.go:67
MethodCreate
(ctx context.Context, version *model.Version)
src/service/version_service_test.go:21
MethodCreate
(user *types.CreateUserRequest)
src/service/user_service.go:32
← previousnext →101–200 of 548, ranked by callers