2162 Add asset watcher in twenty-sdk dev mode (#17513)

- assets are pushed in .twenty/output
- assets are uploaded in FileFolder.Assets
- not handled yet by the sync-manifest endpoint
This commit is contained in:
martmull
2026-01-29 10:08:44 +01:00
committed by GitHub
parent 1cc08b84c4
commit 3412992e99
42 changed files with 414 additions and 135 deletions
@@ -64,7 +64,7 @@ export class ApiService {
);
}
async validateAuth(): Promise<boolean> {
async validateAuth(): Promise<{ authValid: boolean; serverUp: boolean }> {
try {
const query = `
query CurrentWorkspace {
@@ -87,9 +87,15 @@ export class ApiService {
},
);
return response.status === 200 && !response.data.errors;
return {
authValid: response.status === 200 && !response.data.errors,
serverUp: response.status === 200,
};
} catch {
return false;
return {
authValid: false,
serverUp: false,
};
}
}