feat(gatekeeper): expire trail workspace plans

This commit is contained in:
Gergő Jedlicska
2024-12-10 19:20:02 +01:00
parent 1104211ad7
commit 45c626323f
10 changed files with 198 additions and 39 deletions
@@ -3,15 +3,15 @@ import { WorkspaceRoles } from '@speckle/shared'
export const workspaceEventNamespace = 'workspace' as const
const workspaceEventPrefix = `${workspaceEventNamespace}.` as const
const eventPrefix = `${workspaceEventNamespace}.` as const
export const WorkspaceEvents = {
Authorized: `${workspaceEventPrefix}authorized`,
Created: `${workspaceEventPrefix}created`,
Updated: `${workspaceEventPrefix}updated`,
RoleDeleted: `${workspaceEventPrefix}role-deleted`,
RoleUpdated: `${workspaceEventPrefix}role-updated`,
JoinedFromDiscovery: `${workspaceEventPrefix}joined-from-discovery`
Authorized: `${eventPrefix}authorized`,
Created: `${eventPrefix}created`,
Updated: `${eventPrefix}updated`,
RoleDeleted: `${eventPrefix}role-deleted`,
RoleUpdated: `${eventPrefix}role-updated`,
JoinedFromDiscovery: `${eventPrefix}joined-from-discovery`
} as const
export type WorkspaceEvents = (typeof WorkspaceEvents)[keyof typeof WorkspaceEvents]