@llun/activities.schema 0.2.22 → 0.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -501,7 +501,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
501
501
  preview_url: z.ZodNullable<z.ZodString>;
502
502
  remote_url: z.ZodNullable<z.ZodString>;
503
503
  description: z.ZodNullable<z.ZodString>;
504
- bluehash: z.ZodNullable<z.ZodString>;
504
+ blurhash: z.ZodNullable<z.ZodString>;
505
505
  }, {
506
506
  type: z.ZodLiteral<"image">;
507
507
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -587,9 +587,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
587
587
  type: "image";
588
588
  description: string | null;
589
589
  url: string;
590
+ blurhash: string | null;
590
591
  preview_url: string | null;
591
592
  remote_url: string | null;
592
- bluehash: string | null;
593
593
  meta?: {
594
594
  original: {
595
595
  width: number;
@@ -613,9 +613,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
613
613
  type: "image";
614
614
  description: string | null;
615
615
  url: string;
616
+ blurhash: string | null;
616
617
  preview_url: string | null;
617
618
  remote_url: string | null;
618
- bluehash: string | null;
619
619
  meta?: {
620
620
  original: {
621
621
  width: number;
@@ -640,7 +640,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
640
640
  preview_url: z.ZodNullable<z.ZodString>;
641
641
  remote_url: z.ZodNullable<z.ZodString>;
642
642
  description: z.ZodNullable<z.ZodString>;
643
- bluehash: z.ZodNullable<z.ZodString>;
643
+ blurhash: z.ZodNullable<z.ZodString>;
644
644
  }, {
645
645
  type: z.ZodLiteral<"gifv">;
646
646
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -734,9 +734,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
734
734
  type: "gifv";
735
735
  description: string | null;
736
736
  url: string;
737
+ blurhash: string | null;
737
738
  preview_url: string | null;
738
739
  remote_url: string | null;
739
- bluehash: string | null;
740
740
  meta?: {
741
741
  width: number;
742
742
  height: number;
@@ -764,9 +764,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
764
764
  type: "gifv";
765
765
  description: string | null;
766
766
  url: string;
767
+ blurhash: string | null;
767
768
  preview_url: string | null;
768
769
  remote_url: string | null;
769
- bluehash: string | null;
770
770
  meta?: {
771
771
  width: number;
772
772
  height: number;
@@ -795,7 +795,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
795
795
  preview_url: z.ZodNullable<z.ZodString>;
796
796
  remote_url: z.ZodNullable<z.ZodString>;
797
797
  description: z.ZodNullable<z.ZodString>;
798
- bluehash: z.ZodNullable<z.ZodString>;
798
+ blurhash: z.ZodNullable<z.ZodString>;
799
799
  }, {
800
800
  type: z.ZodLiteral<"video">;
801
801
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -898,9 +898,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
898
898
  type: "video";
899
899
  description: string | null;
900
900
  url: string;
901
+ blurhash: string | null;
901
902
  preview_url: string | null;
902
903
  remote_url: string | null;
903
- bluehash: string | null;
904
904
  meta?: {
905
905
  width: number;
906
906
  height: number;
@@ -931,9 +931,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
931
931
  type: "video";
932
932
  description: string | null;
933
933
  url: string;
934
+ blurhash: string | null;
934
935
  preview_url: string | null;
935
936
  remote_url: string | null;
936
- bluehash: string | null;
937
937
  meta?: {
938
938
  width: number;
939
939
  height: number;
@@ -965,7 +965,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
965
965
  preview_url: z.ZodNullable<z.ZodString>;
966
966
  remote_url: z.ZodNullable<z.ZodString>;
967
967
  description: z.ZodNullable<z.ZodString>;
968
- bluehash: z.ZodNullable<z.ZodString>;
968
+ blurhash: z.ZodNullable<z.ZodString>;
969
969
  }, {
970
970
  type: z.ZodLiteral<"audio">;
971
971
  meta: z.ZodObject<{
@@ -1010,9 +1010,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1010
1010
  type: "audio";
1011
1011
  description: string | null;
1012
1012
  url: string;
1013
+ blurhash: string | null;
1013
1014
  preview_url: string | null;
1014
1015
  remote_url: string | null;
1015
- bluehash: string | null;
1016
1016
  meta: {
1017
1017
  length: string;
1018
1018
  duration: number;
@@ -1029,9 +1029,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1029
1029
  type: "audio";
1030
1030
  description: string | null;
1031
1031
  url: string;
1032
+ blurhash: string | null;
1032
1033
  preview_url: string | null;
1033
1034
  remote_url: string | null;
1034
- bluehash: string | null;
1035
1035
  meta: {
1036
1036
  length: string;
1037
1037
  duration: number;
@@ -1049,7 +1049,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1049
1049
  preview_url: z.ZodNullable<z.ZodString>;
1050
1050
  remote_url: z.ZodNullable<z.ZodString>;
1051
1051
  description: z.ZodNullable<z.ZodString>;
1052
- bluehash: z.ZodNullable<z.ZodString>;
1052
+ blurhash: z.ZodNullable<z.ZodString>;
1053
1053
  }, {
1054
1054
  type: z.ZodLiteral<"unknown">;
1055
1055
  }>, "strip", z.ZodTypeAny, {
@@ -1057,17 +1057,17 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1057
1057
  type: "unknown";
1058
1058
  description: string | null;
1059
1059
  url: string;
1060
+ blurhash: string | null;
1060
1061
  preview_url: string | null;
1061
1062
  remote_url: string | null;
1062
- bluehash: string | null;
1063
1063
  }, {
1064
1064
  id: string;
1065
1065
  type: "unknown";
1066
1066
  description: string | null;
1067
1067
  url: string;
1068
+ blurhash: string | null;
1068
1069
  preview_url: string | null;
1069
1070
  remote_url: string | null;
1070
- bluehash: string | null;
1071
1071
  }>]>, "many">;
1072
1072
  application: z.ZodOptional<z.ZodObject<{
1073
1073
  name: z.ZodString;
@@ -1843,7 +1843,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1843
1843
  preview_url: z.ZodNullable<z.ZodString>;
1844
1844
  remote_url: z.ZodNullable<z.ZodString>;
1845
1845
  description: z.ZodNullable<z.ZodString>;
1846
- bluehash: z.ZodNullable<z.ZodString>;
1846
+ blurhash: z.ZodNullable<z.ZodString>;
1847
1847
  }, {
1848
1848
  type: z.ZodLiteral<"image">;
1849
1849
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1929,9 +1929,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1929
1929
  type: "image";
1930
1930
  description: string | null;
1931
1931
  url: string;
1932
+ blurhash: string | null;
1932
1933
  preview_url: string | null;
1933
1934
  remote_url: string | null;
1934
- bluehash: string | null;
1935
1935
  meta?: {
1936
1936
  original: {
1937
1937
  width: number;
@@ -1955,9 +1955,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1955
1955
  type: "image";
1956
1956
  description: string | null;
1957
1957
  url: string;
1958
+ blurhash: string | null;
1958
1959
  preview_url: string | null;
1959
1960
  remote_url: string | null;
1960
- bluehash: string | null;
1961
1961
  meta?: {
1962
1962
  original: {
1963
1963
  width: number;
@@ -1982,7 +1982,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
1982
1982
  preview_url: z.ZodNullable<z.ZodString>;
1983
1983
  remote_url: z.ZodNullable<z.ZodString>;
1984
1984
  description: z.ZodNullable<z.ZodString>;
1985
- bluehash: z.ZodNullable<z.ZodString>;
1985
+ blurhash: z.ZodNullable<z.ZodString>;
1986
1986
  }, {
1987
1987
  type: z.ZodLiteral<"gifv">;
1988
1988
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2076,9 +2076,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2076
2076
  type: "gifv";
2077
2077
  description: string | null;
2078
2078
  url: string;
2079
+ blurhash: string | null;
2079
2080
  preview_url: string | null;
2080
2081
  remote_url: string | null;
2081
- bluehash: string | null;
2082
2082
  meta?: {
2083
2083
  width: number;
2084
2084
  height: number;
@@ -2106,9 +2106,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2106
2106
  type: "gifv";
2107
2107
  description: string | null;
2108
2108
  url: string;
2109
+ blurhash: string | null;
2109
2110
  preview_url: string | null;
2110
2111
  remote_url: string | null;
2111
- bluehash: string | null;
2112
2112
  meta?: {
2113
2113
  width: number;
2114
2114
  height: number;
@@ -2137,7 +2137,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2137
2137
  preview_url: z.ZodNullable<z.ZodString>;
2138
2138
  remote_url: z.ZodNullable<z.ZodString>;
2139
2139
  description: z.ZodNullable<z.ZodString>;
2140
- bluehash: z.ZodNullable<z.ZodString>;
2140
+ blurhash: z.ZodNullable<z.ZodString>;
2141
2141
  }, {
2142
2142
  type: z.ZodLiteral<"video">;
2143
2143
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2240,9 +2240,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2240
2240
  type: "video";
2241
2241
  description: string | null;
2242
2242
  url: string;
2243
+ blurhash: string | null;
2243
2244
  preview_url: string | null;
2244
2245
  remote_url: string | null;
2245
- bluehash: string | null;
2246
2246
  meta?: {
2247
2247
  width: number;
2248
2248
  height: number;
@@ -2273,9 +2273,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2273
2273
  type: "video";
2274
2274
  description: string | null;
2275
2275
  url: string;
2276
+ blurhash: string | null;
2276
2277
  preview_url: string | null;
2277
2278
  remote_url: string | null;
2278
- bluehash: string | null;
2279
2279
  meta?: {
2280
2280
  width: number;
2281
2281
  height: number;
@@ -2307,7 +2307,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2307
2307
  preview_url: z.ZodNullable<z.ZodString>;
2308
2308
  remote_url: z.ZodNullable<z.ZodString>;
2309
2309
  description: z.ZodNullable<z.ZodString>;
2310
- bluehash: z.ZodNullable<z.ZodString>;
2310
+ blurhash: z.ZodNullable<z.ZodString>;
2311
2311
  }, {
2312
2312
  type: z.ZodLiteral<"audio">;
2313
2313
  meta: z.ZodObject<{
@@ -2352,9 +2352,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2352
2352
  type: "audio";
2353
2353
  description: string | null;
2354
2354
  url: string;
2355
+ blurhash: string | null;
2355
2356
  preview_url: string | null;
2356
2357
  remote_url: string | null;
2357
- bluehash: string | null;
2358
2358
  meta: {
2359
2359
  length: string;
2360
2360
  duration: number;
@@ -2371,9 +2371,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2371
2371
  type: "audio";
2372
2372
  description: string | null;
2373
2373
  url: string;
2374
+ blurhash: string | null;
2374
2375
  preview_url: string | null;
2375
2376
  remote_url: string | null;
2376
- bluehash: string | null;
2377
2377
  meta: {
2378
2378
  length: string;
2379
2379
  duration: number;
@@ -2391,7 +2391,7 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2391
2391
  preview_url: z.ZodNullable<z.ZodString>;
2392
2392
  remote_url: z.ZodNullable<z.ZodString>;
2393
2393
  description: z.ZodNullable<z.ZodString>;
2394
- bluehash: z.ZodNullable<z.ZodString>;
2394
+ blurhash: z.ZodNullable<z.ZodString>;
2395
2395
  }, {
2396
2396
  type: z.ZodLiteral<"unknown">;
2397
2397
  }>, "strip", z.ZodTypeAny, {
@@ -2399,17 +2399,17 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2399
2399
  type: "unknown";
2400
2400
  description: string | null;
2401
2401
  url: string;
2402
+ blurhash: string | null;
2402
2403
  preview_url: string | null;
2403
2404
  remote_url: string | null;
2404
- bluehash: string | null;
2405
2405
  }, {
2406
2406
  id: string;
2407
2407
  type: "unknown";
2408
2408
  description: string | null;
2409
2409
  url: string;
2410
+ blurhash: string | null;
2410
2411
  preview_url: string | null;
2411
2412
  remote_url: string | null;
2412
- bluehash: string | null;
2413
2413
  }>]>, "many">;
2414
2414
  application: z.ZodOptional<z.ZodObject<{
2415
2415
  name: z.ZodString;
@@ -2802,9 +2802,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2802
2802
  type: "gifv";
2803
2803
  description: string | null;
2804
2804
  url: string;
2805
+ blurhash: string | null;
2805
2806
  preview_url: string | null;
2806
2807
  remote_url: string | null;
2807
- bluehash: string | null;
2808
2808
  meta?: {
2809
2809
  width: number;
2810
2810
  height: number;
@@ -2832,9 +2832,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2832
2832
  type: "image";
2833
2833
  description: string | null;
2834
2834
  url: string;
2835
+ blurhash: string | null;
2835
2836
  preview_url: string | null;
2836
2837
  remote_url: string | null;
2837
- bluehash: string | null;
2838
2838
  meta?: {
2839
2839
  original: {
2840
2840
  width: number;
@@ -2858,9 +2858,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2858
2858
  type: "video";
2859
2859
  description: string | null;
2860
2860
  url: string;
2861
+ blurhash: string | null;
2861
2862
  preview_url: string | null;
2862
2863
  remote_url: string | null;
2863
- bluehash: string | null;
2864
2864
  meta?: {
2865
2865
  width: number;
2866
2866
  height: number;
@@ -2891,9 +2891,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2891
2891
  type: "audio";
2892
2892
  description: string | null;
2893
2893
  url: string;
2894
+ blurhash: string | null;
2894
2895
  preview_url: string | null;
2895
2896
  remote_url: string | null;
2896
- bluehash: string | null;
2897
2897
  meta: {
2898
2898
  length: string;
2899
2899
  duration: number;
@@ -2910,9 +2910,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
2910
2910
  type: "unknown";
2911
2911
  description: string | null;
2912
2912
  url: string;
2913
+ blurhash: string | null;
2913
2914
  preview_url: string | null;
2914
2915
  remote_url: string | null;
2915
- bluehash: string | null;
2916
2916
  })[];
2917
2917
  reblogs_count: number;
2918
2918
  favourites_count: number;
@@ -3107,9 +3107,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3107
3107
  type: "gifv";
3108
3108
  description: string | null;
3109
3109
  url: string;
3110
+ blurhash: string | null;
3110
3111
  preview_url: string | null;
3111
3112
  remote_url: string | null;
3112
- bluehash: string | null;
3113
3113
  meta?: {
3114
3114
  width: number;
3115
3115
  height: number;
@@ -3137,9 +3137,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3137
3137
  type: "image";
3138
3138
  description: string | null;
3139
3139
  url: string;
3140
+ blurhash: string | null;
3140
3141
  preview_url: string | null;
3141
3142
  remote_url: string | null;
3142
- bluehash: string | null;
3143
3143
  meta?: {
3144
3144
  original: {
3145
3145
  width: number;
@@ -3163,9 +3163,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3163
3163
  type: "video";
3164
3164
  description: string | null;
3165
3165
  url: string;
3166
+ blurhash: string | null;
3166
3167
  preview_url: string | null;
3167
3168
  remote_url: string | null;
3168
- bluehash: string | null;
3169
3169
  meta?: {
3170
3170
  width: number;
3171
3171
  height: number;
@@ -3196,9 +3196,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3196
3196
  type: "audio";
3197
3197
  description: string | null;
3198
3198
  url: string;
3199
+ blurhash: string | null;
3199
3200
  preview_url: string | null;
3200
3201
  remote_url: string | null;
3201
- bluehash: string | null;
3202
3202
  meta: {
3203
3203
  length: string;
3204
3204
  duration: number;
@@ -3215,9 +3215,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3215
3215
  type: "unknown";
3216
3216
  description: string | null;
3217
3217
  url: string;
3218
+ blurhash: string | null;
3218
3219
  preview_url: string | null;
3219
3220
  remote_url: string | null;
3220
- bluehash: string | null;
3221
3221
  })[];
3222
3222
  reblogs_count: number;
3223
3223
  favourites_count: number;
@@ -3413,9 +3413,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3413
3413
  type: "gifv";
3414
3414
  description: string | null;
3415
3415
  url: string;
3416
+ blurhash: string | null;
3416
3417
  preview_url: string | null;
3417
3418
  remote_url: string | null;
3418
- bluehash: string | null;
3419
3419
  meta?: {
3420
3420
  width: number;
3421
3421
  height: number;
@@ -3443,9 +3443,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3443
3443
  type: "image";
3444
3444
  description: string | null;
3445
3445
  url: string;
3446
+ blurhash: string | null;
3446
3447
  preview_url: string | null;
3447
3448
  remote_url: string | null;
3448
- bluehash: string | null;
3449
3449
  meta?: {
3450
3450
  original: {
3451
3451
  width: number;
@@ -3469,9 +3469,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3469
3469
  type: "video";
3470
3470
  description: string | null;
3471
3471
  url: string;
3472
+ blurhash: string | null;
3472
3473
  preview_url: string | null;
3473
3474
  remote_url: string | null;
3474
- bluehash: string | null;
3475
3475
  meta?: {
3476
3476
  width: number;
3477
3477
  height: number;
@@ -3502,9 +3502,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3502
3502
  type: "audio";
3503
3503
  description: string | null;
3504
3504
  url: string;
3505
+ blurhash: string | null;
3505
3506
  preview_url: string | null;
3506
3507
  remote_url: string | null;
3507
- bluehash: string | null;
3508
3508
  meta: {
3509
3509
  length: string;
3510
3510
  duration: number;
@@ -3521,9 +3521,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3521
3521
  type: "unknown";
3522
3522
  description: string | null;
3523
3523
  url: string;
3524
+ blurhash: string | null;
3524
3525
  preview_url: string | null;
3525
3526
  remote_url: string | null;
3526
- bluehash: string | null;
3527
3527
  })[];
3528
3528
  reblogs_count: number;
3529
3529
  favourites_count: number;
@@ -3689,9 +3689,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3689
3689
  type: "gifv";
3690
3690
  description: string | null;
3691
3691
  url: string;
3692
+ blurhash: string | null;
3692
3693
  preview_url: string | null;
3693
3694
  remote_url: string | null;
3694
- bluehash: string | null;
3695
3695
  meta?: {
3696
3696
  width: number;
3697
3697
  height: number;
@@ -3719,9 +3719,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3719
3719
  type: "image";
3720
3720
  description: string | null;
3721
3721
  url: string;
3722
+ blurhash: string | null;
3722
3723
  preview_url: string | null;
3723
3724
  remote_url: string | null;
3724
- bluehash: string | null;
3725
3725
  meta?: {
3726
3726
  original: {
3727
3727
  width: number;
@@ -3745,9 +3745,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3745
3745
  type: "video";
3746
3746
  description: string | null;
3747
3747
  url: string;
3748
+ blurhash: string | null;
3748
3749
  preview_url: string | null;
3749
3750
  remote_url: string | null;
3750
- bluehash: string | null;
3751
3751
  meta?: {
3752
3752
  width: number;
3753
3753
  height: number;
@@ -3778,9 +3778,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3778
3778
  type: "audio";
3779
3779
  description: string | null;
3780
3780
  url: string;
3781
+ blurhash: string | null;
3781
3782
  preview_url: string | null;
3782
3783
  remote_url: string | null;
3783
- bluehash: string | null;
3784
3784
  meta: {
3785
3785
  length: string;
3786
3786
  duration: number;
@@ -3797,9 +3797,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
3797
3797
  type: "unknown";
3798
3798
  description: string | null;
3799
3799
  url: string;
3800
+ blurhash: string | null;
3800
3801
  preview_url: string | null;
3801
3802
  remote_url: string | null;
3802
- bluehash: string | null;
3803
3803
  })[];
3804
3804
  reblogs_count: number;
3805
3805
  favourites_count: number;
@@ -4024,9 +4024,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4024
4024
  type: "gifv";
4025
4025
  description: string | null;
4026
4026
  url: string;
4027
+ blurhash: string | null;
4027
4028
  preview_url: string | null;
4028
4029
  remote_url: string | null;
4029
- bluehash: string | null;
4030
4030
  meta?: {
4031
4031
  width: number;
4032
4032
  height: number;
@@ -4054,9 +4054,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4054
4054
  type: "image";
4055
4055
  description: string | null;
4056
4056
  url: string;
4057
+ blurhash: string | null;
4057
4058
  preview_url: string | null;
4058
4059
  remote_url: string | null;
4059
- bluehash: string | null;
4060
4060
  meta?: {
4061
4061
  original: {
4062
4062
  width: number;
@@ -4080,9 +4080,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4080
4080
  type: "video";
4081
4081
  description: string | null;
4082
4082
  url: string;
4083
+ blurhash: string | null;
4083
4084
  preview_url: string | null;
4084
4085
  remote_url: string | null;
4085
- bluehash: string | null;
4086
4086
  meta?: {
4087
4087
  width: number;
4088
4088
  height: number;
@@ -4113,9 +4113,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4113
4113
  type: "audio";
4114
4114
  description: string | null;
4115
4115
  url: string;
4116
+ blurhash: string | null;
4116
4117
  preview_url: string | null;
4117
4118
  remote_url: string | null;
4118
- bluehash: string | null;
4119
4119
  meta: {
4120
4120
  length: string;
4121
4121
  duration: number;
@@ -4132,9 +4132,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4132
4132
  type: "unknown";
4133
4133
  description: string | null;
4134
4134
  url: string;
4135
+ blurhash: string | null;
4135
4136
  preview_url: string | null;
4136
4137
  remote_url: string | null;
4137
- bluehash: string | null;
4138
4138
  })[];
4139
4139
  reblogs_count: number;
4140
4140
  favourites_count: number;
@@ -4300,9 +4300,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4300
4300
  type: "gifv";
4301
4301
  description: string | null;
4302
4302
  url: string;
4303
+ blurhash: string | null;
4303
4304
  preview_url: string | null;
4304
4305
  remote_url: string | null;
4305
- bluehash: string | null;
4306
4306
  meta?: {
4307
4307
  width: number;
4308
4308
  height: number;
@@ -4330,9 +4330,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4330
4330
  type: "image";
4331
4331
  description: string | null;
4332
4332
  url: string;
4333
+ blurhash: string | null;
4333
4334
  preview_url: string | null;
4334
4335
  remote_url: string | null;
4335
- bluehash: string | null;
4336
4336
  meta?: {
4337
4337
  original: {
4338
4338
  width: number;
@@ -4356,9 +4356,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4356
4356
  type: "video";
4357
4357
  description: string | null;
4358
4358
  url: string;
4359
+ blurhash: string | null;
4359
4360
  preview_url: string | null;
4360
4361
  remote_url: string | null;
4361
- bluehash: string | null;
4362
4362
  meta?: {
4363
4363
  width: number;
4364
4364
  height: number;
@@ -4389,9 +4389,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4389
4389
  type: "audio";
4390
4390
  description: string | null;
4391
4391
  url: string;
4392
+ blurhash: string | null;
4392
4393
  preview_url: string | null;
4393
4394
  remote_url: string | null;
4394
- bluehash: string | null;
4395
4395
  meta: {
4396
4396
  length: string;
4397
4397
  duration: number;
@@ -4408,9 +4408,9 @@ export declare const Status: z.ZodObject<z.objectUtil.extendShape<{
4408
4408
  type: "unknown";
4409
4409
  description: string | null;
4410
4410
  url: string;
4411
+ blurhash: string | null;
4411
4412
  preview_url: string | null;
4412
4413
  remote_url: string | null;
4413
- bluehash: string | null;
4414
4414
  })[];
4415
4415
  reblogs_count: number;
4416
4416
  favourites_count: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llun/activities.schema",
3
- "version": "0.2.22",
3
+ "version": "0.2.24",
4
4
  "description": "Validate ActivityPub and Mastodon with Zod",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -28,7 +28,7 @@ export const BaseMediaAttachment = z.object({
28
28
  })
29
29
  .nullable(),
30
30
 
31
- bluehash: z
31
+ blurhash: z
32
32
  .string({
33
33
  description:
34
34
  "hash computed by the [BlurHash algorithm](https://github.com/woltapp/blurhash), for generating colorful preview thumbnails when media has not been downloaded yet.",
@@ -6,5 +6,13 @@ import { Video } from "./video.js";
6
6
  import { Audio } from "./audio.js";
7
7
  import { Unknown } from "./unknown.js";
8
8
 
9
+ export const MediaTypes = {
10
+ Gifv,
11
+ Image,
12
+ Video,
13
+ Audio,
14
+ Unknown,
15
+ };
16
+
9
17
  export const MediaAttachment = z.union([Image, Gifv, Video, Audio, Unknown]);
10
18
  export type MediaAttachment = z.infer<typeof MediaAttachment>;