Environment.deploymentId
Functional API
env.getDeploymentIdYou can use the same feature with it as well.
Feature description
This is the current deployment ID. In the development environment, 'local'.
It's a constant value, so you can read it directly without calling anything.
Type
Environment.deploymentId: string;Params
None
Response
It's a string. In the development environment, 'local', and during deployment, it's the deployment UUID.
Example code
import { Environment } from "@apps-in-toss/web-framework";
console.log(Environment.deploymentId);Was this helpful?