Wire a repo to Crave
connect_projectWrites the API origin and location ID into an Expo/React Native .env file, enabling storefronts to connect directly without an API key.
Instructions
Write the public API origin and location ID into an Expo/React Native project .env. Browser and mobile storefronts connect directly without an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Preview by default. Apply requires the exact returned planDigest. | dry-run |
| baseUrl | No | API base URL; omit for production api.craveup.com | |
| locationId | Yes | Crave location id from create_organization | |
| planDigest | No | Exact digest returned by a dry-run of the same arguments. | |
| projectPath | Yes | Absolute path to the app repo root | |
| confirmationToken | No | Required exact phrase for destructive, paid, or release operations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| mode | Yes | ||
| status | Yes | ||
| changes | Yes | ||
| summary | Yes | ||
| operation | Yes | ||
| planDigest | Yes | ||
| environment | Yes | ||
| nextActions | Yes | ||
| schemaVersion | Yes |