easyeda 0.0.250 → 0.0.251
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/dist/browser/index.d.ts +8 -3
- package/dist/browser/index.js +1596 -1565
- package/dist/browser/index.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +199 -170
- package/dist/index.js.map +1 -1
- package/dist/main.cjs +2585 -2556
- package/dist/main.cjs.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -2245,9 +2245,13 @@ declare const EasyEdaJsonSchema: z.ZodObject<{
|
|
|
2245
2245
|
type RawEasyEdaJson = z.input<typeof EasyEdaJsonSchema>;
|
|
2246
2246
|
type BetterEasyEdaJson = z.infer<typeof EasyEdaJsonSchema>;
|
|
2247
2247
|
|
|
2248
|
-
declare const convertRawEasyToTsx: (rawEasy
|
|
2249
|
-
|
|
2248
|
+
declare const convertRawEasyToTsx: ({ rawEasy, format, }: {
|
|
2249
|
+
rawEasy: any;
|
|
2250
|
+
format?: "obj" | "step";
|
|
2251
|
+
}) => Promise<string>;
|
|
2252
|
+
declare const convertBetterEasyToTsx: ({ betterEasy, format, }: {
|
|
2250
2253
|
betterEasy: BetterEasyEdaJson;
|
|
2254
|
+
format?: "obj" | "step";
|
|
2251
2255
|
}) => Promise<string>;
|
|
2252
2256
|
|
|
2253
2257
|
declare function fetchEasyEDAComponent(jlcpcbPartNumber: string, { fetch, includeModelMetadata, }?: {
|
|
@@ -2260,7 +2264,8 @@ declare const generateFootprintTsx: (circuitJson: AnyCircuitElement[]) => string
|
|
|
2260
2264
|
type Params = {
|
|
2261
2265
|
easyedaPartNumber: string;
|
|
2262
2266
|
easyedaModelUuid: string;
|
|
2267
|
+
format?: "obj" | "step";
|
|
2263
2268
|
};
|
|
2264
|
-
declare const getModelCdnUrl: ({ easyedaModelUuid, easyedaPartNumber, }: Params) => string;
|
|
2269
|
+
declare const getModelCdnUrl: ({ easyedaModelUuid, easyedaPartNumber, format, }: Params) => string;
|
|
2265
2270
|
|
|
2266
2271
|
export { convertBetterEasyToTsx, convertRawEasyToTsx, fetchEasyEDAComponent, generateFootprintTsx, getModelCdnUrl };
|