Adds OnboardingProcessCorrelationKey

This commit is contained in:
jvcalderon 2024-03-12 13:45:09 +01:00
parent bed813da77
commit 40cb22a7d5
3 changed files with 22 additions and 1 deletions

@ -1 +1 @@
Subproject commit 0c050591c21d3b67dc0c9225d60cc9e2324c8dac
Subproject commit 3ce7c629b523f2481a4d6c9ad906fb345cc9039d

View File

@ -3,6 +3,7 @@
*/
export { OperatorOptions, SqlNumberTypeRangeMap } from "@budibase/shared-core"
export { Feature as Features } from "@budibase/types"
import { BpmCorrelationKey } from "@budibase/shared-core"
// Cookie names
export const Cookies = {
@ -10,6 +11,7 @@ export const Cookies = {
CurrentApp: "budibase:currentapp",
ReturnUrl: "budibase:returnurl",
AccountReturnUrl: "budibase:account:returnurl",
OnboardingProcessCorrelationKey: BpmCorrelationKey.ONBOARDING,
}
// Table names

View File

@ -158,3 +158,22 @@ export const InvalidFileExtensions = [
"wsh",
"zip",
]
export enum BpmCorrelationKey {
ONBOARDING = "budibase:onboarding:correlationkey"
}
export enum BpmInstanceKey {
ONBOARDING = "budibase:onboarding:instancekey"
}
export enum BpmStatusKey {
ONBOARDING = "budibase:onboarding:status"
}
export enum BpmStatusValue {
STARTED = "started",
COMPLETING_ACCOUNT_INFO = "completing_account_info",
VALIDATING_EMAIL = "validating_email",
COMPLETED = "completed",
}