@luzzle/web.tools 0.0.69
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/README.md +28 -0
- package/dist/src/browser.d.ts +1 -0
- package/dist/src/browser.js +2 -0
- package/dist/src/browser.js.map +1 -0
- package/dist/src/cli.d.ts +2 -0
- package/dist/src/cli.js +19 -0
- package/dist/src/cli.js.map +1 -0
- package/dist/src/commands/assets/command.d.ts +30 -0
- package/dist/src/commands/assets/command.js +41 -0
- package/dist/src/commands/assets/command.js.map +1 -0
- package/dist/src/commands/assets/index.d.ts +4 -0
- package/dist/src/commands/assets/index.js +79 -0
- package/dist/src/commands/assets/index.js.map +1 -0
- package/dist/src/commands/assets/index.test.d.ts +1 -0
- package/dist/src/commands/assets/index.test.js +419 -0
- package/dist/src/commands/assets/index.test.js.map +1 -0
- package/dist/src/commands/assets/variants.d.ts +8 -0
- package/dist/src/commands/assets/variants.js +23 -0
- package/dist/src/commands/assets/variants.js.map +1 -0
- package/dist/src/commands/assets/variants.test.d.ts +1 -0
- package/dist/src/commands/assets/variants.test.js +48 -0
- package/dist/src/commands/assets/variants.test.js.map +1 -0
- package/dist/src/commands/config/command.d.ts +2 -0
- package/dist/src/commands/config/command.js +42 -0
- package/dist/src/commands/config/command.js.map +1 -0
- package/dist/src/commands/config/index.d.ts +3 -0
- package/dist/src/commands/config/index.js +37 -0
- package/dist/src/commands/config/index.js.map +1 -0
- package/dist/src/commands/config/index.test.d.ts +1 -0
- package/dist/src/commands/config/index.test.js +93 -0
- package/dist/src/commands/config/index.test.js.map +1 -0
- package/dist/src/commands/opengraph/browser.d.ts +3 -0
- package/dist/src/commands/opengraph/browser.js +23 -0
- package/dist/src/commands/opengraph/browser.js.map +1 -0
- package/dist/src/commands/opengraph/browser.test.d.ts +1 -0
- package/dist/src/commands/opengraph/browser.test.js +30 -0
- package/dist/src/commands/opengraph/browser.test.js.map +1 -0
- package/dist/src/commands/opengraph/command.d.ts +30 -0
- package/dist/src/commands/opengraph/command.js +41 -0
- package/dist/src/commands/opengraph/command.js.map +1 -0
- package/dist/src/commands/opengraph/command.test.d.ts +1 -0
- package/dist/src/commands/opengraph/command.test.js +68 -0
- package/dist/src/commands/opengraph/command.test.js.map +1 -0
- package/dist/src/commands/opengraph/html.d.ts +4 -0
- package/dist/src/commands/opengraph/html.js +47 -0
- package/dist/src/commands/opengraph/html.js.map +1 -0
- package/dist/src/commands/opengraph/html.test.d.ts +1 -0
- package/dist/src/commands/opengraph/html.test.js +79 -0
- package/dist/src/commands/opengraph/html.test.js.map +1 -0
- package/dist/src/commands/opengraph/index.d.ts +4 -0
- package/dist/src/commands/opengraph/index.js +47 -0
- package/dist/src/commands/opengraph/index.js.map +1 -0
- package/dist/src/commands/opengraph/index.test.d.ts +1 -0
- package/dist/src/commands/opengraph/index.test.js +162 -0
- package/dist/src/commands/opengraph/index.test.js.map +1 -0
- package/dist/src/commands/opengraph/png.d.ts +3 -0
- package/dist/src/commands/opengraph/png.js +26 -0
- package/dist/src/commands/opengraph/png.js.map +1 -0
- package/dist/src/commands/opengraph/png.test.d.ts +1 -0
- package/dist/src/commands/opengraph/png.test.js +50 -0
- package/dist/src/commands/opengraph/png.test.js.map +1 -0
- package/dist/src/commands/opengraph/svelte.d.ts +7 -0
- package/dist/src/commands/opengraph/svelte.js +77 -0
- package/dist/src/commands/opengraph/svelte.js.map +1 -0
- package/dist/src/commands/opengraph/svelte.test.d.ts +1 -0
- package/dist/src/commands/opengraph/svelte.test.js +189 -0
- package/dist/src/commands/opengraph/svelte.test.js.map +1 -0
- package/dist/src/commands/opengraph/utils.d.ts +8 -0
- package/dist/src/commands/opengraph/utils.js +136 -0
- package/dist/src/commands/opengraph/utils.js.map +1 -0
- package/dist/src/commands/opengraph/utils.test.d.ts +1 -0
- package/dist/src/commands/opengraph/utils.test.js +215 -0
- package/dist/src/commands/opengraph/utils.test.js.map +1 -0
- package/dist/src/commands/sqlite/command.d.ts +8 -0
- package/dist/src/commands/sqlite/command.js +16 -0
- package/dist/src/commands/sqlite/command.js.map +1 -0
- package/dist/src/commands/sqlite/command.test.d.ts +1 -0
- package/dist/src/commands/sqlite/command.test.js +42 -0
- package/dist/src/commands/sqlite/command.test.js.map +1 -0
- package/dist/src/commands/sqlite/database.d.ts +9 -0
- package/dist/src/commands/sqlite/database.js +174 -0
- package/dist/src/commands/sqlite/database.js.map +1 -0
- package/dist/src/commands/sqlite/database.mock.d.ts +24 -0
- package/dist/src/commands/sqlite/database.mock.js +58 -0
- package/dist/src/commands/sqlite/database.mock.js.map +1 -0
- package/dist/src/commands/sqlite/database.test.d.ts +1 -0
- package/dist/src/commands/sqlite/database.test.js +211 -0
- package/dist/src/commands/sqlite/database.test.js.map +1 -0
- package/dist/src/commands/sqlite/index.d.ts +1 -0
- package/dist/src/commands/sqlite/index.js +26 -0
- package/dist/src/commands/sqlite/index.js.map +1 -0
- package/dist/src/commands/sqlite/index.test.d.ts +1 -0
- package/dist/src/commands/sqlite/index.test.js +48 -0
- package/dist/src/commands/sqlite/index.test.js.map +1 -0
- package/dist/src/commands/theme/command.d.ts +13 -0
- package/dist/src/commands/theme/command.js +21 -0
- package/dist/src/commands/theme/command.js.map +1 -0
- package/dist/src/commands/theme/command.test.d.ts +1 -0
- package/dist/src/commands/theme/command.test.js +40 -0
- package/dist/src/commands/theme/command.test.js.map +1 -0
- package/dist/src/commands/theme/index.d.ts +1 -0
- package/dist/src/commands/theme/index.js +9 -0
- package/dist/src/commands/theme/index.js.map +1 -0
- package/dist/src/commands/theme/index.test.d.ts +1 -0
- package/dist/src/commands/theme/index.test.js +46 -0
- package/dist/src/commands/theme/index.test.js.map +1 -0
- package/dist/src/commands/theme/theme.d.ts +4 -0
- package/dist/src/commands/theme/theme.js +76 -0
- package/dist/src/commands/theme/theme.js.map +1 -0
- package/dist/src/commands/theme/theme.test.d.ts +1 -0
- package/dist/src/commands/theme/theme.test.js +54 -0
- package/dist/src/commands/theme/theme.test.js.map +1 -0
- package/dist/src/lib/browser.d.ts +55 -0
- package/dist/src/lib/browser.js +52 -0
- package/dist/src/lib/browser.js.map +1 -0
- package/dist/src/lib/browser.test.d.ts +1 -0
- package/dist/src/lib/browser.test.js +67 -0
- package/dist/src/lib/browser.test.js.map +1 -0
- package/dist/src/lib/config/config.d.ts +9 -0
- package/dist/src/lib/config/config.js +56 -0
- package/dist/src/lib/config/config.js.map +1 -0
- package/dist/src/lib/config/config.test.d.ts +1 -0
- package/dist/src/lib/config/config.test.js +71 -0
- package/dist/src/lib/config/config.test.js.map +1 -0
- package/dist/src/lib/config/config.test.ts +88 -0
- package/dist/src/lib/config/config.ts +74 -0
- package/dist/src/lib/config/defaults.json +145 -0
- package/dist/src/lib/config/defaults.yaml +151 -0
- package/dist/src/lib/config/schema.d.ts +172 -0
- package/dist/src/lib/config/schema.js +8 -0
- package/dist/src/lib/config/schema.js.map +1 -0
- package/dist/src/lib/config/schema.json +663 -0
- package/dist/src/lib/config/schema.ts +294 -0
- package/dist/src/lib/config/user-error.config.yaml +2 -0
- package/dist/src/lib/config/user.config.yaml +2 -0
- package/dist/src/lib/deep-merge.d.ts +1 -0
- package/dist/src/lib/deep-merge.js +27 -0
- package/dist/src/lib/deep-merge.js.map +1 -0
- package/dist/src/lib/deep-merge.test.d.ts +1 -0
- package/dist/src/lib/deep-merge.test.js +29 -0
- package/dist/src/lib/deep-merge.test.js.map +1 -0
- package/dist/src/lib/lastRun.d.ts +4 -0
- package/dist/src/lib/lastRun.js +23 -0
- package/dist/src/lib/lastRun.js.map +1 -0
- package/dist/src/lib/lastRun.test.d.ts +1 -0
- package/dist/src/lib/lastRun.test.js +47 -0
- package/dist/src/lib/lastRun.test.js.map +1 -0
- package/dist/src/lib/vibrant.d.ts +21 -0
- package/dist/src/lib/vibrant.js +78 -0
- package/dist/src/lib/vibrant.js.map +1 -0
- package/dist/src/lib/vibrant.test.d.ts +1 -0
- package/dist/src/lib/vibrant.test.js +164 -0
- package/dist/src/lib/vibrant.test.js.map +1 -0
- package/dist/src/sdk.d.ts +4 -0
- package/dist/src/sdk.js +4 -0
- package/dist/src/sdk.js.map +1 -0
- package/dist/src/types.d.ts +2 -0
- package/dist/src/types.js +2 -0
- package/dist/src/types.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +54 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
+
*/
|
|
6
|
+
export interface Schema {
|
|
7
|
+
url: {
|
|
8
|
+
app: string;
|
|
9
|
+
app_assets: string;
|
|
10
|
+
luzzle_assets: string;
|
|
11
|
+
editor: string;
|
|
12
|
+
};
|
|
13
|
+
text: {
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
paths: {
|
|
18
|
+
database: string;
|
|
19
|
+
config?: string;
|
|
20
|
+
};
|
|
21
|
+
content?: {
|
|
22
|
+
block?: {
|
|
23
|
+
root?: string;
|
|
24
|
+
feed?: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
pieces: {
|
|
28
|
+
type: string;
|
|
29
|
+
fields: {
|
|
30
|
+
media?: string;
|
|
31
|
+
title: string;
|
|
32
|
+
summary?: string;
|
|
33
|
+
date_consumed: string;
|
|
34
|
+
tags?: string;
|
|
35
|
+
assets?: string[];
|
|
36
|
+
};
|
|
37
|
+
components?: {
|
|
38
|
+
icon?: string;
|
|
39
|
+
opengraph?: string;
|
|
40
|
+
page?: string;
|
|
41
|
+
};
|
|
42
|
+
}[];
|
|
43
|
+
theme: {
|
|
44
|
+
light: {
|
|
45
|
+
"color-primary"?: string;
|
|
46
|
+
"color-on-primary"?: string;
|
|
47
|
+
"color-primary-container"?: string;
|
|
48
|
+
"color-on-primary-container"?: string;
|
|
49
|
+
"color-secondary"?: string;
|
|
50
|
+
"color-on-secondary"?: string;
|
|
51
|
+
"color-secondary-container"?: string;
|
|
52
|
+
"color-on-secondary-container"?: string;
|
|
53
|
+
"color-tertiary"?: string;
|
|
54
|
+
"color-on-tertiary"?: string;
|
|
55
|
+
"color-tertiary-container"?: string;
|
|
56
|
+
"color-on-tertiary-container"?: string;
|
|
57
|
+
"color-error"?: string;
|
|
58
|
+
"color-on-error"?: string;
|
|
59
|
+
"color-error-container"?: string;
|
|
60
|
+
"color-on-error-container"?: string;
|
|
61
|
+
"color-surface"?: string;
|
|
62
|
+
"color-surface-dim"?: string;
|
|
63
|
+
"color-surface-bright"?: string;
|
|
64
|
+
"color-surface-inverse"?: string;
|
|
65
|
+
"color-on-surface"?: string;
|
|
66
|
+
"color-on-surface-variant"?: string;
|
|
67
|
+
"color-on-surface-inverse"?: string;
|
|
68
|
+
"color-surface-container-lowest"?: string;
|
|
69
|
+
"color-surface-container-low"?: string;
|
|
70
|
+
"color-surface-container"?: string;
|
|
71
|
+
"color-surface-container-high"?: string;
|
|
72
|
+
"color-surface-container-highest"?: string;
|
|
73
|
+
"color-shadow"?: string;
|
|
74
|
+
"color-outline"?: string;
|
|
75
|
+
"color-outline-variant"?: string;
|
|
76
|
+
};
|
|
77
|
+
dark: {
|
|
78
|
+
"color-primary"?: string;
|
|
79
|
+
"color-on-primary"?: string;
|
|
80
|
+
"color-primary-container"?: string;
|
|
81
|
+
"color-on-primary-container"?: string;
|
|
82
|
+
"color-secondary"?: string;
|
|
83
|
+
"color-on-secondary"?: string;
|
|
84
|
+
"color-secondary-container"?: string;
|
|
85
|
+
"color-on-secondary-container"?: string;
|
|
86
|
+
"color-tertiary"?: string;
|
|
87
|
+
"color-on-tertiary"?: string;
|
|
88
|
+
"color-tertiary-container"?: string;
|
|
89
|
+
"color-on-tertiary-container"?: string;
|
|
90
|
+
"color-error"?: string;
|
|
91
|
+
"color-on-error"?: string;
|
|
92
|
+
"color-error-container"?: string;
|
|
93
|
+
"color-on-error-container"?: string;
|
|
94
|
+
"color-surface"?: string;
|
|
95
|
+
"color-surface-dim"?: string;
|
|
96
|
+
"color-surface-bright"?: string;
|
|
97
|
+
"color-surface-inverse"?: string;
|
|
98
|
+
"color-on-surface"?: string;
|
|
99
|
+
"color-on-surface-variant"?: string;
|
|
100
|
+
"color-on-surface-inverse"?: string;
|
|
101
|
+
"color-surface-container-lowest"?: string;
|
|
102
|
+
"color-surface-container-low"?: string;
|
|
103
|
+
"color-surface-container"?: string;
|
|
104
|
+
"color-surface-container-high"?: string;
|
|
105
|
+
"color-surface-container-highest"?: string;
|
|
106
|
+
"color-shadow"?: string;
|
|
107
|
+
"color-outline"?: string;
|
|
108
|
+
"color-outline-variant"?: string;
|
|
109
|
+
};
|
|
110
|
+
globals: {
|
|
111
|
+
"shadow-raised"?: string;
|
|
112
|
+
"font-mono-name"?: string;
|
|
113
|
+
"font-sans-name"?: string;
|
|
114
|
+
"font-sans-url"?: string;
|
|
115
|
+
"font-sans-weight"?: string;
|
|
116
|
+
"font-size-xxs"?: string;
|
|
117
|
+
"font-size-xs"?: string;
|
|
118
|
+
"font-size-small"?: string;
|
|
119
|
+
"font-size-normal"?: string;
|
|
120
|
+
"font-size-medium"?: string;
|
|
121
|
+
"font-size-large"?: string;
|
|
122
|
+
"font-size-xl"?: string;
|
|
123
|
+
"font-size-xxl"?: string;
|
|
124
|
+
"font-size-mobile-responsive-factor"?: number;
|
|
125
|
+
"font-size-root"?: number;
|
|
126
|
+
"font-weight-light"?: number;
|
|
127
|
+
"font-weight-normal"?: number;
|
|
128
|
+
"font-weight-medium"?: number;
|
|
129
|
+
"font-weight-semibold"?: number;
|
|
130
|
+
"font-weight-bold"?: number;
|
|
131
|
+
"radius-none"?: string;
|
|
132
|
+
"radius-small"?: string;
|
|
133
|
+
"radius-medium"?: string;
|
|
134
|
+
"radius-large"?: string;
|
|
135
|
+
"radius-xl"?: string;
|
|
136
|
+
"radius-x2l"?: string;
|
|
137
|
+
"radius-x3l"?: string;
|
|
138
|
+
"radius-x4l"?: string;
|
|
139
|
+
"radius-full"?: string;
|
|
140
|
+
"breakpoint-phone"?: number;
|
|
141
|
+
"breakpoint-tablet"?: number;
|
|
142
|
+
"breakpoint-laptop"?: number;
|
|
143
|
+
"breakpoint-desktop"?: number;
|
|
144
|
+
"space-1"?: string;
|
|
145
|
+
"space-2"?: string;
|
|
146
|
+
"space-3"?: string;
|
|
147
|
+
"space-4"?: string;
|
|
148
|
+
"space-5"?: string;
|
|
149
|
+
"space-6"?: string;
|
|
150
|
+
"space-7"?: string;
|
|
151
|
+
"space-8"?: string;
|
|
152
|
+
"space-9"?: string;
|
|
153
|
+
"space-10"?: string;
|
|
154
|
+
"space-0-5"?: string;
|
|
155
|
+
"space-1-5"?: string;
|
|
156
|
+
"space-2-5"?: string;
|
|
157
|
+
"space-3-5"?: string;
|
|
158
|
+
};
|
|
159
|
+
markdown: {
|
|
160
|
+
sidenote: {
|
|
161
|
+
"sidenote-callout-before-content"?: string;
|
|
162
|
+
"sidenote-callout-after-content"?: string;
|
|
163
|
+
"sidenote-citation-before-content"?: string;
|
|
164
|
+
"sidenote-citation-after-content"?: string;
|
|
165
|
+
};
|
|
166
|
+
code: {
|
|
167
|
+
light: "andromeeda" | "aurora-x" | "ayu-dark" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "everforest-dark" | "everforest-light" | "github-dark" | "github-dark-default" | "github-dark-dimmed" | "github-dark-high-contrast" | "github-light" | "github-light-default" | "github-light-high-contrast" | "gruvbox-dark-hard" | "gruvbox-dark-medium" | "gruvbox-dark-soft" | "gruvbox-light-hard" | "gruvbox-light-medium" | "gruvbox-light-soft" | "houston" | "kanagawa-dragon" | "kanagawa-lotus" | "kanagawa-wave" | "laserwave" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "night-owl" | "nord" | "one-dark-pro" | "one-light" | "plastic" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "snazzy-light" | "solarized-dark" | "solarized-light" | "synthwave-84" | "tokyo-night" | "vesper" | "vitesse-black" | "vitesse-dark" | "vitesse-light";
|
|
168
|
+
dark: "andromeeda" | "aurora-x" | "ayu-dark" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "everforest-dark" | "everforest-light" | "github-dark" | "github-dark-default" | "github-dark-dimmed" | "github-dark-high-contrast" | "github-light" | "github-light-default" | "github-light-high-contrast" | "gruvbox-dark-hard" | "gruvbox-dark-medium" | "gruvbox-dark-soft" | "gruvbox-light-hard" | "gruvbox-light-medium" | "gruvbox-light-soft" | "houston" | "kanagawa-dragon" | "kanagawa-lotus" | "kanagawa-wave" | "laserwave" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "night-owl" | "nord" | "one-dark-pro" | "one-light" | "plastic" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "snazzy-light" | "solarized-dark" | "solarized-light" | "synthwave-84" | "tokyo-night" | "vesper" | "vitesse-black" | "vitesse-dark" | "vitesse-light";
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/lib/config/schema.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB;;;;GAIG"}
|