Files
speckle-server/packages/server/modules/gatekeeperCore/domain/events.ts
T
2024-12-11 17:22:04 +01:00

12 lines
345 B
TypeScript

export const gatekeeperEventNamespace = 'gatekeeper' as const
const eventPrefix = `${gatekeeperEventNamespace}.` as const
export const GatekeeperEvents = {
WorkspaceTrialExpired: `${eventPrefix}workspace-trial-expired`
} as const
export type GatekeeperEventPayloads = {
[GatekeeperEvents.WorkspaceTrialExpired]: { workspaceId: string }
}