-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconstants.ts
More file actions
44 lines (40 loc) · 967 Bytes
/
constants.ts
File metadata and controls
44 lines (40 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
export const TLD: Record<string, string> = {
staging: ".neetoauth.net",
development: ".lvh.me:9000",
production: ".neetoauth.com",
};
export const USER_LOGIN_PATH = "/users/auth/jwt";
export const CONSUMER_LOGIN_PATH = "/consumers/auth/jwt";
export const CONSUMER_AUTH_HOST = "app";
export const NEETO_URL_COMPONENT_REGEX = /neeto(\w+)/;
export const NEETO_URL_PREFIX_REGEX = /^(https?:\/\/)?(www\.)?[\w-]+\./;
export const CLIENT_APPS = {
cal: "Cal",
form: "Form",
record: "Record",
invoice: "Invoice",
desk: "Desk",
chat: "Chat",
kb: "KB",
site: "Site",
runner: "Runner",
wireframe: "Wireframe",
engage: "Engage",
quiz: "Quiz",
replay: "Replay",
planner: "Planner",
crm: "CRM",
publish: "Publish",
course: "Course",
testify: "Testify",
code: "Code",
git: "Git",
ci: "CI",
deploy: "Deploy",
playdash: "Playdash",
tower: "Tower",
};
export const SCOPES = {
user: "user",
consumer: "consumer",
} as const;