pixelkiln 0.62.0 → 0.63.0

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.ts CHANGED
@@ -837,6 +837,14 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
837
837
  template: z.ZodOptional<z.ZodString>;
838
838
  /** Direction to animate. */
839
839
  direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
840
+ /**
841
+ * Shorthand for one loop in several directions, instead of `direction`.
842
+ * Expanded when the manifest loads into one loop per named direction
843
+ * (`<id>.<direction>`) plus a mirror for each direction whose flip is
844
+ * not named, exactly as if each had been written out. See
845
+ * `src/loop-directions.ts`.
846
+ */
847
+ directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
840
848
  /** Frames to generate without a template (v3). Even, 4 to 16. */
841
849
  frames: z.ZodOptional<z.ZodNumber>;
842
850
  /** Playback rate recorded with the frames; PixelLab does not store one. */
@@ -871,6 +879,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
871
879
  keepFirstFrame: boolean;
872
880
  frames?: number | undefined;
873
881
  template?: string | undefined;
882
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
874
883
  mode?: "v3" | "pro" | "template" | undefined;
875
884
  startFrame?: string | undefined;
876
885
  endFrame?: string | undefined;
@@ -885,6 +894,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
885
894
  fps?: number | undefined;
886
895
  template?: string | undefined;
887
896
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
897
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
888
898
  keepFirstFrame?: boolean | undefined;
889
899
  mode?: "v3" | "pro" | "template" | undefined;
890
900
  startFrame?: string | undefined;
@@ -901,6 +911,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
901
911
  keepFirstFrame: boolean;
902
912
  frames?: number | undefined;
903
913
  template?: string | undefined;
914
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
904
915
  mode?: "v3" | "pro" | "template" | undefined;
905
916
  startFrame?: string | undefined;
906
917
  endFrame?: string | undefined;
@@ -915,6 +926,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
915
926
  fps?: number | undefined;
916
927
  template?: string | undefined;
917
928
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
929
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
918
930
  keepFirstFrame?: boolean | undefined;
919
931
  mode?: "v3" | "pro" | "template" | undefined;
920
932
  startFrame?: string | undefined;
@@ -1586,6 +1598,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1586
1598
  providerOptions: Record<string, Record<string, unknown>>;
1587
1599
  provider?: string | undefined;
1588
1600
  template?: string | undefined;
1601
+ directions?: 4 | 8 | undefined;
1589
1602
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1590
1603
  outline?: string | undefined;
1591
1604
  shading?: string | undefined;
@@ -1622,7 +1635,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1622
1635
  isometricTileSize?: 16 | 32 | undefined;
1623
1636
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1624
1637
  objectDirections?: 1 | 8 | undefined;
