@huaqiu/hardware-artifacts 0.7.23 → 0.7.24
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/index.d.mts +70 -3
- package/lib/index.mjs +183 -7
- package/lib/{routes-CzTSZSfL.d.mts → routes-DgdeewkN.d.mts} +23 -5
- package/lib/routes.d.mts +1 -1
- package/lib/routes.mjs +3 -3
- package/lib/{service-DQV0soSK.d.mts → service-DDUXPMvb.d.mts} +289 -9
- package/lib/{service-JazWEnwB.mjs → service-DFQ0q0uR.mjs} +734 -53
- package/lib/service.d.mts +2 -2
- package/lib/service.mjs +1 -1
- package/package.json +1 -1
- package/src/index.ts +14 -0
- package/src/kicad-inputs.ts +45 -0
- package/src/order.ts +52 -3
- package/src/quote.ts +488 -0
- package/src/routes.ts +6 -3
- package/src/service.ts +442 -57
- package/src/solidcraft-inputs.ts +44 -0
- package/src/toolchain/manager.ts +36 -6
- package/src/toolchain/resolve.ts +41 -9
- package/src/tools.ts +199 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ChildProcess } from "node:child_process";
|
|
2
1
|
//#region src/order.d.ts
|
|
3
2
|
/** Endpoint paths relative to the order base URL (the host, not a DSH route). */
|
|
4
3
|
declare const ORDER_PATHS: Readonly<{
|
|
@@ -23,6 +22,23 @@ interface BoardFacts {
|
|
|
23
22
|
readonly innerOz?: number;
|
|
24
23
|
/** Placed pads, used for the assembly form's `patch_pad_number`. */
|
|
25
24
|
readonly padCount?: number;
|
|
25
|
+
/**
|
|
26
|
+
* SMD pads alone — the assembly *price* endpoint's `patch_pad_number`.
|
|
27
|
+
*
|
|
28
|
+
* The order form uses `padCount` (any pad when the board has no SMD ones);
|
|
29
|
+
* the valuation endpoint prices the placed SMD pads, so it needs the split.
|
|
30
|
+
*/
|
|
31
|
+
readonly smdPadCount?: number;
|
|
32
|
+
/** Plated through-hole pads — the valuation endpoint's `plug_number`. */
|
|
33
|
+
readonly pthPadCount?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Distinct (value, footprint) pairs — the valuation endpoint's
|
|
36
|
+
* `bom_material_type_number`.
|
|
37
|
+
*
|
|
38
|
+
* Counted from the board's own footprints, so an assembly price needs no BOM
|
|
39
|
+
* export and no `kicad-cli` run.
|
|
40
|
+
*/
|
|
41
|
+
readonly partCount?: number;
|
|
26
42
|
/**
|
|
27
43
|
* Display names the board gives its copper layers, canonical name as value
|
|
28
44
|
* (`{ top_copper: 'F_Cu' }`).
|
|
@@ -196,10 +212,143 @@ declare function validateFabricationPackage(files: readonly PackageFile[], facts
|
|
|
196
212
|
/** One sentence a human or agent can act on, or `undefined` when valid. */
|
|
197
213
|
declare function validationSummary(validation: PackageValidation): string | undefined;
|
|
198
214
|
//#endregion
|
|
215
|
+
//#region src/quote.d.ts
|
|
216
|
+
/** Endpoint paths relative to the quote base URL (the host, not a DSH route). */
|
|
217
|
+
declare const QUOTE_PATHS: Readonly<{
|
|
218
|
+
pcb: "/openapi/api/hqpcb/public/ajax_valuation";
|
|
219
|
+
smt: "/openapi/api/smt-hqchip/smtservice/app/price/pricing";
|
|
220
|
+
}>;
|
|
221
|
+
/** Origin serving the two valuation endpoints. */
|
|
222
|
+
declare const DEFAULT_QUOTE_BASE_URL = "https://www.eda.cn";
|
|
223
|
+
/** Boards per quote when the caller names no quantity (the reference default). */
|
|
224
|
+
declare const DEFAULT_QUOTE_QUANTITY = 5;
|
|
225
|
+
type QuoteColor = 'green' | 'red' | 'yellow' | 'blue' | 'white' | 'black' | 'matte_black';
|
|
226
|
+
type QuoteSurfaceFinish = 'hasl_lead' | 'hasl_lf' | 'enig' | 'osp';
|
|
227
|
+
interface PcbQuoteOverrides {
|
|
228
|
+
/** Boards to price (the form's `bcount`). */
|
|
229
|
+
readonly quantity?: number;
|
|
230
|
+
/** Price a different copper stack-up than the file's (what-if). */
|
|
231
|
+
readonly layers?: number;
|
|
232
|
+
/**
|
|
233
|
+
* Board thickness in mm, snapped onto the fabricator's menu for the layer
|
|
234
|
+
* count. `kicad_pcb`'s `general.thickness` is used when absent.
|
|
235
|
+
*/
|
|
236
|
+
readonly thicknessMm?: number;
|
|
237
|
+
readonly color?: QuoteColor;
|
|
238
|
+
readonly surfaceFinish?: QuoteSurfaceFinish;
|
|
239
|
+
}
|
|
240
|
+
interface SmtQuoteOverrides {
|
|
241
|
+
/** Assembled quantity (the form's `number`). */
|
|
242
|
+
readonly quantity?: number;
|
|
243
|
+
readonly sides?: 'single' | 'double';
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* The PCB valuation form: our own order form, plus the endpoint's transport.
|
|
247
|
+
*
|
|
248
|
+
* Reusing `pcbOrderForm` is the point — the thickness menu, the trace/hole
|
|
249
|
+
* tiers, TG grade, inner copper and the default mask/finish are all resolved in
|
|
250
|
+
* one place, so a quote can never describe a board differently from the order
|
|
251
|
+
* this plugin would place for it.
|
|
252
|
+
*/
|
|
253
|
+
declare function pcbQuoteForm(facts: BoardFacts, overrides?: PcbQuoteOverrides): Record<string, string>;
|
|
254
|
+
/**
|
|
255
|
+
* The SMT valuation form.
|
|
256
|
+
*
|
|
257
|
+
* Not the order form: the assembly *order* endpoint reads `pcb_ban_height` as
|
|
258
|
+
* the board's thickness and `pcb_ban_width` as its length, while the *price*
|
|
259
|
+
* endpoint reads them as the panel's height and width in cm. Two endpoints,
|
|
260
|
+
* two readings of the same key names — this is why the quote builds its own
|
|
261
|
+
* assembly form instead of borrowing `smtOrderForm`.
|
|
262
|
+
*/
|
|
263
|
+
declare function smtQuoteForm(facts: BoardFacts, overrides?: SmtQuoteOverrides): Record<string, string | number>;
|
|
264
|
+
/** One charged line, under the vendor's own key (its UI shows the same name). */
|
|
265
|
+
interface QuoteFee {
|
|
266
|
+
readonly key: string;
|
|
267
|
+
readonly amount: number;
|
|
268
|
+
}
|
|
269
|
+
/** One delivery option the quote offers. */
|
|
270
|
+
interface QuoteDelivery {
|
|
271
|
+
/** Lead-time name as returned, e.g. "正常5天". */
|
|
272
|
+
readonly name: string;
|
|
273
|
+
readonly days?: number;
|
|
274
|
+
/** This option's total, when the endpoint prices it separately. */
|
|
275
|
+
readonly totalPrice?: number;
|
|
276
|
+
}
|
|
277
|
+
interface PcbQuote {
|
|
278
|
+
readonly kind: 'pcb';
|
|
279
|
+
readonly region: 'cn';
|
|
280
|
+
readonly currency: 'CNY';
|
|
281
|
+
readonly currencySymbol: '¥';
|
|
282
|
+
/** Boards priced (the form's `bcount`). */
|
|
283
|
+
readonly quantity: number;
|
|
284
|
+
/** What the whole panel run costs, shipping included. */
|
|
285
|
+
readonly totalPrice: number;
|
|
286
|
+
/** `totalPrice / quantity`, rounded to fen. */
|
|
287
|
+
readonly unitPrice: number;
|
|
288
|
+
/** The `expressage` line, when the endpoint charged one. */
|
|
289
|
+
readonly shipping?: number;
|
|
290
|
+
readonly leadTimeDays?: number;
|
|
291
|
+
/** Fabrication fees, shipping excluded. */
|
|
292
|
+
readonly items: readonly QuoteFee[];
|
|
293
|
+
readonly delivery: readonly QuoteDelivery[];
|
|
294
|
+
}
|
|
295
|
+
interface SmtQuote {
|
|
296
|
+
readonly kind: 'smt';
|
|
297
|
+
readonly region: 'cn';
|
|
298
|
+
readonly currency: 'CNY';
|
|
299
|
+
readonly currencySymbol: '¥';
|
|
300
|
+
readonly quantity: number;
|
|
301
|
+
readonly totalPrice: number;
|
|
302
|
+
readonly unitPrice: number;
|
|
303
|
+
/** Assembly fees, tax included. */
|
|
304
|
+
readonly items: readonly QuoteFee[];
|
|
305
|
+
/** The endpoint's own tax split (the CN body reports it explicitly). */
|
|
306
|
+
readonly smt: {
|
|
307
|
+
readonly noTax?: number;
|
|
308
|
+
readonly tax?: number;
|
|
309
|
+
readonly total?: number;
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
/** "正常5天" / "5 days" → 5; hours are reported as a fraction of a day. */
|
|
313
|
+
declare function leadTimeDays(name: unknown): number | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* Normalize a PCB valuation response.
|
|
316
|
+
*
|
|
317
|
+
* The total is the endpoint's own `total` whenever it sends one: it is the
|
|
318
|
+
* number the order page shows, and it already includes shipping. Summing the
|
|
319
|
+
* items is only the fallback for a payload without it, because not every fee
|
|
320
|
+
* key is one we know about.
|
|
321
|
+
*/
|
|
322
|
+
declare function parsePcbQuote(body: unknown, quantity: number): PcbQuote;
|
|
323
|
+
/**
|
|
324
|
+
* Normalize an SMT valuation response (`{suc, body}`).
|
|
325
|
+
*
|
|
326
|
+
* The CN body reports `smt_goods_fee_no_tax` and `smt_goods_fee_tax`, where the
|
|
327
|
+
* "tax" figure is the tax *amount* (13% of the net) — so the price is their
|
|
328
|
+
* sum. It also itemizes the assembly (`boot_fee` stencil, `patch_fee`, …), all
|
|
329
|
+
* tax included, and those lines add up to that sum exactly.
|
|
330
|
+
*/
|
|
331
|
+
declare function parseSmtQuote(body: unknown, quantity: number): SmtQuote;
|
|
332
|
+
//#endregion
|
|
199
333
|
//#region src/service.d.ts
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
334
|
+
/**
|
|
335
|
+
* What an artifact is, for the client that asked for it.
|
|
336
|
+
*
|
|
337
|
+
* `project` is a `.kicad_pro` handed to the project manager by a document
|
|
338
|
+
* action; it never appears in discovery, which lists the schematic, board and
|
|
339
|
+
* derived artifacts. The field is a label on the launch request — the editor is
|
|
340
|
+
* resolved from the suffix — so it is never a dispatch decision.
|
|
341
|
+
*/
|
|
342
|
+
type ArtifactKind = 'schematic' | 'pcb' | 'pcb-3d' | 'bom' | 'project' | 'mechanical-3d';
|
|
343
|
+
/**
|
|
344
|
+
* Applications this service can hand a file to.
|
|
345
|
+
*
|
|
346
|
+
* `kicad` opens a project artifact in the matching KiCad editor; `solidcraft`
|
|
347
|
+
* opens one of its verified inputs (§7 of the 3D/SolidCraft task) in the
|
|
348
|
+
* configured portable GUI. Both go through the same argument-array launch, so
|
|
349
|
+
* neither can be reached through a shell string or a PATH lookup.
|
|
350
|
+
*/
|
|
351
|
+
type NativeApplication = 'kicad' | 'solidcraft';
|
|
203
352
|
interface HardwareArtifact {
|
|
204
353
|
readonly id: string;
|
|
205
354
|
readonly kind: ArtifactKind;
|
|
@@ -264,7 +413,20 @@ interface InstallationInfo {
|
|
|
264
413
|
readonly projectManager?: string;
|
|
265
414
|
readonly pcbEditor?: string;
|
|
266
415
|
readonly schematicEditor?: string;
|
|
416
|
+
/** GUI executable (SolidCraft's `solidcraft.exe`); KiCad resolves editors instead. */
|
|
267
417
|
readonly executable?: string;
|
|
418
|
+
/** GUI half present; independent of {@link cliAvailable} (§6.2). */
|
|
419
|
+
readonly guiAvailable: boolean;
|
|
420
|
+
/** CLI half present; independent of {@link guiAvailable} (§6.2). */
|
|
421
|
+
readonly cliAvailable: boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Formats the application opens natively, when that is a verified property of
|
|
424
|
+
* the application rather than of this installation — SolidCraft today.
|
|
425
|
+
*
|
|
426
|
+
* Read by the document action and by the agent context, so the header button
|
|
427
|
+
* and the prompt cannot disagree about what a hand-off can accept (§7.1).
|
|
428
|
+
*/
|
|
429
|
+
readonly inputFormats?: readonly string[];
|
|
268
430
|
readonly version?: string;
|
|
269
431
|
readonly error?: string;
|
|
270
432
|
}
|
|
@@ -272,6 +434,19 @@ interface Installations {
|
|
|
272
434
|
readonly kicad: InstallationInfo;
|
|
273
435
|
readonly solidcraft: InstallationInfo;
|
|
274
436
|
}
|
|
437
|
+
/**
|
|
438
|
+
* The slice of a spawned child the launch path uses.
|
|
439
|
+
*
|
|
440
|
+
* A real `child_process` handle satisfies it structurally; a test stub that only
|
|
441
|
+
* answers `{ pid }` satisfies it too, and is then treated as an issued launch
|
|
442
|
+
* whose fate the Host cannot observe — which is all a stub can honestly be.
|
|
443
|
+
*/
|
|
444
|
+
interface SpawnedProcess {
|
|
445
|
+
readonly pid?: number;
|
|
446
|
+
once?(event: string, listener: (...args: any[]) => void): unknown;
|
|
447
|
+
removeListener?(event: string, listener: (...args: any[]) => void): unknown;
|
|
448
|
+
unref?(): void;
|
|
449
|
+
}
|
|
275
450
|
interface OpenArtifactRequest {
|
|
276
451
|
readonly application: NativeApplication;
|
|
277
452
|
readonly artifactPath: string;
|
|
@@ -398,6 +573,32 @@ interface PlaceOrderResult {
|
|
|
398
573
|
readonly validation: PackageValidation;
|
|
399
574
|
readonly assembly?: FabricationResult['assembly'];
|
|
400
575
|
}
|
|
576
|
+
interface QuotePcbRequest extends PcbQuoteOverrides {
|
|
577
|
+
/** Board (.kicad_pcb) to price. Absolute anywhere on this machine. */
|
|
578
|
+
readonly boardPath: string;
|
|
579
|
+
readonly signal?: AbortSignal;
|
|
580
|
+
}
|
|
581
|
+
interface QuoteSmtRequest extends SmtQuoteOverrides {
|
|
582
|
+
readonly boardPath: string;
|
|
583
|
+
readonly signal?: AbortSignal;
|
|
584
|
+
}
|
|
585
|
+
/** A PCB price with the form and the board facts it was derived from. */
|
|
586
|
+
interface QuotePcbResult extends PcbQuote {
|
|
587
|
+
readonly boardPath: string;
|
|
588
|
+
readonly endpoint: string;
|
|
589
|
+
/** The effective form sent to the endpoint — inspect, then override. */
|
|
590
|
+
readonly form: Readonly<Record<string, string>>;
|
|
591
|
+
readonly facts: BoardFacts;
|
|
592
|
+
readonly generatedAt: string;
|
|
593
|
+
}
|
|
594
|
+
/** An assembly price with the form and the board facts it was derived from. */
|
|
595
|
+
interface QuoteSmtResult extends SmtQuote {
|
|
596
|
+
readonly boardPath: string;
|
|
597
|
+
readonly endpoint: string;
|
|
598
|
+
readonly form: Readonly<Record<string, string | number>>;
|
|
599
|
+
readonly facts: BoardFacts;
|
|
600
|
+
readonly generatedAt: string;
|
|
601
|
+
}
|
|
401
602
|
interface HardwareArtifactsOptions {
|
|
402
603
|
readonly kicadRoot?: string;
|
|
403
604
|
readonly solidcraftRoot?: string;
|
|
@@ -437,13 +638,21 @@ interface HardwareArtifactsOptions {
|
|
|
437
638
|
readonly accessToken?: string;
|
|
438
639
|
};
|
|
439
640
|
readonly probeVersion?: (executable: string, tool?: 'kicad' | 'solidcraft') => string | undefined;
|
|
641
|
+
/**
|
|
642
|
+
* Spawns one external process.
|
|
643
|
+
*
|
|
644
|
+
* The return value is the handle's pid plus, when the spawner is a real
|
|
645
|
+
* `child_process` one, the lifecycle events the launch path waits on. A test
|
|
646
|
+
* stub may answer `{ pid }` alone: that is a launch the Host cannot observe and
|
|
647
|
+
* counts as issued, which is exactly what such a stub wants to assert.
|
|
648
|
+
*/
|
|
440
649
|
readonly spawnProcess?: (command: string, args: readonly string[], options: {
|
|
441
650
|
cwd: string;
|
|
442
651
|
detached: boolean;
|
|
443
652
|
stdio: 'ignore';
|
|
444
653
|
windowsHide: boolean;
|
|
445
654
|
shell: false;
|
|
446
|
-
}) =>
|
|
655
|
+
}) => SpawnedProcess;
|
|
447
656
|
/**
|
|
448
657
|
* Command used to hand a URL to the OS. Defaults to `open` on macOS,
|
|
449
658
|
* `rundll32 url.dll,FileProtocolHandler` on Windows and `xdg-open` elsewhere.
|
|
@@ -507,7 +716,18 @@ declare class HardwareArtifactService {
|
|
|
507
716
|
installations(): Installations;
|
|
508
717
|
/** Paths passed to agent child processes. Never assign these globally. */
|
|
509
718
|
childEnvironment(): Record<string, string>;
|
|
510
|
-
/**
|
|
719
|
+
/**
|
|
720
|
+
* Compact agent context: validated facts only, no project inventory dump.
|
|
721
|
+
*
|
|
722
|
+
* Deliberately no executable paths: this text is sent to a model provider, and
|
|
723
|
+
* §8.2 of the 3D/SolidCraft task forbids leaking local installation paths for
|
|
724
|
+
* no benefit — the agent never launches anything itself, it asks the Host. What
|
|
725
|
+
* it does need is what it may claim: whether each half of SolidCraft exists,
|
|
726
|
+
* which formats each application verifiably opens, and where the user changes
|
|
727
|
+
* the setting.
|
|
728
|
+
* @param current - discovery scope to describe, when one applies.
|
|
729
|
+
* @returns the `<hardware_environment>` block for the system prompt.
|
|
730
|
+
*/
|
|
511
731
|
environmentText(current?: DiscoveryResult): string;
|
|
512
732
|
/**
|
|
513
733
|
* Deterministic discovery. An explicit project or manifest wins; otherwise
|
|
@@ -526,8 +746,35 @@ declare class HardwareArtifactService {
|
|
|
526
746
|
private soleDiscovery;
|
|
527
747
|
private remember;
|
|
528
748
|
private projectFrom;
|
|
529
|
-
/**
|
|
530
|
-
|
|
749
|
+
/**
|
|
750
|
+
* Validate and launch a native application without a shell.
|
|
751
|
+
*
|
|
752
|
+
* Two applications, one policy: the configured portable executable is used —
|
|
753
|
+
* never a PATH lookup, never a shell string — the document path travels as one
|
|
754
|
+
* argv entry, and the call resolves only after the child actually spawned.
|
|
755
|
+
* A spawn that fails (missing file, permission, bad image) rejects with
|
|
756
|
+
* `launch-failed` instead of reporting a launch that never happened, which is
|
|
757
|
+
* what §7.4 of the 3D/SolidCraft task asks for and what `spawn` alone cannot
|
|
758
|
+
* give: its `error` event arrives after the call returns.
|
|
759
|
+
* @param request - application, absolute artifact path, and the originating kind.
|
|
760
|
+
* @returns the command, argv and working directory that were handed to the OS.
|
|
761
|
+
*/
|
|
762
|
+
open(request: OpenArtifactRequest): Promise<OpenArtifactResult>;
|
|
763
|
+
/**
|
|
764
|
+
* Spawn one detached GUI process and report only a launch that happened.
|
|
765
|
+
*
|
|
766
|
+
* `spawn` reports its failures through an `error` event, so returning its
|
|
767
|
+
* handle would claim success for a path that does not exist. Waiting for
|
|
768
|
+
* `spawn` (Node emits it after the OS accepted the exec) is the smallest
|
|
769
|
+
* contract that keeps that claim honest; the child is then unrefed so the
|
|
770
|
+
* Host does not own the editor's lifetime and a running instance is never
|
|
771
|
+
* killed when a document tab closes (§7.4).
|
|
772
|
+
* @param command - absolute executable path from the validated configuration.
|
|
773
|
+
* @param args - argv; the document path is one entry, never interpolated.
|
|
774
|
+
* @param settings - working directory and process options.
|
|
775
|
+
* @returns the child's pid, when the platform reports one.
|
|
776
|
+
*/
|
|
777
|
+
private launch;
|
|
531
778
|
/**
|
|
532
779
|
* Resolve one artifact path: canonical, real, of an expected type.
|
|
533
780
|
*
|
|
@@ -643,6 +890,39 @@ declare class HardwareArtifactService {
|
|
|
643
890
|
* way the reference does.
|
|
644
891
|
*/
|
|
645
892
|
placeOrder(request: PlaceOrderRequest): Promise<PlaceOrderResult>;
|
|
893
|
+
/**
|
|
894
|
+
* Read one board's facts for a price, refusing a board with no outline.
|
|
895
|
+
*
|
|
896
|
+
* A price is driven by geometry, so a board without an Edge.Cuts outline has
|
|
897
|
+
* nothing to price: a clear refusal beats a quote for 0 × 0 mm. No KiCad
|
|
898
|
+
* installation is required here — the facts come from the file itself.
|
|
899
|
+
*/
|
|
900
|
+
private boardForQuote;
|
|
901
|
+
/**
|
|
902
|
+
* POST one valuation request and decode its JSON.
|
|
903
|
+
*
|
|
904
|
+
* The same transport the order path uses, with the failure modes named: an
|
|
905
|
+
* unreachable endpoint is not a rejected quote, and the Spring 400 the
|
|
906
|
+
* endpoint answers a form missing a required field with is reported with that
|
|
907
|
+
* hint instead of a bare status.
|
|
908
|
+
*/
|
|
909
|
+
private postQuote;
|
|
910
|
+
/**
|
|
911
|
+
* Quote PCB fabrication for one board.
|
|
912
|
+
*
|
|
913
|
+
* Anonymous: no login, no order, no upload. The form is `pcbQuoteForm`'s —
|
|
914
|
+
* this plugin's own order form plus the endpoint's transport block — so the
|
|
915
|
+
* price is what the order page for this board would show.
|
|
916
|
+
*/
|
|
917
|
+
quotePcb(request: QuotePcbRequest): Promise<QuotePcbResult>;
|
|
918
|
+
/**
|
|
919
|
+
* Quote SMT assembly for one board.
|
|
920
|
+
*
|
|
921
|
+
* Also anonymous, and also without a BOM export: the pad counts and the
|
|
922
|
+
* distinct value/footprint pairs come from the board's own footprints, which
|
|
923
|
+
* is the same material count the assembly form would carry.
|
|
924
|
+
*/
|
|
925
|
+
quoteSmt(request: QuoteSmtRequest): Promise<QuoteSmtResult>;
|
|
646
926
|
/**
|
|
647
927
|
* Open one order page in the OS default browser.
|
|
648
928
|
*
|
|
@@ -675,4 +955,4 @@ declare function parseCsv(text: string): string[][];
|
|
|
675
955
|
*/
|
|
676
956
|
declare function groupBomRows(table: readonly string[][]): BomRow[];
|
|
677
957
|
//#endregion
|
|
678
|
-
export {
|
|
958
|
+
export { BoardFacts as $, parseCsv as A, SmtQuote as B, QuotePcbResult as C, SourceResult as D, SourceRequest as E, QUOTE_PATHS as F, pcbQuoteForm as G, leadTimeDays as H, QuoteColor as I, PackageIssueCode as J, smtQuoteForm as K, QuoteDelivery as L, DEFAULT_QUOTE_QUANTITY as M, PcbQuote as N, SpawnedProcess as O, PcbQuoteOverrides as P, validationSummary as Q, QuoteFee as R, QuotePcbRequest as S, QuoteSmtResult as T, parsePcbQuote as U, SmtQuoteOverrides as V, parseSmtQuote as W, expectedCopperLayers as X, PackageValidation as Y, validateFabricationPackage as Z, OrderConfigInfo as _, snapThickness as _t, FabricationResult as a, orderBomCsv as at, PlaceOrderRequest as b, HardwareArtifact as c, parsePositions as ct, HardwareProject as d, positionsCsv as dt, DEFAULT_ORDER_BASE_URL as et, InstallationInfo as f, readBoardFacts as ft, OpenArtifactResult as g, snapHoleTier as gt, OpenArtifactRequest as h, smtOrderUrlFromBackend as ht, DiscoveryResult as i, PositionRow as it, DEFAULT_QUOTE_BASE_URL as j, groupBomRows as k, HardwareArtifactService as l, pcbOrderForm as lt, NativeApplication as m, smtOrderUrl as mt, BomResult as n, ORDER_PATHS as nt, GlbRequest as o, orderBomRows as ot, Installations as p, smtOrderForm as pt, PackageIssue as q, BomRow as r, ORDER_SOURCE_TID as rt, GlbResult as s, orderIdsFromUrl as st, ArtifactKind as t, DEFAULT_ORDER_PAGE_BASE as tt, HardwareArtifactsOptions as u, pcbOrderUrl as ut, OrderPackageSummary as v, snapTraceTier as vt, QuoteSmtRequest as w, PlaceOrderResult as x, OrderReadiness as y, QuoteSurfaceFinish as z };
|