mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
back
This commit is contained in:
7
packages/devtools-ui/src/interfaces/activity.ts
Normal file
7
packages/devtools-ui/src/interfaces/activity.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import {
|
||||
DevtoolsEvent,
|
||||
DevtoolsEventPayloads,
|
||||
} from "@refinedev/devtools-shared";
|
||||
|
||||
export type Activity =
|
||||
DevtoolsEventPayloads[DevtoolsEvent.DEVTOOLS_ACTIVITY_UPDATE]["updatedActivities"][number];
|
||||
34
packages/devtools-ui/src/interfaces/api.ts
Normal file
34
packages/devtools-ui/src/interfaces/api.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
export type RaffleResponse =
|
||||
| {
|
||||
raffle: true;
|
||||
calendlyURL: string;
|
||||
}
|
||||
| {
|
||||
raffle: false;
|
||||
};
|
||||
|
||||
export type MeResponse = {
|
||||
company: string | null;
|
||||
createdAt: string;
|
||||
email: string;
|
||||
externalId: string | null;
|
||||
id: string;
|
||||
identityId: string;
|
||||
isActive: boolean;
|
||||
jobTitle: string | null;
|
||||
metadata: unknown | null;
|
||||
name: string | null;
|
||||
provider: string;
|
||||
updatedAt: string;
|
||||
userOrganizations: unknown[];
|
||||
};
|
||||
|
||||
export type MeUpdateVariables = {
|
||||
name: string;
|
||||
company: string;
|
||||
jobTitle: string;
|
||||
};
|
||||
|
||||
export type ProjectIdResponse = {
|
||||
projectId: string | null;
|
||||
};
|
||||
Reference in New Issue
Block a user