pixelkiln 0.62.0 → 0.64.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/README.md +2 -2
- package/dist/cli.js +384 -48
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +240 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +150 -48
- package/dist/index.d.ts +150 -48
- package/dist/index.js +240 -29
- package/dist/index.js.map +1 -1
- package/docs/CHARACTERS.md +39 -0
- package/docs/CLI.md +6 -3
- package/docs/MANIFEST.md +1 -1
- package/docs/RECOVERY.md +36 -3
- package/package.json +1 -1
- package/schema/manifest.schema.json +17 -0
- package/skills/pixelkiln/SKILL.md +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -363,6 +363,12 @@ interface Provider {
|
|
|
363
363
|
listCharacters?(): AsyncGenerator<RemoteCharacter>;
|
|
364
364
|
/** One character with its rotations and animations. */
|
|
365
365
|
getCharacter?(id: string): Promise<RemoteCharacterDetail>;
|
|
366
|
+
/**
|
|
367
|
+
* Irreversible: the character and its animations. A state is its own
|
|
368
|
+
* character record and is deleted on its own. Only reached via `purge`,
|
|
369
|
+
* behind explicit confirmation.
|
|
370
|
+
*/
|
|
371
|
+
deleteCharacter?(id: string): Promise<void>;
|
|
366
372
|
/**
|
|
367
373
|
* The object's source URLs as the service hands them out now, for
|
|
368
374
|
* `fetch --refresh` when recorded URLs go stale (PixelLab stamps a
|
|
@@ -837,6 +843,14 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
|
|
|
837
843
|
template: z.ZodOptional<z.ZodString>;
|
|
838
844
|
/** Direction to animate. */
|
|
839
845
|
direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
846
|
+
/**
|
|
847
|
+
* Shorthand for one loop in several directions, instead of `direction`.
|
|
848
|
+
* Expanded when the manifest loads into one loop per named direction
|
|
849
|
+
* (`<id>.<direction>`) plus a mirror for each direction whose flip is
|
|
850
|
+
* not named, exactly as if each had been written out. See
|
|
851
|
+
* `src/loop-directions.ts`.
|
|
852
|
+
*/
|
|
853
|
+
directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
|
|
840
854
|
/** Frames to generate without a template (v3). Even, 4 to 16. */
|
|
841
855
|
frames: z.ZodOptional<z.ZodNumber>;
|
|
842
856
|
/** Playback rate recorded with the frames; PixelLab does not store one. */
|
|
@@ -871,6 +885,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
|
|
|
871
885
|
keepFirstFrame: boolean;
|
|
872
886
|
frames?: number | undefined;
|
|
873
887
|
template?: string | undefined;
|
|
888
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
874
889
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
875
890
|
startFrame?: string | undefined;
|
|
876
891
|
endFrame?: string | undefined;
|
|
@@ -885,6 +900,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
|
|
|
885
900
|
fps?: number | undefined;
|
|
886
901
|
template?: string | undefined;
|
|
887
902
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
903
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
888
904
|
keepFirstFrame?: boolean | undefined;
|
|
889
905
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
890
906
|
startFrame?: string | undefined;
|
|
@@ -901,6 +917,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
|
|
|
901
917
|
keepFirstFrame: boolean;
|
|
902
918
|
frames?: number | undefined;
|
|
903
919
|
template?: string | undefined;
|
|
920
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
904
921
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
905
922
|
startFrame?: string | undefined;
|
|
906
923
|
endFrame?: string | undefined;
|
|
@@ -915,6 +932,7 @@ declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
|
|
|
915
932
|
fps?: number | undefined;
|
|
916
933
|
template?: string | undefined;
|
|
917
934
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
935
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
918
936
|
keepFirstFrame?: boolean | undefined;
|
|
919
937
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
920
938
|
startFrame?: string | undefined;
|
|
@@ -1586,6 +1604,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1586
1604
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
1587
1605
|
provider?: string | undefined;
|
|
1588
1606
|
template?: string | undefined;
|
|
1607
|
+
directions?: 4 | 8 | undefined;
|
|
1589
1608
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
1590
1609
|
outline?: string | undefined;
|
|
1591
1610
|
shading?: string | undefined;
|
|
@@ -1622,7 +1641,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1622
1641
|
isometricTileSize?: 16 | 32 | undefined;
|
|
1623
1642
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1624
1643
|
objectDirections?: 1 | 8 | undefined;
|
|
1625
|
-
directions?: 4 | 8 | undefined;
|
|
1626
1644
|
styleTraits?: {
|
|
1627
1645
|
palette?: boolean | undefined;
|
|
1628
1646
|
outline?: boolean | undefined;
|
|
@@ -1659,6 +1677,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1659
1677
|
provider?: string | undefined;
|
|
1660
1678
|
palette?: string[] | undefined;
|
|
1661
1679
|
template?: string | undefined;
|
|
1680
|
+
directions?: 4 | 8 | undefined;
|
|
1662
1681
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
1663
1682
|
outline?: string | undefined;
|
|
1664
1683
|
shading?: string | undefined;
|
|
@@ -1702,7 +1721,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1702
1721
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1703
1722
|
objectDirections?: 1 | 8 | undefined;
|
|
1704
1723
|
noBackground?: boolean | undefined;
|
|
1705
|
-
directions?: 4 | 8 | undefined;
|
|
1706
1724
|
styleTraits?: {
|
|
1707
1725
|
palette?: boolean | undefined;
|
|
1708
1726
|
outline?: boolean | undefined;
|
|
@@ -1752,6 +1770,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1752
1770
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
1753
1771
|
provider?: string | undefined;
|
|
1754
1772
|
template?: string | undefined;
|
|
1773
|
+
directions?: 4 | 8 | undefined;
|
|
1755
1774
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
1756
1775
|
outline?: string | undefined;
|
|
1757
1776
|
shading?: string | undefined;
|
|
@@ -1788,7 +1807,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1788
1807
|
isometricTileSize?: 16 | 32 | undefined;
|
|
1789
1808
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1790
1809
|
objectDirections?: 1 | 8 | undefined;
|
|
1791
|
-
directions?: 4 | 8 | undefined;
|
|
1792
1810
|
styleTraits?: {
|
|
1793
1811
|
palette?: boolean | undefined;
|
|
1794
1812
|
outline?: boolean | undefined;
|
|
@@ -1825,6 +1843,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1825
1843
|
provider?: string | undefined;
|
|
1826
1844
|
palette?: string[] | undefined;
|
|
1827
1845
|
template?: string | undefined;
|
|
1846
|
+
directions?: 4 | 8 | undefined;
|
|
1828
1847
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
1829
1848
|
outline?: string | undefined;
|
|
1830
1849
|
shading?: string | undefined;
|
|
@@ -1868,7 +1887,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1868
1887
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1869
1888
|
objectDirections?: 1 | 8 | undefined;
|
|
1870
1889
|
noBackground?: boolean | undefined;
|
|
1871
|
-
directions?: 4 | 8 | undefined;
|
|
1872
1890
|
styleTraits?: {
|
|
1873
1891
|
palette?: boolean | undefined;
|
|
1874
1892
|
outline?: boolean | undefined;
|
|
@@ -1918,6 +1936,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1918
1936
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
1919
1937
|
provider?: string | undefined;
|
|
1920
1938
|
template?: string | undefined;
|
|
1939
|
+
directions?: 4 | 8 | undefined;
|
|
1921
1940
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
1922
1941
|
outline?: string | undefined;
|
|
1923
1942
|
shading?: string | undefined;
|
|
@@ -1954,7 +1973,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1954
1973
|
isometricTileSize?: 16 | 32 | undefined;
|
|
1955
1974
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
1956
1975
|
objectDirections?: 1 | 8 | undefined;
|
|
1957
|
-
directions?: 4 | 8 | undefined;
|
|
1958
1976
|
styleTraits?: {
|
|
1959
1977
|
palette?: boolean | undefined;
|
|
1960
1978
|
outline?: boolean | undefined;
|
|
@@ -1991,6 +2009,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1991
2009
|
provider?: string | undefined;
|
|
1992
2010
|
palette?: string[] | undefined;
|
|
1993
2011
|
template?: string | undefined;
|
|
2012
|
+
directions?: 4 | 8 | undefined;
|
|
1994
2013
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
1995
2014
|
outline?: string | undefined;
|
|
1996
2015
|
shading?: string | undefined;
|
|
@@ -2034,7 +2053,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2034
2053
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2035
2054
|
objectDirections?: 1 | 8 | undefined;
|
|
2036
2055
|
noBackground?: boolean | undefined;
|
|
2037
|
-
directions?: 4 | 8 | undefined;
|
|
2038
2056
|
styleTraits?: {
|
|
2039
2057
|
palette?: boolean | undefined;
|
|
2040
2058
|
outline?: boolean | undefined;
|
|
@@ -2225,6 +2243,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
2225
2243
|
provider?: string | undefined;
|
|
2226
2244
|
palette?: string[] | undefined;
|
|
2227
2245
|
template?: string | undefined;
|
|
2246
|
+
directions?: 4 | 8 | undefined;
|
|
2228
2247
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
2229
2248
|
outline?: string | undefined;
|
|
2230
2249
|
shading?: string | undefined;
|
|
@@ -2268,7 +2287,6 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
2268
2287
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2269
2288
|
objectDirections?: 1 | 8 | undefined;
|
|
2270
2289
|
noBackground?: boolean | undefined;
|
|
2271
|
-
directions?: 4 | 8 | undefined;
|
|
2272
2290
|
styleTraits?: {
|
|
2273
2291
|
palette?: boolean | undefined;
|
|
2274
2292
|
outline?: boolean | undefined;
|
|
@@ -2309,6 +2327,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
2309
2327
|
provider?: string | undefined;
|
|
2310
2328
|
palette?: string[] | undefined;
|
|
2311
2329
|
template?: string | undefined;
|
|
2330
|
+
directions?: 4 | 8 | undefined;
|
|
2312
2331
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
2313
2332
|
outline?: string | undefined;
|
|
2314
2333
|
shading?: string | undefined;
|
|
@@ -2352,7 +2371,6 @@ declare const InheritedStyleSchema: z.ZodObject<{
|
|
|
2352
2371
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2353
2372
|
objectDirections?: 1 | 8 | undefined;
|
|
2354
2373
|
noBackground?: boolean | undefined;
|
|
2355
|
-
directions?: 4 | 8 | undefined;
|
|
2356
2374
|
styleTraits?: {
|
|
2357
2375
|
palette?: boolean | undefined;
|
|
2358
2376
|
outline?: boolean | undefined;
|
|
@@ -2774,6 +2792,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2774
2792
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
2775
2793
|
provider?: string | undefined;
|
|
2776
2794
|
template?: string | undefined;
|
|
2795
|
+
directions?: 4 | 8 | undefined;
|
|
2777
2796
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
2778
2797
|
outline?: string | undefined;
|
|
2779
2798
|
shading?: string | undefined;
|
|
@@ -2810,7 +2829,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2810
2829
|
isometricTileSize?: 16 | 32 | undefined;
|
|
2811
2830
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2812
2831
|
objectDirections?: 1 | 8 | undefined;
|
|
2813
|
-
directions?: 4 | 8 | undefined;
|
|
2814
2832
|
styleTraits?: {
|
|
2815
2833
|
palette?: boolean | undefined;
|
|
2816
2834
|
outline?: boolean | undefined;
|
|
@@ -2847,6 +2865,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2847
2865
|
provider?: string | undefined;
|
|
2848
2866
|
palette?: string[] | undefined;
|
|
2849
2867
|
template?: string | undefined;
|
|
2868
|
+
directions?: 4 | 8 | undefined;
|
|
2850
2869
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
2851
2870
|
outline?: string | undefined;
|
|
2852
2871
|
shading?: string | undefined;
|
|
@@ -2890,7 +2909,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2890
2909
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2891
2910
|
objectDirections?: 1 | 8 | undefined;
|
|
2892
2911
|
noBackground?: boolean | undefined;
|
|
2893
|
-
directions?: 4 | 8 | undefined;
|
|
2894
2912
|
styleTraits?: {
|
|
2895
2913
|
palette?: boolean | undefined;
|
|
2896
2914
|
outline?: boolean | undefined;
|
|
@@ -2940,6 +2958,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2940
2958
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
2941
2959
|
provider?: string | undefined;
|
|
2942
2960
|
template?: string | undefined;
|
|
2961
|
+
directions?: 4 | 8 | undefined;
|
|
2943
2962
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
2944
2963
|
outline?: string | undefined;
|
|
2945
2964
|
shading?: string | undefined;
|
|
@@ -2976,7 +2995,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
2976
2995
|
isometricTileSize?: 16 | 32 | undefined;
|
|
2977
2996
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
2978
2997
|
objectDirections?: 1 | 8 | undefined;
|
|
2979
|
-
directions?: 4 | 8 | undefined;
|
|
2980
2998
|
styleTraits?: {
|
|
2981
2999
|
palette?: boolean | undefined;
|
|
2982
3000
|
outline?: boolean | undefined;
|
|
@@ -3013,6 +3031,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3013
3031
|
provider?: string | undefined;
|
|
3014
3032
|
palette?: string[] | undefined;
|
|
3015
3033
|
template?: string | undefined;
|
|
3034
|
+
directions?: 4 | 8 | undefined;
|
|
3016
3035
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
3017
3036
|
outline?: string | undefined;
|
|
3018
3037
|
shading?: string | undefined;
|
|
@@ -3056,7 +3075,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3056
3075
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
3057
3076
|
objectDirections?: 1 | 8 | undefined;
|
|
3058
3077
|
noBackground?: boolean | undefined;
|
|
3059
|
-
directions?: 4 | 8 | undefined;
|
|
3060
3078
|
styleTraits?: {
|
|
3061
3079
|
palette?: boolean | undefined;
|
|
3062
3080
|
outline?: boolean | undefined;
|
|
@@ -3106,6 +3124,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3106
3124
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
3107
3125
|
provider?: string | undefined;
|
|
3108
3126
|
template?: string | undefined;
|
|
3127
|
+
directions?: 4 | 8 | undefined;
|
|
3109
3128
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
3110
3129
|
outline?: string | undefined;
|
|
3111
3130
|
shading?: string | undefined;
|
|
@@ -3142,7 +3161,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3142
3161
|
isometricTileSize?: 16 | 32 | undefined;
|
|
3143
3162
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
3144
3163
|
objectDirections?: 1 | 8 | undefined;
|
|
3145
|
-
directions?: 4 | 8 | undefined;
|
|
3146
3164
|
styleTraits?: {
|
|
3147
3165
|
palette?: boolean | undefined;
|
|
3148
3166
|
outline?: boolean | undefined;
|
|
@@ -3179,6 +3197,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3179
3197
|
provider?: string | undefined;
|
|
3180
3198
|
palette?: string[] | undefined;
|
|
3181
3199
|
template?: string | undefined;
|
|
3200
|
+
directions?: 4 | 8 | undefined;
|
|
3182
3201
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
3183
3202
|
outline?: string | undefined;
|
|
3184
3203
|
shading?: string | undefined;
|
|
@@ -3222,7 +3241,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3222
3241
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
3223
3242
|
objectDirections?: 1 | 8 | undefined;
|
|
3224
3243
|
noBackground?: boolean | undefined;
|
|
3225
|
-
directions?: 4 | 8 | undefined;
|
|
3226
3244
|
styleTraits?: {
|
|
3227
3245
|
palette?: boolean | undefined;
|
|
3228
3246
|
outline?: boolean | undefined;
|
|
@@ -3408,6 +3426,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3408
3426
|
provider?: string | undefined;
|
|
3409
3427
|
palette?: string[] | undefined;
|
|
3410
3428
|
template?: string | undefined;
|
|
3429
|
+
directions?: 4 | 8 | undefined;
|
|
3411
3430
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
3412
3431
|
outline?: string | undefined;
|
|
3413
3432
|
shading?: string | undefined;
|
|
@@ -3451,7 +3470,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3451
3470
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
3452
3471
|
objectDirections?: 1 | 8 | undefined;
|
|
3453
3472
|
noBackground?: boolean | undefined;
|
|
3454
|
-
directions?: 4 | 8 | undefined;
|
|
3455
3473
|
styleTraits?: {
|
|
3456
3474
|
palette?: boolean | undefined;
|
|
3457
3475
|
outline?: boolean | undefined;
|
|
@@ -3492,6 +3510,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3492
3510
|
provider?: string | undefined;
|
|
3493
3511
|
palette?: string[] | undefined;
|
|
3494
3512
|
template?: string | undefined;
|
|
3513
|
+
directions?: 4 | 8 | undefined;
|
|
3495
3514
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
3496
3515
|
outline?: string | undefined;
|
|
3497
3516
|
shading?: string | undefined;
|
|
@@ -3535,7 +3554,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
3535
3554
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
3536
3555
|
objectDirections?: 1 | 8 | undefined;
|
|
3537
3556
|
noBackground?: boolean | undefined;
|
|
3538
|
-
directions?: 4 | 8 | undefined;
|
|
3539
3557
|
styleTraits?: {
|
|
3540
3558
|
palette?: boolean | undefined;
|
|
3541
3559
|
outline?: boolean | undefined;
|
|
@@ -3773,6 +3791,14 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3773
3791
|
template: z.ZodOptional<z.ZodString>;
|
|
3774
3792
|
/** Direction to animate. */
|
|
3775
3793
|
direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
3794
|
+
/**
|
|
3795
|
+
* Shorthand for one loop in several directions, instead of `direction`.
|
|
3796
|
+
* Expanded when the manifest loads into one loop per named direction
|
|
3797
|
+
* (`<id>.<direction>`) plus a mirror for each direction whose flip is
|
|
3798
|
+
* not named, exactly as if each had been written out. See
|
|
3799
|
+
* `src/loop-directions.ts`.
|
|
3800
|
+
*/
|
|
3801
|
+
directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
|
|
3776
3802
|
/** Frames to generate without a template (v3). Even, 4 to 16. */
|
|
3777
3803
|
frames: z.ZodOptional<z.ZodNumber>;
|
|
3778
3804
|
/** Playback rate recorded with the frames; PixelLab does not store one. */
|
|
@@ -3807,6 +3833,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3807
3833
|
keepFirstFrame: boolean;
|
|
3808
3834
|
frames?: number | undefined;
|
|
3809
3835
|
template?: string | undefined;
|
|
3836
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
3810
3837
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
3811
3838
|
startFrame?: string | undefined;
|
|
3812
3839
|
endFrame?: string | undefined;
|
|
@@ -3821,6 +3848,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3821
3848
|
fps?: number | undefined;
|
|
3822
3849
|
template?: string | undefined;
|
|
3823
3850
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
3851
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
3824
3852
|
keepFirstFrame?: boolean | undefined;
|
|
3825
3853
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
3826
3854
|
startFrame?: string | undefined;
|
|
@@ -3837,6 +3865,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3837
3865
|
keepFirstFrame: boolean;
|
|
3838
3866
|
frames?: number | undefined;
|
|
3839
3867
|
template?: string | undefined;
|
|
3868
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
3840
3869
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
3841
3870
|
startFrame?: string | undefined;
|
|
3842
3871
|
endFrame?: string | undefined;
|
|
@@ -3851,6 +3880,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3851
3880
|
fps?: number | undefined;
|
|
3852
3881
|
template?: string | undefined;
|
|
3853
3882
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
3883
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
3854
3884
|
keepFirstFrame?: boolean | undefined;
|
|
3855
3885
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
3856
3886
|
startFrame?: string | undefined;
|
|
@@ -4053,6 +4083,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4053
4083
|
keepFirstFrame: boolean;
|
|
4054
4084
|
frames?: number | undefined;
|
|
4055
4085
|
template?: string | undefined;
|
|
4086
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
4056
4087
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
4057
4088
|
startFrame?: string | undefined;
|
|
4058
4089
|
endFrame?: string | undefined;
|
|
@@ -4144,6 +4175,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4144
4175
|
fps?: number | undefined;
|
|
4145
4176
|
template?: string | undefined;
|
|
4146
4177
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
4178
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
4147
4179
|
keepFirstFrame?: boolean | undefined;
|
|
4148
4180
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
4149
4181
|
startFrame?: string | undefined;
|
|
@@ -4247,6 +4279,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4247
4279
|
keepFirstFrame: boolean;
|
|
4248
4280
|
frames?: number | undefined;
|
|
4249
4281
|
template?: string | undefined;
|
|
4282
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
4250
4283
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
4251
4284
|
startFrame?: string | undefined;
|
|
4252
4285
|
endFrame?: string | undefined;
|
|
@@ -4338,6 +4371,7 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4338
4371
|
fps?: number | undefined;
|
|
4339
4372
|
template?: string | undefined;
|
|
4340
4373
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
4374
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
4341
4375
|
keepFirstFrame?: boolean | undefined;
|
|
4342
4376
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
4343
4377
|
startFrame?: string | undefined;
|
|
@@ -4822,6 +4856,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4822
4856
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
4823
4857
|
provider?: string | undefined;
|
|
4824
4858
|
template?: string | undefined;
|
|
4859
|
+
directions?: 4 | 8 | undefined;
|
|
4825
4860
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
4826
4861
|
outline?: string | undefined;
|
|
4827
4862
|
shading?: string | undefined;
|
|
@@ -4858,7 +4893,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4858
4893
|
isometricTileSize?: 16 | 32 | undefined;
|
|
4859
4894
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
4860
4895
|
objectDirections?: 1 | 8 | undefined;
|
|
4861
|
-
directions?: 4 | 8 | undefined;
|
|
4862
4896
|
styleTraits?: {
|
|
4863
4897
|
palette?: boolean | undefined;
|
|
4864
4898
|
outline?: boolean | undefined;
|
|
@@ -4895,6 +4929,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4895
4929
|
provider?: string | undefined;
|
|
4896
4930
|
palette?: string[] | undefined;
|
|
4897
4931
|
template?: string | undefined;
|
|
4932
|
+
directions?: 4 | 8 | undefined;
|
|
4898
4933
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
4899
4934
|
outline?: string | undefined;
|
|
4900
4935
|
shading?: string | undefined;
|
|
@@ -4938,7 +4973,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4938
4973
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
4939
4974
|
objectDirections?: 1 | 8 | undefined;
|
|
4940
4975
|
noBackground?: boolean | undefined;
|
|
4941
|
-
directions?: 4 | 8 | undefined;
|
|
4942
4976
|
styleTraits?: {
|
|
4943
4977
|
palette?: boolean | undefined;
|
|
4944
4978
|
outline?: boolean | undefined;
|
|
@@ -4988,6 +5022,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
4988
5022
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
4989
5023
|
provider?: string | undefined;
|
|
4990
5024
|
template?: string | undefined;
|
|
5025
|
+
directions?: 4 | 8 | undefined;
|
|
4991
5026
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
4992
5027
|
outline?: string | undefined;
|
|
4993
5028
|
shading?: string | undefined;
|
|
@@ -5024,7 +5059,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5024
5059
|
isometricTileSize?: 16 | 32 | undefined;
|
|
5025
5060
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
5026
5061
|
objectDirections?: 1 | 8 | undefined;
|
|
5027
|
-
directions?: 4 | 8 | undefined;
|
|
5028
5062
|
styleTraits?: {
|
|
5029
5063
|
palette?: boolean | undefined;
|
|
5030
5064
|
outline?: boolean | undefined;
|
|
@@ -5061,6 +5095,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5061
5095
|
provider?: string | undefined;
|
|
5062
5096
|
palette?: string[] | undefined;
|
|
5063
5097
|
template?: string | undefined;
|
|
5098
|
+
directions?: 4 | 8 | undefined;
|
|
5064
5099
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
5065
5100
|
outline?: string | undefined;
|
|
5066
5101
|
shading?: string | undefined;
|
|
@@ -5104,7 +5139,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5104
5139
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
5105
5140
|
objectDirections?: 1 | 8 | undefined;
|
|
5106
5141
|
noBackground?: boolean | undefined;
|
|
5107
|
-
directions?: 4 | 8 | undefined;
|
|
5108
5142
|
styleTraits?: {
|
|
5109
5143
|
palette?: boolean | undefined;
|
|
5110
5144
|
outline?: boolean | undefined;
|
|
@@ -5154,6 +5188,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5154
5188
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
5155
5189
|
provider?: string | undefined;
|
|
5156
5190
|
template?: string | undefined;
|
|
5191
|
+
directions?: 4 | 8 | undefined;
|
|
5157
5192
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
5158
5193
|
outline?: string | undefined;
|
|
5159
5194
|
shading?: string | undefined;
|
|
@@ -5190,7 +5225,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5190
5225
|
isometricTileSize?: 16 | 32 | undefined;
|
|
5191
5226
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
5192
5227
|
objectDirections?: 1 | 8 | undefined;
|
|
5193
|
-
directions?: 4 | 8 | undefined;
|
|
5194
5228
|
styleTraits?: {
|
|
5195
5229
|
palette?: boolean | undefined;
|
|
5196
5230
|
outline?: boolean | undefined;
|
|
@@ -5227,6 +5261,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5227
5261
|
provider?: string | undefined;
|
|
5228
5262
|
palette?: string[] | undefined;
|
|
5229
5263
|
template?: string | undefined;
|
|
5264
|
+
directions?: 4 | 8 | undefined;
|
|
5230
5265
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
5231
5266
|
outline?: string | undefined;
|
|
5232
5267
|
shading?: string | undefined;
|
|
@@ -5270,7 +5305,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5270
5305
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
5271
5306
|
objectDirections?: 1 | 8 | undefined;
|
|
5272
5307
|
noBackground?: boolean | undefined;
|
|
5273
|
-
directions?: 4 | 8 | undefined;
|
|
5274
5308
|
styleTraits?: {
|
|
5275
5309
|
palette?: boolean | undefined;
|
|
5276
5310
|
outline?: boolean | undefined;
|
|
@@ -5507,6 +5541,14 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5507
5541
|
template: z.ZodOptional<z.ZodString>;
|
|
5508
5542
|
/** Direction to animate. */
|
|
5509
5543
|
direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
5544
|
+
/**
|
|
5545
|
+
* Shorthand for one loop in several directions, instead of `direction`.
|
|
5546
|
+
* Expanded when the manifest loads into one loop per named direction
|
|
5547
|
+
* (`<id>.<direction>`) plus a mirror for each direction whose flip is
|
|
5548
|
+
* not named, exactly as if each had been written out. See
|
|
5549
|
+
* `src/loop-directions.ts`.
|
|
5550
|
+
*/
|
|
5551
|
+
directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
|
|
5510
5552
|
/** Frames to generate without a template (v3). Even, 4 to 16. */
|
|
5511
5553
|
frames: z.ZodOptional<z.ZodNumber>;
|
|
5512
5554
|
/** Playback rate recorded with the frames; PixelLab does not store one. */
|
|
@@ -5541,6 +5583,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5541
5583
|
keepFirstFrame: boolean;
|
|
5542
5584
|
frames?: number | undefined;
|
|
5543
5585
|
template?: string | undefined;
|
|
5586
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
5544
5587
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
5545
5588
|
startFrame?: string | undefined;
|
|
5546
5589
|
endFrame?: string | undefined;
|
|
@@ -5555,6 +5598,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5555
5598
|
fps?: number | undefined;
|
|
5556
5599
|
template?: string | undefined;
|
|
5557
5600
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
5601
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
5558
5602
|
keepFirstFrame?: boolean | undefined;
|
|
5559
5603
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
5560
5604
|
startFrame?: string | undefined;
|
|
@@ -5571,6 +5615,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5571
5615
|
keepFirstFrame: boolean;
|
|
5572
5616
|
frames?: number | undefined;
|
|
5573
5617
|
template?: string | undefined;
|
|
5618
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
5574
5619
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
5575
5620
|
startFrame?: string | undefined;
|
|
5576
5621
|
endFrame?: string | undefined;
|
|
@@ -5585,6 +5630,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5585
5630
|
fps?: number | undefined;
|
|
5586
5631
|
template?: string | undefined;
|
|
5587
5632
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
5633
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
5588
5634
|
keepFirstFrame?: boolean | undefined;
|
|
5589
5635
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
5590
5636
|
startFrame?: string | undefined;
|
|
@@ -5787,6 +5833,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5787
5833
|
keepFirstFrame: boolean;
|
|
5788
5834
|
frames?: number | undefined;
|
|
5789
5835
|
template?: string | undefined;
|
|
5836
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
5790
5837
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
5791
5838
|
startFrame?: string | undefined;
|
|
5792
5839
|
endFrame?: string | undefined;
|
|
@@ -5878,6 +5925,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5878
5925
|
fps?: number | undefined;
|
|
5879
5926
|
template?: string | undefined;
|
|
5880
5927
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
5928
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
5881
5929
|
keepFirstFrame?: boolean | undefined;
|
|
5882
5930
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
5883
5931
|
startFrame?: string | undefined;
|
|
@@ -5981,6 +6029,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
5981
6029
|
keepFirstFrame: boolean;
|
|
5982
6030
|
frames?: number | undefined;
|
|
5983
6031
|
template?: string | undefined;
|
|
6032
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
5984
6033
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
5985
6034
|
startFrame?: string | undefined;
|
|
5986
6035
|
endFrame?: string | undefined;
|
|
@@ -6072,6 +6121,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6072
6121
|
fps?: number | undefined;
|
|
6073
6122
|
template?: string | undefined;
|
|
6074
6123
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
6124
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
6075
6125
|
keepFirstFrame?: boolean | undefined;
|
|
6076
6126
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
6077
6127
|
startFrame?: string | undefined;
|
|
@@ -6178,6 +6228,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6178
6228
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
6179
6229
|
provider?: string | undefined;
|
|
6180
6230
|
template?: string | undefined;
|
|
6231
|
+
directions?: 4 | 8 | undefined;
|
|
6181
6232
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
6182
6233
|
outline?: string | undefined;
|
|
6183
6234
|
shading?: string | undefined;
|
|
@@ -6214,7 +6265,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6214
6265
|
isometricTileSize?: 16 | 32 | undefined;
|
|
6215
6266
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6216
6267
|
objectDirections?: 1 | 8 | undefined;
|
|
6217
|
-
directions?: 4 | 8 | undefined;
|
|
6218
6268
|
styleTraits?: {
|
|
6219
6269
|
palette?: boolean | undefined;
|
|
6220
6270
|
outline?: boolean | undefined;
|
|
@@ -6263,6 +6313,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6263
6313
|
keepFirstFrame: boolean;
|
|
6264
6314
|
frames?: number | undefined;
|
|
6265
6315
|
template?: string | undefined;
|
|
6316
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
6266
6317
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
6267
6318
|
startFrame?: string | undefined;
|
|
6268
6319
|
endFrame?: string | undefined;
|
|
@@ -6354,6 +6405,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6354
6405
|
provider?: string | undefined;
|
|
6355
6406
|
palette?: string[] | undefined;
|
|
6356
6407
|
template?: string | undefined;
|
|
6408
|
+
directions?: 4 | 8 | undefined;
|
|
6357
6409
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
6358
6410
|
outline?: string | undefined;
|
|
6359
6411
|
shading?: string | undefined;
|
|
@@ -6397,7 +6449,6 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6397
6449
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6398
6450
|
objectDirections?: 1 | 8 | undefined;
|
|
6399
6451
|
noBackground?: boolean | undefined;
|
|
6400
|
-
directions?: 4 | 8 | undefined;
|
|
6401
6452
|
styleTraits?: {
|
|
6402
6453
|
palette?: boolean | undefined;
|
|
6403
6454
|
outline?: boolean | undefined;
|
|
@@ -6443,6 +6494,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
6443
6494
|
fps?: number | undefined;
|
|
6444
6495
|
template?: string | undefined;
|
|
6445
6496
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
6497
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
6446
6498
|
keepFirstFrame?: boolean | undefined;
|
|
6447
6499
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
6448
6500
|
startFrame?: string | undefined;
|
|
@@ -6928,6 +6980,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6928
6980
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
6929
6981
|
provider?: string | undefined;
|
|
6930
6982
|
template?: string | undefined;
|
|
6983
|
+
directions?: 4 | 8 | undefined;
|
|
6931
6984
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
6932
6985
|
outline?: string | undefined;
|
|
6933
6986
|
shading?: string | undefined;
|
|
@@ -6964,7 +7017,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
6964
7017
|
isometricTileSize?: 16 | 32 | undefined;
|
|
6965
7018
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
6966
7019
|
objectDirections?: 1 | 8 | undefined;
|
|
6967
|
-
directions?: 4 | 8 | undefined;
|
|
6968
7020
|
styleTraits?: {
|
|
6969
7021
|
palette?: boolean | undefined;
|
|
6970
7022
|
outline?: boolean | undefined;
|
|
@@ -7001,6 +7053,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7001
7053
|
provider?: string | undefined;
|
|
7002
7054
|
palette?: string[] | undefined;
|
|
7003
7055
|
template?: string | undefined;
|
|
7056
|
+
directions?: 4 | 8 | undefined;
|
|
7004
7057
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
7005
7058
|
outline?: string | undefined;
|
|
7006
7059
|
shading?: string | undefined;
|
|
@@ -7044,7 +7097,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7044
7097
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7045
7098
|
objectDirections?: 1 | 8 | undefined;
|
|
7046
7099
|
noBackground?: boolean | undefined;
|
|
7047
|
-
directions?: 4 | 8 | undefined;
|
|
7048
7100
|
styleTraits?: {
|
|
7049
7101
|
palette?: boolean | undefined;
|
|
7050
7102
|
outline?: boolean | undefined;
|
|
@@ -7094,6 +7146,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7094
7146
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
7095
7147
|
provider?: string | undefined;
|
|
7096
7148
|
template?: string | undefined;
|
|
7149
|
+
directions?: 4 | 8 | undefined;
|
|
7097
7150
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
7098
7151
|
outline?: string | undefined;
|
|
7099
7152
|
shading?: string | undefined;
|
|
@@ -7130,7 +7183,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7130
7183
|
isometricTileSize?: 16 | 32 | undefined;
|
|
7131
7184
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7132
7185
|
objectDirections?: 1 | 8 | undefined;
|
|
7133
|
-
directions?: 4 | 8 | undefined;
|
|
7134
7186
|
styleTraits?: {
|
|
7135
7187
|
palette?: boolean | undefined;
|
|
7136
7188
|
outline?: boolean | undefined;
|
|
@@ -7167,6 +7219,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7167
7219
|
provider?: string | undefined;
|
|
7168
7220
|
palette?: string[] | undefined;
|
|
7169
7221
|
template?: string | undefined;
|
|
7222
|
+
directions?: 4 | 8 | undefined;
|
|
7170
7223
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
7171
7224
|
outline?: string | undefined;
|
|
7172
7225
|
shading?: string | undefined;
|
|
@@ -7210,7 +7263,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7210
7263
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7211
7264
|
objectDirections?: 1 | 8 | undefined;
|
|
7212
7265
|
noBackground?: boolean | undefined;
|
|
7213
|
-
directions?: 4 | 8 | undefined;
|
|
7214
7266
|
styleTraits?: {
|
|
7215
7267
|
palette?: boolean | undefined;
|
|
7216
7268
|
outline?: boolean | undefined;
|
|
@@ -7260,6 +7312,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7260
7312
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
7261
7313
|
provider?: string | undefined;
|
|
7262
7314
|
template?: string | undefined;
|
|
7315
|
+
directions?: 4 | 8 | undefined;
|
|
7263
7316
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
7264
7317
|
outline?: string | undefined;
|
|
7265
7318
|
shading?: string | undefined;
|
|
@@ -7296,7 +7349,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7296
7349
|
isometricTileSize?: 16 | 32 | undefined;
|
|
7297
7350
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7298
7351
|
objectDirections?: 1 | 8 | undefined;
|
|
7299
|
-
directions?: 4 | 8 | undefined;
|
|
7300
7352
|
styleTraits?: {
|
|
7301
7353
|
palette?: boolean | undefined;
|
|
7302
7354
|
outline?: boolean | undefined;
|
|
@@ -7333,6 +7385,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7333
7385
|
provider?: string | undefined;
|
|
7334
7386
|
palette?: string[] | undefined;
|
|
7335
7387
|
template?: string | undefined;
|
|
7388
|
+
directions?: 4 | 8 | undefined;
|
|
7336
7389
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
7337
7390
|
outline?: string | undefined;
|
|
7338
7391
|
shading?: string | undefined;
|
|
@@ -7376,7 +7429,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7376
7429
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7377
7430
|
objectDirections?: 1 | 8 | undefined;
|
|
7378
7431
|
noBackground?: boolean | undefined;
|
|
7379
|
-
directions?: 4 | 8 | undefined;
|
|
7380
7432
|
styleTraits?: {
|
|
7381
7433
|
palette?: boolean | undefined;
|
|
7382
7434
|
outline?: boolean | undefined;
|
|
@@ -7562,6 +7614,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7562
7614
|
provider?: string | undefined;
|
|
7563
7615
|
palette?: string[] | undefined;
|
|
7564
7616
|
template?: string | undefined;
|
|
7617
|
+
directions?: 4 | 8 | undefined;
|
|
7565
7618
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
7566
7619
|
outline?: string | undefined;
|
|
7567
7620
|
shading?: string | undefined;
|
|
@@ -7605,7 +7658,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7605
7658
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7606
7659
|
objectDirections?: 1 | 8 | undefined;
|
|
7607
7660
|
noBackground?: boolean | undefined;
|
|
7608
|
-
directions?: 4 | 8 | undefined;
|
|
7609
7661
|
styleTraits?: {
|
|
7610
7662
|
palette?: boolean | undefined;
|
|
7611
7663
|
outline?: boolean | undefined;
|
|
@@ -7646,6 +7698,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7646
7698
|
provider?: string | undefined;
|
|
7647
7699
|
palette?: string[] | undefined;
|
|
7648
7700
|
template?: string | undefined;
|
|
7701
|
+
directions?: 4 | 8 | undefined;
|
|
7649
7702
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
7650
7703
|
outline?: string | undefined;
|
|
7651
7704
|
shading?: string | undefined;
|
|
@@ -7689,7 +7742,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7689
7742
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
7690
7743
|
objectDirections?: 1 | 8 | undefined;
|
|
7691
7744
|
noBackground?: boolean | undefined;
|
|
7692
|
-
directions?: 4 | 8 | undefined;
|
|
7693
7745
|
styleTraits?: {
|
|
7694
7746
|
palette?: boolean | undefined;
|
|
7695
7747
|
outline?: boolean | undefined;
|
|
@@ -7926,6 +7978,14 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7926
7978
|
template: z.ZodOptional<z.ZodString>;
|
|
7927
7979
|
/** Direction to animate. */
|
|
7928
7980
|
direction: z.ZodDefault<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>>;
|
|
7981
|
+
/**
|
|
7982
|
+
* Shorthand for one loop in several directions, instead of `direction`.
|
|
7983
|
+
* Expanded when the manifest loads into one loop per named direction
|
|
7984
|
+
* (`<id>.<direction>`) plus a mirror for each direction whose flip is
|
|
7985
|
+
* not named, exactly as if each had been written out. See
|
|
7986
|
+
* `src/loop-directions.ts`.
|
|
7987
|
+
*/
|
|
7988
|
+
directions: z.ZodOptional<z.ZodArray<z.ZodEnum<["south", "south-east", "east", "north-east", "north", "north-west", "west", "south-west"]>, "many">>;
|
|
7929
7989
|
/** Frames to generate without a template (v3). Even, 4 to 16. */
|
|
7930
7990
|
frames: z.ZodOptional<z.ZodNumber>;
|
|
7931
7991
|
/** Playback rate recorded with the frames; PixelLab does not store one. */
|
|
@@ -7960,6 +8020,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7960
8020
|
keepFirstFrame: boolean;
|
|
7961
8021
|
frames?: number | undefined;
|
|
7962
8022
|
template?: string | undefined;
|
|
8023
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
7963
8024
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
7964
8025
|
startFrame?: string | undefined;
|
|
7965
8026
|
endFrame?: string | undefined;
|
|
@@ -7974,6 +8035,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7974
8035
|
fps?: number | undefined;
|
|
7975
8036
|
template?: string | undefined;
|
|
7976
8037
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
8038
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
7977
8039
|
keepFirstFrame?: boolean | undefined;
|
|
7978
8040
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
7979
8041
|
startFrame?: string | undefined;
|
|
@@ -7990,6 +8052,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
7990
8052
|
keepFirstFrame: boolean;
|
|
7991
8053
|
frames?: number | undefined;
|
|
7992
8054
|
template?: string | undefined;
|
|
8055
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
7993
8056
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
7994
8057
|
startFrame?: string | undefined;
|
|
7995
8058
|
endFrame?: string | undefined;
|
|
@@ -8004,6 +8067,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8004
8067
|
fps?: number | undefined;
|
|
8005
8068
|
template?: string | undefined;
|
|
8006
8069
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
8070
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
8007
8071
|
keepFirstFrame?: boolean | undefined;
|
|
8008
8072
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
8009
8073
|
startFrame?: string | undefined;
|
|
@@ -8206,6 +8270,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8206
8270
|
keepFirstFrame: boolean;
|
|
8207
8271
|
frames?: number | undefined;
|
|
8208
8272
|
template?: string | undefined;
|
|
8273
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
8209
8274
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
8210
8275
|
startFrame?: string | undefined;
|
|
8211
8276
|
endFrame?: string | undefined;
|
|
@@ -8297,6 +8362,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8297
8362
|
fps?: number | undefined;
|
|
8298
8363
|
template?: string | undefined;
|
|
8299
8364
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
8365
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
8300
8366
|
keepFirstFrame?: boolean | undefined;
|
|
8301
8367
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
8302
8368
|
startFrame?: string | undefined;
|
|
@@ -8400,6 +8466,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8400
8466
|
keepFirstFrame: boolean;
|
|
8401
8467
|
frames?: number | undefined;
|
|
8402
8468
|
template?: string | undefined;
|
|
8469
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
8403
8470
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
8404
8471
|
startFrame?: string | undefined;
|
|
8405
8472
|
endFrame?: string | undefined;
|
|
@@ -8491,6 +8558,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8491
8558
|
fps?: number | undefined;
|
|
8492
8559
|
template?: string | undefined;
|
|
8493
8560
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
8561
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
8494
8562
|
keepFirstFrame?: boolean | undefined;
|
|
8495
8563
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
8496
8564
|
startFrame?: string | undefined;
|
|
@@ -8597,6 +8665,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8597
8665
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
8598
8666
|
provider?: string | undefined;
|
|
8599
8667
|
template?: string | undefined;
|
|
8668
|
+
directions?: 4 | 8 | undefined;
|
|
8600
8669
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
8601
8670
|
outline?: string | undefined;
|
|
8602
8671
|
shading?: string | undefined;
|
|
@@ -8633,7 +8702,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8633
8702
|
isometricTileSize?: 16 | 32 | undefined;
|
|
8634
8703
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
8635
8704
|
objectDirections?: 1 | 8 | undefined;
|
|
8636
|
-
directions?: 4 | 8 | undefined;
|
|
8637
8705
|
styleTraits?: {
|
|
8638
8706
|
palette?: boolean | undefined;
|
|
8639
8707
|
outline?: boolean | undefined;
|
|
@@ -8671,6 +8739,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8671
8739
|
provider?: string | undefined;
|
|
8672
8740
|
palette?: string[] | undefined;
|
|
8673
8741
|
template?: string | undefined;
|
|
8742
|
+
directions?: 4 | 8 | undefined;
|
|
8674
8743
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
8675
8744
|
outline?: string | undefined;
|
|
8676
8745
|
shading?: string | undefined;
|
|
@@ -8714,7 +8783,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8714
8783
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
8715
8784
|
objectDirections?: 1 | 8 | undefined;
|
|
8716
8785
|
noBackground?: boolean | undefined;
|
|
8717
|
-
directions?: 4 | 8 | undefined;
|
|
8718
8786
|
styleTraits?: {
|
|
8719
8787
|
palette?: boolean | undefined;
|
|
8720
8788
|
outline?: boolean | undefined;
|
|
@@ -8766,6 +8834,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8766
8834
|
keepFirstFrame: boolean;
|
|
8767
8835
|
frames?: number | undefined;
|
|
8768
8836
|
template?: string | undefined;
|
|
8837
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
8769
8838
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
8770
8839
|
startFrame?: string | undefined;
|
|
8771
8840
|
endFrame?: string | undefined;
|
|
@@ -8857,6 +8926,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8857
8926
|
provider?: string | undefined;
|
|
8858
8927
|
palette?: string[] | undefined;
|
|
8859
8928
|
template?: string | undefined;
|
|
8929
|
+
directions?: 4 | 8 | undefined;
|
|
8860
8930
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
8861
8931
|
outline?: string | undefined;
|
|
8862
8932
|
shading?: string | undefined;
|
|
@@ -8900,7 +8970,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8900
8970
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
8901
8971
|
objectDirections?: 1 | 8 | undefined;
|
|
8902
8972
|
noBackground?: boolean | undefined;
|
|
8903
|
-
directions?: 4 | 8 | undefined;
|
|
8904
8973
|
styleTraits?: {
|
|
8905
8974
|
palette?: boolean | undefined;
|
|
8906
8975
|
outline?: boolean | undefined;
|
|
@@ -8941,6 +9010,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8941
9010
|
provider?: string | undefined;
|
|
8942
9011
|
palette?: string[] | undefined;
|
|
8943
9012
|
template?: string | undefined;
|
|
9013
|
+
directions?: 4 | 8 | undefined;
|
|
8944
9014
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
8945
9015
|
outline?: string | undefined;
|
|
8946
9016
|
shading?: string | undefined;
|
|
@@ -8984,7 +9054,6 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
8984
9054
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
8985
9055
|
objectDirections?: 1 | 8 | undefined;
|
|
8986
9056
|
noBackground?: boolean | undefined;
|
|
8987
|
-
directions?: 4 | 8 | undefined;
|
|
8988
9057
|
styleTraits?: {
|
|
8989
9058
|
palette?: boolean | undefined;
|
|
8990
9059
|
outline?: boolean | undefined;
|
|
@@ -9030,6 +9099,7 @@ declare const ManifestInputSchema: z.ZodObject<{
|
|
|
9030
9099
|
fps?: number | undefined;
|
|
9031
9100
|
template?: string | undefined;
|
|
9032
9101
|
direction?: "south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west" | undefined;
|
|
9102
|
+
directions?: ("south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west")[] | undefined;
|
|
9033
9103
|
keepFirstFrame?: boolean | undefined;
|
|
9034
9104
|
mode?: "v3" | "pro" | "template" | undefined;
|
|
9035
9105
|
startFrame?: string | undefined;
|
|
@@ -12438,6 +12508,7 @@ declare class PixelLabProvider implements Provider {
|
|
|
12438
12508
|
setTags(objectId: string, tags: string[], generator?: Generator): Promise<void>;
|
|
12439
12509
|
list(): AsyncGenerator<RemoteAsset>;
|
|
12440
12510
|
delete(assetId: string): Promise<void>;
|
|
12511
|
+
deleteCharacter(id: string): Promise<void>;
|
|
12441
12512
|
listCharacters(): AsyncGenerator<RemoteCharacter>;
|
|
12442
12513
|
getCharacter(id: string): Promise<RemoteCharacterDetail>;
|
|
12443
12514
|
/**
|
|
@@ -12771,6 +12842,7 @@ declare class FakeProvider implements Provider {
|
|
|
12771
12842
|
/** Characters answer with whatever the store holds now; other objects keep their URLs. */
|
|
12772
12843
|
refreshSources(objectId: string, context: RefreshContext): Promise<OutputSource[] | null | undefined>;
|
|
12773
12844
|
delete(assetId: string): Promise<void>;
|
|
12845
|
+
deleteCharacter(id: string): Promise<void>;
|
|
12774
12846
|
/** Seed a pre-existing remote asset, for adopt / salvage tests. */
|
|
12775
12847
|
seed(asset: Partial<RemoteAsset> & {
|
|
12776
12848
|
id: string;
|
|
@@ -12800,6 +12872,11 @@ interface LoadedManifest {
|
|
|
12800
12872
|
/** Directory the manifest lives in. All relative paths resolve against it. */
|
|
12801
12873
|
root: string;
|
|
12802
12874
|
path: string;
|
|
12875
|
+
/**
|
|
12876
|
+
* `animation.directions` shorthands, by the id they were declared under,
|
|
12877
|
+
* and the asset ids each expanded into. Absent when the manifest has none.
|
|
12878
|
+
*/
|
|
12879
|
+
loopFamilies?: Record<string, string[]>;
|
|
12803
12880
|
}
|
|
12804
12881
|
declare function loadManifest(manifestPath: string): Promise<LoadedManifest>;
|
|
12805
12882
|
/** The asset this one is generated from, whichever shape declares it. */
|
|
@@ -13370,6 +13447,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13370
13447
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
13371
13448
|
provider?: string | undefined;
|
|
13372
13449
|
template?: string | undefined;
|
|
13450
|
+
directions?: 4 | 8 | undefined;
|
|
13373
13451
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
13374
13452
|
outline?: string | undefined;
|
|
13375
13453
|
shading?: string | undefined;
|
|
@@ -13406,7 +13484,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13406
13484
|
isometricTileSize?: 16 | 32 | undefined;
|
|
13407
13485
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
13408
13486
|
objectDirections?: 1 | 8 | undefined;
|
|
13409
|
-
directions?: 4 | 8 | undefined;
|
|
13410
13487
|
styleTraits?: {
|
|
13411
13488
|
palette?: boolean | undefined;
|
|
13412
13489
|
outline?: boolean | undefined;
|
|
@@ -13443,6 +13520,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13443
13520
|
provider?: string | undefined;
|
|
13444
13521
|
palette?: string[] | undefined;
|
|
13445
13522
|
template?: string | undefined;
|
|
13523
|
+
directions?: 4 | 8 | undefined;
|
|
13446
13524
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
13447
13525
|
outline?: string | undefined;
|
|
13448
13526
|
shading?: string | undefined;
|
|
@@ -13486,7 +13564,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13486
13564
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
13487
13565
|
objectDirections?: 1 | 8 | undefined;
|
|
13488
13566
|
noBackground?: boolean | undefined;
|
|
13489
|
-
directions?: 4 | 8 | undefined;
|
|
13490
13567
|
styleTraits?: {
|
|
13491
13568
|
palette?: boolean | undefined;
|
|
13492
13569
|
outline?: boolean | undefined;
|
|
@@ -13536,6 +13613,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13536
13613
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
13537
13614
|
provider?: string | undefined;
|
|
13538
13615
|
template?: string | undefined;
|
|
13616
|
+
directions?: 4 | 8 | undefined;
|
|
13539
13617
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
13540
13618
|
outline?: string | undefined;
|
|
13541
13619
|
shading?: string | undefined;
|
|
@@ -13572,7 +13650,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13572
13650
|
isometricTileSize?: 16 | 32 | undefined;
|
|
13573
13651
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
13574
13652
|
objectDirections?: 1 | 8 | undefined;
|
|
13575
|
-
directions?: 4 | 8 | undefined;
|
|
13576
13653
|
styleTraits?: {
|
|
13577
13654
|
palette?: boolean | undefined;
|
|
13578
13655
|
outline?: boolean | undefined;
|
|
@@ -13609,6 +13686,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13609
13686
|
provider?: string | undefined;
|
|
13610
13687
|
palette?: string[] | undefined;
|
|
13611
13688
|
template?: string | undefined;
|
|
13689
|
+
directions?: 4 | 8 | undefined;
|
|
13612
13690
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
13613
13691
|
outline?: string | undefined;
|
|
13614
13692
|
shading?: string | undefined;
|
|
@@ -13652,7 +13730,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13652
13730
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
13653
13731
|
objectDirections?: 1 | 8 | undefined;
|
|
13654
13732
|
noBackground?: boolean | undefined;
|
|
13655
|
-
directions?: 4 | 8 | undefined;
|
|
13656
13733
|
styleTraits?: {
|
|
13657
13734
|
palette?: boolean | undefined;
|
|
13658
13735
|
outline?: boolean | undefined;
|
|
@@ -13702,6 +13779,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13702
13779
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
13703
13780
|
provider?: string | undefined;
|
|
13704
13781
|
template?: string | undefined;
|
|
13782
|
+
directions?: 4 | 8 | undefined;
|
|
13705
13783
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
13706
13784
|
outline?: string | undefined;
|
|
13707
13785
|
shading?: string | undefined;
|
|
@@ -13738,7 +13816,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13738
13816
|
isometricTileSize?: 16 | 32 | undefined;
|
|
13739
13817
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
13740
13818
|
objectDirections?: 1 | 8 | undefined;
|
|
13741
|
-
directions?: 4 | 8 | undefined;
|
|
13742
13819
|
styleTraits?: {
|
|
13743
13820
|
palette?: boolean | undefined;
|
|
13744
13821
|
outline?: boolean | undefined;
|
|
@@ -13775,6 +13852,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13775
13852
|
provider?: string | undefined;
|
|
13776
13853
|
palette?: string[] | undefined;
|
|
13777
13854
|
template?: string | undefined;
|
|
13855
|
+
directions?: 4 | 8 | undefined;
|
|
13778
13856
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
13779
13857
|
outline?: string | undefined;
|
|
13780
13858
|
shading?: string | undefined;
|
|
@@ -13818,7 +13896,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13818
13896
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
13819
13897
|
objectDirections?: 1 | 8 | undefined;
|
|
13820
13898
|
noBackground?: boolean | undefined;
|
|
13821
|
-
directions?: 4 | 8 | undefined;
|
|
13822
13899
|
styleTraits?: {
|
|
13823
13900
|
palette?: boolean | undefined;
|
|
13824
13901
|
outline?: boolean | undefined;
|
|
@@ -14219,6 +14296,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14219
14296
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
14220
14297
|
provider?: string | undefined;
|
|
14221
14298
|
template?: string | undefined;
|
|
14299
|
+
directions?: 4 | 8 | undefined;
|
|
14222
14300
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
14223
14301
|
outline?: string | undefined;
|
|
14224
14302
|
shading?: string | undefined;
|
|
@@ -14255,7 +14333,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14255
14333
|
isometricTileSize?: 16 | 32 | undefined;
|
|
14256
14334
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
14257
14335
|
objectDirections?: 1 | 8 | undefined;
|
|
14258
|
-
directions?: 4 | 8 | undefined;
|
|
14259
14336
|
styleTraits?: {
|
|
14260
14337
|
palette?: boolean | undefined;
|
|
14261
14338
|
outline?: boolean | undefined;
|
|
@@ -14363,6 +14440,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14363
14440
|
provider?: string | undefined;
|
|
14364
14441
|
palette?: string[] | undefined;
|
|
14365
14442
|
template?: string | undefined;
|
|
14443
|
+
directions?: 4 | 8 | undefined;
|
|
14366
14444
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
14367
14445
|
outline?: string | undefined;
|
|
14368
14446
|
shading?: string | undefined;
|
|
@@ -14406,7 +14484,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14406
14484
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
14407
14485
|
objectDirections?: 1 | 8 | undefined;
|
|
14408
14486
|
noBackground?: boolean | undefined;
|
|
14409
|
-
directions?: 4 | 8 | undefined;
|
|
14410
14487
|
styleTraits?: {
|
|
14411
14488
|
palette?: boolean | undefined;
|
|
14412
14489
|
outline?: boolean | undefined;
|
|
@@ -14549,6 +14626,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14549
14626
|
providerOptions: Record<string, Record<string, unknown>>;
|
|
14550
14627
|
provider?: string | undefined;
|
|
14551
14628
|
template?: string | undefined;
|
|
14629
|
+
directions?: 4 | 8 | undefined;
|
|
14552
14630
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
14553
14631
|
outline?: string | undefined;
|
|
14554
14632
|
shading?: string | undefined;
|
|
@@ -14585,7 +14663,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14585
14663
|
isometricTileSize?: 16 | 32 | undefined;
|
|
14586
14664
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
14587
14665
|
objectDirections?: 1 | 8 | undefined;
|
|
14588
|
-
directions?: 4 | 8 | undefined;
|
|
14589
14666
|
styleTraits?: {
|
|
14590
14667
|
palette?: boolean | undefined;
|
|
14591
14668
|
outline?: boolean | undefined;
|
|
@@ -14693,6 +14770,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14693
14770
|
provider?: string | undefined;
|
|
14694
14771
|
palette?: string[] | undefined;
|
|
14695
14772
|
template?: string | undefined;
|
|
14773
|
+
directions?: 4 | 8 | undefined;
|
|
14696
14774
|
mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
|
|
14697
14775
|
outline?: string | undefined;
|
|
14698
14776
|
shading?: string | undefined;
|
|
@@ -14736,7 +14814,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14736
14814
|
isometricTileShape?: "thin tile" | "thick tile" | "block" | undefined;
|
|
14737
14815
|
objectDirections?: 1 | 8 | undefined;
|
|
14738
14816
|
noBackground?: boolean | undefined;
|
|
14739
|
-
directions?: 4 | 8 | undefined;
|
|
14740
14817
|
styleTraits?: {
|
|
14741
14818
|
palette?: boolean | undefined;
|
|
14742
14819
|
outline?: boolean | undefined;
|
|
@@ -18165,6 +18242,18 @@ interface Orphan {
|
|
|
18165
18242
|
createdAt: string;
|
|
18166
18243
|
previewUrl: string;
|
|
18167
18244
|
tags: string[];
|
|
18245
|
+
/**
|
|
18246
|
+
* `character` for a character group (a base and its states), triaged as
|
|
18247
|
+
* one card; absent for an ordinary account object.
|
|
18248
|
+
*/
|
|
18249
|
+
kind?: "character";
|
|
18250
|
+
/** One line the triage sheet shows under the size, e.g. a character's direction/state/loop counts. */
|
|
18251
|
+
note?: string;
|
|
18252
|
+
/** A character group's every character id, base first, with its current tags; a decision applies to all of them. */
|
|
18253
|
+
members?: {
|
|
18254
|
+
id: string;
|
|
18255
|
+
tags: string[];
|
|
18256
|
+
}[];
|
|
18168
18257
|
}
|
|
18169
18258
|
declare function findOrphans(provider: Provider, claimed: Set<string>, opts?: {
|
|
18170
18259
|
onProgress?: (msg: string) => void;
|
|
@@ -18249,6 +18338,11 @@ interface SalvageDecision {
|
|
|
18249
18338
|
*/
|
|
18250
18339
|
declare function applyTags(provider: Provider, decisions: SalvageDecision[], existing: Map<string, string[]>, opts?: {
|
|
18251
18340
|
onProgress?: (msg: string) => void;
|
|
18341
|
+
/** Character groups by their card id: the member ids and current tags a decision applies to. */
|
|
18342
|
+
characters?: Map<string, {
|
|
18343
|
+
id: string;
|
|
18344
|
+
tags: string[];
|
|
18345
|
+
}[]>;
|
|
18252
18346
|
}): Promise<{
|
|
18253
18347
|
tagged: number;
|
|
18254
18348
|
failed: number;
|
|
@@ -18259,14 +18353,22 @@ interface SalvageResult {
|
|
|
18259
18353
|
kept: number;
|
|
18260
18354
|
discarded: number;
|
|
18261
18355
|
failed: number;
|
|
18356
|
+
/**
|
|
18357
|
+
* Manifest assets written for imported character groups. They have no
|
|
18358
|
+
* lock entries yet: the caller adopts them (`adoptCharacters`) once the
|
|
18359
|
+
* manifest is saved, which downloads every rotation and frame.
|
|
18360
|
+
*/
|
|
18361
|
+
characterAssetIds?: string[];
|
|
18262
18362
|
}
|
|
18263
18363
|
/**
|
|
18264
18364
|
* Serves the triage sheet and applies decisions.
|
|
18265
18365
|
*
|
|
18266
18366
|
* `import` is the only action that touches local state: it downloads the image,
|
|
18267
18367
|
* writes a manifest asset and a lock entry, so a recovered sprite becomes a
|
|
18268
|
-
* first-class tracked asset rather than a loose file.
|
|
18269
|
-
*
|
|
18368
|
+
* first-class tracked asset rather than a loose file. A character group's
|
|
18369
|
+
* import writes its base, states, and loops as manifest assets only; the
|
|
18370
|
+
* caller adopts them. `keep` and `discard` only write tags upstream (on every
|
|
18371
|
+
* member of a character group); nothing is ever deleted here.
|
|
18270
18372
|
*/
|
|
18271
18373
|
declare function runSalvage(provider: Provider, orphans: Orphan[], ctx: {
|
|
18272
18374
|
manifestPath: string;
|