@inspatial/cloud@0.8.4Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
InSpatial Cloud is your one-stop-shop, batteries-included backend for building universal and spatial (AR/MR/VR) applications.
Creates an InCloud instance and runs it.
Define a Cloud API Action
Define a new API group
Defines a ChildEntryType
Define a new Entry Type for the ORM
Defines a settings type for the ORM.
This class is used to define an Entry Type in the ORM.
- actionGroups
- addCustomProperty
- api
- appDisplayName
- appName
- auth
- boot
- cloudRoot
- customEnv
- customProperties
- emailManager
- extensionManager
- extensionObjects
- filesPath
- generateConfigFile
- getCustomEnvProperty
- getCustomProperty
- getExtension
- getExtensionConfig
- getExtensionConfigValue
- getServerHost
- handleInitError
- inCache
- inChannel
- inLive
- inLog
- inQueue
- inRoot
- init
- installedExtensions
- mode
- onShutdown
- orm
- privateFiles
- publicFiles
- publicFilesPath
- roles
- run
- runMode
- static
- _accountId
- _getEntryInstance
- _getEntryTypeRegistry
- _getFieldType
- _getSettingsInstance
- _inCloud
- _runGlobalEntryHooks
- _runGlobalSettingsHooks
- _user
- addTag
- asAdmin
- batchUpdateField
- count
- countConnections
- createEntry
- db
- deleteEntry
- fieldTypes
- findEntry
- findEntryId
- generateClientInterfaces
- generateInterfaces
- generatedRoot
- getEntry
- getEntryList
- getEntryType
- getEntryValue
- getNewEntry
- getSettings
- getSettingsType
- getSettingsValue
- getTagByName
- getTags
- globalEntryHooks
- globalSettingsHooks
- handlePgError
- hasTag
- inLog
- init
- migrate
- migrateGlobal
- roles
- rootPath
- setupCustomEntryTypes
- sum
- systemAdminUser
- systemDb
- systemGobalUser
- updateEntry
- updateSettings
- withAccount
- withUser
Raise an ORMException with the given message.
Helper function to raise a ServerException
- addSignalListeners
- appName
- appTitle
- autoMigrate
- autoTypes
- brokerProc
- coreCount
- dbProc
- embeddedDbPort
- env
- handleWatchEvent
- hostname
- inLog
- inLogSmall
- init
- isReloading
- moduleName
- port
- printInfo
- queueProc
- reload
- rootPath
- serveProcs
- setupWatcher
- shutdown
- spawnBroker
- spawnDB
- spawnInit
- spawnMigrator
- spawnProcess
- spawnQueue
- spawnServer
- spawnServers
- usingEmbeddedDb
- watch
Custom exception class for InSpatialServer server exceptions
Defines a settings type for the ORM.
- $adminPortalAccess
- $apiToken
- $createdAt
- $enabled
- $firstName
- $fullName
- $googleAccessToken
- $googleAuthStatus
- $googleCredential
- $googleId
- $googlePicture
- $googleRefreshToken
- $id
- $lastName
- $password
- $profilePicture
- $profilePicture__title
- $resetPasswordToken
- $systemAdmin
- $systemRole
- $systemRole__title
- $updatedAt
- $verified
- $verifyToken
- __fields__
- _name
- runAction
Fetch the value from another entry, based on the id in a ConnectionField in this entry.
A handler for a path. This is used to define a handler for a specific path.
Adds leading zeros to a number or string
Converts a string from camel case to snake case e.g. "helloWorld" -> "hello_world" Also works for Pascal case e.g. "HelloWorld" -> "hello_world"
Converts a camel case string to title case
Generates a random string of a given length
Returns the folder path of the calling function where this getCallerPath() function is called.
ONLY if the module is a local file url (file:///...)
Joins multiple path segments into a single path. The path segments are joined with a forward slash (/) regardless of the OS.
Effectively converts a string to snake case
- arrowDown
- arrowLeft
- arrowRight
- arrowUp
- arrows
- box
- braile
- bullet
- check
- checkboxCircleOff
- checkboxCircleOn
- checkboxOff
- checkboxOn
- circle
- circleCircle
- circleCross
- circleDotted
- circleDouble
- circleFilled
- circlePipe
- circleQuestionMark
- cross
- cursors
- dot
- ellipsis
- fiveEighths
- fiveSixths
- fourFifths
- hamburger
- heart
- info
- line
- lit
- moon
- mustache
- oneEighth
- oneFifth
- oneHalf
- oneNinth
- oneQuarter
- oneSeventh
- oneSixth
- oneTenth
- oneThird
- play
- pointer
- pointerSmall
- questionMarkPrefix
- radioOff
- radioOn
- sevenEighths
- smiley
- square
- squareSmall
- squareSmallFilled
- star
- threeEighths
- threeFifths
- threeQuarters
- twoFifths
- twoThirds
- warning
- alt2Down
- alt2DownLeft
- alt2DownRight
- alt2Left
- alt2Right
- alt2Up
- alt2UpLeft
- alt2UpRight
- alt3Down
- alt3DownLeft
- alt3DownRight
- alt3Left
- alt3Right
- alt3Up
- alt3UpLeft
- alt3UpRight
- altDown
- altLeft
- altRight
- altUp
- arrowDown
- arrowLeft
- arrowRight
- arrowUp
- blank
- block1
- block10
- block11
- block12
- block13
- block14
- block2
- block3
- block4
- block5
- block6
- block7
- block8
- block9
- blockSolid
- bullet
- check
- checkboxCircleOff
- checkboxCircleOn
- checkboxOff
- checkboxOn
- circle
- circleArrow
- circleArrowAlt
- circleCircle
- circleCross
- circleDotted
- circleDouble
- circleFilled
- circlePipe
- circleQuestionMark
- cross
- cursor
- cursorAlt
- cursorAlt2
- cursorAlt3
- dot
- dot10
- dot11
- dot12
- dot13
- dot14
- dot15
- dot2
- dot3
- dot4
- dot5
- dot6
- dot7
- dot8
- dot9
- down
- downArrow
- downArrowAlt
- downLeft
- downRight
- ellipsis
- enter
- firstQuarter
- fiveEighths
- fiveSixths
- fourFifths
- full
- hamburger
- heart
- info
- lastQuarter
- left
- leftArrow
- leftArrowAlt
- line
- mustache
- newMoon
- oneEighth
- oneFifth
- oneHalf
- oneNinth
- oneQuarter
- oneSeventh
- oneSixth
- oneTenth
- oneThird
- pipe
- pipeAlt
- pipeAlt2
- pipeAlt2Wide
- pipeAltWide
- pipeWide
- play
- pointer
- pointerSmall
- questionMarkPrefix
- radioOff
- radioOn
- right
- rightArrow
- rightArrowAlt
- sevenEighths
- smiley
- square
- squareSmall
- squareSmallFilled
- star
- threeEighths
- threeFifths
- threeQuarters
- twoFifths
- twoThirds
- up
- upArrow
- upArrowAlt
- upLeft
- upRight
- waningCrescent
- waningGibbous
- warning
- waxingCrescent
- waxingGibbous
Converts a string to camel case e.g. "hello_world" -> "helloWorld" e.g. "hello-world" -> "helloWorld" e.g. "hello world" -> "helloWorld" e.g. "hello world" -> "helloWorld"
Converts a string to kebab case
Converts a string to pascal case e.g. "hello_world " -> "HelloWorld" e.g. "hello-world" -> "HelloWorld" e.g. "hello world" -> "HelloWorld" e.g. "hello world" -> "HelloWorld"
Converts a string to snake case e.g. "HelloWorld" -> "hello_world" e.g. "hello-world" -> "hello_world" e.g. "hello world" -> "hello_world" e.g. "hello world" -> "hello_world"
Converts a string to title case