TypeScript Server Resource
The TypeScript Server Resource is a lightweight runtime for running custom, server-side TypeScript code. Dynaboard manages the deployment and secure sandboxing of your code.
Properties
Common Code
Prop | commonCode |
---|---|
Type | string |
Default | undefined |
This code will be added to the top of all this resource's functions. Use it to share common functions or libraries.
Keyspace
Prop | keyspace |
---|---|
Type | string |
Default | default |
An optional keyspace for scoping KV store values
Actions
Call Server Function
Calls a server-side TypeScript function. Access can be scoped to a specific keyspace of key/value storage.
Parameter | Type | Default |
---|---|---|
code | string | undefined |