1625
- directions?: 4 | 8 | undefined;
1626
1638
  styleTraits?: {
1627
1639
  palette?: boolean | undefined;
1628
1640
  outline?: boolean | undefined;
@@ -1659,6 +1671,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1659
1671
  provider?: string | undefined;
1660
1672
  palette?: string[] | undefined;
1661
1673
  template?: string | undefined;
1674
+ directions?: 4 | 8 | undefined;
1662
1675
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1663
1676
  outline?: string | undefined;
1664
1677
  shading?: string | undefined;
@@ -1702,7 +1715,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1702
1715
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1703
1716
  objectDirections?: 1 | 8 | undefined;
1704
1717
  noBackground?: boolean | undefined;
1705
- directions?: 4 | 8 | undefined;
1706
1718
  styleTraits?: {
1707
1719
  palette?: boolean | undefined;
1708
1720
  outline?: boolean | undefined;
@@ -1752,6 +1764,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1752
1764
  providerOptions: Record<string, Record<string, unknown>>;
1753
1765
  provider?: string | undefined;
1754
1766
  template?: string | undefined;
1767
+ directions?: 4 | 8 | undefined;
1755
1768
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1756
1769
  outline?: string | undefined;
1757
1770
  shading?: string | undefined;
@@ -1788,7 +1801,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1788
1801
  isometricTileSize?: 16 | 32 | undefined;
1789
1802
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1790
1803
  objectDirections?: 1 | 8 | undefined;
1791
- directions?: 4 | 8 | undefined;
1792
1804
  styleTraits?: {
1793
1805
  palette?: boolean | undefined;
1794
1806
  outline?: boolean | undefined;
@@ -1825,6 +1837,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1825
1837
  provider?: string | undefined;
1826
1838
  palette?: string[] | undefined;
1827
1839
  template?: string | undefined;
1840
+ directions?: 4 | 8 | undefined;
1828
1841
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1829
1842
  outline?: string | undefined;
1830
1843
  shading?: string | undefined;
@@ -1868,7 +1881,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1868
1881
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1869
1882
  objectDirections?: 1 | 8 | undefined;
1870
1883
  noBackground?: boolean | undefined;
1871
- directions?: 4 | 8 | undefined;
1872
1884
  styleTraits?: {
1873
1885
  palette?: boolean | undefined;
1874
1886
  outline?: boolean | undefined;
@@ -1918,6 +1930,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1918
1930
  providerOptions: Record<string, Record<string, unknown>>;
1919
1931
  provider?: string | undefined;
1920
1932
  template?: string | undefined;
1933
+ directions?: 4 | 8 | undefined;
1921
1934
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1922
1935
  outline?: string | undefined;
1923
1936
  shading?: string | undefined;
@@ -1954,7 +1967,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1954
1967
  isometricTileSize?: 16 | 32 | undefined;
1955
1968
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
1956
1969
  objectDirections?: 1 | 8 | undefined;
1957
- directions?: 4 | 8 | undefined;
1958
1970
  styleTraits?: {
1959
1971
  palette?: boolean | undefined;
1960
1972
  outline?: boolean | undefined;
@@ -1991,6 +2003,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1991
2003
  provider?: string | undefined;
1992
2004
  palette?: string[] | undefined;
1993
2005
  template?: string | undefined;
2006
+ directions?: 4 | 8 | undefined;
1994
2007
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1995
2008
  outline?: string | undefined;
1996
2009
  shading?: string | undefined;
@@ -2034,7 +2047,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2034
2047
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2035
2048
  objectDirections?: 1 | 8 | undefined;
2036
2049
  noBackground?: boolean | undefined;
2037
- directions?: 4 | 8 | undefined;
2038
2050
  styleTraits?: {
2039
2051
  palette?: boolean | undefined;
2040
2052
  outline?: boolean | undefined;
@@ -2225,6 +2237,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
2225
2237
  provider?: string | undefined;
2226
2238
  palette?: string[] | undefined;
2227
2239
  template?: string | undefined;
2240
+ directions?: 4 | 8 | undefined;
2228
2241
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2229
2242
  outline?: string | undefined;
2230
2243
  shading?: string | undefined;
@@ -2268,7 +2281,6 @@ declare const InheritedStyleSchema: z.ZodObject<{
2268
2281
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2269
2282
  objectDirections?: 1 | 8 | undefined;
2270
2283
  noBackground?: boolean | undefined;
2271
- directions?: 4 | 8 | undefined;
2272
2284
  styleTraits?: {
2273
2285
  palette?: boolean | undefined;
2274
2286
  outline?: boolean | undefined;
@@ -2309,6 +2321,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
2309
2321
  provider?: string | undefined;
2310
2322
  palette?: string[] | undefined;
2311
2323
  template?: string | undefined;
2324
+ directions?: 4 | 8 | undefined;
2312
2325
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2313
2326
  outline?: string | undefined;
2314
2327
  shading?: string | undefined;
@@ -2352,7 +2365,6 @@ declare const InheritedStyleSchema: z.ZodObject<{
2352
2365
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2353
2366
  objectDirections?: 1 | 8 | undefined;
2354
2367
  noBackground?: boolean | undefined;
2355
- directions?: 4 | 8 | undefined;
2356
2368
  styleTraits?: {
2357
2369
  palette?: boolean | undefined;
2358
2370
  outline?: boolean | undefined;
@@ -2774,6 +2786,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2774
2786
  providerOptions: Record<string, Record<string, unknown>>;
2775
2787
  provider?: string | undefined;
2776
2788
  template?: string | undefined;
2789
+ directions?: 4 | 8 | undefined;
2777
2790
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2778
2791
  outline?: string | undefined;
2779
2792
  shading?: string | undefined;
@@ -2810,7 +2823,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2810
2823
  isometricTileSize?: 16 | 32 | undefined;
2811
2824
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2812
2825
  objectDirections?: 1 | 8 | undefined;
2813
- directions?: 4 | 8 | undefined;
2814
2826
  styleTraits?: {
2815
2827
  palette?: boolean | undefined;
2816
2828
  outline?: boolean | undefined;
@@ -2847,6 +2859,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2847
2859
  provider?: string | undefined;
2848
2860
  palette?: string[] | undefined;
2849
2861
  template?: string | undefined;
2862
+ directions?: 4 | 8 | undefined;
2850
2863
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2851
2864
  outline?: string | undefined;
2852
2865
  shading?: string | undefined;
@@ -2890,7 +2903,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2890
2903
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2891
2904
  objectDirections?: 1 | 8 | undefined;
2892
2905
  noBackground?: boolean | undefined;
2893
- directions?: 4 | 8 | undefined;
2894
2906
  styleTraits?: {
2895
2907
  palette?: boolean | undefined;
2896
2908
  outline?: boolean | undefined;
@@ -2940,6 +2952,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2940
2952
  providerOptions: Record<string, Record<string, unknown>>;
2941
2953
  provider?: string | undefined;
2942
2954
  template?: string | undefined;
2955
+ directions?: 4 | 8 | undefined;
2943
2956
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2944
2957
  outline?: string | undefined;
2945
2958
  shading?: string | undefined;
@@ -2976,7 +2989,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2976
2989
  isometricTileSize?: 16 | 32 | undefined;
2977
2990
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
2978
2991
  objectDirections?: 1 | 8 | undefined;
2979
- directions?: 4 | 8 | undefined;
2980
2992
  styleTraits?: {
2981
2993
  palette?: boolean | undefined;
2982
2994
  outline?: boolean | undefined;
@@ -3013,6 +3025,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3013
3025
  provider?: string | undefined;
3014
3026
  palette?: string[] | undefined;
3015
3027
  template?: string | undefined;
3028
+ directions?: 4 | 8 | undefined;
3016
3029
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3017
3030
  outline?: string | undefined;
3018
3031
  shading?: string | undefined;
@@ -3056,7 +3069,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3056
3069
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3057
3070
  objectDirections?: 1 | 8 | undefined;
3058
3071
  noBackground?: boolean | undefined;
3059
- directions?: 4 | 8 | undefined;
3060
3072
  styleTraits?: {
3061
3073
  palette?: boolean | undefined;
3062
3074
  outline?: boolean | undefined;
@@ -3106,6 +3118,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3106
3118
  providerOptions: Record<string, Record<string, unknown>>;
3107
3119
  provider?: string | undefined;
3108
3120
  template?: string | undefined;
3121
+ directions?: 4 | 8 | undefined;
3109
3122
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3110
3123
  outline?: string | undefined;
3111
3124
  shading?: string | undefined;
@@ -3142,7 +3155,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3142
3155
  isometricTileSize?: 16 | 32 | undefined;
3143
3156
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3144
3157
  objectDirections?: 1 | 8 | undefined;
3145
- directions?: 4 | 8 | undefined;
3146
3158
  styleTraits?: {
3147
3159
  palette?: boolean | undefined;
3148
3160
  outline?: boolean | undefined;
@@ -3179,6 +3191,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3179
3191
  provider?: string | undefined;
3180
3192
  palette?: string[] | undefined;
3181
3193
  template?: string | undefined;
3194
+ directions?: 4 | 8 | undefined;
3182
3195
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3183
3196
  outline?: string | undefined;
3184
3197
  shading?: string | undefined;
@@ -3222,7 +3235,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3222
3235
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3223
3236
  objectDirections?: 1 | 8 | undefined;
3224
3237
  noBackground?: boolean | undefined;
3225
- directions?: 4 | 8 | undefined;
3226
3238
  styleTraits?: {
3227
3239
  palette?: boolean | undefined;
3228
3240
  outline?: boolean | undefined;
@@ -3408,6 +3420,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3408
3420
  provider?: string | undefined;
3409
3421
  palette?: string[] | undefined;
3410
3422
  template?: string | undefined;
3423
+ directions?: 4 | 8 | undefined;
3411
3424
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3412
3425
  outline?: string | undefined;
3413
3426
  shading?: string | undefined;
@@ -3451,7 +3464,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3451
3464
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3452
3465
  objectDirections?: 1 | 8 | undefined;
3453
3466
  noBackground?: boolean | undefined;
3454
- directions?: 4 | 8 | undefined;
3455
3467
  styleTraits?: {
3456
3468
  palette?: boolean | undefined;
3457
3469
  outline?: boolean | undefined;
@@ -3492,6 +3504,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3492
3504
  provider?: string | undefined;
3493
3505
  palette?: string[] | undefined;
3494
3506
  template?: string | undefined;
3507
+ directions?: 4 | 8 | undefined;
3495
3508
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3496
3509
  outline?: string | undefined;
3497
3510
  shading?: string | undefined;
@@ -3535,7 +3548,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3535
3548
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
3536
3549
  objectDirections?: 1 | 8 | undefined;
3537
3550
  noBackground?: boolean | undefined;
3538
- directions?: 4 | 8 | undefined;
3539
3551
  styleTraits?: {
3540
3552
  palette?: boolean | undefined;
3541
3553
  outline?: boolean | undefined;
@@ -3773,6 +3785,14 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3773
3785
  template: z.ZodOptional<z.ZodString>;
3774
3786
  /** Direction to animate. */
3775
3787
  direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
3788
+ /**
3789
+ * Shorthand for one loop in several directions, instead of `direction`.
3790
+ * Expanded when the manifest loads into one loop per named direction
3791
+ * (`<id>.<direction>`) plus a mirror for each direction whose flip is
3792
+ * not named, exactly as if each had been written out. See
3793
+ * `src/loop-directions.ts`.
3794
+ */
3795
+ directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
3776
3796
  /** Frames to generate without a template (v3). Even, 4 to 16. */
3777
3797
  frames: z.ZodOptional<z.ZodNumber>;
3778
3798
  /** Playback rate recorded with the frames; PixelLab does not store one. */
@@ -3807,6 +3827,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3807
3827
  keepFirstFrame: boolean;
3808
3828
  frames?: number | undefined;
3809
3829
  template?: string | undefined;
3830
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
3810
3831
  mode?: "v3" | "pro" | "template" | undefined;
3811
3832
  startFrame?: string | undefined;
3812
3833
  endFrame?: string | undefined;
@@ -3821,6 +3842,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3821
3842
  fps?: number | undefined;
3822
3843
  template?: string | undefined;
3823
3844
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
3845
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
3824
3846
  keepFirstFrame?: boolean | undefined;
3825
3847
  mode?: "v3" | "pro" | "template" | undefined;
3826
3848
  startFrame?: string | undefined;
@@ -3837,6 +3859,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3837
3859
  keepFirstFrame: boolean;
3838
3860
  frames?: number | undefined;
3839
3861
  template?: string | undefined;
3862
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
3840
3863
  mode?: "v3" | "pro" | "template" | undefined;
3841
3864
  startFrame?: string | undefined;
3842
3865
  endFrame?: string | undefined;
@@ -3851,6 +3874,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3851
3874
  fps?: number | undefined;
3852
3875
  template?: string | undefined;
3853
3876
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
3877
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
3854
3878
  keepFirstFrame?: boolean | undefined;
3855
3879
  mode?: "v3" | "pro" | "template" | undefined;
3856
3880
  startFrame?: string | undefined;
@@ -4053,6 +4077,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4053
4077
  keepFirstFrame: boolean;
4054
4078
  frames?: number | undefined;
4055
4079
  template?: string | undefined;
4080
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
4056
4081
  mode?: "v3" | "pro" | "template" | undefined;
4057
4082
  startFrame?: string | undefined;
4058
4083
  endFrame?: string | undefined;
@@ -4144,6 +4169,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4144
4169
  fps?: number | undefined;
4145
4170
  template?: string | undefined;
4146
4171
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
4172
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
4147
4173
  keepFirstFrame?: boolean | undefined;
4148
4174
  mode?: "v3" | "pro" | "template" | undefined;
4149
4175
  startFrame?: string | undefined;
@@ -4247,6 +4273,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4247
4273
  keepFirstFrame: boolean;
4248
4274
  frames?: number | undefined;
4249
4275
  template?: string | undefined;
4276
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
4250
4277
  mode?: "v3" | "pro" | "template" | undefined;
4251
4278
  startFrame?: string | undefined;
4252
4279
  endFrame?: string | undefined;
@@ -4338,6 +4365,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4338
4365
  fps?: number | undefined;
4339
4366
  template?: string | undefined;
4340
4367
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
4368
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
4341
4369
  keepFirstFrame?: boolean | undefined;
4342
4370
  mode?: "v3" | "pro" | "template" | undefined;
4343
4371
  startFrame?: string | undefined;
@@ -4822,6 +4850,7 @@ declare const ManifestSchema: z.ZodObject<{
4822
4850
  providerOptions: Record<string, Record<string, unknown>>;
4823
4851
  provider?: string | undefined;
4824
4852
  template?: string | undefined;
4853
+ directions?: 4 | 8 | undefined;
4825
4854
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
4826
4855
  outline?: string | undefined;
4827
4856
  shading?: string | undefined;
@@ -4858,7 +4887,6 @@ declare const ManifestSchema: z.ZodObject<{
4858
4887
  isometricTileSize?: 16 | 32 | undefined;
4859
4888
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
4860
4889
  objectDirections?: 1 | 8 | undefined;
4861
- directions?: 4 | 8 | undefined;
4862
4890
  styleTraits?: {
4863
4891
  palette?: boolean | undefined;
4864
4892
  outline?: boolean | undefined;
@@ -4895,6 +4923,7 @@ declare const ManifestSchema: z.ZodObject<{
4895
4923
  provider?: string | undefined;
4896
4924
  palette?: string[] | undefined;
4897
4925
  template?: string | undefined;
4926
+ directions?: 4 | 8 | undefined;
4898
4927
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
4899
4928
  outline?: string | undefined;
4900
4929
  shading?: string | undefined;
@@ -4938,7 +4967,6 @@ declare const ManifestSchema: z.ZodObject<{
4938
4967
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
4939
4968
  objectDirections?: 1 | 8 | undefined;
4940
4969
  noBackground?: boolean | undefined;
4941
- directions?: 4 | 8 | undefined;
4942
4970
  styleTraits?: {
4943
4971
  palette?: boolean | undefined;
4944
4972
  outline?: boolean | undefined;
@@ -4988,6 +5016,7 @@ declare const ManifestSchema: z.ZodObject<{
4988
5016
  providerOptions: Record<string, Record<string, unknown>>;
4989
5017
  provider?: string | undefined;
4990
5018
  template?: string | undefined;
5019
+ directions?: 4 | 8 | undefined;
4991
5020
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
4992
5021
  outline?: string | undefined;
4993
5022
  shading?: string | undefined;
@@ -5024,7 +5053,6 @@ declare const ManifestSchema: z.ZodObject<{
5024
5053
  isometricTileSize?: 16 | 32 | undefined;
5025
5054
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
5026
5055
  objectDirections?: 1 | 8 | undefined;
5027
- directions?: 4 | 8 | undefined;
5028
5056
  styleTraits?: {
5029
5057
  palette?: boolean | undefined;
5030
5058
  outline?: boolean | undefined;
@@ -5061,6 +5089,7 @@ declare const ManifestSchema: z.ZodObject<{
5061
5089
  provider?: string | undefined;
5062
5090
  palette?: string[] | undefined;
5063
5091
  template?: string | undefined;
5092
+ directions?: 4 | 8 | undefined;
5064
5093
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5065
5094
  outline?: string | undefined;
5066
5095
  shading?: string | undefined;
@@ -5104,7 +5133,6 @@ declare const ManifestSchema: z.ZodObject<{
5104
5133
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
5105
5134
  objectDirections?: 1 | 8 | undefined;
5106
5135
  noBackground?: boolean | undefined;
5107
- directions?: 4 | 8 | undefined;
5108
5136
  styleTraits?: {
5109
5137
  palette?: boolean | undefined;
5110
5138
  outline?: boolean | undefined;
@@ -5154,6 +5182,7 @@ declare const ManifestSchema: z.ZodObject<{
5154
5182
  providerOptions: Record<string, Record<string, unknown>>;
5155
5183
  provider?: string | undefined;
5156
5184
  template?: string | undefined;
5185
+ directions?: 4 | 8 | undefined;
5157
5186
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5158
5187
  outline?: string | undefined;
5159
5188
  shading?: string | undefined;
@@ -5190,7 +5219,6 @@ declare const ManifestSchema: z.ZodObject<{
5190
5219
  isometricTileSize?: 16 | 32 | undefined;
5191
5220
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
5192
5221
  objectDirections?: 1 | 8 | undefined;
5193
- directions?: 4 | 8 | undefined;
5194
5222
  styleTraits?: {
5195
5223
  palette?: boolean | undefined;
5196
5224
  outline?: boolean | undefined;
@@ -5227,6 +5255,7 @@ declare const ManifestSchema: z.ZodObject<{
5227
5255
  provider?: string | undefined;
5228
5256
  palette?: string[] | undefined;
5229
5257
  template?: string | undefined;
5258
+ directions?: 4 | 8 | undefined;
5230
5259
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5231
5260
  outline?: string | undefined;
5232
5261
  shading?: string | undefined;
@@ -5270,7 +5299,6 @@ declare const ManifestSchema: z.ZodObject<{
5270
5299
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
5271
5300
  objectDirections?: 1 | 8 | undefined;
5272
5301
  noBackground?: boolean | undefined;
5273
- directions?: 4 | 8 | undefined;
5274
5302
  styleTraits?: {
5275
5303
  palette?: boolean | undefined;
5276
5304
  outline?: boolean | undefined;
@@ -5507,6 +5535,14 @@ declare const ManifestSchema: z.ZodObject<{
5507
5535
  template: z.ZodOptional<z.ZodString>;
5508
5536
  /** Direction to animate. */
5509
5537
  direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
5538
+ /**
5539
+ * Shorthand for one loop in several directions, instead of `direction`.
5540
+ * Expanded when the manifest loads into one loop per named direction
5541
+ * (`<id>.<direction>`) plus a mirror for each direction whose flip is
5542
+ * not named, exactly as if each had been written out. See
5543
+ * `src/loop-directions.ts`.
5544
+ */
5545
+ directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
5510
5546
  /** Frames to generate without a template (v3). Even, 4 to 16. */
5511
5547
  frames: z.ZodOptional<z.ZodNumber>;
5512
5548
  /** Playback rate recorded with the frames; PixelLab does not store one. */
@@ -5541,6 +5577,7 @@ declare const ManifestSchema: z.ZodObject<{
5541
5577
  keepFirstFrame: boolean;
5542
5578
  frames?: number | undefined;
5543
5579
  template?: string | undefined;
5580
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5544
5581
  mode?: "v3" | "pro" | "template" | undefined;
5545
5582
  startFrame?: string | undefined;
5546
5583
  endFrame?: string | undefined;
@@ -5555,6 +5592,7 @@ declare const ManifestSchema: z.ZodObject<{
5555
5592
  fps?: number | undefined;
5556
5593
  template?: string | undefined;
5557
5594
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
5595
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5558
5596
  keepFirstFrame?: boolean | undefined;
5559
5597
  mode?: "v3" | "pro" | "template" | undefined;
5560
5598
  startFrame?: string | undefined;
@@ -5571,6 +5609,7 @@ declare const ManifestSchema: z.ZodObject<{
5571
5609
  keepFirstFrame: boolean;
5572
5610
  frames?: number | undefined;
5573
5611
  template?: string | undefined;
5612
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5574
5613
  mode?: "v3" | "pro" | "template" | undefined;
5575
5614
  startFrame?: string | undefined;
5576
5615
  endFrame?: string | undefined;
@@ -5585,6 +5624,7 @@ declare const ManifestSchema: z.ZodObject<{
5585
5624
  fps?: number | undefined;
5586
5625
  template?: string | undefined;
5587
5626
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
5627
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5588
5628
  keepFirstFrame?: boolean | undefined;
5589
5629
  mode?: "v3" | "pro" | "template" | undefined;
5590
5630
  startFrame?: string | undefined;
@@ -5787,6 +5827,7 @@ declare const ManifestSchema: z.ZodObject<{
5787
5827
  keepFirstFrame: boolean;
5788
5828
  frames?: number | undefined;
5789
5829
  template?: string | undefined;
5830
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5790
5831
  mode?: "v3" | "pro" | "template" | undefined;
5791
5832
  startFrame?: string | undefined;
5792
5833
  endFrame?: string | undefined;
@@ -5878,6 +5919,7 @@ declare const ManifestSchema: z.ZodObject<{
5878
5919
  fps?: number | undefined;
5879
5920
  template?: string | undefined;
5880
5921
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
5922
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5881
5923
  keepFirstFrame?: boolean | undefined;
5882
5924
  mode?: "v3" | "pro" | "template" | undefined;
5883
5925
  startFrame?: string | undefined;
@@ -5981,6 +6023,7 @@ declare const ManifestSchema: z.ZodObject<{
5981
6023
  keepFirstFrame: boolean;
5982
6024
  frames?: number | undefined;
5983
6025
  template?: string | undefined;
6026
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
5984
6027
  mode?: "v3" | "pro" | "template" | undefined;
5985
6028
  startFrame?: string | undefined;
5986
6029
  endFrame?: string | undefined;
@@ -6072,6 +6115,7 @@ declare const ManifestSchema: z.ZodObject<{
6072
6115
  fps?: number | undefined;
6073
6116
  template?: string | undefined;
6074
6117
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
6118
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
6075
6119
  keepFirstFrame?: boolean | undefined;
6076
6120
  mode?: "v3" | "pro" | "template" | undefined;
6077
6121
  startFrame?: string | undefined;
@@ -6178,6 +6222,7 @@ declare const ManifestSchema: z.ZodObject<{
6178
6222
  providerOptions: Record<string, Record<string, unknown>>;
6179
6223
  provider?: string | undefined;
6180
6224
  template?: string | undefined;
6225
+ directions?: 4 | 8 | undefined;
6181
6226
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6182
6227
  outline?: string | undefined;
6183
6228
  shading?: string | undefined;
@@ -6214,7 +6259,6 @@ declare const ManifestSchema: z.ZodObject<{
6214
6259
  isometricTileSize?: 16 | 32 | undefined;
6215
6260
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
6216
6261
  objectDirections?: 1 | 8 | undefined;
6217
- directions?: 4 | 8 | undefined;
6218
6262
  styleTraits?: {
6219
6263
  palette?: boolean | undefined;
6220
6264
  outline?: boolean | undefined;
@@ -6263,6 +6307,7 @@ declare const ManifestSchema: z.ZodObject<{
6263
6307
  keepFirstFrame: boolean;
6264
6308
  frames?: number | undefined;
6265
6309
  template?: string | undefined;
6310
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
6266
6311
  mode?: "v3" | "pro" | "template" | undefined;
6267
6312
  startFrame?: string | undefined;
6268
6313
  endFrame?: string | undefined;
@@ -6354,6 +6399,7 @@ declare const ManifestSchema: z.ZodObject<{
6354
6399
  provider?: string | undefined;
6355
6400
  palette?: string[] | undefined;
6356
6401
  template?: string | undefined;
6402
+ directions?: 4 | 8 | undefined;
6357
6403
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6358
6404
  outline?: string | undefined;
6359
6405
  shading?: string | undefined;
@@ -6397,7 +6443,6 @@ declare const ManifestSchema: z.ZodObject<{
6397
6443
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
6398
6444
  objectDirections?: 1 | 8 | undefined;
6399
6445
  noBackground?: boolean | undefined;
6400
- directions?: 4 | 8 | undefined;
6401
6446
  styleTraits?: {
6402
6447
  palette?: boolean | undefined;
6403
6448
  outline?: boolean | undefined;
@@ -6443,6 +6488,7 @@ declare const ManifestSchema: z.ZodObject<{
6443
6488
  fps?: number | undefined;
6444
6489
  template?: string | undefined;
6445
6490
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
6491
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
6446
6492
  keepFirstFrame?: boolean | undefined;
6447
6493
  mode?: "v3" | "pro" | "template" | undefined;
6448
6494
  startFrame?: string | undefined;
@@ -6928,6 +6974,7 @@ declare const ManifestInputSchema: z.ZodObject<{
6928
6974
  providerOptions: Record<string, Record<string, unknown>>;
6929
6975
  provider?: string | undefined;
6930
6976
  template?: string | undefined;
6977
+ directions?: 4 | 8 | undefined;
6931
6978
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6932
6979
  outline?: string | undefined;
6933
6980
  shading?: string | undefined;
@@ -6964,7 +7011,6 @@ declare const ManifestInputSchema: z.ZodObject<{
6964
7011
  isometricTileSize?: 16 | 32 | undefined;
6965
7012
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
6966
7013
  objectDirections?: 1 | 8 | undefined;
6967
- directions?: 4 | 8 | undefined;
6968
7014
  styleTraits?: {
6969
7015
  palette?: boolean | undefined;
6970
7016
  outline?: boolean | undefined;
@@ -7001,6 +7047,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7001
7047
  provider?: string | undefined;
7002
7048
  palette?: string[] | undefined;
7003
7049
  template?: string | undefined;
7050
+ directions?: 4 | 8 | undefined;
7004
7051
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7005
7052
  outline?: string | undefined;
7006
7053
  shading?: string | undefined;
@@ -7044,7 +7091,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7044
7091
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7045
7092
  objectDirections?: 1 | 8 | undefined;
7046
7093
  noBackground?: boolean | undefined;
7047
- directions?: 4 | 8 | undefined;
7048
7094
  styleTraits?: {
7049
7095
  palette?: boolean | undefined;
7050
7096
  outline?: boolean | undefined;
@@ -7094,6 +7140,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7094
7140
  providerOptions: Record<string, Record<string, unknown>>;
7095
7141
  provider?: string | undefined;
7096
7142
  template?: string | undefined;
7143
+ directions?: 4 | 8 | undefined;
7097
7144
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7098
7145
  outline?: string | undefined;
7099
7146
  shading?: string | undefined;
@@ -7130,7 +7177,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7130
7177
  isometricTileSize?: 16 | 32 | undefined;
7131
7178
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7132
7179
  objectDirections?: 1 | 8 | undefined;
7133
- directions?: 4 | 8 | undefined;
7134
7180
  styleTraits?: {
7135
7181
  palette?: boolean | undefined;
7136
7182
  outline?: boolean | undefined;
@@ -7167,6 +7213,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7167
7213
  provider?: string | undefined;
7168
7214
  palette?: string[] | undefined;
7169
7215
  template?: string | undefined;
7216
+ directions?: 4 | 8 | undefined;
7170
7217
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7171
7218
  outline?: string | undefined;
7172
7219
  shading?: string | undefined;
@@ -7210,7 +7257,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7210
7257
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7211
7258
  objectDirections?: 1 | 8 | undefined;
7212
7259
  noBackground?: boolean | undefined;
7213
- directions?: 4 | 8 | undefined;
7214
7260
  styleTraits?: {
7215
7261
  palette?: boolean | undefined;
7216
7262
  outline?: boolean | undefined;
@@ -7260,6 +7306,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7260
7306
  providerOptions: Record<string, Record<string, unknown>>;
7261
7307
  provider?: string | undefined;
7262
7308
  template?: string | undefined;
7309
+ directions?: 4 | 8 | undefined;
7263
7310
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7264
7311
  outline?: string | undefined;
7265
7312
  shading?: string | undefined;
@@ -7296,7 +7343,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7296
7343
  isometricTileSize?: 16 | 32 | undefined;
7297
7344
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7298
7345
  objectDirections?: 1 | 8 | undefined;
7299
- directions?: 4 | 8 | undefined;
7300
7346
  styleTraits?: {
7301
7347
  palette?: boolean | undefined;
7302
7348
  outline?: boolean | undefined;
@@ -7333,6 +7379,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7333
7379
  provider?: string | undefined;
7334
7380
  palette?: string[] | undefined;
7335
7381
  template?: string | undefined;
7382
+ directions?: 4 | 8 | undefined;
7336
7383
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7337
7384
  outline?: string | undefined;
7338
7385
  shading?: string | undefined;
@@ -7376,7 +7423,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7376
7423
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7377
7424
  objectDirections?: 1 | 8 | undefined;
7378
7425
  noBackground?: boolean | undefined;
7379
- directions?: 4 | 8 | undefined;
7380
7426
  styleTraits?: {
7381
7427
  palette?: boolean | undefined;
7382
7428
  outline?: boolean | undefined;
@@ -7562,6 +7608,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7562
7608
  provider?: string | undefined;
7563
7609
  palette?: string[] | undefined;
7564
7610
  template?: string | undefined;
7611
+ directions?: 4 | 8 | undefined;
7565
7612
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7566
7613
  outline?: string | undefined;
7567
7614
  shading?: string | undefined;
@@ -7605,7 +7652,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7605
7652
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7606
7653
  objectDirections?: 1 | 8 | undefined;
7607
7654
  noBackground?: boolean | undefined;
7608
- directions?: 4 | 8 | undefined;
7609
7655
  styleTraits?: {
7610
7656
  palette?: boolean | undefined;
7611
7657
  outline?: boolean | undefined;
@@ -7646,6 +7692,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7646
7692
  provider?: string | undefined;
7647
7693
  palette?: string[] | undefined;
7648
7694
  template?: string | undefined;
7695
+ directions?: 4 | 8 | undefined;
7649
7696
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7650
7697
  outline?: string | undefined;
7651
7698
  shading?: string | undefined;
@@ -7689,7 +7736,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7689
7736
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
7690
7737
  objectDirections?: 1 | 8 | undefined;
7691
7738
  noBackground?: boolean | undefined;
7692
- directions?: 4 | 8 | undefined;
7693
7739
  styleTraits?: {
7694
7740
  palette?: boolean | undefined;
7695
7741
  outline?: boolean | undefined;
@@ -7926,6 +7972,14 @@ declare const ManifestInputSchema: z.ZodObject<{
7926
7972
  template: z.ZodOptional<z.ZodString>;
7927
7973
  /** Direction to animate. */
7928
7974
  direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
7975
+ /**
7976
+ * Shorthand for one loop in several directions, instead of `direction`.
7977
+ * Expanded when the manifest loads into one loop per named direction
7978
+ * (`<id>.<direction>`) plus a mirror for each direction whose flip is
7979
+ * not named, exactly as if each had been written out. See
7980
+ * `src/loop-directions.ts`.
7981
+ */
7982
+ directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
7929
7983
  /** Frames to generate without a template (v3). Even, 4 to 16. */
7930
7984
  frames: z.ZodOptional<z.ZodNumber>;
7931
7985
  /** Playback rate recorded with the frames; PixelLab does not store one. */
@@ -7960,6 +8014,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7960
8014
  keepFirstFrame: boolean;
7961
8015
  frames?: number | undefined;
7962
8016
  template?: string | undefined;
8017
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
7963
8018
  mode?: "v3" | "pro" | "template" | undefined;
7964
8019
  startFrame?: string | undefined;
7965
8020
  endFrame?: string | undefined;
@@ -7974,6 +8029,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7974
8029
  fps?: number | undefined;
7975
8030
  template?: string | undefined;
7976
8031
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
8032
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
7977
8033
  keepFirstFrame?: boolean | undefined;
7978
8034
  mode?: "v3" | "pro" | "template" | undefined;
7979
8035
  startFrame?: string | undefined;
@@ -7990,6 +8046,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7990
8046
  keepFirstFrame: boolean;
7991
8047
  frames?: number | undefined;
7992
8048
  template?: string | undefined;
8049
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
7993
8050
  mode?: "v3" | "pro" | "template" | undefined;
7994
8051
  startFrame?: string | undefined;
7995
8052
  endFrame?: string | undefined;
@@ -8004,6 +8061,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8004
8061
  fps?: number | undefined;
8005
8062
  template?: string | undefined;
8006
8063
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
8064
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8007
8065
  keepFirstFrame?: boolean | undefined;
8008
8066
  mode?: "v3" | "pro" | "template" | undefined;
8009
8067
  startFrame?: string | undefined;
@@ -8206,6 +8264,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8206
8264
  keepFirstFrame: boolean;
8207
8265
  frames?: number | undefined;
8208
8266
  template?: string | undefined;
8267
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8209
8268
  mode?: "v3" | "pro" | "template" | undefined;
8210
8269
  startFrame?: string | undefined;
8211
8270
  endFrame?: string | undefined;
@@ -8297,6 +8356,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8297
8356
  fps?: number | undefined;
8298
8357
  template?: string | undefined;
8299
8358
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
8359
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8300
8360
  keepFirstFrame?: boolean | undefined;
8301
8361
  mode?: "v3" | "pro" | "template" | undefined;
8302
8362
  startFrame?: string | undefined;
@@ -8400,6 +8460,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8400
8460
  keepFirstFrame: boolean;
8401
8461
  frames?: number | undefined;
8402
8462
  template?: string | undefined;
8463
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8403
8464
  mode?: "v3" | "pro" | "template" | undefined;
8404
8465
  startFrame?: string | undefined;
8405
8466
  endFrame?: string | undefined;
@@ -8491,6 +8552,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8491
8552
  fps?: number | undefined;
8492
8553
  template?: string | undefined;
8493
8554
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
8555
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8494
8556
  keepFirstFrame?: boolean | undefined;
8495
8557
  mode?: "v3" | "pro" | "template" | undefined;
8496
8558
  startFrame?: string | undefined;
@@ -8597,6 +8659,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8597
8659
  providerOptions: Record<string, Record<string, unknown>>;
8598
8660
  provider?: string | undefined;
8599
8661
  template?: string | undefined;
8662
+ directions?: 4 | 8 | undefined;
8600
8663
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8601
8664
  outline?: string | undefined;
8602
8665
  shading?: string | undefined;
@@ -8633,7 +8696,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8633
8696
  isometricTileSize?: 16 | 32 | undefined;
8634
8697
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
8635
8698
  objectDirections?: 1 | 8 | undefined;
8636
- directions?: 4 | 8 | undefined;
8637
8699
  styleTraits?: {
8638
8700
  palette?: boolean | undefined;
8639
8701
  outline?: boolean | undefined;
@@ -8671,6 +8733,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8671
8733
  provider?: string | undefined;
8672
8734
  palette?: string[] | undefined;
8673
8735
  template?: string | undefined;
8736
+ directions?: 4 | 8 | undefined;
8674
8737
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8675
8738
  outline?: string | undefined;
8676
8739
  shading?: string | undefined;
@@ -8714,7 +8777,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8714
8777
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
8715
8778
  objectDirections?: 1 | 8 | undefined;
8716
8779
  noBackground?: boolean | undefined;
8717
- directions?: 4 | 8 | undefined;
8718
8780
  styleTraits?: {
8719
8781
  palette?: boolean | undefined;
8720
8782
  outline?: boolean | undefined;
@@ -8766,6 +8828,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8766
8828
  keepFirstFrame: boolean;
8767
8829
  frames?: number | undefined;
8768
8830
  template?: string | undefined;
8831
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
8769
8832
  mode?: "v3" | "pro" | "template" | undefined;
8770
8833
  startFrame?: string | undefined;
8771
8834
  endFrame?: string | undefined;
@@ -8857,6 +8920,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8857
8920
  provider?: string | undefined;
8858
8921
  palette?: string[] | undefined;
8859
8922
  template?: string | undefined;
8923
+ directions?: 4 | 8 | undefined;
8860
8924
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8861
8925
  outline?: string | undefined;
8862
8926
  shading?: string | undefined;
@@ -8900,7 +8964,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8900
8964
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
8901
8965
  objectDirections?: 1 | 8 | undefined;
8902
8966
  noBackground?: boolean | undefined;
8903
- directions?: 4 | 8 | undefined;
8904
8967
  styleTraits?: {
8905
8968
  palette?: boolean | undefined;
8906
8969
  outline?: boolean | undefined;
@@ -8941,6 +9004,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8941
9004
  provider?: string | undefined;
8942
9005
  palette?: string[] | undefined;
8943
9006
  template?: string | undefined;
9007
+ directions?: 4 | 8 | undefined;
8944
9008
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8945
9009
  outline?: string | undefined;
8946
9010
  shading?: string | undefined;
@@ -8984,7 +9048,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8984
9048
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
8985
9049
  objectDirections?: 1 | 8 | undefined;
8986
9050
  noBackground?: boolean | undefined;
8987
- directions?: 4 | 8 | undefined;
8988
9051
  styleTraits?: {
8989
9052
  palette?: boolean | undefined;
8990
9053
  outline?: boolean | undefined;
@@ -9030,6 +9093,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9030
9093
  fps?: number | undefined;
9031
9094
  template?: string | undefined;
9032
9095
  direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
9096
+ directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
9033
9097
  keepFirstFrame?: boolean | undefined;
9034
9098
  mode?: "v3" | "pro" | "template" | undefined;
9035
9099
  startFrame?: string | undefined;
@@ -12800,6 +12864,11 @@ interface LoadedManifest {
12800
12864
  /** Directory the manifest lives in. All relative paths resolve against it. */
12801
12865
  root: string;
12802
12866
  path: string;
12867
+ /**
12868
+ * `animation.directions` shorthands, by the id they were declared under,
12869
+ * and the asset ids each expanded into. Absent when the manifest has none.
12870
+ */
12871
+ loopFamilies?: Record<string, string[]>;
12803
12872
  }
12804
12873
  declare function loadManifest(manifestPath: string): Promise<LoadedManifest>;
12805
12874
  /** The asset this one is generated from, whichever shape declares it. */
@@ -13370,6 +13439,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13370
13439
  providerOptions: Record<string, Record<string, unknown>>;
13371
13440
  provider?: string | undefined;
13372
13441
  template?: string | undefined;
13442
+ directions?: 4 | 8 | undefined;
13373
13443
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13374
13444
  outline?: string | undefined;
13375
13445
  shading?: string | undefined;
@@ -13406,7 +13476,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13406
13476
  isometricTileSize?: 16 | 32 | undefined;
13407
13477
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13408
13478
  objectDirections?: 1 | 8 | undefined;
13409
- directions?: 4 | 8 | undefined;
13410
13479
  styleTraits?: {
13411
13480
  palette?: boolean | undefined;
13412
13481
  outline?: boolean | undefined;
@@ -13443,6 +13512,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13443
13512
  provider?: string | undefined;
13444
13513
  palette?: string[] | undefined;
13445
13514
  template?: string | undefined;
13515
+ directions?: 4 | 8 | undefined;
13446
13516
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13447
13517
  outline?: string | undefined;
13448
13518
  shading?: string | undefined;
@@ -13486,7 +13556,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13486
13556
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13487
13557
  objectDirections?: 1 | 8 | undefined;
13488
13558
  noBackground?: boolean | undefined;
13489
- directions?: 4 | 8 | undefined;
13490
13559
  styleTraits?: {
13491
13560
  palette?: boolean | undefined;
13492
13561
  outline?: boolean | undefined;
@@ -13536,6 +13605,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13536
13605
  providerOptions: Record<string, Record<string, unknown>>;
13537
13606
  provider?: string | undefined;
13538
13607
  template?: string | undefined;
13608
+ directions?: 4 | 8 | undefined;
13539
13609
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13540
13610
  outline?: string | undefined;
13541
13611
  shading?: string | undefined;
@@ -13572,7 +13642,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13572
13642
  isometricTileSize?: 16 | 32 | undefined;
13573
13643
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13574
13644
  objectDirections?: 1 | 8 | undefined;
13575
- directions?: 4 | 8 | undefined;
13576
13645
  styleTraits?: {
13577
13646
  palette?: boolean | undefined;
13578
13647
  outline?: boolean | undefined;
@@ -13609,6 +13678,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13609
13678
  provider?: string | undefined;
13610
13679
  palette?: string[] | undefined;
13611
13680
  template?: string | undefined;
13681
+ directions?: 4 | 8 | undefined;
13612
13682
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13613
13683
  outline?: string | undefined;
13614
13684
  shading?: string | undefined;
@@ -13652,7 +13722,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13652
13722
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13653
13723
  objectDirections?: 1 | 8 | undefined;
13654
13724
  noBackground?: boolean | undefined;
13655
- directions?: 4 | 8 | undefined;
13656
13725
  styleTraits?: {
13657
13726
  palette?: boolean | undefined;
13658
13727
  outline?: boolean | undefined;
@@ -13702,6 +13771,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13702
13771
  providerOptions: Record<string, Record<string, unknown>>;
13703
13772
  provider?: string | undefined;
13704
13773
  template?: string | undefined;
13774
+ directions?: 4 | 8 | undefined;
13705
13775
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13706
13776
  outline?: string | undefined;
13707
13777
  shading?: string | undefined;
@@ -13738,7 +13808,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13738
13808
  isometricTileSize?: 16 | 32 | undefined;
13739
13809
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13740
13810
  objectDirections?: 1 | 8 | undefined;
13741
- directions?: 4 | 8 | undefined;
13742
13811
  styleTraits?: {
13743
13812
  palette?: boolean | undefined;
13744
13813
  outline?: boolean | undefined;
@@ -13775,6 +13844,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13775
13844
  provider?: string | undefined;
13776
13845
  palette?: string[] | undefined;
13777
13846
  template?: string | undefined;
13847
+ directions?: 4 | 8 | undefined;
13778
13848
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13779
13849
  outline?: string | undefined;
13780
13850
  shading?: string | undefined;
@@ -13818,7 +13888,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13818
13888
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
13819
13889
  objectDirections?: 1 | 8 | undefined;
13820
13890
  noBackground?: boolean | undefined;
13821
- directions?: 4 | 8 | undefined;
13822
13891
  styleTraits?: {
13823
13892
  palette?: boolean | undefined;
13824
13893
  outline?: boolean | undefined;
@@ -14219,6 +14288,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14219
14288
  providerOptions: Record<string, Record<string, unknown>>;
14220
14289
  provider?: string | undefined;
14221
14290
  template?: string | undefined;
14291
+ directions?: 4 | 8 | undefined;
14222
14292
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14223
14293
  outline?: string | undefined;
14224
14294
  shading?: string | undefined;
@@ -14255,7 +14325,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14255
14325
  isometricTileSize?: 16 | 32 | undefined;
14256
14326
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
14257
14327
  objectDirections?: 1 | 8 | undefined;
14258
- directions?: 4 | 8 | undefined;
14259
14328
  styleTraits?: {
14260
14329
  palette?: boolean | undefined;
14261
14330
  outline?: boolean | undefined;
@@ -14363,6 +14432,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14363
14432
  provider?: string | undefined;
14364
14433
  palette?: string[] | undefined;
14365
14434
  template?: string | undefined;
14435
+ directions?: 4 | 8 | undefined;
14366
14436
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14367
14437
  outline?: string | undefined;
14368
14438
  shading?: string | undefined;
@@ -14406,7 +14476,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14406
14476
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
14407
14477
  objectDirections?: 1 | 8 | undefined;
14408
14478
  noBackground?: boolean | undefined;
14409
- directions?: 4 | 8 | undefined;
14410
14479
  styleTraits?: {
14411
14480
  palette?: boolean | undefined;
14412
14481
  outline?: boolean | undefined;
@@ -14549,6 +14618,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14549
14618
  providerOptions: Record<string, Record<string, unknown>>;
14550
14619
  provider?: string | undefined;
14551
14620
  template?: string | undefined;
14621
+ directions?: 4 | 8 | undefined;
14552
14622
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14553
14623
  outline?: string | undefined;
14554
14624
  shading?: string | undefined;
@@ -14585,7 +14655,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14585
14655
  isometricTileSize?: 16 | 32 | undefined;
14586
14656
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
14587
14657
  objectDirections?: 1 | 8 | undefined;
14588
- directions?: 4 | 8 | undefined;
14589
14658
  styleTraits?: {
14590
14659
  palette?: boolean | undefined;
14591
14660
  outline?: boolean | undefined;
@@ -14693,6 +14762,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14693
14762
  provider?: string | undefined;
14694
14763
  palette?: string[] | undefined;
14695
14764
  template?: string | undefined;
14765
+ directions?: 4 | 8 | undefined;
14696
14766
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14697
14767
  outline?: string | undefined;
14698
14768
  shading?: string | undefined;
@@ -14736,7 +14806,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14736
14806
  isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
14737
14807
  objectDirections?: 1 | 8 | undefined;
14738
14808
  noBackground?: boolean | undefined;
14739
- directions?: 4 | 8 | undefined;
14740
14809
  styleTraits?: {
14741
14810
  palette?: boolean | undefined;
14742
14811
  outline?: boolean | undefined;