- Update RootLayout to handle authentication state and redirect users based on their auth status. - Create an Index component to redirect unauthenticated users to the login page. - Modify ApiAuthRepository to fetch user session data using access and refresh tokens. - Introduce a new container file to manage use case instances for authentication and filament operations. - Enhance authStore to validate tokens and fetch user data from the API. - Add babel-plugin-module-resolver for improved module imports. - Update package.json scripts for running the app on Android and iOS. - Add expo-camera dependency for camera functionalities. - Update tsconfig.json to include infrastructure path mapping.
25 lines
397 B
YAML
25 lines
397 B
YAML
info:
|
|
name: Update Spool Preset
|
|
type: http
|
|
seq: 3
|
|
|
|
http:
|
|
method: PUT
|
|
url: http://0.0.0.0:8080/api/v1/spool-presets/{{preset_id}}
|
|
body:
|
|
type: json
|
|
data: |-
|
|
{
|
|
"name": "Elegoo (Papelão)",
|
|
"spool_weight_g": 156
|
|
}
|
|
auth:
|
|
type: bearer
|
|
token: "{{access_token}}"
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|