koishi-plugin-warframe 1.7.4 → 1.7.6
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/lib/assets/render.css +47 -63
- package/lib/index.d.ts +12 -4
- package/lib/index.js +497 -499
- package/lib/index.tsbuildinfo +1 -1
- package/lib/warframe/assets/baro.txt +15867 -15869
- package/package.json +1 -1
package/lib/assets/render.css
CHANGED
|
@@ -1,71 +1,55 @@
|
|
|
1
1
|
:root {
|
|
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
|
-
--color_rgb_link_dimmed--hover: 163 221 219;
|
|
47
|
-
--color_rgb_link_dimmed--active: 172 184 221;
|
|
48
|
-
--color_dark_md_code_background: black;
|
|
49
|
-
--color_dark_md_code_text: #39a57e;
|
|
50
|
-
--color_rgb_dark_md_code_background: 0 0 0;
|
|
51
|
-
--color_status-offline: darkred;
|
|
52
|
-
--color_highlight: #b53600;
|
|
53
|
-
--color_highlight_text: #f5f5f5;
|
|
54
|
-
--color_tooltip_background: #1b2432;
|
|
55
|
-
--color_tooltip_border: black;
|
|
56
|
-
--color_tooltip_text: #aab3b6;
|
|
57
|
-
--color_rgb_tooltip_background: 27 36 50;
|
|
58
|
-
--color_text_svg: red;
|
|
59
|
-
--color_dark_text: #aab3b6;
|
|
60
|
-
--color_dark_h1: #fcfdfd;
|
|
61
|
-
--color_dark_h2: #e1e4e5;
|
|
62
|
-
--color_dark_h3: #c5ccce;
|
|
63
|
-
--color_dark_disclaimer: #333d40;
|
|
2
|
+
/* ===== Backgrounds ===== */
|
|
3
|
+
--wf-bg-page: #f5f0e8;
|
|
4
|
+
--wf-bg-card: #ffffff;
|
|
5
|
+
--wf-bg-subtle: #f5f5f5;
|
|
6
|
+
--wf-bg-tint: #fff8f0;
|
|
7
|
+
--wf-bg-overlay: rgba(0, 0, 0, 0.03);
|
|
8
|
+
|
|
9
|
+
/* ===== Text ===== */
|
|
10
|
+
--wf-text-primary: #1a1a1a;
|
|
11
|
+
--wf-text-body: #333333;
|
|
12
|
+
--wf-text-secondary: #666666;
|
|
13
|
+
--wf-text-muted: #888888;
|
|
14
|
+
--wf-text-faint: #a0a0a0;
|
|
15
|
+
|
|
16
|
+
/* ===== Borders ===== */
|
|
17
|
+
--wf-border: rgba(0, 0, 0, 0.08);
|
|
18
|
+
--wf-border-strong: rgba(0, 0, 0, 0.12);
|
|
19
|
+
--wf-divider: rgba(0, 0, 0, 0.1);
|
|
20
|
+
|
|
21
|
+
/* ===== Rarity ===== */
|
|
22
|
+
--wf-rarity-rare: #ffd700;
|
|
23
|
+
--wf-rarity-uncommon: #c0c0c0;
|
|
24
|
+
--wf-rarity-common: #cd7f32;
|
|
25
|
+
|
|
26
|
+
/* ===== Semantic accents ===== */
|
|
27
|
+
--wf-success: #2e7d32;
|
|
28
|
+
--wf-warning: #ff8c42;
|
|
29
|
+
--wf-danger: #e05050;
|
|
30
|
+
--wf-info: #0d93b8;
|
|
31
|
+
--wf-accent: #47b5a5;
|
|
32
|
+
|
|
33
|
+
/* ===== Currency ===== */
|
|
34
|
+
--wf-platinum: #0d93b8;
|
|
35
|
+
--wf-ducats: #a0a000;
|
|
36
|
+
|
|
37
|
+
/* ===== Shadows ===== */
|
|
38
|
+
--wf-shadow-card: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
39
|
+
--wf-shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
40
|
+
--wf-shadow-inner: 0 2px 4px rgba(0, 0, 0, 0.04);
|
|
41
|
+
|
|
42
|
+
/* ===== Radii ===== */
|
|
43
|
+
--wf-radius: 8px;
|
|
44
|
+
--wf-radius-md: 6px;
|
|
45
|
+
--wf-radius-sm: 4px;
|
|
64
46
|
}
|
|
65
47
|
|
|
66
48
|
body {
|
|
67
|
-
font-family:
|
|
49
|
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
68
50
|
padding: 20px;
|
|
51
|
+
background-color: var(--wf-bg-page);
|
|
52
|
+
color: var(--wf-text-body);
|
|
69
53
|
}
|
|
70
54
|
|
|
71
55
|
* {
|
package/lib/index.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ declare module "warframe/types/wf/relic" {
|
|
|
137
137
|
items: OutputRelicReward[];
|
|
138
138
|
}
|
|
139
139
|
export interface OutputRelicReward extends RelicReward {
|
|
140
|
-
ducats
|
|
140
|
+
ducats?: number;
|
|
141
141
|
platinum?: number;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -503,7 +503,7 @@ declare module "warframe/data/wfm/globalRivenAttribute" {
|
|
|
503
503
|
}>): void;
|
|
504
504
|
}
|
|
505
505
|
declare module "warframe/data/wfm/globalRivenItem" {
|
|
506
|
-
import type { RivenItem } from "warframe/types/index";
|
|
506
|
+
import type { AsyncCache, RivenItem } from "warframe/types/index";
|
|
507
507
|
export interface GlobalRivenItemWordPrefixCandidate {
|
|
508
508
|
item: RivenItem;
|
|
509
509
|
normalizedName: string;
|
|
@@ -515,12 +515,18 @@ declare module "warframe/data/wfm/globalRivenItem" {
|
|
|
515
515
|
globalRivenItemNameToSlugDict: Record<string, string>;
|
|
516
516
|
globalRivenItemWordPrefixCandidates: GlobalRivenItemWordPrefixCandidate[];
|
|
517
517
|
}>;
|
|
518
|
-
export
|
|
518
|
+
export let globalRivenItemData: AsyncCache<{
|
|
519
519
|
globalRivenItemList: RivenItem[];
|
|
520
520
|
globalRivenItemDict: Record<string, RivenItem>;
|
|
521
521
|
globalRivenItemNameToSlugDict: Record<string, string>;
|
|
522
522
|
globalRivenItemWordPrefixCandidates: GlobalRivenItemWordPrefixCandidate[];
|
|
523
523
|
}>;
|
|
524
|
+
export function overrideGlobalRivenItemData(cache: AsyncCache<{
|
|
525
|
+
globalRivenItemList: RivenItem[];
|
|
526
|
+
globalRivenItemDict: Record<string, RivenItem>;
|
|
527
|
+
globalRivenItemNameToSlugDict: Record<string, string>;
|
|
528
|
+
globalRivenItemWordPrefixCandidates: GlobalRivenItemWordPrefixCandidate[];
|
|
529
|
+
}>): void;
|
|
524
530
|
}
|
|
525
531
|
declare module "warframe/infrastructure/ocr-api" {
|
|
526
532
|
import type { OcrAPISecret } from "warframe/types/index";
|
|
@@ -571,7 +577,9 @@ declare module "warframe/services/wf-service" {
|
|
|
571
577
|
}): WarframeResult<RivenStatAnalyzeResult>;
|
|
572
578
|
}
|
|
573
579
|
declare module "warframe/data/wfm/globalDucatnator" {
|
|
574
|
-
|
|
580
|
+
import type { AsyncCache, Ducatnator } from "warframe/types/index";
|
|
581
|
+
export let globalDucatnatorIDDict: AsyncCache<Record<string, Ducatnator> | undefined>;
|
|
582
|
+
export function overrideGlobalDucatnatorIDDict(cache: AsyncCache<Record<string, Ducatnator> | undefined>): void;
|
|
575
583
|
}
|
|
576
584
|
declare module "warframe/data/wfm/globalItem" {
|
|
577
585
|
import type { AsyncCache, ItemShort } from "warframe/types/index";
|