-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1109 from crowdbotics/develop
Merge develop into qa
- Loading branch information
Showing
20 changed files
with
387 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { configFile } from "../utils/configFile.js"; | ||
import { HOST_CONFIG_NAME } from "../utils/constants.js"; | ||
import { | ||
DEVELOPMENT_SEGMENT_KEY, | ||
PRODUCTION_SEGMENT_KEY | ||
} from "./constants.js"; | ||
|
||
export const HAS_ASKED_OPT_IN_NAME = "has-asked-opt-in"; | ||
export const OPT_IN_NAME = "opt-in"; | ||
|
||
export const SEGMENT_API_KEY = | ||
configFile.get(HOST_CONFIG_NAME) === "https://app.crowdbotics.com/" | ||
? PRODUCTION_SEGMENT_KEY | ||
: DEVELOPMENT_SEGMENT_KEY; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export const PRODUCTION_SEGMENT_KEY = "J7ScSXeIOb8KrCJT8HHcMr7yDRDdCsUw"; | ||
export const DEVELOPMENT_SEGMENT_KEY = "WrYiRf1pEB74S4RhSDKC0rQ3db3uVHiE"; | ||
|
||
export const CUSTOMER_TYPE = { | ||
SMB: "SMB", | ||
ENT: "ENT" | ||
}; | ||
|
||
export const EVENT = { | ||
OTHER: "Other CLI Commands", | ||
UPGRADE: "Upgrade Scaffold", | ||
LIST_MODULES: "List Modules", | ||
CREATE_MODULE: "Create Module", | ||
PUBLISH_MODULES: "Publish Modules", | ||
VIEW_MODULE: "View Module Details", | ||
ARCHIVE_MODULE: "Archive Module", | ||
UNARCHIVE_MODULE: "Unarchive Module" | ||
}; |
File renamed without changes.
Oops, something went wrong.