1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | /**
|
7 | * HTTP status code constants, representing the HTTP status codes recognized
|
8 | * and processed by this proxy.
|
9 | *
|
10 | * @enum {string}
|
11 | * @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
|
12 | */
|
13 | const RouteNames = Object.freeze({
|
14 | /**
|
15 | * The internal route name used for the "not found" error page (the 4XX
|
16 | * HTTP status code error page).
|
17 | *
|
18 | * @const
|
19 | * @type {string}
|
20 | */
|
21 | NOT_FOUND: 'notFound',
|
22 |
|
23 | /**
|
24 | * The internal route name used for the error page (the 5XX HTTP status
|
25 | * code error page).
|
26 | *
|
27 | * @const
|
28 | * @type {string}
|
29 | */
|
30 | ERROR: 'error'
|
31 | });
|
32 |
|
33 | exports.default = RouteNames;
|
34 |
|
35 | typeof $IMA !== 'undefined' && $IMA !== null && $IMA.Loader && $IMA.Loader.register('ima/router/RouteNames', [], function (_export, _context) {
|
36 | ;
|
37 | return {
|
38 | setters: [],
|
39 | execute: function () {
|
40 | _export('default', exports.default);
|
41 | }
|
42 | };
|
43 | });
|