e621 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/e621.js +59 -5
- package/dist/browser/e621.js.map +2 -2
- package/dist/lib/generated/schemas.d.ts +49 -1
- package/dist/lib/generated/schemas.js +58 -4
- package/dist/lib/generated/types.d.ts +27 -10
- package/dist/lib/models/PostFlag.d.ts +2 -1
- package/dist/lib/models/PostFlag.js +1 -1
- package/dist/lib/modules/PostFlags.d.ts +6 -3
- package/dist/lib/modules/PostFlags.js +2 -2
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/package.json +1 -1
|
@@ -1601,6 +1601,10 @@ export declare const LegacyPostSchema: {
|
|
|
1601
1601
|
readonly type: "string";
|
|
1602
1602
|
readonly nullable: true;
|
|
1603
1603
|
};
|
|
1604
|
+
readonly alt: {
|
|
1605
|
+
readonly type: "string";
|
|
1606
|
+
readonly nullable: true;
|
|
1607
|
+
};
|
|
1604
1608
|
};
|
|
1605
1609
|
};
|
|
1606
1610
|
readonly sample: {
|
|
@@ -1622,6 +1626,10 @@ export declare const LegacyPostSchema: {
|
|
|
1622
1626
|
readonly type: "string";
|
|
1623
1627
|
readonly nullable: true;
|
|
1624
1628
|
};
|
|
1629
|
+
readonly alt: {
|
|
1630
|
+
readonly type: "string";
|
|
1631
|
+
readonly nullable: true;
|
|
1632
|
+
};
|
|
1625
1633
|
readonly alternates: {
|
|
1626
1634
|
readonly type: "object";
|
|
1627
1635
|
readonly properties: {
|
|
@@ -2562,6 +2570,40 @@ export declare const PostFilesSchema: {
|
|
|
2562
2570
|
readonly sample: {
|
|
2563
2571
|
readonly $ref: "#/components/schemas/PostFilesSample";
|
|
2564
2572
|
};
|
|
2573
|
+
readonly video: {
|
|
2574
|
+
readonly type: "object";
|
|
2575
|
+
readonly required: readonly ["has", "original", "variants", "samples"];
|
|
2576
|
+
readonly properties: {
|
|
2577
|
+
readonly has: {
|
|
2578
|
+
readonly type: "boolean";
|
|
2579
|
+
};
|
|
2580
|
+
readonly original: {
|
|
2581
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
2582
|
+
};
|
|
2583
|
+
readonly variants: {
|
|
2584
|
+
readonly type: "object";
|
|
2585
|
+
readonly properties: {
|
|
2586
|
+
readonly webm: {
|
|
2587
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
2588
|
+
};
|
|
2589
|
+
readonly mp4: {
|
|
2590
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
2591
|
+
};
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2594
|
+
readonly samples: {
|
|
2595
|
+
readonly type: "object";
|
|
2596
|
+
readonly properties: {
|
|
2597
|
+
readonly '480p': {
|
|
2598
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
2599
|
+
};
|
|
2600
|
+
readonly '720p': {
|
|
2601
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
2602
|
+
};
|
|
2603
|
+
};
|
|
2604
|
+
};
|
|
2605
|
+
};
|
|
2606
|
+
};
|
|
2565
2607
|
};
|
|
2566
2608
|
};
|
|
2567
2609
|
export declare const PostFilesMetaSchema: {
|
|
@@ -2838,6 +2880,7 @@ export declare const PostSampleAlternateSchema: {
|
|
|
2838
2880
|
};
|
|
2839
2881
|
readonly codec: {
|
|
2840
2882
|
readonly type: "string";
|
|
2883
|
+
readonly nullable: true;
|
|
2841
2884
|
};
|
|
2842
2885
|
readonly size: {
|
|
2843
2886
|
readonly type: "integer";
|
|
@@ -2852,6 +2895,7 @@ export declare const PostSampleAlternateSchema: {
|
|
|
2852
2895
|
readonly url: {
|
|
2853
2896
|
readonly type: "string";
|
|
2854
2897
|
readonly format: "uri";
|
|
2898
|
+
readonly nullable: true;
|
|
2855
2899
|
};
|
|
2856
2900
|
};
|
|
2857
2901
|
};
|
|
@@ -2901,7 +2945,7 @@ export declare const PostSetSchema: {
|
|
|
2901
2945
|
};
|
|
2902
2946
|
export declare const PostStatsSchema: {
|
|
2903
2947
|
readonly type: "object";
|
|
2904
|
-
readonly required: readonly ["score", "fav_count", "is_favorited", "vote", "comment_count"];
|
|
2948
|
+
readonly required: readonly ["score", "fav_count", "is_favorited", "vote", "comment_count", "hotness"];
|
|
2905
2949
|
readonly properties: {
|
|
2906
2950
|
readonly score: {
|
|
2907
2951
|
readonly $ref: "#/components/schemas/PostStatsScore";
|
|
@@ -2918,6 +2962,10 @@ export declare const PostStatsSchema: {
|
|
|
2918
2962
|
readonly comment_count: {
|
|
2919
2963
|
readonly type: "integer";
|
|
2920
2964
|
};
|
|
2965
|
+
readonly hotness: {
|
|
2966
|
+
readonly type: "number";
|
|
2967
|
+
readonly format: "float";
|
|
2968
|
+
};
|
|
2921
2969
|
};
|
|
2922
2970
|
};
|
|
2923
2971
|
export declare const PostStatsScoreSchema: {
|