@vandenberghinc/volt 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/dist/cjs/backend/src/frontend.d.ts +2 -0
- package/backend/dist/cjs/backend/src/frontend.js +20 -1
- package/backend/dist/cjs/backend/src/server.js +2 -5
- package/backend/dist/esm/backend/src/frontend.d.ts +2 -0
- package/backend/dist/esm/backend/src/frontend.js +12 -1
- package/backend/dist/esm/backend/src/server.js +2 -5
- package/frontend/assets/admin/admin.png +0 -0
- package/frontend/assets/admin/password.webp +0 -0
- package/frontend/assets/icons/arrow.v1.webp +0 -0
- package/frontend/assets/icons/copy.webp +0 -0
- package/frontend/assets/payments/arrow.long.webp +0 -0
- package/frontend/assets/payments/arrow.long2.webp +0 -0
- package/frontend/assets/payments/cancelled.webp +0 -0
- package/frontend/assets/payments/check.sign.webp +0 -0
- package/frontend/assets/payments/check.webp +0 -0
- package/frontend/assets/payments/close.webp +0 -0
- package/frontend/assets/payments/error.webp +0 -0
- package/frontend/assets/payments/exclamation.webp +0 -0
- package/frontend/assets/payments/minus.webp +0 -0
- package/frontend/assets/payments/party.webp +0 -0
- package/frontend/assets/payments/plus.webp +0 -0
- package/frontend/assets/payments/shopping_cart.webp +0 -0
- package/frontend/assets/payments/trash.webp +0 -0
- package/frontend/css/adyen.css +92 -0
- package/frontend/css/volt.css +75 -0
- package/frontend/dist/backend/src/frontend.d.ts +2 -0
- package/frontend/dist/backend/src/frontend.js +12 -1
- package/frontend/dist/backend/src/server.js +2 -5
- package/package.json +10 -1
- package/.libris/config.json +0 -82
- package/backend/old/file_watcher.ts +0 -359
- package/backend/old/request.deprc.js +0 -626
- package/backend/old/response.deprc.js +0 -354
- package/frontend/examples/theme/theme.ts +0 -58
- package/frontend/tools/bundle_d_ts.js +0 -71
- package/frontend/tools/convert_to_jsdoc_input.txt +0 -9452
- package/frontend/tools/convert_to_jsdoc_output.txt +0 -7626
- package/frontend/tools/convert_to_jsdoc_tmp.js +0 -345
- package/frontend/tools/scan_mixed_imports.js +0 -69
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __export = (target, all) => {
|
|
6
8
|
for (var name in all)
|
|
@@ -14,6 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
16
|
}
|
|
15
17
|
return to;
|
|
16
18
|
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
17
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
28
|
var stdin_exports = {};
|
|
19
29
|
__export(stdin_exports, {
|
|
@@ -21,13 +31,22 @@ __export(stdin_exports, {
|
|
|
21
31
|
default: () => stdin_default
|
|
22
32
|
});
|
|
23
33
|
module.exports = __toCommonJS(stdin_exports);
|
|
34
|
+
var vlib = __toESM(require("@vandenberghinc/vlib"));
|
|
24
35
|
const import_meta = {};
|
|
25
36
|
var __dirname = typeof __dirname !== "undefined" ? __dirname : import_meta.dirname;
|
|
37
|
+
function validate_path(path) {
|
|
38
|
+
if (!vlib.Path.exists(path)) {
|
|
39
|
+
throw new Error(`Frontend path "${path}" does not exist. Please create a GitHub issue to report this.`);
|
|
40
|
+
}
|
|
41
|
+
return path;
|
|
42
|
+
}
|
|
26
43
|
const Frontend = {
|
|
44
|
+
/** The frontend assets path. */
|
|
45
|
+
assets: validate_path(__dirname + "/../../../../../frontend/assets/"),
|
|
27
46
|
/** CSS exports. */
|
|
28
47
|
css: {
|
|
29
48
|
/** The default volt css export. */
|
|
30
|
-
volt: __dirname + "/../../../../../frontend/
|
|
49
|
+
volt: validate_path(__dirname + "/../../../../../frontend/css/volt.css")
|
|
31
50
|
}
|
|
32
51
|
};
|
|
33
52
|
var stdin_default = Frontend;
|
|
@@ -51,6 +51,7 @@ var import_rate_limit = require("./rate_limit.js");
|
|
|
51
51
|
var import_route = require("./route.js");
|
|
52
52
|
var import_internal_external = require("./errors/internal_external.js");
|
|
53
53
|
var import_stripe = require("./payments/stripe/stripe.js");
|
|
54
|
+
var import_frontend = __toESM(require("./frontend.js"));
|
|
54
55
|
const import_meta = {};
|
|
55
56
|
const __filename = (0, import_url.fileURLToPath)(import_meta.url);
|
|
56
57
|
const __dirname = path.dirname(__filename);
|
|
@@ -252,12 +253,8 @@ class Server {
|
|
|
252
253
|
this.endpoint_cache_dir = new vlib.Path("/tmp/volt_server_endpoint_cache/" + this.hash(this.domain));
|
|
253
254
|
this.statics = statics;
|
|
254
255
|
this.statics_aspect_ratios = /* @__PURE__ */ new Map();
|
|
255
|
-
const volt_assets_path = new vlib.Path(`${__dirname}/../../../../../frontend/src/assets/`);
|
|
256
|
-
if (!volt_assets_path.exists()) {
|
|
257
|
-
this.log.warning(`${vlib.Color.yellow_bold("Warning")}: Could not find volt assets directory at "${volt_assets_path.abs().str()}". Please create a GitHub issue to report this.`);
|
|
258
|
-
}
|
|
259
256
|
this.statics.push({
|
|
260
|
-
path:
|
|
257
|
+
path: import_frontend.default.assets,
|
|
261
258
|
endpoint: "/volt/assets"
|
|
262
259
|
});
|
|
263
260
|
if (!(meta instanceof import_meta2.Meta)) {
|
|
@@ -1,12 +1,23 @@
|
|
|
1
|
+
// Imports.
|
|
2
|
+
import * as vlib from "@vandenberghinc/vlib";
|
|
1
3
|
var __dirname = typeof __dirname !== 'undefined' ? __dirname : import.meta.dirname;
|
|
4
|
+
/** Validate if a path exists and return. */
|
|
5
|
+
function validate_path(path) {
|
|
6
|
+
if (!vlib.Path.exists(path)) {
|
|
7
|
+
throw new Error(`Frontend path "${path}" does not exist. Please create a GitHub issue to report this.`);
|
|
8
|
+
}
|
|
9
|
+
return path; // return the raw path.
|
|
10
|
+
}
|
|
2
11
|
/**
|
|
3
12
|
* Exported frontend paths.
|
|
4
13
|
*/
|
|
5
14
|
export const Frontend = {
|
|
15
|
+
/** The frontend assets path. */
|
|
16
|
+
assets: validate_path(__dirname + "/../../../../../frontend/assets/"),
|
|
6
17
|
/** CSS exports. */
|
|
7
18
|
css: {
|
|
8
19
|
/** The default volt css export. */
|
|
9
|
-
volt: __dirname + "/../../../../../frontend/
|
|
20
|
+
volt: validate_path(__dirname + "/../../../../../frontend/css/volt.css"),
|
|
10
21
|
}
|
|
11
22
|
};
|
|
12
23
|
export default Frontend;
|
|
@@ -30,6 +30,7 @@ import { RateLimits, RateLimitServer, RateLimitClient } from "./rate_limit.js";
|
|
|
30
30
|
import { Route } from "./route.js";
|
|
31
31
|
import { ExternalError } from './errors/internal_external.js';
|
|
32
32
|
import { Stripe } from "./payments/stripe/stripe.js";
|
|
33
|
+
import Frontend from './frontend.js';
|
|
33
34
|
/**
|
|
34
35
|
* The server class.
|
|
35
36
|
* @note Automatically runs on HTTP/HTTPS depending on the constructor options.
|
|
@@ -341,12 +342,8 @@ export class Server {
|
|
|
341
342
|
this.statics = statics;
|
|
342
343
|
this.statics_aspect_ratios = new Map();
|
|
343
344
|
// Add the default static to statics.
|
|
344
|
-
const volt_assets_path = new vlib.Path(`${__dirname}/../../../../../frontend/src/assets/`);
|
|
345
|
-
if (!volt_assets_path.exists()) {
|
|
346
|
-
this.log.warning(`${vlib.Color.yellow_bold("Warning")}: Could not find volt assets directory at "${volt_assets_path.abs().str()}". Please create a GitHub issue to report this.`);
|
|
347
|
-
}
|
|
348
345
|
this.statics.push({
|
|
349
|
-
path:
|
|
346
|
+
path: Frontend.assets,
|
|
350
347
|
endpoint: "/volt/assets",
|
|
351
348
|
});
|
|
352
349
|
// Set meta.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* Payment method container */
|
|
2
|
+
.adyen-checkout__payment-method {
|
|
3
|
+
border-radius: var(--vpayments_border_radius);
|
|
4
|
+
margin: 5px 0px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* Buttons */
|
|
8
|
+
.adyen-checkout__button {
|
|
9
|
+
background: var(--vpayments_button_bg);
|
|
10
|
+
color: var(--vpayments_button_fg);
|
|
11
|
+
border-radius: var(--vpayments_button_border_radius);
|
|
12
|
+
transition: filter 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
13
|
+
}
|
|
14
|
+
.adyen-checkout__button:hover {
|
|
15
|
+
background: var(--vpayments_button_bg);
|
|
16
|
+
color: var(--vpayments_button_fg);
|
|
17
|
+
filter: brightness(1.1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Selected item circle */
|
|
21
|
+
.adyen-checkout__payment-method__radio {
|
|
22
|
+
border: 1px solid var(--vpayments_border_bg);
|
|
23
|
+
transition: outline 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
24
|
+
}
|
|
25
|
+
.adyen-checkout__payment-method__radio--selected {
|
|
26
|
+
background: var(--vpayments_button_bg);
|
|
27
|
+
}
|
|
28
|
+
.adyen-checkout__payment-method__radio--selected::after {
|
|
29
|
+
background: var(--vpayments_button_fg);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Input label names. */
|
|
33
|
+
.adyen-checkout__label > .adyen-checkout__label__text {
|
|
34
|
+
color: var(--vpayments_fg);
|
|
35
|
+
}
|
|
36
|
+
.adyen-checkout__label--focused > .adyen-checkout__label__text {
|
|
37
|
+
color: var(--vpayments_theme_fg);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Input fields */
|
|
41
|
+
.adyen-checkout__input,
|
|
42
|
+
.adyen-checkout__input--text,
|
|
43
|
+
.adyen-checkout__dropdown__button {
|
|
44
|
+
border-radius: var(--vpayments_border_radius);
|
|
45
|
+
border: 1px solid var(--vpayments_border_bg);
|
|
46
|
+
/*box-shadow: 0 0 0 0px transparent; causes the custom inputs like card holder when invalid to stop enabling box-shadow */
|
|
47
|
+
transition: outline 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
48
|
+
}
|
|
49
|
+
.adyen-checkout__input:hover,
|
|
50
|
+
.adyen-checkout__input--text:hover,
|
|
51
|
+
.adyen-checkout__dropdown__button:hover {
|
|
52
|
+
border: 1px solid var(--vpayments_border_bg);
|
|
53
|
+
}
|
|
54
|
+
.adyen-checkout__input:focus,
|
|
55
|
+
.adyen-checkout__input:focus:hover,
|
|
56
|
+
.adyen-checkout__input:active,
|
|
57
|
+
.adyen-checkout__input:active:hover,
|
|
58
|
+
.adyen-checkout__input--focus,
|
|
59
|
+
.adyen-checkout__input--focus:hover,
|
|
60
|
+
.adyen-checkout__dropdown__button--active,
|
|
61
|
+
.adyen-checkout__dropdown__button--active:hover {
|
|
62
|
+
border: 1px solid var(--vpayments_theme_fg);
|
|
63
|
+
box-shadow: 0 0 0 2px var(--vpayments_theme_fg_80);
|
|
64
|
+
}
|
|
65
|
+
.adyen-checkout__input--error,
|
|
66
|
+
.adyen-checkout__input--error:hover,
|
|
67
|
+
.adyen-checkout__input--error:required,
|
|
68
|
+
.adyen-checkout__input--invalid,
|
|
69
|
+
.adyen-checkout__input--invalid:hover,
|
|
70
|
+
.adyen-checkout__input--invalid:required,
|
|
71
|
+
.adyen-checkout__dropdown__button--invalid,
|
|
72
|
+
.adyen-checkout__dropdown__button--invalid:hover,
|
|
73
|
+
.adyen-checkout__dropdown__button--invalid:required {
|
|
74
|
+
border: 1px solid var(--vpayments_missing_fg);
|
|
75
|
+
box-shadow: 0 0 0 2px var(--vpayments_missing_fg_80);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Dropdown list */
|
|
79
|
+
.adyen-checkout__dropdown__list {
|
|
80
|
+
/* Dropdown list */
|
|
81
|
+
color: var(--vpayments_fg);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Checkout status container */
|
|
85
|
+
.adyen-checkout__status {
|
|
86
|
+
border: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Adyen checkout dropin */
|
|
90
|
+
.adyen-checkout__dropin {
|
|
91
|
+
width: 100%; /* since the container centers the content. */
|
|
92
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Author: Daan van den Bergh
|
|
3
|
+
Copyright: © 2022 Daan van den Bergh.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* On all elements. */
|
|
7
|
+
* {
|
|
8
|
+
|
|
9
|
+
/* Box sizing on all elements. */
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
-webkit-box-sizing: border-box;
|
|
12
|
+
-mos-box-sizing: border-box;
|
|
13
|
+
-ms-box-sizing: border-box;
|
|
14
|
+
|
|
15
|
+
/* Hide scrollbar.
|
|
16
|
+
-webkit-scrollbar::display: none;
|
|
17
|
+
-ms-overflow-style: none;
|
|
18
|
+
scrollbar-width: none;
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/*kill the transitions on any descendant elements of .volt_notransition*/
|
|
24
|
+
.volt_notransition *,
|
|
25
|
+
.volt_notransition *::before,
|
|
26
|
+
.volt_notransition *::after {
|
|
27
|
+
transition: none !important;
|
|
28
|
+
}
|
|
29
|
+
/* .volt_notransition * {
|
|
30
|
+
transition: none !important;
|
|
31
|
+
} */
|
|
32
|
+
|
|
33
|
+
/* Hide the scrollbar */
|
|
34
|
+
.volt_hide_scrollbar {
|
|
35
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
36
|
+
scrollbar-width: none; /* Firefox */
|
|
37
|
+
}
|
|
38
|
+
.volt_hide_scrollbar::-webkit-scrollbar {
|
|
39
|
+
display: none;
|
|
40
|
+
background: transparent;
|
|
41
|
+
width: 0 !important
|
|
42
|
+
}
|
|
43
|
+
.volt_hide_scrollbar::-webkit-scrollbar:horizontal {
|
|
44
|
+
height: 0;
|
|
45
|
+
width: 0;
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
/* */
|
|
49
|
+
.volt_hide_scrollbar::-webkit-scrollbar-thumb {
|
|
50
|
+
display: none;
|
|
51
|
+
background: transparent;
|
|
52
|
+
}
|
|
53
|
+
.volt_hide_scrollbar::-webkit-scrollbar-horizontal {
|
|
54
|
+
height: 0.5em;
|
|
55
|
+
display: none;
|
|
56
|
+
background: transparent;
|
|
57
|
+
}
|
|
58
|
+
.volt_hide_scrollbar::-webkit-scrollbar-horizontal-track {
|
|
59
|
+
display: none;
|
|
60
|
+
background: transparent;
|
|
61
|
+
}
|
|
62
|
+
.volt_hide_scrollbar::-webkit-scrollbar-thumb-horizontal {
|
|
63
|
+
display: none;
|
|
64
|
+
background: transparent;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Ring loader keyframe. */
|
|
68
|
+
@keyframes RingLoader {
|
|
69
|
+
0% {
|
|
70
|
+
transform: rotate(0deg);
|
|
71
|
+
}
|
|
72
|
+
100% {
|
|
73
|
+
transform: rotate(360deg);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -1,12 +1,23 @@
|
|
|
1
|
+
// Imports.
|
|
2
|
+
import * as vlib from "@vandenberghinc/vlib";
|
|
1
3
|
var __dirname = typeof __dirname !== 'undefined' ? __dirname : import.meta.dirname;
|
|
4
|
+
/** Validate if a path exists and return. */
|
|
5
|
+
function validate_path(path) {
|
|
6
|
+
if (!vlib.Path.exists(path)) {
|
|
7
|
+
throw new Error(`Frontend path "${path}" does not exist. Please create a GitHub issue to report this.`);
|
|
8
|
+
}
|
|
9
|
+
return path; // return the raw path.
|
|
10
|
+
}
|
|
2
11
|
/**
|
|
3
12
|
* Exported frontend paths.
|
|
4
13
|
*/
|
|
5
14
|
export const Frontend = {
|
|
15
|
+
/** The frontend assets path. */
|
|
16
|
+
assets: validate_path(__dirname + "/../../../../../frontend/assets/"),
|
|
6
17
|
/** CSS exports. */
|
|
7
18
|
css: {
|
|
8
19
|
/** The default volt css export. */
|
|
9
|
-
volt: __dirname + "/../../../../../frontend/
|
|
20
|
+
volt: validate_path(__dirname + "/../../../../../frontend/css/volt.css"),
|
|
10
21
|
}
|
|
11
22
|
};
|
|
12
23
|
export default Frontend;
|
|
@@ -30,6 +30,7 @@ import { RateLimits, RateLimitServer, RateLimitClient } from "./rate_limit.js";
|
|
|
30
30
|
import { Route } from "./route.js";
|
|
31
31
|
import { ExternalError } from './errors/internal_external.js';
|
|
32
32
|
import { Stripe } from "./payments/stripe/stripe.js";
|
|
33
|
+
import Frontend from './frontend.js';
|
|
33
34
|
/**
|
|
34
35
|
* The server class.
|
|
35
36
|
* @note Automatically runs on HTTP/HTTPS depending on the constructor options.
|
|
@@ -341,12 +342,8 @@ export class Server {
|
|
|
341
342
|
this.statics = statics;
|
|
342
343
|
this.statics_aspect_ratios = new Map();
|
|
343
344
|
// Add the default static to statics.
|
|
344
|
-
const volt_assets_path = new vlib.Path(`${__dirname}/../../../../../frontend/src/assets/`);
|
|
345
|
-
if (!volt_assets_path.exists()) {
|
|
346
|
-
this.log.warning(`${vlib.Color.yellow_bold("Warning")}: Could not find volt assets directory at "${volt_assets_path.abs().str()}". Please create a GitHub issue to report this.`);
|
|
347
|
-
}
|
|
348
345
|
this.statics.push({
|
|
349
|
-
path:
|
|
346
|
+
path: Frontend.assets,
|
|
350
347
|
endpoint: "/volt/assets",
|
|
351
348
|
});
|
|
352
349
|
// Set meta.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Daan van den Bergh",
|
|
3
3
|
"name": "@vandenberghinc/volt",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.7",
|
|
5
5
|
"description": "",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./backend/dist/esm/index.d.ts",
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
"import": "./frontend/dist/frontend/src/index.js"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
+
"files": [
|
|
20
|
+
"frontend/assets/**",
|
|
21
|
+
"frontend/css/**",
|
|
22
|
+
"frontend/dist/**",
|
|
23
|
+
"backend/dist/**",
|
|
24
|
+
"package.json",
|
|
25
|
+
"README.md",
|
|
26
|
+
"LICENSE"
|
|
27
|
+
],
|
|
19
28
|
"scripts": {
|
|
20
29
|
"link": "vrepo --npm --link --dependencies ../vlib/ts/,../vhighlight/",
|
|
21
30
|
"unlink": "vrepo --npm --unlink",
|
package/.libris/config.json
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"project": "volt",
|
|
4
|
-
"version": "1.1.1",
|
|
5
|
-
"entry": [
|
|
6
|
-
"backend/src/index.ts"
|
|
7
|
-
],
|
|
8
|
-
"exclude": [
|
|
9
|
-
"**/*.js"
|
|
10
|
-
],
|
|
11
|
-
"sort": "ascending",
|
|
12
|
-
"favicon": "https://raw.githubusercontent.com/vandenberghinc/volt/master/dev/media/icon/favicon.ico",
|
|
13
|
-
"icon": {
|
|
14
|
-
"dark": "https://raw.githubusercontent.com/vandenberghinc/volt/master/dev/media/icon/stroke.png",
|
|
15
|
-
"light": "https://raw.githubusercontent.com/vandenberghinc/volt/master/dev/media/icon/stroke.dark.png",
|
|
16
|
-
"height": 30
|
|
17
|
-
},
|
|
18
|
-
"theme": {
|
|
19
|
-
"dark": {
|
|
20
|
-
"extends": "dark",
|
|
21
|
-
"primary": "linear-gradient(70deg, #F9DB4A 0%, #EA682C 100%)",
|
|
22
|
-
"primary_base": "#EA682C",
|
|
23
|
-
"bg": "#1C232E"
|
|
24
|
-
},
|
|
25
|
-
"light": {
|
|
26
|
-
"extends": "light",
|
|
27
|
-
"primary": "linear-gradient(70deg, #F9DB4A 0%, #EA682C 100%)",
|
|
28
|
-
"primary_base": "#EA682C"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"sections": [
|
|
32
|
-
{
|
|
33
|
-
"text": "Node.js",
|
|
34
|
-
"url": "/docs/miF5fmUsvgaEcqLP/volt/latest"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"text": "Browser",
|
|
38
|
-
"url": "/docs/miF5fmUsvgaEcqLP/volt-web/latest"
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"project": "volt-web",
|
|
44
|
-
"version": "1.1.1",
|
|
45
|
-
"entry": [
|
|
46
|
-
"frontend/src/index.ts"
|
|
47
|
-
],
|
|
48
|
-
"exclude": [
|
|
49
|
-
"**/*.js"
|
|
50
|
-
],
|
|
51
|
-
"sort": "ascending",
|
|
52
|
-
"favicon": "https://raw.githubusercontent.com/vandenberghinc/volt/master/dev/media/icon/favicon.ico",
|
|
53
|
-
"icon": {
|
|
54
|
-
"dark": "https://raw.githubusercontent.com/vandenberghinc/volt/master/dev/media/icon/stroke.png",
|
|
55
|
-
"light": "https://raw.githubusercontent.com/vandenberghinc/volt/master/dev/media/icon/stroke.dark.png",
|
|
56
|
-
"height": 30
|
|
57
|
-
},
|
|
58
|
-
"theme": {
|
|
59
|
-
"dark": {
|
|
60
|
-
"extends": "dark",
|
|
61
|
-
"primary": "linear-gradient(70deg, #F9DB4A 0%, #EA682C 100%)",
|
|
62
|
-
"primary_base": "#EA682C",
|
|
63
|
-
"bg": "#1C232E"
|
|
64
|
-
},
|
|
65
|
-
"light": {
|
|
66
|
-
"extends": "light",
|
|
67
|
-
"primary": "linear-gradient(70deg, #F9DB4A 0%, #EA682C 100%)",
|
|
68
|
-
"primary_base": "#EA682C"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"sections": [
|
|
72
|
-
{
|
|
73
|
-
"text": "Node.js",
|
|
74
|
-
"url": "/docs/miF5fmUsvgaEcqLP/volt/latest"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"text": "Browser",
|
|
78
|
-
"url": "/docs/miF5fmUsvgaEcqLP/volt-web/latest"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
]
|