chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:34:48 +08:00
commit 77bb5bf71f
3762 changed files with 353249 additions and 0 deletions
@@ -0,0 +1,10 @@
import { wrapAction } from '../../action-wrapper'
export const getCurrentUser = wrapAction(
{ actionName: 'getCurrentUser', errorMessage: 'Failed to get current Odoo user' },
async ({ odooClient }) => {
const id = await odooClient.getCurrentUserId()
return { id }
}
)