forked from pybricks/pybricks-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.ts
More file actions
89 lines (64 loc) · 3.22 KB
/
constants.ts
File metadata and controls
89 lines (64 loc) · 3.22 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// SPDX-License-Identifier: MIT
// Copyright (c) 2021-2026 The Pybricks Authors
import docsPackage from '@pybricks/ide-docs/package.json';
// Definitions for compile-time UI settings.
/** The official Pybricks blue color. */
export const pybricksBlue = '#0088ce';
/** Time in milliseconds before showing tooltip popover. */
export const tooltipDelay = 1000;
/** Official name of the app. */
export const appName = process.env.REACT_APP_NAME || 'REACT_APP_NAME is undefined';
/** The version of the app (without the "v" prefix). */
export const appVersion =
process.env.REACT_APP_VERSION || 'REACT_APP_VERSION is undefined';
/** URL to Pybricks Code changelog. */
export const changelogUrl =
'https://github.com/pybricks/pybricks-code/blob/master/CHANGELOG.md';
/** URL to main Pybricks website. */
export const pybricksWebsiteUrl = 'https://pybricks.com';
/** URL to Pybricks team page. */
export const pybricksTeamUrl = 'https://pybricks.com/about/#the-pybricks-team';
/** URL to Pybricks support site. */
export const pybricksSupportUrl = 'https://github.com/pybricks/support/discussions';
/** URL to Pybricks projects site. */
export const pybricksProjectsUrl = 'https://pybricks.com/projects/';
/** URL to Pybricks bug report site. */
export const pybricksBugReportsUrl = 'https://github.com/pybricks/support/issues';
/** URL for Pybricks community chat on Gitter */
export const pybricksGitterUrl = 'https://gitter.im/pybricks/community';
export const pybricksBluetoothTroubleshootingUrl =
'https://github.com/pybricks/support/discussions/270';
export const pybricksUsbDfuTroubleshootingUrl =
'https://github.com/pybricks/support/discussions/688';
export const pybricksUsbLinuxUdevRulesUrl =
'https://pybricks.com/project/pybricks-on-linux/';
/** Pybricks copyright statement. */
export const pybricksCopyright = 'Copyright (c) 2020-2026 The Pybricks Authors';
/** The LEGO name with registered trademark symbol. */
export const legoRegisteredTrademark = 'LEGO®';
/** The LEGO Education SPIKE name with registered trademark symbol. */
export const legoEducationSpikeRegisteredTrademark = 'LEGO® Education™ SPIKE™';
/** The LEGO MINDSTORMS name with registered trademark symbol. */
export const legoMindstormsRegisteredTrademark = 'LEGO® MINDSTORMS®';
// https://www.lego.com/en-us/legal/notices-and-policies/fair-play/
/** LEGO "fair play" disclaimer */
export const legoDisclaimer =
'LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this site.';
/**
* Provides a version for the required headers of this app.
*
* This is used for cache bursting when the required headers change.
*
* Currently, the following headers are required:
* Cross-Origin-Opener-Policy: same-origin
* Cross-Origin-Embedder-Policy: require-corp
*/
export const httpServerHeadersVersion = 2;
/** Path to directory where docs are copied by webpack. */
export const docsPathPrefix = `static/docs/v${docsPackage.version}/`;
/** The index page of the docs. */
export const docsDefaultPage = `${docsPathPrefix}index.html`;
/** The ZIP file extension ('.zip') */
export const zipFileExtension = '.zip';
/** The ZIP file MIME type ('application/zip') */
export const zipFileMimeType = 'application/zip';