@globus/static-data-portal • Docs
Base:
object
The base type for a static.json
file.
_static:
object
generator:
object
name:
string
The name of the generator used to build the static.json
file.
This should be a reference to the package name of the generator.
"@globus/static-data-portal"
optional
host:object
GitHub Action-injected environment variables.
https://github.com/from-static/actions
base_path:
string
base_url:
string
host:
string
origin:
string
data:
object
attributes:
Record
<string
,unknown
>
version:
string
Data:
object
The type used for data
by the @globus/static-data-portal generator.
attributes:
object
content:
object
optional
image:string
The URL of the portal's header image.
optional
navigation:NavigationOptions
The navigation items for the portal.
optional
privacy_policy:string
A privacy policy to be rendered at /privacy-policy
.
This is especially useful for associating the published URL with your registered Globus Auth application.
optional
subtitle:string
The subtitle of the research data portal.
optional
tagline:string
tagline
will be removed in a future release. For customization of the homepage, use a index.mdx
file.
optional
terms_of_service:string
Terms and conditions to be rendered at /terms-and-conditions
.
This is especially useful for associating the published URL with your registered Globus Auth application.
title:
string
The title of the research data portal.
globus:
object
application:
object
Information about your registered Globus Auth Application (Client)
https://docs.globus.org/api/auth/developer-guide/#developing-apps
client_id:
string
The UUID of the client application.
optional
redirect_uri:string
The redirect URI for the Globus Auth login page to complete the OAuth2 flow.
The portal will make a reasonable effort to determine this URI, but this field is provided as a fallback.
To use the portal's built-in authorization handling, redirects should be sent to /authenticate
on the host.
"https://example.com/data-portal/authenticate"
transfer:
TransferCollectionConfiguration
|object
Configuration for Transfer-related functionality in the portal.
optional
theme:ThemeSettings
version:
string
The version of the data
object, which is used to determine how
the generator will render its attributes
.
"1.0.0"
Static:
Base
&object
data:
Data