feat(admin): init project (#7197)

This commit is contained in:
Brooooooklyn
2024-06-18 06:01:13 +00:00
parent d216606193
commit 0fe672efa5
92 changed files with 6392 additions and 175 deletions
+56
View File
@@ -1391,6 +1391,23 @@ export type GetCopilotSessionsQuery = {
} | null;
};
export type GetCurrentUserFeaturesQueryVariables = Exact<{
[key: string]: never;
}>;
export type GetCurrentUserFeaturesQuery = {
__typename?: 'Query';
currentUser: {
__typename?: 'UserType';
id: string;
name: string;
email: string;
emailVerified: boolean;
avatarUrl: string | null;
features: Array<FeatureType>;
} | null;
};
export type GetCurrentUserQueryVariables = Exact<{ [key: string]: never }>;
export type GetCurrentUserQuery = {
@@ -1664,6 +1681,35 @@ export type LeaveWorkspaceMutation = {
leaveWorkspace: boolean;
};
export type ListUsersQueryVariables = Exact<{
filter: ListUserInput;
}>;
export type ListUsersQuery = {
__typename?: 'Query';
users: Array<{
__typename?: 'UserType';
id: string;
name: string;
email: string;
features: Array<FeatureType>;
hasPassword: boolean | null;
emailVerified: boolean;
avatarUrl: string | null;
quota: {
__typename?: 'UserQuota';
humanReadable: {
__typename?: 'UserQuotaHumanReadable';
blobLimit: string;
historyPeriod: string;
memberLimit: string;
name: string;
storageQuota: string;
};
} | null;
}>;
};
export type PricesQueryVariables = Exact<{ [key: string]: never }>;
export type PricesQuery = {
@@ -2086,6 +2132,11 @@ export type Queries =
variables: GetCopilotSessionsQueryVariables;
response: GetCopilotSessionsQuery;
}
| {
name: 'getCurrentUserFeaturesQuery';
variables: GetCurrentUserFeaturesQueryVariables;
response: GetCurrentUserFeaturesQuery;
}
| {
name: 'getCurrentUserQuery';
variables: GetCurrentUserQueryVariables;
@@ -2176,6 +2227,11 @@ export type Queries =
variables: InvoicesQueryVariables;
response: InvoicesQuery;
}
| {
name: 'listUsersQuery';
variables: ListUsersQueryVariables;
response: ListUsersQuery;
}
| {
name: 'pricesQuery';
variables: PricesQueryVariables;