pixelkiln 0.89.4 → 0.89.5

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/index.d.cts CHANGED
@@ -21607,6 +21607,12 @@ interface GalleryStyle {
21607
21607
  /** Strip the generated background (sent for pixflux and non-PixelLab providers). */
21608
21608
  noBackground: boolean;
21609
21609
  quality: boolean;
21610
+ /**
21611
+ * A `character` style's creation engine (`standard` when the style names
21612
+ * none, as in the manifest); null for any other generator. The studio and
21613
+ * the new-loop form read it to pick a loop mode the engine can run.
21614
+ */
21615
+ characterMode: string | null;
21610
21616
  /** Family counts for a `character` style; null otherwise. */
21611
21617
  characters: {
21612
21618
  bases: number;
package/dist/index.d.ts CHANGED
@@ -21607,6 +21607,12 @@ interface GalleryStyle {
21607
21607
  /** Strip the generated background (sent for pixflux and non-PixelLab providers). */
21608
21608
  noBackground: boolean;
21609
21609
  quality: boolean;
21610
+ /**
21611
+ * A `character` style's creation engine (`standard` when the style names
21612
+ * none, as in the manifest); null for any other generator. The studio and
21613
+ * the new-loop form read it to pick a loop mode the engine can run.
21614
+ */
21615
+ characterMode: string | null;
21610
21616
  /** Family counts for a `character` style; null otherwise. */
21611
21617
  characters: {
21612
21618
  bases: number;
package/dist/index.js CHANGED
@@ -18843,6 +18843,7 @@ async function buildGallerySnapshot(opts) {
18843
18843
  view: style?.view ?? null,
18844
18844
  noBackground: style?.noBackground ?? true,
18845
18845
  quality: Boolean(style?.quality),
18846
+ characterMode: style?.generator === "character" ? style.mode ?? "standard" : null,
18846
18847
  characters: style?.generator === "character" || style?.generator === "objectPro" ? {
18847
18848
  bases: styleItems.filter((item) => item.character?.kind === "base").length,
18848
18849
  states: styleItems.filter((item) => item.character?.kind === "state").length,