mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-13 10:42:16 +01:00
refactor timetracker to seperate data and ui logic
This commit is contained in:
@@ -128,6 +128,13 @@ export type UpdateOrganizationBody = ZodiosBodyByAlias<
|
||||
'updateOrganization'
|
||||
>;
|
||||
|
||||
export type MyMemberships = ZodiosResponseByAlias<
|
||||
SolidTimeApi,
|
||||
'getMyMemberships'
|
||||
>['data'];
|
||||
|
||||
export type MyMembership = MyMemberships[0];
|
||||
|
||||
export async function fetchToken() {
|
||||
return new Promise((resolve) => {
|
||||
router.reload({
|
||||
|
||||
Reference in New Issue
Block a user