Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,11 @@
|
||||
export type AccountCreatedDto = {
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
slug: string;
|
||||
};
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
export type AccountDeletedDto = {
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
subscription?: {
|
||||
price: {
|
||||
id: string;
|
||||
amount: number;
|
||||
};
|
||||
product: {
|
||||
id: string;
|
||||
title: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
export type AccountUpdatedDto = {
|
||||
id: string;
|
||||
new: {
|
||||
name: string;
|
||||
slug: string;
|
||||
};
|
||||
old: {
|
||||
name: string;
|
||||
slug: string;
|
||||
};
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
import { ApiKeyEntityPermissionDto } from "~/application/dtos/apiKeys/ApiKeyEntityPermissionDto";
|
||||
|
||||
export type ApiKeyCreatedDto = {
|
||||
id: string;
|
||||
alias: string;
|
||||
expires: Date | null;
|
||||
active: boolean;
|
||||
entities: ApiKeyEntityPermissionDto[];
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
import { ApiKeyEntityPermissionDto } from "~/application/dtos/apiKeys/ApiKeyEntityPermissionDto";
|
||||
|
||||
export type ApiKeyDeletedDto = {
|
||||
id: string;
|
||||
alias: string;
|
||||
expires: Date | null;
|
||||
active: boolean;
|
||||
entities: ApiKeyEntityPermissionDto[];
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
import { ApiKeyEntityPermissionDto } from "~/application/dtos/apiKeys/ApiKeyEntityPermissionDto";
|
||||
|
||||
export type ApiKeyUpdatedDto = {
|
||||
id: string;
|
||||
new: {
|
||||
alias: string;
|
||||
expires: Date | null;
|
||||
active: boolean;
|
||||
entities: ApiKeyEntityPermissionDto[];
|
||||
};
|
||||
old: {
|
||||
alias: string;
|
||||
expires: Date | null;
|
||||
active: boolean;
|
||||
entities: ApiKeyEntityPermissionDto[];
|
||||
};
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
export type EmailReceivedDto = {
|
||||
fromEmail: string;
|
||||
fromName?: string;
|
||||
toEmail: string;
|
||||
toName?: string;
|
||||
subject: string;
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
export type MemberDeletedDto = {
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
fromUser: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,22 @@
|
||||
export type MemberInvitationAcceptedDto = {
|
||||
newUser: boolean;
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
slug: string;
|
||||
};
|
||||
fromUser: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
type: string;
|
||||
};
|
||||
invitation: {
|
||||
id: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
export type MemberInvitationCreatedDto = {
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
user: {
|
||||
email: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
type: string;
|
||||
};
|
||||
fromUser: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,5 @@
|
||||
export type OnboardingCompletedDto = {
|
||||
session: { id: string };
|
||||
onboarding: { title: string };
|
||||
user: { id: string; email: string };
|
||||
};
|
||||
@@ -0,0 +1,5 @@
|
||||
export type OnboardingDismissedDto = {
|
||||
session: { id: string };
|
||||
onboarding: { title: string };
|
||||
user: { id: string; email: string };
|
||||
};
|
||||
@@ -0,0 +1,5 @@
|
||||
export type OnboardingStartedDto = {
|
||||
session: { id: string };
|
||||
onboarding: { title: string };
|
||||
user: { id: string; email: string };
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
export type RoleAssignedDto = {
|
||||
fromUser: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
toUser: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
role: {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
export type RoleUnassignedDto = {
|
||||
fromUser: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
toUser: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
role: {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,11 @@
|
||||
export type RowCommentsCreatedDto = {
|
||||
rowId: string;
|
||||
comment: {
|
||||
id: string;
|
||||
text: string;
|
||||
};
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
};
|
||||
@@ -0,0 +1,11 @@
|
||||
export type RowCommentsDeletedDto = {
|
||||
rowId: string;
|
||||
comment: {
|
||||
id: string;
|
||||
text: string;
|
||||
};
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
};
|
||||
@@ -0,0 +1,12 @@
|
||||
export type RowCommentsReactedDto = {
|
||||
rowId: string;
|
||||
reaction: string;
|
||||
comment: {
|
||||
id: string;
|
||||
text: string;
|
||||
};
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
export type RowCreatedDto = {
|
||||
id: string;
|
||||
title: string;
|
||||
row: { [key: string]: any };
|
||||
entity: { id: string; name: string; slug: string; title: string };
|
||||
visibility: string;
|
||||
user?: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
apiKey?: {
|
||||
id: string;
|
||||
alias: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
export type RowDeletedDto = {
|
||||
id: string;
|
||||
title: string;
|
||||
row: { [key: string]: any };
|
||||
entity: { id: string; name: string; slug: string; title: string };
|
||||
user?: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
apiKey?: {
|
||||
id: string;
|
||||
alias: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,12 @@
|
||||
export type RowSharedDto = {
|
||||
id: string;
|
||||
title: string;
|
||||
entity: { id: string; name: string; slug: string; title: string };
|
||||
type: "tenant" | "user" | "role" | "group" | "public";
|
||||
to: string;
|
||||
access: string;
|
||||
user?: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
export type RowTasksCreatedDto = {
|
||||
rowId: string;
|
||||
task: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
user?: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
apiKey?: {
|
||||
id: string;
|
||||
alias: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
export type RowTasksDeletedDto = {
|
||||
rowId: string;
|
||||
task: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
user?: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
apiKey?: {
|
||||
id: string;
|
||||
alias: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
export type RowTasksUpdatedDto = {
|
||||
rowId: string;
|
||||
new: {
|
||||
id: string;
|
||||
name: string;
|
||||
completedAt?: Date | null;
|
||||
};
|
||||
old: {
|
||||
id: string;
|
||||
name: string;
|
||||
completedAt?: Date | null;
|
||||
};
|
||||
user?: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
apiKey?: {
|
||||
id: string;
|
||||
alias: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
export type RowUpdatedDto = {
|
||||
id: string;
|
||||
title: string;
|
||||
row: { [key: string]: any };
|
||||
entity: { id: string; name: string; slug: string; title: string };
|
||||
user?: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
apiKey?: {
|
||||
id: string;
|
||||
alias: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
export type SubscriptionCancelledDto = {
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
subscription?: {
|
||||
product: {
|
||||
id: string;
|
||||
title: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,39 @@
|
||||
export type SubscriptionDowngradedDto = {
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
// to: {
|
||||
// price: {
|
||||
// id: string;
|
||||
// billingPeriod: SubscriptionBillingPeriod;
|
||||
// amount: number;
|
||||
// };
|
||||
// product: {
|
||||
// id: string;
|
||||
// title: string;
|
||||
// };
|
||||
// };
|
||||
// from: {
|
||||
// price: {
|
||||
// id: string;
|
||||
// billingPeriod: SubscriptionBillingPeriod;
|
||||
// amount: number;
|
||||
// };
|
||||
// product: {
|
||||
// id: string;
|
||||
// title: string;
|
||||
// };
|
||||
// };
|
||||
subscription: {
|
||||
product: {
|
||||
id: string;
|
||||
title: string;
|
||||
};
|
||||
session?: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
export type SubscriptionEndedDto = {
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
subscription?: {
|
||||
product: {
|
||||
id: string;
|
||||
title: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
export type SubscriptionSubscribedDto = {
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
slug: string;
|
||||
};
|
||||
subscription: {
|
||||
product: {
|
||||
id: string;
|
||||
title: string;
|
||||
};
|
||||
session?: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,39 @@
|
||||
export type SubscriptionUpgradedDto = {
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
} | null;
|
||||
tenant: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
// to: {
|
||||
// price: {
|
||||
// id: string;
|
||||
// billingPeriod: SubscriptionBillingPeriod;
|
||||
// amount: number;
|
||||
// };
|
||||
// product: {
|
||||
// id: string;
|
||||
// title: string;
|
||||
// };
|
||||
// };
|
||||
// from: {
|
||||
// price: {
|
||||
// id: string;
|
||||
// billingPeriod: SubscriptionBillingPeriod;
|
||||
// amount: number;
|
||||
// };
|
||||
// product: {
|
||||
// id: string;
|
||||
// title: string;
|
||||
// };
|
||||
// };
|
||||
subscription: {
|
||||
product: {
|
||||
id: string;
|
||||
title: string;
|
||||
};
|
||||
session?: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,10 @@
|
||||
export type UserPasswordUpdatedDto = {
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
fromUser?: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
import { LightOrDarkMode } from "~/utils/theme/userThemePreference.server";
|
||||
|
||||
export type UserPreferencesUpdatedDto = {
|
||||
new: {
|
||||
locale?: string;
|
||||
lightOrDarkMode?: LightOrDarkMode;
|
||||
};
|
||||
old: {
|
||||
locale?: string;
|
||||
lightOrDarkMode?: LightOrDarkMode;
|
||||
};
|
||||
user: {
|
||||
id: string;
|
||||
email: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
import { AccountDeletedDto } from "./AccountDeletedDto";
|
||||
|
||||
export type UserProfileDeletedDto = {
|
||||
id: string;
|
||||
email: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
deletedAccounts?: AccountDeletedDto[];
|
||||
};
|
||||
@@ -0,0 +1,12 @@
|
||||
export type UserProfileUpdatedDto = {
|
||||
email: string;
|
||||
new: {
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
};
|
||||
old: {
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
};
|
||||
userId: string;
|
||||
};
|
||||
Reference in new issue
Block a user