@dsh-workbench/core 0.3.1 → 0.3.3
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/client.js +177 -107
- package/dist/client/client.body.js +177 -107
- package/dist/client/index.js +177 -107
- package/dist/host/index.js +832 -1461
- package/dist/types/app/client.d.ts +15 -3
- package/dist/types/app/layouts/panel-hint.d.ts +3 -0
- package/dist/types/app/layouts/rightbar/market-hint.d.ts +16 -0
- package/dist/types/app/layouts/rightbar/market-rows.d.ts +2 -3
- package/dist/types/modules/panels/model/diy-browser-act.d.ts +2 -39
- package/dist/types/modules/panels/model/diy-browser-tools.d.ts +39 -0
- package/dist/types/modules/panels/model/diy-browser.d.ts +1 -14
- package/dist/types/modules/panels/model/diy-observers.d.ts +11 -0
- package/dist/types/modules/panels/model/diy-observers.test.d.ts +1 -0
- package/dist/types/modules/panels/model/diy-page.d.ts +1 -0
- package/dist/types/modules/panels/model/diy-scripts.d.ts +0 -63
- package/dist/types/modules/panels/model/diy-spec.d.ts +5 -0
- package/dist/types/modules/panels/model/diy-spec.test.d.ts +1 -0
- package/dist/types/modules/panels/unit.d.ts +13 -11
- package/dist/types/shared/api/host/diy-recon.d.ts +10 -0
- package/package.json +5 -5
- package/scripts/seed-workshop.sh +3 -1
- package/skills/workbench-module-diy/BUILD.md +37 -16
- package/skills/workbench-module-diy/DATASOURCE.md +11 -2
- package/skills/workbench-module-diy/DESIGN.md +15 -8
- package/skills/workbench-module-diy/KIT.md +2 -0
- package/skills/workbench-module-diy/PANEL.md +3 -2
- package/skills/workbench-module-diy/REVIEW.md +115 -48
- package/skills/workbench-module-diy/SKILL.md +33 -9
- package/skills/workbench-module-diy/STEPS.md +1 -1
- package/skills/workbench-module-diy/TOOLING.md +6 -3
- package/skills/workbench-module-diy/TOOLS.md +90 -204
- package/skills/workbench-module-diy/WIRING.md +7 -5
- package/skills/workbench-module-diy/WRITES.md +90 -0
- package/dist/types/modules/panels/model/diy-act.d.ts +0 -4
- package/dist/types/modules/panels/model/diy-look.d.ts +0 -15
- package/dist/types/modules/panels/model/diy-net.d.ts +0 -3
- /package/dist/types/modules/panels/model/{diy-act.test.d.ts → diy-browser-act.test.d.ts} +0 -0
- /package/dist/types/modules/panels/model/{diy-look.test.d.ts → diy-browser-tools-shot.test.d.ts} +0 -0
- /package/dist/types/modules/panels/model/{diy-net.test.d.ts → diy-browser-tools.test.d.ts} +0 -0
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { DshHostContext, DshToolRegistry } from '@dsh-workbench/shared';
|
|
2
|
-
import { type BoardState } from './diy-page';
|
|
3
|
-
import { type Shot } from './diy-browser';
|
|
4
|
-
import { type CardView, type PickRequest, type SlotFacts } from './diy-scripts';
|
|
5
|
-
export declare function registerLookTools(ctx: DshHostContext, tools: DshToolRegistry): readonly (() => void)[];
|
|
6
|
-
export declare function rgbOf(value: string): readonly [number, number, number] | undefined;
|
|
7
|
-
export declare function contrastOf(foreground: string, background: string): number | undefined;
|
|
8
|
-
export declare function styleLineOf(view: CardView, pick: PickRequest): string;
|
|
9
|
-
export declare function partsLineOf(view: CardView, pick: PickRequest): string;
|
|
10
|
-
export declare function slotText(slot: SlotFacts, width: number): string;
|
|
11
|
-
export declare function slotLineOf(view: CardView): string;
|
|
12
|
-
export declare function outlineText(view: CardView): string;
|
|
13
|
-
export declare function contrastLineOf(view: CardView): string;
|
|
14
|
-
export declare function renderLook(unit: string, view: CardView, shot: Shot, pick: PickRequest): string;
|
|
15
|
-
export declare function renderMissingCard(unit: string, view: CardView, board: BoardState): string;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { DshHostContext, DshToolRegistry } from '@dsh-workbench/shared';
|
|
2
|
-
export declare function nearestKeyOf(payload: Record<string, unknown> | undefined, key: string): string;
|
|
3
|
-
export declare function registerNetTools(ctx: DshHostContext, tools: DshToolRegistry): readonly (() => void)[];
|
|
File without changes
|
/package/dist/types/modules/panels/model/{diy-look.test.d.ts → diy-browser-tools-shot.test.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|